/* Atlas Ativos — SaaS 2027
   Base clara e leve, aurora de gradiente atrás do hero, vidro com borda fina,
   cantos grandes, bento, spotlight no hover. Inter Tight + Inter. */

:root {
  --ink: #0A0A12;
  --ink-2: #2A2B3A;
  --muted: #5F6172;
  --muted-2: #8A8C9C;
  --line: rgba(10,10,18,.08);
  --line-2: rgba(10,10,18,.14);
  --surface: #FAFAFC;
  --white: #FFFFFF;
  --violet: #7C5CFF;
  --cyan: #22D3EE;
  --pink: #F472B6;
  --brand: #6D4DFF;
  --brand-2: #5B3DF0;
  --brand-rgb: 109,77,255;
  --grad: linear-gradient(135deg, #7C5CFF 0%, #22D3EE 100%);
  --grad-3: linear-gradient(135deg, #7C5CFF 0%, #22D3EE 50%, #F472B6 100%);

  --display: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1160px;
  --pad: clamp(20px, 4vw, 40px);
  --r: 20px;
  --r-sm: 12px;
  --sec-y: clamp(72px, 9vw, 128px);
  --shadow: 0 1px 2px rgba(10,10,18,.04), 0 24px 48px -24px rgba(10,10,18,.16);
  --shadow-brand: 0 12px 32px -12px rgba(var(--brand-rgb),.55);
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--surface); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); }
h3 { font-weight: 600; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); z-index: 60; }
.skip:focus { left: 12px; top: 12px; }
:where(a, button):focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

/* ---------- navegação (pílula flutuante) ---------- */

