/* ==========================================================================
   Dra. Débora Guedes — Harmonização Orofacial
   Base de estilos (tokens, layout, componentes, motion)
   ========================================================================== */

:root {
  --bg: #F6F1EB;
  --bg-2: #EEE6DC;
  --paper: #FBF8F4;
  --ink: #2A2421;
  --ink-soft: #6E625A;
  --accent: #A88B6A;
  --accent-2: #C9B08F;
  --accent-deep: #7D6246; /* Caramelo Profundo: acento em texto e hover sobre fundo claro (AA) */
  --dark: #1D1916;
  --dark-2: #2A2420;
  --on-dark: #F3ECE3;
  --on-dark-soft: rgba(243, 236, 227, .62);
  --line: rgba(42, 36, 33, .14);
  --line-dark: rgba(243, 236, 227, .16);
  /* Status (brandbook 04.1): Sálvia, Mel e Granada, para formulários e avisos */
  --success: #2F6B48; --success-bg: #E3EDE4;
  --warning: #8A5B14; --warning-bg: #F6EBD6;
  --error: #A3342B;   --error-bg: #F6E1DD;

  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 5vw, 72px);
  --max: 1320px;
  --section: clamp(88px, 12vw, 168px);
  --radius: 2px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--accent-deep); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 4px; }
.section--dark :focus-visible, .hero :focus-visible, .footer :focus-visible, .mobile-menu :focus-visible { outline-color: var(--accent-2); }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.01em;
  margin: 0;
}
.display { font-size: clamp(48px, 8.4vw, 132px); }
.h2 { font-size: clamp(38px, 5.4vw, 80px); }
.h3 { font-size: clamp(28px, 3vw, 42px); }
.h4 { font-size: clamp(22px, 2vw, 28px); }
em, .italic { font-style: italic; }
.h2 em, .h3 em, .display em { color: var(--accent-deep); }
.hero em, .section--dark em, .proc-card--cta em { color: var(--accent-2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-soft); max-width: 46ch; }
.muted { color: var(--ink-soft); }
p { margin: 0 0 1em; }
figure { margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section--paper { background: var(--paper); }
.section--sand { background: var(--bg-2); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark .eyebrow, .section--dark .lead, .section--dark .muted { color: var(--on-dark-soft); }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 7vw, 96px); }
.section-head--split { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.2fr 1fr; gap: 64px; }
}

/* ---------- Placeholders de mídia ---------- */
.ph {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(42,36,33,.035) 14px 15px),
    linear-gradient(160deg, #E4D9CC, #D3C4B3);
  color: var(--ink-soft);
}
.ph--dark {
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.03) 14px 15px),
    radial-gradient(ellipse at 70% 30%, #4A3E35, #1D1916 70%);
  color: var(--on-dark-soft);
}
.ph__label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  right: 16px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1.5;
}
.ph__label b { display: block; color: var(--accent-deep); font-weight: 600; }
.ph--dark .ph__label b { color: var(--accent-2); }
.ph--video .ph__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .55;
}
.ph--video .ph__play::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 21px;
  border-left: 16px solid currentColor;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}
.media { position: relative; overflow: hidden; border-radius: var(--radius); }
.media > .ph, .media > img, .media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Folga para o parallax não mostrar borda vazia ao mover a imagem */
.media > img[data-parallax] { top: -8%; height: 116%; }
.ratio-34 { aspect-ratio: 3 / 4; }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-169 { aspect-ratio: 16 / 9; }
.ratio-916 { aspect-ratio: 9 / 16; }
.ratio-11 { aspect-ratio: 1 / 1; }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 30px;
  border-radius: 100px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease);
  will-change: transform;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent-deep);
  transform: translateY(101%);
  border-radius: inherit;
  transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn__arrow { width: 16px; height: 1px; background: currentColor; position: relative; transition: width .4s var(--ease); }
