/* ============================================================
   DRA. LIA LEÃO · ORTODONTIA — design system (v2)
   Marca: Lia Leão Odontologia Premium — creme / dourado / marrom.
   Contraste real: texto sempre sobre cor sólida, nunca sobre foto.
   Cada página tem uma cor de painel (--panel) e um ritmo próprio.
   ============================================================ */

:root {
  --bg:        #FBF8F3;
  --bg-2:      #F1E7D9;
  --surface:   #FFFFFF;
  --surface-2: #F6EEE1;
  --accent:    #9A6F3C;    /* dourado escuro — contraste AA sobre creme */
  --accent-hi: #6E4E28;
  --accent-soft:#C7A878;
  --ink:       #241F17;    /* quase preto quente */
  --ink-soft:  #3C342A;
  --muted:     #675C4C;    /* secundário — AA sobre creme */
  --line:      rgba(36, 31, 23, 0.16);
  --line-soft: rgba(36, 31, 23, 0.09);
  --cta:       #1E9E52;

  /* painéis de hero por página (default = petrol da home) */
  --panel:      #22383C;
  --panel-ink:  #FDF7EC;
  --panel-soft: #C9D6D3;
  --panel-accent:#E3C79B;

  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-body:    "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;

  --pad: clamp(20px, 5vw, 80px);
  --maxw: 1200px;
  --r: 4px;
}

