/* not-a-problem · site institucional
   Identidade visual herdada da apresentação "Como trabalhamos" (/apresentacao). */

:root {
  --bg: #141315;
  --bg-deep: #0e0e10;
  --container: #201f22;
  --container-low: #1c1b1e;
  --blueprint: #1E1B4B;
  --text: #e5e1e4;
  --text-2: #c9c5ce;
  --primary: #c9c2e9;
  --primary-container: #0d0826;
  --border: #48464d;
  --outline: #938f98;
  --caution: #334155;
  --accent: #D1D5DB;

  --f-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --maxw: 1280px;
  --pad: clamp(20px, 5vw, 64px);
  --header-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
svg { display: block; max-width: 100%; }
svg text { font-family: var(--f-mono); }
a { color: inherit; }
p { color: var(--text-2); }
::selection { background: var(--primary); color: var(--primary-container); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--primary); color: var(--primary-container); padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { left: 12px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- Tipografia ---------- */
.eyebrow { font: 500 13px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--primary); display: flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--primary); flex: none; }
h1 { font: 500 clamp(44px, 6.4vw, 84px)/.98 var(--f-display); letter-spacing: -.04em; }
h2 { font: 500 clamp(34px, 4.6vw, 60px)/1.04 var(--f-display); letter-spacing: -.03em; margin-top: 18px; }
h3 { font: 500 clamp(20px, 1.9vw, 24px)/1.18 var(--f-display); letter-spacing: -.015em; }
.title { font: 500 clamp(28px, 3.2vw, 42px)/1.08 var(--f-display); letter-spacing: -.025em; margin-top: 16px; }
.lead { font: 300 clamp(18px, 1.6vw, 21px)/1.55 var(--f-body); color: var(--text-2); margin-top: 18px; max-width: 720px; }
.mono { font-family: var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.muted { color: var(--outline); }
.hl { color: var(--primary); }
em { font-style: normal; color: var(--primary); }

.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.head .num { font: 400 clamp(64px, 9vw, 120px)/.8 var(--f-display); color: transparent; -webkit-text-stroke: 1px var(--border); letter-spacing: -.04em; flex: none; }

/* ---------- Componentes ---------- */
.card {
  background: linear-gradient(180deg, rgba(32, 31, 34, .92), rgba(28, 27, 30, .92));
  border: 1px solid var(--border); border-radius: 20px; padding: 32px;
  position: relative;
}
.card.primary { background: linear-gradient(180deg, rgba(13, 8, 38, .95), rgba(20, 19, 21, .95)); border-color: rgba(201, 194, 233, .45); }
.tag { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); border: 1px solid var(--border); border-radius: 999px; padding: 9px 14px; }
.tag.p { color: var(--primary); border-color: rgba(201, 194, 233, .45); background: rgba(13, 8, 38, .6); }

.callout {
  display: flex; align-items: center; gap: 20px; margin-top: 28px;
  border-left: 2px solid var(--primary); padding: 18px 26px;
  background: linear-gradient(90deg, rgba(13, 8, 38, .8), transparent);
  font: 400 clamp(16px, 1.5vw, 19px)/1.5 var(--f-body); color: var(--text);
}
.callout .mono { font-size: 12px; color: var(--primary); white-space: nowrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px;
  border: 1px solid var(--border); border-radius: 999px; background: transparent; color: var(--text);
  font: 500 13px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: color .25s, border-color .25s, background-color .25s;
}
.btn:hover { border-color: var(--primary); color: var(--primary); }
.btn.primary { background: var(--primary); border-color: var(--primary); color: var(--primary-container); }
.btn.primary:hover { background: #ddd8f3; border-color: #ddd8f3; color: var(--primary-container); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Cabeçalho ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--header-h); border-bottom: 1px solid transparent; transition: border-color .3s; }
/* O blur fica num pseudo-elemento: backdrop-filter no próprio header vira containing block do menu mobile (position: fixed). */
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(20, 19, 21, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; transition: opacity .3s; }
.header.is-scrolled::before, .header.is-open::before { opacity: 1; }
.header.is-scrolled, .header.is-open { border-bottom-color: rgba(72, 70, 77, .5); }
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 500 15px/1 var(--f-mono); letter-spacing: .08em; color: var(--text-2); text-decoration: none; }
.brand i { width: 10px; height: 10px; border: 1.5px solid var(--primary); transform: rotate(45deg); }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) { font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--outline); text-decoration: none; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--text); }
.nav .btn { height: 40px; padding: 0 18px; font-size: 12px; }

