/* =========================================================
   Dr. Saulo Carvalho — Harmonização Orofacial
   Sistema visual v2 — editorial, escuro, dourado contido
   ========================================================= */

:root {
  --bg:      #0C0907;
  --bg-2:    #110D0A;
  --bg-3:    #18120E;
  --ink:     #F1EADD;
  --ink-2:   #BFB19C;
  --ink-3:   #857967;
  --gold:    #C9A24A;
  --gold-2:  #E2CB8A;
  --gold-3:  #8A6B2A;
  --bordo:   #4A1522;
  --line:    rgba(241, 234, 221, 0.10);
  --line-2:  rgba(241, 234, 221, 0.06);
  --line-gold: rgba(201, 162, 74, 0.32);

  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --r: 6px;

  --nav-h: 76px;
  --z-nav: 100; --z-menu: 99; --z-bar: 95; --z-lightbox: 150;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
.about__figure picture, .treat__note figure picture { height: 100%; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 400; line-height: 1.02; letter-spacing: -0.005em; text-wrap: balance; }
strong { font-weight: 600; }
em, .it { font-family: var(--font-display); font-style: italic; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 4px; }
::selection { background: var(--gold); color: var(--bg); }

/* Grão discreto — textura de papel fotográfico */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%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");
  opacity: 0.028; mix-blend-mode: overlay;
}

