/* ==========================================================================
   REDESENHO: identidade Scrok (ciano -> azul -> roxo), tipografia Sora,
   primeira tela com rede animada e maquete de sistema, secoes novas.
   ========================================================================== */
@font-face {
    font-family: "Sora";
    font-style: normal;
    font-weight: 500 800;
    font-display: swap;
    src: url("/fonts/sora-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

:root {
    --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
    --cyan: #38bdf8;
    --grad-a: #38bdf8;
    --grad-b: #8b5cf6;
    --net: 56, 189, 248;
}
:root[data-theme="light"] {
    --cyan: #0369a1;
    --grad-a: #0b73d6;
    --grad-b: #6d4aff;
    --net: 11, 61, 145;
}

h1, h2, h3, .brand, .btn, .badge, .tag { font-family: var(--font-head); }
h1, h2 { letter-spacing: -.02em; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.btn .ico { width: 18px; height: 18px; margin-left: 6px; vertical-align: -3px; transition: transform .25s var(--ease-out); }
.btn:hover .ico { transform: translateX(4px); }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; border-radius: 14px; }
.btn-ghost.btn-lg { padding: 13px 26px; }

/* ----------------------------------------------------------------- HERO */
.hx { position: relative; overflow: hidden; padding: 64px 0 72px; isolation: isolate; }
.hx::before {
    content: ""; position: absolute; inset: 0; z-index: -2;
    background:
        radial-gradient(1000px 520px at 85% -10%, rgba(139, 92, 246, .22), transparent 60%),
        radial-gradient(900px 560px at -10% 20%, rgba(56, 189, 248, .18), transparent 60%),
        linear-gradient(180deg, var(--hero-from), var(--bg) 92%);
}
:root[data-theme="light"] .hx::before {
    background:
        radial-gradient(1000px 520px at 85% -10%, rgba(109, 74, 255, .14), transparent 60%),
        radial-gradient(900px 560px at -10% 20%, rgba(14, 165, 233, .14), transparent 60%),
        linear-gradient(180deg, var(--hero-from), var(--bg) 92%);
}
.hx-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hx-aurora span { position: absolute; border-radius: 50%; filter: blur(80px); z-index: -1; pointer-events: none; opacity: .55; }
.hx-aurora span:nth-child(1) { width: 380px; height: 380px; background: #38bdf8; top: -140px; left: 8%; opacity: .22; animation: float-a 16s ease-in-out infinite; }
.hx-aurora span:nth-child(2) { width: 420px; height: 420px; background: #8b5cf6; top: 20%; right: -120px; opacity: .22; animation: float-b 19s ease-in-out infinite; }
.hx-aurora span:nth-child(3) { width: 300px; height: 300px; background: #22d3ee; bottom: -140px; left: 40%; opacity: .14; animation: float-a 22s ease-in-out infinite reverse; }

.hx-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; position: relative; }
.hx-pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; margin-bottom: 20px; border-radius: 999px;
    font-size: .85rem; font-weight: 600; color: var(--link);
    background: color-mix(in srgb, var(--grad-a) 12%, transparent); border: 1px solid color-mix(in srgb, var(--grad-a) 35%, transparent);
    animation: rise .7s var(--ease-out) both;
}
.hx h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.12; margin: 0 0 .5em; animation: rise .8s var(--ease-out) .08s both; background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--heading); }
.hx-word {
    display: inline-block; white-space: nowrap; position: relative;
    background: linear-gradient(100deg, var(--cyan), var(--grad-b)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hx-word::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; border-radius: 4px;
    background: linear-gradient(90deg, var(--cyan), var(--grad-b)); opacity: .55;
}
.hx-word.swap { animation: word-in .5s var(--ease-out) both; }
@keyframes word-in { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.hx-lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin: 0 0 26px; animation: rise .8s var(--ease-out) .18s both; }
.hx-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; animation: rise .8s var(--ease-out) .28s both; }
.hx-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .93rem; animation: rise .8s var(--ease-out) .38s both; }
.hx-chips li { display: inline-flex; align-items: center; gap: 7px; }
.hx-chips .ico { color: var(--ok); }

