/* =========================================================
   Dr. Rafael Frota — Cirurgião Torácico · Brasília
   Redesign premium "Clínica Digital"
   Identidade: Creme · Azul Marinho · Dourado · Grafite
   Tipografia: Cormorant Garamond (títulos) + Source Sans 3 (corpo)
   ========================================================= */

:root {
  /* Paleta — derivada do logotipo */
  --cream:        #F4EFE4;   /* fundo principal, quente */
  --cream-paper:  #FBF8F1;   /* superfícies/cards claros */
  --cream-deep:   #EAE1CF;   /* divisores suaves */
  --navy:         #1B3A5B;   /* azul marinho — estrutura e texto-marca */
  --navy-deep:    #102538;   /* navy profundo — rodapé, hero escuro */
  --ink:          #16202B;   /* grafite — base de contraste */
  --navy-ink:     #1B2A38;   /* texto corpo escuro */
  --gold:         #C2A24E;   /* dourado — acento precioso */
  --gold-soft:    #DBC182;   /* dourado claro */
  --gold-deep:    #9C7B2A;   /* dourado profundo (texto sobre claro) */
  --muted:        #5A6573;   /* texto secundário */
  --line:         #E0D6C2;   /* hairline */
  --white:        #FFFFFF;

  /* Gradiente dourado escovado (igual ao logo) */
  --gold-grad: linear-gradient(135deg, #B8923C 0%, #E7CE84 38%, #A87F2A 70%, #DCBE72 100%);

  /* Tipografia */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Escala / espaço */
  --container: 1220px;
  --container-narrow: 760px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 12px rgba(16, 37, 56, .06);
  --shadow:    0 16px 44px rgba(16, 37, 56, .10);
  --shadow-lg: 0 40px 90px rgba(16, 37, 56, .18);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --z-nav: 50;
  --z-float: 60;
  --z-overlay: 70;
  --z-cursor: 90;
  --z-loader: 100;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--navy-ink);
  /* UMA superfície uniforme em toda a página (textura creme fixa) — sem trocas de
     cor entre seções, logo sem transições visíveis. As áreas escuras viram painéis. */
  background:
    linear-gradient(rgba(248,244,234,.45), rgba(244,239,228,.55)),
    url("../img/bg-cream-1.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold-deep); }
::selection { background: rgba(194,162,78,.28); color: var(--ink); }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-optical-sizing: auto; font-weight: 380; line-height: 1.0; color: var(--navy); letter-spacing: -.022em; }
h1 { font-size: clamp(3.3rem, 7.6vw, 7rem); font-weight: 350; }
h2 { font-size: clamp(2.7rem, 5.8vw, 5rem); font-weight: 370; }
h3 { font-size: clamp(1.7rem, 2.9vw, 2.5rem); font-weight: 450; letter-spacing: -.018em; }
h4 { font-size: 1.4rem; font-weight: 500; letter-spacing: -.012em; }
p  { max-width: 66ch; }
em, .italic { font-style: italic; }

.lead { font-family: var(--sans); font-size: clamp(1.18rem, 1.7vw, 1.42rem); color: var(--muted); line-height: 1.6; font-weight: 400; letter-spacing: -.006em; }

/* Eyebrow */
.eyebrow {
  font-family: var(--sans);
  font-size: .76rem; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex; align-items: center; gap: .65rem;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--gold); display: inline-block; }
.section-head.center .eyebrow { justify-content: center; }