html { scrollbar-width: thin; scrollbar-color: var(--gold-3) var(--bg); }
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-3); border-radius: 9px; border: 3px solid var(--bg); }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--gold); color: var(--bg); padding: 0.6rem 1rem; border-radius: 4px; font-weight: 600; }
.skip:focus { top: 1rem; }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.9rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 1.4rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: var(--gold); opacity: 0.7; }
.h2 { font-size: clamp(2.4rem, 4.6vw, 4rem); color: var(--ink); margin-bottom: 1.25rem; }
.h2 em { color: var(--gold-2); }
.lead { font-size: 1.125rem; color: var(--ink-2); max-width: 56ch; }
.muted { color: var(--ink-2); }
.section-head { max-width: 680px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .lead { margin: 0; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.005em;
  border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; line-height: 1;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn:active { transform: scale(0.985); }
.btn__ico { display: inline-block; font-size: 0.95em; transition: transform 0.4s var(--ease); }
.btn:hover .btn__ico { transform: translate(2px, -2px); }
.btn--gold { background: var(--gold); color: #140F08; }
.btn--gold:hover { background: var(--gold-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn--sm { padding: 0.7rem 1.2rem; font-size: 0.85rem; }
.btn--block { width: 100%; padding-block: 1.1rem; }
.link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; font-weight: 600; color: var(--gold-2);
  border-bottom: 1px solid var(--line-gold); padding-bottom: 2px;
  transition: border-color 0.3s, color 0.3s;
}
.link:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding-inline: var(--gutter);
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), height 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  height: 64px;
  background: rgba(12, 9, 7, 0.78);
  border-color: var(--line-2);
  backdrop-filter: blur(16px) saturate(130%); -webkit-backdrop-filter: blur(16px) saturate(130%);
}
.nav__brand { display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0.005em; }
.nav__brand img { width: 38px; height: 38px; border-radius: 50%; }
.nav__links { display: flex; gap: 2rem; font-size: 0.86rem; font-weight: 500; color: var(--ink-2); }
.nav__links a { position: relative; padding: 0.3rem 0; transition: color 0.3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right 0.4s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { right: 0; }
.nav__right { display: flex; align-items: center; gap: 0.6rem; }
.nav__burger { display: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; position: relative; flex: none; }
.nav__burger span { position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; background: var(--ink); transition: transform 0.5s var(--ease); }
.nav__burger span:first-child { transform: translate(-50%, calc(-50% - 3px)); }
.nav__burger span:last-child { transform: translate(-50%, calc(-50% + 3px)); }
.nav__burger.is-open span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.nav__burger.is-open span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: rgba(12, 9, 7, 0.96);
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem var(--gutter) 3rem;
  opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu__links { display: grid; gap: 0.2rem; }
.menu__links a {
  font-family: var(--font-display); font-size: 2.6rem; line-height: 1.2; color: var(--ink);
  padding: 0.35rem 0; border-bottom: 1px solid var(--line-2);
  opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.menu__links .menu__cta { color: var(--gold-2); border: 0; margin-top: 0.6rem; }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(1) { transition-delay: 0.08s; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: 0.14s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: 0.2s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: 0.26s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: 0.32s; }
.menu__ig { margin-top: auto; font-size: 0.9rem; color: var(--ink-2); }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100dvh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 2.5rem) 0 2.5rem;
  overflow: hidden;
  isolation: isolate;
}
.hero__photo {
  position: absolute; top: var(--nav-h); right: 0; bottom: 0; z-index: -1;
  width: min(52vw, 900px);
}
.hero__photo picture, .hero__photo img { width: 100%; height: 100%; }
.hero__photo img { object-fit: cover; object-position: 50% 0%; }
/* Degradês que fundem a fotografia ao fundo (mais confiável que mask-composite) */
.hero__photo::before, .hero__photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero__photo::before { background: linear-gradient(to right, var(--bg) 0%, rgba(12,9,7,0.85) 14%, rgba(12,9,7,0) 44%); }
.hero__photo::after { background: linear-gradient(to top, var(--bg) 0%, rgba(12,9,7,0) 22%), linear-gradient(to bottom, var(--bg) 0%, rgba(12,9,7,0) 16%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 3rem; }
.hero__copy { max-width: 640px; min-width: 0; }
.hero__title {
  font-size: clamp(3rem, 6.2vw, 5.9rem);
  line-height: 0.98;
  color: var(--ink);
  max-width: 12ch;
  margin-bottom: 1.6rem;
}
.hero__title em { color: var(--gold-2); }
.hero__lead { font-size: 1.15rem; color: var(--ink-2); max-width: 46ch; margin-bottom: 2.2rem; }
.hero__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2.8rem; }
.hero__foot { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.proof { display: inline-flex; align-items: center; gap: 1rem; color: var(--ink-2); font-size: 0.86rem; }
.proof .proof__thumbs { display: flex; }
.proof__thumbs img {
  width: 44px; height: 55px; object-fit: cover; object-position: top;
  border-radius: 3px; border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px var(--line);
  margin-left: -10px;
}
.proof__thumbs img:first-child { margin-left: 0; }
.proof strong { display: block; color: var(--ink); font-weight: 600; font-size: 0.9rem; }
.proof span { display: block; }
.proof:hover strong { color: var(--gold-2); }
.hero__cities { font-size: 0.82rem; color: var(--ink-3); margin: 0; }
.hero__cities b { color: var(--ink-2); font-weight: 500; }

/* Entrada orquestrada do hero */
.hero__copy > * { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.hero__photo { opacity: 0; transition: opacity 1.4s var(--ease); }
body.is-ready .hero__copy > * { opacity: 1; transform: none; }
body.is-ready .hero__photo { opacity: 1; }
body.is-ready .hero__copy > :nth-child(1) { transition-delay: 0.05s; }
body.is-ready .hero__copy > :nth-child(2) { transition-delay: 0.14s; }
body.is-ready .hero__copy > :nth-child(3) { transition-delay: 0.24s; }
body.is-ready .hero__copy > :nth-child(4) { transition-delay: 0.34s; }
body.is-ready .hero__copy > :nth-child(5) { transition-delay: 0.44s; }
body.is-ready .hero__photo { transition-delay: 0.1s; }

/* ---------- Ritmo das seções ---------- */
.section { padding: clamp(5rem, 9vw, 8.5rem) 0; position: relative; }
.section--tight { padding-top: clamp(3.5rem, 6vw, 5.5rem); }
.section + .section { border-top: 1px solid var(--line-2); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Sinais ---------- */
.pain__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.pain__intro { position: sticky; top: calc(var(--nav-h) + 1rem); }
.pain__intro p { color: var(--ink-2); }
.pain__bridge {
  font-family: var(--font-display); font-style: italic; font-size: 1.5rem; line-height: 1.3;
  color: var(--gold-2); margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
}
.pain__list li { padding: 1.6rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1rem 2rem; align-items: baseline; }
.pain__list li:first-child { border-top: 1px solid var(--line); }
.pain__list strong { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; line-height: 1.15; color: var(--ink); }
.pain__list span { color: var(--ink-2); font-size: 0.98rem; }

/* ---------- Tratamentos (lista editorial) ---------- */
.treat__list { border-top: 1px solid var(--line); }
.treat__row {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr) auto;
  gap: 1rem 3rem; align-items: baseline;
  padding: 2rem 0; border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding-left 0.5s var(--ease);
}
.treat__row::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: -1px; width: 0;
  background: var(--gold); transition: width 0.5s var(--ease);
}
.treat__row:hover { padding-left: 1.25rem; }
.treat__row:hover::before { width: 2px; }
.treat__row h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); color: var(--ink); }
.treat__row h3 small { display: block; font-family: var(--font-body); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-top: 0.5rem; }
.treat__row p { color: var(--ink-2); font-size: 0.98rem; max-width: 58ch; }
.treat__row .link { white-space: nowrap; }

.treat__note {
  margin-top: clamp(4rem, 7vw, 6.5rem);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.treat__note figure { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--bg-3); }
.treat__note figure img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.treat__note h3 { font-size: clamp(1.9rem, 3vw, 2.7rem); margin-bottom: 1rem; }
.treat__note p { color: var(--ink-2); margin-bottom: 1.8rem; max-width: 52ch; }
.treat__note ul { display: grid; gap: 0.5rem; margin-bottom: 2rem; }
.treat__note ul li { display: flex; gap: 0.8rem; align-items: baseline; color: var(--ink-2); font-size: 0.95rem; }
.treat__note ul li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: none; transform: translateY(-3px); }

