/* ==========================================================================
   Iranilson Santos — Suporte em Computação · tema "circuito" (dark tech)
   ========================================================================== */

:root {
    --ink:        #e8edf4;
    --muted:      #9aa7b8;
    --paper:      #0b0f16;
    --card:       #111826;
    --card-2:     #0e1420;
    --amber:      #a78bfa;
    --amber-dark: #7c3aed;
    --amber-50:   #1b1030;
    --cyan:       #fbbf24;
    --line:       #1e2936;
    --rule:       #24303f;
    --font-head:  'Space Grotesk', system-ui, sans-serif;
    --font-body:  'Inter', system-ui, sans-serif;
    --font-ui:    'Inter', system-ui, sans-serif;
    --font-mono:  'JetBrains Mono', ui-monospace, monospace;
    --shadow:     0 14px 44px rgba(0,0,0,.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.7;
    font-size: 16.5px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.container { width: min(1140px, 92%); margin-inline: auto; }
.icon { width: 1.1em; height: 1.1em; flex: none; }
.icon-xl { width: 1.5em; height: 1.5em; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--amber); color: #220a18; padding: .6rem 1rem; z-index: 200; font-family: var(--font-ui); }
.skip-link:focus { left: 0; }

h1, h2, h3, .brand-name, blockquote.quote p { font-family: var(--font-head); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; }
h1, h2, h3, h4 { color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
    background: rgba(11,15,22,.82); backdrop-filter: blur(12px);
    position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.8rem; padding: .9rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; }
.brand-name { font-size: 1.32rem; letter-spacing: -.01em; }
.brand-name em { font-style: normal; color: var(--amber); }
.brand-tag { display: block; font-family: var(--font-mono); font-size: .68rem; color: var(--muted); letter-spacing: .05em; }

.header-rule { display: none; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 1.4rem; }
.main-nav ul { display: flex; gap: .2rem; list-style: none; }
.main-nav ul a {
    display: block; text-decoration: none; font-family: var(--font-ui);
    font-size: .92rem; font-weight: 600; color: var(--muted);
    padding: .5rem .9rem; border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
}
.main-nav ul a:hover { color: var(--ink); }
.main-nav ul a.active { color: var(--amber); border-bottom-color: var(--amber); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ink); padding: .5rem .6rem; cursor: pointer; border-radius: 4px; }

/* ---------- Botões ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .55rem;
    font-family: var(--font-ui); font-weight: 600; font-size: .92rem;
    padding: .85rem 1.7rem; border-radius: 6px;
    text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
    transition: background .2s, color .2s, transform .15s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #fff; }
.btn-accent { background: var(--amber); color: #220a18; }
.btn-accent:hover { background: var(--amber-dark); color: #fff; }
.btn-outline { border-color: var(--rule); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--amber); color: var(--amber); background: transparent; }
.btn-ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-ghost-light { border-color: rgba(255,255,255,.3); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-lg { padding: 1rem 2rem; font-size: .98rem; }
.btn-sm { padding: .55rem 1.1rem; font-size: .84rem; }
.btn-block { width: 100%; justify-content: center; }
.nav-cta { padding: .55rem 1.2rem; border-radius: 6px; }

/* ---------- Trilha de circuito (camada cinematográfica) ---------- */
.cine-trace {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    opacity: 1; transition: opacity .5s ease;
}
.cine-trace svg { display: block; }
main, .site-footer { position: relative; z-index: 1; }
.site-header { z-index: 100; }

/* ---------- Hero ---------- */
.hero { padding: 5.5rem 0 4rem; text-align: left; position: relative; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; }
.hero-kicker {
    font-family: var(--font-mono); font-size: .8rem; font-weight: 500;
    letter-spacing: .18em; text-transform: none; color: var(--amber);
    margin-bottom: 1.4rem;
}
.hero-kicker::before { content: '> '; color: var(--cyan); }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); margin-bottom: 1.4rem; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero-lead { font-size: 1.12rem; color: var(--muted); max-width: 34rem; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 2.2rem; margin-top: 3rem; }
.hero-facts li { text-align: left; }
.hero-facts strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); }
.hero-facts span { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); }

