/* ==========================================================================
   Rankdone IA: landing page
   1. Tokens  2. Base  3. Componentes  4. Header/Menu  5. Seções
   6. Animações  7. Responsivo  8. Movimento reduzido
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
    --action: #7C3AED;
    --action-hover: #5B21B6;
    --brand: #9354F0;
    --ink: #15112B;
    --ink-2: #4A4560;
    --ink-3: #625C7A;
    --line: #ECE7F6;
    --lilac: #F3EEFF;
    --lilac-line: #E4D8FD;
    --tint: #FBFAFE;
    --dark: #0F0824;
    --dark-2: #15112B;
    --card-d: #1A1333;
    --on-d: #ECE8F8;
    --on-d-2: #ADA4C9;
    --violet-l: #C4A6FA;
    --ok-bg: #E9F7EF;
    --ok: #166534;
    --bad-bg: #FEF2F2;
    --bad: #B91C1C;

    --f-head: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    --f-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --radius: 20px;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

/* 2. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: #FFFFFF;
    color: var(--ink);
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

body.no-scroll { overflow: hidden; }

h1, h2, h3, h4 {
    font-family: var(--f-head);
    margin: 0;
    letter-spacing: -0.03em;
    line-height: 1.08;
}

p, figure, blockquote { margin: 0; }
img, svg { display: block; max-width: 100%; }
.icon { flex: none; }

a { color: var(--action); }
a:hover { color: var(--action-hover); }

[id] { scroll-margin-top: 84px; }

:where(a, button):focus-visible {
    outline: 3px solid var(--violet-l);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    background: var(--ink);
    color: #FFFFFF;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    transition: top .2s;
}
.skip-link:focus { top: 12px; color: #FFFFFF; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

.sec { padding: 120px 0; }
.sec--flat-top { padding-top: 0; }
.sec--tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 800; }
.sub { font-size: 18px; color: var(--ink-3); margin-top: 14px; }
.micro { font-size: 13px; color: var(--ink-3); margin-top: 16px; }
.lbl { font-size: 12px; color: var(--ink-3); font-weight: 500; }

.big {
    font-family: var(--f-head);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1;
}

/* 3. Componentes -------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: 0;
    font: 600 15px/1 var(--f-body);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-p {
    background: var(--action);
    color: #FFFFFF;
    box-shadow: 0 8px 24px -10px rgba(124, 58, 237, .8), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-p:hover { background: var(--action-hover); color: #FFFFFF; transform: translateY(-1px); }
.btn-g { background: #FFFFFF; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(21, 17, 43, .05); }
.btn-g:hover { background: var(--lilac); color: var(--ink); }
.btn-w { background: #FFFFFF; color: var(--action-hover); }
.btn-w:hover { background: var(--lilac); color: var(--action-hover); }
.btn--block { width: 100%; margin-top: 12px; }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 6px;
    border-radius: 999px;
    border: 1px solid var(--lilac-line);
    background: #FFFFFF;
    color: var(--action-hover);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(21, 17, 43, .04);
}
.pill b { background: var(--action); color: #FFFFFF; font-size: 11px; padding: 3px 8px; border-radius: 999px; }

.live { width: 8px; height: 8px; border-radius: 99px; background: #22C55E; flex: none; animation: live 1.8s infinite; }

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 99px;
    background: var(--ok-bg);
    color: var(--ok);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.tag--v { background: var(--lilac); color: var(--action-hover); }
.tag--tiny { padding: 4px; }

.chip { font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 99px; background: var(--lilac); color: var(--action-hover); white-space: nowrap; }
.chip--bad { background: #FEE2E2; color: #991B1B; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.ic {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    background: var(--lilac);
    color: var(--action);
}
.ic--r { background: var(--bad-bg); color: var(--bad); }
.ic--sm { width: 32px; height: 32px; border-radius: 9px; }

.av {
    width: 26px;
    height: 26px;
    border-radius: 99px;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
}
.av--violet { background: #EDE4FF; color: var(--action-hover); }
.av--sky    { background: #E0F2FE; color: #075985; }
.av--pink   { background: #FCE7F3; color: #9D174D; }
.av--lime   { background: #ECFCCB; color: #3F6212; }
.av--muted  { background: #F1EFF5; color: var(--ink-3); }
.av--solid  { background: var(--action); color: #FFFFFF; }
.av--lg     { width: 44px; height: 44px; font-size: 14px; }

.rk { width: 16px; text-align: center; font-family: var(--f-head); font-weight: 800; font-size: 14px; color: var(--action); }

.sk { flex: 1; display: grid; gap: 5px; }
.sk i { display: block; height: 6px; border-radius: 6px; background: #EEEAF6; }
.sk i:last-child { width: 60%; }

.bars { flex: 1; display: grid; gap: 5px; }
.bars span { display: block; height: 5px; border-radius: 5px; background: #EEEAF6; overflow: hidden; }
.bars b { display: block; height: 100%; width: var(--w, 50%); background: var(--brand); }

.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 99px; background: #E4DEF2; display: block; }

.logo { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.logo__svg { height: 26px; width: auto; }
.logo--light { color: #FFFFFF; }
.logo--light .logo__svg { height: 28px; }

/* 4. Header e menu mobile ---------------------------------------------- */
.hdr {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .78);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid rgba(236, 231, 246, .9);
}
.hdr__in { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hdr__actions { display: flex; align-items: center; gap: 8px; }
.hdr .btn { min-height: 40px; font-size: 14px; padding: 0 16px; }

.nav { display: flex; gap: 2px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: var(--lilac); }

.burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #FFFFFF;
    color: var(--ink);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.burger--show { display: inline-flex; }

.mm { position: fixed; inset: 0; z-index: 80; pointer-events: none; visibility: hidden; transition: visibility 0s .35s; }
.mm.is-open { pointer-events: auto; visibility: visible; transition: visibility 0s; }
.mm__bg { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(15, 8, 36, .55); opacity: 0; transition: opacity .3s; cursor: pointer; }
.mm__sheet {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    padding: 14px 14px 18px;
    border-radius: 20px;
    background: #FFFFFF;
    box-shadow: 0 30px 60px -20px rgba(15, 8, 36, .5);
    opacity: 0;
    transform: translateY(-16px) scale(.98);
    transition: transform .35s var(--ease), opacity .25s;
}
.mm.is-open .mm__bg { opacity: 1; }
.mm.is-open .mm__sheet { opacity: 1; transform: none; }
.mm__top { display: flex; justify-content: flex-end; margin-bottom: 4px; }
.mm__nav { display: grid; gap: 2px; }
.mm__link {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 12px;
    border-radius: 12px;
    color: var(--ink);
    text-decoration: none;
    font: 600 20px/1.2 var(--f-head);
}
.mm__link:hover { background: var(--lilac); color: var(--ink); }

/* 5. Seções ------------------------------------------------------------- */

/* Hero */
.hero { position: relative; padding: 88px 0 0; overflow: hidden; }
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(124, 58, 237, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, .07) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(800px 420px at 50% 0%, #000 30%, transparent 75%);
    mask-image: radial-gradient(800px 420px at 50% 0%, #000 30%, transparent 75%);
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 420px;
    width: 1100px;
    height: 520px;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(147, 84, 240, .28), rgba(147, 84, 240, 0));
    pointer-events: none;
}
.hero__in { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; text-align: center; }
.hero__title { margin-top: 24px; font-size: clamp(2.4rem, 5vw, 4.1rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; }
.hero__title span { color: var(--action); }
.hero__sub { max-width: 620px; margin: 20px auto 0; font-size: 19px; }

/* Painel do produto */
.app-wrap { position: relative; z-index: 1; max-width: 1120px; margin: 64px auto 0; padding: 0 24px; }
.app {
    position: relative;
    overflow: hidden;
    border: 1px solid #E4DCF7;
    border-bottom: 0;
    border-radius: 20px 20px 0 0;
    background: #FFFFFF;
    box-shadow: 0 -1px 0 rgba(255, 255, 255, .9) inset, 0 50px 100px -40px rgba(91, 33, 182, .45);
}
.app__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #FBFAFE; }
.app__url {
    flex: 1;
    max-width: 320px;
    margin: 0 auto;
    padding: 5px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #FFFFFF;
    color: var(--ink-3);
    font-size: 12px;
    text-align: center;
}
.app__spacer { width: 54px; }
.app__body { display: grid; grid-template-columns: 200px minmax(0, 1fr) 260px; min-height: 470px; }

.app__side { display: flex; flex-direction: column; gap: 4px; padding: 16px 12px; border-right: 1px solid var(--line); background: #FCFBFF; }
.side-i { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.side-i.is-on { background: var(--lilac); color: var(--action-hover); font-weight: 600; }
.side-b { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #FFFFFF; font-size: 12px; color: var(--ink-3); }

.app__main { padding: 18px 18px 0; }
.app__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.app__title { display: flex; align-items: center; gap: 10px; }
.app__title strong { font-family: var(--f-head); font-size: 16px; }

.kan { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kan__col { min-height: 380px; padding: 10px; border-radius: 12px; background: #F8F6FC; }
.kan__col--short { background: var(--lilac); }
.kan__head { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 10px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.kc {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #FFFFFF;
    box-shadow: 0 1px 2px rgba(21, 17, 43, .04);
}
.kc--off { opacity: .45; }

.app__kpi { display: flex; flex-direction: column; gap: 14px; padding: 18px 16px; border-left: 1px solid var(--line); background: #FFFFFF; }
.app__kpi-h { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.meter { display: grid; gap: 6px; font-size: 12px; color: var(--ink-3); }
.meter span { display: block; height: 6px; border-radius: 6px; background: #EEEAF6; overflow: hidden; }
.meter b { display: block; height: 100%; width: var(--w); border-radius: 6px; background: var(--action); transform-origin: left; }

.alert { display: grid; gap: 10px; padding: 12px; border: 1px solid #FDE7C2; border-radius: 12px; background: #FFFBF2; color: #7A4B00; font-size: 12px; }
.alert__actions { display: flex; gap: 6px; }
.mini-btn { padding: 6px 10px; border: 1px solid #F4D9A8; border-radius: 8px; background: #FFFFFF; color: #7A4B00; font-size: 11px; font-weight: 600; }
.mini-btn--p { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }

.toast {
    position: absolute;
    left: 24px;
    bottom: 24px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--ink);
    color: #FFFFFF;
    font-size: 13px;
    box-shadow: 0 20px 40px -16px rgba(15, 8, 36, .6);
    opacity: 0;
}
.toast__ic { width: 30px; height: 30px; border-radius: 9px; background: var(--action); display: inline-flex; align-items: center; justify-content: center; }

/* Logos */
.logos { position: relative; z-index: 2; padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #FFFFFF; }
.logos__title { text-align: center; font-size: 14px; font-weight: 500; color: var(--ink-3); }
.marq {
    overflow: hidden;
    margin-top: 24px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.marq__track { display: flex; width: max-content; gap: 80px; animation: marq 34s linear infinite; }
.marq:hover .marq__track { animation-play-state: paused; }
.wm { font: 700 24px/1.2 var(--f-head); color: #9C95B5; white-space: nowrap; }

/* Dores */
.pains {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--line);
}
.pain { display: grid; align-content: start; gap: 12px; padding: 28px 24px; background: #FFFFFF; }
.pain h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; }
.pain p { font-size: 14px; color: var(--ink-3); }

/* 16 → 2 */
.flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fcard { padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: #FFFFFF; }
.fcard--d { background: var(--dark-2); border-color: var(--dark-2); color: #FFFFFF; }
.fcard__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 28px; }
.fcard__meta h3 { font-size: 20px; font-weight: 700; }
.fcard__time { font-size: 14px; font-weight: 600; }
.fcard__time--bad { color: var(--bad); }
.fcard__time--good { color: var(--violet-l); }
.fcard__note { margin-top: 20px; font-size: 14px; color: var(--ink-3); }
.fcard__note--d { color: var(--on-d-2); }

.tiles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.tiles i { display: block; aspect-ratio: 1; border-radius: 10px; background: #F1EEF7; border: 1px dashed #DDD6EC; }

.two { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: center; }
.ttile { display: flex; flex-direction: column; justify-content: space-between; min-height: 120px; padding: 18px; border-radius: 16px; background: var(--action); }
.ttile small { font-size: 12px; font-weight: 600; color: #E4D8FD; }
.ttile strong { font: 700 18px/1.2 var(--f-head); }

.agentband { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 120px; font-size: 12px; color: var(--on-d-2); text-align: center; }
.agents { display: grid; grid-template-columns: repeat(4, 10px); gap: 5px; }
.agents i { display: block; width: 10px; height: 10px; border-radius: 3px; background: var(--brand); opacity: .3; animation: ag 2.4s infinite; }
.agents i:nth-child(2)  { animation-delay: .2s; }
.agents i:nth-child(3)  { animation-delay: .4s; }
.agents i:nth-child(4)  { animation-delay: .6s; }
.agents i:nth-child(5)  { animation-delay: .8s; }
.agents i:nth-child(6)  { animation-delay: 1s; }
.agents i:nth-child(7)  { animation-delay: 1.2s; }
.agents i:nth-child(8)  { animation-delay: 1.4s; }
.agents i:nth-child(9)  { animation-delay: 1.6s; }
.agents i:nth-child(10) { animation-delay: 1.8s; }
.agents i:nth-child(11) { animation-delay: 2s; }
.agents i:nth-child(12) { animation-delay: 2.2s; }

/* Agentes: abas com sanfona (grid-template-rows) */
.tabs { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.tabs__list { display: grid; gap: 4px; }
.ti { border-radius: 16px; transition: background .3s, box-shadow .3s; }
.ti.is-open { background: #FFFFFF; box-shadow: 0 1px 2px rgba(21, 17, 43, .05), 0 0 0 1px var(--line); }
.ti__btn {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 0;
    border-radius: 16px;
    background: none;
    color: var(--ink-3);
    font: 700 18px/1.25 var(--f-head);
    letter-spacing: -0.015em;
    text-align: left;
    cursor: pointer;
}
.ti.is-open .ti__btn { color: var(--ink); }
.ti .ic { width: 36px; height: 36px; transition: background .25s, color .25s; }
.ti.is-open .ic { background: var(--action); color: #FFFFFF; }
.ti__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.ti.is-open .ti__panel { grid-template-rows: 1fr; }
.ti__panel > div { overflow: hidden; }
.ti__panel p { padding: 0 16px 14px 66px; color: var(--ink-3); font-size: 15px; }
.prog { height: 2px; margin: 0 16px 14px 66px; border-radius: 2px; background: var(--line); overflow: hidden; }
.prog b { display: block; height: 100%; background: var(--action); transform-origin: left; transform: scaleX(0); }
.tabs.is-auto .ti.is-open .prog b { animation: prog var(--tab-time, 6s) linear forwards; }
.tabs.is-manual .ti.is-open .prog b { transform: scaleX(1); }

.shot { padding: 28px; border: 1px solid var(--lilac-line); border-radius: var(--radius); background: linear-gradient(160deg, #EFE7FF, #F8F5FF); }
.win { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #FFFFFF; box-shadow: 0 30px 60px -30px rgba(91, 33, 182, .4); }
.win__bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 500; color: var(--ink-3); }
.win__live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-weight: 600; }
.stage { position: relative; height: 420px; }
.mk {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity .45s, transform .45s var(--ease);
}
.mk.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mk__foot { margin-top: auto; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #FFFFFF; font-size: 14px; }
.row strong { flex: 1; font-weight: 600; }
.row--off { opacity: .5; }

.wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 120px; border: 1px solid var(--line); border-radius: 12px; background: #FBFAFE; }
.wave i { display: block; width: 5px; height: 20%; border-radius: 4px; background: var(--brand); animation: wv 1.1s ease-in-out infinite; animation-delay: var(--d, 0s); }
.wave--card { height: 96px; background: #FFFFFF; }

/* Recursos: bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bc {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 300px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--tint);
}
.bc h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.bc p { font-size: 15px; color: var(--ink-3); }
.bc__vis { margin-top: auto; padding-top: 24px; }
.bc--wide { grid-column: span 2; }
.bc--d { background: var(--dark-2); border-color: var(--dark-2); }
.bc--d h3 { color: #FFFFFF; }
.bc--d p { color: var(--on-d-2); }
.bc--v { background: var(--action); border-color: var(--action); justify-content: space-between; }
.bc--v h3, .bc--v .bc__huge { color: #FFFFFF; }
.bc--v p { color: #EDE4FF; }
.bc .bc__huge { font-size: 104px; color: #FFFFFF; }
.bc .bc__60 { font-size: 72px; color: var(--action); }

.wa { display: grid; gap: 8px; max-width: 420px; }
.wb { max-width: 80%; padding: 10px 12px; border-radius: 14px; font-size: 13px; line-height: 1.4; }
.wb--me { justify-self: end; background: var(--action); color: #FFFFFF; border-bottom-right-radius: 4px; }
.wb--it { background: #FFFFFF; border: 1px solid var(--line); border-bottom-left-radius: 4px; }

.doc { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #FFFFFF; box-shadow: 0 10px 30px -18px rgba(91, 33, 182, .35); }
.doc__row { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 12px; color: var(--ink-3); }

.ctl { display: flex; flex-wrap: wrap; gap: 8px; }
.ctl span { padding: 8px 12px; border: 1px solid rgba(196, 166, 250, .2); border-radius: 10px; background: rgba(196, 166, 250, .12); color: var(--on-d); font-size: 12px; font-weight: 600; }
.ctl span.is-on { background: #FFFFFF; border-color: #FFFFFF; color: var(--ink); }

.crit { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.crit li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #FFFFFF; font-size: 13px; font-weight: 500; }

/* Pesquisas (faixa escura) */
.dk { position: relative; overflow: hidden; background: var(--dark); color: var(--on-d); }
.dk::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(196, 166, 250, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(196, 166, 250, .06) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(700px 400px at 50% 0%, #000, transparent);
    mask-image: radial-gradient(700px 400px at 50% 0%, #000, transparent);
    pointer-events: none;
}
.dk .wrap { position: relative; }
.dk .h2 { color: #FFFFFF; }
.dk .sub { color: var(--on-d-2); }
.rs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rs__card { padding: 28px; border: 1px solid rgba(196, 166, 250, .14); border-radius: var(--radius); background: var(--card-d); }
.rs__card .big { font-size: 56px; color: #FFFFFF; }
.rs__text { margin-top: 12px; font-size: 15px; color: var(--on-d-2); }
.src { display: block; margin-top: 18px; font-size: 12px; font-weight: 600; color: var(--violet-l); }
.gq {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin-top: 16px;
    padding: 24px 28px;
    border: 1px solid rgba(196, 166, 250, .14);
    border-radius: var(--radius);
}
.gq blockquote { font: 600 18px/1.4 var(--f-head); letter-spacing: -0.01em; color: #FFFFFF; }
.gq .src { margin-top: 0; }

/* Prova social */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.stat { padding: 32px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat .big { font-size: clamp(2.4rem, 4vw, 3.4rem); }
.stat__label { margin-top: 8px; font-size: 14px; font-weight: 500; color: var(--ink-3); }

.testi {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 32px;
    margin-top: 16px;
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--tint);
}
.testi blockquote { font: 600 clamp(1.25rem, 2vw, 1.6rem)/1.35 var(--f-head); letter-spacing: -0.015em; }
.testi__who { display: flex; align-items: center; gap: 12px; line-height: 1.35; }
.testi__who strong { display: block; }
.testi__role { font-size: 13px; color: var(--ink-3); }

/* Preço e garantia */
.price { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 16px; }
.pc { padding: 36px; border: 1px solid var(--line); border-radius: 24px; background: #FFFFFF; }
.pc--d { background: var(--dark-2); border-color: var(--dark-2); color: #FFFFFF; }
.pc__title { margin-top: 16px; font-size: 26px; }
.pc--d .pc__title { margin-top: 20px; color: #FFFFFF; }
.pc__text { margin-top: 10px; color: var(--on-d-2); }
.pc__btn { margin-top: 28px; }
.lockbox { width: 52px; height: 52px; border-radius: 14px; background: var(--action); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; }
.ck { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.ck li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.ck span { width: 22px; height: 22px; border-radius: 99px; background: var(--lilac); color: var(--action); display: inline-flex; align-items: center; justify-content: center; flex: none; }

.soon {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    padding: 28px;
    border: 1px dashed #D8CCF5;
    border-radius: var(--radius);
    background: var(--tint);
}
.soon b { padding: 5px 10px; border-radius: 6px; background: var(--ink); color: #FFFFFF; font-size: 12px; }
.soon span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: #FFFFFF; color: var(--ink-2); font-size: 14px; font-weight: 500; }

/* CTA final */
.fin { position: relative; overflow: hidden; padding: 88px 32px; border-radius: 32px; background: var(--dark-2); color: #FFFFFF; text-align: center; }
.fin::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -260px;
    width: 900px;
    height: 520px;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(147, 84, 240, .45), rgba(147, 84, 240, 0));
    pointer-events: none;
}
.fin::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(196, 166, 250, .18) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(600px 300px at 50% 100%, #000, transparent);
    mask-image: radial-gradient(600px 300px at 50% 100%, #000, transparent);
    pointer-events: none;
}
.fin > * { position: relative; z-index: 1; }
.fin__title { max-width: 720px; margin: 0 auto; color: #FFFFFF; }
.fin__sub, .fin__micro { color: var(--on-d-2); }
.fin__sub { max-width: 520px; margin-left: auto; margin-right: auto; }

/* Footer */
.ft { margin-top: 120px; padding: 64px 0 40px; background: var(--dark); color: var(--on-d-2); }
.ft a { color: var(--on-d-2); text-decoration: none; }
.ft a:hover { color: #FFFFFF; }
.ft__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.ft__tag { margin-top: 14px; }
.ft__tag strong { color: #FFFFFF; }
.ft__nav { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; font-weight: 500; }
.ft__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 48px; padding-top: 24px; border-top: 1px solid #2A2245; font-size: 13px; }
.ft__contacts { display: flex; flex-wrap: wrap; gap: 20px; }

/* Página 404 */
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 64px 0; }
.error-page .logo { justify-content: center; }
.error-page__code { margin: 48px 0 16px; font-size: 96px; color: var(--action); }

/* Desfoque progressivo (estilo Apple) */
.pblur { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: 110px; pointer-events: none; transition: opacity .45s; }
.pblur.is-hidden { opacity: 0; }
.pblur > div { position: absolute; inset: 0; }
.pblur > div:nth-child(1) { -webkit-backdrop-filter: blur(.5px); backdrop-filter: blur(.5px); -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12.5%, #000 25%, transparent 37.5%); mask-image: linear-gradient(to bottom, transparent 0%, #000 12.5%, #000 25%, transparent 37.5%); }
.pblur > div:nth-child(2) { -webkit-backdrop-filter: blur(1px); backdrop-filter: blur(1px); -webkit-mask-image: linear-gradient(to bottom, transparent 12.5%, #000 25%, #000 37.5%, transparent 50%); mask-image: linear-gradient(to bottom, transparent 12.5%, #000 25%, #000 37.5%, transparent 50%); }
.pblur > div:nth-child(3) { -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); -webkit-mask-image: linear-gradient(to bottom, transparent 25%, #000 37.5%, #000 50%, transparent 62.5%); mask-image: linear-gradient(to bottom, transparent 25%, #000 37.5%, #000 50%, transparent 62.5%); }
.pblur > div:nth-child(4) { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); -webkit-mask-image: linear-gradient(to bottom, transparent 37.5%, #000 50%, #000 62.5%, transparent 75%); mask-image: linear-gradient(to bottom, transparent 37.5%, #000 50%, #000 62.5%, transparent 75%); }
.pblur > div:nth-child(5) { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); -webkit-mask-image: linear-gradient(to bottom, transparent 50%, #000 62.5%, #000 75%, transparent 87.5%); mask-image: linear-gradient(to bottom, transparent 50%, #000 62.5%, #000 75%, transparent 87.5%); }
.pblur > div:nth-child(6) { -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); -webkit-mask-image: linear-gradient(to bottom, transparent 62.5%, #000 75%, #000 87.5%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 62.5%, #000 75%, #000 87.5%, transparent 100%); }
.pblur > div:nth-child(7) { -webkit-backdrop-filter: blur(32px); backdrop-filter: blur(32px); -webkit-mask-image: linear-gradient(to bottom, transparent 75%, #000 87.5%, #000 100%); mask-image: linear-gradient(to bottom, transparent 75%, #000 87.5%, #000 100%); }

/* 6. Animações ---------------------------------------------------------- */

/* Reveal no scroll: só esconde se o JS estiver ativo */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }

/* Painel do hero: ciclo de 12s */
.pp { animation: pp 12s infinite both; animation-delay: var(--d, 0s); }
.meter b { animation: grow 12s infinite both; animation-delay: var(--d, 0s); }
.toast--1 { animation: toast1 12s infinite both; }
.toast--2 { animation: toast2 12s infinite both; }

@keyframes pp     { 0% { opacity: 0; transform: translateY(6px) scale(.98); } 4%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes grow   { 0% { transform: scaleX(.1); } 40%, 100% { transform: scaleX(1); } }
@keyframes toast1 { 0%, 2% { opacity: 0; transform: translateY(12px); } 6%, 30% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; transform: translateY(12px); } }
@keyframes toast2 { 0%, 62% { opacity: 0; transform: translateY(12px); } 66%, 92% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(12px); } }
@keyframes live   { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); } 70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
@keyframes marq   { to { transform: translateX(-50%); } }
@keyframes ag     { 0%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes wv     { 0%, 100% { height: 16%; } 50% { height: 70%; } }
@keyframes prog   { to { transform: scaleX(1); } }

/* 7. Responsivo --------------------------------------------------------- */
@media (max-width: 1024px) {
    .nav, .hdr__cta { display: none; }
    .burger { display: inline-flex; }

    .app__body { grid-template-columns: minmax(0, 1fr); }
    .app__side, .app__kpi { display: none; }

    .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tabs, .flow, .price { grid-template-columns: minmax(0, 1fr); }
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat:nth-child(3) { border-left: 0; }
    .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 720px) {
    .sec { padding: 88px 0; }
    .sec--flat-top { padding-top: 0; }
    .hero { padding-top: 56px; }
    .hero__sub { font-size: 17px; }

    .app-wrap { padding: 0 12px; }
    .app__main { padding: 14px 14px 0; }
    .kan { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
    .kan__col { min-width: 200px; min-height: 300px; scroll-snap-align: start; }
    .app__body { min-height: 0; }
    .app__head { flex-wrap: wrap; }
    .toast { left: 12px; right: 12px; bottom: 12px; }

    .pains, .bento, .rs { grid-template-columns: minmax(0, 1fr); }
    .bc--wide { grid-column: auto; }
    .bc { min-height: 0; }
    .bc .bc__huge { font-size: 80px; }

    .tiles { gap: 5px; }
    .two { grid-template-columns: minmax(0, 1fr); }
    .agentband { width: auto; flex-direction: row; justify-content: center; }

    .ti__btn { font-size: 16px; padding: 14px; }
    .ti__panel p { padding-left: 14px; }
    .prog { margin-left: 14px; }
    .shot { padding: 12px; }
    .stage { height: 400px; }

    .testi { grid-template-columns: minmax(0, 1fr); padding: 24px; }
    .fcard, .pc { padding: 24px; }
    .fin { padding: 64px 20px; border-radius: 24px; }
    .ft { margin-top: 88px; }
}

/* 8. Movimento reduzido ------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .js .rv { opacity: 1; transform: none; }
    .pp, .meter b { animation: none; opacity: 1; transform: none; }
    .toast { display: none; }
    .marq__track { flex-wrap: wrap; justify-content: center; width: auto; gap: 24px 48px; animation: none; }
    .marq__track .wm:nth-child(n + 7) { display: none; }
    .marq { -webkit-mask-image: none; mask-image: none; }
}
