/* ==========================================================================
   DRA. MARIANA HASSAN — CIRURGIA GERAL E ENDOSCOPIA DIGESTIVA
   Folha de Estilos Principal (CSS Limpo, Semântico e Humano)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FONTES & IMPORTAÇÕES
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');

@font-face {
  font-family: 'ivypresto-display';
  src: url('fonts/ivy-presto-display-thin.otf') format('opentype'),
       url('assets/fonts/ivy-presto-display-thin.otf') format('opentype');
  font-display: swap;
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'ivypresto-display';
  src: url('fonts/ivy-presto-display-light.otf') format('opentype'),
       url('assets/fonts/ivy-presto-display-light.otf') format('opentype');
  font-display: swap;
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'ivypresto-display';
  src: url('fonts/ivy-presto-display-regular.otf') format('opentype'),
       url('assets/fonts/ivy-presto-display-regular.otf') format('opentype');
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'ivypresto-display';
  src: url('fonts/ivy-presto-display-semibold.otf') format('opentype'),
       url('assets/fonts/ivy-presto-display-semibold.otf') format('opentype');
  font-display: swap;
  font-weight: 600;
  font-style: normal;
}

/* --------------------------------------------------------------------------
   2. VARIÁVEIS DE DESIGN & TEMA (DESIGN TOKENS)
   -------------------------------------------------------------------------- */
