/* Pátio.ai — modelo conceitual. Asfalto, tinta de sinalização e o pôr do sol do pátio. */
:root {
  --ink: #0E1117;
  --ink-2: #151A22;
  --ink-3: #1F2632;
  --paper: #ECE8E1;
  --paper-2: #E2DDD4;
  --signal: #FFD23F;
  --signal-2: #F5C21B;
  --dusk: #FF7A45;
  --dusk-ink: #A93D17;
  --text: #ECE8E1;
  --muted: #A7AFBC;
  --muted-paper: #555C69;
  --f-display: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --gutter: clamp(20px, 5vw, 72px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.55 var(--f-display);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; line-height: 1.02; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--signal); color: var(--ink); }

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--signal); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font: 700 15px/1 var(--f-display); font-stretch: 105%; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .2s, color .2s, box-shadow .25s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--signal { background: var(--signal); color: var(--ink); box-shadow: 0 0 0 0 rgba(255, 210, 63, .0); }
.btn--signal:hover { background: #FFDC63; box-shadow: 0 8px 28px -8px rgba(255, 210, 63, .55); }
.btn--ghost { background: rgba(236, 232, 225, .08); color: var(--text); box-shadow: inset 0 0 0 1.5px rgba(236, 232, 225, .28); }
.btn--ghost:hover { background: rgba(236, 232, 225, .16); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #222a36; }
.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--outline:hover { background: rgba(14, 17, 23, .08); }

/* ---------- navegação ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  height: 68px; padding: 0 var(--gutter);
  background: linear-gradient(rgba(14, 17, 23, .72), rgba(14, 17, 23, 0));
  transition: background-color .3s;
}
.nav.is-solid { background: rgba(14, 17, 23, .96); -webkit-backdrop-filter: blur(12px) saturate(.6); backdrop-filter: blur(12px) saturate(.6); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__word { font-weight: 800; font-stretch: 125%; font-size: 21px; letter-spacing: -.03em; line-height: 1; }
.brand__word span { color: var(--signal); }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: 14px; font-weight: 500; color: rgba(236, 232, 225, .78); transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__menu { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- história (cena + cartões) ---------- */
.story { position: relative; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #1a1d26; }
#yard { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease; }
.is-ready #yard { opacity: 1; }
.fallback { position: absolute; inset: 0; opacity: 1; transition: opacity 1s ease; }
.fallback svg { width: 100%; height: 100%; max-width: none; }
.is-ready .fallback { opacity: 0; }
.scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(14, 17, 23, .78) 0%, rgba(14, 17, 23, .35) 34%, rgba(14, 17, 23, 0) 58%),
    linear-gradient(0deg, rgba(14, 17, 23, .55), rgba(14, 17, 23, 0) 30%);
}
.tags { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.hud {
  position: absolute; top: 84px; right: var(--gutter); z-index: 3;
  display: flex; align-items: center; gap: 16px;
  padding: 9px 16px; border-radius: 999px;
  background: rgba(14, 17, 23, .66); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 500 12px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: rgba(236, 232, 225, .8);
}
.hud b { color: var(--text); font-weight: 600; }
.hud__live { display: inline-flex; align-items: center; gap: 7px; color: var(--signal); }
.hud__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); animation: live 1.6s ease-in-out infinite; }
@keyframes live { 50% { opacity: .25; } }
.hud [data-hud="fila"].is-hot { color: var(--dusk); }

