/* ==========================================================================
   ESTILO 1 — VITRINE CINEMATOGRÁFICA
   Escuro, tipografia condensada, mídia que expande, cartões que empilham.
   Hover em CSS usa translate/scale/rotate; o GSAP usa transform.
   ========================================================================== */
:root {
  --ink: #0F0F0D; --ink-2: #181816; --ink-3: #23221F;
  --paper: #EFEBE2; --mute: #A8A497;
  --line: rgba(239, 235, 226, .14); --line-2: rgba(239, 235, 226, .3);
  --lime: #CDD204; --teal: #179894; --purple: #5F4495; --red: #E73243; --orange: #F18E0F; --graphite: #2A2925; --sand: #D8CFBC;
  --f-d: 'Big Shoulders', 'Arial Narrow', Impact, sans-serif;
  --f-t: 'Schibsted Grotesk', ui-sans-serif, system-ui, sans-serif;
  --gut: clamp(16px, 3vw, 44px);
  --hdr: 72px;
  --r: clamp(16px, 1.8vw, 26px);
  --e-out: cubic-bezier(.16, 1, .3, 1);
  --e-io: cubic-bezier(.76, 0, .24, 1);
}

/* ── Base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--hdr); scrollbar-gutter: stable; background: var(--ink); }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body { font-family: var(--f-t); font-size: clamp(16px, .25vw + 15px, 18px); line-height: 1.5; color: var(--paper); background: var(--ink); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: inherit; font-size: inherit; line-height: inherit; }
::selection { background: var(--lime); color: var(--ink); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; border-radius: 4px; }
.ftr :focus-visible, .card :focus-visible, .panel :focus-visible { outline-color: currentColor; }
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { outline: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: 12px; z-index: 300; padding: 12px 16px; background: var(--lime); color: var(--ink); border-radius: 999px; translate: 0 -160%; transition: translate .3s var(--e-out); }
.skip:focus { translate: 0 0; }

/* ── Tipografia ─────────────────────────────────────────────────────────── */
.kicker { display: flex; align-items: center; gap: 12px; font: 600 12.5px/1 var(--f-t); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.kicker span { display: inline-grid; place-items: center; min-width: 38px; height: 24px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 999px; font: 800 13px/1 var(--f-d); letter-spacing: .04em; color: var(--paper); }
.h-xl { font: 850 clamp(3.2rem, 9vw, 10.5rem)/.84 var(--f-d); text-transform: uppercase; letter-spacing: -.005em; text-wrap: balance; }
.h-lg { font: 850 clamp(2.6rem, 6vw, 6.6rem)/.86 var(--f-d); text-transform: uppercase; text-wrap: balance; }
.w { white-space: nowrap; } /* palavra dividida em letras nunca quebra no meio */
.steps__head .h-xl { font-size: clamp(3rem, 6.2vw, 7.4rem); }
.head { padding-inline: var(--gut); margin-bottom: clamp(40px, 6vw, 88px); display: grid; gap: 22px; }

/* ── Links e botões ─────────────────────────────────────────────────────── */
.lnk { --lb: var(--paper); --lh: var(--ink); background: linear-gradient(var(--lb), var(--lb)) 0 100% / 100% 1px no-repeat; padding: 0 .08em; transition: background-size .45s var(--e-out), color .45s var(--e-out); }
.lnk:focus-visible { background-size: 100% 100%; color: var(--lh); }
@media (hover: hover) and (pointer: fine) { .lnk:hover { background-size: 100% 100%; color: var(--lh); } }
.lnk--arrow::after { content: ' →'; }

.btn {
  --b-bg: var(--paper); --b-fg: var(--ink); --b-fill: var(--lime); --b-fh: var(--ink);
  position: relative; display: inline-flex; align-items: center; gap: 14px; width: fit-content;
  height: 56px; padding: 0 8px 0 24px; border-radius: 999px;
  background: var(--b-bg); color: var(--b-fg); font: 600 15px/1 var(--f-t); white-space: nowrap;
  overflow: hidden; isolation: isolate; transition: color .45s var(--e-out);
}
/* preenchimento nasce do ponto onde o ponteiro entra (e sai) */
.btn::before { content: ''; position: absolute; left: var(--mx, 50%); top: var(--my, 50%); width: var(--d, 260px); height: var(--d, 260px); margin: calc(var(--d, 260px) / -2) 0 0 calc(var(--d, 260px) / -2); border-radius: 50%; background: var(--b-fill); transform: scale(0); transition: transform .65s var(--e-out); z-index: -1; }
.btn__ico { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--b-fg); color: var(--b-bg); transition: background-color .45s var(--e-out), color .45s var(--e-out); }
.btn__ico svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: rotate .55s var(--e-out); }
.btn:focus-visible { color: var(--b-fh); }
.btn:focus-visible::before { transform: scale(1); }
.btn:focus-visible .btn__ico { background: var(--b-fh); color: var(--b-fill); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { color: var(--b-fh); }
  .btn:hover::before { transform: scale(1); }
  .btn:hover .btn__ico { background: var(--b-fh); color: var(--b-fill); }
  .btn:hover .btn__ico svg { rotate: 45deg; }
}
.btn--sm { height: 44px; padding: 0 5px 0 18px; font-size: 14px; gap: 12px; }
.btn--sm .btn__ico { width: 34px; height: 34px; }
.btn--lime { --b-bg: var(--lime); --b-fg: var(--ink); --b-fill: var(--paper); --b-fh: var(--ink); }
.btn--paper { --b-bg: var(--paper); --b-fg: var(--ink); --b-fill: var(--lime); --b-fh: var(--ink); }
.btn--dark { --b-bg: var(--ink); --b-fg: var(--paper); --b-fill: var(--paper); --b-fh: var(--ink); }

