/* SPLIT — site institucional (dark tech). Marca: navy + coral, logo e símbolo oficiais. */
:root {
  --bg: #050C17;
  --bg-2: #0A1526;
  --bg-3: #0F1D33;
  --surface: rgba(255,255,255,.035);
  --surface-2: rgba(255,255,255,.06);
  --border: rgba(255,255,255,.09);
  --border-2: rgba(255,255,255,.16);
  --text: #EAF0F7;
  --muted: #8C9BB0;
  --coral: #FF6B35;
  --coral-glow: rgba(255,107,53,.35);
  --ok: #3DDC97;
  --radius: 18px;
  --max: 1200px;
  --font: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-display: 'Blinker', 'Instrument Sans', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --glass: rgba(5,12,23,.78);
  --glass-solid: rgba(5,12,23,.97);
  --inset: rgba(5,12,23,.6);
  --placeholder: #56657A;
  --err: #FF8A80;
  --grid-opacity: .55;
  --tile-bg: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.035));
  color-scheme: dark;
}

/* Tema claro: explícito (botão) ou automático (sistema), salvo se o usuário escolheu escuro */
:root[data-theme="light"] {
  --bg: #F4F6FA; --bg-2: #FFFFFF; --bg-3: #FFFFFF;
  --surface: rgba(11,42,79,.025); --surface-2: rgba(11,42,79,.05);
  --border: rgba(11,42,79,.10); --border-2: rgba(11,42,79,.18);
  --text: #0B2A4F; --muted: #56657A; --coral: #E25822; --coral-glow: rgba(226,88,34,.28); --ok: #17935A;
  --glass: rgba(244,246,250,.85); --glass-solid: rgba(255,255,255,.98); --inset: #FFFFFF;
  --placeholder: #93A2B4; --err: #B3261E; --grid-opacity: .9; --tile-bg: #FFFFFF;
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F4F6FA; --bg-2: #FFFFFF; --bg-3: #FFFFFF;
    --surface: rgba(11,42,79,.025); --surface-2: rgba(11,42,79,.05);
    --border: rgba(11,42,79,.10); --border-2: rgba(11,42,79,.18);
    --text: #0B2A4F; --muted: #56657A; --coral: #E25822; --coral-glow: rgba(226,88,34,.28); --ok: #17935A;
    --glass: rgba(244,246,250,.85); --glass-solid: rgba(255,255,255,.98); --inset: #FFFFFF;
    --placeholder: #93A2B4; --err: #B3261E; --grid-opacity: .9; --tile-bg: #FFFFFF;
    color-scheme: light;
  }
}

/* Janela de código e cards flutuantes ficam escuros nos dois temas */
.code, .float {
  --text: #EAF0F7; --muted: #8C9BB0; --border: rgba(255,255,255,.09); --border-2: rgba(255,255,255,.16); --ok: #3DDC97; --coral: #FF6B35;
  color: var(--text);
}

/* Logos por tema: padrão escuro mostra a versão clara */
.on-light { display: none !important; }
:root[data-theme="light"] .on-light { display: block !important; }
:root[data-theme="light"] .on-dark { display: none !important; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .on-light { display: block !important; }
  :root:not([data-theme="dark"]) .on-dark { display: none !important; }
}

