/* Elaine Lopes | Estética e Saúde Integrativa
   29/09 · base de estrutura: preview da Sandra Alves.
   Conceito: o nicho de mármore iluminado do ensaio. Areia de fundo, azul-petróleo da marca,
   dourado do LED só em detalhe. Amarelo-limão só no banner Summer (é campanha, não marca). */

:root {
  --sand: #F5EFE6;
  --paper: #FCFAF6;
  --ink: #1C2729;
  --petrol: #12383D;
  --petrol-2: #0D2B2F;
  --teal: #2A7F8C;
  --teal-text: #1F6873;
  --mist: #E3ECEA;
  --gold: #B8925A;
  --led: #F3D7A6;
  --muted: #56605F;
  --line: rgba(28, 39, 41, .14);
  --line-light: rgba(245, 239, 230, .18);

  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;

  --maxw: 1320px;
  --pad: clamp(20px, 5.5vw, 80px);
  --section: clamp(96px, 11vw, 160px);
  --header-h: 88px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --arch: 999px 999px 10px 10px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { overflow-x: clip; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  font-family: var(--sans);
  font-size: clamp(16.5px, 1.2vw, 18px);
  line-height: 1.62;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
::selection { background: var(--led); color: var(--ink); }
section[id] { scroll-margin-top: 64px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.container { max-width: calc(var(--maxw) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.section { padding-block: var(--section); }

/* ---------- Tipografia ---------- */
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-text); }
.eyebrow .dot { color: var(--gold); margin: 0 .4em; }
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 4.8vw, 4.7rem);
  line-height: 1;
  letter-spacing: -.015em;
  text-wrap: balance;
  margin-top: 18px;
}
.h2 em, .accent em { font-style: italic; }
.accent { color: var(--teal); }
.body { color: var(--muted); max-width: 34em; }
.body p + p { margin-top: 1em; }

/* ---------- Botões ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: 15.5px; line-height: 1;
  padding: 18px 28px; border-radius: 999px; border: 0; cursor: pointer;
  white-space: nowrap; transition: color .4s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); transition: transform .5s var(--ease-out); }
.btn:hover::before { transform: none; }
.btn--petrol { background: var(--petrol); color: var(--sand); }
.btn--petrol::before { background: var(--teal); }
.btn--sand { background: var(--sand); color: var(--petrol); }
.btn--sand::before { background: var(--led); }
.btn--sm { padding: 13px 20px; font-size: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .5s var(--ease-out);
}
.link-arrow:hover { background-size: 40% 1px; }
.link-arrow span { transition: transform .4s var(--ease-out); }
.link-arrow:hover span { transform: translateX(6px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: var(--sand); border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease-out);
}
.header.is-scrolled { background: rgba(245, 239, 230, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner {
  max-width: calc(var(--maxw) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad);
  height: var(--header-h); display: flex; align-items: center; transition: height .4s var(--ease);
}
.header.is-scrolled .header__inner { height: 70px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__name { display: block; font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--petrol); letter-spacing: -.01em; }
.brand__sub { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: 5px; }
.nav { margin-left: auto; display: flex; gap: clamp(18px, 2.2vw, 34px); }
.nav a { font-size: 14.5px; font-weight: 500; position: relative; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__cta { margin-left: clamp(22px, 2.6vw, 40px); }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: var(--header-h); }
.hero__media { position: relative; overflow: hidden; }
.hero__media img { width: 100%; height: auto; }
.hero__content {
  position: absolute; inset: var(--header-h) 0 0 0; display: flex; align-items: center;
  background: linear-gradient(90deg, rgba(245, 239, 230, .96) 0%, rgba(245, 239, 230, .86) 28%, rgba(245, 239, 230, 0) 46%);
}
.hero__inner { width: 100%; max-width: calc(var(--maxw) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.hero__inner > * { max-width: min(540px, 38vw); }
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3rem, 5.4vw, 6.2rem); line-height: .95; letter-spacing: -.02em;
  margin: 20px 0 26px; max-width: none !important;
}
.hero__title em { font-style: italic; }
.hero__lead { font-size: clamp(16px, 1.25vw, 18.5px); color: var(--muted); max-width: 25em; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 34px; }

.split .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.split .line__in { display: block; }
.js .split .line__in { transform: translateY(108%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms + 150ms); }
.js .split.is-in .line__in { transform: none; }

/* ---------- Faixa ---------- */
.marquee { background: var(--petrol); color: var(--sand); overflow: hidden; padding: clamp(20px, 2.4vw, 30px) 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__group span { font-family: var(--serif); font-style: italic; font-size: clamp(1.9rem, 3.6vw, 3.4rem); white-space: nowrap; padding: 0 clamp(18px, 2.2vw, 32px); }
.marquee__group span:nth-of-type(even) { color: var(--led); }
.marquee__group img { height: clamp(34px, 3.4vw, 50px); width: auto; filter: brightness(1.5); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- ASSINATURA · o laudo ---------- */
.laudo__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: clamp(64px, 8vw, 110px); align-items: center; }
.laudo__head { grid-column: 1 / span 5; }
.laudo__head .body { margin-top: 26px; }

.sheet {
  grid-column: 7 / span 6;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 38%);
  grid-template-areas: "top top" "table notes" "verdict verdict" "sign sign";
  column-gap: 18px;
  padding: clamp(22px, 2.6vw, 38px);
  background: var(--paper);
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(28, 39, 41, .06), 0 30px 60px -30px rgba(18, 56, 61, .35);
  transform: rotate(-1.2deg);
  font-size: 14px;
}
.sheet::before { /* furinhos de arquivo, detalhe de papel de consultório */
  content: ""; position: absolute; left: 12px; top: 28%; width: 8px; height: 44%;
  background: radial-gradient(circle, var(--sand) 3.5px, transparent 4px) center top / 8px 50% repeat-y;
}
.sheet__top { grid-area: top; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.sheet__lab { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 11.5px; }
.sheet__meta { color: var(--muted); font-size: 12.5px; }
.sheet__table { grid-area: table; border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.sheet__table th { text-align: left; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); height: 40px; padding-right: 10px; }
.sheet__table td { height: 52px; border-bottom: 1px dashed var(--line); padding-right: 8px; }
.sheet__table td:first-child { font-weight: 600; }
.sheet__table td:last-child { color: var(--teal-text); white-space: nowrap; }
.sheet__table td:last-child::before { content: "✓ "; }
.sheet__verdict { grid-area: verdict; margin-top: 22px; font-size: 15px; }
.circled { position: relative; display: inline-block; margin-left: .7em; }
.circled svg { position: absolute; left: -12%; top: -40%; width: 124%; height: 180%; overflow: visible; pointer-events: none; }
.circled path { fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }

.notes { grid-area: notes; padding-top: 40px; border-left: 1px solid rgba(184, 146, 90, .45); padding-left: 14px; }
.note {
  height: 52px; display: flex; align-items: center;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.05;
  color: var(--teal); transform: rotate(-2deg);
}
.sheet__sign { grid-area: sign; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.1; }
.sheet__sign em { color: var(--teal); }

/* a caneta escreve 1 vez quando o laudo entra na tela */
.js .note { clip-path: inset(0 100% 0 0); transition: clip-path .9s var(--ease) calc(var(--i) * 420ms + 500ms); }
.js .sheet.is-in .note { clip-path: inset(0 -10% 0 0); }
.js .circled path { stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease) 2.9s; }
.js .sheet.is-in .circled path { stroke-dashoffset: 0; }
.js .sheet__sign { opacity: 0; transform: translateY(10px); transition: opacity .8s var(--ease) 3.6s, transform .8s var(--ease-out) 3.6s; }
.js .sheet.is-in .sheet__sign { opacity: 1; transform: none; }

.steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--ink); }
.steps li { padding-top: 22px; }
.steps span { font-size: 12.5px; font-weight: 600; color: var(--gold); letter-spacing: .1em; }
.steps b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.2vw, 2.1rem); margin: 6px 0 8px; }
.steps p { color: var(--muted); font-size: 15px; max-width: 18em; }

