/* ============================================
   DR. JOÃO QUIRINO — LANDING PAGE (base: v2 redesign)
   Mobile-first . Vanilla CSS . No frameworks
   Paleta: bronze do logo Radiance + grafite quente + creme
   ============================================ */

/* === DESIGN TOKENS === */
:root {
  --brand-navy:         #262320;
  --brand-navy-dark:    #1C1A17;
  --brand-navy-deeper:  #141210;
  --brand-brown:        #3D2B1F;
  --brand-cream:        #F4EEE4;
  --brand-cream-light:  #FAF6EF;
  --brand-nude:         #E8D5C9;
  --brand-nude-soft:    #F2E4DA;

  --accent-gold:        #B58A3C;
  --accent-gold-soft:   #D0AC6B;
  --accent-gold-deep:   #886020;
  --accent-gold-bg:     #F8F2E6;

  --bg-primary:         #FFFFFF;
  --bg-warm:            var(--brand-cream);
  --bg-warm-light:      var(--brand-cream-light);
  --bg-dark:            var(--brand-navy);
  --bg-darker:          var(--brand-navy-deeper);

  --text-primary:       #1F1D1A;
  --text-secondary:     #4E4A44;
  --text-muted:         #736E66;
  --text-on-dark:       #F4EEE4;
  --text-on-navy:       #FAF6EF;

  --border-light:       #E4DCD0;
  --border-warm:        #D4C8B8;
  --border-subtle:      rgba(0,0,0,0.06);

  --cta-primary:        #25D366;
  --cta-hover:          #1EBE5A;
  --cta-text:           #FFFFFF;

  --font-display:       'Cormorant Garamond', Georgia, serif;
  --font-body:          'Outfit', system-ui, sans-serif;

  --space-xs:           0.5rem;
  --space-sm:           1rem;
  --space-md:           1.5rem;
  --space-lg:           2.5rem;
  --space-xl:           4rem;
  --space-2xl:          6rem;
  --space-section:      clamp(4rem, 8vw, 8rem);
  --container-max:      1200px;
  --container-narrow:   800px;
  --container-padding:  clamp(1.25rem, 4vw, 3rem);

  --radius-sm:          6px;
  --radius-md:          10px;
  --radius-lg:          16px;
  --radius-xl:          24px;
  --radius-pill:        999px;

  --shadow-soft:        0 2px 20px rgba(38,35,32,0.08);
  --shadow-medium:      0 4px 30px rgba(38,35,32,0.12);
  --shadow-card:        0 10px 50px rgba(38,35,32,0.13);
  --shadow-float:       0 20px 60px rgba(20,18,16,0.22);

  --ease-out:           cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast:      200ms;
  --duration-normal:    400ms;
  --duration-slow:      600ms;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.7;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  max-width: 100vw;
  background: var(--bg-primary);
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }
input, select, textarea { font: inherit; }

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* === EYEBROW === */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold-deep);
  margin-bottom: var(--space-sm);
  position: relative;
  padding-left: 2.25rem;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 1.75rem;
  height: 1px;
  background: var(--accent-gold);
}
.eyebrow--gold { color: var(--accent-gold-deep); }

/* === TYPOGRAPHY === */
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.5vw, 3.5rem);
  line-height: 1.12;
  color: var(--text-primary);
  letter-spacing: -0.012em;
  margin-bottom: var(--space-md);
}
.section-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent-gold-deep);
}
.section-title--center { text-align: center; }
.section-title--center::after {
  content: '';
  display: block;
  width: 3rem;
  height: 1px;
  background: var(--accent-gold);
  margin: var(--space-md) auto 0;
  opacity: 0.6;
}
.section-title--light { color: var(--text-on-dark); }
.section-title--light em { color: var(--accent-gold-soft); }

/* === BADGE === */
.badge {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: 0.375rem;
  margin-bottom: var(--space-md);
}
.badge--navy { color: var(--brand-navy); border-bottom: 1px solid var(--brand-navy); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-pill);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              background var(--duration-normal) var(--ease-out);
  min-height: 44px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn__wa-icon { width: 1.1em; height: 1.1em; flex: 0 0 auto; margin-right: 0.55rem; }
.btn--primary {
  background: var(--cta-primary);
  color: var(--cta-text);
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover {
  background: var(--cta-hover);
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}
.btn--gold {
  background: var(--accent-gold);
  color: var(--brand-navy-deeper);
  box-shadow: 0 6px 24px rgba(181,138,60,0.35);
  font-weight: 600;
}
.btn--gold:hover {
  background: var(--accent-gold-soft);
  box-shadow: 0 10px 32px rgba(181,138,60,0.45);
  transform: translateY(-2px);
}
.btn--whatsapp {
  background: #25D366;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 24px rgba(37,211,102,0.25);
}
.btn--whatsapp:hover {
  background: #1EBE5A;
  box-shadow: 0 10px 32px rgba(37,211,102,0.35);
  transform: translateY(-2px);
}
.btn--sm { padding: 0.5rem 1.25rem; font-size: 0.8125rem; min-height: 40px; }
.btn--lg { padding: 1.05rem 2.6rem; font-size: 1.0625rem; }
.btn--full { width: 100%; }

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

/* Véu claro no topo: sem ele o texto do header some sobre a foto do hero.
   Some quando a navbar ganha fundo sólido na rolagem. */
.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(252,250,247,0.92), rgba(252,250,247,0.55) 55%, rgba(252,250,247,0));
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
}
.navbar.is-scrolled::before { opacity: 0; }
.navbar__inner { position: relative; z-index: 1; }
.navbar.is-scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 14px rgba(38,35,32,0.10);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.75rem var(--container-padding);
}
.navbar__logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  object-position: left center;
  display: block;
}
.navbar__right { display: flex; align-items: center; gap: var(--space-sm); }
.navbar__proof {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
  color: var(--brand-navy);
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
}
/* Dourado sobre a foto do hero não passa contraste — navy translúcido lê em qualquer fundo. */
.navbar__proof span:last-child { color: rgba(38,35,32,0.72); }
.navbar.is-scrolled .navbar__proof span:last-child { color: var(--accent-gold-deep); }
.navbar__badge {
  display: none;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-navy);
  border: 1px solid rgba(38,35,32,0.3);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
}

/* === HERO ===
   Full-bleed imersivo. Mobile: rosto no topo, texto claro sobreposto embaixo
   sobre gradiente navy. Desktop (768+): texto escuro à esquerda sobre scrim cream. */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top,
      rgba(13,16,46,0.95) 0%,
      rgba(13,16,46,0.85) 22%,
      rgba(13,16,46,0.45) 44%,
      rgba(13,16,46,0.08) 64%,
      transparent 80%);
}
.hero__inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding) clamp(2.5rem, 8dvh, 4.5rem);
  position: relative;
  z-index: 2;
}
.hero__content { max-width: 640px; }
.hero__eyebrow {
  display: inline-block;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  /* No mobile este rótulo cai em cima do jaleco branco, onde o scrim ainda é
     fraco: o dourado suave desaparecia. Fundo próprio resolve em qualquer foto. */
  color: #f6ead2;
  background: rgba(13, 16, 46, 0.55);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-md);
}
@media (min-width: 768px) {
  .hero__eyebrow { background: none; padding: 0; }
}
.hero__headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1.04;
  color: #FCFAF6;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  text-shadow: 0 1px 30px rgba(13,16,46,0.4);
}
.hero__headline em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent-gold-soft);
}
.hero__sub {
  font-size: clamp(1rem, 1.3vw, 1.1875rem);
  color: rgba(245,239,230,0.92);
  max-width: 480px;
  margin-bottom: var(--space-lg);
  line-height: 1.65;
}
.hero__micro {
  margin-top: var(--space-md);
  font-size: 0.8125rem;
  color: rgba(245,239,230,0.7);
  font-weight: 400;
}
.hero__stat {
  position: absolute;
  z-index: 2;
  bottom: clamp(3rem, 9dvh, 6rem);
  right: var(--container-padding);
  background: rgba(20,18,16,0.78);
  backdrop-filter: blur(10px);
  color: var(--accent-gold-soft);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid rgba(181,138,60,0.35);
  display: none;
}
.hero__stat span {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1;
}
.hero__stat small {
  display: block;
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.9;
  margin-top: 0.3rem;
}
.hero__watermark {
  display: none;
  position: absolute;
  right: -2rem;
  top: 30%;
  z-index: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(10rem, 18vw, 22rem);
  line-height: 1;
  color: var(--brand-navy);
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
}

/* === DOR === */
.dor {
  background: var(--bg-primary);
  padding: var(--space-section) 0;
}
.dor__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}
.dor__card {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--bg-warm);
  border: 1px solid transparent;
  transition: box-shadow var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal);
}
.dor__card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-3px);
  border-color: rgba(181,138,60,0.3);
}
.dor__card-number {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--accent-gold);
  opacity: 0.55;
  line-height: 1;
  margin-bottom: var(--space-sm);
}
.dor__card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--brand-navy-deeper);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.dor__card-text { color: var(--text-secondary); font-size: 0.9375rem; }
.dor__transition {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--brand-navy);
}

/* === SOLUCAO === */
.solucao {
  background: var(--bg-warm-light);
  padding: var(--space-section) 0;
}
.solucao__grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}
.solucao__desc { color: var(--text-secondary); margin-bottom: var(--space-md); }
.solucao__list { margin-bottom: var(--space-md); }
.solucao__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: var(--space-xs);
  color: var(--text-secondary);
}
.solucao__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 2px;
  height: 16px;
  background: var(--accent-gold);
}
.solucao__list strong { color: var(--brand-navy); font-weight: 500; }
.solucao__case-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
.solucao__case { position: relative; min-width: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); background: var(--brand-navy-deeper); }
.solucao__case img { width: 100%; aspect-ratio: 1000 / 499; object-fit: cover; }
.solucao__case figcaption {
  position: absolute; left: 0.65rem; top: 0.65rem; padding: 0.25rem 0.55rem;
  border-radius: var(--radius-pill); background: rgba(20,18,16,0.78); color: #fff;
  font-size: 0.625rem; font-weight: 600; letter-spacing: 0.1em;
}
.solucao__case:last-child figcaption { background: rgba(181,138,60,0.92); color: var(--brand-navy-deeper); }
.solucao__caption {
  margin-top: var(--space-sm);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.5;
  padding-left: 1rem;
  border-left: 2px solid var(--accent-gold);
}

/* === MEU PORQUE === */
.porque {
  background: var(--bg-primary);
  padding: var(--space-section) 0;
  position: relative;
  overflow: hidden;
}
.porque::before {
  content: 'JC';
  position: absolute;
  left: -3rem;
  bottom: -4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(12rem, 22vw, 24rem);
  color: var(--brand-navy);
  opacity: 0.03;
  pointer-events: none;
  line-height: 1;
}
.porque__grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  position: relative;
  z-index: 2;
}
.porque__visual { position: relative; }
.porque__photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}
.porque__photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(181,138,60,0.4);
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.porque__photo {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center 30%;
  filter: sepia(0.08) contrast(1.02);
}
.porque__photo-caption {
  display: block;
  margin-top: var(--space-sm);
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-muted);
}
.porque__lead {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.45;
  color: var(--brand-navy-deeper);
  margin-bottom: var(--space-md);
  font-weight: 500;
}
.porque__text > p { color: var(--text-secondary); margin-bottom: var(--space-md); }
.porque__quote {
  margin: var(--space-lg) 0;
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-warm);
  border-left: 3px solid var(--accent-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1875rem;
  line-height: 1.5;
  color: var(--brand-navy-deeper);
}
.porque__timeline {
  margin-top: var(--space-lg);
  display: grid;
  gap: var(--space-sm);
}
.porque__timeline li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.porque__timeline li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
}
.porque__timeline span {
  display: block;
  font-weight: 600;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold-deep);
  margin-bottom: 0.1rem;
}

/* === AUTORIDADE === */
.autoridade {
  background: var(--bg-darker);
  padding: var(--space-section) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.autoridade::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(181,138,60,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.autoridade .container { position: relative; z-index: 2; }
.autoridade__seal { margin-bottom: var(--space-xl); }
.autoridade__seal-inner {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  background: rgba(181,138,60,0.08);
  border: 1px solid rgba(181,138,60,0.4);
  padding: 1.5rem 2.5rem;
  border-radius: var(--radius-lg);
}
.autoridade__seal-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--accent-gold);
  letter-spacing: 0.04em;
  line-height: 1.2;
  max-width: 360px;
}
.autoridade__seal-sublabel {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.625rem;
  color: var(--accent-gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.autoridade__seal-divider { width: 40px; height: 1px; background: var(--accent-gold); opacity: 0.4; }
.autoridade__seal-rank {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8125rem;
  color: var(--text-on-dark);
  opacity: 0.85;
}
.autoridade__text { max-width: 640px; margin: 0 auto var(--space-xl); color: var(--text-on-dark); opacity: 0.85; }
.autoridade__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 520px;
  margin: 0 auto var(--space-xl);
}
.autoridade__stat { text-align: center; }
.autoridade__stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 5rem);
  color: var(--accent-gold);
  line-height: 1;
  display: inline;
}
.autoridade__stat-plus {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--accent-gold);
  opacity: 0.8;
}
.autoridade__stat-label { display: block; margin-top: var(--space-xs); font-size: 0.875rem; color: var(--text-on-dark); opacity: 0.7; }
.autoridade__quote {
  max-width: 540px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.375rem;
  color: var(--text-on-dark);
  opacity: 0.92;
  line-height: 1.5;
}
.autoridade__quote::before, .autoridade__quote::after { color: var(--accent-gold); opacity: 0.7; font-size: 1.5em; }
.autoridade__quote::before { content: '\201C'; margin-right: 0.1em; }
.autoridade__quote::after  { content: '\201D'; margin-left: 0.1em; }