/* maquete de sistema */
.hx-visual { position: relative; animation: rise 1s var(--ease-out) .25s both; }
.hx-visual > .mock { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.mock {
    background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .38), 0 0 0 1px rgba(255, 255, 255, .03) inset;
}
.mock-hero { transition: transform .25s ease-out; will-change: transform; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #475069; }
.mock-bar i:nth-child(1) { background: #f0625a; } .mock-bar i:nth-child(2) { background: #f5a623; } .mock-bar i:nth-child(3) { background: #34d399; }
.mock-bar span { margin-left: 10px; font-size: .78rem; color: var(--muted); font-weight: 600; }
.mock-body { display: flex; }
.mock-side { display: flex; flex-direction: column; gap: 16px; align-items: center; padding: 16px 10px; background: var(--bg-alt); border-right: 1px solid var(--border); color: var(--muted); }
.mock-side .ico { width: 18px; height: 18px; }
.mock-side .ico:first-child { color: var(--cyan); }
.mock-main { flex: 1; min-width: 0; padding: 16px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.mock-kpis div { padding: 10px 12px; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--border); }
.mock-kpis small { display: block; font-size: .68rem; color: var(--muted); }
.mock-kpis b { font-family: var(--font-head); font-size: 1.1rem; color: var(--heading); }
.mock-chart { display: flex; align-items: flex-end; gap: 9px; height: 92px; padding: 8px 4px 0; margin-bottom: 12px; border-bottom: 1px dashed var(--border); }
.mock-chart.small { height: 70px; margin: 12px 14px; }
.mock-chart span {
    flex: 1; height: var(--h); border-radius: 6px 6px 0 0; transform-origin: 50% 100%;
    background: linear-gradient(180deg, var(--cyan), var(--grad-b)); animation: bar-grow 1.1s var(--ease-out) both;
}
.mock-chart span:nth-child(2) { animation-delay: .08s; } .mock-chart span:nth-child(3) { animation-delay: .16s; } .mock-chart span:nth-child(4) { animation-delay: .24s; }
.mock-chart span:nth-child(5) { animation-delay: .32s; } .mock-chart span:nth-child(6) { animation-delay: .4s; } .mock-chart span:nth-child(7) { animation-delay: .48s; }
@keyframes bar-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.mock-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.mock-list.pad { padding: 14px; }
.mock-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--bg-alt); font-size: .8rem; color: var(--text); }
.mock-list em { font-style: normal; font-size: .7rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.mock-list em.ok { color: var(--ok); background: var(--ok-bg); }
.mock-list em.wip { color: var(--cyan); background: color-mix(in srgb, var(--cyan) 15%, transparent); }
.mock-list em.wait { color: var(--accent); background: color-mix(in srgb, var(--accent) 15%, transparent); }
.mock-list em.free { color: var(--muted); background: var(--border); }
.mock-note { margin: 12px 0 0; text-align: center; font-size: .75rem; color: var(--muted); opacity: .8; }

.toast {
    position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; z-index: 2;
    background: var(--surface); border: 1px solid var(--border); box-shadow: 0 16px 40px rgba(0, 0, 0, .35); white-space: nowrap;
}
.toast .ico { width: 30px; height: 30px; padding: 6px; border-radius: 10px; color: #fff; background: linear-gradient(135deg, var(--ok), var(--cyan)); }
.toast b { display: block; font-size: .82rem; color: var(--heading); font-family: var(--font-head); }
.toast small { font-size: .72rem; color: var(--muted); }
.toast-a { top: 8%; left: -28px; animation: toast-a 7s ease-in-out infinite; }
.toast-b { bottom: 14%; right: -22px; animation: toast-b 7s ease-in-out infinite 2.4s; }
.toast-b .ico { background: linear-gradient(135deg, var(--grad-b), var(--cyan)); }
@keyframes toast-a { 0%, 8% { opacity: 0; transform: translateX(-16px); } 14%, 70% { opacity: 1; transform: none; } 80%, 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes toast-b { 0%, 8% { opacity: 0; transform: translateX(16px); } 14%, 70% { opacity: 1; transform: none; } 80%, 100% { opacity: 0; transform: translateY(10px); } }

/* ----------------------------------------------------------------- CONFIANCA */
.trust { border-block: 1px solid var(--border); background: var(--bg-alt); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-block: 22px; }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 6px 4px; }
.trust-item > .ico { width: 44px; height: 44px; padding: 10px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); box-shadow: 0 8px 22px var(--glow); }
.trust-item b { display: block; font-family: var(--font-head); font-size: .98rem; color: var(--heading); }
.trust-item span { font-size: .84rem; color: var(--muted); }

/* ----------------------------------------------------------------- CARDS (icones) */
.card-icon { color: var(--cyan); }
.card-icon .ico { width: 26px; height: 26px; }
.card:hover .card-icon { color: #fff; background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); border-color: transparent; }

/* ----------------------------------------------------------------- SEGMENTOS */
.seg-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 18px; }
.seg-tabs button {
    display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; cursor: pointer;
    font: inherit; font-weight: 600; font-size: .95rem; color: var(--text); background: var(--surface); border: 1px solid var(--border);
    transition: transform .25s var(--ease-out), border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .25s ease;
}
.seg-tabs button:hover { transform: translateY(-2px); border-color: var(--grad-a); }
.seg-tabs button.on { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); box-shadow: 0 10px 24px var(--glow); }
.seg-panel { display: none; grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: center; padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); }
.seg-panel.on { display: grid; animation: rise .5s var(--ease-out) both; }
.seg-text h3 { font-size: 1.35rem; margin-bottom: .6em; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 30px; color: var(--text); }
.ticks li::before {
    content: "\2713"; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: .75rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--ok), var(--cyan));
}
.mock-sm { box-shadow: 0 20px 50px rgba(0, 0, 0, .28); }
.seg-cta { margin-top: 26px; }