:root {
  /* Cores HSL de Alto Contraste (WCAG AAA) */
  --background: 0 0% 100%;
  --foreground: 210 18% 14%;       /* #1D242B - Carvão profundo e nítido (15:1 no branco) */
  --card: 0 0% 100%;
  --card-foreground: 210 18% 14%;
  --popover: 0 0% 100%;
  --popover-foreground: 210 18% 14%;
  --primary: 34 65% 32%;            /* #87571A - Ouro nobre encorpado */
  --primary-foreground: 0 0% 100%;
  --secondary: 33 30% 95%;
  --secondary-foreground: 210 18% 14%;
  --muted: 30 20% 96%;
  --muted-foreground: 210 15% 30%;  /* #414C57 - Contraste 8.2:1 sobre fundos claros (WCAG AAA) */
  --accent: 34 65% 32%;
  --accent-foreground: 0 0% 100%;
  --border: 30 15% 85%;
  --input: 30 15% 85%;
  --ring: 34 65% 32%;

  /* Cores de Destaque */
  --gold: 34 65% 32%;           /* #87571A */
  --gold-text: #78511A;         /* Bronze ouro escuro com contraste 7.05:1 (WCAG AAA) */
  --gold-on-dark: #ECD0A2;      /* Champanhe quente luminoso para fundos escuros (9.5:1) */
  --gold-light: 34 35% 70%;     /* #C7B08E */
  --gold-dark: 34 70% 25%;      /* #6B4310 */
  --olive: 145 20% 32%;
  --olive-light: 145 15% 45%;
  --cream: 38 40% 97%;          /* #FAF8F5 */
  --warm-gray: 30 5% 55%;
  --whatsapp-green: #25D366;
  --whatsapp-hover: #1EBE5D;

  /* Superfícies Escuras (Footer) */
  --footer-bg: #151C23;
  --footer-text: #DCE3EA;
  --footer-muted: #A0ACB8;

  /* Tipografia */
  --font-display: 'ivypresto-display', Georgia, 'Times New Roman', serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Sombras */
  --shadow-card: 0 4px 24px -4px rgba(120, 81, 26, 0.12);
  --shadow-elevated: 0 12px 48px -8px rgba(120, 81, 26, 0.22);

  /* Transições e Raios */
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2.1. TOKENS DO MODO ESCURO (DARK MODE)
   -------------------------------------------------------------------------- */
html.dark {
  --background: 216 25% 10%;       /* #131920 - Fundo Nobre Escuro */
  --foreground: 210 20% 96%;       /* #F1F4F7 - Branco Nítido */
  --card: 216 22% 14%;             /* #1B232E - Superfície de Card */
  --card-foreground: 210 20% 96%;
  --popover: 216 22% 14%;
  --popover-foreground: 210 20% 96%;
  --primary: 34 65% 48%;            /* #C99648 - Ouro Radiante */
  --primary-foreground: 216 25% 10%;
  --secondary: 216 20% 18%;
  --secondary-foreground: 210 20% 96%;
  --muted: 216 20% 16%;
  --muted-foreground: 215 15% 72%;  /* #ADB9C6 */
  --accent: 34 65% 48%;
  --accent-foreground: 216 25% 10%;
  --border: 216 18% 22%;
  --input: 216 18% 22%;
  --ring: 34 65% 48%;

  --gold: 34 65% 48%;
  --gold-text: #E5C38F;             /* Ouro luminoso legível em fundo escuro */
  --cream: 216 24% 12%;             /* #161D26 */
  --shadow-card: 0 4px 24px -4px rgba(0, 0, 0, 0.45);
  --shadow-elevated: 0 12px 48px -8px rgba(0, 0, 0, 0.65);
}

/* --------------------------------------------------------------------------
   3. RESET & ESTILOS BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: hsl(var(--foreground));
  background-color: hsl(var(--background));
  line-height: 1.6;
  overflow-x: hidden;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Acessibilidade */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   4. ESTRUTURA, CONTAINERS & GRIDS
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container { max-width: 640px; padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 768px) {
  .container { max-width: 768px; padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 1024px) {
  .container { max-width: 1024px; }
}
@media (min-width: 1280px) {
  .container { max-width: 1280px; }
}
@media (min-width: 1536px) {
  .container { max-width: 1400px; }
}

/* Classes de Fundo */
.bg-background { background-color: hsl(var(--background)); }
.bg-cream { background-color: hsl(var(--cream)); }
.bg-card { background-color: hsl(var(--card)); }
.bg-foreground { background-color: hsl(var(--foreground)); }
.text-foreground { color: hsl(var(--foreground)); }
.text-gold { color: hsl(var(--gold)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-primary-foreground { color: hsl(var(--primary-foreground)); }

/* --------------------------------------------------------------------------
   5. COMPONENTES & UTILITÁRIOS VISUAIS
   -------------------------------------------------------------------------- */
/* Efeito de Esfera Luminosa Dourada */
.gold-orb {
  position: absolute;
  background: radial-gradient(circle, hsl(var(--gold) / 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Botão com Brilho / Shimmer */
.btn-shimmer {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #966723 0%, #6E460E 100%);
  color: #FFFFFF !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  box-shadow: 0 6px 20px -2px rgba(110, 70, 14, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal);
}

.btn-shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, hsla(0, 0%, 100%, 0.35), transparent);
  transition: left 0.6s ease;
}

.btn-shimmer:hover {
  background: linear-gradient(135deg, #A8752B 0%, #7A4E12 100%);
  box-shadow: 0 10px 28px -3px rgba(110, 70, 14, 0.55);
  transform: translateY(-2px) scale(1.02);
}

.btn-shimmer:hover::after {
  left: 100%;
}

.btn-shimmer:active {
  transform: scale(0.98);
}

/* Badge de Seção (Linha Dourada + Texto em Caixa Alta) */
.section-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.section-tag__line {
  width: 2rem;
  height: 2px;
  background-color: var(--gold-text);
}

.section-tag__text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold-text);
}

/* Títulos Elegantes IvyPresto */
.font-display {
  font-family: var(--font-display);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
}

.section-title em {
  font-style: normal;
  color: var(--gold-text);
  font-weight: 500;
}

/* Scroll Offset para Links Âncora */
.scroll-section {
  scroll-margin-top: 6rem;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .scroll-section {
    scroll-margin-top: 7rem;
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

/* --------------------------------------------------------------------------
   6. HEADER & NAVEGAÇÃO
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 80%, rgba(255, 255, 255, 0) 100%);
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

@media (min-width: 1024px) {
  .site-header {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: transparent;
  }
}

.site-header.is-scrolled {
  background: hsl(var(--background) / 0.96) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid hsl(var(--border));
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.header-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .header-grid {
    grid-template-columns: minmax(18rem, 1fr) auto minmax(18rem, 1fr);
    gap: 2rem;
  }
}

.header-logo {
  display: flex;
  align-items: center;
  justify-self: start;
}

.header-logo img {
  height: 4rem;
  width: auto;
  transition: height 0.4s ease;
}

@media (min-width: 768px) {
  .header-logo img {
    height: 6rem;
  }
  .site-header.is-scrolled .header-logo img {
    height: 4.5rem;
  }
}

/* Menu Desktop */
.nav-desktop {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

@media (min-width: 1280px) {
  .nav-desktop {
    gap: 2.5rem;
  }
}

.nav-link {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: hsl(var(--foreground));
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 2px;
  width: 0;
  background-color: var(--gold-text);
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: var(--gold-text);
}

.nav-link:hover::after {
  width: 100%;
}

/* Ações Desktop */
.header-desktop-actions {
  display: none;
  align-items: center;
  justify-self: end;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .header-desktop-actions {
    display: inline-flex;
  }
}

/* Telefone / CTA Header */
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  transition: color var(--transition-fast);
}

.header-phone:hover {
  color: var(--gold-text);
}

.header-phone svg {
  color: var(--gold-text);
  width: 1.25rem;
  height: 1.25rem;
}

/* Botão de Alternância de Tema (Modo Escuro / Claro) */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--card));
  color: var(--gold-text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
}

.theme-toggle-btn:hover {
  background-color: hsl(var(--cream));
  color: var(--gold-dark);
  transform: scale(1.08);
  border-color: var(--gold-text);
}

.theme-toggle-btn .theme-icon-sun {
  display: none;
}

.theme-toggle-btn .theme-icon-moon {
  display: block;
}

html.dark .theme-toggle-btn .theme-icon-sun {
  display: block;
}

html.dark .theme-toggle-btn .theme-icon-moon {
  display: none;
}

html.dark .theme-toggle-btn {
  background-color: hsl(var(--card));
  border-color: rgba(229, 195, 143, 0.3);
  color: var(--gold-text);
}

/* Controles Mobile */
.header-mobile-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .header-mobile-actions {
    display: none;
  }
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--card));
  color: hsl(var(--foreground));
  transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

.menu-toggle:hover {
  color: var(--gold-text);
  background-color: hsl(var(--cream));
  border-color: var(--gold-text);
}

/* Gaveta Mobile Nav Elevada (sem o corte 'branco jogado') */
.mobile-nav-wrapper {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.mobile-nav-wrapper.is-open {
  max-height: 36rem;
  opacity: 1;
}

@media (min-width: 1024px) {
  .mobile-nav-wrapper {
    display: none !important;
  }
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0 0.75rem 0.5rem 0.75rem;
  padding: 1.25rem 1.25rem 1.5rem 1.25rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(120, 81, 26, 0.2);
  border-bottom: 3px solid var(--gold-text);
  box-shadow: 0 24px 48px -10px rgba(20, 26, 33, 0.22), 0 10px 20px -5px rgba(120, 81, 26, 0.12);
}

html.dark .nav-mobile {
  background: rgba(27, 35, 46, 0.96);
  border-color: rgba(229, 195, 143, 0.25);
  border-bottom: 3px solid var(--gold-text);
  box-shadow: 0 24px 48px -10px rgba(0, 0, 0, 0.65), 0 0 24px rgba(229, 195, 143, 0.12);
}

.nav-mobile-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-mobile-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  background-color: transparent;
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.nav-mobile-item:hover,
.nav-mobile-item:active {
  background-color: hsl(var(--cream));
  color: var(--gold-text);
  transform: translateX(4px);
}

html.dark .nav-mobile-item:hover,
html.dark .nav-mobile-item:active {
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--gold-text);
}

.nav-mobile-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: var(--radius-full);
  background-color: var(--gold-text);
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.nav-mobile-text {
  flex-grow: 1;
}

.nav-mobile-arrow {
  color: var(--gold-text);
  opacity: 0.6;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-mobile-item:hover .nav-mobile-arrow {
  opacity: 1;
  transform: translateX(3px);
}

.nav-mobile-footer {
  margin-top: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid hsl(var(--border));
}

.nav-mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-full);
  background-color: var(--whatsapp-green);
  color: #FFFFFF !important;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.nav-mobile-cta:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   7. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background-color: hsl(var(--cream));
  padding-top: 4rem;
}

@media (min-width: 768px) {
  .hero-section {
    padding-top: 5rem;
  }
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* No mobile: enquadramento idêntico ao site antigo (img3): luminária no teto, Dra. Mariana à direita e monitor na borda */
  object-position: 53% 0%;
}

.hero-overlay-horizontal {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.94) 45%,
    rgba(255, 255, 255, 0.70) 65%,
    rgba(255, 255, 255, 0.20) 100%
  );
}