/* Credenciais no lugar dos contadores: aqui a prova é formação, não volume. */
.autoridade__creds {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: 900px;
  margin: 0 auto var(--space-xl);
  padding: 0;
  text-align: left;
}
.autoridade__cred {
  padding: var(--space-md) var(--space-lg);
  border-left: 2px solid var(--accent-gold);
  background: rgba(181,138,60,0.06);
  border-radius: 0 var(--radius-md, 10px) var(--radius-md, 10px) 0;
}
.autoridade__cred strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.125rem, 2.4vw, 1.375rem);
  color: var(--accent-gold);
  line-height: 1.25;
  margin-bottom: 0.35rem;
  text-wrap: balance;
}
.autoridade__cred span {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-on-dark);
  opacity: 0.78;
  text-wrap: pretty;
}
@media (min-width: 880px) {
  .autoridade__creds { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .autoridade__cred { display: flex; flex-direction: column; }
}

/* Antes/depois do Dr. João vêm empilhados e já rotulados na própria imagem. */
.case__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.solucao__case-single { margin: 0; }
.solucao__case-single img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* === CASOS / ANTES E DEPOIS === */
.casos { background: var(--bg-warm-light); padding: var(--space-section) 0; }
.casos__header { margin-bottom: var(--space-md); text-align: center; }
.casos__header .eyebrow { padding-left: 0; }
.casos__header .eyebrow::before { display: none; }
.casos__desc { color: var(--text-secondary); max-width: 540px; margin: var(--space-sm) auto 0; }
.casos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin: 0 auto var(--space-md);
  max-width: 620px;
}
.case__info { margin-top: var(--space-sm); text-align: center; }
.case__info strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; color: var(--brand-navy-deeper); }
.case__info span { font-size: 0.8125rem; color: var(--text-muted); }
.casos__micro { text-align: center; font-size: 0.8125rem; color: var(--text-muted); margin-top: var(--space-md); }

.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  position: relative;
}
.compare__panel {
  position: relative;
  min-width: 0;
  aspect-ratio: 1000 / 499;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--brand-navy-deeper);
}
.compare__panel img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.compare__tag {
  position: absolute;
  top: 0.75rem;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(20,18,16,0.72);
  backdrop-filter: blur(4px);
  color: #fff;
  z-index: 3;
  pointer-events: none;
}
.compare__tag--antes { left: 0.75rem; background: rgba(20,18,16,0.78); }
.compare__tag--depois { right: 0.75rem; background: rgba(181,138,60,0.92); color: var(--brand-navy-deeper); }

/* === PROVA SOCIAL === */
.prova-social { background: var(--bg-primary); padding: var(--space-section) 0; }
.prova-social__head { text-align: center; max-width: 760px; margin: 0 auto var(--space-xl); }
.prova-social__head .eyebrow { padding-left: 0; }
.prova-social__head .eyebrow::before { display: none; }
.prova-social__head--second { margin: var(--space-xl) auto 0; }
.ig-embed-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); justify-items: center; }
.ig-embed { width: 100%; max-width: 400px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-lg); background: var(--bg-warm); box-shadow: var(--shadow-card); position: relative; }
.ig-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.ig-embed__fallback { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; flex-direction: column; gap: 0.5rem; padding: var(--space-lg); text-align: center; color: var(--brand-navy); background: var(--bg-warm); font-weight: 500; }
.ig-embed.is-error iframe { display: none; }
.ig-embed.is-error .ig-embed__fallback { display: flex; }

/* === AVALIAÇÕES DO GOOGLE === */
.google-reviews { background: var(--bg-warm); padding: var(--space-section) 0; }
.google-reviews__head { text-align: center; max-width: 720px; margin: 0 auto var(--space-xl); }
.google-reviews__head .eyebrow { padding-left: 0; }
.google-reviews__head .eyebrow::before { display: none; }
.google-reviews__cards { display: grid; grid-template-columns: 1fr; gap: var(--space-md); }
.google-review { background: var(--bg-primary); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: var(--space-lg); box-shadow: var(--shadow-soft); }
.google-review__top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-sm); }
.google-review__name { font-weight: 500; color: var(--brand-navy-deeper); }
.google-review__date { display: block; font-size: 0.75rem; color: var(--text-muted); margin-top: 0.15rem; }
.google-review__rating { color: var(--accent-gold-deep); letter-spacing: 0.08em; white-space: nowrap; }
.google-review__text { color: var(--text-secondary); font-size: 0.9375rem; margin-top: var(--space-md); }
.google-review__google { display: flex; align-items: center; gap: 0.4rem; margin-top: var(--space-md); color: var(--text-muted); font-size: 0.75rem; }
.google-review__google-mark { width: 1rem; height: 1rem; border-radius: 50%; background: conic-gradient(#4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0); }

/* === ITERO / ESCANEAMENTO DIGITAL === */
.itero { background: var(--bg-warm-light); padding: var(--space-section) 0; }
.itero__grid { display: flex; flex-direction: column; gap: var(--space-xl); }
.itero__text { flex: 1; }
.itero__lead { color: var(--text-secondary); margin-bottom: var(--space-md); }
.itero__note { color: var(--text-muted); font-size: 0.8125rem; border-left: 2px solid var(--accent-gold); padding-left: var(--space-sm); }
.itero__gallery { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
.itero__gallery figure { min-width: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); background: var(--brand-navy-deeper); }
.itero__gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.itero__gallery-main { grid-column: 1 / -1; }
.itero__gallery-main img { aspect-ratio: 4 / 3; }

/* === LINK DE AÇÃO INLINE === */
.inline-modal-link { color: var(--brand-navy); font-weight: 500; text-decoration: underline; text-decoration-color: var(--accent-gold); text-underline-offset: 0.2em; }
.inline-modal-link:hover { color: var(--accent-gold-deep); }

/* === PROCESSO === */
.processo { background: var(--bg-warm); padding: var(--space-section) 0; }
.timeline { position: relative; margin-top: var(--space-xl); padding-left: 2rem; }
.timeline__line { position: absolute; left: 0.5rem; top: 0; bottom: 0; width: 1px; background: var(--border-warm); }
.timeline__step { position: relative; padding-bottom: var(--space-xl); }
.timeline__step:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute;
  left: -1.625rem;
  top: 0.25rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent-gold);
  border: 3px solid var(--bg-warm);
  box-shadow: 0 0 0 1px var(--accent-gold);
  z-index: 2;
}
.timeline__label { display: block; font-weight: 500; font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent-gold-deep); margin-bottom: 0.375rem; }
.timeline__title { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; color: var(--brand-navy-deeper); margin-bottom: 0.5rem; line-height: 1.3; }
.timeline__text { font-size: 0.9375rem; color: var(--text-secondary); max-width: 380px; }

/* === SOBRE === */
.sobre { background: var(--bg-primary); padding: var(--space-section) 0; }
.sobre__wrapper { display: flex; flex-direction: column; gap: var(--space-lg); }
.sobre__photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 20%; box-shadow: var(--shadow-card); border-radius: var(--radius-lg); }
.sobre__text-col p { color: var(--text-secondary); margin-bottom: var(--space-sm); }
.sobre__signature { margin-top: var(--space-md); padding-top: var(--space-md); border-top: 1px solid var(--border-warm); }
.sobre__name { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--brand-navy-deeper); }
.sobre__cro { display: block; font-size: 0.8125rem; color: var(--text-muted); margin-top: 0.25rem; }

/* === INVESTIMENTO === */
.investimento { background: var(--bg-warm-light); padding: var(--space-section) 0; text-align: center; }
.investimento__intro { max-width: 540px; margin: 0 auto var(--space-xl); color: var(--text-secondary); }
.investimento__card {
  background: var(--bg-primary);
  box-shadow: var(--shadow-card);
  padding: var(--space-xl) var(--space-lg);
  border-radius: var(--radius-lg);
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--border-light);
}
.investimento__options { display: flex; gap: var(--space-md); justify-content: center; margin-bottom: var(--space-lg); flex-wrap: wrap; }
.investimento__option { display: flex; align-items: center; gap: var(--space-xs); background: var(--bg-warm); padding: 0.75rem 1.25rem; border-radius: var(--radius-md); color: var(--text-secondary); }
.investimento__option svg { color: var(--brand-navy); flex-shrink: 0; }
.investimento__option div { text-align: left; }
.investimento__option strong { display: block; font-weight: 500; color: var(--brand-navy-deeper); font-size: 0.9375rem; }
.investimento__option span { font-size: 0.8125rem; }
.investimento__note { font-size: 0.9375rem; color: var(--text-secondary); margin-bottom: var(--space-lg); line-height: 1.7; }

/* === FAQ === */
.faq { background: var(--bg-primary); padding: var(--space-section) 0; }
.faq__grid { display: flex; flex-direction: column; gap: var(--space-lg); }
.faq__title { margin-bottom: 0; }
.faq__item { border-bottom: 1px solid var(--border-light); }
.faq__question {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 1.25rem 0;
  font-family: var(--font-body); font-weight: 400; font-size: 1.0625rem;
  color: var(--brand-navy-deeper); cursor: pointer; list-style: none; gap: var(--space-sm); min-height: 44px;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::marker { content: ''; }
.faq__icon { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; background: var(--accent-gold-deep); transition: transform var(--duration-normal) var(--ease-out); }
.faq__icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq__icon::after { top: 0; left: 50%; width: 1.5px; height: 100%; transform: translateX(-50%); }
details[open] .faq__icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq__answer { padding-bottom: 1.25rem; }
.faq__answer p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.7; }

/* === CTA FINAL === */
.cta-final { background: var(--bg-dark); padding: var(--space-2xl) 0; text-align: center; position: relative; overflow: hidden; }
.cta-final::before {
  content: '';
  position: absolute;
  bottom: -40%; right: -10%;
  width: 60%; height: 180%;
  background: radial-gradient(ellipse at center, rgba(181,138,60,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-final .container { position: relative; z-index: 2; }
.cta-final__headline { margin-bottom: var(--space-sm); }
.cta-final__sub { color: var(--text-on-navy); opacity: 0.88; max-width: 480px; margin: 0 auto var(--space-xl); }
.cta-final__micro { color: var(--text-on-navy); opacity: 0.65; font-size: 0.8125rem; margin-top: var(--space-md); }

/* === FORM === */
.form-group { margin-bottom: var(--space-md); }
.form-label { display: block; font-weight: 500; font-size: 0.8125rem; color: var(--brand-navy-deeper); margin-bottom: 0.5rem; line-height: 1.5; }
.form-input {
  width: 100%; border: 1px solid var(--border-light); padding: 0.875rem 1rem;
  border-radius: var(--radius-md); font-size: 1rem; font-weight: 400; color: var(--text-primary);
  background: var(--bg-primary); transition: border-color var(--duration-fast), box-shadow var(--duration-fast); min-height: 44px;
}
.form-input:focus { outline: none; border-color: var(--accent-gold); box-shadow: 0 0 0 3px rgba(181,138,60,0.18); }
.form-input::placeholder { color: var(--text-muted); font-weight: 300; }
.radio-group { display: flex; flex-direction: column; gap: 0.625rem; margin-top: 0.5rem; }
.radio { display: flex; align-items: center; gap: 0.75rem; cursor: pointer; padding: 0.5rem 0; min-height: 44px; }
.radio input { position: absolute; opacity: 0; width: 0; height: 0; }
.radio__mark { width: 20px; height: 20px; border: 2px solid var(--border-light); border-radius: 50%; flex-shrink: 0; position: relative; transition: border-color var(--duration-fast); }
.radio input:checked + .radio__mark { border-color: var(--accent-gold); }
.radio input:checked + .radio__mark::after { content: ''; position: absolute; top: 3px; left: 3px; width: 10px; height: 10px; background: var(--accent-gold); border-radius: 50%; }
.radio__text { font-weight: 400; font-size: 0.9375rem; color: var(--text-primary); }
.radio input:checked ~ .radio__text { font-weight: 500; }
.radio input:focus-visible + .radio__mark { box-shadow: 0 0 0 3px rgba(181,138,60,0.25); }
.form-feedback { margin-bottom: var(--space-sm); font-size: 0.875rem; min-height: 0; transition: opacity var(--duration-normal); }
.form-feedback.is-error { color: #b91c1c; min-height: 1.5rem; }
.form-feedback.is-success { color: #15803d; }
.thank-you { text-align: center; padding: var(--space-lg) 0; }
.thank-you svg { width: 56px; height: 56px; color: var(--accent-gold); margin: 0 auto var(--space-md); }
.thank-you h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.75rem; margin-bottom: var(--space-sm); color: var(--brand-navy-deeper); }
.thank-you p { color: var(--text-secondary); }
.modal-success .thank-you { padding-top: var(--space-sm); }
.modal-success .success-whatsapp { margin-top: var(--space-lg); }

/* === LOCALIZACAO === */
.localizacao { background: var(--bg-warm); padding: var(--space-section) 0; }
.localizacao__grid { display: flex; flex-direction: column; gap: var(--space-lg); }
.localizacao__details p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.6; }
.localizacao__details strong { color: var(--brand-navy-deeper); font-weight: 500; }
.localizacao__hours { margin-top: 0.5rem; font-size: 0.8125rem !important; color: var(--text-muted) !important; }
.localizacao__map { min-height: 320px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.localizacao__map iframe { width: 100%; min-height: 320px; }

/* === MODAL === */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(20,18,16,0.65); backdrop-filter: blur(4px);
  z-index: 200; display: flex; align-items: center; justify-content: center; padding: var(--space-md);
  opacity: 0; visibility: hidden; transition: opacity var(--duration-normal) var(--ease-out), visibility var(--duration-normal);
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }
.modal-content {
  background: var(--bg-primary); border-radius: var(--radius-lg); padding: var(--space-xl) var(--space-lg);
  max-width: 480px; width: 100%; max-height: 90dvh; overflow-y: auto; position: relative;
  transform: translateY(20px); transition: transform var(--duration-normal) var(--ease-out);
}
.modal-overlay.is-open .modal-content { transform: translateY(0); }
.modal-close {
  position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; display: flex;
  align-items: center; justify-content: center; font-size: 1.5rem; color: var(--text-muted);
  border-radius: 50%; transition: background var(--duration-fast);
}
.modal-close:hover { background: var(--bg-warm); }
.modal-title { font-family: var(--font-display); font-weight: 500; font-size: 1.75rem; color: var(--brand-navy-deeper); margin-bottom: 0.5rem; padding-right: 2rem; }
.modal-sub { font-size: 0.9375rem; color: var(--text-secondary); margin-bottom: var(--space-lg); }
body.modal-open { overflow: hidden; }

/* === FOOTER === */
.footer { background: var(--bg-darker); padding: var(--space-xl) 0 var(--space-lg); text-align: center; color: var(--text-on-dark); }
.footer__logo { height: 52px; width: auto; margin: 0 auto var(--space-lg); display: block; opacity: 0.95; }
.footer__info { margin-bottom: var(--space-lg); }
.footer__info p { font-size: 0.8125rem; opacity: 0.65; line-height: 1.8; }
.footer__links { display: flex; gap: var(--space-md); justify-content: center; margin-bottom: var(--space-lg); }
.footer__links a { opacity: 0.7; color: var(--accent-gold-soft); transition: opacity var(--duration-fast); min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.footer__links a:hover { opacity: 1; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.10); padding-top: var(--space-md); }
.footer__bottom p { font-size: 0.75rem; opacity: 0.5; }

/* === STICKY MOBILE BAR === */
.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px);
  box-shadow: 0 -2px 14px rgba(38,35,32,0.12); padding: 0.75rem var(--container-padding); z-index: 90;
  transform: translateY(100%); transition: transform var(--duration-normal) var(--ease-out);
}
.sticky-bar.is-visible { transform: translateY(0); }
body.has-sticky-bar { padding-bottom: 4.5rem; }

/* === WHATSAPP FLUTUANTE === */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cta-primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(15, 19, 56, 0.24);
  transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
}
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: var(--cta-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(15, 19, 56, 0.3);
}
.whatsapp-float:focus-visible { outline: 3px solid rgba(181,138,60,0.75); outline-offset: 3px; }
body.has-sticky-bar .whatsapp-float { bottom: calc(4.5rem + 20px); }