.nav { position: fixed; inset: 14px 0 auto; z-index: 50; display: flex; justify-content: center; padding: 0 var(--pad); pointer-events: none; }
.nav__pill {
  pointer-events: auto; width: 100%; max-width: var(--wrap); display: flex; align-items: center; gap: 20px;
  padding: 8px 8px 8px 16px; border-radius: 999px; background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.7); box-shadow: 0 1px 0 rgba(10,10,18,.04), 0 12px 32px -16px rgba(10,10,18,.18);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  transition: max-width .5s var(--ease), background .3s ease, box-shadow .3s ease;
}
.nav.is-stuck .nav__pill { max-width: 1020px; background: rgba(255,255,255,.78); box-shadow: 0 1px 0 rgba(10,10,18,.05), 0 20px 48px -20px rgba(10,10,18,.28); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.logo__mark { flex: none; color: var(--ink); }
.nav__links { position: relative; display: flex; gap: 2px; margin-left: auto; }
.nav__ind { position: absolute; top: 0; left: 0; height: 100%; width: 0; border-radius: 999px; background: rgba(10,10,18,.06); opacity: 0; transition: transform .35s var(--ease), width .35s var(--ease), opacity .25s ease; pointer-events: none; }
.nav__links.has-ind .nav__ind { opacity: 1; }
.nav__links a { position: relative; z-index: 1; }
.nav__links a { white-space: nowrap; text-decoration: none; color: var(--ink-2); font-size: .9rem; font-weight: 500; padding: 8px 13px; border-radius: 999px; transition: color .2s ease, background .2s ease; }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__mobile-cta { display: none; }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__toggle { display: none; width: 38px; height: 38px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 0; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav__toggle span { width: 16px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- botões ---------- */

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-size: .94rem; font-weight: 600; letter-spacing: -.01em; text-decoration: none;
  padding: 11px 20px; border-radius: 999px; border: 1px solid transparent; isolation: isolate;
  transition: background .2s ease, border-color .2s ease, transform .25s var(--ease), box-shadow .25s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn--primary { background: var(--ink); color: #fff; box-shadow: 0 1px 2px rgba(10,10,18,.2), inset 0 1px 0 rgba(255,255,255,.12); }
.btn--primary:hover { background: #1A1B2A; box-shadow: 0 10px 24px -10px rgba(10,10,18,.5); }
.btn--glow { background: var(--ink); overflow: hidden; }
.btn--glow::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--a, 0deg), #7C5CFF, #22D3EE, #F472B6, #7C5CFF);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.btn--glow::after { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit; background: var(--ink); }
.btn--glass { background: rgba(255,255,255,.55); color: var(--ink); border-color: rgba(10,10,18,.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255,255,255,.85); border-color: rgba(10,10,18,.18); }
.btn--white { background: #fff; color: var(--ink); overflow: hidden; }
.btn--white::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(124,92,255,.25), transparent); transform: skewX(-20deg); transition: left .6s var(--ease); }
.btn--white:hover::after { left: 120%; }
.btn--white:hover { background: #F1F1F6; }
.btn--sm { padding: 8px 15px; font-size: .86rem; }
.btn--lg { padding: 14px 26px; font-size: 1rem; }

/* ---------- aurora ---------- */

.aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora__b { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.aurora__b--1 { width: 720px; height: 720px; left: -10%; top: -30%; background: radial-gradient(circle, #B39DFF 0%, rgba(179,157,255,0) 62%); }
.aurora__b--2 { width: 640px; height: 640px; right: -8%; top: -12%; background: radial-gradient(circle, #9BE8F4 0%, rgba(155,232,244,0) 62%); }
.aurora__b--3 { width: 560px; height: 560px; left: 35%; bottom: -45%; background: radial-gradient(circle, #FFC1E1 0%, rgba(255,193,225,0) 62%); }
.aurora__grain { position: absolute; inset: 0; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- hero ---------- */

.hero { position: relative; padding: clamp(150px, 20vw, 220px) 0 0; isolation: isolate; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(10,10,18,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(10,10,18,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 30%, #000 20%, transparent 100%); mask-image: radial-gradient(60% 60% at 50% 30%, #000 20%, transparent 100%); }
.field { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; opacity: .8;
  -webkit-mask-image: radial-gradient(42% 46% at 50% 44%, transparent 35%, #000 100%); mask-image: radial-gradient(42% 46% at 50% 44%, transparent 35%, #000 100%); }
.hero__in, .marquee { position: relative; z-index: 1; }
.hero__in { text-align: center; display: grid; justify-items: center; }
.hero__h1 .w { display: inline-block; }
.cursor-glow { position: fixed; z-index: 0; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(124,92,255,.14), rgba(34,211,238,.06) 40%, transparent 70%); filter: blur(10px); opacity: 0; transition: opacity .6s ease; will-change: transform; }
.is-pointer .cursor-glow { opacity: 1; }
main { position: relative; z-index: 1; }
.hero__kicker { display: inline-flex; align-items: center; gap: 9px; font-size: .84rem; font-weight: 500; color: var(--ink-2); background: rgba(255,255,255,.6); border: 1px solid rgba(10,10,18,.08); padding: 6px 14px 6px 8px; border-radius: 999px; margin: 0 0 26px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero__kicker i { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px rgba(var(--brand-rgb),.15); }
.hero__h1 { font-size: clamp(2.4rem, 5.6vw, 4.5rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.04; max-width: 20ch; }
.grad { color: inherit; }
.grad .w, .grad.is-plain { background: var(--grad-3); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; background-size: 200% 200%; }
.grad .w { padding-bottom: .08em; margin-bottom: -.08em; }
.hero__sub { margin: 26px 0 0; max-width: 58ch; color: var(--muted); font-size: 1.14rem; }
.hero__cta { margin-top: 34px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

.marquee { margin-top: clamp(64px, 8vw, 104px); padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 12px; width: max-content; }
.marquee__track span { flex: none; font-family: var(--display); font-weight: 500; font-size: .9rem; color: var(--ink-2); padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }

/* ---------- seções ---------- */

.sec { padding: var(--sec-y) 0 0; }
.sec__head { max-width: 66ch; margin: 0 auto clamp(36px, 4vw, 56px); text-align: center; }
.eyebrow { display: inline-block; font-size: .82rem; font-weight: 600; color: var(--brand); background: rgba(var(--brand-rgb),.1); padding: 4px 12px; border-radius: 999px; margin: 0 0 16px; }
.sec__head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.sec__sub { margin: 16px auto 0; color: var(--muted); font-size: 1.08rem; max-width: 64ch; }

/* o que mudou: manifesto em duas colunas */

.shift { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.shift__lead h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.shift__text p { font-size: 1.12rem; color: var(--ink-2); max-width: 58ch; }
.shift__text strong { color: var(--ink); font-weight: 600; }
[data-scrolltext] .w { color: var(--ink); opacity: .16; transition: opacity .35s ease; }
[data-scrolltext] .w.on { opacity: 1; }

/* método: scroll-telling */

.story { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.story__side { position: sticky; top: 120px; }
.story__nav { display: grid; gap: 6px; }
.story__nav li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; font-family: var(--display); font-weight: 600; font-size: 1.02rem; color: var(--muted-2); transition: color .3s ease, background .3s ease; cursor: pointer; }
.story__nav li i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); transition: background .3s ease, box-shadow .3s ease, transform .3s var(--ease); }
.story__nav li.is-on { color: var(--ink); background: rgba(255,255,255,.75); }
.story__nav li.is-on i { background: var(--grad); box-shadow: 0 0 0 4px rgba(var(--brand-rgb),.15); transform: scale(1.2); }
.story__nav li.is-done i { background: var(--brand); }
.story__bar { margin: 18px 14px 0; height: 4px; border-radius: 999px; background: rgba(10,10,18,.06); overflow: hidden; }
.story__bar span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 999px; transition: width .4s var(--ease); }
.story__panels { display: grid; gap: 20px; }
.story__panel { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: center; background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 24px; padding: 28px; min-height: 300px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: .45; transform: scale(.985); transition: opacity .5s ease, transform .6s var(--ease), border-color .4s ease, box-shadow .4s ease; }
.story__panel.is-on { opacity: 1; transform: none; border-color: rgba(var(--brand-rgb),.28); box-shadow: var(--shadow); }
.story__art { position: relative; height: 100%; min-height: 220px; border-radius: 18px; background: var(--ink); overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.story__art svg { position: relative; width: 56px; height: 56px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.orb { position: absolute; width: 260px; height: 260px; border-radius: 50%; filter: blur(40px); opacity: .85; }
.orb--1 { left: -60px; top: -80px; background: radial-gradient(circle, #7C5CFF, transparent 65%); }
.orb--2 { right: -70px; top: -60px; background: radial-gradient(circle, #22D3EE, transparent 65%); }
.orb--3 { left: -40px; bottom: -90px; background: radial-gradient(circle, #F472B6, transparent 65%); }
.orb--4 { right: -50px; bottom: -70px; background: radial-gradient(circle, #7C5CFF, transparent 65%); }
.story__panel.is-on .orb { animation: orb 6s ease-in-out infinite alternate; }
@keyframes orb { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(30px, 24px, 0) scale(1.18); } }
.story__body h3 { font-size: 1.5rem; margin-bottom: 10px; }
.story__body p { color: var(--muted); font-size: 1rem; max-width: 52ch; }
.story__body p:last-child { margin: 0; }

/* o que não fazemos */

.nos { display: grid; gap: 0; max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.nos li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 32px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.nos b { font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.02em; color: var(--ink); }
.nos span { color: var(--muted); font-size: .98rem; }
.card__step { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--brand); background: rgba(var(--brand-rgb),.1); padding: 3px 10px; border-radius: 999px; margin-bottom: 18px; }

/* cards de vidro com spotlight */

.cards, .bento, .focus { perspective: 1200px; }
.card {
  position: relative; overflow: hidden; transform-style: preserve-3d; background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px 26px 30px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .35s var(--ease), box-shadow .35s ease, border-color .3s ease;
}
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--brand-rgb),.14), transparent 60%); }
.card:hover { transform: translateY(-3px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); box-shadow: var(--shadow); border-color: rgba(var(--brand-rgb),.28); }
.card:hover::before { opacity: 1; }
.card__icon { display: inline-flex; width: 46px; height: 46px; border-radius: 14px; background: var(--grad); color: #fff; align-items: center; justify-content: center; margin-bottom: 20px; box-shadow: 0 8px 20px -10px rgba(var(--brand-rgb),.7); }
.card__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.cards { display: grid; gap: 16px; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* foco: três colunas altas */

.focus { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.focus__item { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: var(--r); padding: 32px 28px 34px; min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .35s var(--ease), box-shadow .35s ease; }
.focus__item::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .9; background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 0%), rgba(124,92,255,.55), transparent 60%), radial-gradient(300px circle at 100% 100%, rgba(34,211,238,.28), transparent 60%); transition: opacity .35s ease; }
.focus__item:hover { transform: translateY(-3px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); box-shadow: 0 30px 60px -30px rgba(10,10,18,.6); }
.focus__item > * { position: relative; }
.focus__n { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.7); margin-bottom: auto; }
.focus__item h3 { color: #fff; font-size: 1.22rem; margin: 26px 0 10px; letter-spacing: -.025em; }
.focus__item p { margin: 0; color: rgba(255,255,255,.7); font-size: .94rem; }

/* bento */

.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bento__a { grid-column: span 2; }
.bento__b { grid-column: span 2; }
.bento__a, .bento__b { background: linear-gradient(135deg, rgba(124,92,255,.08), rgba(34,211,238,.06)), rgba(255,255,255,.7); }

/* ---------- chamada ---------- */

.cta { padding: var(--sec-y) 0; }
.cta__in {
  position: relative; overflow: hidden; border-radius: 28px; text-align: center; color: #fff; isolation: isolate;
  padding: clamp(56px, 8vw, 96px) clamp(24px, 5vw, 56px); background: var(--ink);
}
.aurora--cta .aurora__b { opacity: .5; }
.aurora--cta .aurora__b--1 { left: -15%; top: -60%; background: radial-gradient(circle, #7C5CFF 0%, rgba(124,92,255,0) 62%); }
.aurora--cta .aurora__b--2 { right: -15%; bottom: -70%; top: auto; background: radial-gradient(circle, #22D3EE 0%, rgba(34,211,238,0) 62%); }
.cta h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,.7); max-width: 52ch; margin: 0 auto 30px; font-size: 1.08rem; }
.cta__actions { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.cta__mail { color: rgba(255,255,255,.75); font-size: .95rem; }

/* ---------- rodapé ---------- */

.foot { border-top: 1px solid var(--line); background: #fff; color: var(--muted); padding: clamp(44px, 6vw, 68px) 0 38px; }
.foot__in { display: grid; gap: 38px; }
.logo--foot { margin: 0 0 12px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; color: var(--ink); }
.foot__legal { font-size: .9rem; margin: 0; max-width: 36ch; }
.foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.foot__h { font-size: .84rem; color: var(--ink); font-weight: 600; margin-bottom: 8px; }
.foot__cols p { font-size: .9rem; margin: 0; line-height: 1.7; }
.foot__cols a { color: var(--ink); text-decoration: none; }
.foot__cols a:hover { text-decoration: underline; }
.foot__fine { font-size: .82rem; margin: 0; padding-top: 24px; border-top: 1px solid var(--line); max-width: 76ch; color: var(--muted-2); }
@media (min-width: 900px) { .foot__in { grid-template-columns: minmax(0,1fr) minmax(0,1.6fr); align-items: start; } .foot__fine { grid-column: 1 / -1; } }

/* ---------- responsivo ---------- */

@media (max-width: 1040px) {
  .nav__links {
    display: none; position: absolute; left: var(--pad); right: var(--pad); top: 64px; flex-direction: column; gap: 4px;
    background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 20px; padding: 12px; box-shadow: 0 24px 48px -24px rgba(10,10,18,.3);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 12px 14px; font-size: 1rem; }
  .nav__mobile-cta { display: block; color: var(--brand); }
  .nav__actions { margin-left: auto; }
  .nav__actions .btn { display: none; }
  .nav__toggle { display: inline-flex; }
  .cards--3, .focus, .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__a, .bento__b { grid-column: span 2; }
  .shift { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; }
  .story__side { position: static; }
  .story__nav { grid-template-columns: repeat(4, 1fr); }
  .story__nav li { padding: 10px 8px; font-size: .9rem; justify-content: center; }
  .story__panel { opacity: 1; transform: none; }
  .cursor-glow { display: none; }
}
@media (max-width: 680px) {
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__h1 br { display: none; }
  .cards--3, .focus, .bento, .foot__cols { grid-template-columns: 1fr; }
  .bento__a, .bento__b { grid-column: auto; }
  .focus__item { min-height: 240px; }
  .nos li { grid-template-columns: 1fr; }
  .field { opacity: .35; }
  .hero__kicker { font-size: .78rem; padding: 5px 12px 5px 7px; }
  .hero__kicker i { width: 14px; height: 14px; }
  .story__panel { grid-template-columns: 1fr; min-height: 0; }
  .story__art { min-height: 160px; }
  .story__nav { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- movimento ---------- */

@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

@media (prefers-reduced-motion: no-preference) {
  .hero__h1 .w { opacity: 0; filter: blur(10px); transform: translateY(18px) rotate(1.5deg); }
  .hero__h1 .grad .w { filter: none; }
  .is-ready .hero__h1 .w { opacity: 1; filter: blur(0); transform: none; transition: opacity .8s ease var(--wd,0s), filter .8s ease var(--wd,0s), transform .9s var(--ease) var(--wd,0s); }
  .is-ready .hero__h1 .grad .w { filter: none; }
  [data-blur] { opacity: 0; filter: blur(12px); transform: translateY(14px); }
  .is-ready [data-blur] { opacity: 1; filter: blur(0); transform: none; transition: opacity .9s ease var(--d,0s), filter .9s ease var(--d,0s), transform 1s var(--ease) var(--d,0s); }
  .is-ready .hero__sub { --d: .55s; }
  .is-ready .hero__cta { --d: .7s; }
  .is-ready .marquee { --d: .9s; }

  .grad .w { animation: hue 8s ease-in-out infinite alternate; }
  @keyframes hue { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

  .aurora__b--1 { animation: drift1 18s ease-in-out infinite alternate; }
  .aurora__b--2 { animation: drift2 22s ease-in-out infinite alternate; }
  .aurora__b--3 { animation: drift1 26s ease-in-out infinite alternate-reverse; }
  @keyframes drift1 { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(80px, 60px, 0) scale(1.15); } }
  @keyframes drift2 { from { transform: translate3d(0,0,0) scale(1.1); } to { transform: translate3d(-70px, 50px, 0) scale(.95); } }

  .btn--glow::before { animation: spin 4s linear infinite; }
  @keyframes spin { to { --a: 360deg; } }

  .marquee__track { animation: marquee 40s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(-50%); } }

  [data-rise] { opacity: 0; transform: translateY(18px); filter: blur(6px); }
  [data-rise].in { opacity: 1; transform: none; filter: blur(0); transition: opacity .8s ease, transform .9s var(--ease), filter .8s ease; }

  [data-rise-group] > * { opacity: 0; transform: translateY(18px) scale(.985); }
  [data-rise-group].in > * { opacity: 1; transform: none; transition: opacity .7s ease var(--d,0s), transform .8s var(--ease) var(--d,0s), box-shadow .35s ease, border-color .3s ease; }
  [data-rise-group].in > *:nth-child(2) { --d: .08s; }
  [data-rise-group].in > *:nth-child(3) { --d: .16s; }
  [data-rise-group].in > *:nth-child(4) { --d: .24s; }
  [data-rise-group].in > *:nth-child(5) { --d: .32s; }
  [data-rise-group].in > *:nth-child(6) { --d: .40s; }
}