/* ----------------------------------------------------------------- CASOS */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.case { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); transition: transform .35s var(--ease-out), box-shadow .35s ease, border-color .3s ease; }
.case:hover { transform: translateY(-8px); border-color: var(--grad-a); box-shadow: 0 24px 50px rgba(0, 0, 0, .3); }
.mock-case { border: 0; border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--border); background: linear-gradient(160deg, var(--bg-alt), var(--surface)); }
.case-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.case-body h3 { margin: 0; font-size: 1.3rem; }
.case-body p { margin: 0; color: var(--muted); font-size: .95rem; }
.tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; color: var(--cyan); background: color-mix(in srgb, var(--cyan) 13%, transparent); }
.chips { list-style: none; margin: auto 0 0; padding: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--border); color: var(--text); }
.chips .ico { color: var(--grad-b); }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px; height: 150px; }
.tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 12px; background: linear-gradient(135deg, #1e3a8a, #4c1d95); color: #fff; }
.tile b { font-family: var(--font-head); font-size: 1.2rem; }
.tile small { font-size: .62rem; opacity: .85; }
.tile:first-child { box-shadow: 0 0 0 2px var(--ok) inset; animation: speak 1.6s ease-in-out infinite; }
.tile.share { background: linear-gradient(135deg, #0e7490, #1e3a8a); }
.tile .ico { width: 24px; height: 24px; }
@keyframes speak { 50% { box-shadow: 0 0 0 2px var(--ok) inset, 0 0 22px rgba(52, 211, 153, .5); } }

.week { position: relative; height: 150px; margin: 14px; border-radius: 12px; border: 1px solid var(--border); overflow: hidden;
    background: repeating-linear-gradient(90deg, transparent 0 calc(20% - 1px), var(--border) calc(20% - 1px) 20%); }
.week span { position: absolute; height: 22px; border-radius: 7px; animation: bar-in 1.2s var(--ease-out) both; }
.week .b1 { left: 4%; width: 52%; top: 18px; background: linear-gradient(90deg, var(--cyan), #0ea5e9); }
.week .b2 { left: 30%; width: 44%; top: 52px; background: linear-gradient(90deg, #a78bfa, var(--grad-b)); animation-delay: .15s; }
.week .b3 { left: 12%; width: 36%; top: 86px; background: linear-gradient(90deg, #34d399, #10b981); animation-delay: .3s; }
.week .b4 { left: 52%; width: 40%; top: 118px; background: linear-gradient(90deg, #f5a623, #f97316); animation-delay: .45s; }
@keyframes bar-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

.funnel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; padding: 14px; height: 150px; }
.funnel div { display: flex; flex-direction: column; gap: 6px; padding: 8px 6px; border-radius: 10px; background: var(--bg-alt); border: 1px solid var(--border); }
.funnel small { font-size: .58rem; font-weight: 700; color: var(--muted); }
.funnel i { display: block; height: 22px; border-radius: 6px; background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); opacity: .85; }
.funnel div:nth-child(4) i { background: linear-gradient(135deg, var(--ok), var(--cyan)); }

/* ----------------------------------------------------------------- CALCULADORA */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: stretch; }
.calc-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; margin: 0 0 20px; font-weight: 600; }
.calc-row input[type=range] { grid-column: 1 / -1; width: 100%; min-height: 0 !important; margin: 0 !important; padding: 0 !important; height: 28px; border: 0 !important; background: none !important; box-shadow: none !important; accent-color: var(--grad-b); cursor: pointer; }
.calc-row output { grid-column: 2; grid-row: 1; font-family: var(--font-head); font-weight: 700; color: var(--cyan); }
.calc-result {
    display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 22px; position: relative;
    background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, var(--grad-a), var(--grad-b)) border-box;
    border: 2px solid transparent; box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}
.calc-big small, .calc-row2 small { display: block; color: var(--muted); font-size: .82rem; }
.calc-big b { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; background: linear-gradient(100deg, var(--cyan), var(--grad-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-row2 div { padding: 12px 14px; border-radius: 14px; background: var(--bg-alt); }
.calc-row2 b { font-family: var(--font-head); font-size: 1.25rem; color: var(--heading); }
.calc-save { margin: 0; color: var(--text); }
.calc-save b { color: var(--ok); }
.calc-note { margin: 0; font-size: .78rem; color: var(--muted); }

/* ----------------------------------------------------------------- COMO FUNCIONA */
.flow { list-style: none; counter-reset: none; margin: 30px 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.flow::before { content: ""; position: absolute; left: 12%; right: 12%; top: 52px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--grad-a), var(--grad-b)); opacity: .35; }
.flow li { position: relative; text-align: center; padding: 22px 16px 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); transition: transform .3s var(--ease-out), border-color .3s ease, box-shadow .3s ease; }
.flow li:hover { transform: translateY(-6px); border-color: var(--grad-a); box-shadow: 0 18px 40px rgba(0, 0, 0, .25); }
.flow-n { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: .85rem; color: #fff; background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); }
.flow-ic { width: 60px; height: 60px; margin: 6px auto 12px; display: flex; align-items: center; justify-content: center; border-radius: 18px; color: var(--cyan); background: var(--bg-alt); border: 1px solid var(--border); position: relative; z-index: 1; }
.flow-ic .ico { width: 28px; height: 28px; }
.flow li:hover .flow-ic { color: #fff; background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); border-color: transparent; }
.flow h3 { font-size: 1.05rem; }
.flow p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ----------------------------------------------------------------- NUMEROS */
.stats { padding: 44px 0; background: linear-gradient(120deg, #0b1c3d, #1b1456 55%, #0b1c3d); color: #fff; }
:root[data-theme="light"] .stats { background: linear-gradient(120deg, #0b3d91, #3b2bb5 55%, #0b3d91); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: center; }
.stats b { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.1; background: linear-gradient(100deg, #7dd3fc, #c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: #c9d4ee; font-size: .92rem; }
.stats b span { color: inherit; font-size: inherit; }
.stats b .cur { font-style: normal; font-size: .45em; margin-right: .1em; vertical-align: .55em; }

/* ----------------------------------------------------------------- CHAMADA FINAL */
.cta-x { position: relative; overflow: hidden; padding: 64px 0; isolation: isolate; }
.cta-x .hx-net { opacity: .8; }
.cta-x .container { position: relative; z-index: 1; }
.cta-logo { display: block; margin: 0 auto 14px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255, 255, 255, .25), 0 12px 34px rgba(0, 0, 0, .4); animation: floaty 6s ease-in-out infinite; }
.cta-x h2 { color: #fff; }
.cta-sub { color: #d6def2; margin: -.2em 0 22px; }
.cta-actions { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ----------------------------------------------------------------- RESPONSIVO */
@media (max-width: 1024px) {
    .hx-grid { grid-template-columns: 1fr; gap: 36px; }
    .hx-visual { max-width: 560px; margin: 0 auto; width: 100%; }
    .toast-a { left: -6px; } .toast-b { right: -6px; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .cases { grid-template-columns: 1fr 1fr; }
    .calc { grid-template-columns: 1fr; }
    .flow { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; }
    .flow::before { display: none; }
    .stats-grid { grid-template-columns: 1fr; gap: 26px 18px; }
}
@media (max-width: 760px) {
    .hx { padding: 36px 0 48px; }
    .hx-lead { font-size: 1.05rem; }
    .hx-actions .btn { width: 100%; text-align: center; }
    .toast { transform-origin: center; }
    .toast-a { display: none; } .toast-b { bottom: 8px; right: 4px; }
    .toast small { display: none; }
    .mock-kpis { gap: 6px; } .mock-kpis b { font-size: .95rem; }
    .trust-grid { grid-template-columns: 1fr; gap: 6px; }
    .seg-panel { grid-template-columns: 1fr; padding: 20px; gap: 22px; }
    .seg-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
    .seg-tabs::-webkit-scrollbar { display: none; }
    .seg-tabs button { white-space: nowrap; }
    .cases { grid-template-columns: 1fr; }
    .flow { grid-template-columns: 1fr; }
    .cta-actions .btn { width: 100%; max-width: 380px; justify-content: center; }
    .stats b { font-size: 2.1rem; }
}
@media (hover: none) {
    .case:hover, .flow li:hover, .seg-tabs button:hover { transform: none; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
    .hx-aurora span, .hx-visual > .mock, .toast, .cta-logo, .tile:first-child { animation: none !important; }
    .toast { opacity: 1 !important; }
    .mock-chart span, .week span { animation: none !important; }
}

/* ----------------------------------------------------------------- ASSISTENTE (orcamento em etapas) */
.wiz-head { margin: 4px 0 22px; }
.wiz-count { font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--cyan); margin-bottom: 8px; }
.wiz-bar { height: 8px; border-radius: 8px; background: var(--border); overflow: hidden; }
.wiz-fill { display: block; height: 100%; width: 33%; border-radius: 8px; background: linear-gradient(90deg, var(--grad-a), var(--grad-b)); transition: width .5s var(--ease-out); }
.wiz-steps { list-style: none; display: flex; justify-content: space-between; gap: 8px; margin: 14px 0 0; padding: 0; }
.wiz-steps li { display: flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; color: var(--muted); }
.wiz-steps b { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .78rem; border: 2px solid var(--border); transition: all .3s var(--ease-out); }
.wiz-steps li.cur { color: var(--heading); }
.wiz-steps li.cur b { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); box-shadow: 0 6px 16px var(--glow); }
.wiz-steps li.done b { color: #fff; border-color: transparent; background: var(--ok); }
.wiz-steps li.done b::before { content: "\2713"; }
.wiz-steps li.done b { font-size: 0; } .wiz-steps li.done b::before { font-size: .8rem; }

.wiz-on [data-wiz]:not(.wiz-cur) { display: none; }
.wiz-on [data-wiz].wiz-cur { animation: rise .45s var(--ease-out) both; }
.wiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 4px; }
.wiz-nav [hidden] { display: none; }
.wiz-nav .btn { min-width: 120px; }
.wiz-nav [data-wiz-next] { margin-left: auto; }
.wiz-on button[type=submit].btn { margin-bottom: 14px; }
@media (max-width: 760px) {
    .wiz-steps li span { display: none; }
    .wiz-steps li.cur span { display: inline; }
    .wiz-steps { justify-content: flex-start; gap: 14px; }
    .wiz-nav .btn { flex: 1; }
}

:root[data-theme="light"] .mock-list em.wait { color: #8a5300; }