/* ---------- Talvez eu te diga não ---------- */
.nao { position: relative; overflow: hidden; background: var(--petrol-2); color: var(--sand); padding-block: clamp(120px, 14vw, 200px); }
.nao__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.nao::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 43, 47, .92) 0%, rgba(13, 43, 47, .5) 60%, rgba(13, 43, 47, .75) 100%); }
.nao__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 6fr 5fr; gap: 48px; align-items: end; }
.nao__title { font-family: var(--serif); font-weight: 400; font-size: clamp(3.4rem, 9vw, 9.5rem); line-height: .9; letter-spacing: -.025em; }
.nao__title em { color: var(--led); }
.nao__list li { font-size: clamp(1.1rem, 1.5vw, 1.35rem); padding: 16px 0 16px 34px; border-top: 1px solid var(--line-light); position: relative; }
.nao__list li::before { content: "×"; position: absolute; left: 0; top: 13px; font-size: 1.4em; line-height: 1; color: var(--led); }
.nao__yes { margin-top: 30px; font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.15; color: var(--led); }

/* ---------- Tratamentos ---------- */
.frentes__head { max-width: 46rem; }
.frentes__head .body { margin-top: 24px; }
.frentes__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); margin-top: clamp(56px, 6vw, 88px); align-items: start; }
.tabs { display: flex; flex-direction: column; border-top: 1px solid var(--ink); position: sticky; top: 110px; }
.tab {
  display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 8px;
  text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line);
  padding: 26px 0; cursor: pointer; color: var(--muted); font: inherit; position: relative;
  transition: color .35s var(--ease);
}
.tab::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.tab:hover { color: var(--ink); }
.tab__n { grid-row: 1 / span 2; font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--gold); line-height: 1.2; }
.tab__t { font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.9rem); line-height: 1.05; }
.tab__d { font-size: 14px; margin-top: 4px; }

.panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: end; }
.panel[hidden] { display: none; }
.panel.is-active { animation: panelIn .7s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.niche { border-radius: var(--arch); overflow: hidden; aspect-ratio: 4 / 5.4; background: var(--mist); }
.niche img { width: 100%; height: 100%; object-fit: cover; }
.panel__text > p { color: var(--muted); margin-bottom: 20px; }
.svc li { border-top: 1px solid var(--line); }
.svc li:last-child { border-bottom: 1px solid var(--line); }
.svc a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 13px 0; font-weight: 500; transition: color .3s, padding .4s var(--ease-out); }
.svc a::after { content: "→"; color: var(--teal); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .4s var(--ease-out); }
.svc a:hover { color: var(--teal-text); padding-left: 6px; }
.svc a:hover::after { opacity: 1; transform: none; }
.svc small { font-size: 12px; color: var(--gold); font-weight: 500; margin-left: auto; }

/* ---------- Sobre ---------- */
.about { background: var(--paper); position: relative; overflow: hidden; }
.about__grid { display: grid; grid-template-columns: 5fr 1fr 6fr; align-items: center; position: relative; }
.about__photo { grid-column: 1; aspect-ratio: 4 / 5.2; }
.about__photo img { object-position: 50% 20%; }
.about__text { grid-column: 3; }
.about__text .body { margin-top: 28px; }
.about__sig { font-family: var(--serif); font-style: italic; font-size: 2.6rem; color: var(--petrol); margin-top: 8px; transform: rotate(-3deg); transform-origin: left; }
.about__branch { position: absolute; right: -60px; top: -40px; width: 240px; opacity: .55; pointer-events: none; }
.facts { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; margin: 38px 0 22px; border-top: 1px solid var(--line); }
.facts > div { padding: 16px 28px 0 0; }
.facts > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.facts dt { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-text); }
.facts dd { font-weight: 600; margin-top: 4px; }
[data-parallax] { transform: translate3d(0, var(--py, 0px), 0) scale(1.1); will-change: transform; }

