/* CSS Variables for SG Souza Gesso */
:root {
  /* Logo-inspired Color Palette */
  --color-dark-bg: #121212;
  --color-card-bg: #1e1e1e;
  --color-accent-blue: #1ba1e2;
  --color-accent-yellow: #f3a83b;
  --color-text-light: #ffffff;
  --color-text-muted: #aaaaaa;
  
  /* Font Family - Apple System */
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Reset and Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-dark-bg);
  color: var(--color-text-light);
  line-height: 1.5;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 0;
}

/* Page Container - standard link-in-bio layout */
.container {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background-color: var(--color-dark-bg);
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

/* Header Section with elegant plaster ceiling & LED background */
.bio-header {
  position: relative;
  background-image: url('plaster_ceiling.png');
  background-size: cover;
  background-position: center;
  padding: 40px 24px 28px 24px;
  text-align: center;
  border-bottom: 3px solid var(--color-accent-blue);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
}

/* Dark, premium overlay on the background picture to make text perfectly readable and logo pop */
.ceiling-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.65) 0%, rgba(18, 18, 18, 0.9) 100%);
  z-index: 1;
}

.bio-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Avatar / Logo wrapper with glowing border */
.avatar-wrapper {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: var(--color-card-bg);
  padding: 3px;
  box-shadow: 0 8px 30px rgba(27, 161, 226, 0.4);
  margin-bottom: 16px;
  border: 3px solid var(--color-accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.avatar-wrapper:hover {
  transform: scale(1.05);
}

.profile-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.profile-name {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--color-text-light);
  margin-bottom: 2px;
  letter-spacing: -0.5px;
}

.profile-tagline {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent-yellow);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

/* Informações de contato e localização no cabeçalho */
.header-contact-info {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-item {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff; /* manter na cor branca */
  background: none; /* sem caixa de texto */
  border: none; /* sem borda/caixa */
  padding: 0;
}

.profile-history {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  max-width: 95%;
  line-height: 1.55;
  text-align: center;
  margin-bottom: 14px;
}

.profile-history strong {
  color: var(--color-text-light);
  font-weight: 700;
}

/* Social Proof (Stars & Google Reviews) */
.social-proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stars {
  font-size: 1rem;
  letter-spacing: 1.5px;
}

.proof-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent-yellow);
}

/* Main content / Links Section */
.links-section {
  padding: 24px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Button Base Styles */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-decoration: none;
  font-weight: 700;
  border-radius: 18px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  border: none;
}

/* Main CTA Button: Fazer Orçamento no WhatsApp */
.btn-cta {
  background: linear-gradient(135deg, var(--color-accent-yellow) 0%, #d48011 100%);
  color: #000000;
  padding: 18px 20px;
  gap: 14px;
  box-shadow: 0 8px 30px rgba(243, 168, 59, 0.35);
  position: relative;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(243, 168, 59, 0.5);
}

.btn-cta:active {
  transform: translateY(-1px);
}

.btn-text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* Center-aligned text inside CTA when icon is removed */
.cta-text-center {
  align-items: center;
  text-align: center;
  width: 100%;
}

.btn-title {
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.2px;
}

.btn-subtitle {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.9;
}

/* Pulse animation for CTA button */
.pulse-animation {
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(243, 168, 59, 0.75), 0 8px 30px rgba(243, 168, 59, 0.35);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(243, 168, 59, 0), 0 8px 30px rgba(243, 168, 59, 0.35);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(243, 168, 59, 0), 0 8px 30px rgba(243, 168, 59, 0.35);
  }
}

/* Differentials list styled below CTA button */
.differentials-section {
  width: 100%;
}

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.diff-item {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #eeeeee;
  text-align: center;
}

/* Services Showcase (Subtle and Discrete layout) */
.services-showcase-discrete {
  margin-top: 6px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 16px;
}

.section-title-discrete {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-accent-blue);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-align: center;
}

.services-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.service-pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #dddddd;
  transition: all 0.2s ease;
}

.service-pill:hover {
  background-color: rgba(27, 161, 226, 0.15);
  border-color: var(--color-accent-blue);
  color: #ffffff;
}

/* Secondary Buttons Group (Official Branding Styles) */
.secondary-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

/* Official WhatsApp Brand Color Button */
.btn-whatsapp-official {
  background-color: #25d366;
  color: #ffffff;
  padding: 15px 20px;
  gap: 12px;
  font-size: 0.98rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp-official:hover {
  transform: translateY(-2px);
  background-color: #20ba5a;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.icon-svg {
  width: 20px;
  height: 20px;
}

/* Official Google Brand Styled Button */
.btn-google-official {
  background-color: #ffffff;
  color: #222222;
  border: 1px solid #e0e0e0;
  padding: 15px 20px;
  gap: 12px;
  font-size: 0.98rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-google-official:hover {
  transform: translateY(-2px);
  background-color: #f7f7f7;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Footer styling */
.page-footer {
  padding: 24px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.branding-signature {
  font-weight: 500;
  text-transform: none;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer-link {
  color: var(--color-accent-yellow);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #e68a18;
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 400px) {
  .bio-header {
    padding: 32px 16px 20px 16px;
  }
  
  .avatar-wrapper {
    width: 125px;
    height: 125px;
  }

  .profile-name {
    font-size: 1.45rem;
  }
  
  .links-section {
    padding: 20px 12px;
  }
  
  .btn-title {
    font-size: 0.92rem;
  }
}