@media (min-width: 1024px) {
  .hero-bg-img {
    object-position: 58% center;
  }

  .hero-overlay-horizontal {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.94) 40%,
      rgba(244, 235, 223, 0.70) 58%,
      rgba(196, 158, 105, 0.20) 78%,
      rgba(196, 158, 105, 0.10) 100%
    );
  }
}

.hero-overlay-vertical {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.25) 0%,
    transparent 50%,
    rgba(196, 158, 105, 0.08) 100%
  );
  pointer-events: none;
}

.hero-overlay-dots {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 0px);
  background-size: 38px 38px;
}

.hero-container {
  position: relative;
  z-index: 10;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  min-height: calc(100svh - 4rem);
  width: 100%;
  max-width: 1680px;
  align-items: center;
  /* Altura e espaçamento calibrados no celular para caber título, descrição, botão e locais */
  padding: 3.5rem 1.25rem 2rem 1.25rem;
}

@media (min-width: 640px) { .hero-container { padding: 4.5rem 1.5rem 5rem 1.5rem; } }
@media (min-width: 768px) { .hero-container { padding: 3.5rem 2rem 4rem 2rem; } }
@media (min-width: 1024px) { .hero-container { padding: 2rem 2.5rem; min-height: calc(100vh - 4.5rem); } }
@media (min-width: 1280px) { .hero-container { padding: 2.5rem 3rem; } }
@media (min-width: 1536px) { .hero-container { padding: 3.5rem 4rem; } }

.hero-content {
  max-width: 58rem;
}

.hero-author-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold-text);
}

.hero-author-tag__line {
  display: inline-block;
  width: 1.75rem;
  height: 2px;
  background-color: var(--gold-text);
}

.hero-crm {
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: #374350;
}

@media (min-width: 640px) {
  .hero-crm {
    margin-bottom: 1.25rem;
    font-size: 0.8125rem;
  }
}

.hero-headline {
  margin-bottom: 0.65rem;
  max-width: 52rem;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 300;
  line-height: 1.08;
  color: #151D24;
}

@media (min-width: 480px) { .hero-headline { font-size: 2.15rem; } }
@media (min-width: 640px) { .hero-headline { font-size: 2.75rem; margin-bottom: 1.25rem; } }
@media (min-width: 768px) { .hero-headline { font-size: 3.25rem; } }
@media (min-width: 1024px) { .hero-headline { font-size: 3.65rem; } }
@media (min-width: 1280px) { .hero-headline { font-size: 4.1rem; } }
@media (min-width: 1536px) { .hero-headline { font-size: 4.5rem; } }