/* Botão de tema */
.theme-btn { background: var(--surface); border: 1px solid var(--border-2); color: var(--text); width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; cursor: pointer; transition: background .2s; flex: none; }
.theme-btn:hover { background: var(--surface-2); }
.theme-btn svg { width: 19px; height: 19px; }
.theme-btn .sun { display: none; }
:root[data-theme="light"] .theme-btn .sun { display: block; }
:root[data-theme="light"] .theme-btn .moon { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-btn .sun { display: block; }
  :root:not([data-theme="dark"]) .theme-btn .moon { display: none; }
}
.hd .actions { display: flex; align-items: center; gap: 10px; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--bg); }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.04; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
::selection { background: var(--coral); color: #fff; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--coral); color: #fff; padding: 8px 16px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 16px; }
.grad { background: linear-gradient(92deg, #FF8A5B, var(--coral) 45%, #FFB08A); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 12px; font: 600 15.5px/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 8px 30px -8px var(--coral-glow), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { box-shadow: 0 14px 40px -8px var(--coral-glow), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost { background: var(--surface); border-color: var(--border-2); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* Cabeçalho */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.hd.scrolled { background: var(--glass); backdrop-filter: blur(14px); border-bottom-color: var(--border); }
.hd .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.hd .logo img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: 15px; color: var(--muted); transition: color .2s; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--text); }
.nav .btn { padding: 10px 18px; color: #fff; font-size: 14.5px; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--text); }
.menu-btn svg { width: 26px; height: 26px; }

/* Seções */
.sec { padding: 112px 0; position: relative; }
.sec-2 { background: var(--bg-2); }
.head { max-width: 680px; display: flex; flex-direction: column; gap: 16px; margin-bottom: 56px; }
.head.center { margin-inline: auto; text-align: center; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1 var(--mono); letter-spacing: .04em; color: var(--coral); }
.kicker::before { content: "//"; color: var(--muted); }
h2 { font-size: clamp(34px, 4.6vw, 54px); }
.lead { font-size: 19px; color: var(--muted); }
.lead a { color: var(--coral); font-weight: 600; text-decoration: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 160px 0 110px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); opacity: var(--grid-opacity); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -160px; top: -220px; background: radial-gradient(circle, var(--coral-glow), transparent 62%); filter: blur(30px); opacity: .7; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border: 1px solid var(--border-2); border-radius: 999px; background: var(--surface); font-size: 13.5px; color: var(--muted); margin-bottom: 26px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(61,220,151,.15); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(61,220,151,0); } }
.hero h1 { font-size: clamp(44px, 6.4vw, 80px); }
.hero .lead { margin-top: 24px; max-width: 540px; font-size: 20px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero-art { position: relative; }
.hero-sub { padding-bottom: 96px; }
.hero-sub .wrap { grid-template-columns: 1fr; }
.hero-sub .lead { max-width: 680px; }

/* Janela de código */
.code { position: relative; border: 1px solid var(--border-2); border-radius: var(--radius); background: linear-gradient(180deg, rgba(15,29,51,.92), rgba(10,21,38,.92)); box-shadow: 0 40px 100px -30px rgba(0,0,0,.8); font: 13.5px/1.75 var(--mono); }
.code .bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.code .bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.code .bar i:nth-child(2) { background: #FEBC2E; }
.code .bar i:nth-child(3) { background: #28C840; }
.code .bar span { margin-left: 10px; color: var(--muted); font-size: 12.5px; }
.code pre { margin: 0; padding: 22px 24px 26px; overflow-x: auto; color: #C9D4E3; font: inherit; }
.code .ln { display: block; opacity: 0; animation: type .4s forwards; }
.code .ln:nth-child(1) { animation-delay: .2s; } .code .ln:nth-child(2) { animation-delay: .45s; } .code .ln:nth-child(3) { animation-delay: .7s; } .code .ln:nth-child(4) { animation-delay: .95s; } .code .ln:nth-child(5) { animation-delay: 1.2s; } .code .ln:nth-child(6) { animation-delay: 1.45s; } .code .ln:nth-child(7) { animation-delay: 1.7s; } .code .ln:nth-child(8) { animation-delay: 1.95s; } .code .ln:nth-child(9) { animation-delay: 2.2s; } .code .ln:nth-child(10) { animation-delay: 2.45s; }
@keyframes type { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.k { color: #FF8A5B; } .f { color: #7CC4FF; } .s { color: #A5E08A; } .c { color: #5E6E85; } .n { color: #F2C66D; }
.caret { display: inline-block; width: 8px; height: 16px; background: var(--coral); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 15px; border-radius: 12px; border: 1px solid var(--border-2); background: rgba(10,21,38,.92); backdrop-filter: blur(10px); font: 500 13px/1.25 var(--font); box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); animation: bob 6s ease-in-out infinite; }
.float b { display: block; font-weight: 600; color: var(--text); }
.float small { color: var(--muted); font-size: 12px; }
.float .ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(61,220,151,.12); color: var(--ok); }
.float .ic.or { background: rgba(255,107,53,.14); color: var(--coral); }
.float .ic svg { width: 16px; height: 16px; }
.float.f1 { left: -34px; bottom: -26px; }
.float.f2 { right: -22px; top: -24px; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Faixa de tecnologias */
.strip { border-block: 1px solid var(--border); padding: 22px 0; overflow: hidden; background: var(--bg-2); }
.strip .track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.strip span { font: 500 15px/1 var(--mono); color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; padding-right: 48px; }
.strip span::after { content: "◆"; color: var(--coral); font-size: 9px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Bento de soluções */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--tile-bg); padding: 30px; display: flex; flex-direction: column; gap: 10px; min-height: 250px; transition: border-color .3s, transform .3s; text-decoration: none; color: inherit; }
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255,107,53,.13), transparent 50%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.tile:hover { border-color: var(--border-2); transform: translateY(-3px); }
.tile:hover::before { opacity: 1; }
.tile h3 { font-size: 26px; }
.tile p { color: var(--muted); font-size: 15.5px; max-width: 440px; }
.tile .tag { font: 500 12px/1 var(--mono); color: var(--coral); }
.t-a { grid-column: span 4; } .t-b { grid-column: span 2; grid-row: span 2; } .t-c { grid-column: span 2; } .t-d { grid-column: span 2; } .t-e { grid-column: span 3; } .t-f { grid-column: span 3; }
.tile .go { margin-top: auto; font-weight: 600; font-size: 14.5px; color: var(--coral); }

/* Mocks dentro dos tiles */
.mock-dash { margin-top: auto; padding-top: 14px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.panel { border: 1px solid var(--border); border-radius: 12px; background: var(--inset); padding: 14px; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 84px; }
.bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--coral), rgba(255,107,53,.25)); transform-origin: bottom; animation: grow 1.2s cubic-bezier(.2,.8,.2,1) both; }
.bars i:nth-child(odd) { background: linear-gradient(180deg, #4D7CB8, rgba(77,124,184,.25)); }
@keyframes grow { from { transform: scaleY(0); } }
.kpi { display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.kpi small { color: var(--muted); font-size: 12px; }
.kpi b { font: 700 30px/1 var(--font-display); }
.kpi .up { color: var(--ok); font: 500 12px/1 var(--mono); }
.phone { margin: 18px auto 0; width: 170px; height: 300px; border-radius: 30px; border: 1px solid var(--border-2); background: var(--inset); padding: 14px 12px; display: flex; flex-direction: column; gap: 9px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.phone .notch { width: 54px; height: 6px; border-radius: 4px; background: var(--border-2); margin: 0 auto 6px; }
.phone .row { height: 38px; border-radius: 9px; background: var(--surface-2); display: flex; align-items: center; gap: 8px; padding: 0 9px; }
.phone .row i { width: 20px; height: 20px; border-radius: 6px; background: rgba(255,107,53,.25); flex: none; }
.phone .row s { height: 6px; border-radius: 3px; background: var(--border-2); flex: 1; }
.phone .cta { margin-top: auto; height: 36px; border-radius: 10px; background: var(--coral); }
.flow { margin-top: auto; padding-top: 14px; display: flex; align-items: center; }
.flow .node { padding: 9px 12px; border: 1px solid var(--border-2); border-radius: 10px; background: var(--inset); font: 500 12px/1 var(--mono); color: var(--text); white-space: nowrap; }
.flow .node.hot { border-color: var(--coral); color: var(--coral); box-shadow: 0 0 24px -6px var(--coral-glow); }
.flow .wire { flex: 1; min-width: 12px; height: 1px; background: repeating-linear-gradient(90deg, var(--coral) 0 6px, transparent 6px 12px); background-size: 24px 1px; animation: dash 1s linear infinite; }
@keyframes dash { to { background-position: 24px 0; } }

/* Ideias */
.ideas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.idea { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; background: var(--surface); transition: border-color .3s; }
.idea:hover { border-color: var(--border-2); }
.idea .num { grid-row: span 3; font: 500 13px/1.9 var(--mono); color: var(--coral); }
.idea h3 { font-size: 22px; }
.idea p { color: var(--muted); font-size: 15.5px; }
.idea ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 8px 0 0; }
.idea li { font: 500 12px/1 var(--mono); color: var(--muted); border: 1px solid var(--border); border-radius: 6px; padding: 6px 9px; }

/* Split = dividir */
.split-idea { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-viz { display: flex; flex-direction: column; gap: 12px; }
.split-viz .big { border: 1px dashed var(--border-2); border-radius: 14px; padding: 18px 20px; font: 500 14px/1.5 var(--mono); color: var(--muted); text-align: center; }
.split-viz .arrow { text-align: center; color: var(--coral); font: 500 13px/1 var(--mono); }
.split-viz .parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.split-viz .parts div { border: 1px solid var(--border); border-radius: 12px; padding: 16px 12px; text-align: center; background: var(--surface-2); font-size: 14px; }
.split-viz .parts b { display: block; font: 700 22px/1 var(--font-display); color: var(--coral); margin-bottom: 6px; }
.split-viz .done { border: 1px solid rgba(61,220,151,.35); background: rgba(61,220,151,.06); color: var(--ok); border-radius: 14px; padding: 16px; text-align: center; font-weight: 600; }

/* Processo */
.process { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; margin: 0; position: relative; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: linear-gradient(90deg, var(--coral), var(--border-2) 70%); }
.process li { position: relative; padding-right: 28px; }
.process .dot { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--coral); color: var(--coral); font: 600 14px/1 var(--mono); margin-bottom: 22px; position: relative; }
.process h3 { font-size: 22px; margin-bottom: 8px; }
.process p { color: var(--muted); font-size: 15.5px; }

/* Stack */
.stack { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; padding: 0; margin: 0; }
.stack li { padding: 12px 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); font: 500 14.5px/1 var(--mono); transition: border-color .2s, color .2s; }
.stack li:hover { border-color: var(--coral); color: var(--coral); }

/* História */
.story { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: start; }
.story .lead + .lead { margin-top: 16px; }
.story blockquote { margin: 32px 0 0; padding: 0 0 0 22px; border-left: 2px solid var(--coral); font: 600 26px/1.3 var(--font-display); }
.story blockquote cite { display: block; margin-top: 10px; font: 400 14px/1.4 var(--font); color: var(--muted); font-style: normal; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 36px 34px; border-left: 1px solid var(--border-2); }
.timeline li:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 3px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--coral); }
.timeline li.now::before { background: var(--coral); box-shadow: 0 0 0 6px rgba(255,107,53,.18); }
.timeline time { font: 500 13px/1 var(--mono); color: var(--coral); }
.timeline h3 { font-size: 22px; margin: 8px 0 6px; }
.timeline p { color: var(--muted); font-size: 15.5px; }
.acronym { display: flex; gap: 6px; margin-top: 14px; flex-wrap: wrap; }
.acronym span { font: 500 13px/1 var(--mono); padding: 8px 10px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); }
.acronym b { color: var(--coral); font-weight: 600; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); transition: border-color .2s, background .2s; }
.faq details[open] { border-color: var(--border-2); background: var(--surface-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--mono); color: var(--coral); transition: transform .25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 26px 24px; color: var(--muted); }