@media (max-width: 479px) {
  body { padding-bottom: 5.5rem; }
  .cta-final { padding-bottom: calc(var(--space-2xl) + 4.5rem); }
}

/* intl-tel-input */
.iti { width: 100%; }
.iti__tel-input { width: 100% !important; }

/* === RESPONSIVE: TABLET (768px) === */
@media (min-width: 768px) {
  .navbar__proof { display: flex; }
  .navbar__logo-img { height: 52px; }

  .hero { align-items: center; }
  .hero__bg img { object-position: right center; }
  .hero__scrim {
    background:
      linear-gradient(100deg,
        rgba(250,246,240,0.97) 0%,
        rgba(250,246,240,0.92) 30%,
        rgba(250,246,240,0.55) 48%,
        rgba(250,246,240,0.12) 62%,
        transparent 78%);
  }
  .hero__inner { padding: 4rem var(--container-padding) 0; }
  .hero__eyebrow { color: var(--accent-gold-deep); }
  .hero__headline { color: var(--brand-navy-deeper); text-shadow: none; }
  .hero__headline em { color: var(--accent-gold-deep); }
  .hero__sub { color: var(--text-secondary); }
  .hero__micro { color: var(--text-muted); }
  .hero__stat { display: block; }
  .hero__watermark { display: block; }

  .dor__grid { grid-template-columns: repeat(2, 1fr); }

  .solucao__grid { flex-direction: row; align-items: center; }
  .solucao__text { flex: 1; }
  .solucao__visual { flex: 0 0 42%; }

  .ig-embed-grid { grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; }
  .google-reviews__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .itero__grid { flex-direction: row; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
  .itero__text { flex: 0 0 42%; }
  .itero__gallery { flex: 1; }

  .porque__grid { flex-direction: row; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
  .porque__visual { flex: 0 0 42%; }
  .porque__text { flex: 1; }

  .casos__grid { max-width: 720px; }

  .faq__grid { flex-direction: row; align-items: flex-start; }
  .faq__title { flex: 0 0 280px; position: sticky; top: 6rem; }
  .faq__list { flex: 1; }

  .sobre__wrapper { flex-direction: row; align-items: stretch; }
  .sobre__photo-col { flex: 0 0 40%; position: relative; }
  .sobre__photo { height: 100%; aspect-ratio: auto; position: absolute; inset: 0; object-fit: cover; }
  .sobre__text-col { flex: 1; background: var(--bg-warm); padding: var(--space-xl); border-radius: var(--radius-lg); }

  .localizacao__grid { flex-direction: row; align-items: stretch; }
  .localizacao__info { flex: 1; }
  .localizacao__map { flex: 1; min-height: 400px; }

  .sticky-bar { display: none; }
  body.has-sticky-bar { padding-bottom: 0; }
}

/* === RESPONSIVE: DESKTOP (1024px) === */
@media (min-width: 1024px) {
  .casos__grid { grid-template-columns: repeat(3, 1fr); max-width: var(--container-max); gap: var(--space-md); }

  .timeline { padding-left: 0; max-width: 720px; margin: var(--space-xl) auto 0; }
  .timeline__line { left: 50%; transform: translateX(-50%); }
  .timeline__step { display: flex; width: 100%; }
  .timeline__step--left { justify-content: flex-start; padding-right: calc(50% + 2rem); text-align: right; }
  .timeline__step--right { justify-content: flex-end; padding-left: calc(50% + 2rem); }
  .timeline__step--left .timeline__dot, .timeline__step--right .timeline__dot { left: calc(50% - 6px); }
  .timeline__step--left .timeline__text { margin-left: auto; }

  .sobre__wrapper { position: relative; }
  .sobre__photo-col { flex: 0 0 42%; position: relative; z-index: 2; margin-right: -3rem; }
  .sobre__photo { position: relative; height: auto; aspect-ratio: 3/4; }
  .sobre__text-col { padding: var(--space-2xl) var(--space-xl) var(--space-2xl) calc(3rem + var(--space-xl)); }
}

@media (max-width: 767px) {
  .navbar__inner { padding-top: 0.5rem; padding-bottom: 0.5rem; gap: 0.4rem; }
  .navbar__logo-img { height: 42px; width: auto; }
  .navbar__right { gap: 0.45rem; }
  .navbar__proof { display: flex; align-items: flex-end; max-width: 132px; font-size: 0.5rem; letter-spacing: 0.055em; }
  .navbar__proof span { white-space: nowrap; }
  /* No mobile o CTA do header virava um círculo verde idêntico ao botão flutuante:
     dois botões iguais na mesma tela. O flutuante já cobre essa função, então o do
     header sai — o CTA do hero fica visível logo abaixo. */
  .navbar__right .btn--sm { display: none; }
  .navbar__proof { max-width: none; font-size: 0.5625rem; }
  .hero__inner { padding-top: 5rem; }
  .hero__headline { font-size: clamp(2.25rem, 9vw, 3.3rem); }
  .casos__grid { max-width: 520px; }
}

/* === RESPONSIVE: WIDE (1440px) === */
@media (min-width: 1440px) {
  .hero__headline { font-size: 4.75rem; }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Hero mobile — cena única imersiva. 12/08/2026.
   Histórico curto, porque explica a decisão: a primeira tentativa sobrepôs o
   texto numa foto sem zona limpa e virou briga de contraste; a segunda
   empilhou numa faixa navy sólida, que resolveu a leitura mas ficou dura.
   A saída certa era a composição da imagem: a foto nova reserva os 40% de
   baixo como creme uniforme (medido: variação de luminância 2,1), então o
   texto pousa nela sem véu pesado e sem faixa.
   ========================================================================== */

.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(252,250,247,0.92), rgba(252,250,247,0.55) 55%, rgba(252,250,247,0));
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
}
.navbar.is-scrolled::before { opacity: 0; }
.navbar__inner { position: relative; z-index: 1; }
.navbar__proof span:last-child { color: rgba(38,35,32,0.72); }
.navbar.is-scrolled .navbar__proof span:last-child { color: var(--accent-gold-deep); }

/* Cada título da prova social é a chamada do seu próprio vídeo. */
.ig-embed-grid--single {
  grid-template-columns: minmax(0, 400px);
  justify-content: center;
}
.prova-social__head--second { margin-top: var(--space-xl); }

.hero { overflow: hidden; }

@media (max-width: 767px) {
  /* Texto de prova cobria a logo. */
  .navbar__proof { display: none; }
  .navbar__logo-img { height: 38px; width: auto; }
  .navbar__right .btn--sm { display: none; }

  /* A foto volta a ser cena de fundo inteira. */
  .hero { align-items: flex-end; min-height: 100svh; }
  .hero__bg img { object-position: 50% 4%; }

  /* Gradiente só acompanha a zona que a foto já entrega limpa: transparente
     acima de 66%, então não apaga a Dra. nem o consultório atrás dela. */
  .hero__scrim {
    background: linear-gradient(to top,
      rgba(250,246,239,0.98) 0%,
      rgba(250,246,239,0.97) 34%,
      rgba(250,246,239,0.94) 46%,
      rgba(250,246,239,0.62) 54%,
      rgba(250,246,239,0.18) 62%,
      rgba(250,246,239,0)    70%);
  }

  /* Sobre creme, o texto vira navy — igual ao desktop dela, e o contraste
     passa folgado. Some a pílula e a sombra, que eram muletas da sobreposição
     mal resolvida. */
  .hero__inner { padding: 0; }
  .hero__content { margin-top: 0; padding: 0 var(--container-padding) calc(6dvh + 8px); }
  .hero__eyebrow {
    background: none;
    padding: 0;
    color: var(--accent-gold-deep);
    text-shadow: none;
  }
  .hero__headline {
    color: var(--brand-navy-deeper);
    text-shadow: none;
    font-size: clamp(1.85rem, 7.4vw, 2.5rem);
    line-height: 1.06;
  }
  .hero__headline em { color: var(--accent-gold-deep); }
  .hero__sub { color: var(--text-secondary); text-shadow: none; }
  /* O botão flutuante fica no canto inferior direito e cobria o número do CRO. */
  .hero__micro { color: var(--text-muted); text-shadow: none; padding-right: 4.75rem; }

  /* Decoração que não cabe no celular. */
  .hero__watermark, .hero__stat { display: none; }

  .cta-final .btn, .cta-final__inner .btn { max-width: 100%; }
}

@media (max-width: 767px) {
  /* Medido: dourado claro sobre creme dava razão de contraste 1,99 e a linha
     do CRO 4,14 — ambos abaixo do mínimo de 4,5 para texto pequeno. Sobre
     fundo claro o dourado precisa ser bem mais fechado do que sobre navy. */
  /* Bronze escurecido: sobre o véu do hero o #5a4416 media 4.07:1 e o eyebrow
     tem 12px, então cai na régua de texto pequeno (4.5:1). */
  .hero__eyebrow { color: #4A3810; }
  .hero__micro   { color: #4b4b5e; }
}


/* ==========================================================================
   Acabamento — auditoria de redesign, 12/08/2026.
   ========================================================================== */

/* Navegação por teclado: o primeiro Tab da página pula direto pro conteúdo,
   em vez de percorrer o menu inteiro. Invisível até receber foco. */
.pular-para-conteudo {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 200;
  background: var(--brand-navy);
  color: var(--text-on-navy);
  padding: 0.7rem 1.1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}
.pular-para-conteudo:focus { transform: translateY(0); }

/* Foco visível em tudo que recebe teclado. Sem isto a página é inoperável
   por teclado, que é requisito de acessibilidade, não enfeite. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--brand-navy);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Números em fonte proporcional dançam quando animam ou mudam de valor.
   Tabulares travam a largura de cada dígito. */
.hero__stat span,
.stat__number,
.numero,
.counter,
[data-counter],
.authority-strip strong,
.provas__nota strong {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* Headline sem palavra órfã na última linha. */
h1, h2, .display, .h2, .section-title, .hero__title, .hero__headline {
  text-wrap: balance;
}
p, li { text-wrap: pretty; }

/* ==========================================================================
   CHAT DO WHATSAPP
   Substitui o modal que abria por cima da página. A conversa começa aqui:
   duas falas da clínica, o campo do número, e o pulo pro aplicativo só depois
   que o número foi registrado.
   ========================================================================== */
.wa-chat {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 61;
  width: min(340px, calc(100vw - 40px));
  background: var(--bg-primary);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(20, 18, 16, 0.28);
  overflow: hidden;
  transform: translateY(16px) scale(0.96);
  transform-origin: bottom right;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out),
              visibility 0s linear var(--duration-normal);
}
.wa-chat.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}
body.has-sticky-bar .wa-chat { bottom: calc(4.5rem + 88px); }

.wa-chat__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  background: var(--brand-navy);
  color: var(--text-on-navy);
}
.wa-chat__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
  background: var(--brand-navy-deeper);
  display: inline-flex; align-items: center; justify-content: center;
}
.wa-chat__avatar img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.wa-chat__ident { display: flex; flex-direction: column; line-height: 1.25; flex: 1 1 auto; min-width: 0; }
.wa-chat__ident strong { font-size: 0.95rem; font-weight: 600; }
.wa-chat__ident small { font-size: 0.72rem; opacity: 0.75; display: flex; align-items: center; gap: 0.35rem; }
.wa-chat__dot { width: 7px; height: 7px; border-radius: 50%; background: #25D366; display: inline-block; }
.wa-chat__close {
  background: none; border: 0; color: inherit;
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  opacity: 0.65; padding: 0 0.15rem;
}
.wa-chat__close:hover { opacity: 1; }

.wa-chat__body {
  padding: 1rem;
  background: var(--bg-warm-light);
  max-height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.wa-chat__msg {
  max-width: 85%;
  padding: 0.6rem 0.75rem 0.5rem;
  border-radius: 12px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text-primary);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  animation: waIn var(--duration-normal) var(--ease-out) both;
}
.wa-chat__msg p { margin: 0; }
.wa-chat__msg--in { background: var(--bg-primary); border-top-left-radius: 4px; align-self: flex-start; }
.wa-chat__msg--out { background: #DCF8C6; border-top-right-radius: 4px; align-self: flex-end; }
.wa-chat__hora { display: block; font-size: 0.65rem; color: var(--text-muted); text-align: right; margin-top: 0.15rem; }
@keyframes waIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.wa-chat__typing { display: inline-flex; gap: 3px; padding: 0.2rem 0; }
.wa-chat__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); animation: waDot 1.2s infinite; }
.wa-chat__typing i:nth-child(2) { animation-delay: 0.18s; }
.wa-chat__typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes waDot { 0%,60%,100% { opacity: 0.28; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.wa-chat__form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-light);
}
.wa-chat__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 1px solid var(--border-warm);
  border-radius: 999px;
  padding: 0.6rem 0.9rem;
  font: inherit;
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--bg-warm-light);
}
.wa-chat__input:focus { outline: none; border-color: var(--accent-gold); background: var(--bg-primary); }
.wa-chat__send {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border: 0; border-radius: 50%;
  background: var(--cta-primary);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}
