/* =========================================================================
   Lastro Studio — Site Institucional
   Território: "Editorial clínico-cinematográfico"
   Fonte única: Google Sans Flex (variável opsz 6–144 / wght 100–900)
   Paleta dos docs de marca: #162B35 · #D9DFEA · #FFFFFF · #000000 · #FF602B (tensão)
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink:        #162B35;
  --ink-deep:   #0F1F27;
  --ink-2:      #1C3541;
  --ink-3:      #24414F;
  --paper:      #D9DFEA;
  --paper-2:    #E9EDF4;
  --white:      #FFFFFF;
  --black:      #000000;
  --accent:     #FF602B;
  --accent-deep:#D94A1A;

  --font: 'Google Sans Flex', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --max: 1360px;
  --gutter: clamp(20px, 5vw, 72px);
  --nav-h: 76px;

  --t-display: clamp(2.8rem, 1rem + 2.8vw, 4.6rem); /* menor de propósito: divide a hero com o símbolo de cima a baixo */
  --t-h2:      clamp(2.1rem, 1rem + 3.8vw, 4.6rem);
  --t-h3:      clamp(1.5rem, 1.15rem + 1.4vw, 2.5rem);
  --t-lead:    clamp(1.1rem, 1rem + .55vw, 1.4rem);
  --t-body:    clamp(.98rem, .94rem + .2vw, 1.0625rem);
  --t-small:   .8125rem;
  --t-eyebrow: .6875rem;

  --space:    clamp(88px, 12vw, 168px);
  --space-sm: clamp(56px, 8vw, 112px);
  --radius:    20px;
  --radius-sm: 12px;

  --ease-out:  cubic-bezier(.22, 1, .36, 1);
  --ease-io:   cubic-bezier(.65, 0, .35, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
  --ease:      cubic-bezier(.22, .8, .22, 1);
  --dur-fast: .18s;
  --dur:      .4s;
  --dur-slow: .9s;
}
@media (max-width: 639px) {
  :root { --t-display: clamp(2rem, 9.8vw, 4.4rem); --nav-h: 68px; } /* 9,8vw: 5 linhas controladas pelo <br class="br-m"> */
}

/* ---------- Modos de dobra (a nav lê isso pra trocar de cor) ---------- */
[data-mode="deep"], [data-mode="ink"] {
  --fg: #EEF2F7;
  --muted: rgba(217, 223, 234, .62);
  --line: rgba(217, 223, 234, .14);
  --surface: rgba(217, 223, 234, .05);
  --surface-2: rgba(217, 223, 234, .1);
  --ph-a: #1C3541; --ph-b: #0F1F27;
}
[data-mode="deep"]  { --bg: var(--ink-deep); }
[data-mode="ink"]   { --bg: var(--ink); }
[data-mode="paper"] {
  --bg: var(--paper); --fg: var(--ink);
  --muted: rgba(22, 43, 53, .62);
  --line: rgba(22, 43, 53, .14);
  --surface: rgba(255, 255, 255, .6);
  --surface-2: #FFFFFF;
  --ph-a: #243F4D; --ph-b: #162B35;
}
[data-mode="white"] {
  --bg: var(--white); --fg: var(--ink);
  --muted: rgba(22, 43, 53, .6);
  --line: rgba(22, 43, 53, .12);
  --surface: var(--paper-2);
  --surface-2: var(--paper);
  --ph-a: #243F4D; --ph-b: #162B35;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--ink-deep); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  font-family: var(--font);
  font-optical-sizing: auto;
  font-size: var(--t-body);
  line-height: 1.55;
  font-weight: 400;
  color: #EEF2F7;
  background: var(--ink-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 200; background: var(--accent); color: var(--ink); padding: 12px 18px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 16px; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; background: var(--bg); color: var(--fg); padding-block: var(--space); }
.section--tight { padding-block: var(--space-sm); }
.stack > * + * { margin-top: var(--stack, 24px); }
.head { display: grid; gap: clamp(20px, 3vw, 36px); margin-bottom: clamp(40px, 6vw, 80px); }
@media (min-width: 900px) {
  .head--split { grid-template-columns: 1.2fr .8fr; align-items: end; }
}
.head--stack { gap: 20px; justify-items: start; }
.head--stack .h2 { max-width: 20ch; }
.head--stack .lead { max-width: 58ch; }
.h2--sm { font-size: clamp(1.9rem, 1rem + 2.8vw, 3.6rem); }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: var(--t-eyebrow); letter-spacing: .22em; text-transform: uppercase;
  font-weight: 600; color: var(--muted);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); flex: none; }