.hero-headline em {
  font-style: normal;
  color: var(--gold-text);
  font-weight: 500;
  text-shadow: 0 0 1px rgba(120, 81, 26, 0.2);
}

@media (max-width: 1023px) {
  .hero-headline {
    text-shadow: 0 1px 14px rgba(255, 255, 255, 0.95), 0 0 3px rgba(255, 255, 255, 0.9);
  }
  .hero-headline em {
    text-shadow: 0 1px 14px rgba(255, 255, 255, 0.95), 0 0 2px rgba(255, 255, 255, 0.85);
  }
  .hero-description {
    text-shadow: 0 1px 10px rgba(255, 255, 255, 0.95), 0 0 2px rgba(255, 255, 255, 0.8);
  }
}

.hero-description {
  margin-bottom: 0.75rem;
  max-width: 42rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.45;
  color: #242E38;
}

@media (min-width: 640px) {
  .hero-description {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }
}
@media (min-width: 768px) { .hero-description { font-size: 1.125rem; } }
@media (min-width: 1024px) { .hero-description { font-size: 1.15rem; } }
@media (min-width: 1280px) { .hero-description { font-size: 1.2rem; } }

.hero-divider {
  margin-bottom: 0.75rem;
  height: 1px;
  width: 100%;
  max-width: 42rem;
  background: linear-gradient(90deg, rgba(120, 81, 26, 0.4), rgba(120, 81, 26, 0.15), transparent);
}

@media (min-width: 640px) {
  .hero-divider {
    margin-bottom: 1.5rem;
  }
}

.hero-cta {
  padding: 0.85rem 1.5rem;
  width: 100%;
  max-width: calc(100% - 4.5rem);
  margin-bottom: 0.25rem;
  font-size: 0.82rem;
}

@media (min-width: 640px) {
  .hero-cta {
    width: auto;
    min-width: 24rem;
    max-width: none;
    padding: 1.125rem 2rem;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }
}

.hero-cta svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform var(--transition-fast);
}

.hero-cta:hover svg {
  transform: translateX(4px);
}

/* Unidades de Atendimento no Hero (1 linha cada no Mobile com Ícone Dourado) */
.hero-locations-wrapper {
  margin-top: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

@media (min-width: 640px) {
  .hero-locations-wrapper {
    margin-top: 1.25rem;
    gap: 0.5rem;
  }
}

.hero-locations-title {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-text);
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.85);
}

@media (min-width: 640px) {
  .hero-locations-title {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
  }
}

html.dark .hero-locations-title {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.hero-locations-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

@media (min-width: 640px) {
  .hero-locations-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
}

.hero-location-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(120, 81, 26, 0.25);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  font-family: var(--font-body);
  font-size: 0.75rem;
  white-space: nowrap;
  color: #1D242B;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
}

@media (min-width: 640px) {
  .hero-location-chip {
    padding: 0.55rem 0.95rem;
    font-size: 0.8125rem;
    gap: 0.5rem;
  }
}

.hero-location-chip:hover {
  transform: translateY(-1px);
  border-color: var(--gold-text);
  background: rgba(255, 255, 255, 0.98);
}

html.dark .hero-location-chip {
  background: rgba(27, 35, 46, 0.88);
  border-color: rgba(229, 195, 143, 0.3);
  color: #F1F4F7;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

html.dark .hero-location-chip:hover {
  border-color: var(--gold-text);
  background: rgba(27, 35, 46, 0.98);
}

.hero-location-chip svg {
  width: 1rem;
  height: 1rem;
  color: var(--gold-text);
  flex-shrink: 0;
}

.hero-location-chip strong {
  font-weight: 600;
  color: hsl(var(--foreground));
}

/* --------------------------------------------------------------------------
   8. SEÇÃO SOBRE (COMPROMISSO E SERIEDADE)
   -------------------------------------------------------------------------- */
.sobre-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .sobre-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.sobre-text p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  margin-bottom: 1rem;
}

.sobre-text p:last-of-type {
  margin-bottom: 2rem;
}

.sobre-image-frame {
  position: relative;
}

.sobre-frame-border {
  position: absolute;
  inset: -0.75rem;
  border-radius: 1.5rem;
  border: 1px solid hsl(var(--gold) / 0.15);
  pointer-events: none;
}

.sobre-image-box {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.sobre-image-box img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.sobre-image-box:hover img {
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   9. SEÇÃO EXAMES (ENDOSCOPIA & COLONOSCOPIA)
   -------------------------------------------------------------------------- */
.exames-header {
  max-width: 48rem;
  margin-bottom: 3rem;
}

.exames-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .exames-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.exame-card {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid transparent;
  background-color: hsl(var(--card));
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.exame-card:hover {
  transform: translateY(-0.5rem);
  border-color: hsl(var(--gold) / 0.15);
  box-shadow: var(--shadow-elevated);
}

.exame-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: hsl(var(--background));
}

.exame-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.exame-card:hover .exame-card__image img {
  transform: scale(1.05);
}

.exame-card__content {
  padding: 1.75rem;
}

@media (min-width: 768px) {
  .exame-card__content {
    padding: 2rem;
  }
}

.exame-card__badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.exame-card__badge-line {
  height: 2px;
  width: 2.5rem;
  background-color: var(--gold-text);
  transition: width var(--transition-normal), background-color var(--transition-normal);
}

.exame-card:hover .exame-card__badge-line {
  width: 3.5rem;
  background-color: var(--gold-text);
}

.exame-card__badge-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold-text);
}

