/* ============================================================
   Dra. Héllen Paiva — Farmacêutica Esteta
   Paleta tirada das roupas e do fundo das fotos dela:
   cacau (fundo), terracota (blazer), café (risca-de-giz), creme.
   ============================================================ */

:root {
  --cacau: #673D2D;
  --cacau-deep: #4E2C21;
  --terracota: #AA4D26;
  --terracota-luz: #C2683F;
  --cafe: #412F28;
  --ink: #1E1612;
  --creme: #F6EFE8;
  --creme-2: #EFE4D8;
  --areia: #D9C6B4;
  --cobre: #C98457;

  --fg: var(--ink);
  --muted: rgba(30, 22, 18, .62);
  --line: rgba(30, 22, 18, .16);
  --muted-light: rgba(246, 239, 232, .76);
  --cobre-claro: #E3A57C; /* cobre para texto pequeno sobre cacau (contraste AA) */
  --line-light: rgba(246, 239, 232, .18);

  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --f-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-script: "Pinyon Script", "Segoe Script", cursive;

  --gutter: clamp(16px, 3.2vw, 48px);
  --max: 1440px;
  --radius: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--creme);
  color: var(--fg);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: italic; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
::selection { background: var(--terracota); color: var(--creme); }
:focus-visible { outline: 2px solid var(--terracota); outline-offset: 4px; border-radius: 4px; }
/* nos fundos escuros/terracota o anel de foco fica creme */
.hero :focus-visible, .results :focus-visible, .journey :focus-visible, .footer :focus-visible,
.menu :focus-visible, .svc :focus-visible, .marquee :focus-visible, .lightbox :focus-visible,
.header[data-theme="light"] :focus-visible, .wa-float:focus-visible { outline-color: var(--creme); }

/* grão de filme sobre tudo */
/* grão estático: mesma textura, sem custo de animação contínua */
body::after {
  content: "";
  position: fixed; inset: 0;
  z-index: 90; pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .04em; }

.eyebrow, .sec-head, .case-tag, .info__label, .pillar__tag {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
}

/* títulos */
.title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 84px);
  line-height: .98;
  letter-spacing: -.02em;
}
.title--xl { font-size: clamp(46px, 7.4vw, 124px); }
.title em { color: var(--terracota); }
[data-theme="light"] .title em, .is-light .title em { color: var(--cobre); }

/* split por palavras */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.sw > span { display: inline-block; will-change: transform; }

/* cabeçalho de seção (régua estilo editorial) */
.sec-head {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 18px; border-top: 1px solid var(--line);
  color: var(--muted);
  margin-bottom: clamp(40px, 7vw, 96px);
}
.sec-head--light { border-color: var(--line-light); color: var(--muted-light); }

/* link sublinhado */
.link-line {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  min-width: 220px; padding: 12px 0 10px;
  font-size: 15px; font-weight: 500;
  border-bottom: 1px solid currentColor;
  position: relative;
}
.link-line .arrow { transition: transform .5s var(--ease); }
.link-line:hover .arrow { transform: translate(3px, -3px) rotate(45deg); }
.link-line::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--terracota-luz); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.link-line:hover::after { transform: scaleX(1); transform-origin: left; }
.link-line--light { color: var(--creme); }