.lang-switch { display: flex; align-items: center; gap: 8px; font: 500 12px/1 var(--f-mono); letter-spacing: .14em; color: var(--border); }
.lang-switch [aria-current] { color: var(--primary); }
.nav .lang-switch a { color: var(--outline); }

.menu-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px; background: transparent; color: var(--text); cursor: pointer; }
.menu-toggle i { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.menu-toggle i + i { margin-top: 6px; }
.is-open .menu-toggle i:first-child { transform: translateY(3.75px) rotate(45deg); }
.is-open .menu-toggle i:last-child { transform: translateY(-3.75px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 28px;
    background: var(--bg); border-bottom: 1px solid var(--border);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility 0s linear .25s;
  }
  .nav a:not(.btn) { padding: 18px 0; font-size: 13px; border-bottom: 1px solid rgba(72, 70, 77, .5); }
  .nav .btn { margin-top: 22px; height: 50px; }
  .nav .lang-switch { padding: 18px 0; font-size: 13px; border-bottom: 1px solid rgba(72, 70, 77, .5); }
  .nav .lang-switch a { padding: 0; border: 0; }
  .is-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s var(--ease); }
}

/* ---------- Seções ---------- */
.section { position: relative; padding-block: clamp(88px, 11vw, 144px); }
.section + .section { border-top: 1px solid rgba(72, 70, 77, .4); }
.section.alt { background: linear-gradient(180deg, rgba(28, 27, 30, .7), rgba(20, 19, 21, 0) 60%); }
.block + .block { margin-top: clamp(96px, 10vw, 140px); }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding-top: calc(var(--header-h) + 48px); padding-bottom: 80px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(30, 27, 75, .55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 27, 75, .55) 1px, transparent 1px),
    linear-gradient(rgba(30, 27, 75, .25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 27, 75, .25) 1px, transparent 1px);
  background-size: 240px 240px, 240px 240px, 40px 40px, 40px 40px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% 10%, rgba(13, 8, 38, .9), transparent 70%),
    radial-gradient(700px 500px at 0% 100%, rgba(30, 27, 75, .35), transparent 70%);
}
.hero .container { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.hero h1 { margin-top: 28px; }
.hero .lead { margin-top: 28px; font-size: clamp(18px, 1.8vw, 23px); max-width: 620px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 48px; }
.chain .arrow { color: var(--outline); font: 400 16px var(--f-mono); }
.hero-art svg { width: 100%; max-width: 560px; margin-left: auto; overflow: visible; }
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { display: none; }
}