/* Órbita de integrações (Sankhya) */
.orbit-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.orbit { position: relative; width: min(500px, 100%); aspect-ratio: 1; margin: 0 auto; }
.orbit .ring { position: absolute; inset: 14%; border: 1px dashed var(--border-2); border-radius: 50%; animation: spin 60s linear infinite; }
.orbit .ring.r2 { inset: 0; border-style: solid; border-color: var(--border); animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit .core { position: absolute; inset: 35%; border-radius: 50%; display: grid; place-items: center; text-align: center; background: radial-gradient(circle, rgba(255,107,53,.3), rgba(255,107,53,.06)); border: 1px solid var(--coral); font: 700 19px/1.1 var(--font-display); box-shadow: 0 0 60px -10px var(--coral-glow); }
.orbit .sat { position: absolute; transform: translate(-50%, -50%); padding: 9px 13px; border-radius: 10px; border: 1px solid var(--border-2); background: var(--bg-3); font: 500 12.5px/1 var(--mono); white-space: nowrap; }

/* Produto (Hub) */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; border: 1px solid var(--border); border-radius: 24px; padding: 52px; background: radial-gradient(600px circle at 100% 0%, rgba(255,107,53,.12), transparent 60%), var(--surface); }
.product h3 { font-size: 40px; margin: 14px 0; }
.product p { color: var(--muted); }
.doclist { border: 1px solid var(--border-2); border-radius: 16px; background: var(--inset); overflow: hidden; font-size: 14px; }
.doclist .top { padding: 14px 18px; border-bottom: 1px solid var(--border); font: 500 12.5px/1 var(--mono); color: var(--muted); }
.doclist .doc { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.doclist .doc:last-child { border-bottom: 0; }
.st { font: 500 12px/1 var(--mono); padding: 6px 9px; border-radius: 6px; white-space: nowrap; }
.st.ok { color: var(--ok); background: rgba(61,220,151,.1); }
.st.wait { color: #F2C66D; background: rgba(242,198,109,.1); }
.st.sent { color: #7CC4FF; background: rgba(124,196,255,.1); }

/* Contato */
.contact-box { position: relative; overflow: hidden; border: 1px solid var(--border-2); border-radius: 28px; padding: 64px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; background: radial-gradient(700px circle at 0% 0%, rgba(255,107,53,.16), transparent 55%), var(--bg-2); }
.contact-box h2 { font-size: clamp(32px, 4vw, 48px); }
.contact-box .lead { margin-top: 16px; }
.channels { display: flex; flex-direction: column; gap: 14px; margin-top: 34px; }
.channels a, .channels span { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); font-size: 16px; }
.channels a:hover { color: var(--coral); }
.channels .ic { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); display: grid; place-items: center; color: var(--coral); flex: none; }
.channels .ic svg { width: 19px; height: 19px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.form input, .form select, .form textarea { font: 400 15.5px/1.4 var(--font); color: var(--text); padding: 13px 14px; border: 1px solid var(--border-2); border-radius: 11px; background: var(--inset); width: 100%; transition: border-color .2s, box-shadow .2s; }
.form select option { background: var(--bg-2); }
.form input::placeholder, .form textarea::placeholder { color: var(--placeholder); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255,107,53,.15); }
.form textarea { min-height: 128px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form .btn { justify-self: start; }
.form-msg { grid-column: 1 / -1; font-size: 15px; min-height: 1.4em; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--err); }
.form-msg a { color: var(--coral); font-weight: 600; }
.req { color: var(--coral); }

/* Rodapé */
.ft { border-top: 1px solid var(--border); padding: 64px 0 32px; color: var(--muted); font-size: 15px; }
.ft .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.ft img { height: 28px; width: auto; margin-bottom: 16px; }
.ft .motto { max-width: 320px; }
.ft h4 { font: 500 12.5px/1 var(--mono); color: var(--text); margin-bottom: 16px; letter-spacing: .04em; }
.ft ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ft a { text-decoration: none; transition: color .2s; }
.ft a:hover { color: var(--text); }
.ft .legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }

/* WhatsApp flutuante */
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .2s; }
.wa:hover { transform: scale(1.07); }
.wa svg { width: 29px; height: 29px; }

/* Revelação ao rolar: a classe é aplicada pelo JS só em elementos fora da tela */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* 404 */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.nf .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.nf .big { font: 700 140px/1 var(--font-display); }

@media (max-width: 1020px) {
  .hero .wrap, .split-idea, .story, .product, .contact-box, .orbit-wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 580px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t-a, .t-e, .t-f { grid-column: span 2; }
  .t-b, .t-c, .t-d { grid-column: span 1; grid-row: auto; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .process::before { display: none; }
  .ft .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 72px 0 auto 0; background: var(--glass-solid); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; border-bottom: 1px solid var(--border); display: none; }
  .nav.open { display: flex; }
  .hd:has(.nav.open) { background: var(--glass-solid); }
  .nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--border); font-size: 17px; color: var(--text); }
  .nav .btn { margin-top: 18px; padding: 14px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .sec { padding: 80px 0; }
  .hero { padding: 120px 0 80px; }
  .bento, .ideas, .process, .form, .ft .cols { grid-template-columns: 1fr; }
  .t-a, .t-b, .t-c, .t-d, .t-e, .t-f { grid-column: auto; }
  .tile, .idea { padding: 24px; }
  .float.f1 { left: 8px; bottom: -52px; }
  .hero-art { margin-bottom: 40px; }
  .float.f2 { right: 8px; }
  .code { font-size: 11.5px; }
  .code pre { padding: 18px 16px 22px; }
  .flow .node { padding: 8px; font-size: 10.5px; }
  .product, .contact-box { padding: 28px 20px; border-radius: 20px; }
  .orbit .sat { font-size: 10.5px; padding: 6px 8px; }
  .split-viz .parts { grid-template-columns: 1fr; }
  .story blockquote { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .code .ln { opacity: 1 !important; transform: none !important; }
}

/* Utilitários (evitam style inline, bloqueado pelo CSP) */
.mt-14 { margin-top: 14px; } .mt-16 { margin-top: 16px; } .mt-20 { margin-top: 20px; } .mb-22 { margin-bottom: 22px; }
.bars i:nth-child(1) { height: 45%; } .bars i:nth-child(2) { height: 62%; } .bars i:nth-child(3) { height: 38%; } .bars i:nth-child(4) { height: 74%; }
.bars i:nth-child(5) { height: 58%; } .bars i:nth-child(6) { height: 88%; } .bars i:nth-child(7) { height: 70%; } .bars i:nth-child(8) { height: 96%; }
.bento.b3 { grid-template-columns: repeat(3, 1fr); }
.bento.b3 .tile { min-height: 210px; }
.channels .btn { align-self: flex-start; color: #fff; margin-bottom: 8px; }
.channels .btn:hover { color: #fff; }
.orbit .sat:nth-of-type(1) { left: 50%; top: 4%; } .orbit .sat:nth-of-type(2) { left: 88%; top: 27%; } .orbit .sat:nth-of-type(3) { left: 86%; top: 73%; }
.orbit .sat:nth-of-type(4) { left: 50%; top: 96%; } .orbit .sat:nth-of-type(5) { left: 14%; top: 73%; } .orbit .sat:nth-of-type(6) { left: 12%; top: 27%; }
@media (max-width: 1020px) { .bento.b3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .bento.b3 { grid-template-columns: 1fr; } }
.nav { margin-left: auto; }
.cobrand { display: flex; width: fit-content; align-items: center; gap: 22px; padding: 18px 26px; margin-bottom: 26px; border: 1px solid var(--border-2); border-radius: 18px; background: var(--surface); }
.cobrand img { height: 36px; width: auto; }
.cobrand .x { font: 400 26px/1 var(--mono); color: var(--coral); }
@media (max-width: 640px) { .cobrand { gap: 14px; padding: 14px 18px; } .cobrand img { height: 26px; } .cobrand .x { font-size: 20px; } }