/* ---------- preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--cacau);
  color: var(--creme);
  display: grid; place-items: center;
}
html:not(.js) .loader { display: none; }
.loader__inner { display: grid; justify-items: center; gap: 10px; }
.loader__logo { width: clamp(170px, 20vw, 260px); height: auto; }
.loader__count { position: absolute; right: var(--gutter); bottom: var(--gutter); font-family: var(--f-serif); font-size: clamp(56px, 9vw, 140px); line-height: .8; }
.loader__note { position: absolute; left: var(--gutter); bottom: var(--gutter); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); }

/* ---------- cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--terracota-luz);
  display: grid; place-items: center;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .4s;
  opacity: 0;
}
.cursor__label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--creme); opacity: 0; transition: opacity .3s; white-space: nowrap; }
.cursor.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(194, 104, 63, .35); }
.cursor.is-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--terracota); }
.cursor.is-label .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; gap: 32px;
  padding: 18px var(--gutter);
  color: var(--creme);
  transition: transform .6s var(--ease), color .5s, background-color .5s, backdrop-filter .5s;
}
.header[data-theme="dark"] { color: var(--ink); }
.header.is-scrolled { background: color-mix(in srgb, var(--hbg, #673D2D) 72%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header[data-theme="dark"].is-scrolled { --hbg: var(--creme); }
.header[data-theme="light"].is-scrolled { --hbg: #2b1d17; }
.header.is-hidden { transform: translateY(-110%); }
.header:focus-within { transform: none; }

/* logo original: branca sobre fundo escuro, marrom sobre fundo claro */
.brand { position: relative; display: inline-flex; align-items: center; margin-right: auto; }
.brand__logo { height: 38px; width: auto; transition: opacity .45s; }
.brand__logo--dark { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; }
.header[data-theme="dark"] .brand__logo--light { opacity: 0; }
.header[data-theme="dark"] .brand__logo--dark { opacity: 1; }

.nav { display: flex; gap: 28px; font-size: 14px; }
.nav a { position: relative; opacity: .82; transition: opacity .3s; }
.nav a:hover, .nav a.is-active { opacity: 1; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .5s var(--ease); transform-origin: left; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  background: var(--creme); color: var(--ink);
  transition: background .4s, color .4s, transform .4s var(--ease);
}
.pill:hover { background: var(--terracota); color: var(--creme); }
.header[data-theme="dark"] .pill { background: var(--ink); color: var(--creme); }
.header[data-theme="dark"] .pill:hover { background: var(--terracota); }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* menu mobile */
.menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--terracota); color: var(--creme);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px var(--gutter) 36px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease), visibility 0s .8s;
  visibility: hidden;
  overflow-y: auto; overscroll-behavior: contain;
}
.menu-open .menu { transition-delay: 0s; }
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-open .header { color: var(--creme); background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
.menu-open .header .brand__logo--light { opacity: 1; }
.menu-open .header .brand__logo--dark { opacity: 0; }
.menu__nav { display: grid; }
.menu__nav a {
  font-family: var(--f-serif); font-size: clamp(32px, min(12vw, 9vh), 72px); line-height: 1.12;
  border-bottom: 1px solid rgba(246, 239, 232, .25);
  display: flex; align-items: baseline; gap: 16px;
  transform: translateY(30px); opacity: 0;
  transition: transform .8s var(--ease), opacity .8s var(--ease);
}
.menu__nav a span { font-family: var(--f-sans); font-size: 12px; }
.menu-open .menu__nav a { transform: none; opacity: 1; }
.menu-open .menu__nav a:nth-child(2) { transition-delay: .05s; }
.menu-open .menu__nav a:nth-child(3) { transition-delay: .1s; }
.menu-open .menu__nav a:nth-child(4) { transition-delay: .15s; }
.menu-open .menu__nav a:nth-child(5) { transition-delay: .2s; }
.menu__foot { display: grid; gap: 10px; font-size: 15px; }

/* ---------- seções: cada uma com o próprio fundo (texto nunca fica da mesma cor do fundo) ---------- */
section, .footer { position: relative; }
.hero, .journey { background: var(--cacau); }
.results, .footer { background: var(--ink); }
.manifesto, .about, .services, .space { background: var(--creme); }
.faq { background: var(--creme-2); }

.hero, .results, .journey, .footer { color: var(--creme); }

/* ---------- HERO ---------- */
.hero {
  height: 100vh; height: 100svh; min-height: 620px;
  overflow: hidden;
  isolation: isolate;
}
.hero__glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 50% 62%, rgba(201, 132, 87, .32), transparent 70%),
    radial-gradient(90% 70% at 50% 120%, rgba(30, 22, 18, .55), transparent 70%);
}
.hero__name {
  position: absolute; left: 0; right: 0; top: clamp(70px, 11vh, 130px);
  text-align: center; z-index: 1;
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(120px, 27vw, 440px);
  line-height: .8; letter-spacing: -.045em;
  color: var(--creme);
  white-space: nowrap;
}
.hero__name .mask { padding: 0 .05em .06em; }
.hero__figure {
  position: absolute; left: 50%; bottom: 0; z-index: 2;
  height: 88svh; aspect-ratio: 854 / 1280;
  transform: translateX(-50%);
  will-change: transform;
}
.hero__cutout { width: 100%; height: 100%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 30px 60px rgba(20, 10, 6, .35)); }
.hero__front {
  position: absolute; z-index: 3;
  right: clamp(12px, 6vw, 120px); bottom: clamp(70px, 12vh, 140px);
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(64px, 11vw, 190px); line-height: .8; letter-spacing: -.03em;
  color: var(--creme);
  mix-blend-mode: normal;
  text-shadow: 0 10px 40px rgba(30, 22, 18, .25);
}
.hero__ui { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.hero__ui > * { pointer-events: auto; }
.hero__left {
  position: absolute; z-index: 4; left: var(--gutter); top: 50%;
  width: min(300px, 26vw);
  display: grid; gap: 18px;
}
.hero__left .eyebrow { color: var(--muted-light); }
.hero__lead { font-family: var(--f-serif); font-size: clamp(24px, 2.2vw, 34px); line-height: 1.08; }
.hero__lead em { color: var(--cobre); }
.hero__list {
  position: absolute; z-index: 4; right: var(--gutter); top: 50%;
  list-style: none; margin: 0; padding: 0;
  font-size: 15px; line-height: 1.7; text-align: right;
}
.hero__list span { color: var(--cobre-claro); }
.hero__bottom {
  position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: 22px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light);
}
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue i { width: 1px; height: 34px; background: var(--line-light); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--creme); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