.wa-chat__send svg { width: 19px; height: 19px; margin-left: 2px; }
.wa-chat__send:hover:not(:disabled) { background: var(--cta-hover); transform: scale(1.06); }
.wa-chat__send:disabled { opacity: 0.55; cursor: default; }

/* O intl-tel-input entra dentro do campo redondo e precisa acompanhar a borda. */
.wa-chat__form .iti { flex: 1 1 auto; min-width: 0; }
.wa-chat__form .iti__tel-input { width: 100%; }

.wa-chat__erro { color: #B3261E; font-size: 0.78rem; padding: 0 1rem 0.6rem; background: var(--bg-primary); margin: 0; }

.wa-chat__cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: var(--cta-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
}
.wa-chat__cta svg { width: 18px; height: 18px; }
.wa-chat__cta:hover { background: var(--cta-hover); }

@media (max-width: 479px) {
  .wa-chat { right: 12px; bottom: 80px; width: calc(100vw - 24px); }
  body.has-sticky-bar .wa-chat { bottom: calc(4.5rem + 80px); }
  .wa-chat__body { max-height: 44dvh; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-chat, .wa-chat__msg { transition: opacity 0.01ms; animation: none; }
  .wa-chat__typing i { animation: none; }
}

/* ==========================================================================
   HERO COM PROVA — o antes e depois entra ao lado da headline
   ========================================================================== */
.hero__inner--prova { }
.hero__prova {
  position: relative;
  margin: 0;
  max-width: 300px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(20,18,16,0.4);
  border: 1px solid rgba(244,238,228,0.18);
  align-self: center;
  justify-self: end;
}
.hero__prova img { display: block; width: 100%; height: auto; }
.hero__prova figcaption {
  padding: 0.6rem 0.85rem;
  background: rgba(20,18,16,0.88);
  color: var(--text-on-dark);
  font-size: 0.75rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.hero__prova figcaption small { opacity: 0.62; font-size: 0.68rem; }

@media (min-width: 981px) {
  .hero__inner--prova { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: var(--space-xl); align-items: center; }
}
@media (max-width: 980px) {
  .hero__prova { max-width: 260px; margin: var(--space-md) 0 0; justify-self: start; }
}
@media (max-width: 560px) {
  .hero__prova { max-width: 200px; }
  .hero__prova figcaption { font-size: 0.68rem; }
}

/* ==========================================================================
   PROBLEMAS — os cinco casos que a clínica trata
   ========================================================================== */
.problemas { padding: var(--space-2xl) 0; background: var(--bg-warm-light); }
.problemas__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.problema {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
}
.problema:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(20,18,16,0.1); }
.problema__art { margin-bottom: var(--space-sm); }
.problema__art svg { width: 100%; max-width: 120px; height: auto; }
.pdente rect { fill: var(--accent-gold-bg); stroke: var(--accent-gold); stroke-width: 1.6; }
.pdente--fraco rect { fill: none; stroke: var(--border-warm); }
.pgap { stroke: var(--accent-gold); stroke-width: 1.6; stroke-dasharray: 4 4; }
.pgap--h { stroke-dasharray: 6 5; }
.problema__titulo { font-size: 1.05rem; margin: 0 0 0.4rem; color: var(--text-primary); }
.problema__texto { font-size: 0.9rem; line-height: 1.55; color: var(--text-secondary); margin: 0; }
.problemas__nota { margin-top: var(--space-lg); text-align: center; color: var(--text-muted); font-size: 0.95rem; }

/* ==========================================================================
   TIPOS DE APARELHO — abas
   ========================================================================== */
.tipos { padding: var(--space-2xl) 0; background: var(--bg-primary); }
.tipos__header { text-align: center; max-width: 760px; margin: 0 auto; }
.tipos__lead { color: var(--text-secondary); margin-top: var(--space-sm); }
.tipos__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: var(--space-xl) 0 var(--space-lg);
}
.tipos__tab {
  border: 1px solid var(--border-warm);
  background: var(--bg-primary);
  color: var(--text-secondary);
  border-radius: 999px;
  padding: 0.6rem 1.15rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}
.tipos__tab:hover { border-color: var(--accent-gold); color: var(--text-primary); }
.tipos__tab.is-active {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: var(--text-on-navy);
}
.tipos__painel { display: none; }
.tipos__painel.is-active {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,0.95fr);
  gap: var(--space-xl);
  align-items: center;
  background: var(--bg-warm-light);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: var(--space-xl);
  animation: tiposIn var(--duration-normal) var(--ease-out) both;
}
@keyframes tiposIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tipos__conteudo h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 var(--space-sm); }
.tipos__conteudo h3 em { color: var(--accent-gold); font-style: italic; }
.tipos__conteudo p { color: var(--text-secondary); margin: 0 0 var(--space-md); }
.tipos__lista { list-style: none; padding: 0; margin: 0 0 var(--space-lg); display: grid; gap: 0.55rem; }
.tipos__lista li { position: relative; padding-left: 1.4rem; color: var(--text-secondary); font-size: 0.95rem; }
.tipos__lista li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent-gold);
}
.tipos__visual { border-radius: 16px; overflow: hidden; box-shadow: 0 16px 40px rgba(20,18,16,0.14); }
.tipos__visual img { display: block; width: 100%; height: auto; }

@media (max-width: 900px) {
  .tipos__painel.is-active { grid-template-columns: 1fr; padding: var(--space-lg); }
  .tipos__visual { order: -1; }
}
@media (max-width: 479px) {
  .tipos__tabs { gap: 0.4rem; }
  .tipos__tab { padding: 0.5rem 0.9rem; font-size: 0.82rem; }
  .problemas__grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .problema, .tipos__painel.is-active { transition: none; animation: none; }
}

/* ==========================================================================
   HERO EDITORIAL — duas colunas que sangram, sem card e sem grid de brochura
   A prova é a própria transformação, em escala, e não uma foto num quadrado.
   ========================================================================== */
.heroX {
  display: grid;
  grid-template-rows: minmax(0, 1fr) clamp(13rem, 30svh, 20rem);
  min-height: 100svh;
  background: var(--brand-navy-deeper);
  position: relative;
  isolation: isolate;
}
.heroX__texto {
  position: relative;
  display: flex;
  align-items: center;
  padding: clamp(5.5rem, 8vw, 7rem) clamp(1.5rem, 5vw, 5.5rem) clamp(1.25rem, 2.5vw, 2rem);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(181,138,60,0.16), transparent 58%),
    var(--brand-navy-deeper);
  overflow: hidden;
}
.heroX__texto-inner { position: relative; z-index: 2; max-width: 54rem; margin: 0 auto; width: 100%; }
.heroX__kicker {
  display: inline-block;
  font-size: clamp(0.7rem, 0.9vw, 0.8rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-gold-soft);
  margin-bottom: clamp(1rem, 2vw, 1.75rem);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(181,138,60,0.34);
}
.heroX__title {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(2.7rem, 5.6vw, 5.2rem);
  line-height: 1.0;
  letter-spacing: -0.015em;
  color: var(--text-on-navy);
  margin: 0 0 clamp(1rem, 2vw, 1.6rem);
  text-wrap: balance;
}
.heroX__title em { font-style: italic; color: var(--accent-gold-soft); }
.heroX__title .heroX__numero {
  display: inline-block;
  font-style: normal;
  color: var(--accent-gold-soft);
  font-size: 1.32em;
  line-height: 0.8;
  letter-spacing: -0.03em;
}
.heroX__sub {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.6;
  color: rgba(244,238,228,0.76);
  margin: 0 0 clamp(1.75rem, 3vw, 2.5rem);
  max-width: 34rem;
}
.heroX__acao { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.heroX__selo {
  display: inline-flex;
  flex-direction: column;
  padding-left: 1.1rem;
  border-left: 2px solid var(--accent-gold);
  color: var(--text-on-navy);
  line-height: 1.3;
}
.heroX__selo strong { font-size: 0.95rem; font-weight: 600; }
.heroX__selo small { font-size: 0.76rem; color: rgba(244,238,228,0.6); }
.heroX__assinatura {
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(244,238,228,0.45);
}
.heroX__marca {
  position: absolute;
  right: -2vw; bottom: -6vw;
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 34vw;
  line-height: 0.7;
  color: rgba(244,238,228,0.03);
  pointer-events: none;
  z-index: 1;
}

/* ---- coluna da prova: a imagem sangra até a borda ---- */
.heroX__prova { position: relative; overflow: hidden; background: #000; }
.ba {
  position: relative;
  margin: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}
.ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.ba__antes {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  will-change: width;
}
.ba__antes img { width: 100vw; max-width: none; }
.ba__tag {
  position: absolute;
  top: clamp(1rem, 2vw, 1.75rem);
  z-index: 4;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(20,18,16,0.62);
  color: var(--text-on-navy);
  backdrop-filter: blur(6px);
}
.ba__tag--antes { left: clamp(1rem, 2vw, 1.75rem); }
.ba__tag--depois { right: clamp(1rem, 2vw, 1.75rem); }
.ba__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  z-index: 5;
  width: 44px;
  margin-left: -22px;
  border: 0;
  background: none;
  padding: 0;
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba__handle-linha { position: absolute; top: 0; bottom: 0; width: 2px; background: rgba(244,238,228,0.85); }
.ba__handle-bola {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: #14120F;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
}
.ba__handle-bola svg { width: 22px; height: 22px; }
.ba__handle:focus-visible .ba__handle-bola { outline: 3px solid var(--text-on-navy); outline-offset: 3px; }
.ba__legenda {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 4;
  padding: 2.5rem 1.25rem 1rem;
  font-size: 0.74rem;
  color: rgba(244,238,228,0.8);
  text-align: center;
  background: linear-gradient(to top, rgba(10,9,8,0.85), transparent);
}

@media (max-width: 980px) {
  .heroX { min-height: auto; grid-template-rows: auto auto; }
  .heroX__texto { padding-top: 6.5rem; padding-bottom: 2.5rem; }
  .heroX__prova, .ba { min-height: 44dvh; }
  .heroX__marca { font-size: 52vw; bottom: -14vw; }
}
@media (max-width: 560px) {
  .heroX__title { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .ba, .heroX__prova { min-height: 52dvh; }
}

/* ==========================================================================
   CASOS CLÍNICOS — os renders pedem fundo escuro, então a seção é escura
   ========================================================================== */
.casos-clinicos {
  padding: var(--space-2xl) 0;
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(181,138,60,0.1), transparent 65%),
    var(--brand-navy-deeper);
}
.casos-clinicos__header { max-width: 60rem; margin: 0 auto; text-align: center; }
.eyebrow--claro { color: var(--accent-gold-soft); }
.section-title--claro { color: var(--text-on-navy); }
.casos-clinicos__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.4vw, 1.35rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.caso-clinico {
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(244,238,228,0.05), rgba(244,238,228,0.02));
  border: 1px solid rgba(244,238,228,0.09);
  transition: transform var(--duration-normal) var(--ease-out), border-color var(--duration-normal) var(--ease-out);
}
.caso-clinico:hover { transform: translateY(-5px); border-color: rgba(181,138,60,0.5); }
.caso-clinico__img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.caso-clinico__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.caso-clinico__img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(20,18,16,0.92));
}
.caso-clinico__texto { padding: 0 1.15rem 1.35rem; margin-top: -2.2rem; position: relative; z-index: 2; }
.caso-clinico__texto h3 {
  font-size: 1.12rem;
  color: var(--text-on-navy);
  margin: 0 0 0.4rem;
}
.caso-clinico__texto p { font-size: 0.86rem; line-height: 1.5; color: rgba(244,238,228,0.66); margin: 0 0 0.6rem; }
.caso-clinico__tecnico {
  display: inline-block;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-gold-soft);
  padding-top: 0.5rem;
  border-top: 1px solid rgba(181,138,60,0.28);
}
.casos-clinicos__nota {
  margin-top: clamp(2rem, 4vw, 3rem);
  text-align: center;
  color: rgba(244,238,228,0.55);
  font-size: 0.95rem;
}
@media (prefers-reduced-motion: reduce) { .caso-clinico { transition: none; } }


/* ---- navbar sobre o hero escuro ----
   A navbar nasceu clara, pensada pro hero de fundo claro. No hero editorial ela
   flutua por cima do navy: fica transparente até o primeiro scroll. */