/* ---------- Sobre ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.about__figure { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-3); }
.about__figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.about__quote {
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.45rem, 2.3vw, 1.9rem); line-height: 1.3;
  color: var(--gold-2); margin: 0 0 1.8rem; max-width: 26ch;
}
.about__copy p { color: var(--ink-2); }
.about__sign { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: grid; gap: 0.2rem; }
.about__sign b { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--ink); }
.about__sign span { font-size: 0.84rem; color: var(--ink-3); letter-spacing: 0.02em; }

/* ---------- Método ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; border-top: 1px solid var(--line); }
.steps li { padding-top: 1.6rem; position: relative; }
.steps li::before { content: ""; position: absolute; top: -1px; left: 0; width: 2.5rem; height: 1px; background: var(--gold); }
.steps__n { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--gold-2); display: block; margin-bottom: 1.2rem; }
.steps h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.steps p { color: var(--ink-2); font-size: 0.95rem; }
.method__cta { margin-top: 3.5rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.method__cta p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }

/* ---------- Resultados ---------- */
.results__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.results__head .section-head { margin-bottom: 0; }
.filters { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.filters button {
  font: inherit; font-size: 0.82rem; font-weight: 500; color: var(--ink-2);
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: 0.5rem 0.95rem; cursor: pointer; white-space: nowrap;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.filters button:hover { color: var(--ink); border-color: var(--ink-3); }
.filters button.is-active { color: var(--bg); background: var(--gold); border-color: var(--gold); }
.results__gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem 0.85rem; }
.shot, .video-card { margin: 0; }
.shot.is-hidden, .video-card.is-hidden { display: none; }
.shot a { display: block; cursor: zoom-in; border-radius: var(--r); overflow: hidden; background: var(--bg-3); position: relative; aspect-ratio: 4 / 5; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), opacity 0.4s; }
.shot a:hover img { transform: scale(1.025); }
.shot figcaption, .video-card figcaption { padding: 0.55rem 0.15rem 0.2rem; font-size: 0.78rem; color: var(--ink-3); letter-spacing: 0.01em; }
.video-card__frame { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-3); }
.video-card__frame iframe, .video-card__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card__frame video { object-fit: cover; }
.video-card figcaption strong { display: block; color: var(--ink); font-weight: 500; font-size: 0.86rem; }
.video-card figcaption span { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--ink-2); }
.video-link { display: grid; place-items: center; position: absolute; inset: 0; color: var(--gold-2); }
.results__more { display: flex; justify-content: center; margin-top: 1.5rem; }
.results__more[hidden] { display: none; }
.results__note { font-size: 0.8rem; color: var(--ink-3); max-width: 70ch; margin: 2rem 0 0; }