/* ---------- MANIFESTO ---------- */
.manifesto { padding: clamp(110px, 16vw, 220px) 0 clamp(80px, 10vw, 140px); }
.manifesto__text {
  font-family: var(--f-serif);
  font-size: clamp(32px, 4.6vw, 72px);
  line-height: 1.06; letter-spacing: -.015em;
  max-width: 1240px;
  text-indent: 18%;
}
.manifesto__text .word { opacity: .16; transition: none; }
html:not(.js) .manifesto__text .word { opacity: 1; }
.pillars {
  margin-top: clamp(70px, 10vw, 140px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px);
}
.pillar { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 16px; }
.pillar__tag { color: var(--terracota); }
.pillar p { color: var(--muted); font-size: 15.5px; max-width: 38ch; }

/* ---------- ABOUT ---------- */
.about { padding: clamp(40px, 6vw, 80px) 0 clamp(110px, 14vw, 200px); }
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.about__media { position: relative; padding-bottom: 14%; }
.frame { overflow: hidden; border-radius: var(--radius); background: var(--areia); }
.frame img { width: 100%; height: 118%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5.2; width: 82%; }
.frame--small { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 3 / 4; border: 8px solid var(--creme); border-radius: calc(var(--radius) + 6px); }
.about__stamp {
  position: absolute; left: 68%; top: 5%; width: clamp(130px, 13vw, 190px); aspect-ratio: 1;
  display: grid; place-items: center;
}
.about__stamp { background: var(--creme); border-radius: 50%; padding: 4px; box-shadow: 0 14px 40px rgba(30, 22, 18, .12); }
.about__stamp img { width: 100%; height: 100%; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.about__content { padding-top: clamp(0px, 4vw, 60px); display: grid; gap: 22px; }
.about__content > p { color: var(--muted); max-width: 52ch; }
.about__content .about__lead { color: var(--fg); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; }
.creds { margin-top: 18px; border-top: 1px solid var(--line); }
.creds__row { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.creds dt { color: var(--muted); font-size: 14px; }
.creds dd { font-family: var(--f-serif); font-size: clamp(19px, 1.6vw, 24px); line-height: 1.2; text-align: right; }
.quote { margin-top: 26px; padding: 30px 0 0; }
.quote p { font-family: var(--f-serif); font-style: italic; font-size: clamp(24px, 2.3vw, 34px); line-height: 1.15; color: var(--cafe); }
.signature { margin-top: 18px; font-family: var(--f-script); font-size: clamp(40px, 4vw, 58px); line-height: 1; color: var(--terracota); }

/* ---------- MARQUEE ---------- */
.marquee {
  background: var(--terracota); color: var(--creme);
  overflow: hidden; padding: clamp(16px, 2.4vw, 30px) 0;
  position: relative; z-index: 2;
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__track span {
  font-family: var(--f-serif); font-size: clamp(48px, 8vw, 130px); line-height: 1; white-space: nowrap; letter-spacing: -.02em;
}
.marquee__track i { font-style: normal; font-size: .42em; vertical-align: middle; margin: 0 .5em; color: var(--areia); }
html:not(.js) .marquee__track { animation: marquee 30s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- RESULTADOS ---------- */
.results { padding: clamp(110px, 14vw, 200px) 0 clamp(60px, 8vw, 110px); }
.results__intro, .services__intro, .space__intro {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(30px, 5vw, 90px); align-items: end;
  margin-bottom: clamp(56px, 8vw, 110px);
}
.results__intro p, .space__intro p, .services__intro p { max-width: 42ch; font-size: 16.5px; }
.results__intro p { color: var(--muted-light); }
.services__intro p, .space__intro p { color: var(--muted); }

.ba-block { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(28px, 4vw, 70px); align-items: end; }
.ba {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 1080 / 672; background: #2b201b;
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
  cursor: ew-resize;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--creme); pointer-events: none; }
.ba__knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--creme); color: var(--ink);
  display: grid; place-items: center; font-size: 18px; letter-spacing: .1em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.ba__range { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ba:focus-within .ba__knob { outline: 2px solid var(--terracota-luz); outline-offset: 3px; }
.ba-block__info { display: grid; gap: 16px; padding-bottom: 6px; }
.case-tag { color: var(--cobre); }
.ba-block__info h3 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(34px, 3.4vw, 54px); line-height: 1; }
.ba-block__info p { color: var(--muted-light); max-width: 40ch; }

.gallery { margin-top: clamp(80px, 10vw, 140px); position: relative; }
.gallery__track {
  display: flex; gap: clamp(16px, 2vw, 28px);
  padding: 0 var(--gutter);
  width: max-content;
  will-change: transform;
}
.case { width: clamp(240px, min(27vw, 50vh), 420px); flex: none; display: grid; gap: 16px; }
.case__media {
  display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius);
  background: #2b201b; position: relative; cursor: zoom-in;
}
.case__media img, .case__media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.case__media:hover img, .case__media:hover video { transform: scale(1.05); }
.case__meta { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: baseline; border-top: 1px solid var(--line-light); padding-top: 14px; }
.case__meta span { font-size: 12px; color: var(--cobre); grid-row: span 2; }
.case__meta h3 { font-family: var(--f-serif); font-weight: 400; font-size: 26px; line-height: 1.05; }
.case__meta p { color: var(--muted-light); font-size: 14px; }
.case--cta { align-self: stretch; }
.case__cta {
  height: 100%; min-height: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius);
  background: var(--terracota); color: var(--creme);
  display: flex; flex-direction: column; justify-content: space-between; padding: clamp(24px, 2.4vw, 36px);
  transition: background .5s;
}
.case__cta:hover { background: #93401E; }
.case__cta-mono { width: 92px; height: auto; }
.case__cta strong { font-family: var(--f-serif); font-weight: 400; font-size: clamp(34px, 3vw, 46px); line-height: 1; }
.case__cta .link-line { min-width: 0; }
.gallery__progress { margin: 40px var(--gutter) 0; height: 1px; background: var(--line-light); position: relative; }
.gallery__progress i { position: absolute; inset: 0; background: var(--cobre); transform-origin: left; transform: scaleX(0); }
/* sem motion (reduced-motion ou sem JS): galeria vira rolagem horizontal nativa */
html.reduced .gallery__track, html:not(.js) .gallery__track {
  width: auto; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding-top: 8px; padding-bottom: 8px;
}
html.reduced .case, html:not(.js) .case { scroll-snap-align: start; }
html.reduced .gallery__progress, html:not(.js) .gallery__progress { display: none; }
.vid-toggle {
  margin-top: 28px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; letter-spacing: .04em; color: var(--muted); transition: border-color .3s, color .3s;
}
.vid-toggle:hover { border-color: var(--terracota); color: var(--fg); }
.disclaimer { margin-top: 40px; font-size: 12.5px; color: var(--muted-light); }

/* ---------- PROCEDIMENTOS (cards empilhados) ---------- */
.services { padding: clamp(110px, 14vw, 200px) 0 clamp(80px, 10vw, 140px); }
.stack { display: grid; gap: 28px; }
.svc {
  position: sticky; top: calc(96px + var(--i, 0) * 14px);
  min-height: min(76vh, 640px);
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 64px);
  padding: clamp(26px, 3.6vw, 56px);
  border-radius: calc(var(--radius) + 8px);
  background: var(--c); color: var(--creme);
  transform-origin: 50% 0%;
  will-change: transform;
  box-shadow: 0 -20px 60px rgba(30, 22, 18, .12);
}
.svc::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #120c09; opacity: var(--dim, 0); pointer-events: none; }
.svc__body { display: flex; flex-direction: column; gap: 22px; }
.svc__num { font-family: var(--f-serif); font-size: clamp(80px, 10vw, 160px); line-height: .8; color: rgba(246, 239, 232, .9); margin-bottom: auto; }
.svc h3 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(40px, 4.6vw, 76px); line-height: .95; letter-spacing: -.015em; }
.svc p { color: rgba(246, 239, 232, .94); max-width: 44ch; font-size: 16px; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; padding: 6px 14px; border: 1px solid rgba(246, 239, 232, .32); border-radius: 999px; }
.svc .link-line { align-self: flex-start; }
.svc__media { border-radius: var(--radius); overflow: hidden; min-height: 280px; position: relative; }
.svc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- JORNADA ---------- */
.journey { padding: clamp(110px, 14vw, 200px) 0; overflow: hidden; }
.steps { position: relative; margin-top: clamp(60px, 9vw, 120px); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 44px); }
.steps__line { position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-light); }
.steps__line i { position: absolute; inset: 0; background: var(--cobre); transform-origin: left; transform: scaleX(0); }
.step { position: relative; padding-top: 44px; display: grid; gap: 12px; }
.step__dot { position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--cacau); border: 1px solid var(--cobre); transition: background .5s; }
.step.is-on .step__dot { background: var(--cobre); }
.step__num { font-size: 12px; color: var(--cobre-claro); letter-spacing: .14em; }
.step h3 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(30px, 2.6vw, 42px); line-height: 1; }
.step p { color: var(--muted-light); font-size: 15px; max-width: 30ch; }