.btn__arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .btn__arrow { width: 24px; }
.btn--light { --btn-bg: var(--on-dark); --btn-fg: var(--dark); }
.btn--light:hover { color: var(--paper); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { color: var(--paper); }
.section--dark .btn--ghost, .hero .btn--ghost { --btn-fg: var(--on-dark); box-shadow: inset 0 0 0 1px var(--line-dark); }

.link-line {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding-bottom: 6px;
}
.link-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform .6s var(--ease);
}
.link-line:hover::after { transform: scaleX(0); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .5s var(--ease), color .5s var(--ease), transform .5s var(--ease), box-shadow .5s;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}
.header.is-scrolled {
  background: rgba(246, 241, 235, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
body[data-hero="dark"] .header:not(.is-scrolled) { color: var(--on-dark); }

/* Logo: monograma DG trançado + nome (ver brandbook, seção 07) */
.logo { display: flex; align-items: center; gap: 14px; line-height: 1; }
.logo__mono { flex: none; width: 34px; height: auto; overflow: visible; }
.logo__rule { flex: none; width: 1px; align-self: stretch; margin: 2px 0; background: currentColor; opacity: .35; }
.logo__text { display: flex; flex-direction: column; }
.logo__name { font-family: var(--serif); font-size: 13px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; white-space: nowrap; }
.logo__tag { font-size: 9px; letter-spacing: .32em; text-transform: uppercase; opacity: .7; margin-top: 7px; white-space: nowrap; }
@media (min-width: 420px) { .logo__name { font-size: 15px; letter-spacing: .32em; } .logo__mono { width: 38px; } }
.footer .logo__mono { width: 48px; }
/* Desktop estreito: só o monograma no cabeçalho, para o menu caber em uma linha */
/* Com "Mentoria" no menu, o monograma sozinho vale até 1359px (o brandbook previa até 1279px) */
@media (min-width: 1024px) and (max-width: 1359px) { .header .logo__rule, .header .logo__text { display: none; } }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: clamp(18px, 1.8vw, 36px); list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 8px 0;
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__item--drop { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: -28px;
  min-width: 300px;
  padding: 18px 28px;
  margin-top: 14px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(29, 25, 22, .35);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__item--drop:hover .dropdown, .nav__item--drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 20px;
  transition: color .3s, padding .4s var(--ease);
}
.dropdown li:last-child a { border-bottom: 0; }
.dropdown a:hover { color: var(--accent-deep); padding-left: 6px; }

.header__cta { display: none; }
.menu-toggle { width: 44px; height: 44px; position: relative; }
.menu-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1px;
  background: currentColor;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-open .menu-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

@media (min-width: 1024px) {
  .nav { display: block; }
  .header__cta { display: inline-flex; flex: none; padding: 14px 24px; }
  .menu-toggle { display: none; }
}

/* Menu mobile */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: var(--dark);
  color: var(--on-dark);
  padding: 120px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease);
  overflow-y: auto;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); }
.menu-open .header { color: var(--on-dark) !important; background: transparent !important; box-shadow: none !important; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu a.big { display: block; font-family: var(--serif); font-size: clamp(34px, 9vw, 52px); line-height: 1.25; }
.mobile-menu .sub a { display: block; font-size: 15px; color: var(--on-dark-soft); padding: 4px 0 4px 20px; }
.mobile-menu__foot { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--on-dark);
  overflow: hidden;
  background: var(--dark);
}
.hero__media { position: absolute; inset: 0; }
.hero__media .ph { height: 120%; }
/* Retrato da Dra.: tela cheia no celular; no computador ocupa a direita e se dissolve no Café */
.hero__img { position: absolute; inset: 0; width: 100%; height: 112%; object-fit: cover; object-position: 50% 16%; }
/* Celular e tablet: retrato em cima, texto abaixo, para o título não cobrir o rosto */
@media (max-width: 899px) {
  .hero { display: block; min-height: 0; }
  .hero__media { position: relative; height: 68svh; min-height: 440px; overflow: hidden; }
  .hero__img {
    height: 125%;
    object-position: 50% 0;
    -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 80%);
            mask-image: linear-gradient(180deg, #000 45%, transparent 80%);
  }
  .hero .hero__content { margin-top: -96px; padding-top: 0; }
}
@media (min-width: 900px) {
  .hero__img {
    left: auto;
    width: 60%;
    object-position: 50% 12%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
  }
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29,25,22,.25) 0%, rgba(29,25,22,.1) 40%, rgba(29,25,22,.82) 100%);
}
.hero__content { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(48px, 8vw, 96px); padding-top: 140px; }
.hero__title { max-width: 12ch; }
.hero__row { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; margin-top: 40px; }
.hero__row .lead { color: var(--on-dark-soft); max-width: 40ch; margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.scroll-cue {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  z-index: 2;
  display: none;
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}
.scroll-cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 64px;
  margin: 18px auto 0;
  background: linear-gradient(var(--on-dark-soft), transparent);
  animation: cue 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (min-width: 900px) { .scroll-cue { display: block; } }

/* ---------- Split text ---------- */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; }
.js .split .w > span { transform: translateY(110%); transition: transform 1.3s var(--ease); transition-delay: calc(var(--i) * 70ms + 150ms); }
.js .split.is-in .w > span { transform: none; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* O recorte fica no filho: um alvo com clip-path total tem área zero e o IntersectionObserver nunca o detecta */
.js [data-reveal="mask"] { opacity: 1; transform: none; }
.js [data-reveal="mask"] > * { clip-path: inset(100% 0 0 0); transform: scale(1.15); transition: clip-path 1.4s var(--ease), transform 1.8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="mask"].is-in > * { clip-path: inset(0 0 0 0); transform: none; }

/* ---------- Manifesto ---------- */
.manifesto { text-align: center; }
.manifesto__text { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 64px); line-height: 1.18; max-width: 22ch; margin: 28px auto 0; }
.manifesto__text .word { opacity: .16; transition: opacity .3s; }
.manifesto__text .word.is-lit { opacity: 1; }
.no-scrub .manifesto__text .word { opacity: 1; }