/* ---------- Desafios ---------- */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; margin-top: 64px; }
.pain { position: relative; border-top: 1px solid var(--border); padding-top: 24px; }
.pain::before { content: ""; position: absolute; top: -2px; left: 0; width: 36px; height: 3px; background: var(--primary); }
.pain .mono { font-size: 12px; color: var(--outline); }
.pain h3 { margin-top: 12px; }
.pain p { margin-top: 10px; font-size: 16px; line-height: 1.55; }
@media (max-width: 900px) { .pains { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pains { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Serviços ---------- */
.entry { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; padding: clamp(28px, 4vw, 48px); margin-top: 64px; }
.entry .mono { font-size: 12px; }
.entry h3 { font-size: clamp(30px, 3.4vw, 44px); margin-top: 14px; }
.entry p { margin-top: 14px; max-width: 560px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(201, 194, 233, .3); border-radius: 16px; overflow: hidden; }
.facts div { padding: 22px 20px; }
.facts div + div { border-left: 1px solid rgba(201, 194, 233, .3); }
.facts dt { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--outline); }
.facts dd { margin-top: 12px; font: 500 clamp(18px, 1.7vw, 21px)/1.15 var(--f-display); color: var(--text); }
@media (max-width: 960px) { .entry { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; }
  .facts div + div { border-left: 0; border-top: 1px solid rgba(201, 194, 233, .3); }
}

.kinds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
.kinds .card { padding: 28px 26px 30px; }
.kinds .top { display: flex; align-items: center; gap: 14px; }
.kinds svg { width: 44px; height: 44px; flex: none; }
.kinds p { margin-top: 14px; font-size: 16px; line-height: 1.55; }
@media (max-width: 1100px) { .kinds { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .kinds { grid-template-columns: 1fr; } }

.focus-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.focus-row > .mono { font-size: 12px; color: var(--outline); margin-right: 8px; }
.focus-row p { margin-left: auto; font-size: 15px; color: var(--outline); }
@media (max-width: 900px) { .focus-row p { margin-left: 0; width: 100%; } }

/* ---------- Como trabalhamos ---------- */
.ideas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.ideas .card { padding: 36px 32px 40px; }
.ideas svg { width: 88px; height: 88px; margin-bottom: 32px; }
.ideas .mono { font-size: 12px; color: var(--outline); margin-bottom: 12px; }
.ideas p { margin-top: 12px; font-size: 16px; line-height: 1.55; }
@media (max-width: 900px) { .ideas { grid-template-columns: 1fr; } }

.wide-art { width: 100%; height: auto; margin-top: 48px; }
@media (max-width: 1100px) { .wide-art { display: none; } }

.labels { display: grid; grid-template-columns: 440fr 180fr 440fr 180fr 440fr; margin-top: 20px; }
.labels > div:nth-child(2) { grid-column: 3; }
.labels > div:nth-child(3) { grid-column: 5; }
.labels .mono { font-size: 12px; color: var(--primary); }
.labels h3 { margin-top: 10px; }
.labels p { margin-top: 8px; font-size: 16px; line-height: 1.5; }
@media (max-width: 1100px) {
  .labels { grid-template-columns: 1fr; margin-top: 40px; }
  .labels > div:nth-child(n) { grid-column: auto; padding: 24px 0; border-top: 1px solid var(--border); }
}

.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 32px; }
.phase { border-top: 1px solid var(--border); padding-top: 22px; position: relative; }
.phase::before { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 3px; background: var(--primary); }
.phase .mono { font-size: 12px; color: var(--outline); }
.phase h3 { margin-top: 12px; }
.phase p { margin-top: 10px; font-size: 16px; line-height: 1.5; }
.phase.last h3 { color: var(--primary); }
@media (max-width: 1100px) { .phases { margin-top: 48px; } }
@media (max-width: 900px) { .phases { grid-template-columns: 1fr; gap: 32px; } }

.decisions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.decision { border: 1px solid var(--border); border-radius: 18px; padding: 24px; background-color: rgba(28, 27, 30, .85); }
.decision svg { width: 44px; height: 44px; }
.decision h3 { margin-top: 18px; }
.decision p { margin-top: 8px; font-size: 15px; line-height: 1.5; }
.is-active .decision { animation: decide 8s linear infinite; animation-delay: var(--d, 0s); }
@keyframes decide { 0%, 22% { border-color: rgba(201, 194, 233, .7); background-color: rgba(13, 8, 38, .95); } 27%, 100% { border-color: #48464d; background-color: rgba(28, 27, 30, .85); } }
@media (max-width: 1100px) { .decisions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .decisions { grid-template-columns: 1fr; } }

.defines { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.defines > .mono { font-size: 12px; color: var(--outline); margin-right: 8px; }

.more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(64px, 8vw, 96px); padding-top: 32px; border-top: 1px solid var(--border); }
.more p { max-width: 560px; }

/* ---------- Sobre ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.split .sticky { position: sticky; top: calc(var(--header-h) + 40px); }
.traits .trait { display: grid; grid-template-columns: 48px 1fr; border-top: 1px solid var(--border); padding: 26px 0; }
.traits .trait:last-child { border-bottom: 1px solid var(--border); }
.traits .trait > .mono { font-size: 13px; color: var(--primary); padding-top: 5px; }
.traits p { margin-top: 6px; font-size: 16px; line-height: 1.55; }
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .split .sticky { position: static; }
}

/* ---------- Contratação ---------- */
/* Formas de contratação: um card por caminho, sempre com os mesmos campos */
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; margin-top: 56px; }
.path { padding: 36px 32px 40px; }
.path > .mono { font-size: 12px; color: var(--outline); }
.path h3 { margin-top: 12px; font-size: clamp(26px, 2.6vw, 34px); }
.path > p { margin-top: 12px; color: var(--text-2); line-height: 1.55; }
.path dl { display: grid; gap: 20px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--border); }
.path dt { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.path dd { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--text-2); }
#engagement .defines { margin-top: 40px; }
@media (max-width: 520px) { .paths { grid-template-columns: 1fr; } .path { padding: 28px 24px 32px; } }

.ctable-wrap { margin-top: 56px; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; background: rgba(28, 27, 30, .88); }
.ctable { width: 100%; border-collapse: collapse; text-align: left; font: 400 16px/1.45 var(--f-body); color: var(--text-2); }
.ctable th, .ctable td { padding: 18px 24px; border-bottom: 1px solid rgba(72, 70, 77, .5); vertical-align: middle; }
.ctable tbody tr:last-child > * { border-bottom: 0; }
.ctable thead th { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--outline); border-bottom-color: var(--border); }
.ctable tbody th { font: 500 19px/1.2 var(--f-display); color: var(--text); white-space: nowrap; }
.ctable .tag { white-space: nowrap; }
.ctable .cur > * { background: rgba(13, 8, 38, .75); }
.ctable .cur th { color: var(--primary); box-shadow: inset 3px 0 0 var(--primary); }
@media (max-width: 860px) {
  .ctable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ctable, .ctable tbody, .ctable tr, .ctable th, .ctable td { display: block; }
  .ctable tr { padding: 22px 22px 8px; border-bottom: 1px solid rgba(72, 70, 77, .5); }
  .ctable tbody tr:last-child { border-bottom: 0; }
  .ctable th, .ctable td { padding: 0 0 14px; border: 0; }
  .ctable td::before { content: attr(data-label); display: block; margin-bottom: 8px; font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--outline); }
  .ctable .cur > * { background: none; }
  .ctable .cur { background: rgba(13, 8, 38, .75); box-shadow: inset 3px 0 0 var(--primary); }
  .ctable .cur th { box-shadow: none; }
}

