/* =====================================================================
   GWBM Informática — design system
   Tokens → base → componentes → páginas
   ===================================================================== */

:root {
    --font: "Inter var", Inter, "Segoe UI Variable Display", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;

    --bg: #f3f6fb;
    --bg-soft: #e9eff7;
    --card: #ffffff;
    --card-2: #f8fafd;
    --ink: #08192a;
    --ink-2: #3a4f64;
    --ink-3: #62778c;
    --line: #d9e2ed;
    --line-2: #e8eef5;

    --brand: #08456a;
    --brand-2: #0d6a9f;
    --blue: #2f7bf5;
    --blue-2: #5b9bff;
    --yellow: #fabb2d;
    --red: #ea4335;
    --green: #34a853;
    --danger: #d93a2f;
    --ok: #1f9d55;

    --radius: 18px;
    --radius-sm: 12px;
    --shadow-1: 0 1px 2px rgba(8, 25, 42, .06), 0 8px 24px -12px rgba(8, 25, 42, .16);
    --shadow-2: 0 2px 4px rgba(8, 25, 42, .06), 0 24px 48px -20px rgba(8, 25, 42, .28);
    --ring: 0 0 0 3px color-mix(in srgb, var(--blue) 45%, transparent);

    --header-h: 76px;
    --maxw: 1200px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

[data-theme="dark"] {
    --bg: #050d15;
    --bg-soft: #08151f;
    --card: #0b1b2a;
    --card-2: #0e2133;
    --ink: #eaf2fa;
    --ink-2: #aac0d3;
    --ink-3: #7b93a9;
    --line: #17304a;
    --line-2: #12263a;
    --brand: #6fb6e6;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -12px rgba(0, 0, 0, .6);
    --shadow-2: 0 2px 4px rgba(0, 0, 0, .4), 0 24px 48px -20px rgba(0, 0, 0, .7);
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, address, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }
::selection { background: color-mix(in srgb, var(--blue) 35%, transparent); }
[hidden] { display: none !important; }
main { display: block; outline: none; min-height: 60vh; }

.ico { flex: none; }
.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--ink); color: var(--bg); padding: .7rem 1rem; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 1rem; }
.hide-sm { display: inline-flex; }
@media (max-width: 760px) { .hide-sm { display: none !important; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { letter-spacing: -.025em; line-height: 1.1; font-weight: 750; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.4rem + 5vw, 4.9rem); letter-spacing: -.04em; line-height: 1.02; font-weight: 800; }
h2 { font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3.1rem); }
h3 { font-size: 1.35rem; line-height: 1.25; }
p { text-wrap: pretty; }
.lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.32rem); color: var(--ink-2); line-height: 1.6; max-width: 62ch; }
.eyebrow {
    display: inline-flex; align-items: center; gap: .55rem;
    font-size: .8rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase;
    color: var(--blue); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: currentColor; border-radius: 2px; }