/* ---------- Mapa facial ---------- */
.facemap { display: grid; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (min-width: 960px) { .facemap { grid-template-columns: 1.05fr 1fr; } }
.facemap__stage { position: relative; max-width: 520px; width: 100%; margin: 0 auto; color: var(--ink); }
.facemap__stage::before {
  content: "";
  position: absolute;
  inset: 8% 4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(201,176,143,.32), transparent);
  filter: blur(10px);
}
.face { position: relative; width: 100%; height: auto; overflow: visible; }
/* --k = fator de zoom do mapa (1 no rosto inteiro); traços e textos compensam o zoom */
.face { --k: 1; }
.face__lines path { stroke: currentColor; stroke-width: calc(1.15px / var(--k)); fill: none; stroke-linecap: round; stroke-linejoin: round; }
.face__guides line { stroke: var(--accent); stroke-width: calc(.7px / var(--k)); stroke-dasharray: calc(2px / var(--k)) calc(6px / var(--k)); opacity: .55; }
.face__guides text { font-family: var(--sans); font-size: calc(7px / var(--k)); letter-spacing: .2em; fill: var(--accent-deep); }
.face__lines .t { stroke-width: calc(.8px / var(--k)); opacity: .55; }
/* Cor, luz e sombra do rosto ficam no próprio SVG (main.js); aqui só a coreografia:
   os traços se desenham, a cor entra e os contornos ficam mais leves */
.js .face__fills { opacity: 0; transition: opacity 1.8s var(--ease) 1.2s; }
.js .is-drawn .face__fills { opacity: 1; }
.js .face__lines { transition: opacity 1.6s var(--ease) 2.6s; }
.js .is-drawn .face__lines { opacity: .55; }
.js .face__lines path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--ease); }
.js .face__guides { opacity: 0; transition: opacity 1.4s 1.6s; }
.js .is-drawn .face__lines path { stroke-dashoffset: 0; }
.js .is-drawn .face__guides { opacity: 1; }

.spot { cursor: pointer; outline: none; }
.spot__dot { fill: var(--accent); transform-box: fill-box; transform-origin: center; transition: transform .4s var(--ease), fill .3s; }
.spot__ring { fill: none; stroke: var(--accent); stroke-width: calc(.8px / var(--k)); transform-box: fill-box; transform-origin: center; animation: ring 2.8s var(--ease) infinite; }
.spot__hit { fill: transparent; }
.spot__label {
  font-family: var(--sans);
  font-size: calc(9px / var(--k));
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  fill: var(--ink);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.spot:hover .spot__label, .spot:focus-visible .spot__label, .spot.is-active .spot__label { opacity: 1; }
.spot:hover .spot__dot, .spot:focus-visible .spot__dot, .spot.is-active .spot__dot { transform: scale(1.55); fill: var(--ink); }
.spot.is-active .spot__ring { stroke: var(--ink); }
.js .face .spot { opacity: 0; transition: opacity .8s var(--ease); transition-delay: calc(var(--i) * 90ms + 2s); }
.js .is-drawn .face .spot { opacity: 1; }
.face .spot.is-dim { opacity: .25 !important; }
@keyframes ring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }

.facemap__panel { position: relative; min-height: 360px; }
.facemap__panel .eyebrow { margin-bottom: 24px; }
.facemap__region { font-family: var(--serif); font-size: clamp(40px, 5vw, 72px); line-height: 1; }
.facemap__desc { margin-top: 20px; color: var(--ink-soft); max-width: 42ch; min-height: 3.3em; }
.facemap__procs { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.facemap__procs li { border-bottom: 1px solid var(--line); }
.facemap__procs a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-family: var(--serif);
  font-size: 24px;
  transition: padding .5s var(--ease), color .3s;
}
.facemap__procs a:hover { padding-left: 10px; color: var(--accent-deep); }
.facemap__procs a span { font-family: var(--sans); font-size: 18px; transition: transform .5s var(--ease); }
.facemap__procs a:hover span { transform: translateX(-6px); }
.facemap__panel.is-swapping .swap { opacity: 0; transform: translateY(10px); }
.swap { transition: opacity .35s var(--ease), transform .45s var(--ease); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.chip {
  padding: 9px 16px;
  border-radius: 100px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 12px;
  letter-spacing: .04em;
  transition: background .3s, color .3s, box-shadow .3s;
}
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip.is-active { background: var(--ink); color: var(--paper); box-shadow: none; }

/* ---------- Cards de procedimentos ---------- */
.procs-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .procs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .procs-grid { grid-template-columns: repeat(3, 1fr); } .procs-grid > :nth-child(4), .procs-grid > :nth-child(5) { grid-column: span 1; } }
.proc-card { position: relative; display: block; color: var(--ink); }
.proc-card .media { aspect-ratio: 4 / 5; }
.proc-card .media > .ph, .proc-card .media > img { transition: transform 1.4s var(--ease); }
.proc-card:hover .media > .ph, .proc-card:hover .media > img { transform: scale(1.06); }
.proc-card__num { position: absolute; top: 18px; left: 20px; z-index: 2; font-size: 11px; letter-spacing: .2em; color: var(--ink-soft); }
.proc-card__body { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 0 6px; border-bottom: 1px solid var(--line); }
.proc-card__title { font-family: var(--serif); font-size: 30px; line-height: 1.05; }
.proc-card__sub { font-size: 14px; color: var(--ink-soft); margin-top: 8px; }
.proc-card__go {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line);
  display: grid;
  place-items: center;
  transition: background .4s, color .4s, transform .6s var(--ease);
}
.proc-card:hover .proc-card__go { background: var(--ink); color: var(--paper); transform: rotate(-45deg); }
.proc-card--cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  min-height: 320px;
  padding: 36px;
  background: var(--dark);
  color: var(--on-dark);
}
.proc-card--cta p { color: var(--on-dark-soft); }
/* Card só de texto: número, título, descrição e regiões; no hover vira Café */
.proc-card--text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: 320px;
  padding: 32px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: var(--radius);
  transition: background .6s var(--ease), color .6s var(--ease), box-shadow .6s var(--ease);
}
.proc-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.proc-card--text .proc-card__num { position: static; font-family: var(--serif); font-style: italic; font-size: 56px; line-height: 1; letter-spacing: 0; color: var(--accent-deep); transition: color .6s var(--ease); }
.proc-card--text .proc-card__body { display: block; padding: 0; border-bottom: 0; }
.proc-card--text .proc-card__title { font-size: clamp(30px, 2.6vw, 38px); }
.proc-card--text .proc-card__sub { margin: 10px 0 0; transition: color .6s var(--ease); }
.proc-card__areas { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); transition: color .6s var(--ease), border-color .6s var(--ease); }
.proc-card--text:hover { background: var(--dark); color: var(--on-dark); box-shadow: none; }
.proc-card--text:hover .proc-card__num { color: var(--accent-2); }
.proc-card--text:hover .proc-card__sub, .proc-card--text:hover .proc-card__areas { color: var(--on-dark-soft); }
.proc-card--text:hover .proc-card__areas { border-color: var(--line-dark); }
.proc-card--text .proc-card__go { font-size: 20px; font-weight: 300; }
.proc-card--text:hover .proc-card__go { background: var(--on-dark); color: var(--dark); box-shadow: none; transform: rotate(90deg); }
.proc-card--text:focus-visible { outline-color: var(--accent-deep); }
/* Destaque ao chegar pelo mapa facial */
.proc-card--text.is-flash { animation: card-flash 1.4s var(--ease); }
@keyframes card-flash {
  0% { box-shadow: inset 0 0 0 1px var(--line), 0 0 0 0 rgba(125, 98, 70, .45); }
  40% { box-shadow: inset 0 0 0 1px var(--accent-deep), 0 0 0 10px rgba(125, 98, 70, 0); }
  100% { box-shadow: inset 0 0 0 1px var(--line), 0 0 0 0 rgba(125, 98, 70, 0); }
}