/* ---------- FAQ ---------- */
.faq-list details { border-top: 1px solid var(--border); }
.faq-list details:last-child { border-bottom: 1px solid var(--border); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; font: 500 clamp(18px, 1.7vw, 21px)/1.3 var(--f-display); color: var(--text); transition: color .2s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 14px; height: 14px; transition: transform .3s var(--ease);
  background:
    linear-gradient(var(--primary), var(--primary)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--primary), var(--primary)) center / 1.5px 100% no-repeat;
}
.faq-list summary:hover { color: var(--primary); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 48px 26px 0; font-size: 16px; line-height: 1.65; }
.split .lead a { color: var(--primary); }

/* ---------- Contato ---------- */
.contact { isolation: isolate; overflow: hidden; }
.contact::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(800px 500px at 90% 20%, rgba(13, 8, 38, .9), transparent 70%); }

.steps { margin-top: 48px; }
.step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 22px; padding-bottom: 34px; }
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::before, .step:not(:last-child)::after { content: ""; position: absolute; left: 23.5px; top: 48px; bottom: 0; width: 1px; background: var(--border); }
.step:not(:last-child)::after { left: 22.5px; width: 3px; background: var(--primary); transform-origin: top; transform: scaleY(0); }
.is-active .step:not(:last-child)::after { animation: fillY .9s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 110ms + 700ms); }
.step .dotn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--primary); background: var(--bg); display: grid; place-items: center; font: 500 16px/1 var(--f-mono); color: var(--primary); position: relative; z-index: 1; }
.step h3 { margin-top: 11px; }
.step p { margin-top: 6px; font-size: 16px; line-height: 1.5; }