/* ---------- ESPAÇO ---------- */
.space { padding: clamp(110px, 14vw, 200px) 0 clamp(120px, 14vw, 210px); }
.space__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 36px); align-items: start; }
.space__item { display: grid; gap: 14px; will-change: transform; }
.space__item--down { margin-top: clamp(40px, 9vw, 140px); }
.space__media { aspect-ratio: 9 / 15; overflow: hidden; border-radius: var(--radius); background: var(--areia); }
.space__media video { width: 100%; height: 100%; object-fit: cover; }
.space__item figcaption { font-family: var(--f-serif); font-size: 24px; display: flex; gap: 12px; align-items: baseline; border-top: 1px solid var(--line); padding-top: 12px; }
.space__item figcaption span { font-family: var(--f-sans); font-size: 12px; color: var(--terracota); }

/* ---------- FAQ ---------- */
.faq { padding: clamp(110px, 13vw, 190px) 0; }
.faq__grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.faq__side { position: sticky; top: 120px; display: grid; gap: 22px; justify-items: start; }
.faq__side .sec-head { margin-bottom: 10px; width: 100%; }
.faq__side p { color: var(--muted); max-width: 36ch; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0;
  font-family: var(--f-serif); font-size: clamp(22px, 2.1vw, 30px); line-height: 1.15;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { flex: none; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; position: relative; transition: background .4s, border-color .4s, transform .6s var(--ease); }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.qa[open] summary i { background: var(--terracota); border-color: var(--terracota); color: var(--creme); transform: rotate(180deg); }
.qa[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa summary:hover i { border-color: var(--terracota); }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 60px 28px 0; color: var(--muted); max-width: 62ch; }

/* ---------- FOOTER / CONTATO ---------- */
.footer { padding-top: clamp(110px, 14vw, 200px); overflow: hidden; isolation: isolate; }
.footer__glow {
  position: absolute; left: 50%; bottom: -30%; width: 140%; height: 90%; transform: translateX(-50%); z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(170, 77, 38, .75), rgba(103, 61, 45, .35) 45%, transparent 72%);
  filter: blur(20px);
}
.footer__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.footer__title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(56px, 9vw, 150px); line-height: .92; letter-spacing: -.03em; max-width: 10ch; }
.footer__title em { color: var(--cobre); }
.cta-big {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 22px 34px; border-radius: 999px;
  background: var(--creme); color: var(--ink);
  font-size: 17px; font-weight: 600;
  transition: background .4s, color .4s;
}
.cta-big svg { width: 24px; height: 24px; color: #1f9d55; transition: color .4s; }
.cta-big:hover { background: var(--terracota); color: var(--creme); }
.cta-big:hover svg { color: var(--creme); }

.footer__info {
  margin-top: clamp(70px, 9vw, 120px);
  display: grid; grid-template-columns: 1.2fr 1fr .9fr 1.4fr; gap: clamp(24px, 3vw, 44px);
  padding-top: 26px; border-top: 1px solid var(--line-light);
}
.info { display: grid; gap: 12px; align-content: start; }
.info__label { color: var(--cobre); }
.info p { color: rgba(246, 239, 232, .82); font-size: 15.5px; }
.info p a { border-bottom: 1px solid var(--line-light); transition: border-color .3s; }
.info p a:hover { border-color: var(--creme); }
.info strong { color: var(--creme); font-weight: 600; }
.info .link-line { min-width: 0; justify-self: start; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 220px; background: #2b201b; }
.map iframe { width: 100%; height: 100%; min-height: 220px; border: 0; filter: grayscale(1) sepia(.35) contrast(.92) brightness(.9); }

.footer__nav { margin-top: clamp(60px, 8vw, 100px); display: flex; flex-wrap: wrap; gap: 8px 36px; font-family: var(--f-serif); font-size: clamp(22px, 2vw, 30px); }
.footer__nav a { opacity: .75; transition: opacity .3s; }
.footer__nav a:hover { opacity: 1; }
.footer__nav sup { font-family: var(--f-sans); font-size: 11px; color: var(--cobre); }

.footer__word {
  margin-top: clamp(50px, 7vw, 100px); margin-bottom: clamp(30px, 4vw, 56px);
  padding: 0 var(--gutter);
  overflow: hidden;
}
/* logo original tem 840px de largura: não passa disso para não ficar borrada */
.footer__word img { display: block; width: min(100%, 840px); height: auto; margin: 0 auto; }
.footer__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--line-light); font-size: 12.5px; color: var(--muted-light); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 70;
  display: inline-flex; align-items: center; gap: 10px;
  height: 58px; padding: 0 20px 0 17px; border-radius: 999px;
  background: #168a49; color: #fff;
  box-shadow: 0 14px 40px rgba(20, 60, 35, .35);
  font-weight: 600; font-size: 15px;
  transition: transform .7s var(--ease), background .3s, visibility 0s;
}
/* escondido só quando há JS para mostrar; escondido também sai da ordem do Tab */
html.js .wa-float:not(.is-in) { transform: translateY(140%); visibility: hidden; transition: transform .7s var(--ease), background .3s, visibility 0s .7s; }
.wa-float:hover { background: #12703b; }
.wa-float svg { width: 26px; height: 26px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #168a49; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(20, 14, 11, .94);
  display: grid; place-items: center; padding: 70px var(--gutter) 30px;
}
.lightbox[hidden] { display: none; }
.lightbox__stage img, .lightbox__stage video { max-height: calc(100svh - 110px); max-width: min(92vw, 900px); width: auto; border-radius: var(--radius); }
.lightbox__close { position: absolute; top: 20px; right: var(--gutter); color: var(--creme); font-size: 14px; letter-spacing: .08em; padding: 10px 16px; border: 1px solid var(--line-light); border-radius: 999px; }

/* ---------- estados iniciais de animação (só com JS) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(40px); }
html.js .hero [data-hero-fade] { opacity: 0; }
html.reduced [data-reveal], html.reduced .hero [data-hero-fade] { opacity: 1 !important; transform: none !important; }

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .header .pill { display: none; }
  .footer__info { grid-template-columns: 1fr 1fr; }
  .map { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero { min-height: 560px; }
  .hero__name { top: 92px; font-size: 30vw; }
  .hero__figure { height: auto; width: min(118vw, 600px); bottom: 0; }
  .hero__front { right: 14px; bottom: 150px; font-size: 19vw; }
  .hero__list { display: none; }
  .hero__left {
    left: var(--gutter); right: var(--gutter); top: auto; bottom: 64px; width: auto;
    gap: 12px;
  }
  .hero__left .eyebrow { display: none; }
  .hero__lead { font-size: 24px; max-width: 15ch; text-shadow: 0 4px 24px rgba(30, 22, 18, .6); }
  .hero__left .link-line { min-width: 0; justify-self: start; gap: 18px; }
  .hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; z-index: 3; pointer-events: none;
    background: linear-gradient(to top, rgba(40, 24, 18, .92), rgba(40, 24, 18, .55) 45%, transparent);
  }
  .hero__bottom .scroll-cue { display: none; }
  .hero__bottom { bottom: 18px; font-size: 10.5px; }

  .manifesto__text { text-indent: 0; }
  .pillars { grid-template-columns: 1fr; gap: 28px; }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .about__stamp { left: auto; right: 0; top: 2%; width: 116px; }
  .brand__logo { height: 32px; }

  .results__intro, .services__intro, .space__intro { grid-template-columns: 1fr; align-items: start; gap: 22px; }
  .ba-block { grid-template-columns: 1fr; }
  .ba__knob { width: 52px; height: 52px; font-size: 15px; }

  /* galeria: scroll horizontal nativo no celular */
  .gallery__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .gallery__track::-webkit-scrollbar { display: none; }
  .gallery__track { padding-top: 8px; }
  .gallery__track.is-auto { scroll-snap-type: none; }
  .case { width: 76vw; scroll-snap-align: center; }
  .gallery__progress { display: none; }

  .svc { grid-template-columns: 1fr; top: calc(76px + var(--i, 0) * 10px); min-height: 0; }
  .svc__media { order: -1; aspect-ratio: 16 / 10; min-height: 0; }
  .svc__num { font-size: 64px; margin-bottom: 0; }
  .svc h3 { font-size: 40px; }

  .steps { grid-template-columns: 1fr; gap: 36px; padding-left: 34px; }
  .steps__line { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .steps__line i { transform-origin: top; transform: scaleY(0); }
  .step { padding-top: 0; }
  .step__dot { left: -34px; top: 4px; }

  .space__grid { grid-template-columns: 1fr 1fr; }
  .space__item:last-child { grid-column: 1 / -1; width: 62%; justify-self: center; }
  .space__item--down { margin-top: 60px; }

  .faq__grid { grid-template-columns: 1fr; }
  .faq__side { position: static; }
  .qa__a p { padding-right: 0; }

  .footer__info { grid-template-columns: 1fr; }
  .cta-big { width: 100%; justify-content: center; }
  .wa-float__label { display: none; }
  .wa-float { width: 58px; padding: 0; justify-content: center; }
}

/* cards de procedimento sem empilhar onde o card não cabe inteiro na tela */
@media (max-width: 900px), (max-height: 700px) {
  .svc { position: relative; top: auto; }
}

@media (max-width: 520px) {
  .sec-head { flex-direction: column; gap: 4px; }
  .creds__row { flex-direction: column; gap: 2px; }
  .creds dd { text-align: left; }
  .space__grid { grid-template-columns: 1fr; }
  .space__item:last-child { width: 100%; }
  .space__item--down { margin-top: 0; }
  .space__media { aspect-ratio: 4 / 5; }
}

@media (prefers-reduced-motion: reduce) {
  body::after, .about__stamp img, .scroll-cue i::after, .wa-float::before { animation: none; }
}
