/* ============================================
   DRA. JULIANA CALIFANI — LANDING PAGE (v2 redesign)
   Mobile-first . Vanilla CSS . No frameworks
   Paleta do logo Califani: azul-marinho + dourado quente + creme nude
   ============================================ */

/* === DESIGN TOKENS === */
:root {
  --brand-navy:         #1F2A6E;
  --brand-navy-dark:    #161B4D;
  --brand-navy-deeper:  #0F1338;
  --brand-brown:        #3D2B1F;
  --brand-cream:        #F5EFE6;
  --brand-cream-light:  #FAF6F0;
  --brand-nude:         #E8D5C9;
  --brand-nude-soft:    #F2E4DA;

  --accent-gold:        #C9A961;
  --accent-gold-soft:   #D9BC7A;
  --accent-gold-deep:   #A8853F;
  --accent-gold-bg:     #F8F1E2;

  --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:       #1A1A2E;
  --text-secondary:     #4B4B5E;
  --text-muted:         #757589;
  --text-on-dark:       #F5EFE6;
  --text-on-navy:       #FAF6F0;

  --border-light:       #E5DDD2;
  --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(31,42,110,0.08);
  --shadow-medium:      0 4px 30px rgba(31,42,110,0.12);
  --shadow-card:        0 10px 50px rgba(31,42,110,0.13);
  --shadow-float:       0 20px 60px rgba(15,19,56,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(201,169,97,0.35);
  font-weight: 600;
}
.btn--gold:hover {
  background: var(--accent-gold-soft);
  box-shadow: 0 10px 32px rgba(201,169,97,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(31,42,110,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(31,42,110,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(31,42,110,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, 8vh, 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, 9vh, 6rem);
  right: var(--container-padding);
  background: rgba(15,19,56,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(201,169,97,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(201,169,97,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(15,19,56,0.78); color: #fff;
  font-size: 0.625rem; font-weight: 600; letter-spacing: 0.1em;
}
.solucao__case:last-child figcaption { background: rgba(201,169,97,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(201,169,97,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(201,169,97,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(201,169,97,0.08);
  border: 1px solid rgba(201,169,97,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; }

/* === 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(15,19,56,0.72);
  backdrop-filter: blur(4px);
  color: #fff;
  z-index: 3;
  pointer-events: none;
}
.compare__tag--antes { left: 0.75rem; background: rgba(15,19,56,0.78); }
.compare__tag--depois { right: 0.75rem; background: rgba(201,169,97,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); }
.google-reviews__link { display: inline-flex; margin-top: var(--space-lg); color: var(--brand-navy); font-weight: 500; text-decoration: underline; text-underline-offset: 0.2em; }

/* === 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(201,169,97,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(201,169,97,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(201,169,97,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(15,19,56,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: 90vh; 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(31,42,110,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(201,169,97,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 { width: 112px; height: 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(31,42,110,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 { width: 132px; }
  .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,240,0.97) 0%,
      rgba(250,246,240,0.94) 26%,
      rgba(250,246,240,0.74) 44%,
      rgba(250,246,240,0.30) 56%,
      rgba(250,246,240,0)    66%);
  }

  /* 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(6vh + 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(2.1rem, 8.4vw, 3rem);
    line-height: 1.08;
  }
  .hero__headline em { color: var(--accent-gold-deep); }
  .hero__sub { color: var(--text-secondary); text-shadow: none; }
  .hero__micro { color: var(--text-muted); text-shadow: none; }

  /* 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. */
  .hero__eyebrow { color: #5a4416; }
  .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: #1F2A6E;
  color: #FAF6F0;
  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 #1F2A6E;
  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; }


/* Widget de conversa do WhatsApp — molde CliniAmp
   ------------------------------------------------------------------
   Nasceu na LP do Dr. João Quirino e virou molde em 01/09/2026. Substitui o
   modal de sucesso: em vez de abrir um popup por cima da página, a pessoa
   digita o WhatsApp dentro de uma conversa que já parece começada.

   Todas as cores saem de variáveis com valor de reserva, então o arquivo
   funciona em LP que não tem design system nenhum. Para casar com a marca do
   cliente, defina --wa-marca e --wa-marca-texto no :root da LP.             */

:root {
  --wa-verde: #25D366;
  --wa-marca: var(--brand-navy, var(--cta-primary, #111827));
  --wa-marca-texto: var(--text-on-navy, #fff);
  --wa-fundo: var(--bg-primary, #fff);
  --wa-texto: var(--text-primary, #1f2937);
  --wa-balao-in: var(--bg-secondary, #f3f4f6);
}

.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(--wa-verde);
  color: #fff;
  border: 0;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .24);
  transition: transform .2s ease;
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { transform: scale(1.06); }

.wa-chat {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 61;
  width: min(340px, calc(100vw - 40px));
  background: var(--wa-fundo);
  color: var(--wa-texto);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.96);
  transform-origin: bottom right;
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.wa-chat.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

.wa-chat__head {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .85rem 1rem;
  background: var(--wa-marca);
  color: var(--wa-marca-texto);
}
.wa-chat__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, .15);
  display: inline-flex; align-items: center; justify-content: center;
}
.wa-chat__avatar img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
/* Nem toda LP tem logo em arquivo. A inicial evita o ícone de imagem quebrada. */
.wa-chat__inicial { font-size: 1.05rem; font-weight: 600; letter-spacing: .02em; }
.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: .95rem; font-weight: 600; }
.wa-chat__ident small { font-size: .72rem; opacity: .75; display: flex; align-items: center; gap: .35rem; }
.wa-chat__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wa-verde); display: inline-block; }
.wa-chat__close {
  background: none; border: 0; color: inherit;
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  opacity: .65; padding: 0 .15rem;
}
.wa-chat__close:hover { opacity: 1; }

.wa-chat__body {
  padding: 1rem;
  max-height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  background: var(--wa-fundo);
}
.wa-chat__msg {
  max-width: 85%;
  padding: .55rem .7rem .35rem;
  border-radius: 12px;
  font-size: .87rem;
  line-height: 1.4;
  position: relative;
}
.wa-chat__msg p { margin: 0; }
.wa-chat__msg--in { align-self: flex-start; background: var(--wa-balao-in); border-bottom-left-radius: 4px; }
.wa-chat__msg--out { align-self: flex-end; background: #d9fdd3; color: #111b21; border-bottom-right-radius: 4px; }
.wa-chat__hora { display: block; text-align: right; font-size: .62rem; opacity: .5; margin-top: .15rem; }

.wa-chat__typing { display: inline-flex; gap: 3px; padding: .2rem 0; }
.wa-chat__typing i {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; opacity: .35;
  animation: wa-pulso 1.2s infinite;
}
.wa-chat__typing i:nth-child(2) { animation-delay: .18s; }
.wa-chat__typing i:nth-child(3) { animation-delay: .36s; }
@keyframes wa-pulso { 0%, 60%, 100% { opacity: .25; } 30% { opacity: .85; } }

.wa-chat__cta {
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  margin-top: .5rem; padding: .5rem .7rem;
  border-radius: 10px;
  background: var(--wa-verde); color: #fff;
  font-size: .82rem; font-weight: 600; text-decoration: none;
}
.wa-chat__cta svg { width: 17px; height: 17px; }

.wa-chat__aviso { margin: 0; padding: 0 1rem .5rem; font-size: .68rem; opacity: .6; }
.wa-chat__erro { margin: 0; padding: 0 1rem .4rem; font-size: .75rem; color: #b91c1c; }

.wa-chat__form { display: flex; gap: .5rem; padding: .75rem 1rem 1rem; align-items: center; }
.wa-chat__input {
  flex: 1 1 auto; min-width: 0;
  padding: .6rem .75rem;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 999px;
  font-size: .9rem;
  font-family: inherit;
  color: var(--wa-texto);
  background: var(--wa-fundo);
}
.wa-chat__input:focus { outline: 2px solid var(--wa-verde); outline-offset: 1px; }
.wa-chat__send {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border: 0; border-radius: 50%;
  background: var(--wa-verde); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.wa-chat__send svg { width: 19px; height: 19px; }
.wa-chat__send:disabled { opacity: .55; cursor: default; }

@media (max-width: 640px) {
  .whatsapp-float { bottom: 84px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
  .wa-chat { bottom: 148px; right: 12px; }
  .wa-chat__body { max-height: 210px; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float, .wa-chat { transition: none; }
  .wa-chat__typing i { animation: none; }
}