/* Terminal card */
.term-card {
    background: #0d1320; border: 1px solid var(--line); border-radius: 12px;
    box-shadow: var(--shadow), 0 0 0 1px rgba(56,189,248,.06);
    overflow: hidden; font-family: var(--font-mono); font-size: .82rem;
    transform: rotate(1.5deg);
}
.term-head {
    display: flex; align-items: center; gap: .45rem;
    padding: .7rem 1rem; border-bottom: 1px solid var(--line); background: #0f1724;
}
.term-head i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.term-head i:nth-child(1) { background: #a78bfa; }
.term-head i:nth-child(2) { background: #a78bfa; }
.term-head i:nth-child(3) { background: #34d399; }
.term-head span { margin-left: .6rem; color: var(--muted); font-size: .72rem; }
.term-body { padding: 1.1rem 1.2rem 1.3rem; color: #b7c4d6; }
.term-body .t-prompt { color: var(--cyan); }
.term-body .t-ok { color: var(--amber); }
.term-body .t-dim { color: #5b6b80; }
.term-body .t-line { display: block; margin: .34rem 0; }
.term-cursor { display: inline-block; width: .55em; height: 1.05em; background: var(--amber); vertical-align: -0.15em; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Hero centralizado (layout "barramento" — Renato) */
.hero-center { text-align: center; }
.hero-center .hero-lead { margin-inline: auto; max-width: 40rem; }
.hero-actions-center { justify-content: center; }
.hero-facts-center { justify-content: center; }
.hero-center h1 { max-width: 26ch; margin-inline: auto; }

/* Faixa de status do hero */
.status-strip {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    margin-top: 3rem; border: 1px solid var(--line); border-radius: 10px;
    background: var(--line); overflow: hidden; max-width: 780px; margin-inline: auto;
}
.status-item {
    background: var(--card); padding: .9rem 1rem;
    display: flex; align-items: center; gap: .6rem; justify-content: center;
    font-family: var(--font-ui); font-size: .8rem; color: var(--muted);
}
.status-val { font-family: var(--font-mono); font-size: .78rem; color: var(--ink); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-ok { background: #34d399; box-shadow: 0 0 8px rgba(52,211,153,.7); }
.dot-run { background: var(--amber); box-shadow: 0 0 8px rgba(167,139,250,.7); animation: pulse-dot 1.6s ease-in-out infinite; }
@keyframes pulse-dot { 50% { opacity: .35; } }

/* ---------- Abertura cinematográfica (vídeo IA tocado pela rolagem) ---------- */
.cine { position: relative; height: var(--altura, 400vh); }
.cine-palco {
    position: sticky; top: 0; height: 100vh; height: 100svh;
    overflow: hidden;
}
.cine-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cine .hero-veil {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
        radial-gradient(120% 90% at 50% 45%, transparent 52%, rgba(0,0,0,.5) 100%),
        linear-gradient(0deg, var(--paper) 0%, transparent 24%, transparent 82%, rgba(11,15,22,.5) 100%);
}
.momento {
    position: absolute; left: clamp(1.2rem, 5vw, 5rem); right: auto; bottom: 9vh;
    max-width: 660px; z-index: 2;
    opacity: 0; transform: translateY(24px); filter: blur(6px);
    transition: opacity .6s ease, transform .8s ease, filter .6s ease;
    pointer-events: none;
}
.momento.ativo { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.momento--direita { left: auto; right: clamp(1.2rem, 5vw, 5rem); }
.momento--centro {
    left: 50%; right: auto; transform: translate(-50%, 24px);
    text-align: center; width: min(680px, calc(100% - 2.4rem));
}
.momento--centro.ativo { transform: translate(-50%, 0); }
.momento .painel { background: rgba(13,18,28,.82); backdrop-filter: blur(8px); }
.momento h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.momento .hero-lead { color: #c8d2e0; }
.destaque {
    font-family: var(--font-head); font-size: clamp(1.45rem, 2.6vw, 2.3rem);
    line-height: 1.25; color: var(--ink); margin: 0 0 .9rem;
}
.destaque:last-child { margin: 0; }
.hero-facts--stack { flex-direction: column; gap: .8rem; margin-top: 1.4rem; }
.hero-facts--stack li { display: flex; align-items: baseline; gap: .8rem; }
.hero-facts--stack strong { min-width: 9.5rem; font-size: .95rem; }
.cine-dica {
    position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 2;
    display: grid; justify-items: center; gap: 8px;
    font-family: var(--font-mono); font-size: 10px; letter-spacing: .32em;
    text-transform: uppercase; color: var(--muted); opacity: .75;
    transition: opacity .5s;
}
.cine-dica span {
    width: 1px; height: 36px;
    background: linear-gradient(var(--amber), transparent);
    animation: dica 2s ease-in-out infinite;
}
@keyframes dica {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}
.cine.andou .cine-dica { opacity: 0; }
@media (max-width: 760px) {
    .cine { height: 300vh; }
    .momento, .momento--direita {
        left: 1.2rem; right: 1.2rem; bottom: 8vh; max-width: none;
    }
    .momento--centro { left: 50%; right: auto; width: calc(100% - 2.4rem); }
    .cine .hero-veil {
        background:
            radial-gradient(120% 90% at 50% 45%, transparent 48%, rgba(0,0,0,.55) 100%),
            linear-gradient(0deg, var(--paper) 0%, transparent 20%, transparent 85%, rgba(11,15,22,.55) 100%);
    }
}
@media (prefers-reduced-motion: reduce) {
    .cine { height: 100svh; }
    .momento:not(:first-of-type), .cine-dica { display: none; }
    .momento:first-of-type { opacity: 1; transform: none; filter: none; pointer-events: auto; }
}

/* ---------- Seções ---------- */
.section { padding: 4.4rem 0; position: relative; }
.section-alt { background: transparent; }
.section-eyebrow {
    font-family: var(--font-mono); font-size: .78rem; font-weight: 500;
    letter-spacing: .18em; text-transform: uppercase; color: var(--amber);
    margin-bottom: .6rem;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head h2, .section-head-left h2 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); }
.section-head p, .section-head-left p { color: var(--muted); margin-top: .7rem; }
.section-head-left { max-width: 640px; margin-bottom: 2.4rem; }
.section-cta { text-align: center; margin-top: 2.4rem; }

/* Painel de conteúdo legível sobre a trilha */
.painel {
    background: rgba(17,24,38,.88); border: 1px solid var(--line);
    border-radius: 10px; padding: 2.4rem; backdrop-filter: blur(6px);
}

/* ---------- Serviços (linhas) ---------- */
.svc-rows { border-top: 1px solid var(--rule); }
.svc-row {
    display: grid; grid-template-columns: 64px 44px 1fr auto; align-items: center; gap: 1.2rem;
    padding: 1.3rem .6rem; border-bottom: 1px solid var(--line);
    text-decoration: none; transition: background .2s, padding-left .2s;
    background: rgba(11,15,22,.6);
}
.svc-row:hover { background: var(--card); padding-left: 1.1rem; }
.svc-num { font-family: var(--font-mono); font-size: 1.15rem; color: var(--rule); font-variant-numeric: tabular-nums; }
.svc-icon { color: var(--amber); font-size: 1.2rem; }
.svc-name { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--ink); }
.svc-desc { display: block; font-family: var(--font-ui); font-size: .85rem; color: var(--muted); margin-top: .15rem; }
.svc-arrow { color: var(--amber); opacity: 0; transition: opacity .2s, transform .2s; }
.svc-row:hover .svc-arrow { opacity: 1; transform: translateX(4px); }

/* ---------- Cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
    background: rgba(17,24,38,.92); border: 1px solid var(--line); border-radius: 10px;
    padding: 1.9rem; box-shadow: var(--shadow);
}
.card-icon {
    width: 50px; height: 50px; border-radius: 10px;
    border: 1.5px solid var(--amber); color: var(--amber);
    display: grid; place-items: center; margin-bottom: 1rem;
    background: rgba(167,139,250,.08);
}
.card h3, .card-title { font-size: 1.2rem; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .94rem; }
.card-link {
    display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem;
    font-family: var(--font-ui); color: var(--amber); font-weight: 600; font-size: .86rem; text-decoration: none;
}
.card-link:hover { text-decoration: underline; }

/* ---------- Quote band ---------- */
.quote-band { background: transparent; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quote { max-width: 760px; margin: 0 auto; text-align: center; }
.quote p { font-size: clamp(1.3rem, 3vw, 1.8rem); font-style: normal; color: var(--ink); }
.quote p::before { content: '“'; color: var(--amber); font-size: 1.6em; line-height: 0; vertical-align: -.35em; margin-right: .1em; }
.quote footer { font-family: var(--font-mono); font-size: .78rem; color: var(--muted); margin-top: 1.4rem; letter-spacing: .04em; }
.quote-link { text-align: center; margin-top: 2rem; }

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.step-card {
    border: 1px solid var(--line); border-radius: 10px;
    background: rgba(17,24,38,.92); padding: 1.6rem;
}
.step-num {
    display: block; font-family: var(--font-mono); font-size: .95rem;
    color: var(--cyan); margin-bottom: .8rem;
}
.step-num::before { content: '// '; color: var(--rule); }
.step-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.step-card p { font-family: var(--font-ui); font-size: .86rem; color: var(--muted); }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split-reverse .split-media { order: -1; }
.split-media img { border-radius: 10px; box-shadow: var(--shadow); }
.split-copy h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 1rem; }
.split-copy p { color: var(--muted); margin-bottom: .9rem; }
.steps { list-style: none; display: grid; gap: 1.1rem; margin: 1.4rem 0 1.8rem; }
.steps li { display: flex; gap: 1rem; }
.steps .step-num {
    width: 40px; height: 40px; border-radius: 10px; flex: none; margin: 0;
    border: 1.5px solid var(--amber); color: var(--amber); background: rgba(167,139,250,.08);
    display: grid; place-items: center; font-family: var(--font-mono); font-size: .85rem;
}
.steps .step-num::before { content: none; }
.steps strong { color: var(--ink); }
.steps p { color: var(--muted); font-size: .9rem; }

/* ---------- Page hero ---------- */
.page-hero { background: var(--card-2); border-bottom: 1px solid var(--line); color: var(--paper); padding: 3.4rem 0; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); color: var(--ink); }
.page-hero p { color: var(--muted); max-width: 60ch; margin-top: .7rem; }
.breadcrumb { font-family: var(--font-mono); font-size: .78rem; color: var(--muted); margin-bottom: .9rem; }
.breadcrumb a { color: var(--amber); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Artigo ---------- */
.article-layout { display: grid; grid-template-columns: 1.6fr .9fr; gap: 2.8rem; align-items: start; }
.article-main h2 { font-size: 1.6rem; margin: 2.2rem 0 .8rem; }
.article-main h2:first-child { margin-top: 0; }
.article-main p, .article-main li { color: var(--muted); }
.article-main ul { padding-left: 1.2rem; display: grid; gap: .4rem; margin-bottom: 1rem; }
.article-aside { display: grid; gap: 1.2rem; position: sticky; top: 120px; }
.aside-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 1.5rem; }
.aside-card h3 { font-size: 1.05rem; margin-bottom: .9rem; }
.aside-muted { background: var(--amber-50); border-color: rgba(167,139,250,.3); }
.aside-list { list-style: none; display: grid; gap: .7rem; }
.aside-list a { color: var(--muted); text-decoration: none; display: flex; gap: .5rem; align-items: center; font-family: var(--font-ui); font-size: .9rem; }
.aside-list a:hover { color: var(--amber); }
.check-list, .doc-list { list-style: none; display: grid; gap: .6rem; }
.check-list li, .doc-list li { display: flex; gap: .6rem; color: var(--muted); font-size: .95rem; }
.check-list .icon, .doc-list .icon { color: var(--amber); margin-top: .25em; }
.notice-box {
    border-left: 3px solid var(--amber); background: var(--amber-50); border-radius: 0 6px 6px 0;
    padding: 1rem 1.2rem; color: var(--muted); font-size: .93rem; margin: 1.4rem 0;
}

/* ---------- Contato ---------- */
.contact-channels { display: grid; gap: .9rem; margin-top: 1.6rem; }
.channel-card {
    display: flex; gap: 1rem; align-items: center;
    background: var(--card); border: 1px solid var(--line); border-radius: 10px;
    padding: 1rem 1.2rem; text-decoration: none; transition: border-color .2s, box-shadow .2s;
}
.channel-card:hover { border-color: var(--amber); box-shadow: var(--shadow); }
.channel-card .card-icon { margin: 0; width: 44px; height: 44px; }
.channel-card strong { display: block; color: var(--ink); font-size: .95rem; font-family: var(--font-ui); }
.channel-card span { color: var(--muted); font-size: .87rem; font-family: var(--font-ui); }
.contact-form-wrap { max-width: 720px; }
.contact-form { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 2rem; box-shadow: var(--shadow); }
.form-row { margin-bottom: 1.2rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group label { display: block; font-family: var(--font-ui); font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.form-group .req { color: var(--amber); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; background: var(--card-2); border: 1px solid var(--line); border-radius: 6px;
    color: var(--ink); padding: .75rem 1rem; font-family: var(--font-ui); font-size: .95rem;
    transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(167,139,250,.14);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; }
.consent-check { display: flex; gap: .7rem; font-family: var(--font-ui); font-size: .86rem; color: var(--muted); cursor: pointer; }
.consent-check input { margin-top: .25em; accent-color: var(--amber); }
.consent-check a { color: var(--amber); }
.form-note { font-family: var(--font-ui); font-size: .8rem; color: var(--muted); margin-top: .9rem; text-align: center; }
.alert { border-radius: 6px; padding: 1rem 1.2rem; margin-bottom: 1.4rem; font-family: var(--font-ui); font-size: .93rem; }
.alert-success { background: #052e22; border: 1px solid #0e8a68; color: #5eead4; }
.alert-error { background: #3a0e13; border: 1px solid #b3383f; color: #fda4af; }

/* ---------- Legal ---------- */
.legal-content { max-width: 780px; }
.legal-content h2 { font-size: 1.5rem; margin: 2.2rem 0 .7rem; }
.legal-content h3 { font-size: 1.2rem; margin: 1.4rem 0 .5rem; }
.legal-content p, .legal-content li { color: var(--muted); font-size: .97rem; }
.legal-content ul { padding-left: 1.3rem; margin-bottom: 1rem; display: grid; gap: .3rem; }
.legal-content a { color: var(--amber); }
.legal-table, .info-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-family: var(--font-ui); font-size: .9rem; }
.legal-table th, .legal-table td, .info-table th, .info-table td {
    border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; color: var(--muted);
}
.legal-table th, .info-table th { color: var(--ink); background: var(--card); }
.info-table div { display: contents; }
.legal-note { font-family: var(--font-ui); font-size: .84rem; color: var(--muted); margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1rem; }

/* ---------- CTA final ---------- */
.cta-final {
    background: var(--card-2); border-top: 1px solid var(--line); color: var(--paper);
    padding: 4.5rem 0; text-align: center;
}
.cta-kicker {
    font-family: var(--font-mono); font-size: .78rem; font-weight: 500;
    letter-spacing: .18em; text-transform: uppercase; color: var(--amber); margin-bottom: 1rem;
}
.cta-inner h2 { font-size: clamp(2rem, 5vw, 3rem); color: var(--ink); }
.cta-inner p { color: var(--muted); margin: .9rem auto 2rem; max-width: 52ch; }
.cta-actions { display: flex; justify-content: center; gap: .9rem; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #080b11; border-top: 1px solid var(--line); color: #8b98ab; padding-top: 3rem; }
.footer-top {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem;
    border-bottom: 1px solid var(--line); padding-bottom: 1.8rem; margin-bottom: 2.4rem;
}
.footer-masthead { display: flex; align-items: center; gap: 1rem; }
.footer-masthead-name { font-family: var(--font-head); font-size: 1.5rem; color: var(--ink); }
.footer-masthead-tag { font-family: var(--font-mono); font-size: .76rem; color: #8b98ab; }
.footer-links { display: flex; gap: 1.4rem; }
.footer-links a { font-family: var(--font-ui); font-size: .88rem; color: #8b98ab; text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 2.4rem; padding-bottom: 2.4rem; }
.footer-title {
    font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase;
    letter-spacing: .18em; color: var(--amber); margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: grid; gap: .5rem; }
.footer-col ul a { color: #8b98ab; text-decoration: none; font-family: var(--font-ui); font-size: .89rem; }
.footer-col ul a:hover { color: var(--ink); }
.footer-contact li { display: flex; gap: .6rem; font-family: var(--font-ui); font-size: .88rem; }
.footer-contact .icon { color: var(--amber); margin-top: .25em; }
.footer-contact a { color: #8b98ab; text-decoration: none; }
.footer-contact a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line); padding: 1.3rem 0; text-align: center; }
.footer-bottom p { font-family: var(--font-mono); font-size: .76rem; }

/* ---------- WhatsApp / cookies ---------- */
.whatsapp-float {
    position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90;
    width: 56px; height: 56px; border-radius: 50%;
    background: #22c55e; color: #fff; display: grid; place-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.45); transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float .icon { width: 27px; height: 27px; }
.cookie-banner {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    background: var(--card); border-top: 1px solid var(--line);
    padding: 1rem 0; display: none; box-shadow: 0 -10px 30px rgba(0,0,0,.4);
}
.cookie-banner.show { display: block; }
.cookie-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; justify-content: space-between; }
.cookie-text { color: var(--muted); font-family: var(--font-ui); font-size: .86rem; max-width: 640px; }
.cookie-text a { color: var(--amber); }
.cookie-actions { display: flex; gap: .7rem; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
    .split, .article-layout, .hero-inner { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .cards-3 { grid-template-columns: 1fr; }
    .article-aside { position: static; }
    .term-card { transform: none; }
}
@media (max-width: 640px) {
    .status-strip { grid-template-columns: 1fr 1fr; }
    .header-inner { padding: .8rem 0 .7rem; }
    .main-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--paper); border-bottom: 1px solid var(--line);
        flex-direction: column; padding: 1.1rem; gap: .8rem; align-items: stretch;
    }
    .main-nav.open { display: flex; }
    .main-nav ul { flex-direction: column; gap: .2rem; }
    .main-nav ul a { display: block; padding: .6rem .4rem; }
    .nav-toggle { display: block; margin-left: auto; }
    .svc-row { grid-template-columns: 40px 1fr auto; }
    .svc-icon { display: none; }
    .form-row-2, .steps-grid, .footer-cols { grid-template-columns: 1fr; }
    .hero-facts { gap: 1.4rem; }
    .quote p { font-size: 1.15rem; }
    .hero { padding: 3.4rem 0 2.8rem; }
}
/* A trilha de circuito fica oculta em telas pequenas — o conteúdo vem primeiro */
@media (max-width: 767px) {
    .cine-trace { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .term-cursor { animation: none; }
}

/* ---------- Estrutura "nav flutuante" transparente (Iranilson) ---------- */
@media (min-width: 1024px) {
    .site-header {
        position: fixed; top: 0; left: 0; right: 0;
        background: linear-gradient(180deg, rgba(11,15,22,.72) 0%, rgba(11,15,22,0) 100%);
        border-bottom: none; backdrop-filter: none;
    }
    .header-inner { padding: 1.1rem 0 .9rem; }
    .brand-name { font-size: 1.2rem; }
    .main-nav ul a { font-size: .95rem; padding: .5rem 1rem; }
    .main-nav ul a.active { border-bottom-width: 3px; }
    .nav-cta { background: transparent; border: 1px solid var(--amber); }
    .nav-cta:hover { background: var(--amber); color: #0b0f16; }
}
@media (min-width: 1024px) {
    main > section:first-child:not(.cine) { padding-top: 5.5rem; }
}

/* ---------- Hero estático (Iranilson, versão sem vídeo) ---------- */
.hero-static {
    position: relative; min-height: 92svh;
    display: flex; align-items: center; overflow: hidden;
    background:
        radial-gradient(60% 80% at 82% 12%, rgba(167,139,250,.17), transparent 62%),
        radial-gradient(55% 70% at 12% 88%, rgba(251,191,36,.15), transparent 62%),
        linear-gradient(180deg, #0b0f16 0%, #0e1420 60%, #0b0f16 100%);
}
.hero-static::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(251,191,36,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(251,191,36,.055) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(72% 72% at 50% 42%, #000 30%, transparent 76%);
}
.hero-static-inner { position: relative; padding: 6.5rem 0 4rem; }
.momento--static {
    position: relative; left: auto; right: auto; bottom: auto;
    opacity: 1; transform: none; filter: none; pointer-events: auto;
    max-width: 680px;
}
.hero-static-facts { margin-top: 2.6rem; }
@media (max-width: 760px) {
    .hero-static { min-height: auto; }
    .momento--static { width: 100%; }
}


/* ---------- Estrutura "capsula" flutuante (Renato Fagundes) ---------- */
@media (min-width: 1024px) {
    .site-header {
        position: fixed; top: 1.1rem; left: 50%; transform: translateX(-50%);
        width: auto; max-width: 1120px; right: auto;
        border: 1px solid var(--line); border-bottom: 1px solid var(--line);
        border-radius: 100px; padding: 0 .4rem;
        background: rgba(11,15,22,.86);
    }
    .header-inner { gap: 1.2rem; padding: .55rem .9rem; }
    .brand-mark { width: 36px; height: 36px; }
    .brand-name { font-size: 1.12rem; }
    .brand-tag { display: none; }
    .main-nav ul a { padding: .45rem .8rem; border-bottom: none; border-radius: 100px; }
    .main-nav ul a.active { background: var(--amber-50); }
    main { padding-top: 0; }
}
@media (min-width: 1024px) {
    .brand-name { white-space: nowrap; }
    .main-nav ul a { white-space: nowrap; font-size: .86rem; padding: .4rem .7rem; }
    .header-inner { gap: 1rem; }
    .main-nav { gap: 1rem; }
    .nav-cta { padding: .5rem 1rem; font-size: .86rem; }
}
@media (min-width: 1024px) and (max-width: 1180px) {
    .brand-name { font-size: 1rem; }
    .header-inner { gap: .8rem; }
    .main-nav ul a { padding: .4rem .55rem; }
}
@media (min-width: 1024px) {
    .header-inner { width: auto; }
    .main-nav { margin-left: 1.6rem; }
}

/* legibilidade do CTA do menu */
.nav-cta{color:var(--amber)!important}
.nav-cta:hover{color:#0b0f16!important}