.tema-hero-escuro .navbar:not(.is-scrolled) {
  background: linear-gradient(to bottom, rgba(10,9,8,0.55), transparent);
  box-shadow: none;
  border-bottom-color: transparent;
}
.tema-hero-escuro .navbar:not(.is-scrolled) .navbar__proof,
.tema-hero-escuro .navbar:not(.is-scrolled) .navbar__proof span { color: rgba(244,238,228,0.9); }

/* As tags do comparador ficavam atrás da navbar em telas largas. */
.ba__tag { top: clamp(5.5rem, 7vw, 6.5rem); }
@media (max-width: 980px) { .ba__tag { top: clamp(1rem, 3vw, 1.5rem); } }


/* O quinto caso ficava órfão numa linha só dele. Cinco colunas no desktop,
   e a quebra vira 3 e 2 antes de virar lista. */
@media (max-width: 1180px) { .casos-clinicos__grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 720px)  { .casos-clinicos__grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 420px)  { .casos-clinicos__grid { grid-template-columns: 1fr; } }

/* A logo do cabeçalho é escura. Enquanto a navbar flutua sobre o hero navy ela
   some, então vira branca por filtro em vez de duplicar o arquivo no HTML. */
.tema-hero-escuro .navbar:not(.is-scrolled) .navbar__logo-img { filter: brightness(0) invert(1); }

/* Faixa do comparador com mais ar: menos zoom na foto. */
.heroX { grid-template-rows: minmax(0, 1fr) clamp(14rem, 33svh, 22rem); }

/* ==========================================================================
   CAMADA PREMIUM · escopada em .tema-hero-escuro
   Só as páginas de teste recebem. A página de controle fica intacta, senão
   não sobra controle nenhum pra comparar.
   ========================================================================== */
.tema-hero-escuro {
  --mola: cubic-bezier(0.32, 0.72, 0, 1);
  --respiro: clamp(5.5rem, 11vw, 10rem);
  --casca: rgba(20, 18, 16, 0.045);
  --casca-clara: rgba(244, 238, 228, 0.06);
  --fio: rgba(20, 18, 16, 0.07);
  --fio-claro: rgba(244, 238, 228, 0.12);
}

/* Grão de filme: fixo e sem eventos, nunca preso ao conteúdo que rola. */
.tema-hero-escuro::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- respiro macro e escala tipográfica ---- */
.tema-hero-escuro section { padding-top: var(--respiro); padding-bottom: var(--respiro); }
.tema-hero-escuro .heroX { padding: 0; }
.tema-hero-escuro .section-title { font-size: clamp(2.3rem, 4.4vw, 4rem); line-height: 1.04; letter-spacing: -0.012em; }
.tema-hero-escuro .eyebrow,
.tema-hero-escuro .eyebrow--claro {
  display: inline-block;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  font-size: 0.63rem;
  letter-spacing: 0.2em;
  border: 1px solid var(--fio);
  background: var(--casca);
}
.tema-hero-escuro .eyebrow--claro { border-color: var(--fio-claro); background: var(--casca-clara); }

/* ---- ritmo: as seções pares viram navy pra quebrar a corrida de creme ---- */
.tema-hero-escuro .casos,
.tema-hero-escuro .prova-social,
.tema-hero-escuro .itero {
  background:
    radial-gradient(120% 80% at 12% 0%, rgba(181,138,60,0.12), transparent 62%),
    var(--brand-navy-deeper);
  color: var(--text-on-navy);
}
.tema-hero-escuro .casos .section-title,
.tema-hero-escuro .prova-social .section-title,
.tema-hero-escuro .itero .section-title,
.tema-hero-escuro .casos h3 { color: var(--text-on-navy); }
.tema-hero-escuro .casos p,
.tema-hero-escuro .prova-social p,
.tema-hero-escuro .itero p,
.tema-hero-escuro .casos span,
.tema-hero-escuro .itero li { color: rgba(244,238,228,0.72); }
.tema-hero-escuro .casos .case__info strong { color: var(--text-on-navy); }
.tema-hero-escuro .itero__note { color: rgba(244,238,228,0.5); }
.tema-hero-escuro .casos .eyebrow,
.tema-hero-escuro .prova-social .eyebrow,
.tema-hero-escuro .itero .eyebrow {
  color: var(--accent-gold-soft);
  border-color: var(--fio-claro);
  background: var(--casca-clara);
}

/* ---- double bezel: nada encosta direto no fundo ---- */
.tema-hero-escuro .solucao__visual,
.tema-hero-escuro .sobre__photo-col,
.tema-hero-escuro .investimento__card,
.tema-hero-escuro .tipos__painel.is-active,
.tema-hero-escuro .itero__gallery-main,
.tema-hero-escuro .localizacao__map {
  padding: 0.5rem;
  border-radius: 2rem;
  background: var(--casca);
  border: 1px solid var(--fio);
  box-shadow: 0 30px 80px -40px rgba(20,18,16,0.45);
}
.tema-hero-escuro .itero__gallery-main,
.tema-hero-escuro .casos .case { background: var(--casca-clara); border-color: var(--fio-claro); }
.tema-hero-escuro .solucao__visual > *,
.tema-hero-escuro .sobre__photo-col > *,
.tema-hero-escuro .itero__gallery-main > *,
.tema-hero-escuro .localizacao__map > * {
  border-radius: calc(2rem - 0.5rem);
  overflow: hidden;
  display: block;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.16);
}
.tema-hero-escuro .investimento__card {
  background: var(--casca-clara);
  border-color: var(--fio-claro);
  padding: clamp(1.75rem, 3vw, 2.75rem);
}
.tema-hero-escuro .investimento__option {
  border-radius: 1.25rem;
  border: 1px solid var(--fio-claro);
  background: rgba(244,238,228,0.05);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.1);
}
.tema-hero-escuro .investimento__option strong { color: var(--text-on-navy); }
.tema-hero-escuro .investimento__option span { color: rgba(244,238,228,0.66); }

/* ---- botões: pílula com o ícone na própria bolha ---- */
.tema-hero-escuro .btn--whatsapp {
  border-radius: 999px;
  transition: transform 0.45s var(--mola), box-shadow 0.45s var(--mola), background-color 0.45s var(--mola);
}
.tema-hero-escuro .btn--whatsapp .btn__wa-icon {
  width: 2rem; height: 2rem;
  padding: 0.42rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  box-sizing: border-box;
  transition: transform 0.45s var(--mola), background-color 0.45s var(--mola);
}
.tema-hero-escuro .btn--whatsapp:hover .btn__wa-icon { transform: translate(3px, -1px) scale(1.06); background: rgba(255,255,255,0.28); }
.tema-hero-escuro .btn--whatsapp:active { transform: scale(0.98); }

/* ---- navbar como ilha flutuante ---- */
@media (min-width: 981px) {
  .tema-hero-escuro .navbar {
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100% - 3rem);
    border-radius: 999px;
    border: 1px solid var(--fio-claro);
    background: rgba(20,18,16,0.42);
    backdrop-filter: blur(18px);
    transition: background-color 0.6s var(--mola), border-color 0.6s var(--mola);
  }
  .tema-hero-escuro .navbar.is-scrolled {
    background: rgba(250,246,239,0.82);
    border-color: var(--fio);
  }
  .tema-hero-escuro .navbar__inner { padding: 0.5rem 0.6rem 0.5rem 1.5rem; gap: 2rem; }
  .tema-hero-escuro .navbar:not(.is-scrolled) { box-shadow: none; }
}

/* ---- entrada com massa: sobe, desfoca e assenta ---- */
.tema-hero-escuro [data-aos] {
  opacity: 0;
  transform: translateY(3.5rem);
  filter: blur(10px);
  transition: opacity 0.9s var(--mola), transform 0.9s var(--mola), filter 0.9s var(--mola);
}
.tema-hero-escuro [data-aos].aos-animate { opacity: 1; transform: none; filter: blur(0); }

/* ---- avaliações: uma citação que ocupa espaço, não seis cartões iguais ---- */
.tema-hero-escuro .avaliacoes-google .avaliacao:first-child,
.tema-hero-escuro .avaliacoes__grid > *:first-child {
  grid-column: 1 / -1;
  font-size: clamp(1.25rem, 2.2vw, 1.9rem);
  line-height: 1.34;
  padding: clamp(2rem, 4vw, 3.25rem);
  border-radius: 2rem;
}

@media (prefers-reduced-motion: reduce) {
  .tema-hero-escuro [data-aos] { transition: none; opacity: 1; transform: none; filter: none; }
  .tema-hero-escuro .btn--whatsapp, .tema-hero-escuro .navbar { transition: none; }
}

/* ==========================================================================
   FIM DA FOTO EM CARD
   Foto de pessoa ou de cena não fica num quadrado com borda no meio de um grid
   de brochura. Vira cena: a imagem toma a seção e o texto senta na zona limpa.
   ========================================================================== */

/* ---- QUEM TE ATENDE: a foto vira a seção ---- */
.tema-hero-escuro .sobre {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: min(84svh, 46rem);
  display: grid;
  align-items: center;
  background: var(--brand-navy-deeper);
}
.tema-hero-escuro .sobre__wrapper {
  display: block;
  /* estático de propósito: a foto abaixo é absoluta e precisa se ancorar na
     seção inteira, não neste container de largura limitada */
  position: static;
  width: 100%;
  max-width: var(--container-max, 1200px);
  margin: 0 auto;
  padding: var(--respiro) clamp(1.5rem, 5vw, 4rem);
  background: none;
  border: 0;
  box-shadow: none;
}
.tema-hero-escuro .sobre__photo-col {
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
}
.tema-hero-escuro .sobre__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 22% center;
  border-radius: 0;
  box-shadow: none;
}
.tema-hero-escuro .sobre::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(14,12,10,0.94) 0%, rgba(14,12,10,0.86) 34%, rgba(14,12,10,0.34) 62%, rgba(14,12,10,0.12) 100%);
}
.tema-hero-escuro .sobre__text-col {
  position: relative;
  z-index: 2;
  max-width: 34rem;
  margin-left: auto;
  margin-right: 0;
}
.tema-hero-escuro .sobre .section-title { color: var(--text-on-navy); }
.tema-hero-escuro .sobre p { color: rgba(244,238,228,0.78); }
.tema-hero-escuro .sobre .eyebrow { color: var(--accent-gold-soft); border-color: var(--fio-claro); background: var(--casca-clara); }
@media (max-width: 900px) {
  .tema-hero-escuro .sobre__photo { object-position: 50% 18%; }
  .tema-hero-escuro .sobre::before { background: linear-gradient(180deg, rgba(14,12,10,0.42) 0%, rgba(14,12,10,0.92) 46%, rgba(14,12,10,0.97) 100%); }
  .tema-hero-escuro .sobre__text-col { margin: 0; max-width: none; }
  .tema-hero-escuro .sobre { min-height: 0; }
}

/* ---- A SOLUÇÃO: a imagem sangra pela borda, sem moldura ---- */
.tema-hero-escuro .solucao { overflow: hidden; }
.tema-hero-escuro .solucao__grid { align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.tema-hero-escuro .solucao__visual {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  position: relative;
  margin-right: calc(50% - 50vw);
  border-radius: 1.75rem 0 0 1.75rem;
  overflow: hidden;
}
.tema-hero-escuro .solucao__visual > * { border-radius: 0; box-shadow: none; }
.tema-hero-escuro .solucao__visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) {
  .tema-hero-escuro .solucao__visual { margin-right: 0; border-radius: 1.5rem; }
}

/* ---- A CLÍNICA: galeria sem o vazio no fim ---- */
.tema-hero-escuro .itero__grid { align-items: center; }
.tema-hero-escuro .itero__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 0.75rem;
}
.tema-hero-escuro .itero__gallery-main { grid-column: 1 / -1; }
.tema-hero-escuro .itero__gallery figure { margin: 0; border-radius: 1.25rem; overflow: hidden; }
.tema-hero-escuro .itero__gallery img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; }
.tema-hero-escuro .itero__gallery-main img { aspect-ratio: 16 / 9; }


/* A foto full-bleed estava presa ao .container (1200px) porque ele é o ancestral
   posicionado. E o bloco de texto trazia o creme do layout antigo, que virava um
   retângulo claro no meio da cena. */
.tema-hero-escuro .sobre > .container { position: static; max-width: none; padding: 0; }
.tema-hero-escuro .sobre__text-col {
  background: none;
  padding: 0;
  border: 0;
  box-shadow: none;
}
.tema-hero-escuro .sobre__wrapper { max-width: var(--container-max, 1200px); }


/* O texto caía em cima do rosto e ficava ilegível. A cena inverte: o Dr. ocupa a
   direita, o texto senta na zona escura da esquerda, que é a regra de sempre.
   E a foto passa a valer a viewport inteira, não a largura do container. */
.tema-hero-escuro .sobre__photo-col {
  left: 50%;
  right: auto;
  width: 100vw;
  transform: translateX(-50%);
}
.tema-hero-escuro .sobre__photo { object-position: 78% center; }
.tema-hero-escuro .sobre::before {
  background: linear-gradient(90deg,
    rgba(12,11,9,0.97) 0%,
    rgba(12,11,9,0.93) 30%,
    rgba(12,11,9,0.72) 48%,
    rgba(12,11,9,0.22) 72%,
    rgba(12,11,9,0.06) 100%);
}
.tema-hero-escuro .sobre__text-col { margin-left: 0; margin-right: auto; }
.tema-hero-escuro .sobre p { color: rgba(244,238,228,0.84); }
.tema-hero-escuro .sobre strong { color: var(--text-on-navy); }

@media (max-width: 900px) {
  .tema-hero-escuro .sobre__photo { object-position: 62% 15%; }
  .tema-hero-escuro .sobre::before {
    background: linear-gradient(180deg, rgba(12,11,9,0.35) 0%, rgba(12,11,9,0.9) 40%, rgba(12,11,9,0.98) 100%);
  }
}