/* ---- painéis por página ---- */
body[data-page="/"]                        { --panel:#22383C; --panel-ink:#FDF7EC; --panel-soft:#BFD0CC; --panel-accent:#E7CCA0; }
body[data-page="/ortodontia/"]             { --panel:#241F17; --panel-ink:#F6EEE0; --panel-soft:#B7AC99; --panel-accent:#D9B784; }
body[data-page="/ortodontia-infantil/"]    { --panel:#EFE1D3; --panel-ink:#3A2E22; --panel-soft:#8A7A67; --panel-accent:#9A6F3C; }
body[data-page="/alinhadores-invisiveis/"] { --panel:#F7F1E7; --panel-ink:#241F17; --panel-soft:#7A6E5B; --panel-accent:#9A6F3C; }
body[data-page="/sobre/"]                   { --panel:#F1E7D9; --panel-ink:#241F17; --panel-soft:#7A6E5B; --panel-accent:#9A6F3C; }
body[data-page="/contato/"]                { --panel:#2A2A2E; --panel-ink:#F4F1EC; --panel-soft:#A9A6A0; --panel-accent:#D9B784; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-weight: 400;
  font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--accent-soft); color: var(--ink); }
.wrap { max-width: var(--maxw); margin: 0 auto; }
strong { font-weight: 600; }

h1, h2, h3, .h-serif {
  font-family: var(--font-display);
  font-weight: 560; letter-spacing: -0.01em; line-height: 1.08;
  font-optical-sizing: auto;
}
em { font-style: italic; }

/* textura de filme muito sutil */
.grain {
  position: fixed; inset: -50%; width: 200%; height: 200%;
  pointer-events: none; z-index: 90; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain { 0%,100%{transform:translate(0,0)} 25%{transform:translate(-2%,1%)} 50%{transform:translate(1%,-2%)} 75%{transform:translate(2%,2%)} }
#particles { display: none; }  /* removido — não agregava */

/* ---------- preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s ease, visibility .5s;
}
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
#preloader img { width: 128px; height: auto; opacity: .0; animation: prefade 1.4s ease forwards; }
@keyframes prefade { to { opacity: 1; } }

/* ============================================================
   HEADER
   ============================================================ */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 18px var(--pad);
  transition: background .4s ease, padding .4s ease, box-shadow .4s ease;
}
#header.scrolled {
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 10px var(--pad); box-shadow: 0 1px 0 var(--line-soft);
}
/* no topo, sobre painel escuro, o header fica claro — véu garante contraste do texto */
body[data-page="/"] #header:not(.scrolled)::before,
body[data-page="/ortodontia/"] #header:not(.scrolled)::before,
body[data-page="/contato/"] #header:not(.scrolled)::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(12,20,22,.55), rgba(12,20,22,0));
}
/* logo oficial sem filtro nem recoloração (MARCA-CANONICA): sobre o painel escuro ela ganha um bloco claro */
body[data-page="/"] #header:not(.scrolled) .brand,
body[data-page="/ortodontia/"] #header:not(.scrolled) .brand,
body[data-page="/contato/"] #header:not(.scrolled) .brand { background: #FBF8F3; padding: 6px 12px; border-radius: var(--r); }
body[data-page="/"] #header:not(.scrolled) nav a,
body[data-page="/ortodontia/"] #header:not(.scrolled) nav a,
body[data-page="/contato/"] #header:not(.scrolled) nav a { color: rgba(255,255,255,.94); }
body[data-page="/"] #header:not(.scrolled) nav a:hover,
body[data-page="/ortodontia/"] #header:not(.scrolled) nav a:hover,
body[data-page="/contato/"] #header:not(.scrolled) nav a:hover,
body[data-page="/"] #header:not(.scrolled) nav a[aria-current="page"],
body[data-page="/ortodontia/"] #header:not(.scrolled) nav a[aria-current="page"],
body[data-page="/contato/"] #header:not(.scrolled) nav a[aria-current="page"] { color: #fff; }
body[data-page="/"] #header:not(.scrolled) .btn-header:not(.btn-wa),
body[data-page="/ortodontia/"] #header:not(.scrolled) .btn-header:not(.btn-wa),
body[data-page="/contato/"] #header:not(.scrolled) .btn-header:not(.btn-wa) { background: #fff; color: var(--ink); border-color: #fff; }
body[data-page="/"] #header:not(.scrolled) .nav-toggle span,
body[data-page="/ortodontia/"] #header:not(.scrolled) .nav-toggle span,
body[data-page="/contato/"] #header:not(.scrolled) .nav-toggle span { background: #fff; }

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand { transition: background .4s ease, padding .4s ease; }
.brand img { height: 44px; width: auto; }
#header.scrolled .brand img { height: 38px; }
#header nav { display: flex; gap: 22px; }
#header nav a {
  font-size: 11px; letter-spacing: .13em; text-transform: uppercase;
  font-weight: 500; color: var(--ink-soft); transition: color .3s; position: relative; white-space: nowrap;
}
#header nav a:hover, #header nav a[aria-current="page"] { color: var(--accent-hi); }
#header nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: currentColor;
}
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; z-index: 101; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }
/* menu aberto: o botão vira X escuro, visível sobre o fundo claro do menu */
.nav-toggle { position: relative; }
.nav-toggle[aria-expanded="true"] span { background: var(--ink) !important; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 16px 32px; border: 1.5px solid transparent; cursor: pointer;
  transition: all .3s ease; border-radius: var(--r);
}
.btn-solid { background: var(--accent); color: #FFF8EC; }
.btn-solid:hover { background: var(--accent-hi); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(110,78,40,.28); }
/* CTA de agendamento (WhatsApp): verde --cta com texto escuro = 4,73:1 (WCAG AA). Branco sobre #1E9E52 daria 3,46:1 */
.btn-wa, .on-panel .btn-wa, .cta-final .btn-wa { background: var(--cta); color: #241F17; border-color: var(--cta); }
.btn-wa:hover, .on-panel .btn-wa:hover, .cta-final .btn-wa:hover { background: var(--cta); color: #241F17; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(20,90,50,.30); filter: brightness(1.06); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-hi); }
.btn-header { padding: 12px 20px; font-size: 10.5px; }
.btn-xl { padding: 21px 46px; font-size: 13px; }
/* botão sobre painel escuro */
.on-panel .btn-solid { background: var(--panel-accent); color: var(--panel); }
.on-panel .btn-solid:hover { background: #fff; }
.on-panel .btn-ghost { border-color: color-mix(in srgb, var(--panel-ink) 45%, transparent); color: var(--panel-ink); }
.on-panel .btn-ghost:hover { border-color: var(--panel-ink); }

/* ============================================================
   HERO — split: painel de cor + foto. Texto NUNCA sobre foto.
   ============================================================ */
#hero { display: grid; grid-template-columns: 1.02fr 0.98fr; min-height: 100vh; }
#hero.flip { grid-template-columns: 0.98fr 1.02fr; }
#hero.flip .hero-panel { order: 2; }
.hero-panel {
  background: var(--panel); color: var(--panel-ink);
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(110px, 15vh, 170px) clamp(28px, 6vw, 86px) clamp(56px, 9vh, 96px);
}
.hero-photo { position: relative; overflow: hidden; background: var(--panel); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 18%); }
.hero-photo::after { content:""; position:absolute; inset:0; box-shadow: inset 0 0 90px rgba(0,0,0,.10); pointer-events:none; }

.hero-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--panel-accent); margin-bottom: 24px;
}
.hero-panel h1 {
  font-size: clamp(38px, 4.6vw, 64px); font-weight: 500; line-height: 1.05;
  color: var(--panel-ink); margin-bottom: 22px; text-wrap: balance;
}
.hero-panel h1 em { color: var(--panel-accent); font-style: italic; }
.hero-sub { font-size: clamp(15px, 1.35vw, 17px); color: color-mix(in srgb, var(--panel-ink) 82%, transparent); max-width: 44ch; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-proof { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; font-size: 12.5px; color: color-mix(in srgb, var(--panel-ink) 70%, transparent); }
.hero-proof .stars { color: var(--panel-accent); letter-spacing: 1px; }
.hero-proof strong { color: var(--panel-ink); font-weight: 600; }

@media (max-width: 900px) {
  #hero, #hero.flip { grid-template-columns: 1fr; min-height: auto; }
  #hero.flip .hero-panel { order: 0; }
  .hero-photo { height: 62vh; min-height: 380px; order: -1; }
  #hero.flip .hero-photo { order: -1; }
  .hero-panel { padding: 40px var(--pad) 52px; }
}

/* ============================================================
   SEÇÕES
   ============================================================ */
section { position: relative; padding: clamp(64px, 8.5vw, 120px) var(--pad); }
.bg-cream { background: var(--bg-2); }
.bg-ink { background: var(--ink); color: #F0E9DC; }
.bg-ink h2, .bg-ink h3 { color: #F7F1E5; }
.bg-ink .section-sub, .bg-ink p { color: #C9BFAE; }
.bg-ink .eyebrow { color: var(--accent-soft); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 58px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-hi); margin-bottom: 16px; display: block; }
.section-head h2 { font-size: clamp(29px, 3.9vw, 50px); font-weight: 520; line-height: 1.12; text-wrap: balance; }
.section-head h2 em { font-style: italic; color: var(--accent-hi); }
.bg-ink .section-head h2 em { color: var(--accent-soft); }
.section-sub { color: var(--muted); margin-top: 14px; max-width: 58ch; font-size: 15.5px; }
.section-head.center .section-sub { margin-inline: auto; }

/* ---------- prova (faixa) ---------- */
.prova-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border-block: 1px solid var(--line-soft); }
.prova-item { background: var(--bg); padding: 30px clamp(18px,2vw,30px); }
.prova-item strong { font-family: var(--font-display); font-size: clamp(26px, 2.7vw, 36px); font-weight: 560; color: var(--accent-hi); display: block; line-height: 1.05; margin-bottom: 6px; }
.prova-item span { font-size: 12.5px; color: var(--muted); line-height: 1.45; display: block; }
@media (max-width: 820px) { .prova-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- split (imagem + texto) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5.5vw, 80px); align-items: center; }
.split.flip .split-media { order: 2; }
.split-media { position: relative; overflow: hidden; aspect-ratio: 4/5; border-radius: var(--r); background: var(--surface-2); }
.split-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 20%); }
.split-media::after { content:""; position:absolute; inset:0; box-shadow: inset 0 0 0 1px var(--line-soft); border-radius: var(--r); }
.split-body { max-width: 480px; }
.split-body h2 { font-size: clamp(26px, 3.5vw, 42px); font-weight: 520; line-height: 1.14; margin-bottom: 16px; }
.split-body h2 em { font-style: italic; color: var(--accent-hi); }
.split-body p { color: var(--ink-soft); margin-bottom: 14px; font-size: 15.5px; }
.split-body p.section-sub { color: var(--muted); }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.flip .split-media { order: 0; }
  .split-media { aspect-ratio: 16/11; }
}