/* ---------- Consulta ---------- */
.consulta__head { max-width: 50rem; }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: clamp(48px, 5vw, 72px); }
.mode { padding: clamp(28px, 3vw, 44px); border: 1px solid var(--line); border-radius: 180px 180px 12px 12px; padding-top: clamp(56px, 6vw, 88px); text-align: center; background: var(--paper); }
.mode:nth-child(2) { background: var(--petrol); color: var(--sand); border-color: var(--petrol); }
.mode__tag { font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.mode h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 2.8vw, 2.6rem); margin: 10px 0 14px; }
.mode p { max-width: 26em; margin: 0 auto; color: var(--muted); }
.mode:nth-child(2) p { color: rgba(245, 239, 230, .75); }
.faq { margin-top: clamp(56px, 6vw, 88px); max-width: 52rem; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-family: var(--serif); font-size: clamp(1.35rem, 1.9vw, 1.7rem); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--sans); font-size: 1.5rem; color: var(--teal); transition: transform .4s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; max-width: 40em; }

/* ---------- Espaço ---------- */
.espaco { padding-top: 0; }
.espaco__grid { display: grid; grid-template-columns: 4fr 5fr 5fr; gap: clamp(28px, 3.5vw, 56px); align-items: center; }
.espaco__photo { aspect-ratio: 3 / 4; }
.espaco address { font-style: normal; margin: 24px 0 30px; color: var(--muted); }
.espaco__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.espaco__map { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--mist); }
.espaco__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) sepia(.15); }

/* ---------- Guia ---------- */
.guia { background: var(--mist); }
.guia__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.book { perspective: 1200px; display: grid; place-items: center; }
.book__cover {
  width: min(320px, 76%); aspect-ratio: 3 / 4.2; position: relative;
  background: var(--petrol); color: var(--sand); border-radius: 3px 10px 10px 3px;
  padding: 30px 28px; display: flex; flex-direction: column;
  box-shadow: inset 8px 0 0 rgba(0, 0, 0, .18), 24px 30px 50px -20px rgba(13, 43, 47, .55);
  transform: rotateY(-14deg) rotate(2deg); transition: transform .8s var(--ease-out);
}
.book:hover .book__cover { transform: rotateY(-4deg) rotate(0); }
.book__cover::after { content: ""; position: absolute; right: 24px; bottom: 26px; width: 70px; height: 70px; background: url(assets/ramo.png) center / contain no-repeat; filter: brightness(1.6); opacity: .8; }
.book__tag { font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--led); }
.book__n { font-family: var(--serif); font-size: 7rem; line-height: .9; margin-top: auto; color: var(--led); }
.book__t { font-family: var(--serif); font-size: 1.9rem; line-height: 1.02; }
.book__a { font-size: 12px; margin-top: 20px; opacity: .7; }
.guia__text .body { margin-top: 22px; }
.form { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 36rem; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.form input:not([type="checkbox"]) { font: inherit; font-weight: 400; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
.form input:focus { outline: 2px solid var(--teal); outline-offset: 0; }
.form__ok { grid-column: 1 / -1; display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; color: var(--muted); }
.form__ok input { margin-top: 4px; accent-color: var(--teal); }
.form__ok a { text-decoration: underline; }
.form .btn { grid-column: 1 / -1; justify-self: start; }

/* ---------- Summer · único lugar com amarelo ---------- */
.summer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); background: #F2E5BC; color: #2A3A57; overflow: hidden; }
.summer img { width: 100%; height: 100%; max-height: 380px; object-fit: cover; object-position: 50% 25%; }
.summer__text { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 64px); }
.summer__tag { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.summer__t { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1; margin: 6px 0 12px; }
.summer__d { font-weight: 500; }
.summer:hover .summer__d { text-decoration: underline; }

/* ---------- CTA final + footer ---------- */
.final { background: var(--petrol); color: var(--sand); padding-block: clamp(110px, 13vw, 180px) clamp(80px, 9vw, 120px); }
.final__grid { display: grid; grid-template-columns: 8fr 4fr; gap: 48px; align-items: end; }
.final__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.8rem, 6vw, 6rem); line-height: .96; letter-spacing: -.02em; }
.final__title .soft { color: var(--led); }
.final__side p { color: rgba(245, 239, 230, .75); margin-bottom: 26px; max-width: 22em; }