/* Assinatura: gota dourada */
.drop {
  width: 12px; height: 12px; display: inline-block;
  background: var(--gold-grad);
  border-radius: 50% 50% 50% 0;
  transform: rotate(45deg);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.5);
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 26px; }
.narrow { max-width: var(--container-narrow); }
section { padding-block: clamp(70px, 9.5vw, 132px); position: relative; }
.section-head { max-width: 660px; margin-bottom: 60px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head p { margin-top: 18px; }
.section-head.center p { margin-inline: auto; }

/* seções claras: transparentes — mostram a textura única do body (sem caixas/emendas) */
.band-paper { background: transparent; }
.band-navy  { background: var(--navy-deep); color: #E8EEF5; }
/* seções escuras = PAINÉIS arredondados flutuando sobre o creme uniforme.
   Há creme em volta (margin) → nenhuma troca de cor de borda a borda = sem transição. */
.band-ink {
  color: #E8EEF5;
  position: relative; z-index: 1; /* abaixo do hero — a foto passa por cima */
  margin: clamp(18px, 3.2vw, 56px) clamp(16px, 3.4vw, 64px);
  border-radius: clamp(26px, 3.2vw, 46px);
  overflow: hidden;
  box-shadow: 0 50px 110px -34px rgba(16,32,43,.48);
  background:
    linear-gradient(rgba(16,32,43,.82), rgba(13,26,38,.86)),
    url("../img/bg-dark-1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.band-ink h1, .band-ink h2, .band-ink h3, .band-navy h1, .band-navy h2, .band-navy h3 { color: var(--white); }
.band-ink .eyebrow, .band-navy .eyebrow { color: var(--gold-soft); }
.band-ink .lead, .band-ink p, .band-navy .lead, .band-navy p { color: #C3D0DE; }

/* ---------- Botões (assinatura grafite + borda dourada) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: 16px 32px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  line-height: 1; position: relative; will-change: transform;
}
.btn svg { width: 20px; height: 20px; }
.btn-gold { background: var(--gold-grad); color: var(--navy-deep); box-shadow: 0 10px 26px rgba(156,123,42,.30); }
.btn-gold:hover { color: var(--navy-deep); box-shadow: 0 16px 38px rgba(156,123,42,.42); filter: brightness(1.05); }
/* botão principal: grafite + borda dourada (a "assinatura" pedida) */
.btn-ink { background: var(--ink); color: #F5EED8; border-color: rgba(194,162,78,.55); }
.btn-ink:hover { background: var(--navy-deep); color: #fff; border-color: var(--gold); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn-wa { background: #1FAE54; color: #fff; box-shadow: 0 10px 26px rgba(31,174,84,.32); }
.btn-wa:hover { background: #168f44; color: #fff; }
.band-ink .btn-ghost, .band-navy .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.band-ink .btn-ghost:hover, .band-navy .btn-ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); }

/* ---------- Cursor dinâmico (ponto + anel com rótulo) — identidade do site ---------- */
html.has-cursor, html.has-cursor body { cursor: none; }
html.has-cursor a, html.has-cursor button, html.has-cursor [role="button"], html.has-cursor summary, html.has-cursor label { cursor: none; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select, html.has-cursor [contenteditable] { cursor: auto; }

.cursor__dot, .cursor__ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 100000;
  transform: translate(-50%, -50%); border-radius: 999px;
  will-change: transform, left, top;
}
.cursor__dot {
  width: 6px; height: 6px; background: var(--gold-deep); opacity: 0;
  box-shadow: 0 0 7px rgba(156,123,42,.55);
  transition: opacity .3s var(--ease), width .25s var(--ease-out), height .25s var(--ease-out);
}
.cursor__ring {
  display: grid; place-items: center; min-width: 36px; height: 36px;
  border: 1.5px solid var(--gold); opacity: 0; color: transparent;
  font-family: var(--serif); font-style: italic; font-weight: 500; font-size: .92rem;
  white-space: nowrap; line-height: 1;
  transition: min-width .4s var(--ease-out), height .4s var(--ease-out), padding .4s var(--ease-out),
              background .35s var(--ease), border-color .35s var(--ease), color .25s var(--ease),
              opacity .4s var(--ease), box-shadow .35s var(--ease);
}
.cursor__dot.show, .cursor__ring.show { opacity: 1; }
/* hover em interativos: anel cresce e preenche suave; ponto recolhe */
.cursor__ring.hover { min-width: 56px; height: 56px; background: rgba(194,162,78,.12); border-color: var(--gold-deep); }
.cursor__dot.hover { width: 3px; height: 3px; }
/* hover com rótulo (data-cursor): vira chip dourado com texto serif itálico */
.cursor__ring.label {
  min-width: 0; height: auto; padding: 11px 19px; background: var(--gold-grad);
  border-color: transparent; color: var(--navy-deep);
  box-shadow: 0 12px 30px -6px rgba(156,123,42,.42);
}
.cursor__ring.label.hover { background: var(--gold-grad); }
.cursor__dot.label { opacity: 0; }
/* clique: leve recolhida */
.cursor__ring.down { transform: translate(-50%, -50%) scale(.84); }
/* seções escuras: dourado claro p/ contraste */
.band-ink .cursor__ring, .cta-final .cursor__ring, .footer .cursor__ring { border-color: var(--gold-soft); }
/* entrada ao carregar */
.cursor__ring.intro { animation: curIntro .7s var(--ease-out); }
@keyframes curIntro { 0% { min-width: 0; height: 0; opacity: 0; border-width: 3px; } 60% { opacity: 1; } 100% { min-width: 36px; height: 36px; opacity: 1; } }

@media (pointer: coarse), (max-width: 767px) {
  html.has-cursor, html.has-cursor body { cursor: auto; }
  .cursor__dot, .cursor__ring { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html.has-cursor, html.has-cursor body { cursor: auto; }
  .cursor__dot, .cursor__ring { display: none; }
}

/* ---------- Botão de som ---------- */
.snd { position: fixed; left: 22px; bottom: 22px; z-index: var(--z-float); display: inline-flex; align-items: center; gap: 9px;
  background: rgba(16,32,43,.86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #EFE6CE;
  border: 1px solid rgba(219,193,130,.4); border-radius: 999px; padding: 11px 16px 11px 13px; cursor: pointer; font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .02em;
  box-shadow: 0 10px 26px rgba(16,37,56,.3); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.snd:hover { transform: translateY(-2px); border-color: var(--gold); }
.snd__ic { width: 20px; height: 20px; display: grid; place-items: center; color: var(--gold-soft); }
.snd__ic svg { width: 20px; height: 20px; }
.snd__wave { display: inline-flex; align-items: center; gap: 2px; height: 16px; }
.snd__wave i { width: 2px; height: 5px; background: var(--gold-soft); border-radius: 2px; display: block; }
.snd.on .snd__wave i { animation: sndWave 1s ease-in-out infinite; }
.snd.on .snd__wave i:nth-child(2) { animation-delay: .15s; }
.snd.on .snd__wave i:nth-child(3) { animation-delay: .3s; }
.snd.on .snd__wave i:nth-child(4) { animation-delay: .45s; }
@keyframes sndWave { 0%,100% { height: 4px; } 50% { height: 15px; } }
.snd .snd__off { display: inline; } .snd .snd__on { display: none; }
.snd.on .snd__off { display: none; } .snd.on .snd__on { display: inline-flex; }
@media (max-width: 760px) { .snd { left: 16px; bottom: 16px; padding: 11px; } .snd__txt { display: none; } }

/* ---------- Loading screen ---------- */
.loader {
  position: fixed; inset: 0; z-index: var(--z-loader); background: var(--ink);
  display: grid; place-items: center; transition: clip-path 1s var(--ease-out), opacity .5s ease .6s;
  clip-path: inset(0 0 0 0);
}
.loader.done { clip-path: inset(0 0 100% 0); opacity: 0; pointer-events: none; }
.loader__inner { text-align: center; }
.loader__logo { width: 88px; height: 88px; margin: 0 auto 18px; opacity: 0; transform: translateY(14px); animation: loaderIn .9s var(--ease-out) .1s forwards; }
.loader__name { font-family: var(--serif); color: #F4ECD6; font-size: 1.7rem; letter-spacing: .02em; opacity: 0; animation: loaderIn .9s var(--ease-out) .28s forwards; }
.loader__name small { display: block; font-family: var(--sans); font-size: .62rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-soft); margin-top: 8px; }
.loader__bar { width: 0; height: 2px; background: var(--gold-grad); margin: 22px auto 0; max-width: 180px; animation: loaderBar 1.3s var(--ease-out) .3s forwards; }
@keyframes loaderIn { to { opacity: 1; transform: none; } }
@keyframes loaderBar { to { width: 180px; } }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 16px 16px auto 16px; z-index: var(--z-nav);
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--container); margin-inline: auto;
  padding: 11px 14px 11px 22px;
  background: rgba(251,248,241,.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .35s var(--ease), background .35s var(--ease), transform .45s var(--ease);
}
.nav.scrolled { box-shadow: var(--shadow); background: rgba(251,248,241,.95); }
.nav.hide { transform: translateY(-140%); }
.nav__brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--navy); white-space: nowrap; }
.nav__brand img { width: 40px; height: 40px; }
.nav__brand span small { display: block; font-family: var(--sans); font-size: .56rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; line-height: 1; margin-top: 3px; }
.nav__links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__links a { font-size: .88rem; font-weight: 600; color: var(--navy-ink); padding: 8px 12px; border-radius: 999px; transition: background .2s, color .2s; position: relative; white-space: nowrap; }
.nav__links a:hover { background: var(--cream-deep); color: var(--navy); }
.nav__cta { margin-left: 8px; }
.nav__cta .btn { padding: 11px 20px; font-size: .88rem; white-space: nowrap; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--navy); }
.nav__toggle svg { width: 26px; height: 26px; }

/* dropdown */
.has-sub { position: relative; }
.submenu {
  position: absolute; top: calc(100% + 14px); left: 0; min-width: 300px;
  background: var(--cream-paper); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); padding: 12px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .24s var(--ease);
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; font-size: .9rem; padding: 11px 14px; border-radius: 11px; }
.submenu a:hover { background: var(--cream-deep); }
.submenu small { display: block; font-size: .76rem; color: var(--muted); font-weight: 400; }

/* ---------- HERO ---------- */
.hero { padding-top: clamp(150px, 18vw, 210px); padding-bottom: 0; overflow: visible;
  position: relative; z-index: 2; /* fica acima do painel escuro p/ a foto "invadir" a seção seguinte */
  background: transparent; /* mostra a textura única do body — sem emenda com a seção seguinte */
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 560px at 80% 12%, rgba(194,162,78,.12), transparent 58%),
    radial-gradient(680px 600px at 6% 96%, rgba(27,58,91,.05), transparent 55%);
}
/* motivo de linha fina (anatomia/gota) atrás da foto */
.hero__art {
  position: absolute; right: -2%; top: 8%; width: min(46vw, 620px); z-index: 0;
  color: var(--gold); opacity: .16; pointer-events: none;
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: end; }
.hero__copy { padding-bottom: clamp(48px, 8vw, 96px); }
.hero h1 { margin: 18px 0 0; font-size: clamp(3rem, 6.2vw, 5.9rem); line-height: .96; font-weight: 330; }
.hero h1 .accent { color: var(--gold-deep); font-style: italic; font-weight: 380; }
.hero__lead { margin-top: 22px; max-width: 50ch; }
.hero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }

/* assinatura: régua dourada com gota ao centro */
.hero__rule { margin-top: 22px; display: flex; align-items: center; gap: 14px; max-width: 320px; }
.hero__rule::before, .hero__rule::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--gold)); }
.hero__rule::before { background: linear-gradient(90deg, var(--gold), transparent); }
.hero__rule .drop { flex: 0 0 auto; animation: dropFloat 4s var(--ease) infinite; }
@keyframes dropFloat { 0%,100% { transform: rotate(45deg) translateY(0); } 50% { transform: rotate(45deg) translateY(-5px); } }