.exame-card__title {
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.25;
  color: hsl(var(--foreground));
  transition: color var(--transition-normal);
}

@media (min-width: 768px) {
  .exame-card__title {
    font-size: 1.875rem;
  }
}

.exame-card:hover .exame-card__title {
  color: var(--gold-text);
}

.exame-card__text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.exame-card__text p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
}

@media (min-width: 768px) {
  .exame-card__text p {
    font-size: 1rem;
  }
}

/* --------------------------------------------------------------------------
   10. SEÇÃO DIAGNÓSTICO AO TRATAMENTO (PASSO A PASSO)
   -------------------------------------------------------------------------- */
.steps-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-item {
  position: relative;
}

.step-number {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 3.75rem;
  line-height: 1;
  color: rgba(120, 81, 26, 0.22);
  transition: color var(--transition-normal);
}

.step-item:hover .step-number {
  color: rgba(120, 81, 26, 0.45);
}

.step-line {
  margin-bottom: 1rem;
  height: 2px;
  width: 2.5rem;
  background: linear-gradient(90deg, var(--gold-text), rgba(120, 81, 26, 0.3));
  transition: width var(--transition-normal);
}

.step-item:hover .step-line {
  width: 4rem;
}

.step-title {
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: hsl(var(--foreground));
  transition: color var(--transition-fast);
}

.step-item:hover .step-title {
  color: var(--gold-text);
}

.step-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
}

.step-connector {
  display: none;
}

@media (min-width: 768px) {
  .step-connector {
    display: block;
    position: absolute;
    right: 0;
    top: 2.5rem;
    height: 1px;
    width: 100%;
    transform: translateX(50%);
    background: linear-gradient(90deg, transparent, hsl(var(--border)), transparent);
    z-index: -1;
  }
}

.steps-cta-wrapper {
  margin-top: 4rem;
  text-align: center;
}

/* --------------------------------------------------------------------------
   11. SEÇÃO DRA. MARIANA (BIOGRAFIA & CREDENCIAIS)
   -------------------------------------------------------------------------- */
.bio-grid {
  display: grid;
  align-items: center;
  gap: 3rem;
}

@media (min-width: 768px) {
  .bio-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.bio-image-frame {
  position: relative;
}

.bio-frame-border {
  position: absolute;
  inset: -0.75rem;
  border-radius: 1.5rem;
  border: 1px solid hsl(var(--gold) / 0.15);
  pointer-events: none;
}

.bio-image-box {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.bio-image-box img {
  width: 100%;
  height: 32rem;
  object-fit: cover;
  object-position: top;
  transition: transform var(--transition-slow);
}

@media (min-width: 768px) {
  .bio-image-box img {
    height: 38rem;
  }
}

.bio-image-box:hover img {
  transform: scale(1.05);
}

.bio-content p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.bio-content p:last-of-type {
  margin-bottom: 2rem;
}

/* Métricas em 3 Colunas */
.metrics-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid hsl(var(--gold) / 0.15);
  background-color: hsl(var(--background) / 0.7);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 2rem;
}

.metric-col {
  padding: 1.25rem 0.75rem;
  text-align: center;
  border-right: 1px solid hsl(var(--gold) / 0.1);
}

.metric-col:last-child {
  border-right: none;
}

@media (min-width: 768px) {
  .metric-col {
    padding: 1.25rem;
  }
}

.metric-value {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1;
  color: var(--gold-text);
}

@media (min-width: 768px) {
  .metric-value {
    font-size: 2.25rem;
  }
}

.metric-label {
  margin-top: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: hsl(var(--muted-foreground));
}

@media (min-width: 768px) {
  .metric-label {
    font-size: 0.75rem;
  }
}

/* Lista de Credenciais */
.credentials-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
}

.credential-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-full);
  background-color: var(--gold-text);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.credential-item:hover .credential-dot {
  transform: scale(1.5);
}

/* --------------------------------------------------------------------------
   12. SEÇÃO DEPOIMENTOS
   -------------------------------------------------------------------------- */
.depoimentos-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .depoimentos-header {
    flex-direction: row;
    align-items: flex-end;
  }
}

.depoimentos-header p {
  max-width: 28rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Badge de Avaliação Geral (Google + Doctoralia) */
.depoimentos-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: hsl(var(--background));
  border: 1px solid hsl(var(--gold) / 0.25);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.25rem;
  box-shadow: var(--shadow-card);
  margin-top: 0.5rem;
}

.depoimentos-score-stars {
  color: #D97706; /* Âmbar Dourado Encorpado de Alto Contraste */
  display: inline-flex;
  gap: 0.15rem;
  font-size: 1rem;
}

