:root {
    --bg: #070912;
    --bg-2: #0b0e1c;
    --surface: #10142a;
    --surface-2: #151a33;
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .14);
    --text: #eef1f8;
    --muted: #98a0b9;
    --accent: #00c1b8;
    --accent-2: #2af0d4;
    --wa: #25d366;
    --danger: #ff5a6a;
    --warn: #ffb547;
    --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg); color: var(--text); line-height: 1.7;
    -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.grad {
    background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 60%, #8ff7e6 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Botões */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 8px 20px 8px 10px; border-radius: 15px;
    font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
    border: 1px solid transparent; cursor: pointer; white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn > i:first-child { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 1.15rem; background: rgba(255, 255, 255, .18); }
.btn-wa {
    color: #fff; background: linear-gradient(180deg, #34e27f 0%, #1fbe5b 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 28px -10px rgba(37, 211, 102, .75);
}
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, .05); border-color: var(--line-2); padding-left: 10px; }
.btn-ghost > i:first-child { background: rgba(0, 193, 184, .15); color: var(--accent-2); }
.btn-sm { min-height: 44px; font-size: .92rem; padding: 6px 16px 6px 6px; }
.btn-sm > i:first-child { width: 30px; height: 30px; }

/* Topo */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(7, 9, 18, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.nav-logo img { width: 88px; height: auto; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: .92rem; }
.nav-links a { color: var(--muted); text-decoration: none; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text); }
.nav .btn { margin-left: 8px; }