/* indicador de rolagem */
.hero__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.hero__scroll span { width: 22px; height: 34px; border: 1.5px solid var(--line); border-radius: 12px; position: relative; }
.hero__scroll span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; border-radius: 2px; background: var(--gold); transform: translateX(-50%); animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%,0); } 40% { opacity: 1; } 80%,100% { opacity: 0; transform: translate(-50%,12px); } }

/* faixa de autoridade */
.hero__auth { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: .9rem; color: var(--muted); }
.hero__auth strong { color: var(--navy); font-weight: 700; }
.hero__auth .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); display: inline-block; }

/* mídia do hero — foto recortada do Dr. */
.hero__media { position: static; }
/* FOTO BREAKOUT: grande, ancorada à direita, sobe até a altura do título e
   "invade" o painel escuro seguinte (metade no hero, metade na seção escura) */
.hero__media-photo { position: absolute; right: clamp(0px, 3vw, 70px); bottom: -210px;
  width: min(58vw, 820px); max-width: none; height: auto; margin: 0; z-index: 6;
  pointer-events: none; filter: drop-shadow(0 44px 64px rgba(16,37,56,.32)); }
.hero__halo, .hero__floor { display: none; }
/* chip de credencial flutuante */
.hero__chip {
  position: absolute; z-index: 3; left: -14px; bottom: 26%;
  background: linear-gradient(150deg, rgba(255,255,255,.34), rgba(255,255,255,.10));
  -webkit-backdrop-filter: blur(18px) saturate(1.25) brightness(1.04);
  backdrop-filter: blur(18px) saturate(1.25) brightness(1.04);
  border: 1px solid rgba(255,255,255,.6); border-radius: 22px; padding: 16px 22px;
  box-shadow:
    0 26px 52px rgba(16,37,56,.20),
    inset 0 1px 0 rgba(255,255,255,.85),
    inset 0 -12px 18px -8px rgba(255,255,255,.7);
  display: flex; align-items: center; gap: 15px; max-width: 244px;
  animation: chipFloat 7s var(--ease) infinite; transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.hero__chip .drop { flex: 0 0 auto; width: 16px; height: 16px; }
.hero__chip > div { border-left: 1px solid rgba(194,162,78,.5); padding-left: 15px; }
.hero__chip b { display: block; font-family: var(--serif); color: var(--navy); font-size: 1.1rem; line-height: 1.1; letter-spacing: -.01em; }
.hero__chip small { font-size: .78rem; color: var(--muted); }
.hero__chip::after { content: ""; position: absolute; right: 14px; bottom: 12px; width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.95), rgba(255,255,255,.1) 70%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.5), 0 1px 2px rgba(16,37,56,.15); }
.hero__chip--tr { left: auto; right: -16px; bottom: auto; top: 14%; animation-delay: -3.5s; }
@keyframes chipFloat { 0%,100% { transform: translateY(0) rotate(-.6deg); } 50% { transform: translateY(-10px) rotate(.6deg); } }