.form { padding: clamp(24px, 3.5vw, 40px); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.field { display: grid; gap: 8px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font: 500 11px/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.field .req { color: var(--primary); }
.field input, .field textarea {
  width: 100%; background: rgba(14, 14, 16, .7); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px;
  font: 400 16px/1.4 var(--f-body); color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6f6b75; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(201, 194, 233, .15); }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.form-note { font-size: 13px; color: var(--outline); max-width: 300px; }
.form-status { margin-top: 18px; font-size: 15px; }
.form-status:empty { display: none; }
.form-status[data-state="ok"] { color: var(--primary); }
.form-status[data-state="error"] { color: #f2b8b5; }
.form-fallback { margin-top: 6px; font-size: 15px; }
.form-fallback a { color: var(--primary); }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }

/* ---------- Rodapé ---------- */
.footer { border-top: 1px solid var(--border); padding-block: 56px 40px; }
.footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer .top p { margin-top: 14px; font-size: 15px; color: var(--outline); max-width: 360px; }
.footer nav { display: grid; grid-template-columns: repeat(2, auto); gap: 14px 48px; align-content: start; }
.footer nav a { font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--outline); text-decoration: none; transition: color .2s; }
.footer nav a:hover { color: var(--text); }
.footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(72, 70, 77, .5); font: 400 13px/1.4 var(--f-mono); letter-spacing: .06em; color: var(--outline); }

@media (max-width: 760px) {
  .head .num { display: none; }
  .callout { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ---------- Animações (ativadas quando o bloco entra na tela) ---------- */
.js .r { opacity: 0; }
.is-active .r { animation: rise .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.is-active .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 110ms + 200ms); }
@keyframes draw { to { stroke-dashoffset: 0; } }

.flow { stroke-dasharray: 6 10; }
.is-active .flow { animation: flow 1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -16; } }

.spin { transform-box: fill-box; transform-origin: center; }
.is-active .spin { animation: spin 40s linear infinite; }
.is-active .spin.rev { animation-direction: reverse; animation-duration: 60s; }
@keyframes spin { to { transform: rotate(360deg); } }

.fb { transform-box: fill-box; transform-origin: center; }
.is-active .pulse { animation: pulse 2.4s ease-out infinite; animation-delay: var(--d, 0s); }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.8); opacity: 0; } }

.is-active .orbit-row { animation: rowscan 4s steps(1) infinite; }
@keyframes rowscan { 0% { transform: translateY(0); } 25% { transform: translateY(34px); } 50% { transform: translateY(68px); } 75% { transform: translateY(102px); } }