/* As cores do layout claro venciam por especificidade e o texto sumia na cena
   escura. Seletores mais específicos, sem !important. */
.tema-hero-escuro .sobre .sobre__wrapper .sobre__text-col .section-title,
.tema-hero-escuro .sobre .sobre__wrapper .sobre__text-col h2 { color: var(--text-on-navy); }
.tema-hero-escuro .sobre .sobre__wrapper .sobre__text-col .section-title em,
.tema-hero-escuro .sobre .sobre__wrapper .sobre__text-col h2 em { color: var(--accent-gold-soft); }
.tema-hero-escuro .sobre .sobre__wrapper .sobre__text-col p { color: rgba(244,238,228,0.86); }
.tema-hero-escuro .sobre .sobre__wrapper .sobre__text-col strong,
.tema-hero-escuro .sobre .sobre__wrapper .sobre__text-col b { color: var(--text-on-navy); }
.tema-hero-escuro .sobre .sobre__wrapper .sobre__text-col small,
.tema-hero-escuro .sobre .sobre__wrapper .sobre__text-col span { color: rgba(244,238,228,0.62); }
.tema-hero-escuro .sobre .sobre__wrapper .sobre__text-col .eyebrow {
  color: var(--accent-gold-soft);
  border-color: var(--fio-claro);
  background: var(--casca-clara);
}
.tema-hero-escuro .sobre .sobre__wrapper .sobre__text-col a { color: var(--accent-gold-soft); }


/* O véu era um ::before da seção com z-index 1. O AOS aplica transform no
   .sobre__wrapper, e transform cria contexto de empilhamento: o z-index 2 do
   texto ficava preso lá dentro e o véu passava por cima dele. Agora o véu é
   filho da própria foto, então o texto sobe naturalmente. */
.tema-hero-escuro .sobre::before { content: none; }
.tema-hero-escuro .sobre__photo-col::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(12,11,9,0.97) 0%,
    rgba(12,11,9,0.93) 30%,
    rgba(12,11,9,0.72) 48%,
    rgba(12,11,9,0.22) 72%,
    rgba(12,11,9,0.06) 100%);
}
@media (max-width: 900px) {
  .tema-hero-escuro .sobre__photo-col::after {
    background: linear-gradient(180deg, rgba(12,11,9,0.35) 0%, rgba(12,11,9,0.9) 40%, rgba(12,11,9,0.98) 100%);
  }
}


/* ---- galeria da clínica: a quarta foto ficava pendurada sozinha ---- */
.tema-hero-escuro .itero__gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tema-hero-escuro .itero__gallery-main { grid-column: 1 / -1; }
.tema-hero-escuro .itero__gallery figure:not(.itero__gallery-main) { grid-column: span 1; }
.tema-hero-escuro .itero__gallery img { aspect-ratio: 1 / 1; }
.tema-hero-escuro .itero__gallery-main img { aspect-ratio: 16 / 9; }

/* ---- investimento: as opções tinham larguras diferentes e os ícones sumiam ---- */
.tema-hero-escuro .investimento__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: stretch;
}
.tema-hero-escuro .investimento__option {
  width: 100%;
  margin: 0;
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.tema-hero-escuro .investimento__option svg,
.tema-hero-escuro .investimento__option img { color: var(--accent-gold-soft); stroke: var(--accent-gold-soft); flex: 0 0 auto; }
.tema-hero-escuro .investimento__intro { color: rgba(244,238,228,0.74); }
@media (max-width: 640px) { .tema-hero-escuro .investimento__options { grid-template-columns: 1fr; } }

/* ---- solução: a imagem acompanha a altura do bloco de texto ---- */
.tema-hero-escuro .solucao__grid { align-items: stretch; }
.tema-hero-escuro .solucao__text { display: flex; flex-direction: column; justify-content: center; }
.tema-hero-escuro .solucao__visual { align-self: stretch; display: flex; }
.tema-hero-escuro .solucao__visual figure { margin: 0; width: 100%; display: flex; flex-direction: column; }
.tema-hero-escuro .solucao__visual figure img { flex: 1 1 auto; min-height: 0; }


/* ---- correções de celular ----
   O rosto vinha em close e o texto caía em cima dele. E a galeria da clínica
   apertava três colunas numa tela de 390px. */
@media (max-width: 900px) {
  .tema-hero-escuro .sobre { min-height: 0; }
  .tema-hero-escuro .sobre__wrapper { padding-top: calc(var(--respiro) * 0.85); padding-bottom: calc(var(--respiro) * 0.85); }
  .tema-hero-escuro .sobre__photo { object-position: 66% 8%; }
  .tema-hero-escuro .sobre__photo-col::after {
    background: linear-gradient(180deg,
      rgba(12,11,9,0.62) 0%,
      rgba(12,11,9,0.88) 22%,
      rgba(12,11,9,0.96) 48%,
      rgba(12,11,9,0.99) 100%);
  }
  .tema-hero-escuro .itero__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tema-hero-escuro .itero__gallery figure:not(.itero__gallery-main):last-child { grid-column: 1 / -1; }
  .tema-hero-escuro .itero__gallery figure:not(.itero__gallery-main):last-child img { aspect-ratio: 16 / 9; }
}


/* ---- investimento em claro, mas com o mesmo acabamento ---- */
.tema-hero-escuro .investimento__card {
  background: var(--casca);
  border-color: var(--fio);
  box-shadow: 0 34px 90px -46px rgba(20,18,16,0.4);
}
.tema-hero-escuro .investimento__option {
  border-color: var(--fio);
  background: rgba(255,255,255,0.7);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.9);
}
.tema-hero-escuro .investimento__option strong { color: var(--text-primary); }
.tema-hero-escuro .investimento__option span { color: var(--text-secondary); }
.tema-hero-escuro .investimento__option svg { color: var(--accent-gold); stroke: var(--accent-gold); }
.tema-hero-escuro .investimento__intro { color: var(--text-secondary); }

/* ==========================================================================
   AVALIAÇÕES: a primeira vira citação, não mais um cartão igual aos outros
   Seis cartões idênticos lêem como decoração. Um depoimento que ocupa espaço
   lê como prova.
   ========================================================================== */
.tema-hero-escuro .google-reviews__cards { align-items: start; }
.tema-hero-escuro .google-review:first-child {
  grid-column: 1 / -1;
  position: relative;
  padding: clamp(2.25rem, 4.5vw, 3.5rem) clamp(2rem, 4vw, 3.25rem);
  border-radius: 2rem;
  background:
    radial-gradient(90% 130% at 8% 0%, rgba(181,138,60,0.14), transparent 60%),
    var(--brand-navy-deeper);
  border: 1px solid rgba(181,138,60,0.24);
  box-shadow: 0 40px 90px -50px rgba(20,18,16,0.6);
  overflow: hidden;
}
.tema-hero-escuro .google-review:first-child::before {
  content: "“";
  position: absolute;
  top: -2.5rem;
  right: 1.5rem;
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 16rem;
  line-height: 1;
  color: rgba(181,138,60,0.16);
  pointer-events: none;
}
.tema-hero-escuro .google-review:first-child .google-review__text {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(1.5rem, 2.9vw, 2.5rem);
  line-height: 1.28;
  color: var(--text-on-navy);
  margin: 0 0 clamp(1.25rem, 2.5vw, 2rem);
  max-width: 52rem;
  position: relative;
  z-index: 1;
}
.tema-hero-escuro .google-review:first-child .google-review__top { position: relative; z-index: 1; }
.tema-hero-escuro .google-review:first-child .google-review__name { color: var(--text-on-navy); font-size: 1.05rem; }
.tema-hero-escuro .google-review:first-child .google-review__date,
.tema-hero-escuro .google-review:first-child .google-review__google { color: rgba(244,238,228,0.56); }
.tema-hero-escuro .google-review:first-child .google-review__rating { color: var(--accent-gold-soft); }

/* os demais ficam menores de propósito: apoio, não protagonista */
.tema-hero-escuro .google-review:not(:first-child) { border-radius: 1.25rem; }
.tema-hero-escuro .google-review:not(:first-child) .google-review__text { font-size: 0.92rem; }

@media (max-width: 720px) {
  .tema-hero-escuro .google-review:first-child::before { font-size: 10rem; top: -1.5rem; right: 0.75rem; }
}


/* A aspa nascia acima da borda e o overflow do cartão cortava ela pela metade. */
.tema-hero-escuro .google-review:first-child { overflow: visible; }
.tema-hero-escuro .google-review:first-child::before {
  top: -1rem;
  right: 2rem;
  font-size: clamp(7rem, 12vw, 13rem);
}

/* O cartão do investimento era estreito demais: o texto do "Cartão" quebrava em
   quatro linhas ao lado do ícone enquanto o "Pix" sobrava espaço. */
.tema-hero-escuro .investimento__card { max-width: 46rem; margin-inline: auto; }
.tema-hero-escuro .investimento__option { align-items: flex-start; gap: 0.75rem; }
.tema-hero-escuro .investimento__option svg { margin-top: 0.15rem; }
.tema-hero-escuro .investimento__option > * { min-width: 0; }
.tema-hero-escuro .investimento__option strong { display: block; margin-bottom: 0.15rem; }
.tema-hero-escuro .investimento__option span { display: block; line-height: 1.45; }


/* A aspa continuava decepada: o container da grade também corta. Em vez de
   brigar com overflow, ela passa a viver dentro do cartão. */
.tema-hero-escuro .google-review:first-child::before {
  top: 0.25rem;
  right: 1.75rem;
  line-height: 0.82;
}


/* O eyebrow original tinha um traço absoluto à esquerda e 2.25rem de recuo pra
   ele. Dentro do badge o traço atravessava a pílula. */
.tema-hero-escuro .eyebrow { padding-left: 0.85rem; }
.tema-hero-escuro .eyebrow::before { content: none; }

/* A timeline usava --space-xl entre passos. Com o respiro macro a seção virou
   uma escada de vãos vazios. */
.tema-hero-escuro .timeline__step { padding-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.tema-hero-escuro .timeline { margin-top: clamp(2rem, 4vw, 3rem); }


/* ==========================================================================
   AUDIT DE REDESIGN · 01/09/2026
   ========================================================================== */

/* ---- foco visível: 45 elementos interativos não tinham nenhum ----
   Requisito de acessibilidade, não enfeite. Quem navega por teclado ficava
   perdido na página. */
.tema-hero-escuro a:focus-visible,
.tema-hero-escuro button:focus-visible,
.tema-hero-escuro input:focus-visible,
.tema-hero-escuro [tabindex]:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.tema-hero-escuro .casos-clinicos a:focus-visible,
.tema-hero-escuro .itero a:focus-visible,
.tema-hero-escuro .prova-social a:focus-visible,
.tema-hero-escuro .sobre a:focus-visible,
.tema-hero-escuro .heroX button:focus-visible { outline-color: var(--accent-gold-soft); }

/* ---- medida de leitura: 11 dos 31 parágrafos passavam de 78 caracteres ----
   Linha comprida faz o olho perder o começo da linha seguinte. */
.tema-hero-escuro p { max-width: 68ch; }
.tema-hero-escuro .casos-clinicos__header p,
.tema-hero-escuro .tipos__lead,
.tema-hero-escuro .casos__desc,
.tema-hero-escuro .cta-final__sub,
.tema-hero-escuro .investimento__intro,
.tema-hero-escuro .casos-clinicos__nota { margin-inline: auto; }
.tema-hero-escuro .caso-clinico p,
.tema-hero-escuro .google-review__text,
.tema-hero-escuro .wa-chat__msg p { max-width: none; }

/* ---- sombras com o tom do fundo, não preto puro ----
   Preto puro sobre creme quente deixa a borda acinzentada e suja. */
.tema-hero-escuro .caso-clinico,
.tema-hero-escuro .investimento__card,
.tema-hero-escuro .tipos__painel.is-active,
.tema-hero-escuro .itero__gallery-main,
.tema-hero-escuro .localizacao__map { box-shadow: 0 30px 80px -40px rgba(46, 34, 18, 0.42); }
.tema-hero-escuro .google-review:first-child { box-shadow: 0 40px 90px -50px rgba(28, 20, 10, 0.62); }
.tema-hero-escuro .heroX__prova { box-shadow: inset 0 1px 0 rgba(244,238,228,0.06); }

/* ---- um só creme, em vez de três ----
   250,246,239 · 255,255,255 · 244,238,228 conviviam na mesma página. Três
   brancos diferentes lêem como descuido, não como camada. */
.tema-hero-escuro .solucao,
.tema-hero-escuro .avaliacoes-google,
.tema-hero-escuro .google-reviews,
.tema-hero-escuro .faq,
.tema-hero-escuro .localizacao { background: var(--brand-cream-light); }
.tema-hero-escuro .tipos,
.tema-hero-escuro .processo,
.tema-hero-escuro .investimento { background: var(--brand-cream); }

/* ---- a fronteira entre claro e escuro precisa parecer decisão ----
   Corte seco entre creme e navy lê como acidente de copiar e colar. Uma
   passagem curta no topo de cada seção escura resolve sem tirar o contraste. */
.tema-hero-escuro .casos,
.tema-hero-escuro .prova-social,
.tema-hero-escuro .itero,
.tema-hero-escuro .cta-final { position: relative; }
.tema-hero-escuro .casos::before,
.tema-hero-escuro .prova-social::before,
.tema-hero-escuro .itero::before,
.tema-hero-escuro .cta-final::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: clamp(3rem, 7vw, 6rem);
  background: linear-gradient(to bottom, rgba(244,238,228,0.14), transparent);
  pointer-events: none;
}


/* ---- aviso de tratamento de dados ----
   A página coleta nome e telefone e manda pro CRM sem dizer nada ao titular.
   Vale para as três páginas, controle inclusive: isso não é variável de teste. */