.footer { background: var(--petrol); color: var(--sand); padding-bottom: 32px; }
.footer .brand__name { color: var(--sand); }
.footer__grid { position: relative; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; padding-top: 56px; }
.footer__grid::before { content: ""; position: absolute; top: 0; left: var(--pad); right: var(--pad); height: 1px; background: var(--line-light); }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a, .footer__addr a { color: rgba(245, 239, 230, .8); transition: color .3s; }
.footer__links a:hover, .footer__addr a:hover { color: var(--sand); }
.footer__addr { font-style: normal; display: flex; flex-direction: column; gap: 10px; color: rgba(245, 239, 230, .8); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 64px; font-size: 12.5px; color: rgba(245, 239, 230, .5); }

.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal); color: #fff; box-shadow: 0 12px 30px -8px rgba(18, 56, 61, .6);
  transition: transform .4s var(--ease-out);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }

/* ---------- ABERTURA ----------
   29/09 · pedido do Eric. Areia, ramo que se desenha, nome letra a letra, barra de LED
   e saída em arco (o nicho) subindo. Só existe com html.intro-on (decidido no <head>). */
.intro { display: none; }
.intro-on .intro {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: var(--sand); cursor: pointer;
  border-radius: 0 0 0 0 / 0 0 0 0;
  transition: transform 1.15s cubic-bezier(.76, 0, .24, 1), border-radius 1.15s cubic-bezier(.76, 0, .24, 1);
}
.intro-on body { overflow: hidden; }
.intro.is-out { transform: translateY(-104%); border-radius: 0 0 50% 50% / 0 0 22vh 22vh; }
.intro__inner { text-align: center; display: grid; justify-items: center; transition: opacity .5s var(--ease), transform .9s var(--ease-out); }
.intro.is-leaving .intro__inner { opacity: 0; transform: translateY(-30px); }
.intro__branch { width: 66px; height: 110px; margin-bottom: 22px; overflow: visible; }
.intro__branch path { fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .9s var(--ease) forwards; animation-delay: calc(var(--k, 0) * 110ms + 100ms); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.intro__name { font-family: var(--serif); font-style: italic; font-size: clamp(3.4rem, 10vw, 8rem); line-height: 1; color: var(--petrol); letter-spacing: -.01em; }
.intro__name .ch { display: inline-block; opacity: 0; transform: translateY(.35em) rotate(4deg); filter: blur(6px); animation: ch .9s var(--ease-out) forwards; animation-delay: calc(var(--c) * 55ms + 450ms); }
@keyframes ch { to { opacity: 1; transform: none; filter: none; } }
.intro__sub, .intro__place { opacity: 0; animation: up .8s var(--ease-out) forwards; }
.intro__sub { margin-top: 18px; font-size: 12px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); animation-delay: 1.3s; }
.intro__place { margin-top: 10px; font-size: 14px; color: var(--muted); animation-delay: 1.5s; }
.intro__place span { color: var(--gold); }
@keyframes up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.intro__bar { position: absolute; left: 50%; bottom: 12vh; width: min(220px, 50vw); height: 1px; transform: translateX(-50%); background: var(--line); overflow: hidden; }
.intro__bar i { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--gold), var(--led)); box-shadow: 0 0 12px var(--led); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform .4s var(--ease); }

/* ---------- Movimentos da rodada 2 ---------- */
/* hero: o LED do nicho acende (a foto nasce apagada e esquenta) */
.js .hero__media img { filter: brightness(.72) saturate(.7) sepia(.08); }
.js .hero.is-loaded .hero__media img { filter: none; transition: transform 2.4s var(--ease-out), opacity 1.2s var(--ease), filter 2.6s var(--ease) .2s; }