.is-active .lift { animation: lift 3.6s var(--ease) infinite; animation-delay: var(--d, 0s); }
@keyframes lift { 0%, 20%, 60%, 100% { transform: translateY(0); fill: #201f22; } 30%, 50% { transform: translateY(-12px); fill: #0d0826; } }
.is-active .lens { animation: lens 5s ease-in-out infinite; }
@keyframes lens { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(26px, 22px); } 66% { transform: translate(8px, 44px); } }
.is-active .tick { stroke-dasharray: 1; stroke-dashoffset: 1; animation: tick 4.5s ease infinite; animation-delay: var(--d, 0s); }
@keyframes tick { 0%, 8% { stroke-dashoffset: 1; } 20%, 85% { stroke-dashoffset: 0; } 95%, 100% { stroke-dashoffset: 1; } }

.is-active .scan { animation: scan 4s linear infinite; }
@keyframes scan { from { transform: translateX(30px); } to { transform: translateX(410px); } }
.dot { fill: var(--border); }
.is-active .dot { animation: blip 4s linear infinite; animation-delay: var(--t); }
.is-active .dot.hit { animation-name: hit; }
@keyframes blip { 0% { fill: #48464d; transform: scale(1); } 3% { fill: #e5e1e4; transform: scale(1.6); } 12%, 100% { fill: #48464d; transform: scale(1); } }
@keyframes hit { 0% { fill: #48464d; transform: scale(1); } 3% { fill: #c9c2e9; transform: scale(2); } 10% { transform: scale(1.35); } 85% { fill: #c9c2e9; transform: scale(1.35); } 100% { fill: #48464d; transform: scale(1); } }
.ping { opacity: 0; }
.is-active .ping { animation: ping 4s ease-out infinite; animation-delay: var(--t); }
@keyframes ping { 0% { transform: scale(.6); opacity: 0; } 3% { opacity: .9; } 30% { transform: scale(3.4); opacity: 0; } 100% { opacity: 0; } }

.js .row { opacity: 0; }
.is-active .row { animation: rowin 6s var(--ease) infinite both; animation-delay: var(--t); }
@keyframes rowin { 0% { opacity: 0; transform: translateX(-16px); } 8%, 78% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: none; } }

.token { opacity: 0; }
.is-active .token { animation: token 8s linear infinite both; animation-delay: var(--t); }
@keyframes token {
  0% { opacity: 0; transform: translate(1262px, 260px); }
  2% { opacity: 1; }
  10%, 13% { opacity: 1; transform: translate(1340px, 260px); }
  18% { transform: translate(1410px, var(--ly)); }
  22% { opacity: 1; transform: translate(1470px, var(--ly)); }
  25%, 100% { opacity: 0; transform: translate(1470px, var(--ly)); }
}
.lane { fill: var(--container-low); stroke: var(--border); }
.is-active .lane { animation: lane 8s linear infinite; animation-delay: var(--t); }
@keyframes lane { 0%, 20% { fill: #1c1b1e; stroke: #48464d; } 23%, 34% { fill: #0d0826; stroke: #c9c2e9; } 44%, 100% { fill: #1c1b1e; stroke: #48464d; } }
.gate { fill: var(--bg); stroke: var(--outline); }
.is-active .gate { animation: gate 2s linear infinite; }
@keyframes gate { 0%, 40% { stroke: #938f98; fill: #141315; } 45%, 60% { stroke: #c9c2e9; fill: #0d0826; } 70%, 100% { stroke: #938f98; fill: #141315; } }

.growx { transform-box: fill-box; transform-origin: left center; }
.is-active .growx { animation: growx 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 180ms + 400ms); }
@keyframes growx { from { transform: scaleX(0); } }
.is-active .cursor { animation: cursor 8s linear infinite; }
@keyframes cursor { 0% { transform: translateX(0); opacity: 0; } 4%, 92% { opacity: 1; } 100% { transform: translateX(1680px); opacity: 0; } }
.is-active .fill8 { stroke-dasharray: 1; stroke-dashoffset: 1; animation: fill8 8s linear infinite; }
@keyframes fill8 { to { stroke-dashoffset: 0; } }

.gy { transform-box: fill-box; transform-origin: bottom center; }
.is-active .gy { animation: gy 3s var(--ease) infinite; animation-delay: var(--d, 0s); }
@keyframes gy { 0%, 100% { transform: scaleY(.25); } 40%, 75% { transform: scaleY(1); } }
.gx { transform-box: fill-box; transform-origin: left center; }
.is-active .gx { animation: gx 3s var(--ease) infinite; animation-delay: var(--d, 0s); }
@keyframes gx { 0%, 100% { transform: scaleX(.2); } 40%, 75% { transform: scaleX(1); } }
.orbit { transform-origin: 28px 28px; }
.is-active .orbit { animation: spin 3s linear infinite; }

@keyframes fillY { to { transform: scaleY(1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition: none !important; }
  .is-active .row, .is-active .tick { animation: none !important; opacity: 1; stroke-dashoffset: 0; }
}