/* ── Abertura ───────────────────────────────────────────────────────────── */
.pre { display: none; }
html.is-loading .pre { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; justify-content: space-between; padding: 26px var(--gut) 32px; background: var(--ink); animation: preFailsafe 0s 4.5s forwards; }
.pre__top { display: flex; justify-content: space-between; gap: 16px; font: 600 12.5px/1 var(--f-t); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.pre__count { display: flex; align-items: flex-start; font: 200 clamp(7rem, 30vw, 34rem)/.8 var(--f-d); font-variant-numeric: tabular-nums; }
.pre__count i { font-style: normal; font-size: .22em; color: var(--lime); margin: .12em 0 0 .12em; }
.pre__bar { height: 2px; background: var(--line); }
.pre__bar i { display: block; height: 100%; background: var(--lime); transform-origin: 0 50%; transform: scaleX(0); }
@keyframes preFailsafe { to { visibility: hidden; opacity: 0; } }

/* ── Header ─────────────────────────────────────────────────────────────── */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 80; height: var(--hdr); display: flex; align-items: center; gap: 8px; padding-inline: var(--gut); transition: translate .7s var(--e-out); pointer-events: none; }
.hdr > * { pointer-events: auto; }
.hdr.is-hidden { translate: 0 -110%; }
.hdr.is-hidden:has(:focus-visible) { translate: 0 0; }
.hdr__brand { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 7px; margin-right: auto; border-radius: 999px; background: var(--ink-2); border: 1px solid var(--line); font: 800 17px/1 var(--f-d); letter-spacing: .1em; text-transform: uppercase; }
.hdr__brand img { width: 30px; height: 30px; transition: rotate .8s var(--e-out); }
.hdr__brand:hover img { rotate: -12deg; }
.hdr__nav { position: relative; display: flex; height: 44px; padding: 4px; border-radius: 999px; background: var(--ink-2); border: 1px solid var(--line); }
.hdr__nav a { position: relative; z-index: 1; display: flex; align-items: center; padding: 0 15px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--mute); transition: color .35s; }
.hdr__nav a.is-hot { color: var(--ink); }
.hdr__pill { position: absolute; left: 0; top: 4px; bottom: 4px; width: 0; border-radius: 999px; background: var(--paper); opacity: 0; transition: transform .55s var(--e-out), width .55s var(--e-out), opacity .3s; }
.hdr__menu { display: none; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: 999px; background: var(--ink-2); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.hdr__menu i { position: relative; width: 16px; height: 8px; }
.hdr__menu i::before, .hdr__menu i::after { content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: translate .5s var(--e-out), rotate .5s var(--e-out); }
.hdr__menu i::before { top: 0; } .hdr__menu i::after { bottom: 0; }
.hdr__menu[aria-expanded="true"] i::before { translate: 0 3.25px; rotate: 45deg; }
.hdr__menu[aria-expanded="true"] i::after { translate: 0 -3.25px; rotate: -45deg; }
@media (max-width: 1100px) { .hdr__nav { display: none; } .hdr__menu { display: inline-flex; } }
@media (max-width: 420px) { .hdr__cta { display: none; } }

/* ── Menu (abre em círculo a partir do botão) ───────────────────────────── */
.menu { position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; padding: calc(var(--hdr) + 24px) var(--gut) 30px; background: var(--ink-2); overflow-y: auto; overscroll-behavior: contain; }
.menu[hidden] { display: none; }
.menu__nav { display: grid; margin-top: auto; }
.menu__nav a { position: relative; isolation: isolate; display: flex; align-items: baseline; gap: 18px; padding: 4px 6px; border-bottom: 1px solid var(--line); overflow: hidden; }
.menu__nav a::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--c); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--e-out); }
.menu__nav span { width: 30px; font: 800 14px var(--f-d); color: var(--mute); transition: color .3s; }
.menu__nav b { font: 900 clamp(3rem, 12vw, 9rem)/.88 var(--f-d); text-transform: uppercase; transition: translate .6s var(--e-out), color .3s; }
.menu__nav a:focus-visible::before { transform: scaleX(1); }
.menu__nav a:focus-visible b, .menu__nav a:focus-visible span { color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .menu__nav a:hover::before { transform: scaleX(1); }
  .menu__nav a:hover b { color: var(--ink); translate: 16px 0; }
  .menu__nav a:hover span { color: var(--ink); }
}
@media (max-height: 560px) { .menu__nav b { font-size: clamp(2rem, min(11vw, 11svh), 9rem); } }
.menu__foot { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; color: var(--mute); font-size: 15px; }