/* sublinhado à mão no "Começo por você." */
.line--ink { padding-bottom: .28em !important; margin-bottom: -.28em !important; }
.scribble { position: relative; display: inline-block; }
.scribble svg { position: absolute; left: 0; bottom: -.16em; width: 100%; height: .22em; overflow: visible; }
.scribble path { fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .split.is-in .scribble path { transition: stroke-dashoffset 1.1s var(--ease) 1.3s; stroke-dashoffset: 0; }
html:not(.js) .scribble path { stroke-dashoffset: 0; }

/* barra de leitura dourada no header */
.header::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--gold), var(--led)); transform: scaleX(var(--sp, 0)); transform-origin: left; }

/* "Talvez eu te diga não": o × é riscado à mão ao entrar */
.nao__list li::before { content: none; }
.nao__list li i { position: absolute; left: 2px; top: 1.35em; width: 16px; height: 16px; }
.nao__list li i::before, .nao__list li i::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.6px; background: var(--led); border-radius: 2px; transform: rotate(45deg) scaleX(0); transition: transform .45s var(--ease-out) calc(var(--d, 0) * 80ms + .35s); }
.nao__list li i::after { transform: rotate(-45deg) scaleX(0); transition-delay: calc(var(--d, 0) * 80ms + .6s); }
.nao__list li.is-in i::before, html:not(.js) .nao__list li i::before { transform: rotate(45deg) scaleX(1); }
.nao__list li.is-in i::after, html:not(.js) .nao__list li i::after { transform: rotate(-45deg) scaleX(1); }

/* luz quente que segue o cursor no fundo escuro (só em mouse) */
.nao__glow { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 40%), rgba(243, 215, 166, .16), transparent 70%); transition: opacity .6s; }

/* tratamentos: a foto nova sobe dentro do nicho ao trocar de aba */
.panel.is-active .niche img { animation: nicheIn 1s var(--ease-out); }
@keyframes nicheIn { from { clip-path: inset(100% 0 0 0); transform: scale(1.12); } to { clip-path: inset(0 0 0 0); transform: none; } }
.panel.is-active .svc li { animation: up .6s var(--ease-out) backwards; }
.panel.is-active .svc li:nth-child(2) { animation-delay: .06s; }
.panel.is-active .svc li:nth-child(3) { animation-delay: .12s; }
.panel.is-active .svc li:nth-child(4) { animation-delay: .18s; }
.panel.is-active .svc li:nth-child(5) { animation-delay: .24s; }
.panel.is-active .svc li:nth-child(6) { animation-delay: .30s; }

/* assinatura do Sobre se escreve */
.js .about__sig { opacity: 1; transform: rotate(-3deg); }
.about__sig span { display: inline-block; }
.js .about__sig span { clip-path: inset(0 100% 0 0); transition: clip-path 1.6s var(--ease) .3s; }
.js .about__sig.is-in span { clip-path: inset(0 -5% 0 0); }