.depoimentos-score-text {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: hsl(var(--foreground));
}

.depoimentos-score-text span {
  color: var(--gold-text);
  font-weight: 700;
}

/* Grid de Depoimentos */
.depoimentos-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .depoimentos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

/* Card Individual de Depoimento */
.depoimento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 1.25rem;
  border: 1px solid hsl(var(--gold) / 0.15);
  background-color: hsl(var(--card));
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.depoimento-card:hover {
  transform: translateY(-0.35rem);
  border-color: hsl(var(--gold) / 0.35);
  box-shadow: var(--shadow-elevated);
}

.depoimento-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.depoimento-card__stars {
  color: #D97706;
  display: inline-flex;
  gap: 0.15rem;
  font-size: 0.9375rem;
}

.depoimento-card__verified {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #14532D; /* Verde Escuro WCAG AAA */
  background-color: #DCFCE7;
  border: 1px solid rgba(22, 163, 74, 0.25);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.depoimento-card__verified svg {
  width: 0.75rem;
  height: 0.75rem;
}

.depoimento-card__text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.65;
  color: #242E38;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.depoimento-card__footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--gold) / 0.1);
}

.depoimento-card__avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, hsl(var(--gold)), hsl(var(--gold-dark)));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.depoimento-card__info {
  display: flex;
  flex-direction: column;
}

.depoimento-card__name {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.depoimento-card__details {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* Barra Inferior de Prova Social */
.depoimentos-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
  margin-top: 3rem;
  padding: 1.25rem 2rem;
  border-radius: var(--radius-full);
  background-color: hsl(var(--background) / 0.8);
  border: 1px solid hsl(var(--gold) / 0.15);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.depoimentos-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: hsl(var(--foreground));
}

.depoimentos-trust-item svg {
  width: 1.125rem;
  height: 1.125rem;
}

.depoimentos-trust-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold-text);
  transition: color var(--transition-fast);
}

.depoimentos-trust-link:hover {
  color: var(--gold-dark);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   13. SEÇÃO CLÍNICA / ESPAÇO (CARROSSEL)
   -------------------------------------------------------------------------- */
.clinica-carousel-wrapper {
  position: relative;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 1rem;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
}

@media (min-width: 768px) {
  .carousel-slide {
    flex: 0 0 calc(50% - 0.5rem);
  }
}

@media (min-width: 1024px) {
  .carousel-slide {
    flex: 0 0 calc(33.333% - 0.667rem);
  }
}

.carousel-item-box {
  overflow: hidden;
  border-radius: 1rem;
  background-color: hsl(var(--card));
  box-shadow: var(--shadow-card);
}

.carousel-item-box img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.carousel-item-box:hover img {
  transform: scale(1.05);
}

/* Botões do Carrossel */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(120, 81, 26, 0.4);
  background-color: #FFFFFF;
  color: var(--gold-text);
  box-shadow: var(--shadow-card);
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
  z-index: 20;
}

.carousel-btn:hover {
  background-color: var(--gold-text);
  color: #FFFFFF;
  transform: translateY(-50%) scale(1.08);
}

.carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.carousel-btn--prev {
  left: 0.75rem;
}

.carousel-btn--next {
  right: 0.75rem;
}

@media (min-width: 768px) {
  .carousel-btn--prev {
    left: -1.25rem;
  }
  .carousel-btn--next {
    right: -1.25rem;
  }
}

/* --------------------------------------------------------------------------
   14. FOOTER & LOCALIZAÇÃO
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.footer-overlay-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, transparent 0%, transparent 60%, rgba(236, 208, 162, 0.05) 100%);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .footer-grid {
    grid-template-columns: 1.1fr 1fr 0.9fr 1.05fr;
  }
}

.footer-col {
  max-width: 20rem;
}

.footer-col--wide {
  max-width: 22rem;
}

.footer-logo {
  height: 5rem;
  width: auto;
  margin-bottom: 1.5rem;
  filter: brightness(1.4);
}

@media (min-width: 768px) {
  .footer-logo {
    height: 6rem;
  }
}

.footer-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--footer-text);
}

.footer-title {
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: #FFFFFF;
}

.footer-addresses {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.address-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.address-item svg {
  margin-top: 0.25rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--gold-on-dark);
  transition: transform var(--transition-fast);
}

.address-item:hover svg {
  transform: scale(1.1);
}

.address-text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--footer-text);
  line-height: 1.5;
}

.address-title {
  display: block;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gold-on-dark);
  margin-bottom: 0.75rem;
  transition: color var(--transition-fast);
}

.footer-contact-link:hover {
  color: #FFFFFF;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--footer-text);
  transition: border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.social-btn:hover {
  border-color: var(--gold-on-dark);
  color: var(--gold-on-dark);
  transform: scale(1.1);
}

.social-btn svg {
  width: 1rem;
  height: 1rem;
}

/* Mapa do Consultório */
.footer-map-box {
  width: 100%;
  max-width: 15rem;
}

@media (min-width: 1280px) {
  .footer-map-box {
    margin-left: auto;
  }
}

.map-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold-on-dark);
}