/* ── HERO ───────────────────────────────────────────────────────────────── */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 1; clip-path: inset(35% 37% 27% 37% round 18px); background: var(--ink-3); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__after { position: absolute; inset: 0; --b: 12.6%;
  -webkit-mask-image: repeating-linear-gradient(to bottom, #000 0, #000 var(--b), transparent var(--b), transparent 12.5%);
  mask-image: repeating-linear-gradient(to bottom, #000 0, #000 var(--b), transparent var(--b), transparent 12.5%); }
.hero__media::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); pointer-events: none; }
.hero__tag { position: absolute; z-index: 2; left: var(--gut); bottom: calc(var(--gut) + 46px); padding: 9px 14px; border-radius: 999px; background: var(--paper); color: var(--ink); font: 700 12.5px/1 var(--f-t); letter-spacing: .12em; text-transform: uppercase; opacity: 0; }
.hero__tag--after { background: var(--lime); }
.hero__cap { position: absolute; z-index: 2; left: var(--gut); right: var(--gut); bottom: var(--gut); font: 600 clamp(14px, 1.1vw, 17px)/1.3 var(--f-t); opacity: 0; }
.hero__zoom { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.hero__zoom img { width: 100%; height: 100%; object-fit: cover; }

.hero__title { position: absolute; inset: 0; z-index: 3; pointer-events: none; font: 850 min(14.5vw, 22svh)/.8 var(--f-d); text-transform: uppercase; color: var(--paper); mix-blend-mode: difference; }
.hero__l { position: absolute; white-space: nowrap; }
.hero__l--1 { left: var(--gut); top: calc(var(--hdr) + 8svh); }
.hero__l--2 { right: var(--gut); bottom: 7svh; }
html.has-motion .hero__title { opacity: 0; }

.hero__ui { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero__ui > * { pointer-events: auto; }
.hero__side { position: absolute; left: var(--gut); top: 36%; width: min(27vw, 360px); display: grid; gap: 22px; }
.hero__lead { font-size: clamp(15px, 1.05vw, 17.5px); line-height: 1.5; color: var(--mute); }
.hero__meta { position: absolute; right: var(--gut); top: 36%; display: grid; gap: 10px; text-align: right; font: 600 12.5px/1.3 var(--f-t); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.hero__meta li:first-child { color: var(--paper); }
.hero__cue { display: flex; align-items: center; gap: 12px; font: 600 12.5px/1 var(--f-t); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.hero__cue i { position: relative; width: 44px; height: 1px; background: var(--line-2); overflow: hidden; }
.hero__cue i::after { content: ''; position: absolute; inset: 0; background: var(--lime); animation: cue 2s var(--e-io) 3; }
@keyframes cue { 0% { translate: -100% 0; } 60%, 100% { translate: 100% 0; } }
html.has-motion [data-hero-fade] { opacity: 0; }

@media (max-width: 900px) {
  .hero__side { width: 100%; left: 0; padding-inline: var(--gut); top: auto; bottom: 4svh; grid-template-columns: 1fr auto; align-items: end; }
  .hero__meta { display: none; }
  .hero__cue { display: none; }
  .hero__media { clip-path: inset(28% 6% 37% 6% round 14px); }
  .hero__title { font-size: min(14.6vw, 12svh); }
  .hero__l--1 { top: calc(var(--hdr) + 5svh); }
  .hero__l--2 { right: auto; left: var(--gut); bottom: auto; top: 65.5svh; }
}
@media (max-width: 560px) {
  .hero__side { grid-template-columns: 1fr; gap: 14px; }
  .hero__lead { font-size: 14.5px; }
}

/* ── Intro ──────────────────────────────────────────────────────────────── */
.intro { padding: clamp(120px, 16vw, 240px) var(--gut) clamp(80px, 10vw, 150px); overflow: hidden; }
.intro__text { font: 620 clamp(2rem, 5.4vw, 6.2rem)/1.02 var(--f-t); letter-spacing: -.04em; }
.kl { display: block; white-space: nowrap; }
.kl:nth-child(even) { text-align: right; }
.intro__text em { font-style: normal; color: var(--lime); }
.intro__facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(48px, 6vw, 88px); }
.intro__facts li { padding: 11px 18px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 15px; transition: background-color .35s, color .35s, border-color .35s; }
@media (hover: hover) and (pointer: fine) { .intro__facts li:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); } }
@media (max-width: 760px) { .kl { white-space: normal; } .intro__text { font-size: clamp(1.9rem, 8.4vw, 3rem); } }
html.has-motion.motion-ok [data-reveal] { opacity: 0; }

/* ── Serviços: cartões que empilham ─────────────────────────────────────── */
.svc { padding-top: clamp(60px, 8vw, 120px); }
.deck { padding: 0 var(--gut) 4svh; }
.card { position: sticky; top: calc(var(--hdr) + 6px + var(--i) * 12px); height: min(calc(100svh - var(--hdr) - 110px), 760px); min-height: 440px; border-radius: var(--r); background: var(--bg); color: var(--fg); overflow: hidden; transform-origin: 50% 0; }
.card + .card { margin-top: 3svh; }
.card__in { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: clamp(20px, 3vw, 44px); isolation: isolate; }
.card__top { display: flex; justify-content: space-between; gap: 16px; font: 700 12.5px/1 var(--f-t); letter-spacing: .16em; text-transform: uppercase; }
.card__t { font: 900 clamp(3.2rem, 10vw, 11.5rem)/.82 var(--f-d); text-transform: uppercase; max-width: 9ch; hyphens: manual; overflow-wrap: break-word; }
.card__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 32px; flex-wrap: wrap; }
.card__foot p { max-width: 46ch; font-size: clamp(15px, .4vw + .9rem, 18.5px); line-height: 1.45; font-weight: 500; }
.card__num { position: absolute; right: -1.5vw; bottom: -5vw; z-index: -1; font: 900 clamp(14rem, 34vw, 40rem)/.8 var(--f-d); color: transparent; -webkit-text-stroke: 2px currentColor; opacity: .2; pointer-events: none; }
.card__shade { position: absolute; inset: 0; z-index: 2; background: #000; opacity: 0; pointer-events: none; }
.svc__also { padding: 5svh var(--gut) 0; max-width: 90ch; color: var(--mute); font-size: 15px; }
@media (max-width: 760px) {
  .card { height: min(calc(100svh - var(--hdr) - 70px), 640px); min-height: 400px; top: calc(var(--hdr) + 4px + var(--i) * 8px); }
  .card__t { font-size: clamp(2.8rem, 15vw, 5rem); }
  .card__top span + span { display: none; }
}

/* ── Obra: galeria horizontal ───────────────────────────────────────────── */
.work { position: relative; padding-block: clamp(60px, 8vw, 120px); }
.work__pin { position: relative; }
.work__track { display: flex; align-items: center; gap: clamp(20px, 4vw, 64px); padding-inline: var(--gut); scroll-padding-inline: var(--gut); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.work__track::-webkit-scrollbar { display: none; }
.work__intro { flex: none; width: min(82vw, 480px); display: grid; gap: 26px; scroll-snap-align: start; }
.spec { display: grid; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec dt { color: var(--mute); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; padding-top: 2px; }
.shot { flex: none; width: 82vw; scroll-snap-align: center; }
.shot__frame { overflow: hidden; border-radius: var(--r); background: var(--ink-3); aspect-ratio: 16 / 10; will-change: transform; }
.shot__frame img { width: 100%; height: 100%; object-fit: cover; scale: 1.18; }
.shot figcaption { display: flex; gap: 12px; align-items: baseline; margin-top: 14px; font: 600 14px/1.3 var(--f-t); color: var(--mute); }
.shot figcaption span { font: 800 16px/1 var(--f-d); color: var(--lime); }
.work__end { flex: none; width: min(82vw, 400px); display: grid; gap: 20px; font: 620 clamp(1.4rem, 2.2vw, 2.2rem)/1.15 var(--f-t); letter-spacing: -.02em; scroll-snap-align: end; }
.work__end .lnk { width: fit-content; font-size: 17px; letter-spacing: 0; }
.work__ui { display: none; }
@media (min-width: 900px) {
  html.has-motion .work__pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  html.has-motion .work__track { width: max-content; overflow: visible; padding-right: 12vw; }
  html.has-motion .work__intro { width: clamp(300px, 30vw, 480px); }
  html.has-motion .shot--a { width: 46vw; }
  html.has-motion .shot--b { width: 30vw; align-self: flex-end; margin-bottom: 4svh; }
  html.has-motion .shot--b .shot__frame { aspect-ratio: 4 / 5; }
  html.has-motion .shot--c { width: 50vw; }
  html.has-motion .shot--c .shot__frame { aspect-ratio: 16 / 9; }
  html.has-motion .shot--d { width: 34vw; align-self: flex-start; margin-top: 6svh; }
  html.has-motion .shot--d .shot__frame { aspect-ratio: 1; }
  html.has-motion .work__end { width: clamp(260px, 24vw, 400px); }
  html.has-motion .work__ui { position: absolute; left: var(--gut); right: var(--gut); bottom: 5svh; display: flex; align-items: center; gap: 22px; font: 700 15px/1 var(--f-d); letter-spacing: .06em; color: var(--mute); }
  html.has-motion .work__ui b { color: var(--paper); font-weight: 800; }
  .work__bar { flex: 1; height: 2px; background: var(--line); overflow: hidden; }
  .work__bar i { display: block; height: 100%; background: var(--lime); transform-origin: 0 50%; transform: scaleX(0); }
}

/* ── Números: contorno que se preenche ──────────────────────────────────── */
.nums { padding: clamp(80px, 10vw, 150px) var(--gut); }
.num { display: grid; grid-template-columns: 1fr minmax(180px, 30ch); align-items: end; gap: 12px 28px; padding: clamp(8px, 1.2vw, 18px) 0; border-top: 1px solid var(--line); }
.num:last-child { border-bottom: 1px solid var(--line); }
.num__v { --f: 100%; font: 900 clamp(5rem, 17vw, 20rem)/.84 var(--f-d); color: transparent; -webkit-text-stroke: 2px var(--paper); background: linear-gradient(var(--c), var(--c)) 0 0 / var(--f) 100% no-repeat; -webkit-background-clip: text; background-clip: text; white-space: nowrap; }
.num__l { padding-bottom: 1.4vw; color: var(--mute); font-size: clamp(15px, .5vw + .85rem, 19px); line-height: 1.35; font-weight: 500; }
@media (max-width: 760px) { .num { grid-template-columns: 1fr; } .num__v { font-size: clamp(4.6rem, 26vw, 9rem); } .num__l { padding-bottom: 10px; } }

/* ── Método: linha do tempo ─────────────────────────────────────────────── */
.steps { padding: clamp(80px, 10vw, 150px) var(--gut); }
.steps__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px clamp(12px, 1.6vw, 24px); }
.steps__head { grid-column: 1 / span 5; position: sticky; top: calc(var(--hdr) + 40px); align-self: start; display: grid; gap: 22px; }
.steps__lead { color: var(--mute); max-width: 36ch; }
.steps__body { grid-column: 7 / span 6; position: relative; padding-left: clamp(28px, 3vw, 44px); }
.steps__line { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--line); }
.steps__line i { display: block; width: 100%; height: 100%; background: var(--lime); transform-origin: 50% 0; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 28px; padding: clamp(28px, 4vw, 54px) 0; border-bottom: 1px solid var(--line); transition: opacity .6s var(--e-out); }
.step:first-child { padding-top: 0; }
html.motion-ok .step { opacity: .3; }
html.motion-ok .step.is-on { opacity: 1; }
.step__n { font: 900 clamp(3.4rem, 6.6vw, 7.2rem)/.8 var(--f-d); color: transparent; -webkit-text-stroke: 1.5px var(--paper); transition: color .5s, -webkit-text-stroke-color .5s; }
.step.is-on .step__n { color: var(--lime); -webkit-text-stroke-color: var(--lime); }
.step h3 { font: 850 clamp(1.7rem, 2.6vw, 2.7rem)/.95 var(--f-d); text-transform: uppercase; margin-bottom: 10px; }
.step p { color: var(--mute); max-width: 40ch; }
@media (max-width: 900px) { .steps__head, .steps__body { grid-column: 1 / -1; } .steps__head { position: relative; top: 0; } }

/* ── Sócios: painéis que se expandem ────────────────────────────────────── */
.team { padding-block: clamp(80px, 10vw, 150px); }
.panels { display: flex; gap: 10px; padding-inline: var(--gut); height: clamp(480px, 72svh, 760px); }
.panel { position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--r); background: var(--c); color: var(--fg); overflow: hidden; transition: flex-grow .9s var(--e-out); }
.panel.is-open { flex-grow: 3.4; }
.panel__btn { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: clamp(18px, 2vw, 28px); text-align: left; }
.panel.is-open .panel__btn { pointer-events: none; }
.panel__n { font: 800 15px/1 var(--f-d); letter-spacing: .06em; }
.panel__v { font: 900 clamp(2.4rem, 4vw, 4.6rem)/.8 var(--f-d); text-transform: uppercase; writing-mode: vertical-rl; rotate: 180deg; transition: opacity .35s; }
.panel.is-open .panel__v { opacity: 0; }
.panel__body { position: absolute; inset: 0; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: end; gap: 24px; padding: clamp(18px, 2.4vw, 36px); opacity: 0; pointer-events: none; transition: opacity .35s; }
.panel.is-open .panel__body { opacity: 1; pointer-events: auto; transition: opacity .6s .3s; }
.panel__body img { width: 100%; max-width: 420px; align-self: center; scale: .88; rotate: -6deg; transition: scale 1.1s var(--e-out), rotate 1.1s var(--e-out); }
.panel.is-open .panel__body img { scale: 1; rotate: 0deg; }
.panel__role { font: 700 12px/1 var(--f-t); letter-spacing: .16em; text-transform: uppercase; }
.panel__txt h3 { font: 900 clamp(3rem, 6vw, 6.6rem)/.82 var(--f-d); text-transform: uppercase; margin: 10px 0 14px; }
.panel__txt p:last-child { max-width: 32ch; font-weight: 500; }
@media (max-width: 760px) {
  .panels { flex-direction: column; height: auto; }
  .panel { flex: none; height: 74px; transition: height .8s var(--e-out); }
  .panel.is-open { height: 600px; }
  .panel__btn { flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; }
  .panel__v { writing-mode: horizontal-tb; rotate: 0deg; font-size: 2.2rem; }
  .panel__body { grid-template-columns: 1fr; align-content: end; }
  .panel__body img { max-width: 260px; justify-self: center; }
}

/* ── Documentos ─────────────────────────────────────────────────────────── */
.docs { padding: clamp(80px, 10vw, 150px) var(--gut); }
.docs__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px clamp(12px, 1.6vw, 24px); }
.docs__head { grid-column: 1 / span 5; display: grid; gap: 20px; align-content: start; }
.docs__head > p { color: var(--mute); max-width: 40ch; }
.docs__cnpj { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--paper) !important; font-weight: 600; }
.docs__cnpj span { color: var(--mute); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; }
.copy { padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 12px; font-weight: 600; transition: background-color .3s, color .3s; }
.copy:hover, .copy.is-done { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.rows { grid-column: 7 / span 6; border-top: 1px solid var(--line); }
.row { position: relative; isolation: isolate; display: grid; grid-template-columns: 44px 1fr auto; grid-template-areas: "n b a" "n o s"; gap: 6px 16px; align-items: baseline; padding: 22px 14px; border-bottom: 1px solid var(--line); }
.row::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink-3); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--e-out); }
.row:focus-within::before { transform: scaleY(1); }
@media (hover: hover) and (pointer: fine) { .row:hover::before { transform: scaleY(1); } .row:hover .row__a i { translate: 3px -3px; } }
.row__n { grid-area: n; font: 800 15px/1 var(--f-d); color: var(--lime); }
.row b { grid-area: b; font: 850 clamp(1.5rem, 2.1vw, 2.1rem)/1 var(--f-d); text-transform: uppercase; }
.row__org { grid-area: o; color: var(--mute); font-size: 14px; }
.row__st { grid-area: s; justify-self: end; font-size: 13px; font-weight: 600; color: var(--lime); }
.row__a { grid-area: a; justify-self: end; font-size: 14px; font-weight: 700; }
.row__a i { display: inline-block; font-style: normal; transition: translate .4s var(--e-out); }
.row__a::after { content: ''; position: absolute; inset: 0; }
@media (max-width: 900px) { .docs__head, .rows { grid-column: 1 / -1; } }