.results__quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 3rem; margin-top: 4rem; border-top: 1px solid var(--line); }
.quote { margin: 0; padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.stars { color: var(--gold); letter-spacing: 0.12em; font-size: 0.8rem; display: block; margin-bottom: 0.7rem; }
.quote p { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.35; color: var(--ink); }
.quote footer { font-size: 0.84rem; color: var(--ink-2); font-weight: 500; margin-top: 0.8rem; }
.quote footer small { display: block; font-weight: 400; color: var(--ink-3); }

/* ---------- Agendar ---------- */
.cta { background: var(--bg-2); }
.cta__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.cta__copy { position: sticky; top: calc(var(--nav-h) + 1rem); }
.cta__copy .lead { margin-bottom: 2rem; }
.cta__list { display: grid; border-top: 1px solid var(--line); }
.cta__list li { padding: 0.9rem 0 0.9rem 1.4rem; border-bottom: 1px solid var(--line); position: relative; color: var(--ink-2); font-size: 0.95rem; }
.cta__list li::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.cta__list li b { font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; color: var(--gold-2); }
.cta__privacy { font-size: 0.82rem; color: var(--ink-3); margin-top: 1.6rem; }

.form { display: grid; gap: 1.6rem; }
.field { display: grid; gap: 0.35rem; }
.field span { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); transition: color 0.3s; }
.field:focus-within span { color: var(--gold-2); }
.field input, .field select {
  width: 100%; padding: 0.85rem 0;
  background: transparent; color: var(--ink);
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  font: inherit; font-size: 1.15rem; font-family: var(--font-body);
  transition: border-color 0.4s var(--ease);
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23C9A24A' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.2rem center;
  padding-right: 2rem; cursor: pointer;
}
.field select:invalid { color: var(--ink-3); }
.field select option { background: var(--bg-3); color: var(--ink); }
.field input::placeholder { color: var(--ink-3); opacity: 1; }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field.is-error input, .field.is-error select { border-color: #C2545F; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form__foot { display: grid; gap: 0.8rem; margin-top: 0.4rem; }
.form__hint { font-size: 0.82rem; color: var(--ink-3); text-align: center; margin: 0; }
.form__msg { min-height: 1.2em; font-size: 0.88rem; margin: 0; color: var(--ink-2); text-align: center; }
.form__msg.is-error { color: #E08A93; }
.form__msg.is-ok { color: var(--gold-2); }
.btn.is-loading { pointer-events: none; opacity: 0.7; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--nav-h) + 1rem); }
.faq__intro p { color: var(--ink-2); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  cursor: pointer; list-style: none;
  padding: 1.35rem 3rem 1.35rem 0; position: relative;
  font-family: var(--font-display); font-size: 1.45rem; line-height: 1.25;
  transition: color 0.3s;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; position: absolute; right: 0.4rem; top: 50%;
  width: 12px; height: 12px; transform: translateY(-50%);
  background:
    linear-gradient(var(--gold), var(--gold)) center/100% 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center/1px 100% no-repeat;
  transition: transform 0.5s var(--ease);
}
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__list details[open] summary { color: var(--gold-2); }
.faq__list details p { color: var(--ink-2); padding: 0 0 1.5rem; margin: 0; max-width: 60ch; font-size: 0.98rem; }