/* ---------- pullquote ---------- */
.pullquote { text-align: center; padding: clamp(64px, 11vw, 150px) var(--pad); }
.pullquote p { font-family: var(--font-display); font-style: italic; font-weight: 480; font-size: clamp(22px, 3.3vw, 42px); line-height: 1.32; max-width: 900px; margin: 0 auto; text-wrap: balance; color: var(--ink); }
.pullquote p em { color: var(--accent-hi); }
.bg-ink.pullquote p { color: #F3ECDE; }
.bg-ink.pullquote p em { color: var(--accent-soft); }
.pullquote cite { display: block; margin-top: 22px; font-style: normal; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.bg-ink.pullquote cite { color: #A99C88; }

/* ---------- stack-rows ---------- */
.stack-rows .row {
  display: grid; grid-template-columns: minmax(52px,.11fr) 1fr; gap: clamp(16px,3.5vw,48px);
  padding: clamp(22px,3.4vw,38px) 0; border-top: 1px solid var(--line-soft); align-items: start;
}
.stack-rows .row:last-child { border-bottom: 1px solid var(--line-soft); }
.stack-rows .row-n { font-family: var(--font-display); font-size: clamp(19px,2.2vw,28px); color: var(--accent); font-weight: 560; }
.stack-rows .row h3 { font-size: clamp(19px,2.3vw,26px); font-weight: 540; line-height: 1.22; margin-bottom: 8px; max-width: 26ch; }
.stack-rows .row p { color: var(--muted); font-size: 15px; max-width: 62ch; }
@media (max-width: 620px) { .stack-rows .row { grid-template-columns: 1fr; gap: 5px; } }

/* ---------- rail (trilho de serviços) ---------- */
.rail { display: flex; gap: clamp(12px,1.5vw,20px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; margin-inline: calc(var(--pad)*-1); padding-inline: var(--pad); -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { height: 3px; }
.rail::-webkit-scrollbar-thumb { background: var(--line); }
.rail-card { flex: 0 0 clamp(238px,29vw,312px); scroll-snap-align: start; border: 1px solid var(--line-soft); background: var(--surface); border-radius: var(--r); padding: 28px 26px; display: flex; flex-direction: column; transition: border-color .3s, transform .3s, box-shadow .3s; }
.rail-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 16px 36px rgba(36,31,23,.10); }
.rail-card h3 { font-size: 21px; font-weight: 540; margin-bottom: 8px; }
.rail-card p { font-size: 13.5px; color: var(--muted); flex: 1; margin-bottom: 16px; line-height: 1.6; }
.card-cta, .rail-card .servico-cta { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-hi); }
.rail-card:hover h3 { color: var(--accent-hi); }
.rail-hint { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }

/* ---------- portas (home) ---------- */
.portas { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 14px; }
.porta { position: relative; overflow: hidden; border-radius: var(--r); min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px 28px; color: #FCF4E6; isolation: isolate; transition: transform .4s ease; }
.porta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.porta::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(180deg, rgba(28,24,17,.08) 0%, rgba(28,24,17,.30) 42%, rgba(28,24,17,.86) 100%); }
.porta:hover { transform: translateY(-5px); }
.porta:hover img { transform: scale(1.05); }
.porta .p-n { font-family: var(--font-display); font-size: 13px; color: var(--accent-soft); letter-spacing: .1em; margin-bottom: 10px; }
.porta h3 { font-size: 25px; font-weight: 540; line-height: 1.14; margin-bottom: 8px; }
.porta p { font-size: 13px; color: rgba(252,244,230,.84); margin-bottom: 14px; line-height: 1.55; }
.porta .card-cta { color: #F0D6AC; }
@media (max-width: 900px) { .portas { grid-template-columns: 1fr; } .porta { min-height: 300px; } }

/* ---------- fala (vídeo vertical) ---------- */
.fala { display: grid; grid-template-columns: minmax(230px,286px) 1fr; gap: clamp(26px,5vw,64px); align-items: center; max-width: 960px; }
.fala-video { position: relative; aspect-ratio: 9/16; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #17130d; }
.fala-video video, .fala-video img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fala-video.is-still::after { content:""; position:absolute; inset:0; box-shadow: inset 0 0 0 1px var(--line); background: linear-gradient(180deg, transparent 55%, rgba(23,19,13,.3) 100%); }
.fala-body h2 { font-size: clamp(24px,3.1vw,38px); font-weight: 520; line-height: 1.16; margin-bottom: 14px; }
.fala-body h2 em { font-style: italic; color: var(--accent-hi); }
.bg-ink .fala-body h2 em { color: var(--accent-soft); }
.fala-body p { color: var(--ink-soft); margin-bottom: 13px; font-size: 15px; }
.bg-ink .fala-body p { color: #C9BFAE; }
.fala-body .transcricao { color: var(--muted); font-size: 14px; border-left: 2px solid var(--accent-soft); padding-left: 16px; font-style: italic; }
.bg-ink .fala-body .transcricao { color: #B7AC99; }
@media (max-width: 720px) { .fala { grid-template-columns: 1fr; } .fala-video { max-width: 260px; margin: 0 auto; } }

/* ---------- pessoa (quem atende) ---------- */
.pessoa { display: grid; grid-template-columns: minmax(220px,330px) 1fr; gap: clamp(28px,5vw,64px); align-items: center; max-width: 1000px; }
.pessoa-foto { aspect-ratio: 4/5; border: 1px solid var(--line); overflow: hidden; border-radius: var(--r); background: var(--surface-2); }
.pessoa-foto img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 18%); }
.pessoa-info h3 { font-size: clamp(26px,3.2vw,40px); font-weight: 520; line-height: 1.12; }
.pessoa-cargo { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-hi); margin: 10px 0 20px; font-weight: 600; }
.pessoa-cred { display: grid; gap: 9px; margin-bottom: 22px; }
.pessoa-cred li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--ink-soft); }
.pessoa-cred li::before { content: "\2726"; position: absolute; left: 0; top: 2px; color: var(--accent); font-size: 11px; }
.pessoa-info blockquote { border-left: 2px solid var(--accent); padding-left: 20px; font-family: var(--font-display); font-style: italic; font-size: clamp(17px,1.9vw,22px); line-height: 1.5; color: var(--accent-hi); }
.pessoa-info blockquote cite { display: block; margin-top: 12px; font-family: var(--font-body); font-style: normal; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) { .pessoa { grid-template-columns: 1fr; } .pessoa-foto { max-width: 300px; } }

/* ---------- método (lista editorial) ---------- */
.method-list { max-width: 900px; }
.method-list .m-item { display: grid; grid-template-columns: minmax(140px,.3fr) 1fr; gap: clamp(14px,3vw,44px); padding: clamp(18px,3vw,30px) 0; border-top: 1px solid var(--line-soft); }
.method-list .m-item:last-child { border-bottom: 1px solid var(--line-soft); }
.bg-ink .method-list .m-item { border-color: rgba(255,255,255,.12); }
.method-list .m-k { font-family: var(--font-display); font-weight: 560; font-size: clamp(16px,1.8vw,21px); line-height: 1.25; color: var(--accent-hi); }
.bg-ink .method-list .m-k { color: var(--accent-soft); }
.method-list .m-item p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.72; max-width: 56ch; }
.bg-ink .method-list .m-item p { color: #C9BFAE; }
@media (max-width: 640px) { .method-list .m-item { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- flow (linha do tempo) ---------- */
.flow { position: relative; max-width: 700px; margin-top: 4px; }
.flow .flow-step { position: relative; list-style: none; padding: 0 0 clamp(26px,4.5vw,42px) clamp(60px,7.5vw,78px); }
.flow .flow-step:last-child { padding-bottom: 0; }
.flow .flow-step::before { content:""; position:absolute; left:24px; top:10px; bottom:-10px; width:1px; background: linear-gradient(var(--accent), var(--line-soft)); }
.flow .flow-step:last-child::before { display: none; }
.flow .flow-n { position:absolute; left:0; top:0; width:49px; height:49px; border-radius:50%; display:grid; place-items:center; border:1px solid var(--accent); color:var(--accent-hi); background:var(--bg); font-family:var(--font-display); font-weight:560; font-size:18px; }
.bg-cream .flow .flow-n { background: var(--bg-2); }
.flow .flow-step h3 { font-size: clamp(19px,2.2vw,24px); font-weight: 540; line-height: 1.2; margin-bottom: 6px; }
.flow .flow-step p { color: var(--muted); font-size: 14.5px; max-width: 52ch; }
@media (max-width: 520px) { .flow .flow-step { padding-left: 52px; } .flow .flow-n { width: 42px; height: 42px; font-size: 15px; } .flow .flow-step::before { left: 20.5px; } }

/* ---------- depoimentos ---------- */
.quote-feature { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
.quote-feature .q-big { padding: clamp(28px,3.6vw,44px); border: 1px solid var(--line-soft); background: var(--surface); border-radius: var(--r); }
.quote-feature .q-big p { font-family: var(--font-display); font-size: clamp(18px,2.1vw,25px); line-height: 1.45; font-style: italic; margin-bottom: 15px; color: var(--ink); }
.quote-feature .q-col { display: flex; flex-direction: column; gap: 14px; }
.quote-feature .q-col blockquote { padding: 22px 22px; border: 1px solid var(--line-soft); background: var(--surface); border-radius: var(--r); }
.quote-feature .q-col p { font-size: 13.5px; line-height: 1.68; margin-bottom: 11px; color: var(--ink-soft); }
.quote-feature cite { font-style: normal; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-hi); }
.quote-feature .dep-stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 9px; font-size: 12px; }
@media (max-width: 820px) { .quote-feature { grid-template-columns: 1fr; } }

/* ---------- antes / depois ---------- */
.antesdepois { display: grid; gap: 16px; }
.ad-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); max-width: 720px; }
.ad-pair figure { position: relative; margin: 0; background: #efe9df; }
.ad-pair img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.ad-pair figcaption { position: absolute; top: 10px; left: 10px; font-size: 9.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; background: rgba(23,19,13,.72); color: #F3ECDE; padding: 5px 10px; border-radius: 2px; }
/* caso da menina: imagem inteira, proporção 1:1 real, sem corte nem filtro */
.caso-inteiro { position: relative; margin: 0; max-width: 680px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #efe9df; }
.caso-inteiro img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; filter: none; }
.caso-inteiro figcaption { display: block; text-align: center; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; background: #241F17; color: #F3ECDE; padding: 8px 10px; }
.ad-nota { font-size: 12px; color: var(--muted); max-width: 60ch; line-height: 1.6; }

/* ---------- comparativo (tabela) ---------- */
.compare { max-width: 780px; border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; }
.compare .c-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; }
.compare .c-row + .c-row { border-top: 1px solid var(--line-soft); }
.compare .c-row > * { padding: 16px 18px; font-size: 13.5px; }
.compare .c-head { background: var(--surface-2); font-weight: 600; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-hi); }
.compare .c-row > :first-child { font-weight: 500; color: var(--ink); border-right: 1px solid var(--line-soft); }
.compare .c-row > :nth-child(2) { border-right: 1px solid var(--line-soft); color: var(--ink-soft); }
.compare .c-row > :nth-child(3) { color: var(--ink-soft); }
@media (max-width: 620px) { .compare .c-row { grid-template-columns: 1fr; } .compare .c-row > * { border: 0 !important; } .compare .c-row + .c-row { border-top: 2px solid var(--line); } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 840px; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-family: var(--font-display); font-size: clamp(17px,2vw,22px); font-weight: 520; position: relative; transition: color .3s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 18px; color: var(--accent); font-size: 22px; font-weight: 300; transition: transform .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--accent-hi); }
.faq-item p { color: var(--muted); font-size: 14.5px; padding: 0 40px 22px 0; line-height: 1.7; }

/* ---------- CTA final / contato ---------- */
.cta-final { text-align: center; background: var(--panel); color: var(--panel-ink); }
.cta-final .section-head h2 { color: var(--panel-ink); }
.cta-final .section-head h2 em { color: var(--panel-accent); }
.cta-final .section-sub { color: color-mix(in srgb, var(--panel-ink) 78%, transparent); }
.contato-box { max-width: 640px; margin: 0 auto; }
.contato-linha { color: color-mix(in srgb, var(--panel-ink) 70%, transparent); font-size: 13.5px; margin-top: 20px; line-height: 1.7; }
.contato-linha strong { color: var(--panel-ink); }
.cta-final .btn-solid { background: var(--panel-accent); color: var(--panel); }
.cta-final .btn-solid:hover { background: #fff; }

/* ---------- contato: dados + mapa ---------- */
.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,4vw,54px); align-items: start; }
.contato-dados dl { display: grid; grid-template-columns: max-content 1fr; gap: 12px 22px; margin-bottom: 26px; }
.contato-dados dt { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-hi); font-weight: 700; padding-top: 3px; }
.contato-dados dd { font-size: 15px; color: var(--ink-soft); }
.contato-dados dd a { border-bottom: 1px solid var(--accent-soft); }
.contato-mapa { aspect-ratio: 4/3; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface-2); }
.contato-mapa iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.25) sepia(.1); }
@media (max-width: 820px) { .contato-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
footer { background: var(--ink); color: #B9AE9B; padding: 54px var(--pad) 40px; }
footer .f-top { display: flex; flex-wrap: wrap; gap: 34px 60px; justify-content: space-between; max-width: var(--maxw); margin: 0 auto; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; max-width: 300px; }
.footer-brand img { height: 42px; width: auto; align-self: flex-start; }
.footer-brand span { font-size: 12.5px; line-height: 1.65; }
.footer-nav { display: grid; gap: 9px; }
.footer-nav a { font-size: 12px; letter-spacing: .04em; }
.footer-nav a:hover { color: var(--accent-soft); }
.footer-col h4, .footer-col .f-h { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 14px; font-weight: 600; }
footer .legal { max-width: var(--maxw); margin: 32px auto 0; font-size: 11px; line-height: 1.65; color: #B9AE9B; border-top: 1px solid rgba(255,255,255,.09); padding-top: 20px; }

/* ---------- botão flutuante ---------- */
.float-cta { position: fixed; right: 20px; bottom: 20px; z-index: 120; width: 54px; height: 54px; border-radius: 50%; background: var(--cta); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(0,0,0,.26); transition: transform .3s; }
.float-cta:hover { transform: scale(1.08); }
.float-cta svg { width: 27px; height: 27px; fill: #fff; }

/* ---------- cursor ---------- */
.cursor-ring { position: fixed; top: 0; left: 0; width: 26px; height: 26px; border: 1px solid var(--accent); border-radius: 50%; pointer-events: none; z-index: 300; mix-blend-mode: multiply; transition: width .3s, height .3s, opacity .3s; will-change: transform; }
.cursor-ring.on { width: 46px; height: 46px; background: rgba(154,111,60,.08); }
@media (pointer: coarse) { .cursor-ring { display: none !important; } }

.reveal, .reveal-hero { will-change: transform, opacity; }
html.js-anim .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
html.js-anim .reveal.in { opacity: 1; transform: none; }

/* hero: entrada puramente CSS (nunca depende de JS pra ficar visível) */
.reveal-hero { opacity: 1; }
html.js-anim .reveal-hero { animation: heroUp .75s cubic-bezier(.2,.7,.2,1) both; }
html.js-anim .hero-panel h1.reveal-hero { animation-delay: .06s; }
html.js-anim .hero-sub.reveal-hero { animation-delay: .12s; }
html.js-anim .hero-ctas.reveal-hero { animation-delay: .18s; }
html.js-anim .hero-proof.reveal-hero { animation-delay: .24s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1000px) {
  #header nav { position: fixed; inset: 0 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(251,248,243,.98); backdrop-filter: blur(16px); padding: 84px var(--pad) 28px;
    transform: translateY(-101%); transition: transform .4s ease; box-shadow: 0 14px 32px rgba(36,31,23,.14); }
  #header nav.open { transform: translateY(0); }
  #header nav a { padding: 15px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; width: 100%; color: var(--ink-soft) !important; }
  #header nav a[aria-current="page"]::after { display: none; }
  .nav-toggle { display: block; }
  .btn-header { display: none; }
  .portas { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .prova-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .grain { display: none; }
  .reveal, .reveal-hero { opacity: 1 !important; transform: none !important; }
}