/* ── CTA ────────────────────────────────────────────────────────────────── */
.cta { padding: clamp(100px, 14vw, 220px) var(--gut) clamp(80px, 10vw, 140px); overflow: hidden; }
.cta__t { display: grid; font: 900 clamp(5rem, 22vw, 26rem)/.78 var(--f-d); text-transform: uppercase; }
.cta__t span:nth-child(2) { justify-self: end; color: var(--lime); }
.cta__row { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: clamp(32px, 4vw, 56px); }
.cta__row p { max-width: 30ch; font: 500 clamp(1.1rem, 1vw + .8rem, 1.6rem)/1.35 var(--f-t); }
.badge { position: relative; flex: none; width: clamp(140px, 13vw, 200px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; }
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--paper); font: 700 15px var(--f-t); letter-spacing: .3em; text-transform: uppercase; }
.badge__core { width: 46%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); transition: scale .6s var(--e-out); }
.badge__core svg { width: 36%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: rotate .6s var(--e-out); }
.badge:focus-visible .badge__core { scale: 1.15; }
@media (hover: hover) and (pointer: fine) { .badge:hover .badge__core { scale: 1.15; } .badge:hover .badge__core svg { rotate: 45deg; } }
@media (max-width: 640px) { .cta__row { flex-direction: column; align-items: flex-start; } .badge { align-self: flex-end; } }