/* ---------- Final ---------- */
.final { position: relative; overflow: hidden; isolation: isolate; background: var(--bg-2); min-height: 80vh; display: flex; align-items: center; }
.final__photo {
  position: absolute; top: 0; right: 0; bottom: 0; z-index: -1;
  width: min(50vw, 820px);
}
.final__photo picture, .final__photo img { width: 100%; height: 100%; }
.final__photo img { object-fit: cover; object-position: 50% 0%; }
.final__photo::before, .final__photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.final__photo::before { background: linear-gradient(to right, var(--bg-2) 0%, rgba(17,13,10,0.85) 16%, rgba(17,13,10,0) 48%); }
.final__photo::after { background: linear-gradient(to top, var(--bg-2) 0%, rgba(17,13,10,0) 30%), linear-gradient(to bottom, var(--bg-2) 0%, rgba(17,13,10,0) 22%); }
.final__copy { max-width: 600px; }
.final__copy .h2 { font-size: clamp(2.6rem, 5.2vw, 4.8rem); max-width: 14ch; }
.final__copy .lead { margin-bottom: 2.2rem; }
.final__actions { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { padding: 3.5rem 0 2.5rem; border-top: 1px solid var(--line-2); }
.footer__grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: start; }
.footer__brand { display: flex; gap: 1rem; align-items: center; }
.footer__brand img { width: 56px; height: 56px; border-radius: 50%; }
.footer__brand p { margin: 0; font-size: 0.88rem; color: var(--ink-2); }
.footer__brand b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; color: var(--ink); }
.footer__contact { display: flex; flex-direction: column; gap: 0.45rem; font-size: 0.88rem; color: var(--ink-2); text-align: right; }
.footer__contact a:hover { color: var(--gold-2); }
.footer__legal { grid-column: 1 / -1; font-size: 0.76rem; color: var(--ink-3); margin: 1.5rem 0 0; max-width: 90ch; padding-top: 1.5rem; border-top: 1px solid var(--line-2); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: var(--z-lightbox);
  background: rgba(12, 9, 7, 0.95);
  display: grid; place-items: center; padding: 3rem;
  opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: var(--r); transform: scale(0.97); transition: transform 0.5s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(241,234,221,.05); border: 1px solid var(--line); color: var(--ink);
  width: 3rem; height: 3rem; border-radius: 50%; cursor: pointer; font-size: 1.5rem; line-height: 1;
  display: grid; place-items: center; transition: border-color 0.3s, background 0.3s; font-family: var(--font-display);
}
.lightbox__close:hover, .lightbox__nav:hover { border-color: var(--gold); }
.lightbox__close { top: 1.2rem; right: 1.2rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 1.2rem; } .lightbox__nav--next { right: 1.2rem; }

/* ---------- Cookies / LGPD ---------- */
.cookie {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 96;
  width: min(420px, calc(100% - 2rem));
  padding: 0.9rem 1rem 0.9rem 1.2rem;
  border-radius: var(--r);
  background: rgba(24, 18, 14, 0.94); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  display: flex; gap: 1rem; align-items: center;
  transform: translateY(12px); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.cookie.is-in { transform: none; opacity: 1; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; font-size: 0.78rem; color: var(--ink-2); flex: 1; line-height: 1.45; }
.cookie a { color: var(--gold-2); border-bottom: 1px solid var(--line-gold); }
.cookie .btn { padding: 0.55rem 1rem; font-size: 0.8rem; }

/* ---------- WhatsApp (desktop) ---------- */
.wa-float {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: var(--z-bar);
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1FA855; color: #fff;
  box-shadow: 0 10px 30px -8px rgba(31,168,85,.55);
  transition: transform 0.4s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); }