.display { font-size: var(--t-display); font-weight: 500; line-height: .9; letter-spacing: -.035em; text-wrap: balance; }
.h2 { font-size: var(--t-h2); font-weight: 500; line-height: .96; letter-spacing: -.03em; text-wrap: balance; }
.h3 { font-size: var(--t-h3); font-weight: 500; line-height: 1.05; letter-spacing: -.02em; }
.display em, .h2 em { font-style: normal; color: var(--accent); font-weight: 600; }
.display .thin, .h2 .thin { font-weight: 300; }
.lead { font-size: var(--t-lead); line-height: 1.45; color: var(--muted); max-width: 52ch; text-wrap: pretty; }
.lead strong { color: var(--fg); font-weight: 500; }
.small { font-size: var(--t-small); color: var(--muted); }
.num {
  font-weight: 200; letter-spacing: -.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
  color: transparent; -webkit-text-stroke: 1px var(--accent);
}
.u { position: relative; }
.u::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
@media (hover: hover) { .u:hover::after { transform: scaleX(1); transform-origin: left; } }

/* ---------- Botões ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  height: 56px; padding: 0 8px 0 28px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--fg);
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  white-space: nowrap; isolation: isolate; overflow: hidden; cursor: pointer;
  transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.btn__arrow {
  width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center;
  border: 1px solid var(--line); flex: none;
  transition: transform var(--dur) var(--ease-out), background var(--dur), border-color var(--dur);
}
.btn__arrow svg { width: 16px; height: 16px; }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn--primary .btn__arrow { background: var(--ink); border-color: var(--ink); color: var(--accent); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--fg); transform: translateY(101%);
  transition: transform .5s var(--ease-out);
}
.magnetic { transition: transform .4s var(--ease-back), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out); will-change: transform; }
@media (hover: hover) {
  .btn--primary:hover { color: var(--bg); }
  .btn--primary:hover::before { transform: translateY(0); }
  .btn--primary:hover .btn__arrow { transform: rotate(-45deg); }
  .btn--ghost:hover { border-color: var(--fg); }
  .btn--ghost:hover .btn__arrow { transform: translateY(4px); border-color: var(--fg); }
}

/* ---------- Overlays globais ---------- */
.progress {
  position: fixed; top: 0; left: 0; width: 100%; height: 2px; z-index: 110;
  background: var(--accent); transform-origin: left; transform: scaleX(0); pointer-events: none;
}
.grain {
  position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (max-width: 639px) { .grain { opacity: .05; } }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 120; background: var(--ink-deep); color: #EEF2F7;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding: var(--gutter); will-change: transform;
}
.loader__name { overflow: hidden; padding-bottom: 4px; }
.loader__name span { display: block; transform: translateY(110%); }
.loader__logo { display: block; height: clamp(34px, 6vw, 64px); width: auto; aspect-ratio: 339 / 75; }
.loader__count { font-size: clamp(3rem, 10vw, 8rem); font-weight: 200; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
html.no-intro .loader, html.intro-done .loader { display: none; }

/* Estados iniciais da entrada (só com JS + intro ativa; estado final sempre visível sem JS) */
html.has-intro [data-intro] { opacity: 0; transform: translateY(20px); }
html.has-intro [data-intro-line] { transform: translateY(110%); }
html.intro-done [data-intro], html.intro-done [data-intro-line] { opacity: 1; transform: none; }

/* ---------- Reveal genérico ---------- */
html.js [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
html.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; color: #EEF2F7;
  transition: background .5s var(--ease), color .5s var(--ease), height .4s var(--ease);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
html[data-nav="paper"] .nav, html[data-nav="white"] .nav { color: var(--ink); }
html[data-nav="ink"] .nav, html[data-nav="deep"] .nav { color: #EEF2F7; }
.nav.is-scrolled { height: 64px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
html[data-nav="paper"] .nav.is-scrolled { background: rgba(217, 223, 234, .74); }
html[data-nav="white"] .nav.is-scrolled { background: rgba(255, 255, 255, .74); }
html[data-nav="ink"]   .nav.is-scrolled { background: rgba(22, 43, 53, .74); }
html[data-nav="deep"]  .nav.is-scrolled { background: rgba(15, 31, 39, .74); }
html.menu-open .nav { color: #EEF2F7; background: transparent; backdrop-filter: none; }

/* logo oficial: sprite inline (#logo-lastro) — "studio" herda currentColor, símbolo e "lastro" ficam no acento */
.brand { display: inline-flex; align-items: center; color: inherit; }
.brand__logo { display: block; height: 26px; width: auto; aspect-ratio: 339 / 75; }
.brand--footer .brand__logo { height: 32px; }
@media (max-width: 639px) { .brand__logo { height: 22px; } }

.nav__links { display: none; gap: 36px; }
.nav__link { position: relative; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; padding: 8px 0; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
@media (hover: hover) { .nav__link:hover::after { transform: scaleX(1); transform-origin: left; } }
.nav__cta { display: none; height: 44px; padding: 0 20px; font-size: .68rem; gap: 0; }
@media (min-width: 900px) { .nav__links { display: flex; } .nav__cta { display: inline-flex; } }

.nav__burger {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  width: 48px; height: 48px; border: 1px solid currentColor; border-radius: 999px; background: transparent; cursor: pointer;
}
.nav__burger span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease-out); }
html.menu-open .nav__burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
html.menu-open .nav__burger span:last-child  { transform: translateY(-3.75px) rotate(-45deg); }
@media (min-width: 900px) { .nav__burger { display: none; } }

/* ---------- Menu overlay (mobile) ---------- */
.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #EEF2F7;
  display: flex; flex-direction: column; justify-content: center; gap: 32px;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .7s var(--ease-io), visibility 0s linear .7s;
}
html.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition-delay: 0s; }
.menu__link {
  display: block; font-size: clamp(2.4rem, 10vw, 4rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.05;
  padding: 10px 0; border-bottom: 1px solid rgba(217, 223, 234, .12);
  transform: translateY(30px); opacity: 0;
  transition: transform .6s var(--ease-out), opacity .6s;
}
html.menu-open .menu__link { transform: none; opacity: 1; }
html.menu-open .menu__link:nth-child(2) { transition-delay: .07s; }
html.menu-open .menu__link:nth-child(3) { transition-delay: .14s; }
html.menu-open .menu__link:nth-child(4) { transition-delay: .21s; }
html.menu-open .menu__link:nth-child(5) { transition-delay: .28s; }
.menu__foot { display: grid; gap: 16px; justify-items: start; }

/* ---------- Placeholder de imagem (vira <img> R2 quando o asset subir) ---------- */
.ph {
  position: absolute; inset: 0; overflow: hidden;
  background: linear-gradient(135deg, var(--ph-a), var(--ph-b) 60%, #0B171D);
}
.ph::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(217, 223, 234, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(217, 223, 234, .07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 80%);
          mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 80%);
}
.ph::after {
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; right: -20%; bottom: -25%;
  background: radial-gradient(circle, rgba(255, 96, 43, .32), transparent 65%);
}
.ph--warm { background: linear-gradient(135deg, #2A4654, #162B35 50%, #3A2A24); }
.ph--warm::after { width: 100%; right: -30%; bottom: -35%; background: radial-gradient(circle, rgba(255, 96, 43, .6), transparent 65%); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.ph__label {
  display: none; position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2;
  font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.5;
  color: rgba(217, 223, 234, .6); max-width: 36ch;
}
.ph.is-missing img { display: none; }
.ph.is-missing .ph__label { display: block; }

/* ---------- Hero ---------- */
/* texto centralizado na vertical (o padding-top compensa a nav fixa) */
.hero {
  min-height: 100svh; display: flex; align-items: center; overflow: hidden;
  padding-block: calc(var(--nav-h) + 24px) clamp(32px, 5vw, 64px);
}
.hero__inner { position: relative; width: 100%; }
.hero__text { position: relative; z-index: 2; }
.hero__title { margin-block: 0 clamp(28px, 4vw, 56px); }
.hero__title .mask { display: block; overflow: hidden; padding: .12em 0 .1em; margin: -.12em 0 -.1em; }
.hero__title .mask > span { display: block; }
@media (min-width: 900px) { .hero__title .mask > span { white-space: nowrap; } } /* 3 linhas fixas; a palavra em destaque nunca fica órfã */
.br-m { display: none; }
@media (max-width: 639px) { .br-m { display: inline; } }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 639px) {
  .hero__ctas .btn { width: 100%; justify-content: space-between; }
}

/* palavra do público rolando dentro do H1. O JS mede cada palavra e troca --ri (índice) e --rw (largura),
   então a linha fecha junto da palavra ativa — sem sobra depois das curtas. Sem JS/reduced-motion: 1ª palavra. */
/* Inline-block com overflow hidden alinha pela borda de baixo, não pela linha de base: por isso o alinhamento
   é pelo TOPO, com a mesma altura de linha do título (.9) — as linhas de base coincidem. O padding inferior
   (compensado pela margem negativa) mostra o descendente do "p"; a margem entre palavras impede a próxima de aparecer. */
.roller {
  display: inline-block; vertical-align: top; height: .9em; line-height: .9; overflow: hidden;
  padding-bottom: .22em; margin-bottom: -.22em;
  width: var(--rw, auto); transition: width .6s var(--ease-io);
}
.roller__track { display: flex; flex-direction: column; align-items: flex-start; transform: translateY(calc(var(--ri, 0) * -1.2em)); transition: transform .6s var(--ease-io); }
.roller__track.is-jumping { transition: none; }
.roller__track span { display: block; width: max-content; height: .9em; line-height: .9; margin-bottom: .3em; white-space: nowrap; }

/* símbolo da marca em laranja cheio, de cima a baixo da hero, grudado na lateral direita
   (posicionado pela section, não pelo .wrap); em telas estreitas limita a 64vw pra não invadir o texto */
.hero__mark {
  /* ocupa toda a altura ABAIXO da nav (senão o botão laranja da nav some em cima do símbolo laranja) */
  position: absolute; right: -6vw; top: calc(50% + var(--nav-h) / 2); transform: translateY(-50%);
  height: min(calc(100% - var(--nav-h)), 58vw); width: auto; aspect-ratio: 78 / 75;
  color: rgba(217, 223, 234, .22); pointer-events: none; z-index: 1; /* só o traço; o ponto puxa o acento */
}
@media (min-width: 900px) and (max-width: 1199px) { .hero__mark { height: min(calc(100% - var(--nav-h)), 50vw); } }
.hero .lead { max-width: 36ch; } /* mais estreita pra não encostar na barra do símbolo */
.hero__pulse { transform-box: fill-box; transform-origin: center; animation: pulse 4.5s var(--ease-io) infinite; filter: drop-shadow(0 0 24px rgba(255, 96, 43, .5)); }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.14); opacity: .85; } }
@media (max-width: 899px) {
  /* no mobile o bloco fica centralizado e o símbolo vira marca d'água grande atrás, no canto direito */
  .hero__mark { height: auto; width: 86vw; right: -24vw; top: 6%; transform: none; color: rgba(217, 223, 234, .2); }
}

/* ---------- Marquee (base da hero) ---------- */
.marquee {
  position: relative; z-index: 3; overflow: hidden; padding: 18px 0;
  background: var(--bg); color: var(--fg);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap;
  font-size: clamp(.85rem, 1.2vw, 1.05rem); letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
}
.marquee__item::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 639px) { .marquee__track { animation-duration: 55s; } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- Manifesto (texto cinético) ---------- */
.manifesto { padding-block: clamp(120px, 16vw, 220px); }
.kinetic {
  font-size: clamp(1.9rem, 1rem + 3.6vw, 4.4rem); font-weight: 500; line-height: 1.08; letter-spacing: -.025em;
  max-width: 22ch; text-wrap: balance; margin-top: 32px;
}
.kinetic .w { opacity: .16; }
.kinetic .w.on { opacity: 1; transition: opacity .3s linear; }
html:not(.js) .kinetic .w { opacity: 1; }
.manifesto__sign {
  margin-top: 40px; display: flex; align-items: center; gap: 14px;
  font-size: var(--t-small); letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.manifesto__sign::before { content: ""; width: 48px; height: 1px; background: var(--accent); }

/* ---------- Sites (oferta principal) — sem imagem: a lista é o protagonista ---------- */
.sites__grid { display: grid; gap: 56px; align-items: start; }
@media (min-width: 900px) {
  .sites__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(48px, 7vw, 112px); }
  .sites__intro { position: sticky; top: calc(var(--nav-h) + 40px); }
}
.sites__title { font-size: clamp(2rem, 1rem + 3vw, 3.9rem); }
.nowrap { white-space: nowrap; }
.sites__note { margin-top: 12px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.sites__list-wrap { position: relative; } /* a lista nasce alinhada ao topo do título */
.sites__list { border-top: 1px solid var(--line); }
.sites__item {
  display: grid; grid-template-columns: clamp(64px, 8vw, 112px) 1fr; gap: 12px clamp(16px, 3vw, 36px);
  padding: clamp(26px, 3.6vw, 44px) 0; border-bottom: 1px solid var(--line); align-items: start;
}
.sites__item .num {
  font-size: clamp(2.4rem, 1rem + 3.8vw, 4.8rem); line-height: .85; margin-top: .04em;
  transition: color .5s var(--ease), -webkit-text-stroke-color .5s var(--ease);
}
.sites__item h3 { font-size: clamp(1.35rem, 1rem + 1.4vw, 2.2rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.08; margin-bottom: 10px; }
.sites__item p { color: var(--muted); max-width: 40ch; }
@media (hover: hover) { .sites__item:hover .num { color: var(--accent); } } /* o contorno enche */

/* ---------- Soluções complementares (linhas editoriais) ---------- */
.rows { position: relative; border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: auto 1fr; gap: 12px clamp(16px, 3vw, 40px); align-items: center;
  padding: clamp(22px, 3vw, 36px) 0; border-bottom: 1px solid var(--line); position: relative;
}
@media (min-width: 760px) { .row { grid-template-columns: 72px 1fr minmax(0, 1fr) auto; } }
.row .num { font-size: clamp(1.4rem, 2vw, 2rem); }
.row__title { font-size: clamp(1.9rem, 1rem + 3.4vw, 4rem); font-weight: 500; letter-spacing: -.03em; line-height: 1; transition: transform .5s var(--ease-out); }
.row__desc { color: var(--muted); max-width: 40ch; grid-column: 2; font-size: var(--t-small); }
.row__tag {
  font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; padding: 9px 14px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--muted); grid-column: 2; justify-self: start;
  transition: border-color .3s, color .3s;
}
@media (min-width: 760px) { .row__desc { grid-column: auto; font-size: var(--t-body); } .row__tag { grid-column: auto; justify-self: auto; } }
@media (hover: hover) {
  .row:hover .row__title { transform: translateX(14px); }
  .row:hover .row__tag { border-color: var(--accent); color: var(--accent); }
}
.peek { position: absolute; top: 0; left: 0; width: 280px; pointer-events: none; z-index: 5; display: none; will-change: transform; }
@media (min-width: 900px) and (hover: hover) { .peek { display: block; } }
.peek__inner {
  position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden;
  opacity: 0; transform: scale(.85) rotate(-5deg);
  transition: opacity .35s var(--ease), transform .55s var(--ease-back);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
}
.peek__inner.is-on { opacity: 1; transform: scale(1) rotate(-2deg); }
.peek .ph { display: none; }
.peek .ph.is-active { display: block; }

/* ---------- Pilares (cada pilar ocupa a tela inteira; no desktop a seção pina e o scroll troca os painéis) ---------- */
.pillars { padding: 0; }
.pillars__stage { position: relative; overflow: hidden; display: flex; flex-direction: column; }
.pillars__bgs { position: absolute; inset: 0; z-index: 0; display: none; }
.pillars__bg { position: absolute; inset: 0; background: var(--pbg); }
/* width:100% — num flex em coluna, margin-inline:auto encolhe o .wrap ao conteúdo */
.pillars__top { position: relative; z-index: 2; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: calc(var(--nav-h) + 24px); }
.pillars__counter { display: flex; align-items: baseline; gap: 8px; font-size: clamp(1.4rem, 2vw, 2rem); font-weight: 300; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pillars__counter i { font-style: normal; font-size: .55em; color: var(--muted); letter-spacing: .1em; }
.pillars__panels { position: relative; z-index: 1; }
.pillar { position: relative; display: flex; align-items: center; min-height: 100svh; padding-block: clamp(96px, 14vh, 160px); background: var(--pbg); color: #EEF2F7; --muted: rgba(217, 223, 234, .66); }
.pillar__inner { position: relative; width: 100%; }
.pillar__num {
  position: absolute; right: 0; top: 50%; transform: translateY(-62%); z-index: 0;
  font-size: clamp(8rem, 24vw, 24rem); font-weight: 200; letter-spacing: -.06em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--accent); opacity: .9; font-variant-numeric: tabular-nums;
}
.pillar__word { position: relative; z-index: 1; font-size: clamp(3.4rem, 1rem + 11.5vw, 13rem); font-weight: 500; letter-spacing: -.045em; line-height: .88; text-transform: uppercase; }
/* folga em cima e embaixo: acento do "Ê" e cedilha do "Ç" passam da linha de .88 */
.pillar__word .mask { display: block; overflow: hidden; padding: .2em 0 .12em; margin: -.2em 0 -.12em; }
.pillar__word .mask > span { display: block; }
.pillar__desc { position: relative; z-index: 1; margin-top: clamp(20px, 3vw, 36px); font-size: var(--t-lead); line-height: 1.45; color: var(--muted); max-width: 40ch; }
.pillar--accent { color: var(--ink); --muted: rgba(22, 43, 53, .78); }
.pillar--accent .pillar__num { -webkit-text-stroke-color: var(--ink); opacity: .55; }
.pillars__ticks { position: relative; z-index: 2; width: 100%; display: none; gap: 8px; padding-bottom: 40px; }
.pillars__ticks i { width: 36px; height: 2px; background: rgba(217, 223, 234, .22); transition: background .4s; }
.pillars__ticks i.on { background: var(--accent); }
/* desktop com motion: painéis empilhados no mesmo lugar, pinados; o JS move palavra, número, descrição e cortina de cor */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  html.js .pillars__stage { height: 100svh; }
  html.js .pillars__bgs { display: block; }
  html.js .pillars__bg { clip-path: inset(100% 0 0 0); }
  html.js .pillars__bg:first-child { clip-path: inset(0 0 0 0); }
  html.js .pillars__panels { flex: 1; }
  html.js .pillar { position: absolute; inset: 0; min-height: 0; padding-block: 0; background: transparent; }
  html.js .pillar__inner[data-reveal] { opacity: 1; transform: none; transition: none; }
  html.js .pillars__ticks { display: flex; }
  html.js .pillars__counter { display: flex; }
}
@media (max-width: 899px) {
  /* mobile: nada de painel de tela inteira — 4 faixas compactas, cada uma na sua cor;
     o número outline fica no canto superior direito e a palavra sobe por cima dele (camada, não colisão) */
  .pillars__counter { display: none; }
  .pillars__top { padding-top: 56px; padding-bottom: 32px; }
  .pillar { min-height: 0; padding-block: clamp(40px, 9vw, 64px); }
  .pillar__inner { display: grid; }
  .pillar__num { position: static; transform: none; justify-self: end; font-size: clamp(4.5rem, 22vw, 7rem); margin-bottom: -.3em; opacity: .75; }
  .pillar__word { font-size: clamp(2.2rem, 10.5vw, 3.6rem); } /* "EXPERIÊNCIA" cabe sem bater no número */
  .pillar__desc { margin-top: 14px; max-width: 100%; font-size: var(--t-body); }
}

/* ---------- Para quem (parede de palavras) ---------- */
.audience { display: grid; gap: 32px; }
@media (min-width: 900px) { .audience { grid-template-columns: 1.25fr .75fr; gap: clamp(40px, 6vw, 96px); align-items: start; } }
.audience__list { display: grid; }
.aud { border-top: 1px solid var(--line); }
.aud:last-child { border-bottom: 1px solid var(--line); }
/* linhas altas de propósito: o scroll percorre a lista e vai acendendo uma palavra por vez */
.aud__row { display: flex; align-items: baseline; gap: clamp(14px, 2vw, 28px); padding: clamp(18px, 4.5vh, 48px) 0; }
.aud__idx { font-size: .72rem; letter-spacing: .2em; color: var(--muted); font-weight: 600; min-width: 2.4em; transition: color .4s; }
.aud__word {
  font-size: clamp(2.4rem, 1rem + 5.4vw, 6.6rem); font-weight: 500; letter-spacing: -.035em; line-height: .95;
  color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--fg) 42%, transparent);
  transition: color .5s var(--ease), -webkit-text-stroke-color .5s var(--ease), transform .6s var(--ease-out);
}
.aud.is-active .aud__word { color: var(--fg); -webkit-text-stroke-color: var(--fg); transform: translateX(10px); }
.aud.is-active .aud__idx { color: var(--accent); }
.aud__desc { display: none; padding: 0 0 22px calc(2.4em + clamp(14px, 2vw, 28px)); color: var(--muted); max-width: 44ch; }
.aud.is-active .aud__desc { display: block; }
.audience__panel {
  display: none; position: sticky; top: calc(50vh - 150px); min-height: 280px;
  padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--surface-2);
}
@media (min-width: 900px) {
  .aud__desc { display: none !important; }
  .audience__panel { display: grid; gap: 18px; align-content: start; }
}
.audience__kicker { font-size: var(--t-eyebrow); letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.audience__desc { font-size: var(--t-lead); line-height: 1.4; color: var(--fg); max-width: 28ch; }
.audience__meta { margin-top: 24px; font-size: var(--t-small); color: var(--muted); letter-spacing: .12em; font-variant-numeric: tabular-nums; }

/* ---------- Processo (número sticky) ---------- */
.process { display: grid; gap: 40px; }
@media (min-width: 900px) { .process { grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 100px); } }
.process__sticky { display: none; position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; }
@media (min-width: 900px) { .process__sticky { display: block; } }
.process__counter { display: flex; align-items: baseline; gap: 10px; font-size: clamp(8rem, 17vw, 17rem); font-weight: 200; letter-spacing: -.06em; line-height: .85; }
.process__counter .roll { position: relative; display: inline-block; height: .85em; overflow: hidden; width: .6em; vertical-align: baseline; }
.process__counter .roll span { position: absolute; left: 0; top: 0; display: block; line-height: .85; }
.process__counter small { font-size: .14em; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.process__dots { display: flex; gap: 8px; margin-top: 28px; }
.process__dots i { width: 32px; height: 2px; background: var(--line); transition: background .4s; }
.process__dots i.on { background: var(--accent); }
.steps { display: grid; }
.step { padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line); display: grid; gap: 14px; transition: opacity .5s var(--ease); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__label { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.step h3 { font-size: clamp(1.6rem, 1rem + 2.2vw, 3rem); font-weight: 500; letter-spacing: -.025em; line-height: 1; }
.step p { color: var(--muted); max-width: 48ch; }
@media (min-width: 900px) {
  .step__label { display: none; }
  /* vence o reveal (.in) sem perder a entrada */
  html.js .steps .step.in:not(.is-active) { opacity: .4; }
}

/* ---------- Espaço de mercado (espectro: linha + 3 marcadores, Lastro na ponta) ---------- */
.spectrum { position: relative; display: grid; gap: 40px; padding-top: 36px; }
.spectrum::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 1px; background: var(--line);
}
.spectrum::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-out) .2s;
}
.in.spectrum::after { transform: scaleX(1); }
.spec { position: relative; display: grid; gap: 10px; align-content: start; }
.spec__dot {
  position: absolute; left: 0; top: -41px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--muted); transform: scale(0); transition: transform .6s var(--ease-back) calc(.5s + var(--i, 1) * .25s);
}
.in .spec__dot { transform: scale(1); }
.spec__label { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.spec__title { font-size: clamp(1.15rem, 1rem + .9vw, 1.6rem); font-weight: 500; letter-spacing: -.02em; color: var(--muted); }
.spec__text { color: var(--muted); max-width: 30ch; font-size: var(--t-small); }
.spec--lastro .spec__dot { width: 18px; height: 18px; top: -45px; background: var(--accent); box-shadow: 0 0 0 10px rgba(255, 96, 43, .14); }
.spec--lastro .spec__label { color: var(--accent); }
.spec--lastro .spec__title { font-size: clamp(2rem, 1rem + 2.6vw, 3.6rem); color: var(--fg); letter-spacing: -.03em; line-height: 1; }
.spec--lastro .spec__text { color: var(--fg); font-size: var(--t-body); max-width: 36ch; }
@media (min-width: 900px) {
  .spectrum { grid-template-columns: 1fr 1fr 1.4fr; gap: clamp(32px, 4vw, 64px); }
  .spec__dot { left: 0; }
}
@media (max-width: 899px) {
  /* no mobile a linha fica vertical, à esquerda, com os pontos sobre ela */
  .spectrum { padding-top: 0; padding-left: 32px; gap: 48px; }
  .spectrum::before, .spectrum::after { width: 1px; height: 100%; left: 4px; top: 0; }
  .spectrum::after { transform: scaleY(0); transform-origin: top; }
  .in.spectrum::after { transform: scaleY(1); }
  .spec__dot { left: -32px; top: 4px; }
  .spec--lastro .spec__dot { left: -36px; top: 0; }
}

/* ---------- Fundador ---------- */
.founder { display: grid; gap: 40px; align-items: start; }
.founder__photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; isolation: isolate; }
@media (min-width: 900px) {
  /* foto mais larga e esticada na altura do texto ao lado */
  .founder { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: stretch; }
  .founder__photo { aspect-ratio: auto; height: 100%; min-height: 480px; }
}
.founder__photo .ph img { filter: grayscale(1); transition: filter .8s var(--ease); }
@media (hover: hover) { .founder__photo:hover .ph img { filter: none; } }
.founder__photo figcaption {
  position: absolute; left: 18px; bottom: 18px; z-index: 3; padding: 9px 14px; border-radius: 999px;
  font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: #EEF2F7;
  background: rgba(15, 31, 39, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.founder__text { display: grid; gap: 22px; }
.founder__text .h2 { margin-bottom: 8px; }
.founder__text > p { max-width: 56ch; }
.founder__text .bio-lead { font-size: var(--t-lead); line-height: 1.5; color: var(--fg); }
.founder__text .bio { color: var(--muted); }
.quote {
  margin-top: 8px; padding-left: 24px; border-left: 2px solid var(--accent);
  font-size: clamp(1.3rem, 1rem + 1.4vw, 2.1rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; max-width: 24ch;
}
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; position: relative; padding-top: 22px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.timeline::after {
  content: ""; position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease-out) .2s;
}
.in .timeline::after { transform: scaleX(1); }
.timeline b { display: block; font-size: 1.4rem; font-weight: 500; letter-spacing: -.02em; }
.timeline span { font-size: var(--t-small); color: var(--muted); }
@media (max-width: 639px) { .timeline { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Contato / CTA ---------- */
.contact { overflow: hidden; isolation: isolate; }
/* brilhos vivos: três manchas radiais que vagam em loop (alternate), cada uma num ritmo */
.contact__glow { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.contact__glow i { position: absolute; border-radius: 50%; will-change: transform; }
.contact__glow i:nth-child(1) {
  width: max(52vw, 480px); height: max(52vw, 480px); left: -14%; top: -22%;
  background: radial-gradient(circle, rgba(255, 96, 43, .4), transparent 62%);
  animation: glow-a 9s var(--ease-io) infinite alternate;
}
.contact__glow i:nth-child(2) {
  width: max(40vw, 380px); height: max(40vw, 380px); right: -12%; top: -18%;
  background: radial-gradient(circle, rgba(255, 96, 43, .22), transparent 62%);
  animation: glow-b 11s var(--ease-io) infinite alternate;
}
.contact__glow i:nth-child(3) {
  width: max(60vw, 520px); height: max(60vw, 520px); left: 38%; bottom: -45%;
  background: radial-gradient(circle, rgba(217, 223, 234, .13), transparent 62%);
  animation: glow-c 14s var(--ease-io) infinite alternate;
}
@keyframes glow-a { from { transform: translate(0, 0) scale(1); }   to { transform: translate(22vw, 16vh) scale(1.3); } }
@keyframes glow-b { from { transform: translate(0, 0) scale(1.1); } to { transform: translate(-18vw, 26vh) scale(.85); } }
@keyframes glow-c { from { transform: translate(0, 0) scale(1); }   to { transform: translate(-26vw, -22vh) scale(1.25); } }
.contact__grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 100px); align-items: start; } }
.contact .h2 { max-width: 16ch; }
.contact__aside { display: grid; gap: 10px; margin-top: 40px; font-size: var(--t-small); color: var(--muted); justify-items: start; }
.contact__aside a { color: var(--fg); font-size: 1.05rem; display: inline-block; }
.contact__social { display: flex; gap: 24px; margin-top: 6px; }
.contact__social a { font-size: var(--t-small); letter-spacing: .12em; text-transform: uppercase; }

.form {
  position: relative; overflow: hidden; display: grid; gap: 22px;
  padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(15, 31, 39, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.field { display: grid; gap: 8px; }
.field label { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  padding: 12px 0; font-size: 1.05rem; color: var(--fg); -webkit-appearance: none; appearance: none;
  transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field .is-bad { border-bottom-color: var(--accent); }
.field select option { color: var(--ink); }
.form__hp { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; } /* honeypot fora da tela */
.form__status--error { color: var(--accent); }
.form.is-sending [data-submit] { opacity: .6; pointer-events: none; }
.form__row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.form__ok {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; padding: 40px;
  background: var(--ink-deep); opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s linear .5s;
}
.form.is-sent .form__ok { opacity: 1; visibility: visible; transition-delay: 0s; }
.form__ok b { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 500; letter-spacing: -.03em; }
.form__ok span { color: var(--muted); }

/* ---------- Footer ---------- */
/* claro (data-mode="paper"): herda --bg/--fg/--muted/--line do modo */
.footer { position: relative; overflow: hidden; padding: var(--space) 0 32px; background: var(--bg); color: var(--fg); }
.footer__mark {
  position: absolute; right: -6%; bottom: 40px; width: clamp(240px, 36vw, 560px); height: auto; aspect-ratio: 78 / 75;
  color: rgba(22, 43, 53, .16); pointer-events: none; will-change: transform;
}
.footer__grid { position: relative; z-index: 1; display: grid; gap: 40px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__col h4 { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-weight: 600; }
.footer__col li { margin-bottom: 10px; }
.footer__tag { max-width: 30ch; color: var(--muted); margin-top: 18px; }
.footer__bottom {
  position: relative; z-index: 1; margin-top: clamp(80px, 14vw, 200px); padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between;
  font-size: .78rem; color: var(--muted); letter-spacing: .06em;
}

/* ---------- Guarda: reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .loader { display: none; }
  html.has-intro [data-intro], html.has-intro [data-intro-line] { opacity: 1; transform: none; }
  .hero__pulse { animation: none; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .kinetic .w { opacity: 1; }
  .grain { display: none; }
}