/* ---------- Navegação editorial (3 cards premium) ---------- */
.enav { padding-block: clamp(110px, 12vw, 180px) clamp(44px, 5vw, 72px); }
.enav__head { text-align: center; max-width: 640px; margin: 0 auto 18px; }
.enav__head h2 { color: #fff; margin-top: 14px; }
.enav__flow { width: 100%; height: 54px; display: block; margin: 6px 0 26px; opacity: .8; }
.enav__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; perspective: 1300px; position: relative; z-index: 1; }

.enav-card {
  position: relative; overflow: hidden; border-radius: 22px; min-height: 320px; padding: 32px;
  display: flex; flex-direction: column; justify-content: flex-end; color: #E7EEF6;
  background: linear-gradient(158deg, rgba(255,255,255,.07), rgba(255,255,255,.015) 60%);
  border: 1px solid rgba(219,193,130,.22);
  box-shadow: 0 14px 34px rgba(0,0,0,.28);
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  transform-style: preserve-3d; will-change: transform;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease), border-color .6s var(--ease), color .6s;
}
.enav-card:hover { transform: translateY(-9px); box-shadow: 0 36px 70px rgba(0,0,0,.46); border-color: rgba(219,193,130,.55); color: #fff; }
/* borda de luz dourada percorrendo o contorno */
.enav-card::before { content: ""; position: absolute; inset: 0; border-radius: 22px; padding: 1px; pointer-events: none; z-index: 3; opacity: 0; transition: opacity .5s;
  background: conic-gradient(from var(--a, 0deg), transparent 0deg, rgba(231,206,132,.9) 40deg, transparent 90deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.enav-card:hover::before { opacity: 1; animation: borderRun 2.4s linear infinite; }
@keyframes borderRun { to { --a: 360deg; } }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

.enav-card__fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .55; transition: opacity .6s; }
.enav-card:hover .enav-card__fx { opacity: .9; }
.enav-card__sweep { position: absolute; inset: -20% -10%; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: linear-gradient(115deg, transparent 38%, rgba(231,206,132,.22) 48%, rgba(255,255,255,.32) 50%, rgba(231,206,132,.22) 52%, transparent 62%); transform: translateX(-70%); }
.enav-card:hover .enav-card__sweep { opacity: 1; animation: enavSweep 1.2s var(--ease-out); }
@keyframes enavSweep { 0% { transform: translateX(-70%); } 100% { transform: translateX(70%); } }

.enav-card__inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 12px; transition: transform .5s var(--ease-out); }
.enav-card__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(219,193,130,.45); color: var(--gold-soft); margin-bottom: auto; transition: background .4s, box-shadow .4s, transform .45s var(--ease-out); }
.enav-card__icon svg { width: 26px; height: 26px; }
.enav-card:hover .enav-card__icon { background: rgba(219,193,130,.14); box-shadow: 0 0 26px rgba(219,193,130,.45); }
.enav-card[data-fx="clean"]:hover .enav-card__icon { animation: iconPulse .5s var(--ease-out); }
@keyframes iconPulse { 0%,100% { transform: scale(1); } 45% { transform: scale(1.16); } }
.enav-card h3 { color: #fff; font-size: clamp(1.7rem, 2.4vw, 2.25rem); line-height: 1; }
.enav-card h3 em { color: var(--gold-soft); font-style: italic; transition: text-shadow .45s; }
.enav-card:hover h3 em { text-shadow: 0 0 20px rgba(219,193,130,.7); }
.enav-card p { color: #AFC0D2; font-size: .98rem; max-width: 34ch; }
.enav-card:hover p { color: #C9D6E2; }
.enav-card__more { margin-top: 10px; display: inline-flex; align-items: center; gap: 12px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gold-soft); }
.enav-card__arrow { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(219,193,130,.5); display: grid; place-items: center; transition: background .4s, transform .4s var(--ease-out); }
.enav-card__arrow svg { width: 16px; height: 16px; transition: transform .4s var(--ease-out); }
.enav-card:hover .enav-card__arrow { background: rgba(219,193,130,.16); }
.enav-card:hover .enav-card__arrow svg { transform: translateX(4px); }

/* faixa de atributos */
.enav__features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 54px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.1); }
.enav-feat { display: flex; gap: 14px; align-items: flex-start; }
.enav-feat__ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(219,193,130,.4); display: grid; place-items: center; color: var(--gold-soft); }
.enav-feat__ic svg { width: 22px; height: 22px; }
.enav-feat b { display: block; font-family: var(--serif); font-size: 1.18rem; color: #fff; line-height: 1.1; }
.enav-feat small { color: #9FB6CC; font-size: .86rem; }
.enav__tag { text-align: center; margin-top: 50px; font-size: .74rem; letter-spacing: .26em; text-transform: uppercase; color: #9FB6CC; display: flex; gap: 14px; justify-content: center; align-items: center; }
.enav__tag .drop { width: 11px; height: 11px; }

/* ---------- Tipografia de display (estilo editorial premiado) ---------- */
/* palavra decorativa gigante que "viaja" no eixo X conforme o scroll */
.bigword {
  position: absolute; z-index: 0; pointer-events: none; white-space: nowrap;
  font-family: var(--serif); font-optical-sizing: auto; font-weight: 320; line-height: .8;
  font-size: clamp(7rem, 23vw, 24rem); letter-spacing: -.03em; font-style: italic;
  color: var(--navy); opacity: .05; will-change: transform; user-select: none;
}
.bigword.outline { color: transparent; -webkit-text-stroke: 1.5px var(--gold); opacity: .22; }
.band-ink .bigword { color: #fff; opacity: .045; }
.band-ink .bigword.outline { color: transparent; -webkit-text-stroke: 1.5px var(--gold-soft); opacity: .28; }
.bigword--tr { top: -2%; right: -2%; }
.bigword--bl { bottom: -4%; left: -3%; }
.bigword--mid { top: 50%; left: 50%; transform: translate(-50%,-50%); }
section { overflow: hidden; }

/* seção-declaração gigante */
.statement { position: relative; }
.statement__grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(30px, 5vw, 76px); align-items: center; position: relative; z-index: 1; }
.statement__big { font-family: var(--serif); font-optical-sizing: auto; font-weight: 320; line-height: .96; letter-spacing: -.025em;
  font-size: clamp(2.8rem, 5.8vw, 5.8rem); color: var(--navy); position: relative; z-index: 1; max-width: 13ch; }
.statement__big .accent { color: var(--gold-deep); font-style: italic; font-weight: 380; }
.statement p { position: relative; z-index: 1; }
/* foto: moldura dupla dourada refinada (passe-partout de luxo) que flutua suavemente */
.statement__photo { position: relative; justify-self: center; max-width: 450px; width: 100%; }
.statement__frame {
  position: relative; margin: 0; padding: 11px; border-radius: 7px;
  background: linear-gradient(165deg, var(--cream-paper), var(--cream)); /* matte sutil */
  box-shadow:
    0 0 0 1px rgba(194,162,78,.5),               /* linha dourada externa fina */
    0 34px 60px -24px rgba(120,86,38,.34),         /* sombra flutuante quente */
    0 4px 14px rgba(120,86,38,.10),
    inset 0 1px 0 rgba(255,255,255,.6);
  animation: photoFloat 8s ease-in-out infinite;
  will-change: transform;
}
.statement__frame img { display: block; width: 100%; height: auto; border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(194,162,78,.42); }     /* linha dourada interna (ao redor da foto) */
@keyframes photoFloat {
  0%   { transform: translate(0, 0) rotate(0deg); }
  30%  { transform: translate(4px, -11px) rotate(.45deg); }
  60%  { transform: translate(-3px, -16px) rotate(-.5deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) { .statement__frame { animation: none; } }

/* linha de display que desliza horizontalmente no scroll */
.drift-line { display: block; will-change: transform; }

/* ---------- Stats / contadores ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; }
.stat { text-align: center; padding: 8px; }
.stat b { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.8rem); color: var(--navy); line-height: 1; display: block; }
.band-ink .stat b, .band-navy .stat b { color: var(--gold-soft); }
.stat small { display: block; margin-top: 12px; font-size: .92rem; color: var(--muted); letter-spacing: .02em; }
.band-ink .stat small, .band-navy .stat small { color: #AFC0D2; }

/* ---------- Bloco emocional ---------- */
.empathy { text-align: center; max-width: 880px; margin-inline: auto; }
.empathy h2 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.empathy p { margin: 24px auto 0; font-size: clamp(1.15rem, 1.8vw, 1.35rem); color: var(--muted); }

/* ---------- Cards de tratamento / queixas ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; perspective: 1300px; }
.card {
  position: relative; background: var(--cream-paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px; overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease), border-color .5s var(--ease);
  display: flex; flex-direction: column; transform-style: preserve-3d; will-change: transform;
}
.card::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(160deg, rgba(194,162,78,.08), transparent 50%); opacity: 0; transition: opacity .4s; }
/* lâmina de luz dourada que passa no hover */
.card::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: linear-gradient(115deg, transparent 40%, rgba(194,162,78,.14) 50%, transparent 60%); transform: translateX(-65%); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.card:hover::after { opacity: 1; }
.card:hover::before { opacity: 1; animation: enavSweep 1s var(--ease-out); }
.card__icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(194,162,78,.18), rgba(194,162,78,.05));
  color: var(--gold-deep); margin-bottom: 24px; border: 1px solid rgba(194,162,78,.28); position: relative; z-index: 1;
  overflow: hidden; box-shadow: 0 10px 22px -10px rgba(156,123,42,.45);
}
.card__icon svg { width: 28px; height: 28px; transition: transform .4s var(--ease-out); }
.card__icon img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; transition: transform .4s var(--ease-out); }
.card:hover .card__icon { border-color: var(--gold); }
.card:hover .card__icon svg { transform: scale(1.12) rotate(-3deg); }
.card:hover .card__icon img { transform: scale(1.12); }
.card h3 { font-size: 1.55rem; margin-bottom: 10px; position: relative; z-index: 1; }
.card p { color: var(--muted); font-size: .98rem; flex: 1; position: relative; z-index: 1; }
.card__tag { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px; position: relative; z-index: 1; }
.card__link { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; color: var(--navy); position: relative; z-index: 1; }
.card__link svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.card:hover .card__link svg { transform: translateX(5px); }

/* card com foto de capa cheia (variante — card inteiro clicável) */
.card--photo { padding: 0; text-decoration: none; }
.card__photo { position: relative; z-index: 1; aspect-ratio: 1/1; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease-out); }
.card:hover .card__photo img { transform: scale(1.08); }
.card__body { padding: 26px 30px 30px; display: flex; flex-direction: column; flex: 1; position: relative; z-index: 1; }

/* área-grid */
.area-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 20px; }
.area { background: var(--cream-paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.area:hover { border-color: var(--gold); transform: translateY(-4px); }
.area h4 { color: var(--navy); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.area p { font-size: .94rem; color: var(--muted); }
.area .cbhpm { display: inline-block; margin-top: 14px; font-size: .76rem; color: var(--gold-deep); font-weight: 700; letter-spacing: .04em; background: rgba(194,162,78,.1); padding: 4px 10px; border-radius: 6px; }

/* ---------- Como funciona (passos) ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; counter-reset: step; }
.step { position: relative; padding-top: 12px; }
.step__n { font-family: var(--serif); font-size: 1rem; font-weight: 700; color: var(--navy-deep); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); box-shadow: 0 8px 20px rgba(156,123,42,.28); margin-bottom: 20px; }
.step h4 { font-size: 1.4rem; margin-bottom: 8px; }
.step p { font-size: .96rem; color: var(--muted); }
.band-ink .step p, .band-navy .step p { color: #B9C7D6; }
.step__line { position: absolute; top: 38px; left: 64px; right: -13px; height: 1px; background: linear-gradient(90deg, var(--gold-soft), transparent); }
.step:last-child .step__line { display: none; }

/* ---------- Técnicas (split) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.tech-list { list-style: none; margin-top: 26px; display: grid; gap: 18px; }
.tech-list li { display: flex; gap: 16px; align-items: flex-start; }
.tech-list .drop { margin-top: 7px; flex: 0 0 auto; }
.tech-list b { display: block; color: var(--navy); font-size: 1.08rem; font-family: var(--serif); }
.tech-list span { color: var(--muted); font-size: .96rem; }
.band-ink .tech-list b, .band-navy .tech-list b { color: #fff; }
.band-ink .tech-list span, .band-navy .tech-list span { color: #C3D0DE; }

/* moldura de imagem com reveal */
.media-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--cream-paper); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease-out); }
.media-frame:hover img { transform: scale(1.05); }
.media-frame .ph-label { position: absolute; inset: auto 0 0 0; padding: 16px; text-align: center; font-size: .8rem; color: var(--muted); background: linear-gradient(transparent, rgba(255,255,255,.92)); }
.media-frame--bromidrose-clean {
  background: transparent;
  border: 0;
  box-shadow: none;
}
.media-frame--bromidrose-clean img {
  border-radius: inherit;
}