/* ---------- Barra fixa (mobile) ---------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bar);
  display: none; gap: 0.6rem; align-items: center;
  padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(12, 9, 7, 0.9);
  border-top: 1px solid var(--line-2);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transform: translateY(110%); transition: transform 0.5s var(--ease);
}
.mbar.is-in { transform: none; }
.mbar .btn--gold { flex: 1; }
.mbar__wa { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #1FA855; color: #fff; flex: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3rem; }
  .treat__row { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .treat__row .link { grid-column: 2; }
}

@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  .nav__links { display: none; }
  .nav__brand span { display: none; }
  .nav__burger { display: block; }
  .nav .btn--sm { padding: 0.6rem 1rem; font-size: 0.8rem; }
  .lightbox { padding: 4.5rem 0.8rem 5rem; }
  .lightbox__nav { top: auto; bottom: 1.2rem; transform: none; }
  .cookie { bottom: calc(5.4rem + env(safe-area-inset-bottom)); }
  .wa-float { display: none; }
  .mbar { display: flex; }

  /* Hero mobile: fotografia no topo, texto entra por cima do degradê */
  .hero { display: block; padding: var(--nav-h) 0 3rem; min-height: auto; }
  .hero__photo { position: relative; top: auto; width: 100%; height: min(70vh, 600px); z-index: 0; }
  .hero__photo::before { background: none; }
  .hero__photo::after { background: linear-gradient(to top, var(--bg) 0%, rgba(12,9,7,0.6) 22%, rgba(12,9,7,0) 55%); }
  .hero__grid { grid-template-columns: 1fr; gap: 0; margin-top: -9rem; position: relative; z-index: 1; }
  .hero__title { font-size: clamp(2.7rem, 11vw, 3.6rem); max-width: none; }
  .hero__lead { font-size: 1.05rem; }
  .hero__actions .btn { width: 100%; }
  .hero__foot { gap: 1.2rem; }

  .pain__grid, .about__grid, .cta__grid, .faq__grid, .treat__note { grid-template-columns: 1fr; }
  .pain__intro, .faq__intro, .cta__copy { position: static; }
  .pain__list li { grid-template-columns: 1fr; gap: 0.35rem; padding: 1.3rem 0; }
  .pain__list strong { font-size: 1.4rem; }
  .treat__row { grid-template-columns: 1fr; gap: 0.6rem; padding: 1.6rem 0; }
  .treat__row .link { grid-column: auto; margin-top: 0.3rem; }
  .treat__row:hover { padding-left: 0; }
  .treat__note figure { aspect-ratio: 4 / 3; }
  .treat__note figure img { object-position: 60% 40%; }
  .about__figure { aspect-ratio: 4 / 4.2; }
  .steps { grid-template-columns: 1fr; gap: 0; border-top: 0; }
  .steps li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 0 1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
  .steps li::before { display: none; }
  .steps li:last-child { border-bottom: 1px solid var(--line); }
  .steps__n { font-size: 2rem; margin: 0; grid-row: 1 / 3; }
  .steps h3 { font-size: 1.35rem; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: 0.2rem; }
  .filters::-webkit-scrollbar { display: none; }
  .results__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 0.6rem; }
  .shot figcaption { font-size: 0.72rem; }
  .cta__grid { gap: 2.5rem; }
  .final { min-height: auto; display: block; padding-top: 0; }
  .final__photo { position: relative; width: 100%; height: min(60vh, 500px); z-index: 0; }
  .final__photo::before { background: none; }
  .final__photo::after { background: linear-gradient(to top, var(--bg-2) 0%, rgba(17,13,10,0.6) 24%, rgba(17,13,10,0) 55%); }
  .final__copy { margin-top: -6rem; position: relative; z-index: 1; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__contact { text-align: left; }
  .footer { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }
}

@media (max-width: 480px) {
  body { font-size: 1rem; }
  .h2 { font-size: 2.2rem; }
  .hero__photo { height: min(66vh, 560px); }
  .hero__grid { margin-top: -7rem; }
  .treat__row h3 { font-size: 1.5rem; }
  .faq__list summary { font-size: 1.25rem; }
  .final__copy .h2 { font-size: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal, .hero__copy > *, .hero__photo { opacity: 1 !important; transform: none !important; }
}