.grad {
    background: linear-gradient(100deg, #7db4ff 0%, #4ad8c7 45%, #fabb2d 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mono { font-family: var(--mono); }

/* ------------------------------------------------------------- buttons */
.btn {
    --b-bg: transparent; --b-ink: var(--ink); --b-line: transparent;
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    min-height: 2.9rem; padding: .7rem 1.35rem;
    border-radius: 999px; border: 1px solid var(--b-line);
    background: var(--b-bg); color: var(--b-ink);
    font-weight: 600; font-size: .97rem; line-height: 1.1; white-space: nowrap;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, color .2s;
    text-decoration: none; position: relative;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; pointer-events: none; }
.btn-primary {
    --b-bg: linear-gradient(135deg, #2f7bf5 0%, #0d6a9f 100%); --b-ink: #fff;
    background: var(--b-bg);
    box-shadow: 0 10px 28px -10px rgba(47, 123, 245, .75), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary:hover { box-shadow: 0 16px 36px -10px rgba(47, 123, 245, .9), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-ghost { --b-line: var(--line); --b-ink: var(--ink); }
.btn-ghost:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.btn-soft { --b-bg: color-mix(in srgb, var(--ink) 7%, transparent); }
.btn-soft:hover { --b-bg: color-mix(in srgb, var(--ink) 12%, transparent); }
.btn-danger { --b-line: color-mix(in srgb, var(--danger) 50%, transparent); --b-ink: var(--danger); }
.btn-danger:hover { background: color-mix(in srgb, var(--danger) 10%, transparent); }
.btn-lg { min-height: 3.4rem; padding: .9rem 1.8rem; font-size: 1.04rem; }
.btn-sm { min-height: 2.35rem; padding: .45rem 1rem; font-size: .88rem; }
.btn-block { width: 100%; }
.on-dark .btn-ghost, .hero .btn-ghost, .page-hero .btn-ghost { --b-line: rgba(255, 255, 255, .28); --b-ink: #fff; }
.on-dark .btn-ghost:hover, .hero .btn-ghost:hover, .page-hero .btn-ghost:hover { background: rgba(255, 255, 255, .1); }

.icon-btn {
    display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
    border: 0; background: transparent; color: var(--h-ink, var(--ink)); transition: background .2s;
}
.icon-btn:hover { background: color-mix(in srgb, currentColor 12%, transparent); }

.tag {
    display: inline-flex; align-items: center; padding: .18rem .6rem; border-radius: 999px;
    font-size: .72rem; font-weight: 650; letter-spacing: .03em;
    color: var(--ink-2); background: color-mix(in srgb, var(--ink) 7%, transparent);
}
.tag-novo { color: #fff; background: linear-gradient(135deg, #2f7bf5, #14b8a6); }
.tag-web { color: var(--blue); background: color-mix(in srgb, var(--blue) 14%, transparent); }
.tag-legado { color: #8a6a00; background: color-mix(in srgb, var(--yellow) 28%, transparent); }
[data-theme="dark"] .tag-legado { color: var(--yellow); }
.tag-promo { color: #fff; background: var(--red); }

/* ------------------------------------------------------------- header */
.site-header {
    --h-ink: #fff;
    position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
    color: var(--h-ink);
    transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-scrolled, .site-header.is-open {
    --h-ink: var(--ink);
    background: color-mix(in srgb, var(--bg) 84%, transparent);
    backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
    box-shadow: 0 1px 0 var(--line);
}
.bar { height: var(--header-h); display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: inherit; }
.brand-mark { width: 2.1rem; height: 2.1rem; transition: transform .5s var(--ease); }
.brand:hover .brand-mark { transform: rotate(90deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-size: 1.45rem; font-weight: 850; letter-spacing: -.04em; }
.brand-text small { font-size: .66rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; opacity: .7; margin-top: .22rem; }

.nav { display: flex; align-items: center; gap: .25rem; margin-inline: auto; }
.nav > a, .nav-btn {
    display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .95rem; border-radius: 999px; border: 0; background: none;
    font-weight: 550; font-size: .97rem; color: inherit; opacity: .86; transition: background .2s, opacity .2s;
}
.nav > a:hover, .nav-btn:hover, .nav-item:focus-within > .nav-btn { background: color-mix(in srgb, currentColor 11%, transparent); opacity: 1; }
.nav [aria-current="page"] { opacity: 1; background: color-mix(in srgb, currentColor 14%, transparent); }
.chev { transition: transform .25s var(--ease); }
[aria-expanded="true"] > .chev { transform: rotate(180deg); }

.nav-item { position: relative; }
.mega {
    position: absolute; top: calc(100% + 14px); left: 50%; translate: -50% 8px; width: min(720px, 92vw);
    background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 22px; padding: .9rem;
    box-shadow: var(--shadow-2); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .2s, translate .25s var(--ease), visibility .2s;
}
.mega::before { content: ""; position: absolute; inset: -16px 0 auto 0; height: 16px; }
.nav-item.is-open > .mega, .nav-item:hover > .mega, .nav-item:focus-within > .mega { opacity: 1; visibility: visible; pointer-events: auto; translate: -50% 0; }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .25rem; }
.mega-link {
    --acc: var(--blue);
    display: flex; align-items: center; gap: .85rem; padding: .65rem .8rem; border-radius: 14px;
    border: 0; background: none; text-align: left; width: 100%; color: inherit; transition: background .2s;
}
.mega-link:hover { background: color-mix(in srgb, var(--acc) 10%, transparent); }
.mega-link b { display: block; font-size: .98rem; line-height: 1.2; }
.mega-link small { display: block; font-size: .8rem; color: var(--ink-3); line-height: 1.3; margin-top: .1rem; }
.mega-ico {
    display: inline-grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 11px; flex: none;
    color: var(--acc); background: color-mix(in srgb, var(--acc) 15%, transparent);
}
.mega-all { display: flex; align-items: center; justify-content: space-between; margin-top: .5rem; padding: .8rem 1rem; border-radius: 14px; background: var(--bg-soft); font-weight: 600; font-size: .94rem; }
.mega-all:hover { background: color-mix(in srgb, var(--blue) 12%, var(--bg-soft)); }
.acct .mega { left: auto; right: 0; translate: 0 8px; width: 290px; }
.acct.is-open > .mega, .acct:hover > .mega, .acct:focus-within > .mega { translate: 0 0; }

.actions { display: flex; align-items: center; gap: .5rem; }
.when-dark { display: none; }
[data-theme="dark"] .when-light { display: none; }
[data-theme="dark"] .when-dark { display: inline-flex; }
.menu-toggle { display: none; }
.menu-toggle .when-open { display: none; }
.menu-toggle[aria-expanded="true"] .when-open { display: inline-flex; }
.menu-toggle[aria-expanded="true"] .when-closed { display: none; }

.sheet { position: absolute; inset: var(--header-h) 0 auto 0; max-height: calc(100dvh - var(--header-h)); overflow: auto; background: var(--bg); color: var(--ink); border-bottom: 1px solid var(--line); }
.sheet-in { display: flex; flex-direction: column; gap: .15rem; padding-block: 1rem 1.5rem; }
.sheet-in > a { padding: .85rem .5rem; font-size: 1.15rem; font-weight: 600; border-bottom: 1px solid var(--line-2); }
.sheet-sub { display: grid; grid-template-columns: repeat(2, 1fr); gap: .4rem; padding: .7rem 0 1rem; }
.sheet-sub a { --acc: var(--blue); display: flex; align-items: center; gap: .6rem; padding: .55rem; border-radius: 12px; font-weight: 600; font-size: .95rem; background: var(--card); border: 1px solid var(--line); }
.sheet-cta { display: grid; gap: .6rem; margin-top: 1rem; }

@media (max-width: 980px) {
    .nav { display: none; }
    .menu-toggle { display: inline-grid; }
    .actions { margin-left: auto; }
}

/* --------------------------------------------------------------- layout */
.section { padding-block: clamp(4rem, 8vw, 7.5rem); position: relative; }
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head h2 + p { margin-top: 1rem; }
.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }

/* reveal on scroll (só ativo com JS) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
/* topo das páginas: entrada por animação CSS (não depende do JS para aparecer) */
.js .hero .reveal, .js .page-hero .reveal { opacity: 1; transform: none; transition: none; animation: rise .9s var(--ease) backwards; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

/* ----------------------------------------------------------------- hero */
.dark-zone {
    position: relative; isolation: isolate; color: #eaf2fa; background: #040f19; overflow: clip;
    --ink: #eaf2fa; --ink-2: #b6c9da; --ink-3: #8aa2b6; --line: rgba(255, 255, 255, .12); --card: rgba(255, 255, 255, .05);
}
.dark-zone::before {
    content: ""; position: absolute; inset: 0; z-index: -2;
    background:
        radial-gradient(60% 55% at 85% 8%, rgba(47, 123, 245, .38), transparent 62%),
        radial-gradient(50% 50% at 5% 40%, rgba(13, 106, 159, .5), transparent 65%),
        radial-gradient(40% 40% at 60% 105%, rgba(250, 187, 45, .16), transparent 70%),
        linear-gradient(180deg, #05121d 0%, #04101a 100%);
}
.dark-zone::after {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
    background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(70% 70% at 60% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(70% 70% at 60% 30%, #000 20%, transparent 75%);
}
.hero { padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5.5rem)); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.pill {
    display: inline-flex; align-items: center; gap: .6rem; padding: .4rem .9rem .4rem .5rem; margin-bottom: 1.6rem;
    border-radius: 999px; font-size: .86rem; font-weight: 550; color: #cfe0ef;
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); backdrop-filter: blur(8px);
}
.pill i { width: 1.45rem; height: 1.45rem; border-radius: 50%; display: grid; place-items: center; background: rgba(52, 168, 83, .2); }
.pill i::after { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: #34d27a; box-shadow: 0 0 0 0 rgba(52, 210, 122, .6); animation: ping 2.2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(52, 210, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 210, 122, 0); } }
.hero h1 { color: #fff; }
.hero .lead { margin-top: 1.5rem; color: #b6c9da; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: 2.4rem; color: #9db5c8; font-size: .92rem; }
.hero-proof span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-proof .ico { color: #5ee0a0; }

/* janela de produto animada */
.stage { position: relative; perspective: 1400px; }
.mock {
    position: relative; border-radius: 22px; padding: 0; overflow: hidden; color: #e6eef6;
    background: linear-gradient(160deg, rgba(20, 44, 66, .92), rgba(8, 22, 35, .94));
    border: 1px solid rgba(255, 255, 255, .13);
    box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .12);
    transform: rotateY(-7deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .6s var(--ease);
    will-change: transform;
}
.mock-bar { display: flex; align-items: center; gap: .45rem; padding: .8rem 1rem; border-bottom: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); }
.mock-bar i { width: .7rem; height: .7rem; border-radius: 50%; background: #ea4335; }
.mock-bar i:nth-child(2) { background: #fabb2d; }
.mock-bar i:nth-child(3) { background: #34a853; }
.mock-bar span { margin-left: .8rem; font-size: .78rem; color: #8fa8bd; font-family: var(--mono); }
.mock-body { display: grid; grid-template-columns: 3.6rem 1fr; min-height: 25.5rem; }
.mock-rail { display: flex; flex-direction: column; gap: .7rem; align-items: center; padding: 1rem 0; border-right: 1px solid rgba(255, 255, 255, .07); }
.mock-rail span { width: 2rem; height: 2rem; border-radius: 10px; background: rgba(255, 255, 255, .06); display: grid; place-items: center; color: #7f9bb2; transition: .4s; }
.mock-rail span.on { background: var(--mk, #2f7bf5); color: #fff; box-shadow: 0 8px 20px -6px var(--mk, #2f7bf5); }
.mock-main { position: relative; padding: 1.1rem 1.2rem 1.2rem; }
.mk-scene { position: absolute; inset: 1.1rem 1.2rem 1.2rem; opacity: 0; transform: translateY(14px); transition: opacity .25s, transform .25s; pointer-events: none; }
.mk-scene.on { opacity: 1; transform: none; transition: opacity .6s .22s, transform .7s .22s var(--ease); }
.mk-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; }
.mk-head h4 { margin: 0; font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }
.mk-head small { font-size: .72rem; padding: .2rem .6rem; border-radius: 999px; background: color-mix(in srgb, var(--mk) 22%, transparent); color: #fff; font-weight: 650; }
.mk-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.mk-kpi { padding: .7rem .8rem; border-radius: 13px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); }
.mk-kpi small { display: block; font-size: .68rem; color: #8fa8bd; line-height: 1.2; }
.mk-kpi b { display: block; font-size: 1.35rem; letter-spacing: -.03em; margin-top: .2rem; font-variant-numeric: tabular-nums; }
.mk-chart { margin-top: .7rem; padding: .7rem .8rem .4rem; border-radius: 13px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); }
.mk-chart svg { width: 100%; height: 5.4rem; overflow: visible; }
.mk-chart .area { fill: url(#mkg); opacity: .5; }
.mk-chart .line { fill: none; stroke: var(--mk); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 600; }
.mk-scene.on .line { animation: draw 1.6s .15s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.mk-rows { margin-top: .6rem; display: grid; gap: .4rem; }
.mk-row { display: flex; justify-content: space-between; align-items: center; gap: .6rem; font-size: .78rem; padding: .5rem .7rem; border-radius: 10px; background: rgba(255, 255, 255, .035); }
.mk-row span { color: #c9d9e7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-row em { font-style: normal; font-size: .68rem; font-weight: 650; padding: .15rem .55rem; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #dbe7f1; white-space: nowrap; }
.mk-row em.warn { background: rgba(250, 187, 45, .18); color: #fabb2d; }
.mk-row em.ok { background: rgba(52, 168, 83, .2); color: #5ee0a0; }
.mk-dots { display: flex; gap: .4rem; justify-content: center; margin-top: 1rem; }
.mk-dots button { width: 1.6rem; height: .3rem; padding: 0; border: 0; border-radius: 3px; background: rgba(255, 255, 255, .22); transition: .4s; }
.mk-dots button.on { background: #fff; width: 2.6rem; }
.chip-float {
    position: absolute; display: flex; align-items: center; gap: .65rem; padding: .65rem .95rem .65rem .65rem; border-radius: 16px;
    font-size: .8rem; line-height: 1.25; color: #e6eef6; font-weight: 600;
    background: rgba(12, 30, 46, .82); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(14px);
    box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .7); animation: floaty 6s ease-in-out infinite;
}
.chip-float i { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 10px; background: rgba(52, 168, 83, .2); color: #5ee0a0; }
.chip-float small { display: block; font-weight: 450; color: #8fa8bd; font-size: .72rem; }
.chip-a { left: -1.6rem; bottom: 4.5rem; }
.chip-b { right: -1rem; top: 4.2rem; animation-delay: -3s; }
.chip-b i { background: rgba(47, 123, 245, .22); color: #8cb9ff; }
@keyframes floaty { 50% { transform: translateY(-12px); } }
.mock-note { text-align: center; margin-top: 1rem; font-size: .72rem; color: #6f879b; }

@media (max-width: 1000px) {
    .hero-grid { grid-template-columns: 1fr; }
    .mock { transform: none; }
    .chip-a { left: .5rem; } .chip-b { right: .5rem; }
}
@media (max-width: 520px) {
    .mock-body { grid-template-columns: 2.8rem 1fr; min-height: 24.5rem; }
    .mk-kpi b { font-size: 1.1rem; }
    .chip-float { display: none; }
}

/* faixa de segmentos */
.marquee { border-block: 1px solid var(--line); background: var(--card-2); overflow: hidden; padding-block: 1.1rem; --mw: 40s; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: slide var(--mw) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 2.8rem; padding-right: 2.8rem; }
.marquee-group span { display: inline-flex; align-items: center; gap: 2.8rem; font-weight: 600; font-size: 1.02rem; color: var(--ink-3); white-space: nowrap; }
.marquee-group span::after { content: ""; width: .5rem; height: .5rem; border-radius: 2px; rotate: 45deg; background: var(--c, var(--blue)); }
@keyframes slide { to { transform: translateX(-50%); } }

/* números */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--card); padding: clamp(1.4rem, 3vw, 2.3rem); }
.stat b { display: block; font-size: clamp(2.3rem, 4.2vw, 3.6rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; background: linear-gradient(120deg, var(--ink), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: .6rem; color: var(--ink-2); font-size: .98rem; line-height: 1.4; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------- catálogo de sistemas */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: space-between; margin-bottom: 1.6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
    padding: .5rem 1.05rem; border-radius: 999px; font-size: .92rem; font-weight: 600; cursor: pointer;
    border: 1px solid var(--line); background: var(--card); color: var(--ink-2); transition: .2s;
}
.chip:hover { border-color: var(--blue); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.search { position: relative; flex: 1 1 260px; max-width: 360px; }
.search .ico { position: absolute; left: 1rem; top: 50%; translate: 0 -50%; color: var(--ink-3); }
.search input { width: 100%; height: 2.9rem; padding: 0 1rem 0 2.8rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); transition: .2s; }
.search input:focus { outline: none; border-color: var(--blue); box-shadow: var(--ring); }

.sys-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1.2rem; }
.sys-card {
    --acc: var(--blue);
    position: relative; display: flex; flex-direction: column; gap: .35rem; padding: 1.5rem 1.5rem 1.4rem; border-radius: var(--radius);
    background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-1); overflow: hidden; isolation: isolate;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.sys-card::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--acc) 20%, transparent), transparent 62%);
}
.sys-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: color-mix(in srgb, var(--acc) 55%, var(--line)); }
.sys-card:hover::before { opacity: 1; }
.sys-card[hidden] { display: none; }
.sys-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .6rem; margin-bottom: 1rem; }
.sys-ico { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 16px; color: var(--acc); background: color-mix(in srgb, var(--acc) 15%, transparent); transition: transform .4s var(--ease), background .3s, color .3s; }
.sys-card:hover .sys-ico { transform: rotate(-6deg) scale(1.08); background: var(--acc); color: #fff; }
.sys-tags { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: flex-end; }
.sys-name { font-size: 1.7rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.sys-sub { font-size: .94rem; font-weight: 600; color: var(--acc); line-height: 1.3; filter: brightness(.9); }
[data-theme="dark"] .sys-sub { filter: none; }
.sys-desc { color: var(--ink-2); font-size: .98rem; line-height: 1.55; margin-top: .5rem; flex: 1; }
.sys-more { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.1rem; font-weight: 650; font-size: .95rem; }
.sys-more .ico { transition: transform .3s var(--ease); }
.sys-card:hover .sys-more .ico { transform: translateX(5px); }
.empty { text-align: center; padding: 3rem 1rem; color: var(--ink-3); border: 1px dashed var(--line); border-radius: var(--radius); }

/* recursos / pilares */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.feature { padding: 1.7rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: .3s var(--ease); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }
.feature .ico-box { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; margin-bottom: 1.1rem; color: var(--c, var(--blue)); background: color-mix(in srgb, var(--c, var(--blue)) 14%, transparent); }
.feature h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.feature p { color: var(--ink-2); font-size: .98rem; line-height: 1.6; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* passos */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: s; position: relative; }
.step { position: relative; padding: 1.6rem 1.4rem 1.5rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); counter-increment: s; }
.step::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-weight: 700; font-size: .85rem; color: var(--blue); display: block; margin-bottom: 1.3rem; letter-spacing: .1em; }
.step h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.step p { font-size: .94rem; color: var(--ink-2); line-height: 1.55; }
.step a { color: var(--blue); font-weight: 600; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 2.15rem; right: -1.3rem; width: 1.4rem; height: 2px; background: linear-gradient(90deg, var(--blue), transparent); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } .step::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* citação / faixa de missão */
.band { position: relative; overflow: hidden; border-radius: clamp(20px, 3vw, 32px); padding: clamp(2.4rem, 6vw, 5rem); color: #fff; background: linear-gradient(135deg, #08456a 0%, #0b2f4a 55%, #071b2c 100%); isolation: isolate; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 100% 0%, rgba(91, 155, 255, .45), transparent 60%), radial-gradient(40% 60% at 0% 100%, rgba(250, 187, 45, .2), transparent 60%); }
.band .sq { position: absolute; z-index: -1; width: 7rem; height: 7rem; border-radius: 1.6rem; opacity: .16; }
.band .sq-1 { right: 6%; top: -2rem; background: var(--yellow); rotate: 14deg; }
.band .sq-2 { right: 17%; top: 4rem; background: var(--blue-2); rotate: -8deg; width: 5rem; height: 5rem; }
.band .sq-3 { right: -1.5rem; bottom: -2rem; background: var(--green); rotate: 24deg; width: 9rem; height: 9rem; }
.band blockquote { margin: 0; font-size: clamp(1.7rem, 1rem + 3vw, 3.2rem); font-weight: 750; letter-spacing: -.035em; line-height: 1.12; max-width: 20ch; text-wrap: balance; }
.band blockquote em { font-style: normal; color: var(--yellow); }
.band p { margin-top: 1.4rem; max-width: 56ch; color: #bcd2e3; font-size: 1.1rem; }
.band .btn { margin-top: 2rem; }

.cta { text-align: center; padding: clamp(2.4rem, 5vw, 4.5rem) 1.5rem; border-radius: clamp(20px, 3vw, 32px); background: var(--card); border: 1px solid var(--line); position: relative; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 50% -20%, color-mix(in srgb, var(--blue) 24%, transparent), transparent 70%); }
.cta h2 { max-width: 20ch; margin-inline: auto; }
.cta p { margin: 1rem auto 0; max-width: 52ch; color: var(--ink-2); }
.cta .hero-cta { justify-content: center; }

/* ---------------------------------------------------------- páginas internas */
.page-hero { padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 4rem)); padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.page-hero.compact { padding-bottom: clamp(5rem, 8vw, 7rem); }
.page-hero h1 { font-size: clamp(2.2rem, 1.2rem + 4vw, 4rem); color: #fff; }
.page-hero .lead { margin-top: 1.1rem; color: #b6c9da; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .88rem; color: #8aa2b6; margin-bottom: 1.4rem; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-current] { color: #dbe7f1; }
.crumbs i { opacity: .5; font-style: normal; }
.overlap { margin-top: calc(-1 * clamp(3rem, 5vw, 4.5rem)); position: relative; z-index: 2; }

.prose { max-width: 70ch; font-size: 1.08rem; color: var(--ink-2); }
.prose > * + * { margin-top: 1.15rem; }
.prose h2, .prose h3 { color: var(--ink); margin-top: 2.2rem; }
.prose h2 { font-size: 1.8rem; } .prose h3 { font-size: 1.35rem; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-left: 1.3rem; } .prose li + li { margin-top: .4rem; }
.prose img { border-radius: var(--radius-sm); }
.prose b, .prose strong { color: var(--ink); font-weight: 650; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.aside-card { position: sticky; top: calc(var(--header-h) + 20px); padding: 1.5rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.aside-card h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.facts { display: grid; gap: .1rem; margin-bottom: 1.3rem; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--line-2); font-size: .94rem; }
.facts dt { color: var(--ink-3); } .facts dd { font-weight: 600; text-align: right; }
.aside-card .btn { width: 100%; }
.aside-card .btn + .btn { margin-top: .6rem; }
@media (max-width: 980px) { .two-col { grid-template-columns: 1fr; } .aside-card { position: static; } }

.sys-hero { display: flex; gap: 1.6rem; align-items: center; margin-bottom: 1.6rem; }
.sys-hero .sys-ico { width: 5rem; height: 5rem; border-radius: 22px; background: color-mix(in srgb, var(--acc) 22%, transparent); color: #fff; box-shadow: 0 0 0 1px color-mix(in srgb, var(--acc) 50%, transparent), 0 18px 40px -12px var(--acc); }
.sys-hero .sys-ico .ico { width: 2.4rem; height: 2.4rem; }
.sys-hero-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .7rem; }
.page-hero .tag { color: #dbe7f1; background: rgba(255, 255, 255, .1); }
.page-hero .tag-novo { color: #fff; background: linear-gradient(135deg, #2f7bf5, #14b8a6); }
.sys-photo { position: absolute; inset: 0; z-index: -1; opacity: .13; background-size: cover; background-position: center; filter: grayscale(.4) blur(2px); mix-blend-mode: luminosity; -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000); mask-image: linear-gradient(90deg, transparent 20%, #000); }
@media (max-width: 640px) { .sys-hero { flex-direction: column; align-items: flex-start; } }

.hl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .8rem; }
.hl { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); font-weight: 560; font-size: .97rem; line-height: 1.4; }
.hl .ico { color: var(--acc, var(--blue)); margin-top: .1rem; }

.list-block { margin-top: 2rem; }
.list-block h3 { font-size: 1.15rem; margin-bottom: .9rem; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem 1.5rem; }
.checks li { position: relative; padding-left: 1.7rem; color: var(--ink-2); font-size: .98rem; line-height: 1.45; }
.checks li::before { content: ""; position: absolute; left: 0; top: .25rem; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: color-mix(in srgb, var(--acc, var(--blue)) 18%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f7bf5' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat; }
@media (max-width: 640px) { .checks { grid-template-columns: 1fr; } }

.callout { padding: 1.2rem 1.4rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--card); color: var(--ink-2); font-size: .98rem; line-height: 1.6; }
.callout.warn { border-color: color-mix(in srgb, var(--yellow) 60%, transparent); background: color-mix(in srgb, var(--yellow) 12%, var(--card)); }
.callout.warn > b:first-child { display: block; margin-bottom: .3rem; color: var(--ink); }
.callout a { color: var(--blue); font-weight: 600; text-decoration: underline; }
.info-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
.info-cards .callout h3 { font-size: 1.05rem; margin-bottom: .5rem; color: var(--ink); }
@media (max-width: 760px) { .info-cards { grid-template-columns: 1fr; } }

/* planos / licenças */
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 1rem; margin-top: 1.4rem; }
.plan { display: flex; flex-direction: column; gap: 1rem; padding: 1.6rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: .3s var(--ease); }
.plan:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: var(--shadow-2); }
.plan-head h4 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.plan-head p { margin-top: .4rem; font-size: .88rem; color: var(--ink-3); line-height: 1.5; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .6rem; margin-top: auto; }
.plan-price strong { font-size: 1.9rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.plan-price s { color: var(--red); font-weight: 600; opacity: .85; }
.plan-price span:not(.tag) { font-size: .85rem; color: var(--ink-3); width: 100%; }
.plan-quota-row { display: flex; gap: 1rem; align-items: end; }
.plan-quota-row label { display: grid; gap: .3rem; font-size: .8rem; font-weight: 600; color: var(--ink-3); flex: 1; }
.plan-quota-row input { height: 2.9rem; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); padding: 0 .9rem; font-size: 1.05rem; font-weight: 650; width: 100%; }
.plan-quota-row input:focus { outline: none; border-color: var(--blue); box-shadow: var(--ring); }
.plan-total { font-size: .8rem; font-weight: 600; color: var(--ink-3); text-align: right; }
.plan-total strong { display: block; font-size: 1.25rem; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* acordeão (FAQ / ajuda) */
.acc-list { display: grid; gap: .6rem; }
.acc { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); transition: border-color .2s, box-shadow .2s; }
.acc[open] { border-color: color-mix(in srgb, var(--blue) 45%, var(--line)); box-shadow: var(--shadow-1); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem 1.3rem; font-weight: 650; font-size: 1.02rem; line-height: 1.4; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; flex: none; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: color-mix(in srgb, var(--ink) 7%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2362778c' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 55% no-repeat; transition: transform .3s var(--ease); }
.acc[open] summary::after { transform: rotate(45deg); }
.acc-body { padding: 0 1.3rem 1.3rem; color: var(--ink-2); font-size: .99rem; line-height: 1.7; max-width: 80ch; }
.acc-body img { display: inline; width: 1.6rem; height: 1.6rem; vertical-align: middle; }

/* ----------------------------------------------------------- formulários */
.form-card { padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.form-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.1rem; }
.col-12 { grid-column: span 12; } .col-8 { grid-column: span 8; } .col-6 { grid-column: span 6; } .col-4 { grid-column: span 4; } .col-3 { grid-column: span 3; } .col-2 { grid-column: span 2; }
@media (max-width: 700px) { .form-grid > * { grid-column: span 12 !important; } .form-grid > .keep-half { grid-column: span 6 !important; } }
.field { display: grid; gap: .4rem; align-content: start; }
.field label, .field > span.lbl { font-size: .86rem; font-weight: 650; color: var(--ink-2); }
.field label .req { color: var(--red); margin-left: .15rem; }
.field input, .field select, .field textarea {
    width: 100%; min-height: 3rem; padding: .75rem 1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--bg);
    transition: border-color .2s, box-shadow .2s, background .2s; font-size: 1rem;
}
[data-theme="dark"] .field input, [data-theme="dark"] .field select, [data-theme="dark"] .field textarea { background: #07121d; }
.field textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: var(--ring); background: var(--card); }
.field input[readonly] { opacity: .65; cursor: not-allowed; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2362778c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 1.1rem; padding-right: 2.6rem; }
.field .hint { font-size: .8rem; color: var(--ink-3); line-height: 1.4; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 22%, transparent); }
.field .err { font-size: .8rem; font-weight: 600; color: var(--danger); display: none; }
.field.has-error .err { display: block; }
.pw { position: relative; }
.pw input { padding-right: 3.2rem; }
.pw button { position: absolute; right: .4rem; top: 50%; translate: 0 -50%; width: 2.4rem; height: 2.4rem; border: 0; border-radius: 50%; background: none; color: var(--ink-3); display: grid; place-items: center; }
.pw button:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .95rem; line-height: 1.5; cursor: pointer; color: var(--ink-2); }
.check input { appearance: none; flex: none; width: 1.35rem; height: 1.35rem; margin: .1rem 0 0; border-radius: 7px; border: 1.5px solid var(--ink-3); background: var(--bg); display: grid; place-items: center; transition: .2s; cursor: pointer; }
.check input:checked { background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 75% no-repeat; border-color: var(--blue); }
.check.has-error input { border-color: var(--danger); }
.captcha { display: flex; justify-content: center; min-height: 78px; }
.form-actions { display: grid; gap: .8rem; margin-top: 1.6rem; }
.form-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.2rem; font-size: .93rem; margin-top: 1.4rem; }
.form-links a { color: var(--blue); font-weight: 600; }
.form-links a:hover { text-decoration: underline; }
.fieldset-title { grid-column: 1 / -1; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); padding-top: .8rem; border-top: 1px solid var(--line-2); margin-top: .4rem; }
.fieldset-title:first-child { border: 0; padding: 0; margin: 0; }

/* contato */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 1rem; }
.info-item { display: flex; gap: 1rem; padding: 1.2rem 1.3rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); align-items: flex-start; }
.info-item .mega-ico { --acc: var(--blue); width: 2.8rem; height: 2.8rem; }
.info-item b { display: block; margin-bottom: .15rem; }
.info-item p, .info-item a { color: var(--ink-2); font-size: .97rem; line-height: 1.5; }
.info-item a:hover { color: var(--blue); }

/* autenticação */
.auth-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); border-radius: calc(var(--radius) + 6px); overflow: hidden; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-2); max-width: 1020px; margin-inline: auto; }
.auth-aside { padding: clamp(1.8rem, 4vw, 3rem); color: #fff; background: linear-gradient(160deg, #0d6a9f 0%, #08456a 45%, #071b2c 100%); position: relative; overflow: hidden; isolation: isolate; }
.auth-aside::after { content: ""; position: absolute; width: 18rem; height: 18rem; border-radius: 3rem; right: -6rem; bottom: -6rem; background: rgba(250, 187, 45, .18); rotate: 22deg; z-index: -1; }
.auth-aside h2 { font-size: clamp(1.6rem, 1rem + 1.6vw, 2.2rem); color: #fff; }
.auth-aside p { margin-top: .9rem; color: #c3d8e8; font-size: 1rem; }
.auth-aside ul { margin-top: 1.6rem; display: grid; gap: .9rem; }
.auth-aside li { display: flex; gap: .7rem; align-items: flex-start; font-size: .97rem; color: #e1edf6; }
.auth-aside li .ico { color: #ffd166; margin-top: .15rem; }
.auth-main { padding: clamp(1.6rem, 4vw, 3rem); }
.auth-main h2 { font-size: 1.7rem; }
.auth-main > p { color: var(--ink-2); margin: .5rem 0 1.6rem; font-size: .98rem; }
.auth-main .form-grid { gap: 1rem; }
.auth-single { max-width: 520px; margin-inline: auto; }
@media (max-width: 820px) { .auth-wrap { grid-template-columns: 1fr; } .auth-aside { display: none; } }
.priv-box { max-height: 15rem; overflow: auto; padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); font-size: .9rem; line-height: 1.6; color: var(--ink-2); }
.priv-box li { margin: 0 0 .6rem; padding-left: 1.1rem; position: relative; }
.priv-box li::before { content: ""; position: absolute; left: 0; top: .6em; width: .4rem; height: .4rem; border-radius: 50%; background: var(--blue); }

/* minha conta */
.acct-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.acct-head h2 { font-size: 1.6rem; }
.block { padding: clamp(1.2rem, 3vw, 2rem); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.block + .block { margin-top: 1.4rem; }
.block > p { color: var(--ink-2); font-size: .97rem; margin-bottom: 1.2rem; max-width: 80ch; }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .95rem; }
.tbl th { text-align: left; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; padding: .7rem .8rem; border-bottom: 1px solid var(--line); }
.tbl td { padding: .95rem .8rem; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl .ctr { text-align: center; }
.tbl tfoot td { font-weight: 800; font-size: 1.05rem; border-top: 1px solid var(--line); border-bottom: 0; }
.status { display: inline-flex; padding: .22rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 650; background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink-2); white-space: nowrap; }
.status.ok { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.status.wait { background: color-mix(in srgb, var(--yellow) 22%, transparent); color: #8a6a00; }
[data-theme="dark"] .status.wait { color: var(--yellow); }
.act { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink-2); transition: .2s; }
.act:hover { color: #fff; background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }
.act.off { opacity: .45; }
.act.off:hover { background: var(--bg); color: var(--ink-2); border-color: var(--line); transform: none; }
.buy-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; align-items: center; }
.empty-state { text-align: center; padding: clamp(2rem, 6vw, 4rem) 1rem; }
.empty-state .ico-box { margin: 0 auto 1.2rem; display: grid; place-items: center; width: 4.4rem; height: 4.4rem; border-radius: 22px; color: var(--blue); background: color-mix(in srgb, var(--blue) 14%, transparent); }
.empty-state p { color: var(--ink-2); max-width: 50ch; margin: .7rem auto 1.4rem; }
.tbl-wrap { overflow-x: auto; margin-inline: -.4rem; padding-inline: .4rem; }
@media (max-width: 820px) {
    .tbl thead { display: none; }
    .tbl, .tbl tbody, .tbl tr, .tbl td, .tbl tfoot { display: block; width: 100%; }
    .tbl tr { padding: 1rem 0; border-bottom: 1px solid var(--line); }
    .tbl tr:last-child { border-bottom: 0; }
    .tbl td { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .4rem 0; border: 0; text-align: right !important; }
    .tbl td::before { content: attr(data-label); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; text-align: left; }
    .tbl td:empty { display: none; }
}

/* download privado / boleto / 404 */
.card-center { max-width: 640px; margin-inline: auto; text-align: center; }
.notice-list { text-align: left; display: grid; gap: .6rem; margin: 1.4rem 0; padding: 1.2rem 1.4rem; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line); font-size: .97rem; color: var(--ink-2); }
.code-pill { font-family: var(--mono); font-weight: 700; letter-spacing: .06em; padding: .8rem 1rem; border-radius: 12px; border: 1px dashed var(--ink-3); background: var(--bg); text-align: center; word-break: break-all; }
.boleto-frame { width: 100%; height: min(1200px, 120vh); border: 0; border-radius: var(--radius-sm); background: #fff; }
.boleto-html { background: #fff; color: #000; padding: 1rem; border-radius: var(--radius-sm); overflow: auto; }
.e404 { text-align: center; padding-block: clamp(5rem, 14vw, 10rem) 5rem; }
.e404 .big { font-size: clamp(7rem, 24vw, 16rem); font-weight: 900; letter-spacing: -.07em; line-height: .9; background: linear-gradient(120deg, #7db4ff, #4ad8c7 55%, #fabb2d); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* mapa */
.map-card { display: grid; place-content: center; justify-items: center; gap: .6rem; text-align: center; min-height: 18rem; padding: 2rem; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-1); background: radial-gradient(60% 80% at 50% 0%, color-mix(in srgb, var(--blue) 18%, transparent), transparent 70%), var(--card); }
.map-card .map-pin { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 22px; color: #fff; background: linear-gradient(135deg, #2f7bf5, #0d6a9f); box-shadow: 0 18px 40px -12px rgba(47,123,245,.7); margin-bottom: .6rem; }
.map-card p { color: var(--ink-2); margin-bottom: .8rem; }

/* artigos */
.article-list { display: grid; gap: 1rem; }
.article-item { display: block; padding: 1.5rem 1.6rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); transition: .3s var(--ease); }
.article-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); border-color: var(--blue); }
.article-item time { font-size: .82rem; font-weight: 650; color: var(--blue); }
.article-item h3 { margin: .3rem 0 .5rem; }
.article-item p { color: var(--ink-2); font-size: .98rem; }

/* ----------------------------------------------------------------- rodapé */
.site-footer { background: #040f19; color: #b6c9da; margin-top: clamp(4rem, 8vw, 7rem); position: relative; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--yellow) 0 25%, var(--blue) 25% 50%, var(--green) 50% 75%, var(--red) 75%); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr; gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(3rem, 6vw, 5rem); }
.site-footer .brand { color: #fff; }
.foot-brand p { margin: 1.2rem 0; max-width: 40ch; font-size: .97rem; line-height: 1.65; }
.foot-brand address { font-size: .94rem; line-height: 1.7; color: #8fa8bd; }
.foot-mail { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1rem; font-weight: 600; color: #fff; }
.foot-mail:hover { color: var(--yellow); }
.site-footer h2 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; font-weight: 700; }
.site-footer h2.mt { margin-top: 2rem; }
.site-footer li + li { margin-top: .55rem; }
.site-footer nav a { font-size: .96rem; transition: color .2s; }
.site-footer nav a:hover { color: #fff; }
.site-footer nav a small { color: #6f879b; font-size: .8rem; margin-left: .3rem; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .09); padding-block: 1.4rem; font-size: .86rem; color: #7b93a9; }
.foot-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------- componentes de interação global */
.to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90; width: 3.1rem; height: 3.1rem; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-2); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.busy { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(4, 15, 25, .5); backdrop-filter: blur(4px); }
.spinner { width: 3rem; height: 3rem; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .25); border-top-color: #fff; animation: spin .8s linear infinite; }
.btn[aria-busy="true"]::after { content: ""; width: 1rem; height: 1rem; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.toasts { position: fixed; z-index: 400; right: 1.2rem; bottom: 1.2rem; display: grid; gap: .6rem; width: min(380px, calc(100vw - 2.4rem)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: .8rem; align-items: flex-start; padding: .95rem 1.1rem; border-radius: 16px; background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-2); font-size: .95rem; line-height: 1.45; animation: toast-in .45s var(--ease); }
.toast.out { animation: toast-out .3s forwards; }
.toast .ico { margin-top: .1rem; }
.toast.ok .ico { color: var(--ok); } .toast.err .ico { color: var(--danger); } .toast.info .ico { color: var(--blue); }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px) scale(.96); } }

.dialog { border: 0; padding: 0; background: transparent; color: var(--ink); max-width: min(520px, calc(100vw - 2rem)); width: 100%; margin: auto; }
.dialog::backdrop { background: rgba(4, 15, 25, .6); backdrop-filter: blur(5px); animation: fade .25s; }
.dialog[open] form { animation: pop .35s var(--ease); }
.dialog form { background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-2); padding: 1.6rem; display: grid; gap: 1.1rem; }
.dlg-head { display: flex; align-items: center; gap: .9rem; }
.dlg-head h2 { font-size: 1.3rem; letter-spacing: -.02em; }
.dlg-ico { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 14px; color: var(--blue); background: color-mix(in srgb, var(--blue) 14%, transparent); flex: none; }
.dlg-body { color: var(--ink-2); line-height: 1.6; font-size: 1rem; max-height: 52vh; overflow: auto; }
.dlg-body li { margin-bottom: .6rem; }
.dlg-actions { display: flex; justify-content: flex-end; gap: .6rem; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.96); } }

.cookie { position: fixed; z-index: 250; left: 50%; bottom: 1.2rem; translate: -50% 0; width: min(920px, calc(100vw - 2rem)); display: flex; align-items: center; gap: 1.1rem; padding: 1rem 1.2rem; border-radius: 20px; background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: blur(16px); border: 1px solid var(--line); box-shadow: var(--shadow-2); font-size: .93rem; line-height: 1.5; color: var(--ink-2); animation: toast-in .6s var(--ease); }
.cookie p { flex: 1; } .cookie b { color: var(--ink); } .cookie a { color: var(--blue); font-weight: 600; text-decoration: underline; }
.cookie-ico { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 14px; background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green); flex: none; }
@media (max-width: 640px) { .cookie { flex-wrap: wrap; } .cookie-ico { display: none; } .cookie .btn { width: 100%; } }

/* --------------------------------------------------- acessibilidade / impressão */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
    .marquee-track { animation: none; }
}
@media print {
    body { background: #fff; color: #000; }
    .site-header, .site-footer, .to-top, .cookie, .toasts, .busy, .no-print, .skip-link { display: none !important; }
    main { min-height: 0; }
    .wrap { width: 100%; }
    .boleto-frame { height: 1100px; }
}

/* botões do cabeçalho acompanham a cor do cabeçalho (claro sobre o topo escuro) */
.site-header .btn-ghost, .site-header .btn-soft { --b-ink: var(--h-ink); }
.site-header .btn-ghost { --b-line: color-mix(in srgb, var(--h-ink) 28%, transparent); }
.site-header .btn-soft { --b-bg: color-mix(in srgb, var(--h-ink) 12%, transparent); }
.sheet .btn-ghost { --b-ink: var(--ink); --b-line: var(--line); }