.aviso-dados {
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 var(--space-sm);
  max-width: none;
}
.wa-chat__aviso {
  margin: 0;
  padding: 0 1rem 0.6rem;
  font-size: 0.68rem;
  line-height: 1.45;
  color: var(--text-muted);
  background: var(--bg-primary);
}
.rodape-dados {
  margin: var(--space-md) auto 0;
  max-width: 46rem;
  font-size: 0.72rem;
  line-height: 1.55;
  color: rgba(244,238,228,0.42);
  text-align: center;
}


/* Últimas sombras em preto puro. As do intl-tel-input são da biblioteca e ficam
   como estão: mexer no dropdown de país por causa de sombra não paga o risco. */
.ba__handle-bola { box-shadow: 0 6px 20px rgba(28, 20, 10, 0.5); }
.wa-chat__msg { box-shadow: 0 1px 2px rgba(28, 20, 10, 0.08); }


/* ==========================================================================
   CORREÇÕES DE 01/09 · navbar quebrada e comparador impossível
   ========================================================================== */

/* ---- 1. A navbar só virava pílula acima de 981px ----
   Entre ~700 e 980px ela voltava a retângulo de largura total, e o véu escuro
   que eu tinha posto por cima somava com o creme do estilo original: dava
   aquela barra cinza degradê no topo. Notebook de 13" cai bem nessa faixa.
   A ilha agora vale em qualquer largura. */
.tema-hero-escuro .navbar {
  top: clamp(0.6rem, 1.6vw, 1.25rem);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 1.5rem);
  border-radius: 999px;
  border: 1px solid var(--fio-claro);
  background: rgba(20, 18, 16, 0.42);
  backdrop-filter: blur(18px);
  box-shadow: none;
  transition: background-color 0.6s var(--mola), border-color 0.6s var(--mola);
}
.tema-hero-escuro .navbar:not(.is-scrolled) {
  /* sem gradiente: era ele que somava com o fundo claro e sujava tudo */
  background: rgba(20, 18, 16, 0.42);
  background-image: none;
  border-bottom-color: var(--fio-claro);
}
.tema-hero-escuro .navbar.is-scrolled {
  background: rgba(250, 246, 239, 0.86);
  border-color: var(--fio);
}
.tema-hero-escuro .navbar__inner { padding: 0.45rem 0.55rem 0.45rem 1.25rem; gap: 1.25rem; width: auto; }
@media (max-width: 700px) {
  .tema-hero-escuro .navbar__inner { padding: 0.4rem 0.45rem 0.4rem 0.9rem; gap: 0.75rem; }
  .tema-hero-escuro .navbar__proof { display: none; }
}

/* ---- 2. O comparador arrastável saiu ----
   O "antes" desse caso é close intraoral com afastador e o "depois" é sorriso
   natural: enquadramentos diferentes. Sobrepor as duas num slider nunca ia
   alinhar, e o resultado era dente gigante de um lado e outro dente do outro.
   A foto original já traz antes e depois empilhados e rotulados. Ela entra
   inteira, sem corte e sem promessa de alinhamento que a imagem não cumpre. */
.tema-hero-escuro .heroX {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-rows: none;
  align-items: stretch;
}
.tema-hero-escuro .heroX__texto { padding-block: clamp(6rem, 10vw, 8.5rem) clamp(3rem, 5vw, 4.5rem); }
.tema-hero-escuro .heroX__texto-inner { max-width: 34rem; margin: 0; }
.tema-hero-escuro .heroX__title { font-size: clamp(2.6rem, 4.6vw, 4.4rem); }
.tema-hero-escuro .heroX__prova {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(5.5rem, 8vw, 7rem) clamp(1.5rem, 3vw, 3rem) clamp(2.5rem, 4vw, 4rem);
  background: none;
  min-height: 0;
}
.prova-caso {
  margin: 0;
  width: 100%;
  max-width: 30rem;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--fio-claro);
  box-shadow: 0 40px 90px -50px rgba(0,0,0,0.75);
}
.prova-caso img { display: block; width: 100%; height: auto; }
.prova-caso figcaption {
  padding: 0.75rem 1rem;
  background: rgba(12,11,9,0.9);
  color: rgba(244,238,228,0.68);
  font-size: 0.72rem;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 980px) {
  .tema-hero-escuro .heroX { grid-template-columns: 1fr; }
  .tema-hero-escuro .heroX__texto { padding-bottom: 1.5rem; }
  .tema-hero-escuro .heroX__prova { padding-top: 0; }
  .prova-caso { max-width: 24rem; }
}


/* A pílula ficava com um brilho prateado do lado esquerdo: 42% de opacidade
   deixava o gradiente dourado do hero atravessar o vidro. Mais corpo no fundo,
   menos blur, e o conteúdo volta a ser o que se lê primeiro. */
.tema-hero-escuro .navbar,
.tema-hero-escuro .navbar:not(.is-scrolled) {
  background: rgba(16, 14, 12, 0.78);
  backdrop-filter: blur(12px) saturate(1.1);
  border-color: rgba(244, 238, 228, 0.14);
}
.tema-hero-escuro .navbar.is-scrolled {
  background: rgba(250, 246, 239, 0.9);
  backdrop-filter: blur(12px);
}


/* O brilho prateado não vinha do backdrop-filter: era um ::before do design
   original pintando creme (rgba(252,250,247,0.92)) por cima do fundo da navbar.
   Eu vinha trocando o background do elemento e o pseudo continuava lá. */
.tema-hero-escuro .navbar::before { opacity: 0; transition: opacity 0.6s var(--mola); }
.tema-hero-escuro .navbar.is-scrolled::before { opacity: 1; }
.tema-hero-escuro .navbar.is-scrolled { background: transparent; }


/* ---- conserta a seção "A solução" ----
   Eu tinha mandado a imagem sangrar pela borda direita e esticar na altura do
   texto. Com o texto curto, o resultado foi uma tira vertical com a foto
   esmagada e a legenda jogada numa coluna ao lado. Volta ao tamanho natural,
   com a proporção da foto respeitada. */
.tema-hero-escuro .solucao__grid { align-items: center; }
.tema-hero-escuro .solucao__visual {
  margin-right: 0;
  align-self: center;
  display: block;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--fio);
  box-shadow: 0 30px 80px -45px rgba(46, 34, 18, 0.4);
}
.tema-hero-escuro .solucao__visual figure { display: block; margin: 0; }
.tema-hero-escuro .solucao__visual figure img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  display: block;
}
.tema-hero-escuro .solucao__visual figcaption {
  padding: 0.8rem 1rem;
  background: rgba(20,18,16,0.05);
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid var(--fio);
}

/* O eyebrow virava barra de largura total quando o pai é flex em coluna:
   inline-block não segura, align-self resolve. */
.tema-hero-escuro .eyebrow { align-self: flex-start; width: fit-content; }
.tema-hero-escuro .casos-clinicos__header .eyebrow,
.tema-hero-escuro .tipos__header .eyebrow,
.tema-hero-escuro .casos__header .eyebrow { align-self: center; margin-inline: auto; }


/* ==========================================================================
   PRE-FLIGHT DA TASTE-SKILL · 01/09
   ========================================================================== */

/* ---- eyebrows: eram 18 numa página de 14 seções ----
   O limite é um a cada três seções. Eyebrow em toda seção produz aquele ritmo
   de template: rótulo, título, texto, rótulo, título, texto. A posição da seção
   na página já diz o que ela é; o rótulo não acrescenta.
   Ficam cinco: hero, casos clínicos, prova social, quem te atende, onde fica. */
.tema-hero-escuro .solucao .eyebrow,
.tema-hero-escuro .tipos__header .eyebrow,
.tema-hero-escuro .casos .eyebrow,
.tema-hero-escuro .google-reviews .eyebrow,
.tema-hero-escuro .avaliacoes-google .eyebrow,
.tema-hero-escuro .itero .eyebrow { display: none; }

/* Os rótulos da linha do tempo são funcionais, não decorativos: viram frase
   normal pra deixarem de competir como eyebrow. */
.tema-hero-escuro .timeline__label {
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-gold-deep);
}

/* ---- um sistema de raio, não sete ----
   999px no que é interativo, 24px em container grande, 16px em card,
   50% no que é redondo por natureza. O resto se alinha a esses. */
.tema-hero-escuro .caso-clinico,
.tema-hero-escuro .investimento__option,
.tema-hero-escuro .prova-caso,
.tema-hero-escuro .solucao__visual,
.tema-hero-escuro .itero__gallery figure,
.tema-hero-escuro .localizacao__map { border-radius: 16px; }
.tema-hero-escuro .tipos__painel.is-active,
.tema-hero-escuro .investimento__card,
.tema-hero-escuro .google-review:first-child,
.tema-hero-escuro .itero__gallery-main { border-radius: 24px; }
.tema-hero-escuro .btn,
.tema-hero-escuro .tipos__tab,
.tema-hero-escuro .eyebrow,
.tema-hero-escuro .navbar { border-radius: 999px; }

/* ---- hero de duas linhas pede escala maior ---- */
.tema-hero-escuro .heroX__title {
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  line-height: 1.06;
  padding-bottom: 0.12em;   /* folga pro descender do itálico */
}


/* Headline de 8 palavras a 80px numa coluna de 544px quebrava em 4 linhas.
   Headline de 4 linhas é sempre erro de escala, nunca de texto: a escala grande
   vale pra manchete de 3 a 5 palavras. Fonte menor e coluna mais larga, e as
   duas frases passam a ocupar uma linha cada. */
.tema-hero-escuro .heroX__texto-inner { max-width: 42rem; }
.tema-hero-escuro .heroX__title {
  font-size: clamp(2.3rem, 3.6vw, 3.35rem);
  line-height: 1.1;
  text-wrap: balance;
}
@media (max-width: 980px) {
  .tema-hero-escuro .heroX__title { font-size: clamp(2.1rem, 7vw, 2.9rem); }
}

/* O termo clínico no rodapé do card competia com os eyebrows de seção: caixa
   alta com tracking puxa mais atenção que o nome que o paciente usa, que é
   justamente o que deveria vir primeiro. */
.tema-hero-escuro .caso-clinico__tecnico {
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.76rem;
  font-style: italic;
  color: rgba(208, 172, 107, 0.78);
}


/* A ilha trocava de creme pra escuro conforme o scroll, e numa página que
   alterna fundo isso vira loteria: a versão creme calhava de cair sobre uma
   seção escura e virava um borrão prateado. Uma navbar só, escura, que tem
   contraste tanto sobre creme quanto sobre navy. */
.tema-hero-escuro .navbar,
.tema-hero-escuro .navbar.is-scrolled {
  background: rgba(16, 14, 12, 0.82);
  border-color: rgba(244, 238, 228, 0.16);
}
.tema-hero-escuro .navbar::before,
.tema-hero-escuro .navbar.is-scrolled::before { opacity: 0; }
.tema-hero-escuro .navbar .navbar__logo-img,
.tema-hero-escuro .navbar.is-scrolled .navbar__logo-img { filter: brightness(0) invert(1); }
.tema-hero-escuro .navbar .navbar__proof span,
.tema-hero-escuro .navbar.is-scrolled .navbar__proof span { color: rgba(244, 238, 228, 0.9); }


/* ==========================================================================
   HERO · a foto do Dr. volta a ser o hero
   A foto real tem tudo: o profissional, o alinhador na mão, a clínica ao fundo
   e uma zona limpa à esquerda pro texto. Eu tinha trocado isso por foto clínica
   crua com afastador labial, que é exame, não desejo.
   A luz da foto é quente e clara, então o hero é claro. Forçar navy por cima
   apagava justamente o que faz a foto funcionar.
   ========================================================================== */
.tema-hero-escuro .heroQ {
  position: relative;
  isolation: isolate;
  min-height: min(100svh, 52rem);
  display: grid;
  align-items: center;
  padding: 0;
  overflow: hidden;
}
.tema-hero-escuro .heroQ__foto { position: absolute; inset: 0; z-index: 0; }
.tema-hero-escuro .heroQ__foto img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 72% center;
  display: block;
}
/* véu só do lado do texto: o rosto e o alinhador ficam limpos */
.tema-hero-escuro .heroQ__veu {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(96deg,
    rgba(250,246,239,0.97) 0%,
    rgba(250,246,239,0.94) 26%,
    rgba(250,246,239,0.72) 44%,
    rgba(250,246,239,0.18) 62%,
    rgba(250,246,239,0) 78%);
}
.tema-hero-escuro .heroQ__conteudo {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max, 1200px);
  margin: 0 auto;
  padding: clamp(7rem, 11vw, 9rem) clamp(1.5rem, 5vw, 4rem) clamp(3rem, 6vw, 4.5rem);
}
.tema-hero-escuro .heroQ__kicker {
  display: inline-block;
  padding: 0.34rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(20,18,16,0.12);
  background: rgba(255,255,255,0.6);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold-deep);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}
.tema-hero-escuro .heroQ__titulo {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin: 0 0 clamp(1rem, 2vw, 1.5rem);
  max-width: 15ch;
  text-wrap: balance;
  padding-bottom: 0.1em;
}
.tema-hero-escuro .heroQ__titulo em { font-style: italic; color: var(--accent-gold-deep); }
.tema-hero-escuro .heroQ__sub {
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 clamp(1.5rem, 3vw, 2rem);
  max-width: 46ch;
}
.tema-hero-escuro .heroQ__condicao {
  margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
  padding: 0.7rem 1.05rem;
  border-left: 3px solid var(--accent-gold);
  background: rgba(255,255,255,0.55);
  font-size: 0.95rem;
  color: var(--text-primary);
  max-width: 30rem;
}
.tema-hero-escuro .heroQ__acao { margin-bottom: clamp(1.5rem, 3vw, 2rem); }