/* ---------- Sobre o doutor ---------- */
.about { display: grid; grid-template-columns: .82fr 1.18fr; gap: 60px; align-items: center; }
.about__photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, var(--cream-deep), var(--cream)); aspect-ratio: 3/4; box-shadow: var(--shadow-lg); display: grid; place-items: end center; border: 1px solid var(--line); }
.about__photo img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 18px 30px rgba(16,37,56,.18)); }
.about__photo .ph-label { position: absolute; inset: auto 0 0 0; color: var(--muted); font-size: .85rem; text-align: center; padding: 18px; background: linear-gradient(transparent, rgba(255,255,255,.85)); }
.about__creds { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.cred { background: var(--cream-paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 22px; display: flex; flex-direction: column; }
.cred small { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.cred b { font-family: var(--serif); font-size: 1.45rem; color: var(--navy); }

/* ---------- Depoimentos (ético) ---------- */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.tcard { background: var(--cream-paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; transition: transform .35s var(--ease-out), box-shadow .35s; }
.tcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tcard__stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; margin-bottom: 14px; }
.tcard p { font-family: var(--serif); font-size: 1.22rem; line-height: 1.5; color: var(--navy-ink); font-style: italic; flex: 1; }
.tcard__who { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.tcard__av { width: 40px; height: 40px; border-radius: 50%; background: var(--gold-grad); display: grid; place-items: center; color: var(--navy-deep); font-weight: 700; font-family: var(--serif); }
.tcard__who b { font-size: .95rem; color: var(--navy); display: block; font-family: var(--sans); }
.tcard__who small { font-size: .8rem; color: var(--muted); }

/* ---------- Hub Científico ---------- */
.articles { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 28px; }
.article-card { background: var(--cream-paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease); }
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.article-card__cover { aspect-ratio: 16/9; background: var(--gold-grad); position: relative; display: grid; place-items: center; overflow: hidden; }
.article-card__cover .drop { width: 40px; height: 40px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.2)); }
.article-card__body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.article-card__meta { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 12px; }
.article-card h3 { font-size: 1.45rem; margin-bottom: 10px; }
.article-card p { font-size: .95rem; color: var(--muted); flex: 1; }
.article-card__link { margin-top: 18px; font-weight: 700; font-size: .9rem; color: var(--navy); display: inline-flex; gap: 8px; align-items: center; }

/* ---------- CTA final ---------- */
.cta-final { color: #EFE6CE; text-align: center; position: relative; overflow: hidden;
  margin: clamp(18px, 3.2vw, 56px) clamp(16px, 3.4vw, 64px);
  border-radius: clamp(26px, 3.2vw, 46px);
  box-shadow: 0 50px 110px -34px rgba(16,32,43,.48);
  background:
    linear-gradient(rgba(16,32,43,.88), rgba(13,26,38,.9)),
    url("../img/bg-dark-1.jpg");
  background-size: cover; background-position: center; background-repeat: no-repeat; }
.cta-final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 50% 0%, rgba(194,162,78,.18), transparent 62%); }
.cta-final .container { position: relative; z-index: 1; }
.cta-final h2 { color: #fff; }
.cta-final p { color: #C7D2DD; margin: 18px auto 0; }
.cta-final .hero__actions { justify-content: center; }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 20px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; }
.info-row__icon { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; background: rgba(194,162,78,.12); display: grid; place-items: center; color: var(--gold-deep); border: 1px solid rgba(194,162,78,.25); }
.info-row__icon svg { width: 22px; height: 22px; }
.info-row h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; font-weight: 700; }
.info-row p, .info-row a { font-size: 1.05rem; color: var(--navy-ink); }
.info-row a:hover { color: var(--gold-deep); }