/* ramo do Sobre balança devagar (coisa viva, pode ter loop) */
.about__branch { animation: sway 7s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes sway { 50% { transform: rotate(4deg); } }

/* ---------- Entradas ---------- */
.js .reveal, .js .fade { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .9s var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal.is-in, .js .fade.is-in { opacity: 1; transform: none; }
.js .img-reveal { clip-path: inset(14% 0 0 0 round 999px 999px 10px 10px); opacity: 0; transition: clip-path 1.1s var(--ease-out), opacity .8s var(--ease); }
.js .img-reveal.is-in { clip-path: inset(0 0 0 0 round 999px 999px 10px 10px); opacity: 1; }
.js .hero__media img { transform: scale(1.06); opacity: 0; transition: transform 2.2s var(--ease-out), opacity 1.2s var(--ease); }
.js .hero.is-loaded .hero__media img { transform: none; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html:not(.lenis) { scroll-behavior: auto; }
  .js .reveal, .js .fade, .js .img-reveal, .js .split .line__in, .js .hero__media img, .js .sheet__sign { opacity: 1; transform: none; clip-path: none; transition: none; }
  .js .note { clip-path: none; transition: none; }
  .js .circled path { stroke-dashoffset: 0; transition: none; }
  .marquee__track { animation: none; }
  .panel.is-active, .panel.is-active .niche img, .panel.is-active .svc li, .about__branch { animation: none; }
  .intro { display: none !important; }
  .js .hero__media img { filter: none; }
  .scribble path, .js .split.is-in .scribble path { stroke-dashoffset: 0; transition: none; }
  .js .about__sig span { clip-path: none; transition: none; }
  .nao__list li i::before { transform: rotate(45deg) scaleX(1); transition: none; }
  .nao__list li i::after { transform: rotate(-45deg) scaleX(1); transition: none; }
  .nao__glow { display: none; }
  [data-parallax] { transform: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .nav { gap: 16px; }
  .nav a { font-size: 13.5px; }
  .laudo__head { grid-column: 1 / -1; }
  .sheet { grid-column: 1 / -1; max-width: 680px; justify-self: center; width: 100%; }
  .panel { grid-template-columns: 1fr; }
  .panel .niche { aspect-ratio: 16 / 11; border-radius: 240px 240px 10px 10px; }
  .espaco__grid { grid-template-columns: 1fr 1fr; }
  .espaco__map { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
}

@media (max-width: 1000px) {
  .hero { display: flex; flex-direction: column; }
  .hero__media img { aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 56% 30%; }
  .hero__content { position: static; background: none; display: block; }
  .hero__inner > * { max-width: 36rem; }
  .hero__inner { padding-top: 34px; padding-bottom: 56px; }
}

/* ---------- Celular ---------- */
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .header.is-scrolled .header__inner { height: var(--header-h); }
  .brand__name { font-size: 24px; }
  .brand__sub { font-size: 8.5px; letter-spacing: .16em; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0;
    padding: 8px var(--pad) 28px; background: var(--sand); border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .header.menu-open { background: var(--sand); border-bottom-color: var(--line); }
  .header.menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { font-family: var(--serif); font-size: 26px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .header__cta { margin-left: auto; }
  .btn--sm { padding: 11px 14px; font-size: 13px; }
  .menu-toggle { display: grid; align-content: center; gap: 6px; width: 40px; height: 40px; margin-left: 8px; margin-right: -8px; background: none; border: 0; cursor: pointer; padding: 0 8px; }
  .menu-toggle span { display: block; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
  .menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .hero__title { font-size: clamp(2.8rem, 12.5vw, 4.4rem); }

  .sheet { transform: none; grid-template-columns: 1fr; grid-template-areas: "top" "table" "verdict" "notes" "sign"; padding: 22px 18px 22px 26px; }
  .sheet__table td { height: 46px; font-size: 13px; }
  .notes { padding: 14px 0 0 14px; margin-top: 18px; display: flex; flex-wrap: wrap; gap: 4px 18px; }
  .note { height: auto; padding: 4px 0; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 8px; }

  .nao__grid { grid-template-columns: 1fr; gap: 36px; }
  .frentes__grid { grid-template-columns: 1fr; }
  .tabs { position: static; }
  .tab { padding: 18px 0; grid-template-columns: 44px 1fr; }

  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__photo, .about__text { grid-column: 1; }
  .about__branch { width: 150px; right: -40px; top: -30px; }
  .facts { grid-template-columns: 1fr; border-top: 0; }
  .facts > div, .facts > div + div { padding: 12px 0; border-left: 0; border-top: 1px solid var(--line); }

  .modes { grid-template-columns: 1fr; }
  .espaco { padding-top: var(--section); }
  .espaco__grid { grid-template-columns: 1fr; }
  .espaco__photo { max-width: 420px; }
  .espaco__map { aspect-ratio: 4 / 3; }
  .guia__grid { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .summer { grid-template-columns: 1fr; }
  .summer img { max-height: 300px; }

  .final__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; }
}