/* a prova que faltava: nota real do Google, não adjetivo */
.tema-hero-escuro .heroQ__prova {
  display: inline-grid;
  grid-template-columns: auto auto;
  grid-template-areas: "estrelas nota" "estrelas qtd";
  align-items: center;
  gap: 0 0.7rem;
  padding: 0.7rem 1.1rem 0.7rem 0.9rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(20,18,16,0.09);
  box-shadow: 0 14px 34px -22px rgba(46,34,18,0.45);
  text-decoration: none;
  transition: transform 0.4s var(--mola), box-shadow 0.4s var(--mola);
}
.tema-hero-escuro .heroQ__prova:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -22px rgba(46,34,18,0.5); }
.tema-hero-escuro .heroQ__estrelas { grid-area: estrelas; color: var(--accent-gold); font-size: 1.05rem; letter-spacing: 0.06em; }
.tema-hero-escuro .heroQ__nota { grid-area: nota; font-size: 0.95rem; color: var(--text-primary); }
.tema-hero-escuro .heroQ__nota strong { font-size: 1.15rem; }
.tema-hero-escuro .heroQ__qtd { grid-area: qtd; font-size: 0.76rem; color: var(--text-muted); }

@media (max-width: 780px) {
  .tema-hero-escuro .heroQ { min-height: auto; }
  .tema-hero-escuro .heroQ__foto img { object-position: 62% 12%; }
  .tema-hero-escuro .heroQ__veu {
    background: linear-gradient(180deg,
      rgba(250,246,239,0.5) 0%,
      rgba(250,246,239,0.9) 34%,
      rgba(250,246,239,0.98) 52%,
      rgba(250,246,239,1) 100%);
  }
  .tema-hero-escuro .heroQ__conteudo { padding-top: 46vh; }
  .tema-hero-escuro .heroQ__titulo { max-width: none; }
}

/* a navbar volta a ser clara: o hero agora é claro */
.tema-hero-escuro .navbar,
.tema-hero-escuro .navbar.is-scrolled {
  background: rgba(250, 246, 239, 0.9);
  border-color: rgba(20, 18, 16, 0.08);
}
.tema-hero-escuro .navbar .navbar__logo-img,
.tema-hero-escuro .navbar.is-scrolled .navbar__logo-img { filter: none; }
.tema-hero-escuro .navbar .navbar__proof span,
.tema-hero-escuro .navbar.is-scrolled .navbar__proof span { color: var(--text-secondary); }


/* ---- cabeça cortada ----
   A caixa do hero tem proporção 2.29 e a foto 1.50: o cover amplia e sobra
   altura pra cortar. Com object-position em 50% o corte cai simétrico, e como
   o rosto está no terço superior da foto, era ele que ia embora.
   O ponto de ancoragem sobe pro alto. */
.tema-hero-escuro .heroQ__foto img { object-position: 72% 16%; }
.tema-hero-escuro .sobre__photo { object-position: 76% 10%; }
@media (max-width: 980px) {
  .tema-hero-escuro .sobre__photo { object-position: 62% 6%; }
}
@media (max-width: 780px) {
  .tema-hero-escuro .heroQ__foto img { object-position: 60% 8%; }
}


/* ==========================================================================
   HERO A · o alinhador como herói
   Escolhido em 01/09. O objeto carrega o desejo sozinho, não envelhece e não
   depende de sessão de fotos nova. A foto do Dr. continua na seção de quem
   te atende, que é onde ela trabalha melhor.
   ========================================================================== */
.tema-hero-escuro .heroA {
  position: relative;
  isolation: isolate;
  min-height: min(100svh, 50rem);
  display: grid;
  align-items: center;
  padding: 0;
  overflow: hidden;
  background: var(--brand-navy-deeper);
}
.tema-hero-escuro .heroA__foto { position: absolute; inset: 0; z-index: 0; }
.tema-hero-escuro .heroA__foto img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 68% 50%;
  display: block;
}
/* o véu abre pro lado direito, onde o alinhador pega a luz */
.tema-hero-escuro .heroA__veu {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(95deg,
    rgba(12,11,9,0.97) 0%,
    rgba(12,11,9,0.92) 28%,
    rgba(12,11,9,0.6) 48%,
    rgba(12,11,9,0.12) 70%,
    rgba(12,11,9,0) 84%);
}
.tema-hero-escuro .heroA__conteudo {
  position: relative; z-index: 2;
  width: 100%;
  max-width: var(--container-max, 1200px);
  margin: 0 auto;
  padding: clamp(7rem, 11vw, 9rem) clamp(1.5rem, 5vw, 4rem) clamp(3rem, 6vw, 4.5rem);
}
.tema-hero-escuro .heroA__kicker {
  display: inline-block;
  padding: 0.34rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(244,238,228,0.16);
  background: rgba(244,238,228,0.06);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold-soft);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}
.tema-hero-escuro .heroA__titulo {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(2.5rem, 4.8vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--text-on-navy);
  margin: 0 0 clamp(1rem, 2vw, 1.5rem);
  max-width: 17ch;
  text-wrap: balance;
  padding-bottom: 0.1em;
}
.tema-hero-escuro .heroA__titulo em { font-style: italic; color: var(--accent-gold-soft); }
.tema-hero-escuro .heroA__sub {
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.6;
  color: rgba(244,238,228,0.76);
  margin: 0 0 clamp(1.5rem, 3vw, 2rem);
  max-width: 46ch;
}
.tema-hero-escuro .heroA__condicao {
  margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
  padding: 0.7rem 1.05rem;
  border-left: 3px solid var(--accent-gold);
  background: rgba(244,238,228,0.06);
  font-size: 0.95rem;
  color: var(--text-on-navy);
  max-width: 30rem;
}
.tema-hero-escuro .heroA__acao { margin-bottom: clamp(1.5rem, 3vw, 2rem); }
.tema-hero-escuro .heroA__prova {
  display: inline-grid;
  grid-template-columns: auto auto;
  grid-template-areas: "estrelas nota" "estrelas qtd";
  align-items: center;
  gap: 0 0.7rem;
  padding: 0.7rem 1.1rem 0.7rem 0.9rem;
  border-radius: 16px;
  background: rgba(244,238,228,0.07);
  border: 1px solid rgba(244,238,228,0.14);
  text-decoration: none;
  transition: transform 0.4s var(--mola), background-color 0.4s var(--mola);
}
.tema-hero-escuro .heroA__prova:hover { transform: translateY(-2px); background: rgba(244,238,228,0.1); }
.tema-hero-escuro .heroA__estrelas { grid-area: estrelas; color: var(--accent-gold); font-size: 1.05rem; letter-spacing: 0.06em; }
.tema-hero-escuro .heroA__nota { grid-area: nota; font-size: 0.95rem; color: var(--text-on-navy); }
.tema-hero-escuro .heroA__nota strong { font-size: 1.15rem; }
.tema-hero-escuro .heroA__qtd { grid-area: qtd; font-size: 0.76rem; color: rgba(244,238,228,0.6); }

/* a navbar volta a ser escura: o hero é escuro de novo */
.tema-hero-escuro .navbar,
.tema-hero-escuro .navbar.is-scrolled {
  background: rgba(16, 14, 12, 0.82);
  border-color: rgba(244, 238, 228, 0.16);
}
.tema-hero-escuro .navbar .navbar__logo-img,
.tema-hero-escuro .navbar.is-scrolled .navbar__logo-img { filter: brightness(0) invert(1); }
.tema-hero-escuro .navbar .navbar__proof span,
.tema-hero-escuro .navbar.is-scrolled .navbar__proof span { color: rgba(244, 238, 228, 0.9); }

@media (max-width: 900px) {
  .tema-hero-escuro .heroA { min-height: auto; }
  .tema-hero-escuro .heroA__foto img { object-position: 62% 40%; }
  .tema-hero-escuro .heroA__veu {
    background: linear-gradient(180deg,
      rgba(12,11,9,0.45) 0%,
      rgba(12,11,9,0.9) 38%,
      rgba(12,11,9,0.97) 60%,
      rgba(12,11,9,1) 100%);
  }
  .tema-hero-escuro .heroA__conteudo { padding-top: 40vh; }
  .tema-hero-escuro .heroA__titulo { max-width: none; }
}


/* ==========================================================================
   HERO P · a página de problema abre mostrando o problema
   Três heros distintos, um por rota, senão não há o que comparar:
     /          o Dr., como sempre foi (controle)
     /problema  os casos que a clínica corrige
     /oferta    o alinhador e a condição
   Aqui o layout também muda: split, não full-bleed, pra não parecer a mesma
   página com outra headline.
   ========================================================================== */
.tema-hero-escuro .heroP {
  position: relative;
  min-height: min(100svh, 50rem);
  display: grid;
  align-items: center;
  padding: 0;
  background:
    radial-gradient(110% 80% at 8% 0%, rgba(181,138,60,0.13), transparent 60%),
    var(--brand-navy-deeper);
}
.tema-hero-escuro .heroP__grade {
  width: 100%;
  max-width: var(--container-max, 1200px);
  margin: 0 auto;
  padding: clamp(7rem, 11vw, 9rem) clamp(1.5rem, 5vw, 4rem) clamp(3rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.tema-hero-escuro .heroP__kicker {
  display: inline-block;
  padding: 0.34rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(244,238,228,0.16);
  background: rgba(244,238,228,0.06);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold-soft);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}
.tema-hero-escuro .heroP__titulo {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(2.4rem, 4.2vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--text-on-navy);
  margin: 0 0 clamp(1rem, 2vw, 1.5rem);
  text-wrap: balance;
  padding-bottom: 0.1em;
}
.tema-hero-escuro .heroP__titulo em { font-style: italic; color: var(--accent-gold-soft); }
.tema-hero-escuro .heroP__sub {
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.6;
  color: rgba(244,238,228,0.76);
  margin: 0 0 clamp(1.5rem, 3vw, 2rem);
  max-width: 44ch;
}
.tema-hero-escuro .heroP__acao { margin-bottom: clamp(1.5rem, 3vw, 2rem); }
.tema-hero-escuro .heroP__prova {
  display: inline-grid;
  grid-template-columns: auto auto;
  grid-template-areas: "estrelas nota" "estrelas qtd";
  align-items: center;
  gap: 0 0.7rem;
  padding: 0.7rem 1.1rem 0.7rem 0.9rem;
  border-radius: 16px;
  background: rgba(244,238,228,0.07);
  border: 1px solid rgba(244,238,228,0.14);
  text-decoration: none;
  transition: transform 0.4s var(--mola), background-color 0.4s var(--mola);
}
.tema-hero-escuro .heroP__prova:hover { transform: translateY(-2px); background: rgba(244,238,228,0.1); }
.tema-hero-escuro .heroP__estrelas { grid-area: estrelas; color: var(--accent-gold); font-size: 1.05rem; letter-spacing: 0.06em; }
.tema-hero-escuro .heroP__nota { grid-area: nota; font-size: 0.95rem; color: var(--text-on-navy); }
.tema-hero-escuro .heroP__nota strong { font-size: 1.15rem; }
.tema-hero-escuro .heroP__qtd { grid-area: qtd; font-size: 0.76rem; color: rgba(244,238,228,0.6); }

/* os três casos entram escalonados: quem chega vê o próprio problema antes de
   ler qualquer coisa */
.tema-hero-escuro .heroP__casos { display: grid; gap: clamp(0.6rem, 1.2vw, 1rem); }
.tema-hero-escuro .heroP__caso {
  margin: 0;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(244,238,228,0.1);
  transition: transform 0.5s var(--mola), border-color 0.5s var(--mola);
}
.tema-hero-escuro .heroP__caso:nth-child(1) { margin-right: clamp(0rem, 4vw, 3.5rem); }
.tema-hero-escuro .heroP__caso:nth-child(2) { margin-left: clamp(0rem, 4vw, 3.5rem); }
.tema-hero-escuro .heroP__caso:nth-child(3) { margin-right: clamp(0rem, 2vw, 1.75rem); }
.tema-hero-escuro .heroP__caso:hover { transform: translateY(-4px); border-color: rgba(181,138,60,0.5); }
.tema-hero-escuro .heroP__caso img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.tema-hero-escuro .heroP__caso figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1rem 0.7rem;
  font-size: 0.84rem;
  color: var(--text-on-navy);
  background: linear-gradient(to top, rgba(12,11,9,0.92), transparent);
}

@media (max-width: 900px) {
  .tema-hero-escuro .heroP { min-height: auto; }
  .tema-hero-escuro .heroP__grade { grid-template-columns: 1fr; }
  .tema-hero-escuro .heroP__caso:nth-child(n) { margin-inline: 0; }
  .tema-hero-escuro .heroP__casos { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .tema-hero-escuro .heroP__caso img { aspect-ratio: 1 / 1; }
  .tema-hero-escuro .heroP__caso figcaption { font-size: 0.7rem; padding: 1.2rem 0.6rem 0.5rem; }
}


/* ==========================================================================
   COPY DO DOCUMENTO · a escala se ajusta ao texto, não o contrário
   As headlines aprovadas são mais longas que as que eu tinha escrito. A do
   problema tem 13 palavras e a da oferta é caixa alta inteira, que ocupa mais
   largura por letra. A escala baixa pra caber; o texto não encolhe.
   ========================================================================== */
.tema-hero-escuro .heroP__titulo {
  font-size: clamp(1.9rem, 3vw, 2.9rem);
  line-height: 1.14;
  max-width: 20ch;
}
.tema-hero-escuro .heroA__titulo {
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.005em;   /* caixa alta pede tracking menos fechado */
  max-width: 15ch;
}
.tema-hero-escuro .heroP__sub,
.tema-hero-escuro .heroA__sub { max-width: 50ch; }

@media (max-width: 900px) {
  .tema-hero-escuro .heroP__titulo { font-size: clamp(1.75rem, 5.6vw, 2.3rem); max-width: none; }
  .tema-hero-escuro .heroA__titulo { font-size: clamp(1.9rem, 6.4vw, 2.6rem); max-width: none; }
}