/* ── Rodapé revelado por baixo ──────────────────────────────────────────── */
main { position: relative; z-index: 1; background: var(--ink); }
.ftr { position: relative; z-index: 0; background: var(--lime); color: var(--ink); }
.ftr.is-reveal { position: fixed; left: 0; right: 0; bottom: 0; }
.ftr__in { padding: clamp(40px, 6vw, 80px) var(--gut) 22px; }
.ftr .lnk { --lb: var(--ink); --lh: var(--lime); }
.ftr__top { display: grid; gap: 6px; justify-items: start; }
.ftr__big { font: 900 clamp(2.8rem, 9vw, 10rem)/.84 var(--f-d); text-transform: uppercase; }
.ftr__big + .ftr__big { font-size: clamp(1.6rem, 4.6vw, 5rem); text-transform: none; font-weight: 800; }
.ftr__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(32px, 5vw, 64px); font-weight: 500; }
.ftr__h { font: 700 12px/1 var(--f-t); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; opacity: .65; }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: clamp(28px, 4vw, 48px); padding-top: 16px; border-top: 1px solid rgba(15, 15, 13, .25); font-size: 14px; font-weight: 600; }
@media (max-width: 760px) { .ftr__cols { grid-template-columns: 1fr; } }

/* ── Salvaguardas e movimento reduzido ──────────────────────────────────── */
html.has-motion:not(.motion-ok) [data-hero-fade],
html.has-motion:not(.motion-ok) .hero__title { animation: motionFailsafe .6s 3.5s both; }
@keyframes motionFailsafe { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