.map-tag__line {
  display: inline-block;
  width: 2rem;
  height: 1px;
  background-color: var(--gold-on-dark);
}

.map-frame-wrapper {
  overflow: hidden;
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-elevated);
}

.map-frame-wrapper iframe {
  width: 100%;
  height: 220px;
  border: 0;
}

.map-buttons-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
  margin-top: 1rem;
}

.map-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(236, 208, 162, 0.4);
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold-on-dark);
  transition: border-color var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.map-link-btn:hover {
  border-color: var(--gold-on-dark);
  background-color: rgba(236, 208, 162, 0.15);
  color: #FFFFFF;
}

.map-link-btn svg {
  width: 0.875rem;
  height: 0.875rem;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom-bar p {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--footer-muted);
}

/* --------------------------------------------------------------------------
   15. BOTÃO FLUTUANTE DO WHATSAPP
   -------------------------------------------------------------------------- */
.whatsapp-floating {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 1rem 0.35rem 0.35rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(120, 81, 26, 0.22);
  border-radius: 9999px;
  box-shadow: 
    0 14px 30px -4px rgba(18, 140, 71, 0.32),
    0 6px 14px -2px rgba(20, 26, 33, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  animation: floatWhatsApp 4s ease-in-out infinite;
}

@keyframes floatWhatsApp {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.whatsapp-floating:hover {
  transform: translateY(-6px) scale(1.02);
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(120, 81, 26, 0.4);
  box-shadow: 
    0 18px 36px -4px rgba(18, 140, 71, 0.42),
    0 10px 20px -2px rgba(20, 26, 33, 0.2);
}

.whatsapp-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 9999px;
  background: linear-gradient(145deg, #2ae075 0%, #20b85a 48%, #128c47 100%);
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.8),
    inset 0 -2px 4px rgba(0, 0, 0, 0.22),
    0 4px 12px rgba(18, 140, 71, 0.35);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.whatsapp-floating:hover .whatsapp-icon-wrapper {
  transform: scale(1.06);
}

.whatsapp-icon-wrapper svg {
  width: 1.85rem;
  height: 1.85rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* Indicador de Status Online */
.whatsapp-status-badge {
  position: absolute;
  top: 0.1rem;
  right: 0.1rem;
  width: 0.8rem;
  height: 0.8rem;
  z-index: 5;
}

.whatsapp-status-dot {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background-color: #10B981;
  border: 1.5px solid #FFFFFF;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.9);
}

.whatsapp-status-ping {
  position: absolute;
  inset: -2px;
  border-radius: 9999px;
  background-color: #10B981;
  opacity: 0.8;
  animation: pingDot 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pingDot {
  70%, 100% {
    transform: scale(2.3);
    opacity: 0;
  }
}

/* Tipografia Concierge */
.whatsapp-floating-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.whatsapp-floating-sub {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #128C47;
  line-height: 1.2;
}

.whatsapp-floating-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #16202A;
  font-family: var(--font-body);
  white-space: nowrap;
  line-height: 1.2;
}

/* No mobile: cápsula arredondada elegante com pedestal de vidro de proteção */
@media (max-width: 639px) {
  .whatsapp-floating {
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 0.28rem;
    gap: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid rgba(120, 81, 26, 0.22);
    box-shadow: 
      0 12px 28px -4px rgba(18, 140, 71, 0.38),
      0 4px 12px rgba(20, 26, 33, 0.16);
  }

  .whatsapp-floating-text {
    display: none;
  }

  .whatsapp-icon-wrapper {
    width: 3.35rem;
    height: 3.35rem;
  }
}

/* Modo Escuro */
html.dark .whatsapp-floating {
  background: rgba(22, 29, 38, 0.92);
  border-color: rgba(229, 195, 143, 0.28);
  box-shadow: 
    0 16px 36px -6px rgba(0, 0, 0, 0.8),
    0 8px 20px rgba(18, 140, 71, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

@media (max-width: 639px) {
  html.dark .whatsapp-floating {
    background: rgba(22, 29, 38, 0.85);
    border: 1.5px solid rgba(229, 195, 143, 0.32);
    box-shadow: 
      0 12px 28px -4px rgba(0, 0, 0, 0.8),
      0 0 20px rgba(37, 211, 102, 0.25);
  }
}

html.dark .whatsapp-floating-sub {
  color: #34D399;
}

html.dark .whatsapp-floating-title {
  color: #F1F4F7;
}

html.dark .whatsapp-icon-wrapper {
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.85),
    inset 0 -2px 4px rgba(0, 0, 0, 0.35),
    0 10px 24px -4px rgba(18, 140, 71, 0.65),
    0 0 18px rgba(34, 197, 94, 0.3);
}

/* --------------------------------------------------------------------------
   16. ANIMAÇÕES DE SCROLL (REVEAL & STAGGER)
   -------------------------------------------------------------------------- */
.reveal-fade-up {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-fade-left {
  opacity: 0;
  transform: translateX(-2rem);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-fade-right {
  opacity: 0;
  transform: translateX(2rem) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.is-revealed {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* Efeito Cascata nos Filhos (Stagger) */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-children.reveal-visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.reveal-visible > *:nth-child(2) { transition-delay: 0.15s; }
.stagger-children.reveal-visible > *:nth-child(3) { transition-delay: 0.25s; }
.stagger-children.reveal-visible > *:nth-child(4) { transition-delay: 0.35s; }
.stagger-children.reveal-visible > *:nth-child(5) { transition-delay: 0.45s; }
.stagger-children.reveal-visible > *:nth-child(6) { transition-delay: 0.55s; }

.stagger-children.reveal-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   17. REGRAS ESPECÍFICAS DO MODO ESCURO (DARK MODE)
   -------------------------------------------------------------------------- */
html.dark body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
}

html.dark .site-header {
  background: linear-gradient(180deg, rgba(19, 25, 32, 0.98) 0%, rgba(19, 25, 32, 0.92) 80%, transparent 100%);
}

html.dark .site-header.is-scrolled {
  background: rgba(19, 25, 32, 0.96) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html.dark .header-logo img {
  filter: brightness(1.25) contrast(1.1);
}

html.dark .hero-section {
  background-color: #11161D;
}

html.dark .hero-overlay-horizontal {
  background: linear-gradient(
    90deg,
    rgba(19, 25, 32, 0.98) 0%,
    rgba(19, 25, 32, 0.92) 45%,
    rgba(19, 25, 32, 0.65) 65%,
    rgba(19, 25, 32, 0.20) 100%
  );
}

@media (min-width: 1024px) {
  html.dark .hero-overlay-horizontal {
    background: linear-gradient(
      90deg,
      rgba(19, 25, 32, 0.98) 0%,
      rgba(19, 25, 32, 0.92) 42%,
      rgba(19, 25, 32, 0.65) 60%,
      rgba(19, 25, 32, 0.25) 80%,
      rgba(19, 25, 32, 0.10) 100%
    );
  }
}

html.dark .hero-overlay-vertical {
  background: linear-gradient(
    180deg,
    rgba(19, 25, 32, 0.3) 0%,
    transparent 50%,
    rgba(229, 195, 143, 0.05) 100%
  );
}

html.dark .hero-headline {
  color: #F3F5F7;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 0.9) !important;
}

html.dark .hero-headline em {
  color: #EAC996 !important;
  font-weight: 600;
  /* Elimina completamente o halo esbranquiçado, deixando o dourado puro, nítido e elegante */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 1px 2px rgba(0, 0, 0, 0.9) !important;
}

html.dark .hero-description {
  color: #CFD7DF;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9) !important;
}

html.dark .hero-crm {
  color: #9EB0C2;
}

html.dark .gold-orb {
  opacity: 0.12 !important;
}

html.dark .exame-card {
  background-color: hsl(var(--card));
  border-color: rgba(255, 255, 255, 0.06);
}

html.dark .exame-card:hover {
  border-color: rgba(229, 195, 143, 0.3);
}

html.dark .bio-frame-border {
  border-color: rgba(229, 195, 143, 0.25);
}

html.dark .metrics-card {
  background-color: rgba(27, 35, 46, 0.8);
  border-color: rgba(229, 195, 143, 0.2);
}

html.dark .depoimento-card {
  background-color: hsl(var(--card));
  border-color: rgba(255, 255, 255, 0.08);
}

html.dark .depoimento-card:hover {
  border-color: rgba(229, 195, 143, 0.35);
}

html.dark .depoimento-card__text {
  color: #DDE4EC;
}

html.dark .depoimentos-score-badge {
  background-color: hsl(var(--card));
  border-color: rgba(229, 195, 143, 0.3);
}

html.dark .depoimentos-trust-bar {
  background-color: rgba(27, 35, 46, 0.85);
  border-color: rgba(229, 195, 143, 0.2);
}

html.dark .carousel-item-box {
  background-color: hsl(var(--card));
}

html.dark .carousel-btn {
  background-color: hsl(var(--card));
  border-color: rgba(229, 195, 143, 0.3);
  color: var(--gold-text);
}


/* --------------------------------------------------------------------------
   AVISO DE COOKIES (LGPD) - Google Analytics somente após consentimento
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 34rem;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  background: hsl(var(--card) / 0.96);
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
  border-bottom: 3px solid var(--gold-text);
  box-shadow: 0 18px 40px -10px rgba(20, 26, 33, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-family: var(--font-body);
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.cookie-banner__btn {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.cookie-banner__btn:hover { transform: translateY(-1px); }

.cookie-banner__btn--ghost {
  background: transparent;
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
}

.cookie-banner__btn--primary {
  background: linear-gradient(135deg, #8E5F1E 0%, #6B4310 100%);
  color: #fff;
  border: 1px solid transparent;
}

@media (min-width: 768px) {
  .cookie-banner {
    left: 1.5rem;
    right: auto;
    bottom: 1.5rem;
    flex-direction: row;
    align-items: center;
  }
  .cookie-banner__actions { flex-shrink: 0; }
}

/* Mobile: sobe o aviso acima do botão flutuante do WhatsApp */
@media (max-width: 767px) {
  .cookie-banner { bottom: 5.5rem; }
}
