/* =====================================================================
   OK Legis — site institucional
   Tema híbrido: base clara institucional + hero/seções dark com gradiente
   ===================================================================== */

:root {
    /* Marca */
    --ok-blue:      #1763d6;
    --ok-blue-700:  #0f4aa8;
    --ok-cyan:      #18c7d6;
    --ok-cyan-300:  #5fe0ec;
    --ok-grad:      linear-gradient(120deg, var(--ok-blue) 0%, var(--ok-cyan) 100%);
    --ok-grad-soft: linear-gradient(120deg, #e9f2ff 0%, #e6fbfd 100%);

    /* Superfícies claras */
    --bg:        #ffffff;
    --bg-soft:   #f4f7fb;
    --bg-muted:  #eef3f9;
    --ink:       #16243b;
    --ink-soft:  #46556e;
    --muted:     #6b7a90;
    --line:      #e4ebf3;

    /* Dark (hero e seções de destaque) */
    --dark:      #0a1428;
    --dark-2:    #0e1d3a;
    --dark-card: rgba(255, 255, 255, .06);
    --dark-line: rgba(255, 255, 255, .12);

    --radius:    18px;
    --radius-sm: 12px;
    --shadow:    0 18px 50px -22px rgba(17, 49, 99, .35);
    --shadow-sm: 0 8px 24px -12px rgba(17, 49, 99, .28);

    --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display-title { font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
p { color: var(--ink-soft); line-height: 1.7; }
a { text-decoration: none; }

.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section-sm { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.text-grad {
    background: var(--ok-grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--ok-blue); background: var(--ok-grad-soft);
    padding: .4rem .9rem; border-radius: 100px;
}
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.9rem); margin: 1rem 0 .75rem; }
.section-lead { font-size: 1.1rem; max-width: 640px; }
.text-center .section-lead { margin-inline: auto; }

/* ---------- Botões ---------- */
.btn { font-weight: 700; border-radius: 100px; padding: .6rem 1.3rem; font-size: .92rem; transition: .25s; }
.btn-lg { padding: .72rem 1.5rem; font-size: 1rem; }
.btn-grad {
    background: var(--ok-blue); color: #fff; border: 0;
}
.btn-grad:hover { color: #fff; background: var(--ok-blue-700); transform: translateY(-2px); }
.btn-grad i { margin-right: .5rem; }
.btn-ghost-light { color: #fff; border: 1.5px solid rgba(255,255,255,.4); background: rgba(255,255,255,.05); }
.btn-ghost-light:hover { color: #fff; background: rgba(255,255,255,.14); border-color: #fff; }
.btn-outline-brand { color: var(--ok-blue); border: 1.5px solid var(--ok-blue); }
.btn-outline-brand:hover { background: var(--ok-blue); color: #fff; }

/* ---------- Navbar ---------- */
.navbar.ok-nav {
    padding: 1rem 0; transition: .3s;
    background: #00000021;
}
.navbar.ok-nav.scrolled {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 6px 24px -16px rgba(10,20,40,.5);
    padding: .55rem 0;
}
.ok-brand { display: flex; align-items: center; }
.ok-logo { height: 42px; width: auto; display: block; transition: height .3s; }
.ok-nav.scrolled .ok-logo { height: 36px; }
.ok-logo--dark { display: none; }
.ok-nav.scrolled .ok-logo--light { display: none; }
.ok-nav.scrolled .ok-logo--dark { display: block; }
.ok-nav .nav-link { color: rgba(255,255,255,.88); font-weight: 600; margin: 0 .15rem; position: relative; }
.ok-nav .nav-link:hover, .ok-nav .nav-link.active { color: #fff; }
.ok-nav.scrolled .nav-link { color: var(--ink-soft); }
.ok-nav.scrolled .nav-link:hover, .ok-nav.scrolled .nav-link.active { color: var(--ok-blue); }
.ok-nav .nav-link::after {
    content: ""; position: absolute; left: .8rem; right: .8rem; bottom: -2px; height: 2px;
    background: var(--ok-grad); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: .25s;
}
.ok-nav .nav-link:hover::after, .ok-nav .nav-link.active::after { transform: scaleX(1); }

/* ===== Mega-menu ===== */
.ok-caret { font-size: .62rem; margin-left: .15rem; transition: transform .25s; opacity: .8; }
.has-mega:hover .ok-caret { transform: rotate(180deg); }
.ok-nav .has-mega { position: static; }
.ok-mega {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(14px);
    background: #fff; border: 1px solid var(--line); border-radius: 18px;
    box-shadow: 0 30px 70px -24px rgba(10,20,40,.45); padding: 22px 24px;
    opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s ease, transform .22s ease, visibility .22s;
    z-index: 1050;
}
.ok-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -30px; height: 30px; } /* ponte do hover (cobre o vão até a navbar) */
.has-mega:hover .ok-mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(2px); }
.ok-mega--feats { width: min(920px, 92vw); }
.ok-mega--steps { width: min(560px, 92vw); }
.ok-mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 26px; }
.ok-mega-title { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 4px 8px 8px; }
.ok-mega-col > a { display: flex; align-items: flex-start; gap: 11px; padding: 9px 10px; border-radius: 11px; transition: background .2s; }
.ok-mega-col > a:hover { background: var(--bg-soft); }
.ok-mega-col > a > i { font-size: 1.1rem; color: var(--ok-blue); margin-top: 2px; width: 22px; text-align: center; flex: 0 0 22px; }
.ok-mega-col > a b { display: block; font-size: .92rem; color: var(--ink); font-weight: 700; line-height: 1.2; }
.ok-mega-col > a small { display: block; font-size: .78rem; color: var(--muted); }
.ok-mega-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.ok-mega-foot > span { font-size: .82rem; color: var(--ink-soft); font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.ok-mega-foot > span i { color: var(--ok-cyan); }
.ok-mega-cta { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .86rem; color: var(--ok-blue); }
.ok-mega-cta:hover { gap: 11px; color: var(--ok-blue-700); }
/* steps */
.ok-mega-head { margin-bottom: 12px; }
.ok-mega-eyebrow { font-size: .76rem; font-weight: 800; color: var(--ok-blue); display: inline-flex; align-items: center; gap: 6px; }
.ok-mega-head p { margin: 4px 0 0; font-size: .84rem; color: var(--muted); }
.ok-mega-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 14px; }
.ok-mega-steps > a { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 11px; transition: background .2s; }
.ok-mega-steps > a:hover { background: var(--bg-soft); }
.ok-step-n { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--ok-grad); color: #fff; font-weight: 800; font-size: .82rem; display: grid; place-items: center; }
.ok-step-tx { display: flex; flex-direction: column; line-height: 1.25; }
.ok-mega-steps > a b { font-size: .9rem; color: var(--ink); font-weight: 700; }
.ok-mega-steps > a small { font-size: .76rem; color: var(--muted); }
@media (max-width: 991.98px) {
    .ok-mega { display: none; }
    .ok-caret { display: none; }
}
.navbar-toggler { border: 0; color: #fff; font-size: 1.5rem; }
.ok-nav.scrolled .navbar-toggler { color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: 100svh; display: flex; align-items: center;
    color: #fff; overflow: hidden; background: var(--dark);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media video, .hero__media img {
    width: 100%; height: 100%; object-fit: cover;
}
.hero__media img.kenburns { animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1) translate(0,0);} to { transform: scale(1.18) translate(-2%, -2%);} }
.hero__overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(180deg, rgba(10,20,40,.55) 0%, rgba(10,20,40,.35) 40%, rgba(10,20,40,.85) 100%),
        linear-gradient(120deg, rgba(15,74,168,.55), rgba(10,20,40,.2));
}
.hero__content { position: relative; z-index: 2; padding-top: 7rem; padding-bottom: 5rem; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.12; font-weight: 800; }
/* gradiente do destaque mais claro no hero (fundo escuro) */
.hero .text-grad { background: linear-gradient(120deg, #4d9bff 0%, #5fe0ec 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255,255,255,.85); max-width: 620px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero__badge {
    display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
    padding: .45rem .9rem; border-radius: 100px; backdrop-filter: blur(6px);
}
.hero__scroll { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.7); animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%,100%{transform: translate(-50%,0);} 50%{transform: translate(-50%,8px);} }

/* faixa de pílulas de funcionalidades sob o hero */
.hero__feature-strip {
    position: relative; z-index: 2; margin-top: 2.5rem;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.hero__feature {
    background: var(--dark-card); border: 1px solid var(--dark-line); border-radius: var(--radius-sm);
    padding: 1.1rem 1.25rem; backdrop-filter: blur(8px);
}
.hero__feature i { font-size: 1.5rem; color: var(--ok-cyan-300); }
.hero__feature h6 { margin: .5rem 0 .15rem; font-weight: 700; }
.hero__feature small { color: rgba(255,255,255,.7); }

/* ---------- Pilares ---------- */
.pillar {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 2rem; height: 100%; transition: .3s; box-shadow: var(--shadow-sm);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.pillar__icon {
    width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
    background: var(--ok-grad-soft); color: var(--ok-blue); font-size: 1.7rem; margin-bottom: 1.1rem;
}
.pillar:hover .pillar__icon { background: var(--ok-grad); color: #fff; }

/* ---------- Sobre / stats ---------- */
.about-card {
    background: var(--ok-grad); color: #fff; border-radius: var(--radius);
    padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow);
}
.stat { text-align: center; }
.stat__num { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1; }
.stat__label { font-size: .92rem; color: var(--muted); margin-top: .35rem; }
.section-dark .stat__label { color: rgba(255,255,255,.75); }
.about-card .stat__label { color: rgba(255,255,255,.82); }   /* rótulos brancos sobre o card gradiente */

/* ---------- Seção escura ---------- */
.section-dark { background: radial-gradient(1200px 600px at 80% -10%, #14264d 0%, var(--dark) 55%); color: #fff; position: relative; }
.section-dark .section-lead, .section-dark p { color: rgba(255,255,255,.78); }
.section-dark .eyebrow { color: #fff; background: rgba(255,255,255,.1); }

/* ---------- Como funciona (stepper) ---------- */
.steps { position: relative; }
.step {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.6rem; height: 100%; position: relative; overflow: hidden; transition: .3s;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step__num {
    font-size: 2.6rem; font-weight: 800; line-height: 1;
    -webkit-text-stroke: 1.5px var(--ok-blue); -webkit-text-fill-color: transparent; opacity: .35;
}
.step__icon { font-size: 1.6rem; color: var(--ok-cyan); }
.step h5 { margin: .6rem 0 .4rem; font-weight: 700; }

/* ---------- Funcionalidades / wireframes ---------- */
.feature-card {
    position: relative;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; height: 100%; transition: .3s; box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-card.is-wide { grid-column: span 2; }
.feature-card__wire {
    position: relative; aspect-ratio: 16 / 10; background: linear-gradient(160deg, #f8fafc, #eef2f8);
    overflow: hidden; border-bottom: 1px solid var(--line);
}
.feature-card__body { padding: 1.4rem 1.5rem 1.6rem; }
.feature-card__icon { color: var(--ok-blue); font-size: 1.5rem; }
/* garante texto escuro mesmo dentro da seção dark (card é branco) */
.feature-card h5, .section-dark .feature-card h5 { color: var(--ink); font-weight: 700; margin: .25rem 0 .5rem; font-size: 1.15rem; }
.feature-card p, .section-dark .feature-card p { color: var(--ink-soft); }
.feature-card .tag {
    font-size: .68rem; font-weight: 800; letter-spacing: .06em; padding: .2rem .55rem; border-radius: 100px;
    background: var(--ok-grad); color: #fff; text-transform: uppercase;
}
.feature-card .tag.lgpd { background: #1aa179; }
.feature-card .tag.ia { background: linear-gradient(120deg,#7a5cff,#18c7d6); }

/* base dos wireframes (mock dentro do card) */
.wire { position: absolute; inset: 0; padding: 14px; color: #475569; font-size: 11px; }
.wire .wbar { height: 8px; border-radius: 4px; background: #dbe2ec; }
.wire .wdot { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }
.wire .wtop { display: flex; gap: 6px; align-items: center; background: #e2e8f1; margin: -14px -14px 12px; padding: 10px 14px; border-bottom: 1px solid #d3dbe6; }
.wire .wtop .wbar { background: #cdd6e2; }
.wire .wtop .wdot.r { background: #ff6b7d; } .wire .wtop .wdot.y { background: #ffce5a; } .wire .wtop .wdot.g { background: #4cd99a; }
.wire-skeleton { opacity: .0; } /* wireframes específicos no wireframes.css */

/* ---------- Faixa novidades ---------- */
.novidades-band {
    background: var(--ok-grad); color: #fff; border-radius: var(--radius);
    padding: clamp(1.6rem, 3vw, 2.4rem); position: relative; overflow: hidden; box-shadow: var(--shadow);
}
.novidades-band .ver-badge {
    font-weight: 800; background: rgba(255,255,255,.18); border-radius: 100px; padding: .3rem 1rem;
}

/* ---------- Depoimentos ---------- */
.testi {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; height: 100%;
    box-shadow: var(--shadow-sm);
}
.testi__quote { font-size: 1.05rem; color: var(--ink); }
.testi__who { display: flex; align-items: center; gap: .8rem; margin-top: 1.1rem; }
.testi__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--ok-grad-soft); display: grid; place-items: center; color: var(--ok-blue); font-weight: 800; }

/* ---------- Contato ---------- */
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem,3vw,2.4rem); box-shadow: var(--shadow); }
.form-control, .form-select { border-radius: 12px; padding: .8rem 1rem; border-color: var(--line); }
.form-control:focus, .form-select:focus { border-color: var(--ok-blue); box-shadow: 0 0 0 .2rem rgba(23,99,214,.15); }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-item i { font-size: 1.3rem; color: var(--ok-cyan-300); }

/* ---------- Blog ---------- */
.post-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; transition:.3s; box-shadow: var(--shadow-sm); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card__img { aspect-ratio: 16/9; object-fit: cover; width: 100%; background: var(--bg-muted); }
.post-card__body { padding: 1.3rem 1.4rem 1.5rem; }
.post-meta { font-size: .82rem; color: var(--muted); }
.post-cat { font-size:.72rem; font-weight:700; color: var(--ok-blue); text-transform: uppercase; letter-spacing:.05em; }
.article-content { font-size: 1.08rem; }
.article-content img { max-width: 100%; border-radius: var(--radius-sm); }
.article-content h2, .article-content h3 { margin-top: 2rem; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: rgba(255,255,255,.72); padding: 4rem 0 2rem; }
.footer a { color: rgba(255,255,255,.72); transition:.2s; }
.footer a:hover { color: #fff; }
.footer h6 { color: #fff; font-weight: 700; margin-bottom: 1rem; }
.footer__social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); margin-right: .5rem; }
.footer__social a:hover { background: var(--ok-grad); }
.footer__trust { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.1); }
.footer__badge { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 13px; padding: 13px 15px; }
.footer__badge i { font-size: 1.5rem; color: var(--ok-cyan-300); flex: 0 0 auto; }
.footer__badge b { display: block; color: #fff; font-size: .9rem; font-weight: 700; line-height: 1.2; }
.footer__badge span { font-size: .76rem; color: rgba(255,255,255,.6); }
@media (max-width: 991.98px) { .footer__trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .footer__trust { grid-template-columns: 1fr; } }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .88rem; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 1000;
    width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
    display: grid; place-items: center; font-size: 1.8rem; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6);
    animation: wapulse 2.4s infinite;
}
.wa-float:hover { color: #fff; transform: scale(1.08); }
@keyframes wapulse { 0%{box-shadow:0 0 0 0 rgba(37,211,102,.45);} 70%{box-shadow:0 0 0 16px rgba(37,211,102,0);} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0);} }

/* ---------- Responsivo ---------- */
@media (max-width: 991.98px) {
    html { overflow-x: hidden; }   /* evita rolagem lateral no mobile (cena é estática aqui, não usa sticky) */
    .ok-nav .navbar-collapse {
        width: 100%; flex-basis: 100%;
        background: #fff; border-radius: var(--radius); margin-top: .75rem; padding: .5rem;
        box-shadow: var(--shadow); max-height: calc(100vh - 96px); overflow-y: auto;
    }
    .ok-nav .navbar-nav { width: 100%; gap: 2px; }
    .ok-nav .nav-item { width: 100%; }
    .ok-nav .nav-link, .ok-nav .nav-link:hover { color: var(--ink-soft) !important; }
    .ok-nav .nav-link { padding: .7rem .9rem !important; border-radius: 10px; }
    .ok-nav .nav-link:hover { background: var(--bg-soft); }
    .ok-nav .nav-link.active { color: var(--ok-blue) !important; }
    .ok-nav .nav-link::after { display: none; }            /* sem underline animado no menu mobile */
    .ok-nav .nav-item.ms-lg-2 { margin-top: .35rem; padding: .15rem .4rem .3rem; }
    .ok-nav .btn-grad { display: flex; width: 100%; justify-content: center; align-items: center; }
    .hero__feature-strip { grid-template-columns: 1fr; }
    .feature-card.is-wide { grid-column: span 1; }
    /* hero centralizado no mobile */
    .hero__content { text-align: center; }
    .hero__content .hero__sub { margin-left: auto; margin-right: auto; }
    .hero__content .d-flex.flex-wrap.gap-3 { justify-content: center; }
}
@media (max-width: 575.98px) {
    .hero__content { padding-top: 6rem; }
}

/* Failsafe: sem JS, o conteúdo animado por AOS aparece normalmente */
html:not(.js) [data-aos] { opacity: 1 !important; transform: none !important; }
/* Modo preview (?preview=1): revela tudo (QA/impressão) */
html.no-aos [data-aos] { opacity: 1 !important; transform: none !important; }
html.no-aos .hero { min-height: 720px !important; }

/* reduz animações conforme preferência do usuário */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ===== Hero — animação "radar 360º" (câmera cobrindo o ambiente) ===== */
.hero-orbit { position: relative; width: min(440px, 90%); aspect-ratio: 1; margin: 0 auto; }
.hero-orbit__links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero-orbit__links line { stroke: rgba(95,224,236,.35); stroke-width: 1.5; stroke-dasharray: 6 8; animation: orbitFlow 2.4s linear infinite; }
@keyframes orbitFlow { to { stroke-dashoffset: -28; } }
/* anéis concêntricos pulsando */
.hero-orbit__ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(120,180,255,.22); transform: translate(-50%,-50%); }
.hero-orbit__ring.r1 { width: 38%; height: 38%; }
.hero-orbit__ring.r2 { width: 66%; height: 66%; border-color: rgba(120,180,255,.16); }
.hero-orbit__ring.r3 { width: 94%; height: 94%; border-color: rgba(120,180,255,.1); }
.hero-orbit::after { /* pulso que se expande */
    content: ""; position: absolute; left: 50%; top: 50%; width: 26%; height: 26%; border-radius: 50%;
    transform: translate(-50%,-50%); border: 1.5px solid rgba(95,224,236,.5); animation: orbitPulse 2.8s ease-out infinite;
}
@keyframes orbitPulse { 0% { width: 22%; height: 22%; opacity: .8; } 100% { width: 100%; height: 100%; opacity: 0; } }
/* varredura da câmera (cone girando 360º) */
.hero-orbit__sweep {
    position: absolute; left: 50%; top: 50%; width: 94%; height: 94%; border-radius: 50%; transform: translate(-50%,-50%);
    background: conic-gradient(from 0deg, rgba(95,224,236,0) 0deg, rgba(95,224,236,.28) 38deg, rgba(95,224,236,0) 70deg);
    animation: orbitSweep 5s linear infinite; pointer-events: none;
}
@keyframes orbitSweep { to { transform: translate(-50%,-50%) rotate(360deg); } }
/* núcleo (OK Legis cobrindo o ambiente) */
.hero-orbit__core {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 3;
    width: 30%; height: 30%; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center;
    background: var(--ok-grad); color: #fff; box-shadow: 0 0 0 6px rgba(23,99,214,.18), 0 14px 40px -10px rgba(23,99,214,.8);
}
.hero-orbit__core img { width: 64%; max-width: 86px; height: auto; }
.hero-orbit__core em { font-style: normal; font-size: .64rem; font-weight: 800; letter-spacing: .04em; opacity: .95; }
/* nós (áreas do ambiente legislativo) */
.hero-orbit__node {
    position: absolute; transform: translate(-50%,-50%); z-index: 4;
    width: 94px; padding: 9px 6px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center;
    background: rgba(13,27,52,.78); border: 1px solid rgba(120,180,255,.3); color: #eaf2ff;
    backdrop-filter: blur(4px); box-shadow: 0 10px 28px -12px rgba(0,0,0,.7);
    animation: orbitNode 3.5s ease-in-out infinite;
}
.hero-orbit__node i { font-size: 1.3rem; background: var(--ok-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-orbit__node b { font-size: .68rem; font-weight: 700; }
@keyframes orbitNode { 0%,100% { transform: translate(-50%,-50%); } 50% { transform: translate(-50%,-56%); } }
.hero-orbit__node.n1 { left: 50%;   top: 8%; }
.hero-orbit__node.n2 { left: 86.4%; top: 29%; animation-delay: .3s; }
.hero-orbit__node.n3 { left: 86.4%; top: 71%; animation-delay: .6s; }
.hero-orbit__node.n4 { left: 50%;   top: 92%; animation-delay: .9s; }
.hero-orbit__node.n5 { left: 13.6%; top: 71%; animation-delay: 1.2s; }
.hero-orbit__node.n6 { left: 13.6%; top: 29%; animation-delay: 1.5s; }
@media (prefers-reduced-motion: reduce) {
    .hero-orbit__sweep, .hero-orbit::after, .hero-orbit__links line, .hero-orbit__node { animation: none; }
}
.hero-orbit__cap { text-align: center; margin: 16px auto 0; color: rgba(255,255,255,.82); font-size: .92rem; max-width: 360px; }
.hero-orbit__cap b { color: var(--ok-cyan-300); font-weight: 800; }

/* ===== Página de detalhe da funcionalidade — hero dark com imagem ===== */
.fdt-hero { position: relative; padding: 8rem 0 3.6rem; overflow: hidden; background: var(--dark); }
.fdt-hero__media { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); }
.fdt-hero__overlay { position: absolute; inset: 0; background:
    linear-gradient(90deg, rgba(8,16,34,.94) 0%, rgba(8,16,34,.82) 42%, rgba(8,16,34,.45) 100%),
    linear-gradient(180deg, rgba(8,16,34,.55), rgba(8,16,34,.7)); }
.fdt-hero__inner { position: relative; z-index: 2; }
.fdt-back { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .86rem; color: #bcd3ff; }
.fdt-back:hover { color: #fff; }
.fdt-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #5fe0ec; background: rgba(24,199,214,.12); border: 1px solid rgba(24,199,214,.3); padding: .4rem .9rem; border-radius: 100px; }
.fdt-title { font-size: clamp(2rem, 4.4vw, 3.2rem); color: #fff; margin: 1rem 0 .9rem; font-weight: 300; }
/* CTA quadrado com seta + texto ao lado */
.fdt-cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.fdt-cta-btn { position: relative; display: flex; flex-direction: column; justify-content: space-between; width: 168px; height: 138px; padding: 16px 18px; border-radius: 22px; background: var(--ok-grad); color: #fff; transition: transform .25s ease; }
.fdt-cta-btn:hover { color: #fff; transform: translateY(-4px); }
.fdt-cta-btn i { align-self: flex-end; font-size: 1.7rem; transition: transform .25s ease; }
.fdt-cta-btn:hover i { transform: translate(3px, -3px); }
.fdt-cta-btn span { font-size: 1.05rem; font-weight: 700; line-height: 1.25; }
.fdt-cta-text { max-width: 300px; margin: 0; color: rgba(255,255,255,.82); font-size: .95rem; }
.fdt-lead { font-size: 1.12rem; color: rgba(255,255,255,.82); max-width: 540px; }
.fdt-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; }
.fdt-meta span { display: inline-flex; align-items: center; gap: 7px; font-size: .88rem; color: rgba(255,255,255,.85); font-weight: 600; }
.fdt-meta i { color: #4ade80; }
.fdt-frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 18px; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); background: linear-gradient(160deg, #0a1428, #0c1a37); }
/* barra de números */
.fdt-stats { background: #efefef; color: #707070; padding: 1.6rem 0; }
.fdt-stats b { display: block; font-size: 1.7rem; font-weight: 700; line-height: 1; color: #707070; }
.fdt-stats span { font-size: .82rem; }
/* cards "o que está incluído" */
.fdt-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; transition: .25s; }
.fdt-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.fdt-card__ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; background: var(--ok-grad-soft); color: var(--ok-blue); font-size: 1.4rem; margin-bottom: 1rem; }
.fdt-card h5 { font-size: 1.02rem; font-weight: 700; color: var(--ink); margin-bottom: .4rem; }
/* veja também */
.fdt-related { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; height: 100%; transition: .25s; }
.fdt-related:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.fdt-related__ic { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ok-grad-soft); color: var(--ok-blue); font-size: 1.25rem; }
.fdt-related__tx { flex: 1; min-width: 0; }
.fdt-related__tx b { display: block; color: var(--ink); font-size: .96rem; }
.fdt-related__tx small { color: var(--muted); font-size: .8rem; }
.fdt-related__arrow { color: var(--ok-blue); transition: transform .25s; }
.fdt-related:hover .fdt-related__arrow { transform: translateX(4px); }
/* CTA final */
.fdt-final { padding: 47px 0 4.5rem; }
.fdt-final__card { background: var(--ok-grad); color: #fff; border-radius: 26px; padding: clamp(2rem, 5vw, 3.4rem); text-align: center; }
.fdt-final__card h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .6rem; }
.fdt-final__card p { color: rgba(255,255,255,.9); margin-bottom: 1.4rem; }
.fdt-final__card .btn-light { color: var(--ok-blue); font-weight: 800; }
.text-grad-light { background: linear-gradient(120deg, #cfe6ff, #eafcff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.feature-card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .84rem; color: var(--ok-blue); }
.feature-card__more i { transition: transform .25s; }
.feature-card:hover .feature-card__more i { transform: translateX(4px); }

/* ===== Navbar em páginas internas: azul no topo; ao rolar vira branca (padrão) ===== */
body.nav-solid .navbar.ok-nav:not(.scrolled) { background: #256ba7; }
/* botão de demonstração branco quando a barra está azul (topo das páginas internas) */
body.nav-solid .ok-nav:not(.scrolled) .btn-grad { background: #fff; color: var(--ok-blue); }
body.nav-solid .ok-nav:not(.scrolled) .btn-grad:hover { background: #eaf2ff; color: var(--ok-blue-700); }
@media (max-width: 991.98px) {
    /* no menu mobile (painel branco) os links voltam ao escuro p/ leitura */
    body.nav-solid .ok-nav .navbar-collapse .nav-link { color: var(--ink-soft); }
}

/* ===== Página /funcionalidades — hero dark com imagem (simples e centralizado) ===== */
.feats-hero { position: relative; overflow: hidden; padding: 9rem 0 4rem; background: var(--dark); }
.feats-hero__media { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); }
.feats-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,16,34,.78), rgba(8,16,34,.9)); }
.feats-hero__inner { position: relative; z-index: 2; }
.feats-hero__title { font-size: clamp(2rem, 4.4vw, 3.2rem); color: #fff; font-weight: 300; margin: 1.1rem 0 .8rem; }
.feats-hero__lead { font-size: 1.12rem; color: rgba(255,255,255,.82); max-width: 520px; margin: 0; }

/* ===== Card flutuante na divisão do hero (página /funcionalidades) ===== */
.feats-divcard { position: relative; z-index: 3; margin: -30px auto 0; max-width: 580px; display: flex; align-items: center; gap: 13px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px -26px rgba(10,20,40,.5); padding: 9px 15px; }
.feats-divcard__ic { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--ok-grad); color: #fff; font-size: 1.05rem; }
.feats-divcard__tx { flex: 1; min-width: 0; }
.feats-divcard__tx b { display: block; font-size: .9rem; color: var(--ink); font-weight: 700; }
.feats-divcard__tx span { font-size: .76rem; color: var(--muted); }
.feats-divcard__arrow { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--ok-blue); font-size: 1rem; transition: background .25s, color .25s; }
.feats-divcard__arrow:hover { background: var(--ok-blue); color: #fff; }
.feats-divcard__arrow i { animation: featsArrow 1.8s ease-in-out infinite; }
@keyframes featsArrow { 0%,100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
@media (max-width: 575.98px) { .feats-divcard { flex-direction: column; text-align: center; gap: 12px; margin-top: -38px; } }

/* ===== Seção "outros produtos" (home) ===== */
.prod-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; transition: .25s; }
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.prod-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.prod-card__tt b { display: block; font-size: 1.25rem; font-weight: 800; color: var(--ink); line-height: 1.15; }
.prod-card__tt small { color: var(--muted); font-size: .82rem; }
.prod-card__ic { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-size: 1.5rem; color: var(--c); background: color-mix(in srgb, var(--c) 14%, #fff); }
.prod-card__shot { margin: 1.1rem 0; height: 140px; border-radius: 12px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 12%, #fff), #f4f7fb); border: 1px solid var(--line); }
.prod-card__shot i { font-size: 2.6rem; color: color-mix(in srgb, var(--c) 55%, #8aa); opacity: .6; }
.prod-card__shot img { width: 100%; height: 100%; object-fit: cover; }
.prod-card__desc { color: var(--ink-soft); font-size: .92rem; flex: 1; }
.prod-card__more { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .9rem; color: var(--c); margin-top: .6rem; }
.prod-card__more i { transition: transform .25s; }
.prod-card__more:hover { color: var(--c); } .prod-card:hover .prod-card__more i { transform: translateX(4px); }
.prod-banner { max-width: 760px; margin: 1.5rem auto 0; background: #16a34a; color: #fff; font-weight: 700; font-size: .95rem; line-height: 1.5; padding: 1rem 1.6rem; border-radius: 14px; box-shadow: 0 16px 36px -18px rgba(22,163,74,.6); }
.prod-card__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ===== Exit-intent modal (captura de lead) ===== */
.exit-modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 16px; }
.exit-modal.is-open { display: flex; }
.exit-modal__backdrop { position: absolute; inset: 0; background: rgba(6,13,29,.6); backdrop-filter: blur(2px); animation: exitFade .25s ease; }
.exit-modal__card { position: relative; z-index: 1; width: 100%; max-width: 440px; max-height: 92vh; overflow-y: auto; background: #fff; border-radius: 18px; box-shadow: 0 40px 90px -28px rgba(0,0,0,.6); animation: exitPop .35s cubic-bezier(.34,1.56,.64,1); }
@keyframes exitFade { from { opacity: 0; } } @keyframes exitPop { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.exit-modal__x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.25); color: #fff; font-size: 1rem; display: grid; place-items: center; }
.exit-modal__x:hover { background: rgba(255,255,255,.4); }
.exit-modal__head { background: linear-gradient(160deg, #1f9d57, #16a34a); color: #fff; text-align: center; padding: 22px 24px 20px; border-radius: 18px 18px 0 0; }
.exit-modal__avatar { display: inline-block; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; border: 4px solid rgba(255,255,255,.6); box-shadow: 0 10px 24px rgba(0,0,0,.3); }
.exit-modal__avatar img { width: 100%; height: 100%; object-fit: cover; }
.exit-modal__head h3 { color: #fff; font-size: 1.5rem; font-weight: 800; margin: 12px 0 8px; }
.exit-modal__hi { color: #fff; font-size: .95rem; line-height: 1.5; margin: 0 0 10px; }
.exit-modal__hi b { color: #d4ffe4; }
.exit-modal__sub { color: rgba(255,255,255,.95); font-size: .95rem; margin: 0; }
.exit-modal__form { padding: 22px 24px 24px; }
.exit-modal__form label { display: block; font-size: .82rem; font-weight: 600; color: #475569; margin: 12px 0 5px; }
.exit-modal__form input, .exit-modal__form select { width: 100%; border: 1px solid #d6deea; border-radius: 9px; padding: 12px 14px; font-size: .95rem; color: #0f172a; background: #fff; transition: border-color .2s, box-shadow .2s; }
.exit-modal__form input:focus, .exit-modal__form select:focus { outline: 0; border-color: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,.15); }
.exit-modal__row { display: grid; grid-template-columns: 1fr .5fr; gap: 12px; }
.exit-modal__feedback { margin-top: 12px; }
.exit-modal__feedback.err { color: #dc2626; } .exit-modal__feedback.ok { color: #16a34a; }
.exit-modal__btn { width: 100%; margin-top: 16px; border: 0; border-radius: 10px; background: linear-gradient(160deg, #1f9d57, #16a34a); color: #fff; font-weight: 800; font-size: 1rem; letter-spacing: .02em; padding: 14px; transition: filter .2s, transform .15s; }
.exit-modal__btn:hover { filter: brightness(1.06); }
.exit-modal__btn:disabled { opacity: .7; }

/* ===== Bento de módulos (hero /funcionalidades) ===== */
.feats-bento { position: relative; width: min(440px, 92%); aspect-ratio: 1; margin: 0 auto; }
.feats-bento__links { position: absolute; inset: 0; width: 100%; height: 100%; }
.feats-bento__links line { stroke: rgba(95,224,236,.28); stroke-width: 1.5; stroke-dasharray: 5 7; animation: bentoFlow 2.6s linear infinite; }
@keyframes bentoFlow { to { stroke-dashoffset: -24; } }
.feats-bento__grid { position: relative; z-index: 1; height: 100%; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 6%; }
.feats-bento__cell { border-radius: 18px; background: rgba(13,27,52,.72); border: 1px solid rgba(120,180,255,.28); backdrop-filter: blur(4px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: #eaf2ff; box-shadow: 0 12px 30px -16px rgba(0,0,0,.75); animation: bentoFloat 4.5s ease-in-out infinite; }
.feats-bento__cell i { font-size: 1.55rem; background: var(--ok-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.feats-bento__cell b { font-size: .62rem; font-weight: 700; opacity: .92; }
.feats-bento__cell--center { background: var(--ok-grad); border: 0; box-shadow: 0 16px 36px -14px rgba(23,99,214,.8); }
.feats-bento__cell--center img { width: 76%; max-width: 92px; height: auto; }
@keyframes bentoFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.feats-bento__cell:nth-child(2) { animation-delay: .25s; } .feats-bento__cell:nth-child(3) { animation-delay: .5s; }
.feats-bento__cell:nth-child(4) { animation-delay: .75s; } .feats-bento__cell:nth-child(6) { animation-delay: 1s; }
.feats-bento__cell:nth-child(7) { animation-delay: 1.25s; } .feats-bento__cell:nth-child(8) { animation-delay: 1.5s; } .feats-bento__cell:nth-child(9) { animation-delay: 1.75s; }
.feats-bento__cell--center { animation: none; }
@media (prefers-reduced-motion: reduce) { .feats-bento__cell, .feats-bento__links line { animation: none; } }

/* ===== Reel de telas reais (hero /funcionalidades) ===== */
.feats-reel { width: min(540px, 100%); margin: 0 auto; }
.feats-reel__device { background: #0b1426; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; overflow: hidden; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); }
.feats-reel__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.08); }
.feats-reel__dot { width: 9px; height: 9px; border-radius: 50%; background: #38476a; }
.feats-reel__dot.r { background: #ff6b7d; } .feats-reel__dot.y { background: #ffce5a; } .feats-reel__dot.g { background: #4cd99a; }
.feats-reel__cap { margin-left: 10px; font-style: normal; font-size: .82rem; font-weight: 700; color: #cfe0ff; }
.feats-reel__screen { position: relative; aspect-ratio: 16 / 10; background: #0a1428; }
.reel-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease; }
.reel-slide.is-on { opacity: 1; visibility: visible; }
.reel-slide .feature-card__wire, .reel-slide .wire { position: absolute; inset: 0; }
.feats-reel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.feats-reel__nav { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); transition: all .3s; }
.feats-reel__nav.is-on { width: 22px; border-radius: 5px; background: var(--ok-cyan-300); }

/* ===== Ilustração do plenário (hero /funcionalidades) ===== */
.feats-plenario { width: min(460px, 92%); margin: 0 auto; }
.plen-svg { width: 100%; height: auto; overflow: visible; animation: plenFloat 7s ease-in-out infinite; filter: drop-shadow(0 18px 44px rgba(23,99,214,.4)); }
@keyframes plenFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.plen-col { fill: rgba(95,224,236,.06); }
.plen-build .plen-draw { stroke-dasharray: 1300; stroke-dashoffset: 1300; animation: plenDraw 1.9s ease forwards; }
.plen-build .plen-draw:nth-child(2) { animation-delay: .18s; }
.plen-build .plen-draw:nth-child(3), .plen-build .plen-draw:nth-child(4), .plen-build .plen-draw:nth-child(5),
.plen-build .plen-draw:nth-child(6), .plen-build .plen-draw:nth-child(7) { animation-delay: .35s; }
.plen-build .plen-draw:nth-child(8) { animation-delay: .55s; }
.plen-build .plen-draw:nth-child(9) { animation-delay: .7s; }
@keyframes plenDraw { to { stroke-dashoffset: 0; } }
.plen-nodes line { opacity: 0; animation: plenFade .6s ease forwards .9s; }
@keyframes plenFade { to { opacity: .5; } }
.plen-dot { animation: plenPulse 2.6s ease-in-out infinite; }
.plen-dot:nth-of-type(2) { animation-delay: .5s; } .plen-dot:nth-of-type(3) { animation-delay: 1s; }
@keyframes plenPulse { 0%,100% { r: 4; opacity: .7; } 50% { r: 6; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .plen-svg, .plen-dot, .plen-build .plen-draw, .plen-nodes line { animation: none; stroke-dashoffset: 0; opacity: 1; } }

/* ===== Morph de ícones (hero /funcionalidades) ===== */
.feats-morph { text-align: center; width: min(420px, 92%); margin: 0 auto; }
.feats-morph__stage { position: relative; width: 210px; height: 210px; margin: 0 auto; border-radius: 40px; background: rgba(13,27,52,.6); border: 1px solid rgba(120,180,255,.25); display: grid; place-items: center; box-shadow: 0 34px 80px -34px rgba(0,0,0,.85); }
.feats-morph__halo { position: absolute; inset: 0; border-radius: inherit; animation: morphHalo 2.8s ease-out infinite; }
@keyframes morphHalo { 0% { box-shadow: 0 0 0 0 rgba(95,224,236,.35); } 100% { box-shadow: 0 0 0 30px rgba(95,224,236,0); } }
.feats-morph__icon { font-size: 5.2rem; line-height: 1; background: var(--ok-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; transition: opacity .3s ease, transform .35s cubic-bezier(.34,1.56,.64,1); }
.feats-morph.is-swap .feats-morph__icon { opacity: 0; transform: scale(.55) rotate(-10deg); }
.feats-morph__label { margin-top: 24px; font-size: 1.3rem; font-weight: 800; color: #fff; transition: opacity .3s ease, transform .3s ease; }
.feats-morph.is-swap .feats-morph__label { opacity: 0; transform: translateY(6px); }
.feats-morph__dots { display: flex; justify-content: center; gap: 7px; margin-top: 16px; }
.feats-morph__dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.25); transition: all .3s; }
.feats-morph__dot.is-on { width: 20px; border-radius: 4px; background: var(--ok-cyan-300); }
@media (prefers-reduced-motion: reduce) { .feats-morph__halo { animation: none; } }

/* ===== Item de menu "IA Legis" ===== */
.ok-nav .nav-link--ia { color: #5fe0ec !important; font-weight: 700; }
.ok-nav .nav-link--ia i { margin-right: 3px; }
.ok-nav.scrolled .nav-link--ia { color: var(--ok-blue) !important; }
body.nav-solid .ok-nav:not(.scrolled) .nav-link--ia { color: #bdfff6 !important; }

/* ===== Página IA Legis ===== */
.ia-hero { position: relative; overflow: hidden; padding: 8.5rem 0 4rem; background: radial-gradient(900px 500px at 85% -10%, #103a86 0%, rgba(16,58,134,0) 60%), linear-gradient(160deg, #0a1428, #0c1a37 60%, #060d1d); }
.ia-hero__inner { position: relative; z-index: 2; }
.ia-hero__title { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 300; color: #fff; margin: 1.1rem 0 .8rem; }
.ia-hero__lead { font-size: 1.12rem; color: rgba(255,255,255,.82); max-width: 560px; }
.ia-orb { position: relative; display: inline-grid; place-items: center; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, rgba(95,224,236,.22), rgba(23,99,214,.12) 60%, transparent 72%); }
.ia-orb::after { content: ""; position: absolute; inset: 26px; border-radius: 50%; border: 1px solid rgba(95,224,236,.35); animation: morphHalo 2.8s ease-out infinite; }
.ia-orb img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; box-shadow: 0 20px 50px -16px rgba(23,99,214,.8); }
.ia-orb__badge { position: absolute; left: 50%; bottom: 42px; transform: translateX(-50%); z-index: 3; font-size: .66rem; font-weight: 800; letter-spacing: .08em; color: #fff; background: linear-gradient(120deg, #7a5cff, #18c7d6); padding: 5px 13px; border-radius: 999px; box-shadow: 0 8px 20px -8px rgba(0,0,0,.6); white-space: nowrap; }
/* seções */
.ia-tag { display: inline-flex; align-items: center; gap: 7px; font-size: .76rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ok-blue); background: var(--ok-grad-soft); padding: .4rem .9rem; border-radius: 100px; }
.ia-sec__title { font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--ink); margin: 1rem 0 .7rem; }
.ia-sec__lead { font-size: 1.05rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.ia-check { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: 10px; }
.ia-check li { position: relative; padding-left: 30px; color: var(--ink-soft); font-weight: 500; }
.ia-check li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: -1px; color: #16a34a; font-size: 1.1rem; }
.ia-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--ok-blue); }
.ia-link i { transition: transform .25s; } .ia-link:hover i { transform: translateX(4px); }
/* visuais */
.ia-shot { background: linear-gradient(160deg, #eef3fb, #f7faff); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.ia-edit { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.ia-edit__bar { display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-bottom: 1px solid var(--line); font-weight: 800; color: #475569; }
.ia-edit__bar b, .ia-edit__bar i, .ia-edit__bar u { font-size: .95rem; }
.ia-edit__ai { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 800; color: #fff; background: linear-gradient(120deg, #7a5cff, #18c7d6); padding: 6px 12px; border-radius: 8px; }
.ia-edit__ai img { width: 16px; height: 16px; border-radius: 50%; }
.ia-edit__body { padding: 18px; display: grid; gap: 11px; min-height: 150px; }
.ia-shot .ln { height: 10px; border-radius: 5px; background: #e6ecf5; display: block; }
.ln.w95 { width: 95%; } .ln.w90 { width: 90%; } .ln.w85 { width: 85%; } .ln.w80 { width: 80%; } .ln.w70 { width: 70%; } .ln.w60 { width: 60%; }
.ia-pop { position: absolute; right: 16px; bottom: 16px; width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-align: center; box-shadow: 0 18px 40px -16px rgba(10,20,40,.4); }
.ia-pop img { width: 46px; height: 46px; border-radius: 50%; margin-bottom: 6px; }
.ia-pop b { display: block; font-size: .9rem; color: var(--ink); }
.ia-pop small { font-size: .76rem; color: var(--muted); }
.ia-resumo { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: grid; gap: 11px; }
.ia-resumo__head { display: flex; align-items: center; gap: 9px; font-size: .95rem; color: var(--ink); }
.ia-resumo__head img { width: 30px; height: 30px; border-radius: 50%; }
.ia-chip { margin-left: auto; font-size: .66rem; font-weight: 800; color: #fff; background: linear-gradient(120deg, #7a5cff, #18c7d6); padding: 3px 10px; border-radius: 999px; }
.ia-resumo__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ia-resumo__tags span { font-size: .74rem; font-weight: 700; color: var(--ok-blue); background: var(--ok-grad-soft); padding: 4px 10px; border-radius: 999px; }

/* ===== IA: card de Ata automática ===== */
.ia-ata { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: grid; gap: 13px; }
.ia-ata__head { display: flex; align-items: center; gap: 9px; font-size: .95rem; color: var(--ink); }
.ia-ata__head img { width: 30px; height: 30px; border-radius: 50%; }
.ia-ata__sec { font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ok-blue); margin-top: 4px; }
.ia-ata__tbl { display: grid; grid-template-columns: 1fr 1fr auto; gap: 7px 12px; align-items: center; font-size: .72rem; }
.ia-ata__tbl > span { font-weight: 800; color: var(--muted); text-transform: uppercase; font-size: .62rem; border-bottom: 1px solid var(--line); padding-bottom: 5px; }
.ia-ata__tbl em { font-style: normal; color: #1e293b; font-weight: 600; }
.ia-ata__tbl b.ap { justify-self: end; font-size: .6rem; font-weight: 800; color: #16a34a; background: rgba(22,163,74,.12); padding: 3px 9px; border-radius: 999px; }
.ia-ata__foot { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--muted); font-weight: 600; margin-top: 4px; }
.ia-ata__foot i { color: #7a5cff; } .ia-ata__foot em { font-style: normal; color: var(--ok-blue); }

/* ===== IA hero: texto "digitado" ao fundo do gif ===== */
.ia-hero__viz { position: relative; display: grid; place-items: center; min-height: 340px; }
.ia-typing { position: absolute; left: -22%; right: -22%; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 14px; pointer-events: none; opacity: .15; color: #bfe6ff; font-family: "Courier New", monospace; font-size: 1.12rem; letter-spacing: .0em;
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 58%, transparent 90%);
    mask-image: radial-gradient(circle at 50% 50%, #000 58%, transparent 90%); }
.ia-typing span { display: block; white-space: nowrap; overflow: hidden; width: 0; border-right: 2px solid currentColor; animation: iaTypeLine 7s steps(28) infinite; }
.ia-typing span:nth-child(2) { animation-delay: 1s; } .ia-typing span:nth-child(3) { animation-delay: 2s; }
.ia-typing span:nth-child(4) { animation-delay: 3s; } .ia-typing span:nth-child(5) { animation-delay: 4s; }
.ia-typing span:nth-child(6) { animation-delay: 5s; } .ia-typing span:nth-child(7) { animation-delay: 6s; }
@keyframes iaTypeLine { 0% { width: 0; } 35% { width: calc(var(--n) * 1ch); } 70% { width: calc(var(--n) * 1ch); } 78%,100% { width: 0; } }
.ia-hero__viz .ia-orb { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .ia-typing span { animation: none; width: calc(var(--n) * 1ch); } }

/* ===== IA hero: "varinha" mágica aplicando ===== */
.ia-wand { position: absolute; left: 50%; top: 28%; z-index: 1; font-size: 1.7rem; color: #b69bff; pointer-events: none; filter: drop-shadow(0 0 10px rgba(122,92,255,.8)); transform: translate(-50%,-50%); animation: iaWand 7s ease-in-out infinite; }
@keyframes iaWand {
    0%   { transform: translate(-150px,-70px) rotate(-14deg); opacity: 0; }
    10%  { opacity: .9; }
    28%  { transform: translate(-55px,-18px) rotate(8deg); }
    48%  { transform: translate(55px,28px) rotate(-10deg); }
    68%  { transform: translate(120px,-25px) rotate(12deg); }
    85%  { opacity: .9; }
    100% { transform: translate(160px,55px) rotate(-8deg); opacity: 0; }
}
.ia-spark { position: absolute; left: 50%; top: 28%; z-index: 1; width: 42px; height: 42px; pointer-events: none; transform: translate(-50%,-50%); opacity: 0; animation: iaSpark 7s ease-in-out infinite; }
.ia-spark i { position: absolute; background: linear-gradient(135deg, #d9ccff, #7a5cff); filter: drop-shadow(0 0 6px rgba(150,120,255,.9));
    clip-path: polygon(50% 0%, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0% 50%, 40% 40%);
    animation: iaTwinkle 1.4s ease-in-out infinite; }
.ia-spark .s1 { width: 19px; height: 19px; left: 3px;  top: 0; }
.ia-spark .s2 { width: 12px; height: 12px; left: 24px; top: 15px; animation-delay: .35s; }
.ia-spark .s3 { width: 8px;  height: 8px;  left: 13px; top: 26px; animation-delay: .7s; }
@keyframes iaTwinkle { 0%,100% { transform: scale(.65); opacity: .55; } 50% { transform: scale(1); opacity: 1; } }
@keyframes iaSpark {
    0%, 22% { opacity: 0; transform: translate(-95px,-40px) scale(.3); }
    30% { opacity: 1; transform: translate(-30px,-6px) scale(1); }
    38% { opacity: 0; transform: translate(-30px,-6px) scale(.4); }
    52% { opacity: 1; transform: translate(70px,34px) scale(1.1); }
    60% { opacity: 0; transform: translate(70px,34px) scale(.4); }
    74% { opacity: 1; transform: translate(120px,-18px) scale(1); }
    82%, 100% { opacity: 0; transform: translate(120px,-18px) scale(.4); }
}
@media (prefers-reduced-motion: reduce) { .ia-wand, .ia-spark { animation: none; opacity: 0; } }

/* ===== Navbar: itens mais próximos (evita encavalar em telas médias) ===== */
@media (min-width: 992px) {
    .ok-nav .navbar-nav { gap: 0 !important; }
    .ok-nav .nav-link { margin: 0; padding-left: .6rem; padding-right: .6rem; font-size: .95rem; }
    .ok-nav .nav-link::after { left: .6rem; right: .6rem; }
    .ok-nav .nav-item.ms-lg-2 { margin-left: .4rem !important; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .ok-nav .nav-link { padding-left: .42rem; padding-right: .42rem; font-size: .88rem; }
    .ok-nav .nav-link::after { left: .42rem; right: .42rem; }
    .ok-nav .ok-logo { height: 34px; }
    .ok-nav .btn-grad { padding: .5rem .85rem; font-size: .85rem; }
}

/* ===== Chat widget próprio ===== */
.okchat { position: fixed; right: 22px; bottom: 22px; z-index: 1900; }
.okchat__btn { position: relative; width: 60px; height: 60px; border: 0; border-radius: 50%; background: var(--ok-grad); color: #fff; font-size: 1.6rem; display: grid; place-items: center; box-shadow: 0 14px 34px -10px rgba(23,99,214,.7); cursor: pointer; transition: transform .2s; }
.okchat__btn:hover { transform: translateY(-3px); }
.okchat__btn-close { display: none; }
.okchat.is-open .okchat__btn-ic { display: none; }
.okchat.is-open .okchat__btn-close { display: block; }
.okchat__btn-dot { position: absolute; top: 6px; right: 6px; width: 12px; height: 12px; border-radius: 50%; background: #2ecc71; border: 2px solid #fff; }
.okchat.is-open .okchat__btn-dot { display: none; }
.okchat__panel { position: absolute; right: 0; bottom: 74px; width: 360px; max-width: calc(100vw - 32px); height: 480px; max-height: calc(100vh - 120px); background: #fff; border-radius: 18px; box-shadow: 0 30px 70px -18px rgba(10,20,40,.55); display: flex; flex-direction: column; overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(16px) scale(.97); transform-origin: bottom right; transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.okchat.is-open .okchat__panel { opacity: 1; visibility: visible; transform: none; }
.okchat__head { display: flex; align-items: center; gap: 11px; padding: 14px 16px; background: var(--ok-grad); color: #fff; }
.okchat__avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; font-size: 1.2rem; }
.okchat__head-tx b { display: block; font-size: .98rem; line-height: 1.1; }
.okchat__head-tx span { font-size: .76rem; opacity: .92; display: inline-flex; align-items: center; gap: 6px; }
.okchat__online { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: okPulse 2s infinite; }
@keyframes okPulse { 0%{ box-shadow: 0 0 0 0 rgba(74,222,128,.6);} 100%{ box-shadow: 0 0 0 7px rgba(74,222,128,0);} }
.okchat__min { margin-left: auto; border: 0; background: rgba(255,255,255,.18); color: #fff; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; cursor: pointer; }
.okchat__body { flex: 1; overflow-y: auto; padding: 16px; background: #f4f7fb; display: flex; flex-direction: column; gap: 10px; }
.okchat__msg { max-width: 84%; padding: 10px 13px; border-radius: 14px; font-size: .9rem; line-height: 1.45; }
.okchat__msg.bot { align-self: flex-start; background: #fff; color: #1f2d3d; border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.okchat__msg.me { align-self: flex-end; background: var(--ok-blue); color: #fff; border-bottom-right-radius: 5px; }
.okchat__msg.typing { display: inline-flex; gap: 4px; }
.okchat__msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: #b6c2d4; animation: okType 1s infinite; }
.okchat__msg.typing i:nth-child(2){ animation-delay: .15s; } .okchat__msg.typing i:nth-child(3){ animation-delay: .3s; }
@keyframes okType { 0%,60%,100%{ transform: translateY(0); opacity: .5; } 30%{ transform: translateY(-4px); opacity: 1; } }
.okchat__wa { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 2px; background: #25d366; color: #fff; font-weight: 700; font-size: .9rem; padding: 11px 16px; border-radius: 12px; box-shadow: 0 10px 24px -10px rgba(37,211,102,.8); }
.okchat__wa:hover { color: #fff; filter: brightness(1.05); }
.okchat__form { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; }
.okchat__form input { flex: 1; border: 1px solid #d6deea; border-radius: 100px; padding: 11px 16px; font-size: .92rem; outline: 0; }
.okchat__form input:focus { border-color: var(--ok-blue); box-shadow: 0 0 0 3px rgba(23,99,214,.15); }
.okchat__form button { flex: 0 0 42px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--ok-blue); color: #fff; font-size: 1rem; display: grid; place-items: center; cursor: pointer; }
.okchat__form.is-off { display: none; }
@media (max-width: 575.98px) { .okchat { right: 14px; bottom: 14px; } .okchat__panel { bottom: 70px; } }

/* ===== Chat: balão teaser ===== */
.okchat__teaser { position: absolute; right: 6px; bottom: 76px; width: 250px; background: #fff; color: #1f2d3d; border-radius: 14px; border-bottom-right-radius: 5px; box-shadow: 0 18px 44px -16px rgba(10,20,40,.5); padding: 14px 16px; cursor: pointer; transform: translateY(10px) scale(.96); opacity: 0; transition: opacity .3s ease, transform .3s cubic-bezier(.34,1.56,.64,1); }
.okchat__teaser.is-in { opacity: 1; transform: none; }
.okchat__teaser::after { content: ""; position: absolute; right: 22px; bottom: -7px; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); box-shadow: 3px 3px 6px -4px rgba(10,20,40,.4); }
.okchat__teaser-name { display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; font-weight: 800; color: var(--ok-blue); margin-bottom: 4px; }
.okchat__teaser p { margin: 0; font-size: .86rem; line-height: 1.45; color: var(--ink-soft); }
.okchat__teaser-x { position: absolute; top: 6px; right: 8px; border: 0; background: transparent; color: #9aa7bd; font-size: 1.05rem; line-height: 1; cursor: pointer; }
.okchat__teaser-x:hover { color: #475569; }

/* ===== Página de suporte: título + card no mesmo ambiente ===== */
.sup-page { padding: 7rem 0 4.5rem; background: radial-gradient(900px 420px at 80% -10%, #e6f6fb 0%, rgba(230,246,251,0) 60%), linear-gradient(180deg, #f4f8fe, #ffffff); }
.sup-wrap { width: 100%; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.sup-wrap .okchat__body { height: clamp(420px, 56vh, 600px); }
.sup-body { flex: 1; }
.sup-wrap .okchat__msg { max-width: 72%; }
.sup-wrap .okchat__head { background: #256ba7; }

/* ===== /links — link-in-bio (Instagram) ===== */
.lk-body { background: #0a1428; }
.lk { position: relative; min-height: 100dvh; display: flex; align-items: flex-start; justify-content: center; padding: 48px 18px 40px; overflow: hidden; }
.lk__bg { position: fixed; inset: 0; z-index: 0; background:
    radial-gradient(700px 500px at 15% 0%, rgba(23,99,214,.45), transparent 60%),
    radial-gradient(700px 500px at 85% 100%, rgba(24,199,214,.35), transparent 60%),
    linear-gradient(160deg, #0a1428, #0c1a37 55%, #060d1d); }
.lk__inner { position: relative; z-index: 1; width: 100%; max-width: 460px; text-align: center; }
.lk__logo { display: inline-grid; place-items: center; width: 108px; height: 108px; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 20px 50px -18px rgba(0,0,0,.7); }
.lk__logo img { width: 74%; height: auto; }
.lk__name { color: #fff; font-size: 1.6rem; font-weight: 800; margin: 16px 0 4px; }
.lk__bio { color: rgba(255,255,255,.7); font-size: .92rem; margin: 0 0 26px; }
.lk__links { display: grid; gap: 12px; }
.lk__link { display: flex; align-items: center; gap: 14px; text-align: left; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 14px 16px; color: #eaf2ff; transition: transform .18s ease, background .2s ease, border-color .2s ease; backdrop-filter: blur(6px); }
.lk__link:hover { transform: translateY(-3px); background: rgba(255,255,255,.1); border-color: rgba(120,180,255,.4); color: #fff; }
.lk__link-ic { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: rgba(255,255,255,.1); color: #5fe0ec; }
.lk__link-tx { flex: 1; min-width: 0; } .lk__link-tx b { display: block; font-size: 1rem; font-weight: 700; } .lk__link-tx small { color: rgba(255,255,255,.6); font-size: .8rem; }
.lk__link-arrow { color: rgba(255,255,255,.5); transition: transform .2s; }
.lk__link:hover .lk__link-arrow { transform: translateX(4px); color: #fff; }
/* botão destaque (IA Legis) */
.lk__link--hot { background: var(--ok-grad); border-color: transparent; }
.lk__link--hot .lk__link-ic { background: rgba(255,255,255,.22); color: #fff; }
.lk__link--hot .lk__link-tx small { color: rgba(255,255,255,.85); }
.lk__link--hot:hover { background: var(--ok-grad); filter: brightness(1.06); }
/* redes */
.lk__social { display: flex; justify-content: center; gap: 12px; margin-top: 26px; }
.lk__social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); transition: background .2s, transform .2s; }
.lk__social a:hover { background: var(--ok-grad); transform: translateY(-3px); }
.lk__foot { color: rgba(255,255,255,.45); font-size: .75rem; margin-top: 28px; }