/* Cabeçalho do artigo */
.page-head { padding: 40px 0 36px; background: radial-gradient(800px 360px at 15% -10%, rgba(0, 193, 184, .16), transparent 70%); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; color: var(--muted); margin-bottom: 22px; list-style: none; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--accent-2); background: rgba(0, 193, 184, .1); border: 1px solid rgba(0, 193, 184, .25); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}
.page-head h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; }
.page-head .lead { color: var(--muted); font-size: clamp(1.02rem, 1.7vw, 1.18rem); margin-top: 16px; max-width: 700px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: .86rem; color: var(--muted); }
.meta i { color: var(--accent-2); margin-right: 4px; }
.head-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.proof { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.proof span { font-size: .84rem; color: var(--muted); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; }
.proof b { color: var(--text); }
.proof .ri-star-fill { color: #fbbc05; }

/* Texto */
.article { padding: 48px 0 24px; }
.article h2 { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 800; margin: 56px 0 14px; }
.article h2 .n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; margin-right: 10px; vertical-align: 3px; font-size: 1rem; color: #04201e; background: linear-gradient(180deg, #3ff3dc, #00c1b8); }
.article h3 { font-size: 1.12rem; font-weight: 700; margin: 0 0 6px; }
.article p { color: #c9cfdf; margin: 0 0 14px; }
.article p strong, .article li strong { color: var(--text); }
.article ul, .article ol { color: #c9cfdf; padding-left: 22px; margin: 0 0 16px; }
.article li { margin: 6px 0; }
.article a:not(.btn) { color: var(--accent-2); text-underline-offset: 3px; }
.article > .container > :first-child { margin-top: 0; }

.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 8px; }
.toc b { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc li { break-inside: avoid; margin: 4px 0; }
.toc a { color: var(--text) !important; text-decoration: none; }
.toc a:hover { color: var(--accent-2) !important; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0 20px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card > i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; font-size: 1.25rem; color: var(--accent-2); background: rgba(0, 193, 184, .12); margin-bottom: 12px; }
.card p { margin: 0; font-size: .95rem; }

.check { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; }
.check li { position: relative; padding-left: 30px; margin: 0; }
.check li::before { content: "\eb7b"; font-family: remixicon; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: .9rem; color: #04201e; background: var(--accent); }
.bad li::before { content: "\eb99"; background: var(--danger); color: #fff; }

.steps { list-style: none; padding: 0 !important; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding: 16px 18px 16px 62px; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 15px; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #04201e; background: linear-gradient(180deg, #3ff3dc, #00c1b8); }

.tip { display: flex; gap: 14px; background: rgba(0, 193, 184, .07); border: 1px solid rgba(0, 193, 184, .22); border-radius: 14px; padding: 16px 18px; margin: 18px 0; }
.tip > i { font-size: 1.3rem; color: var(--accent-2); }
.tip p { margin: 0; }
.tip.warn { background: rgba(255, 181, 71, .07); border-color: rgba(255, 181, 71, .25); }
.tip.warn > i { color: var(--warn); }

.shot { margin: 22px 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: #fff; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8); }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #1b2036; }
.shot-bar span { width: 9px; height: 9px; border-radius: 50%; background: #3a4060; }
.shot-bar small { margin-left: 8px; font-size: .74rem; color: var(--muted); }
figcaption { font-size: .85rem; color: var(--muted); padding: 10px 14px; background: var(--surface); border-top: 1px solid var(--line); }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; margin: 18px 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: .95rem; }
.compare th, .compare td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--surface-2); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.compare td:first-child { color: var(--muted); }
.compare td:last-child { color: var(--text); }
.compare td:last-child i { color: var(--accent); margin-right: 6px; }

.cta-box {
    margin: 40px 0; padding: 28px; border-radius: 22px; text-align: center;
    background: radial-gradient(500px 200px at 50% 0, rgba(0, 193, 184, .2), transparent 70%), var(--surface);
    border: 1px solid rgba(0, 193, 184, .3);
}
.cta-box h2, .cta-box h3 { margin: 0 0 8px !important; font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.cta-box p { margin: 0 auto 18px !important; max-width: 560px; }
.cta-box .head-ctas { justify-content: center; margin-top: 0; }
.cred { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 14px; font-size: .9rem; color: var(--muted); }
.cred code { font-family: inherit; font-weight: 700; color: var(--text); background: rgba(255, 255, 255, .06); padding: 2px 8px; border-radius: 6px; }

.faq { display: grid; gap: 10px; margin-top: 8px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 18px; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--accent-2); transition: transform .2s; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq .ans { padding: 0 18px 16px; color: #c9cfdf; }

.related { padding: 24px 0 72px; }
.related h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 16px; }
.rel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.rel a { display: block; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: border-color .2s, transform .2s; }
.rel a:hover { border-color: rgba(0, 193, 184, .4); transform: translateY(-2px); }
.rel i { font-size: 1.4rem; color: var(--accent-2); }
.rel b { display: block; margin: 8px 0 4px; line-height: 1.3; }
.rel small { color: var(--muted); font-size: .88rem; line-height: 1.5; display: block; }

footer { border-top: 1px solid var(--line); padding: 44px 0 36px; color: var(--muted); font-size: .9rem; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.foot img { width: 84px; margin-bottom: 12px; }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.socials a { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); text-decoration: none; font-size: 1.1rem; }
.foot-cols { display: flex; gap: 48px; flex-wrap: wrap; }
.foot-cols b { display: block; color: var(--text); margin-bottom: 10px; }
.foot-cols a { display: block; text-decoration: none; margin: 6px 0; }
.foot-cols a:hover { color: var(--text); }
.copyright { margin-top: 28px; font-size: .82rem; }

.mbar { display: none; }

@media (max-width: 1100px) {
    .nav-links { display: none; }
    .nav .btn { margin-left: auto; }
}
@media (max-width: 900px) {
    .cards, .rel { grid-template-columns: 1fr; }
    .cards.two { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .nav .btn span { display: none; }
    .nav .btn { padding-right: 6px; }
    .check { grid-template-columns: 1fr; }
    .toc ol { columns: 1; }
    .head-ctas .btn { width: 100%; }
    .compare { font-size: .88rem; }
    .compare th, .compare td { padding: 10px; }
    .mbar {
        display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(7, 9, 18, .94); border-top: 1px solid var(--line);
        backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    }
    .mbar .btn { flex: 1; min-height: 48px; font-size: .95rem; }
    body { padding-bottom: 74px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .rel a { transition: none; }
}