.wa-cards { display: grid; gap: 16px; }
.wa-card { background: var(--cream-paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; align-items: center; gap: 18px; transition: border-color .25s, transform .25s; }
.wa-card:hover { border-color: #1FAE54; transform: translateY(-3px); }
.wa-card__ic { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; background: #1FAE54; display: grid; place-items: center; color: #fff; }
.wa-card__ic svg { width: 28px; height: 28px; }
.wa-card div { flex: 1; }
.wa-card b { display: block; color: var(--navy); font-family: var(--serif); font-size: 1.25rem; }
.wa-card small { color: var(--muted); font-size: .9rem; }
.wa-card span.num { color: var(--gold-deep); font-weight: 700; font-size: .95rem; }

.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-frame iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; filter: grayscale(.3) sepia(.12); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: var(--z-float); display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
/* botão flutuante nos tons do site: grafite + borda dourada (assinatura .btn-ink) */
.wa-float__btn { display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(150deg, var(--navy), var(--navy-deep)); color: #F5EED8;
  border: 1.5px solid rgba(194,162,78,.55); padding: 14px 22px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  box-shadow: 0 16px 34px -10px rgba(16,37,56,.45);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease); }
.wa-float__btn:hover { transform: translateY(-3px); color: #fff; border-color: var(--gold);
  background: linear-gradient(150deg, var(--navy-deep), var(--ink));
  box-shadow: 0 22px 44px -12px rgba(16,37,56,.55); }
.wa-float__btn svg { width: 24px; height: 24px; color: var(--gold-soft); }
.wa-float__btn.alt { background: linear-gradient(150deg, var(--ink), var(--navy-deep)); }

/* ---------- Footer ---------- */
.footer { color: #C3D0DE; padding-block: 70px 34px; position: relative;
  margin: clamp(18px, 3.2vw, 56px) clamp(16px, 3.4vw, 64px);
  border-radius: clamp(26px, 3.2vw, 46px);
  overflow: hidden;
  box-shadow: 0 50px 110px -34px rgba(16,32,43,.48);
  background:
    linear-gradient(rgba(16,32,43,.55), rgba(13,26,38,.7)),
    url("../img/bg-dark-1.jpg") var(--navy-deep);
  background-size: cover; background-position: center; background-repeat: no-repeat; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
.footer__brand img { width: 58px; margin-bottom: 18px; }
.footer__brand p { font-size: .92rem; color: #9FB1C4; }
.footer h5 { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 18px; font-weight: 700; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { color: #C3D0DE; font-size: .94rem; }
.footer a:hover { color: var(--gold-soft); }
.footer__social { display: flex; gap: 12px; margin-top: 18px; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; color: #C3D0DE; }
.footer__social a:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.footer__social svg { width: 20px; height: 20px; }
.footer__bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .82rem; color: #8499AD; }

/* ---------- Disclaimer médico ---------- */
.med-note { font-size: .82rem; color: var(--muted); border-left: 3px solid var(--gold); padding: 12px 18px; background: rgba(194,162,78,.06); border-radius: 0 8px 8px 0; margin-top: 24px; max-width: 70ch; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* reveal de imagem com clip-path (cortina) */
.clip-reveal { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease-out); }
.clip-reveal.in { clip-path: inset(0 0 0 0); }

/* line-by-line — letras surgem espaçadas e comprimem ao revelar (editorial premium) */
.line-reveal .ln { display: block; overflow: hidden; }
.line-reveal .ln > span { display: block; transform: translateY(108%); letter-spacing: 0.12em; opacity: 0; transition: transform 1s var(--ease-out), letter-spacing 1.35s var(--ease-out), opacity .5s var(--ease-out); }
.line-reveal.in .ln > span { transform: translateY(0); letter-spacing: 0; opacity: 1; }
.line-reveal.in .ln:nth-child(2) > span { transition-delay: .14s; }
.line-reveal.in .ln:nth-child(3) > span { transition-delay: .28s; }
.line-reveal.in .ln:nth-child(4) > span { transition-delay: .42s; }

/* ---------- Skip link / a11y ---------- */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0; z-index: 200; }
.skip-link:focus { left: 0; color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Páginas internas ---------- */
.page-hero { padding-top: clamp(150px, 16vw, 200px); padding-bottom: clamp(50px, 7vw, 80px); position: relative; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 80% 0%, rgba(194,162,78,.12), transparent 60%); }
.breadcrumb { position: relative; font-size: .85rem; color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: var(--gold-deep); font-weight: 600; }
.prose { max-width: 760px; }
.prose h2 { margin: 48px 0 16px; }
.prose h3 { margin: 32px 0 12px; }
.prose p { margin-bottom: 18px; }
.prose ul, .prose ol { margin: 0 0 20px 1.2em; display: grid; gap: 8px; }
.prose li { padding-left: 4px; }
.prose blockquote { border-left: 3px solid var(--gold); padding: 8px 22px; margin: 24px 0; font-style: italic; color: var(--navy); background: rgba(194,162,78,.05); }
.refs { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.refs h3 { font-size: 1.2rem; }
.refs ol { font-size: .88rem; color: var(--muted); margin-left: 1.2em; }
.refs li { margin-bottom: 10px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details { background: var(--cream-paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 26px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--gold-soft); box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.25rem; color: var(--navy); padding: 20px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.7rem; color: var(--gold-deep); transition: transform .25s; flex: 0 0 auto; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--muted); }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .hero { padding-bottom: clamp(44px, 7vw, 78px); overflow: hidden; }
  .hero__grid { grid-template-columns: 1fr; gap: 0; align-items: center; }
  .hero__copy { padding-bottom: 0; }
  .hero__media { position: relative; width: min(54vw, 420px); max-width: 420px; margin: clamp(28px, 5vw, 52px) auto 0; display: grid; place-items: end center; }
  .hero__media-photo { position: relative; right: auto; bottom: auto; width: 100%; max-width: 100%; height: auto; margin: 0; z-index: 1; }
  .hero__art { display: none; }
  .hero__chip { display: none; }
  .hero__scroll { display: none; }
  .hero h1 { font-size: clamp(2.4rem, 8vw, 4rem); }
}
@media (max-width: 980px) {
  .split, .about, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .statement__grid { grid-template-columns: 1fr; gap: 32px; }
  .statement__photo { order: 2; max-width: 380px; }
  .split.reverse > :first-child { order: 0; }
  .about__photo { max-width: 420px; margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .step__line { display: none; }
  .enav__grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .enav__features { grid-template-columns: 1fr 1fr; gap: 20px; }
  .enav__flow { display: none; }
}
@media (max-width: 760px) {
  .container { padding-inline: 20px; }
  section { padding-block: 64px; }
  .nav { inset: 10px 10px auto 10px; padding: 10px 12px 10px 18px; z-index: var(--z-overlay); }
  .nav__brand { min-width: 0; gap: 10px; font-size: 1.08rem; }
  .nav__brand img { flex: 0 0 auto; width: 38px; height: 38px; }
  .nav__brand span { min-width: 0; }
  .nav__brand span small { font-size: .5rem; letter-spacing: .16em; }
  .nav__links { display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--cream-paper); border: 1px solid var(--line); border-radius: 20px; padding: 14px; box-shadow: var(--shadow); max-height: calc(100vh - 104px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 13px 16px; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: transparent; padding: 0 0 0 14px; min-width: 0; }
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .cursor-dot, .cursor-ring { display: none; }
  .hero { padding-top: 118px; padding-bottom: 42px; }
  .hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(158px, 42vw, 210px);
    grid-template-areas:
      "eyebrow media"
      "title media"
      "rule media"
      "auth media"
      "lead lead"
      "actions actions";
    column-gap: 8px;
    align-items: start;
  }
  .hero__copy { display: contents; }
  .hero .eyebrow,
  .hero h1,
  .hero__rule,
  .hero__auth,
  .hero__lead,
  .hero__actions { position: relative; z-index: 2; }
  .hero .eyebrow { grid-area: eyebrow; gap: 10px; font-size: .72rem; letter-spacing: .18em; line-height: 1.35; }
  .hero .eyebrow::before { width: 24px; flex: 0 0 24px; }
  .hero h1 { grid-area: title; margin-top: 14px; font-size: 1.88rem; line-height: 1.02; }
  .hero h1 .ln { overflow: visible; }
  .hero h1 .ln > span { white-space: normal; }
  .hero__auth { grid-area: auth; margin-top: 16px; padding-top: 14px; align-items: flex-start; gap: 6px 9px; font-size: .78rem; line-height: 1.45; }
  .hero__auth strong { flex: 0 0 100%; font-size: .95rem; line-height: 1.2; }
  .hero__auth .sep { margin-top: .55em; }
  .hero__rule { grid-area: rule; margin-top: 16px; }
  .hero__lead { grid-area: lead; max-width: 100%; margin-top: 24px; font-size: 1.04rem; line-height: 1.58; }
  .hero__actions { grid-area: actions; gap: 12px; }
  .hero__actions .btn { width: 100%; justify-content: center; min-height: 58px; padding-inline: 18px; text-align: center; }
  /* foto centralizada ACIMA do título — mesma composição do desktop, escalada, sem risco de sobreposição */
  .hero__media { grid-area: media; position: relative; width: clamp(158px, 42vw, 210px); max-width: none; margin: 0; justify-self: end; align-self: start; z-index: 1; overflow: visible; }
  .hero__media-photo { position: relative; right: auto; bottom: auto; display: block; width: clamp(246px, 64vw, 292px); max-width: none; height: auto; margin: 0 0 0 clamp(-58px, -13vw, -42px); z-index: 1; filter: drop-shadow(0 20px 30px rgba(16,37,56,.28)); }
  .band-ink, .cta-final, .footer { margin: 14px 10px; border-radius: 24px; }
  .enav { padding-block: 64px 46px; }
  .enav-card { min-height: 280px; padding: 26px; border-radius: 18px; }
  .enav-card::before { border-radius: 18px; }
  .enav__features { margin-top: 34px; padding-top: 28px; }
  .bigword { font-size: 5.6rem; }
  .section-head { margin-bottom: 36px; }
  .cards, .articles, .area-grid, .stats, .steps, .testimonials { grid-template-columns: 1fr; }
  .card, .tcard, .article-card__body, .area, .wa-card { padding: 24px; }
  .wa-card { align-items: flex-start; }
  .media-frame, .about__photo { border-radius: 22px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; }
  .enav__features { grid-template-columns: 1fr; }
  .wa-float__btn .lbl-full { display: none; }
  .wa-float { right: 14px; bottom: 14px; gap: 10px; }
  .wa-float__btn { width: 58px; height: 58px; padding: 0; border-radius: 50%; justify-content: center; }
  .wa-float__btn svg { width: 24px; height: 24px; }
}

@media (max-width: 380px) {
  .nav { padding: 9px 10px 9px 14px; }
  .nav__brand { font-size: 1rem; gap: 8px; }
  .nav__brand img { width: 34px; height: 34px; }
  .nav__brand span small { display: none; }
  .hero { padding-top: 108px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) 140px; column-gap: 6px; }
  .hero .eyebrow { font-size: .66rem; letter-spacing: .14em; }
  .hero h1 { font-size: 1.62rem; }
  .hero__media { width: 140px; margin-top: 0; }
  .hero__media-photo { width: 216px; margin-left: -44px; }
  .hero__lead { font-size: 1rem; }
  .hero__actions .btn { font-size: .95rem; }
}