.steps {
  position: absolute; right: var(--gutter); bottom: 26px; z-index: 3;
  list-style: none; margin: 0; padding: 8px 10px; display: flex; gap: 16px; border-radius: 999px;
  background: rgba(14, 17, 23, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 500 12px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(236, 232, 225, .42);
  transition: opacity .4s;
}
.steps li { display: flex; align-items: center; gap: 8px; padding-right: 6px; transition: color .35s; }
.steps li span { display: inline-grid; place-items: center; width: 28px; height: 22px; border-radius: 5px; background: rgba(236, 232, 225, .08); color: rgba(236, 232, 225, .6); transition: background-color .35s, color .35s; }
.steps li.is-on { color: var(--text); }
.steps li.is-on span { background: var(--signal); color: var(--ink); }
.steps.is-hidden { opacity: 0; }

.beats { position: relative; z-index: 2; margin-top: -100vh; margin-top: -100svh; pointer-events: none; }
.beat { position: relative; min-height: 135vh; min-height: 135svh; display: flex; align-items: center; padding: 0 var(--gutter); }
.beat--hero { min-height: 100vh; min-height: 100svh; align-items: flex-end; padding-top: 148px; padding-bottom: clamp(56px, 11vh, 120px); }
.beat--last { min-height: 175vh; min-height: 175svh; }
.beat > * { pointer-events: auto; }
/* os cartões se dissolvem numa linha logo abaixo da navegação e do HUD (site.js calcula --cut), sem passar por baixo deles */
.beat > .is-cut { -webkit-mask-image: linear-gradient(to bottom, transparent calc(var(--cut, 0px) - var(--fade, 64px)), #000 var(--cut, 0px)); mask-image: linear-gradient(to bottom, transparent calc(var(--cut, 0px) - var(--fade, 64px)), #000 var(--cut, 0px)); }

.hero { max-width: 660px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font: 500 12.5px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--signal); }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 2px; background: var(--signal); }
.eyebrow--dusk { color: var(--dusk); }
.eyebrow--ink { color: var(--ink); }
.hero h1 { font-size: clamp(46px, min(7vw, 10.4vh), 104px); font-stretch: 118%; font-weight: 850; letter-spacing: -.035em; line-height: .94; }
.hero h1 span { display: block; color: var(--signal); }
.lede { margin-top: 24px; max-width: 520px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: rgba(236, 232, 225, .86); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 34px; margin: 40px 0 0; padding: 0; font-size: 14px; color: rgba(236, 232, 225, .7); }
.facts b { display: block; font-size: 22px; font-weight: 800; font-stretch: 112%; color: var(--text); letter-spacing: -.01em; margin-bottom: 2px; }
.cue { position: absolute; right: var(--gutter); bottom: clamp(56px, 11vh, 120px); max-width: 220px; text-align: right; font: 500 12px/1.45 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: rgba(236, 232, 225, .6); }

.card {
  width: min(470px, 100%);
  padding: 30px 30px 28px; border-radius: 20px;
  background: rgba(14, 17, 23, .8);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
}
.card--right { margin-left: auto; margin-right: clamp(0px, 7vw, 120px); }
.card h2 { font-size: clamp(30px, 2.9vw, 42px); margin-bottom: 16px; }
.card > p { color: rgba(236, 232, 225, .82); font-size: 16.5px; }
.card--dusk h2 { color: var(--text); }
.mini { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0 0; }
.mini div { padding: 14px 16px; border-radius: 12px; background: rgba(255, 122, 69, .12); }
.mini dt { font-size: 26px; font-weight: 800; font-stretch: 112%; color: var(--dusk); letter-spacing: -.02em; }
.mini dd { margin: 4px 0 0; font-size: 13.5px; line-height: 1.35; color: rgba(236, 232, 225, .75); }
.checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.4; color: rgba(236, 232, 225, .9); }
.checks li::before { content: ''; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 5px; background: var(--signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='%230E1117' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.msg { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin-top: 24px; padding: 14px 16px; border-radius: 4px 16px 16px 16px; background: #E9F0E4; color: #14201A; }
.msg__from { grid-column: 1 / -1; font: 600 11.5px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: #3E5A47; }
.msg__text { font-size: 15px; line-height: 1.4; }
.msg__time { align-self: end; font: 500 11px/1 var(--f-mono); color: #5B6B60; }
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0 0; }
.board div { padding: 14px 12px; border-radius: 12px; background: rgba(255, 210, 63, .1); }
.board dt { font: 500 11px/1.25 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: rgba(236, 232, 225, .7); }
.board dd { margin: 10px 0 0; font-size: 30px; font-weight: 800; font-stretch: 112%; color: var(--signal); letter-spacing: -.02em; line-height: 1; }
.board small { display: block; margin-top: 4px; font: 500 11px/1 var(--f-mono); color: rgba(236, 232, 225, .6); letter-spacing: .02em; }

/* etiquetas projetadas da cena */
.tag { position: absolute; left: 0; top: 0; visibility: hidden; will-change: transform; }
.tag__box { position: absolute; inset: 0; background: rgba(255, 210, 63, .07); border-radius: 3px; }
.tag__box i { position: absolute; width: 14px; height: 14px; border: 0 solid var(--signal); }
.tag__box i:nth-child(1) { left: 0; top: 0; border-width: 2.5px 0 0 2.5px; }
.tag__box i:nth-child(2) { right: 0; top: 0; border-width: 2.5px 2.5px 0 0; }
.tag__box i:nth-child(3) { right: 0; bottom: 0; border-width: 0 2.5px 2.5px 0; }
.tag__box i:nth-child(4) { left: 0; bottom: 0; border-width: 0 0 2.5px 2.5px; }
.tag__box { transition: background-color .35s; }
.tag__box i { transition: border-color .35s; }
.tag.is-ok .tag__box { background: rgba(91, 214, 142, .1); }
.tag.is-ok .tag__box i { border-color: #5BD68E; }
/* rótulo, cronômetro e selo: posicionados pelo app.js (anticolisão), a partir do canto da caixa */
.tag__label, .tag__timer, .tag__ok { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform, opacity; }
.tag__label { display: flex; gap: 7px; align-items: center; padding: 5px 7px; border-radius: 4px; background: var(--signal); color: var(--ink); font: 600 11px/1 var(--f-mono); letter-spacing: .03em; white-space: nowrap; }
.tag__label b { font-weight: 600; }
.tag__label em { font-style: normal; font-weight: 500; opacity: .72; }
.tag.is-ok .tag__label { background: #5BD68E; color: #06210F; }
.tag__ok { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 8px; border-radius: 999px; background: #5BD68E; color: #06210F; font: 600 12px/1 var(--f-mono); white-space: nowrap; box-shadow: 0 8px 22px -8px rgba(91, 214, 142, .8); }
.tag__ok svg { width: 13px; height: 13px; max-width: none; flex: none; }
.tag__timer { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px 6px 8px; border-radius: 999px; background: var(--dusk); color: #2A0E02; font: 600 12px/1 var(--f-mono); white-space: nowrap; box-shadow: 0 6px 18px -6px rgba(255, 122, 69, .7); }
.tag__timer svg { width: 12px; height: 12px; max-width: none; flex: none; }
.dock-label { position: absolute; left: 0; top: 0; visibility: hidden; display: grid; justify-items: center; gap: 3px; padding: 4px 3px 5px; border-radius: 5px; background: #0E1117; color: var(--text); font: 600 9.5px/1 var(--f-mono); letter-spacing: 0; white-space: nowrap; will-change: transform; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .8); }
.dock-label span { color: rgba(236, 232, 225, .55); font-weight: 500; }
.dock-label b { color: var(--signal); font-weight: 600; }
.dock-label.is-free { background: rgba(14, 17, 23, .72); }
.dock-label.is-free b { color: rgba(236, 232, 225, .75); }
.zone-label { position: absolute; left: 0; top: 0; visibility: hidden; display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; background: #0E1117; color: rgba(236, 232, 225, .8); font: 500 11.5px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; will-change: transform; box-shadow: 0 8px 22px -8px rgba(0, 0, 0, .9); }
.zone-label b { color: var(--signal); font-weight: 600; }
.zone-label.is-ok { background: #5BD68E; color: #06210F; }
.zone-label.is-ok b { color: #06210F; }
.zone-label i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: live 1.6s ease-in-out infinite; }

/* ---------- seções ---------- */
.section { position: relative; padding: clamp(88px, 12vw, 160px) 0; }
.section--tight { padding-top: 0; padding-bottom: clamp(72px, 8vw, 112px); }
.section--paper { background: var(--paper); color: var(--ink); color-scheme: light; }
.section--ink { background: var(--ink); }
.section--signal { background: var(--signal); color: var(--ink); color-scheme: light; }
.wrap { width: min(1240px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
.head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.head h2 { font-size: clamp(36px, 5vw, 68px); }
.head > p:last-child { margin-top: 20px; font-size: 18px; max-width: 600px; color: var(--muted); }
.section--paper .head > p:last-child { color: var(--muted-paper); }
.head--row { max-width: none; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.head--row h2 { font-size: clamp(32px, 3.8vw, 52px); }
.head--row > p:last-child { margin: 0; }

.results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.result { padding: 26px 22px 24px; border-radius: 18px; background: #F6F3EE; box-shadow: 0 1px 0 rgba(14, 17, 23, .06); }
.result h3 { font-size: 18px; font-stretch: 105%; line-height: 1.2; letter-spacing: -.01em; min-height: 2.4em; margin-bottom: 22px; }
.result__row { display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; margin-top: 14px; }
.result__tag { grid-row: 1 / 3; font: 500 11px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted-paper); }
.bar { display: block; height: 10px; border-radius: 3px; background: rgba(14, 17, 23, .08); position: relative; overflow: hidden; }
.bar::after { content: ''; position: absolute; inset: 0; width: calc(var(--v) * 100%); min-width: 6px; border-radius: 3px; background: var(--ink); transform-origin: left; transform: scaleX(var(--grow, 1)); transition: transform 1.1s var(--ease) .15s; }
.bar--before::after { background: var(--dusk); }
.result__val { margin-top: 6px; font-size: 22px; font-weight: 800; font-stretch: 110%; color: var(--dusk-ink); letter-spacing: -.01em; line-height: 1; }
.result__val--now { white-space: nowrap; font-size: clamp(24px, 2.1vw, 30px); color: var(--ink); }
.result__note { margin-top: 16px; font-size: 13.5px; color: var(--muted-paper); }
.js .result:not(.is-in) .bar { --grow: 0; }

.quote { margin: clamp(56px, 8vw, 96px) 0 0; display: grid; grid-template-columns: 1fr; max-width: 980px; }
.quote blockquote { margin: 0; font-size: clamp(28px, 3.6vw, 50px); font-weight: 700; font-stretch: 108%; letter-spacing: -.025em; line-height: 1.08; text-wrap: balance; }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 26px; font-size: 15px; color: var(--muted-paper); }
.quote figcaption b { display: block; color: var(--ink); }
.quote__avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--signal); font: 600 14px/1 var(--f-mono); flex: none; }

.logos { margin-top: clamp(56px, 7vw, 88px); }
.logos p { font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-paper); margin-bottom: 22px; }
.logos ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px 48px; align-items: center; color: #3A404B; }
.logos svg { height: 30px; width: auto; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { padding: 26px 22px; border-radius: 18px; background: #F6F3EE; }
.feature svg { width: 48px; height: 48px; margin-bottom: 22px; }
.feature h3 { font-size: 21px; margin-bottom: 10px; }
.feature p { font-size: 15px; line-height: 1.5; color: var(--muted-paper); }

.integ { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: stretch; }
.integ__groups { display: grid; grid-template-columns: 1fr; gap: 12px; }
.group { display: grid; grid-template-columns: 148px 1fr; gap: 16px; align-items: start; padding: 20px 20px; border-radius: 18px; background: var(--ink-2); }
.group h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; padding-top: 5px; }
.group h3 span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--signal); color: var(--ink); font: 600 12px/1 var(--f-mono); }
.group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.group li { padding: 9px 11px; border-radius: 9px; background: var(--ink-3); font-size: 14px; line-height: 1.3; color: rgba(236, 232, 225, .88); }
.code { margin: 0; border-radius: 18px; background: #070A0E; overflow: hidden; display: flex; flex-direction: column; }
.code figcaption { display: flex; gap: 10px; align-items: center; padding: 14px 20px; font: 500 12px/1 var(--f-mono); color: var(--muted); background: var(--ink-2); }
.code figcaption span { padding: 4px 7px; border-radius: 4px; background: var(--signal); color: var(--ink); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.code pre { margin: 0; padding: 20px 22px 24px; overflow-x: auto; font: 400 14px/1.65 var(--f-mono); color: #C9D1DD; }
.code .k { color: var(--signal); font-weight: 600; }
.code .p { color: #9FB7D9; }
.code .s { color: #F2B48F; }
.code .n { color: #B7E3A0; }

.rollout { margin-top: clamp(72px, 9vw, 120px); }
.rollout__title { font-size: clamp(28px, 3.2vw, 44px); margin-bottom: 32px; max-width: 640px; }
.rollout ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: s; }
.rollout li { position: relative; padding: 22px 20px 24px; border-radius: 18px; background: var(--ink-2); }
.rollout li span { display: inline-block; font: 600 11.5px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--signal); padding: 5px 8px; border-radius: 4px; }
.rollout li:nth-child(1) span { background: rgba(255, 210, 63, .45); }
.rollout li:nth-child(2) span { background: rgba(255, 210, 63, .65); }
.rollout li:nth-child(3) span { background: rgba(255, 210, 63, .82); }
.rollout b { display: block; margin: 18px 0 8px; font-size: 20px; font-weight: 800; font-stretch: 108%; letter-spacing: -.01em; }
.rollout p { font-size: 15px; line-height: 1.5; color: var(--muted); }

.wrap--faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: #F6F3EE; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-size: 19px; font-weight: 700; font-stretch: 105%; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 28px; height: 28px; border-radius: 8px;
  background:
    linear-gradient(var(--signal), var(--signal)) center / 14px 2.4px no-repeat,
    linear-gradient(var(--signal), var(--signal)) center / 2.4px 14px no-repeat,
    var(--ink);
  transition: background-size .3s var(--ease);
}
.faq details[open] summary::after { background-size: 14px 2.4px, 2.4px 0; }
.faq details p { padding: 0 22px 22px; font-size: 16px; color: var(--muted-paper); max-width: 640px; }
.faq details[open] p { animation: faq-in .4s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

.demo { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.demo h2 { font-size: clamp(36px, 4.6vw, 64px); }
.demo__copy > p:not(.eyebrow) { margin-top: 20px; font-size: 18px; max-width: 520px; color: #3B3317; }
.calc { padding: 28px; border-radius: 22px; background: var(--ink); color: var(--text); }
.calc h3 { font-size: 22px; margin-bottom: 22px; }
.calc label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; color: rgba(236, 232, 225, .8); }
.calc label output { font: 600 18px/1 var(--f-mono); color: var(--text); }
.calc input[type=range] { width: 100%; margin: 16px 0 26px; accent-color: var(--signal); height: 28px; cursor: pointer; }
.calc__result { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.calc__result output { font-size: clamp(48px, 5vw, 68px); font-weight: 850; font-stretch: 115%; color: var(--signal); letter-spacing: -.03em; line-height: 1; }
.calc__result span { font-size: 15px; max-width: 200px; line-height: 1.35; color: rgba(236, 232, 225, .85); }
.calc__note { margin-top: 18px; font: 400 12.5px/1.5 var(--f-mono); color: var(--muted); }

.footer { background: var(--ink); padding: 80px 0 96px; color: var(--muted); }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer__brand .brand { color: var(--text); }
.footer__brand p { margin-top: 16px; max-width: 280px; font-size: 15px; }
.footer nav { display: grid; gap: 10px; align-content: start; justify-items: start; }
.footer h4 { font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(236, 232, 225, .5); margin-bottom: 6px; }
.footer nav a, .footer nav button { background: none; border: 0; padding: 0; cursor: pointer; font-size: 15px; color: rgba(236, 232, 225, .82); text-decoration: none; text-align: left; }
.footer nav a:hover, .footer nav button:hover { color: var(--signal); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; position: relative; margin-top: 64px; padding-top: 24px; font-size: 13.5px; }
.footer__base::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(236, 232, 225, .1); }
.footer__base a { color: var(--signal); }

/* ---------- aviso do modelo ---------- */
.modal { width: min(540px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 22px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .7); }
.modal::backdrop { background: rgba(8, 10, 14, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open] { animation: pop .4s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.97); } }
.modal__inner { padding: 30px; }
.modal__mark { width: 40px; height: 40px; margin-bottom: 20px; }
.modal h2 { font-size: 26px; line-height: 1.1; }
.modal p { margin-top: 14px; font-size: 16px; color: var(--muted-paper); }
.modal__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.modal .btn { padding: 0 18px; }
.modal .btn--signal:focus-visible, .section--signal .btn:focus-visible, .btn--signal:focus-visible { outline-color: var(--ink); }
.modal .btn--ghost { color: var(--ink); background: rgba(14, 17, 23, .06); box-shadow: inset 0 0 0 1.5px rgba(14, 17, 23, .2); }

/* ---------- revelar ao rolar ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- sem WebGL ---------- */
.no-webgl .tags, .no-webgl .steps { display: none; }

/* ---------- telas menores ---------- */
/* notebooks de tela baixa (1280×720, 1366×768): a primeira tela mostra a abertura inteira, sem nada sob a navegação.
   Os números do rodapé da abertura voltam na história (0,4 s, 2:40) e no cronograma (4 semanas). */
@media (min-width: 761px) and (max-height: 820px) {
  .beat--hero { padding-top: 136px; padding-bottom: clamp(48px, 9vh, 80px); }
  .hero h1 { font-size: clamp(44px, min(7vw, 9.6vh), 104px); }
  .eyebrow { margin-bottom: 14px; }
  .lede { margin-top: 18px; }
  .actions { margin-top: 24px; }
  .facts { display: none; }
  .cue { bottom: clamp(48px, 9vh, 80px); }
}
@media (max-width: 1100px) {
  .results, .features { grid-template-columns: repeat(2, 1fr); }
  .integ { grid-template-columns: 1fr; }
  .rollout ol { grid-template-columns: repeat(2, 1fr); }
  .steps { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { height: 60px; gap: 12px; }
  .nav__links { display: none; }
  /* menu compacto com as âncoras: no celular dá para ir direto às perguntas sem rolar a cena inteira */
  .nav__menu { display: grid; place-content: center; gap: 5px; width: 40px; height: 40px; margin-left: auto; padding: 0; border: 0; border-radius: 999px; background: rgba(236, 232, 225, .12); color: var(--text); cursor: pointer; }
  .nav__menu i { display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease); }
  .nav.is-open .nav__menu i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
  .nav.is-open .nav__menu i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }
  .nav.is-open { background: rgba(14, 17, 23, .94); }
  .nav.is-open .nav__links { display: grid; position: absolute; top: 60px; left: 12px; right: 12px; gap: 2px; margin: 0; padding: 8px; border-radius: 18px; background: #151A22; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8); }
  .nav.is-open .nav__links a { padding: 14px 14px; border-radius: 12px; font-size: 17px; font-weight: 600; color: var(--text); }
  .nav.is-open .nav__links a:active { background: var(--ink-3); }
  .nav .btn { margin-left: 0; }
  .brand__word { font-size: 19px; }
  .hud { top: 64px; left: 12px; right: 12px; justify-content: space-between; gap: 8px; padding: 7px 12px; font-size: 10px; }
  .hud__gate { display: none; }
  .scrim { background: linear-gradient(0deg, rgba(14, 17, 23, .92) 0%, rgba(14, 17, 23, .55) 38%, rgba(14, 17, 23, 0) 62%); }
  /* no celular o cartão ocupa a metade de baixo quando o capítulo está no centro; a cena fica na de cima */
  .beat { align-items: flex-start; padding: 66svh 16px 0; min-height: 140svh; }
  .beat--hero { align-items: flex-end; min-height: 100svh; padding: 0 16px 74px; }
  .beat--last { min-height: 122svh; padding-top: 63svh; }
  .hero h1 { font-size: clamp(40px, 12vw, 56px); }
  .lede { margin-top: 16px; font-size: 16px; }
  .actions { margin-top: 22px; }
  .actions .btn { flex: 1 1 auto; }
  .facts { display: none; }
  .cue { display: none; }
  .card { padding: 22px 20px 20px; border-radius: 18px; }
  .card--right { margin: 0; }
  .card h2 { font-size: 27px; margin-bottom: 12px; }
  .card > p { font-size: 14.5px; line-height: 1.5; }
  .mini { display: none; }
  .checks li:nth-child(3) { display: none; }
  .checks { margin-top: 16px; gap: 8px; }
  .checks li { font-size: 14.5px; }
  .msg { margin-top: 18px; }
  .board { gap: 8px; margin-top: 18px; }
  .board div { padding: 12px 10px; }
  .board dd { font-size: 24px; }
  .board dt { font-size: 10px; }
  .tag__label { font-size: 10px; padding: 4px 5px; }
  .tag__label em { display: none; }
  .tag__timer { font-size: 11px; padding: 5px 8px 5px 7px; }
  .features { grid-template-columns: 1fr; }
  /* resultados em 2×2 compactos: antes e depois cabem no mesmo cartão sem virar uma pilha longa */
  .results { grid-template-columns: 1fr 1fr; gap: 10px; }
  .result { padding: 16px 14px 16px; border-radius: 14px; }
  .result h3 { font-size: 14.5px; min-height: 3.6em; margin-bottom: 8px; }
  .result__row { grid-template-columns: auto 1fr; grid-template-areas: "tag val" "bar bar"; margin-top: 10px; row-gap: 6px; align-items: baseline; }
  .result__tag { grid-area: tag; grid-row: auto; font-size: 10px; }
  .result__row .bar { grid-area: bar; }
  .result__val { grid-area: val; justify-self: end; margin-top: 0; font-size: 17px; }
  .result__val--now { font-size: 21px; }
  .bar { height: 7px; }
  .result__note { margin-top: 10px; font-size: 12px; line-height: 1.35; }
  .modal__actions { grid-template-columns: 1fr; }
  .head--row { grid-template-columns: 1fr; gap: 16px; }
  .integ__groups { grid-template-columns: 1fr; gap: 10px; }
  .group { display: block; padding: 18px 16px; }
  .group h3 { font-size: 18px; margin-bottom: 12px; padding-top: 0; }
  .group ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .group li { padding: 7px 10px; font-size: 13.5px; }
  .code pre { font-size: 12.5px; padding: 16px; }
  .rollout ol { grid-template-columns: 1fr; }
  .wrap--faq { grid-template-columns: 1fr; gap: 0; }
  .faq summary { font-size: 17px; padding: 18px; }
  .faq details p { padding: 0 18px 18px; font-size: 15px; }
  .demo { grid-template-columns: 1fr; }
  .calc { padding: 22px; }
  .logos ul { gap: 20px 32px; }
  .logos svg { height: 26px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer { padding-bottom: 110px; }
  .quote figcaption { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .result:not(.is-in) .bar { --grow: 1; }
}