/* ---------- Minicard do procedimento (<dialog>) ---------- */
.proc-modal { padding: 0; border: 0; width: min(600px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); background: transparent; color: var(--ink); overflow: visible; }
.proc-modal::backdrop { background: rgba(29, 25, 22, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.proc-modal[open] { animation: modal-in .55s var(--ease) both; }
.proc-modal[open]::backdrop { animation: backdrop-in .55s var(--ease) both; }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
.proc-modal__inner { position: relative; max-height: calc(100dvh - 32px); overflow-y: auto; padding: clamp(32px, 5vw, 56px); background: var(--paper); border-radius: var(--radius); box-shadow: 0 40px 80px -40px rgba(29, 25, 22, .6); }
.proc-modal__close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, color .3s; }
.proc-modal__close span { position: absolute; left: 14px; right: 14px; top: 50%; height: 1px; background: currentColor; }
.proc-modal__close span:first-child { transform: rotate(45deg); }
.proc-modal__close span:last-child { transform: rotate(-45deg); }
.proc-modal__close:hover { background: var(--ink); color: var(--paper); }
.proc-modal__title { margin-top: 16px; padding-right: 48px; font-size: clamp(36px, 5vw, 52px); }
.proc-modal__lead { margin: 18px 0 0; max-width: 46ch; font-size: 17px; color: var(--ink-soft); }
.proc-modal__label { margin: 32px 0 12px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.proc-modal__areas { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.proc-modal__areas li { padding: 8px 14px; border-radius: 100px; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; }
.proc-modal__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 32px 0 0; border-top: 1px solid var(--line); }
.proc-modal__facts div { padding: 16px 12px 0 0; }
.proc-modal__facts dt { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.proc-modal__facts dd { margin: 6px 0 0; font-family: var(--serif); font-size: 22px; line-height: 1.15; }
.proc-modal__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 36px; }
.modal-open, .modal-open body { overflow: hidden; }
@media (max-width: 520px) { .proc-modal__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Antes e depois ---------- */
.ba {
  --pos: 50%;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  user-select: none;
  touch-action: pan-y;
  background: var(--bg-2);
}
.ba__layer { position: absolute; inset: 0; }
.ba__layer .ph { position: absolute; inset: 0; }
.ba__layer img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; pointer-events: none; }
.ba__before .ph { background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(42,36,33,.04) 14px 15px), linear-gradient(160deg, #D6CABD, #C4B4A3); }
.ba__after .ph { background: repeating-linear-gradient(45deg, transparent 0 14px, rgba(42,36,33,.03) 14px 15px), linear-gradient(160deg, #EAE1D6, #DCCDBC); }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__after .ph__label { text-align: right; }
.ba__tag {
  position: absolute;
  top: 16px;
  z-index: 3;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(251, 248, 244, .85);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  pointer-events: none;
}
.ba__tag--l { left: 16px; }
.ba__tag--r { right: 16px; }
.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  z-index: 3;
  width: 1px;
  background: var(--paper);
  pointer-events: none;
}
.ba__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.35);
  display: grid;
  place-items: center;
  transition: transform .4s var(--ease);
}
.ba__knob::before, .ba__knob::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.ba__knob::before { left: 15px; transform: rotate(-45deg); }
.ba__knob::after { right: 15px; transform: rotate(135deg); }
.ba:hover .ba__knob { transform: scale(1.08); }
.ba__range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
}
.ba-caption { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.ba-caption strong { font-family: var(--serif); font-size: 22px; font-weight: 400; }
.ba-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .ba-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ba-grid--3 { grid-template-columns: repeat(3, 1fr); } }
/* Galeria geral de antes e depois */
.gallery__filters { margin: 0 0 40px; }
.gallery { display: grid; gap: 32px 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gallery__item[hidden] { display: none; }
.gallery__item.is-filtered-in { animation: gallery-in .7s var(--ease) both; }
@keyframes gallery-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.note { font-size: 12px; color: var(--ink-soft); margin-top: 18px; }
.section--dark .note { color: var(--on-dark-soft); }

/* ---------- Arte e ciência ---------- */
.art { display: grid; gap: clamp(24px, 5vw, 96px); }
@media (min-width: 960px) { .art { grid-template-columns: 1fr 1.1fr; align-items: end; } }
.art .lead { margin: 0 0 16px; }
.art__principles { position: relative; display: grid; gap: 0; margin-top: clamp(48px, 7vw, 96px); }
@media (min-width: 900px) { .art__principles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.art__bar { position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: var(--accent); transform-origin: left; }
.js .art__bar { transform: scaleX(0); transition: transform 1.8s var(--ease) .3s; }
.js .art__principles.is-in .art__bar { transform: scaleX(1); }
.art__principle { padding: 32px 0; border-top: 1px solid var(--line); }
.art__principle span { display: block; margin-bottom: 24px; font-family: var(--serif); font-style: italic; font-size: 56px; line-height: 1; color: var(--accent-deep); }
.art__principle h3 { margin-bottom: 12px; font-size: 30px; }
.art__principle p { margin: 0; max-width: 36ch; color: var(--ink-soft); }

/* ---------- Plano integrado: camadas alinhadas ao texto ---------- */
/* Cada linha = faixa da camada (à esquerda) + texto (à direita). A faixa tem a altura do texto,
   então o corte inteiro acompanha a lista, sem espaço sobrando. */
.strata { --band-col: 64px; --probe-x: 30px; position: relative; }
@media (min-width: 640px) { .strata { --band-col: 112px; --probe-x: 40px; } }
@media (min-width: 960px) { .strata { --band-col: minmax(0, .7fr); --probe-x: 64px; } }
.strata__row { display: grid; grid-template-columns: var(--band-col) minmax(0, 1fr); column-gap: clamp(20px, 4vw, 64px); outline-offset: -2px; }
.strata__band {
  position: relative;
  margin-top: -11px; /* encaixa na onda da camada de cima */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 12' preserveAspectRatio='none'%3E%3Cpath d='M0 6 C100 -2 300 14 400 6 V12 H0 Z'/%3E%3C/svg%3E") top / 100% 12px no-repeat, linear-gradient(#000, #000) 0 11px / 100% calc(100% - 11px) no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 12' preserveAspectRatio='none'%3E%3Cpath d='M0 6 C100 -2 300 14 400 6 V12 H0 Z'/%3E%3C/svg%3E") top / 100% 12px no-repeat, linear-gradient(#000, #000) 0 11px / 100% calc(100% - 11px) no-repeat;
  transition: opacity .6s var(--ease), transform 1.1s var(--ease);
}
.strata__row:first-of-type .strata__band { margin-top: 0; -webkit-mask: none; mask: none; border-radius: var(--radius) var(--radius) 0 0; }
.strata__row:last-of-type .strata__band { border-radius: 0 0 var(--radius) var(--radius); }
/* Texturas: brilho e poros, fibras de colágeno, lóbulos de gordura, fibras musculares, cortical e trabéculas */
.strata__band--pele { background: radial-gradient(circle, rgba(196, 140, 118, .22) 0 1px, transparent 1.6px) 0 0 / 12px 12px, linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 45%), #F1E2D3; }
.strata__band--derme { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='14'%3E%3Cpath d='M0 7 q12.5 -5 25 0 t25 0 t25 0 t25 0' fill='none' stroke='%23C48C76' stroke-opacity='.6' stroke-width='1.2'/%3E%3C/svg%3E") 0 0 / 100px 14px, #E2C2AE; }
.strata__band--gordura { background: radial-gradient(circle at 22px 22px, #F3DFB8 0 14px, #D5AF76 14.5px 15.5px, transparent 16px) 0 0 / 44px 44px, radial-gradient(circle at 22px 22px, #F3DFB8 0 14px, #D5AF76 14.5px 15.5px, transparent 16px) 22px 22px / 44px 44px, #EBD3A8; }
.strata__band--musculo { background: repeating-linear-gradient(62deg, rgba(139, 74, 59, .6) 0 2px, transparent 2px 11px), #A9614E; }
.strata__band--osso { background: linear-gradient(#D3C3AB, #D3C3AB) 0 11px / 100% 5px no-repeat, radial-gradient(circle, #CDBDA6 0 2.2px, transparent 2.6px) 0 0 / 16px 14px, radial-gradient(circle, #CDBDA6 0 2.2px, transparent 2.6px) 8px 7px / 16px 14px, #E9DFCF; }
/* Entrada: do osso (embaixo) para a superfície */
.js .strata__band { opacity: 0; transform: translateY(24px); transition-delay: calc((4 - var(--i)) * 130ms); }
.js .strata.is-drawn .strata__band { opacity: 1; transform: none; }
.strata.is-ready .strata__band { transition-delay: 0s; }
/* Camada em destaque: as outras ficam mais apagadas */
.strata.has-active .strata__row:not(.is-active) .strata__band,
.js .strata.is-drawn.has-active .strata__row:not(.is-active) .strata__band { opacity: .5; }
/* Linha de profundidade: desce do topo até o meio da camada ativa */
.strata__probe { position: absolute; top: 0; left: var(--probe-x); z-index: 2; width: 2px; height: 0; background: #1D1916; opacity: 0; pointer-events: none; transition: height .9s var(--ease), opacity .5s var(--ease); }
.strata.has-active .strata__probe { opacity: 1; }
.strata__probe::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; border: 1.5px solid #1D1916; background: radial-gradient(circle, #1D1916 0 3px, transparent 3.5px); animation: probe-ring 2.4s var(--ease) infinite; }
@keyframes probe-ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(29, 25, 22, .35); } 50% { box-shadow: 0 0 0 7px rgba(29, 25, 22, 0); } }

/* Texto de cada camada */
.layer-item { padding: 32px 0; border-bottom: 1px solid var(--line-dark); cursor: default; transition: padding .5s var(--ease); }
.strata__row:first-of-type .layer-item { border-top: 1px solid var(--line-dark); }
.layer-item__head { display: flex; align-items: baseline; gap: 18px; }
.layer-item__num { font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 1; color: var(--accent); }
.layer-item h3 { font-size: clamp(26px, 2.6vw, 34px); transition: color .3s; }
.layer-item__tag { margin: 10px 0 0 46px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-soft); }
.layer-item p:not(.layer-item__tag) { margin: 12px 0 0 46px; max-width: 50ch; color: var(--on-dark-soft); }
.layer-item__treat { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0 46px; }
.layer-item__treat a { padding: 7px 14px; border-radius: 100px; box-shadow: inset 0 0 0 1px var(--line-dark); font-size: 12px; transition: background .3s, color .3s; }
.layer-item__treat a:hover { background: var(--on-dark); color: var(--dark); }
.strata__row.is-active .layer-item { padding-left: 12px; }
.strata__row.is-active h3 { color: var(--accent-2); }
@media (max-width: 639px) {
  .layer-item__tag, .layer-item p:not(.layer-item__tag), .layer-item__treat { margin-left: 0; }
}
.layers__close { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; margin-top: clamp(48px, 7vw, 96px); padding-top: 32px; border-top: 1px solid var(--line-dark); }
.layers__close p { margin: 0; max-width: 34ch; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; color: var(--on-dark); }

/* ---------- Sobre ---------- */
.about { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (min-width: 960px) { .about { grid-template-columns: .9fr 1.1fr; } }
.about__media { position: relative; }
.about__media .media { aspect-ratio: 4 / 5; }
.about__badge {
  position: absolute;
  right: -12px;
  bottom: 40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--paper);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.2;
  padding: 18px;
  box-shadow: 0 20px 50px -24px rgba(0,0,0,.3);
}
.about__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.about__badge .about__badge-mono { position: static; width: 40px; height: auto; animation: none; color: var(--ink); }
.about__badge svg text { font-family: var(--sans); font-size: 8.2px; letter-spacing: .32em; text-transform: uppercase; fill: var(--ink-soft); }
@keyframes spin { to { transform: rotate(360deg); } }
.creds { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid var(--line); }
.creds li { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.creds span { font-size: 11px; letter-spacing: .2em; color: var(--accent-deep); padding-top: 4px; min-width: 28px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.stat__num { font-family: var(--serif); font-size: clamp(40px, 5vw, 64px); line-height: 1; }
.stat__label { font-size: 12px; color: var(--ink-soft); margin-top: 8px; }

/* ---------- Jornada ---------- */
.journey { display: grid; gap: 0; counter-reset: step; position: relative; }
@media (min-width: 900px) { .journey { grid-template-columns: repeat(4, 1fr); } }
.journey__step { position: relative; padding: 36px 28px 36px 0; border-top: 1px solid var(--line-dark); }
.journey__step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 28px;
  font-style: italic;
}
.journey__step h3 { font-size: 28px; margin-bottom: 14px; }
.journey__step p { color: var(--on-dark-soft); font-size: 15px; margin: 0; }
.journey__bar { position: absolute; top: 0; left: 0; height: 1px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); z-index: 1; }
.no-scrub .journey__bar { transform: scaleX(1); }
.section--sand .journey__step, .section--paper .journey__step, .timeline .journey__step { border-top-color: var(--line); }
.section--sand .journey__step::before, .section--paper .journey__step::before, .timeline .journey__step::before { color: var(--accent-deep); }
.timeline .journey__step p { color: var(--ink-soft); }

/* ---------- Depoimentos ---------- */
.testimonials { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; scrollbar-width: thin; }
.testimonial {
  flex: 0 0 min(86%, 420px);
  scroll-snap-align: start;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  padding: 32px;
  background: var(--paper);
  border-radius: var(--radius);
}
.testimonial .media { aspect-ratio: 9 / 12; }
.testimonial blockquote { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.35; }
.testimonial cite { font-style: normal; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Opiniões (Doctoralia) ---------- */
.reviews { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (min-width: 900px) { .reviews { grid-template-columns: .8fr 1.2fr; } }
.reviews__score { padding: 40px 36px; background: var(--paper); border-radius: var(--radius); }
.reviews__num { margin: 0; font-family: var(--serif); font-size: clamp(72px, 9vw, 112px); line-height: 1; }
.reviews__stars { margin: 12px 0 0; font-size: 22px; letter-spacing: .2em; color: var(--accent-deep); }
.reviews__count { margin: 10px 0 32px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.reviews__themes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.reviews__themes li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.reviews__themes span { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1; color: var(--accent-deep); }
.reviews__themes h3 { font-size: clamp(24px, 2.2vw, 30px); }
.reviews__themes p { margin: 10px 0 0; color: var(--ink-soft); max-width: 48ch; }
.reviews__widget { margin-top: 48px; }
.reviews__widget:empty { display: none; }

/* ---------- Locais ---------- */
.locations { display: grid; gap: 20px; }
@media (min-width: 860px) { .locations { grid-template-columns: 1fr 1fr; } }
.location { display: grid; gap: 22px; padding: 28px; background: var(--paper); }
.location .media { aspect-ratio: 16 / 10; }
.location h3 { font-size: 40px; }
.location dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 0; font-size: 14px; }
.location dt { color: var(--ink-soft); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; padding-top: 3px; }
.location dd { margin: 0; }
.location { gap: 14px; padding: 36px; }
.location .muted { margin: 0; max-width: 40ch; }
.location__phone { justify-self: start; margin: 12px 0 8px; font-family: var(--serif); font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; transition: color .3s; }
.location__phone:hover { color: var(--accent-deep); }
.location .link-line { justify-self: start; }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; overflow: hidden; }
.cta-final .display { max-width: 14ch; margin: 28px auto 48px; }
.marquee { display: flex; overflow: hidden; white-space: nowrap; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 22px 0; margin-top: clamp(64px, 10vw, 128px); }
.marquee__track { display: flex; flex: none; gap: 48px; padding-right: 48px; animation: marquee 38s linear infinite; font-family: var(--serif); font-size: clamp(28px, 3.4vw, 48px); font-style: italic; color: var(--on-dark-soft); }
.marquee__track span::after { content: "✦"; font-style: normal; font-size: .4em; vertical-align: middle; margin-left: 48px; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--on-dark-soft); padding: 72px 0 36px; font-size: 14px; border-top: 1px solid var(--line-dark); }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 860px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer .logo { color: var(--on-dark); }
.footer h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 18px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--on-dark); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 12px; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  box-shadow: 0 16px 40px -16px rgba(0,0,0,.5);
  transform: scale(0);
  transition: transform .6s var(--ease), background .3s;
}
.wa-float.is-visible { transform: scale(1); }
.wa-float:hover { background: var(--accent-deep); }
.wa-float svg { width: 24px; height: 24px; }

/* ---------- Cursor customizado ---------- */
.cursor { display: none; }
@media (pointer: fine) {
  .has-cursor .cursor {
    display: grid;
    place-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    border-radius: 50%;
    background: var(--accent);
    pointer-events: none;
    mix-blend-mode: multiply;
    transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s;
  }
  .has-cursor .cursor.is-hover { width: 48px; height: 48px; margin: -24px 0 0 -24px; background: rgba(168, 139, 106, .25); }
  .has-cursor .cursor.is-label { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--ink); mix-blend-mode: normal; }
  .cursor__text { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--paper); opacity: 0; transition: opacity .2s; }
  .cursor.is-label .cursor__text { opacity: 1; }
}

/* ==========================================================================
   Páginas de procedimento
   ========================================================================== */
.p-hero { padding: 150px 0 var(--section); }
.breadcrumb { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 40px; }
.breadcrumb a:hover { color: var(--ink); }
.p-hero__grid { display: grid; gap: 48px; align-items: end; }
@media (min-width: 960px) { .p-hero__grid { grid-template-columns: 1.15fr .85fr; gap: 80px; } }
.p-hero__media .media { aspect-ratio: 4 / 5; }
.p-hero .lead { margin-top: 28px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); margin-top: 48px; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { padding: 22px 16px 22px 0; border-bottom: 1px solid var(--line); }
.fact dt { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.fact dd { margin: 8px 0 0; font-family: var(--serif); font-size: 26px; line-height: 1.1; }

.p-video { display: grid; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (min-width: 960px) { .p-video { grid-template-columns: 1fr 1fr; } }
.p-video .media { aspect-ratio: 16 / 10; }
/* Sem vídeo/foto: topo só com texto e "Como funciona" em duas colunas de texto */
@media (min-width: 960px) { .p-hero__grid--solo { grid-template-columns: minmax(0, 1fr); } }
.p-hero__grid--solo .lead { max-width: 52ch; }
.p-video--text { align-items: start; }
.indications__label { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
@media (min-width: 960px) { .p-video--text .indications__label { margin-top: 8px; } }
.indications { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.indications li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 16px; }
.indications li::before { content: "—"; color: var(--accent-deep); }
.section--dark .indications li::before { color: var(--accent); }
.section--dark .indications, .section--dark .indications li { border-color: var(--line-dark); }

/* Mapa aprofundado */
.deepmap { display: grid; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (min-width: 960px) {
  .deepmap { grid-template-columns: 1fr 1fr; }
  .deepmap__stage { position: sticky; top: 110px; }
}
.deepmap__stage { max-width: 480px; width: 100%; margin: 0 auto; }
.zones { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.zone { border-bottom: 1px solid var(--line); padding: 28px 0; cursor: default; transition: padding .5s var(--ease); }
.zone__head { display: flex; align-items: baseline; gap: 18px; }
.zone__num { font-size: 11px; letter-spacing: .2em; color: var(--accent-deep); }
.zone h3 { font-size: 30px; transition: color .3s; }
.zone p { margin: 12px 0 0 38px; color: var(--ink-soft); max-width: 48ch; }
.zone__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0 38px; }
.zone__meta span { font-size: 11px; letter-spacing: .08em; padding: 5px 12px; border-radius: 100px; box-shadow: inset 0 0 0 1px var(--line); }
.zone.is-active { padding-left: 12px; }
.zone.is-active h3 { color: var(--accent-deep); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 28px);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; position: relative; width: 16px; height: 16px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq__body { padding: 0 0 28px; color: var(--ink-soft); max-width: 70ch; }
.faq-wrap { display: grid; gap: 48px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 96px; } }

.next-procs { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.next-procs a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 52px);
  transition: padding .6s var(--ease), color .3s;
}
.next-procs a:hover { padding-left: 18px; color: var(--accent-2); }
.next-procs a span { font-family: var(--sans); font-size: 22px; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-reveal="mask"] > * { opacity: 1; transform: none; clip-path: none; }
  .js .split .w > span { transform: none; }
  .marquee__track { animation: none; }
}
