:root {
    --ink: #0B1220;
    --ink-2: #334155;
    --soft: #5B6676;
    --mute: #7A8594;
    --line: #E3E7EC;
    --line-2: #EEF1F4;
    --bg: #F4F6F8;
    --white: #fff;
    --brand: #0F766E;
    --brand-dk: #0B5F58;
    --brand-bg: #E7F5F3;
    --brand-line: #CFE8E4;
    --accent: #2DD4BF;
    --amber: #D97706;
    --red: #D92D20;
    --green: #12B76A;
    --serif: 'Instrument Serif', Georgia, serif;
    --sans: 'Geist', system-ui, -apple-system, sans-serif;
    --mono: 'Geist Mono', ui-monospace, monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--ink);
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: 0;
    background: none;
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* HEADER */
.site {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
    min-height: 68px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 36px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 20px;
    letter-spacing: -.02em;
}

    .logo b {
        color: var(--brand);
        font-weight: 600;
    }

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

    .nav-links a, .nav-links button {
        padding: 8px 14px;
        border-radius: 8px;
        font-size: 14.5px;
        font-weight: 500;
        color: var(--soft);
        transition: .15s;
        display: inline-flex;
        align-items: center;
    }

        .nav-links a:hover, .nav-links button:hover {
            background: var(--line-2);
            color: var(--ink);
        }

        .nav-links a.active, .nav-links button.active {
            background: var(--line-2);
            color: var(--ink);
            font-weight: 600;
        }

.nav-right {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    padding: 10px 18px;
    transition: .15s;
    text-decoration: none;
}

.btn-dark {
    background: var(--ink);
    color: #fff;
}

    .btn-dark:hover {
        background: #1c2740;
    }

.btn-ghost {
    background: #fff;
    border: 1px solid #D5DBE2;
    color: var(--ink);
}

    .btn-ghost:hover {
        background: var(--bg);
    }

.btn-brand {
    background: var(--brand);
    color: #fff;
}

    .btn-brand:hover {
        background: var(--brand-dk);
    }

.btn-white {
    background: #fff;
    color: var(--ink);
}

.btn-glass {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.22);
    color: #fff;
}

.btn-sm {
    padding: 9px 16px;
    font-size: 13.5px;
}

/* ADS */
.ad {
    border: 1px dashed #C3CBD5;
    border-radius: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-direction: row;
    color: var(--mute);
    font-size: 13px;
    text-align: center;
    padding: 12px;
}

    .ad i {
        font-style: normal;
        font-size: 10.5px;
        font-weight: 600;
        letter-spacing: .14em;
        text-transform: uppercase;
    }

    .ad.billboard {
        height: 90px;
    }

    .ad.inline {
        height: 90px;
        margin: 0 0 20px;
    }

    .ad.infeed {
        height: 110px;
        margin-bottom: 48px;
    }

    .ad.square {
        height: 250px;
        flex-direction: column;
        gap: 6px;
        border-radius: 14px;
    }

.billboard-wrap {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 32px 0;
}

/* LAYOUT PRINCIPAL */
.app {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 24px 32px 72px;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: flex-start;
    flex: 1;
}

.sidebar {
    flex: 0 0 248px;
    width: 248px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 92px;
}

main {
    flex: 999 1 560px;
    min-width: 0;
}

@media(max-width:900px) {
    .sidebar {
        position: static;
        flex: 1 1 100%;
        width: 100%;
    }

    .nav, .app, .billboard-wrap {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* SIDEBAR & CARDS */
.user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 14px;
}

.avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.user-card div.i {
    flex: 1;
    line-height: 1.25;
}

.user-card strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.user-card small {
    font-size: 12.5px;
    color: var(--soft);
}

.chip-pro {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: var(--brand);
    border-radius: 8px;
    padding: 7px 12px;
}

.side-nav {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 8px;
}

.nav-title {
    padding: 12px 12px 6px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--mute);
}

.nav-sep {
    margin: 6px 0 0;
    border-top: 1px solid var(--line-2);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-2);
    text-align: left;
    transition: .15s;
    text-decoration: none;
}

    .nav-item:hover {
        background: #F1F4F7;
        color: var(--ink);
    }

    .nav-item.active {
        background: var(--brand-bg);
        color: var(--brand);
        font-weight: 600;
    }

    .nav-item svg {
        width: 18px !important;
        height: 18px !important;
        flex-shrink: 0;
        display: block;
    }

    .nav-item span {
        flex: 1;
    }

.kbd {
    font-family: var(--mono);
    font-size: 10.5px;
    color: var(--mute);
    border: 1px solid #D5DBE2;
    border-radius: 5px;
    padding: 1px 5px;
}

.badge {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: var(--brand);
    border-radius: 100px;
    padding: 1px 8px;
}

.comp {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 12px 8px;
    margin-top: 6px;
    border-top: 1px solid var(--line-2);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(18,183,106,.16);
    flex-shrink: 0;
}

.comp strong {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
}

.comp small {
    font-size: 11.5px;
    color: var(--soft);
}

.pro-card {
    background: var(--ink);
    border-radius: 14px;
    padding: 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

    .pro-card::after {
        content: "";
        position: absolute;
        right: -40px;
        top: -40px;
        width: 150px;
        height: 150px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(45,212,191,.35), transparent 70%);
    }

    .pro-card > * {
        position: relative;
        z-index: 1;
    }

    .pro-card h4 {
        font-family: var(--serif);
        font-weight: 400;
        font-size: 26px;
        line-height: 1.1;
        margin-bottom: 8px;
    }

        .pro-card h4 em {
            color: var(--accent);
        }

    .pro-card p {
        font-size: 13px;
        line-height: 1.5;
        color: #B6C0CD;
        margin-bottom: 16px;
    }

    .pro-card .btn {
        width: 100%;
        justify-content: center;
        padding: 11px;
        font-size: 13.5px;
    }

/* VIEWS & HEADINGS */
.view {
    display: block;
    animation: fade .25s ease;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

h1.display {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -.01em;
}

h2.sec {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 32px;
    letter-spacing: -.01em;
    margin: 0 0 16px;
    line-height: 1.15;
}

    h2.sec span {
        color: var(--mute);
    }

.sec-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 16px;
}

    .sec-head h2.sec {
        margin: 0;
    }

    .sec-head a {
        font-size: 14px;
        font-weight: 600;
        color: var(--brand);
    }

/* HERO (Fundo escuro com z-index maior que o .stats abaixo dele) */
.hero {
    position: relative;
    background: var(--ink);
    border-radius: 20px;
    padding: 56px 48px 64px;
    color: #fff;
    z-index: 30; /* <-- ESSENCIAL: Faz tudo que sai do Hero (como o .ac) ficar acima dos .stats! */
}

.hero-bg {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    overflow: hidden;
    background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
    z-index: 1;
}

    .hero-bg::after {
        content: "";
        position: absolute;
        right: -120px;
        top: -160px;
        width: 520px;
        height: 520px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(45,212,191,.22), transparent 65%);
    }

.hero > *:not(.hero-bg) {
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}

    .eyebrow::before {
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--accent);
    }

.hero h1 {
    font-size: 60px;
    line-height: 1.02;
    max-width: 760px;
    margin-bottom: 16px;
    color: #fff;
}

    .hero h1 em {
        color: var(--accent);
    }

.hero p.sub {
    font-size: 17px;
    line-height: 1.55;
    color: #B6C0CD;
    max-width: 620px;
    margin-bottom: 36px;
}

/* BARRA DE BUSCA */
.search {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    z-index: 50 !important; /* <-- Garante que a barra e o dropdown fiquem acima dos botões .popular */
}

    .search select {
        font: inherit;
        font-size: 14.5px;
        font-weight: 600;
        background: var(--bg);
        border: 1px solid var(--line);
        border-radius: 10px;
        padding: 14px 14px;
        cursor: pointer;
        color: var(--ink);
        box-shadow: 0 24px 48px -16px rgba(0,0,0,.55);
        position: relative;
        z-index: 2;
    }

    .search .field {
        flex: 1 1 280px;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 0 12px;
        background: #fff;
        border-radius: 10px;
        color: var(--mute);
        position: relative;
        z-index: 60;
        box-shadow: 0 24px 48px -16px rgba(0,0,0,.55);
    }

        .search .field svg {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
        }

    .search input {
        flex: 1;
        min-width: 0;
        font: inherit;
        font-size: 16px;
        color: var(--ink);
        border: 0;
        background: transparent;
        padding: 14px 0;
        outline: none;
    }

        .search input::placeholder {
            color: #94A3B8;
        }

    .search .go {
        display: flex;
        align-items: center;
        gap: 8px;
        background: var(--brand);
        color: #fff;
        font-size: 15px;
        font-weight: 600;
        border-radius: 10px;
        padding: 0 26px;
        min-height: 50px;
        transition: .15s;
        position: relative;
        z-index: 2;
        box-shadow: 0 24px 48px -16px rgba(0,0,0,.55);
    }

        .search .go:hover {
            background: var(--brand-dk);
        }

/* AUTOCOMPLETE (Alinhado e por cima de tudo) */
.ac {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 24px 48px -16px rgba(11,18,32,.35);
    max-height: 360px;
    overflow-y: auto;
    display: none;
    z-index: 9999;
    color: var(--ink);
}

    .ac.show {
        display: block;
    }

    .ac .empty {
        padding: 18px;
        text-align: center;
        color: var(--soft);
        font-size: 14px;
    }

    .ac a, .ac button {
        display: flex;
        align-items: center;
        gap: 14px;
        width: 100%;
        padding: 12px 18px;
        text-align: left;
        border-bottom: 1px solid var(--line-2);
        transition: .12s;
        text-decoration: none;
        color: inherit;
    }

        .ac a:hover, .ac a.sel, .ac button:hover, .ac button.sel {
            background: #F7F9FB;
        }

    .ac small {
        display: block;
        font-size: 12.5px;
        color: var(--soft);
    }

    .ac strong {
        font-size: 14.5px;
        font-weight: 600;
    }

/* DESTAQUES HOME */
.popular {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 13px;
    color: #8C98A8;
    position: relative;
    z-index: 1 !important;
}

    .popular a, .popular button {
        font-family: var(--mono);
        font-size: 12.5px;
        color: #E5EAF0;
        border: 1px solid rgba(255,255,255,.18);
        border-radius: 100px;
        padding: 4px 12px;
        transition: .15s;
    }

        .popular a:hover, .popular button:hover {
            background: rgba(255,255,255,.1);
        }

/* ESTATÍSTICAS (Bloco separado abaixo do Hero) */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 24px 0 48px;
    position: relative;
    z-index: 1; /* <-- Fica abaixo do .hero (z-index: 30) quando o dropdown abrir! */
}

.stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 18px 36px -22px rgba(11,18,32,.35);
}

    .stat .l {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--soft);
    }

        .stat .l i {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            display: inline-block;
        }

    .stat .v {
        font-family: var(--serif);
        font-size: 46px;
        line-height: 1.1;
        margin: 10px 0 4px;
        letter-spacing: -.01em;
    }

    .stat .d {
        font-size: 13px;
        color: var(--soft);
    }

/* ATALHOS / CARDS */
.quick {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.lift {
    transition: .2s;
}

    .lift:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 32px -16px rgba(11,18,32,.25);
        border-color: var(--brand-line);
    }

.quick-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px 20px;
    text-align: left;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

    .quick-card .ic {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: var(--brand-bg);
        color: var(--brand);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .quick-card strong {
        display: block;
        font-size: 15.5px;
        font-weight: 600;
    }

    .quick-card small {
        font-size: 13px;
        color: var(--soft);
    }

/* BANNERS PATROCINADOS */
.sponsored {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px 32px;
    background: #fff;
    border: 1px solid var(--brand-line);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 48px;
    box-shadow: 0 18px 36px -26px rgba(15,118,110,.5);
}

    .sponsored .ic {
        width: 64px;
        height: 64px;
        border-radius: 16px;
        background: var(--brand);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
    }

    .sponsored .tx {
        flex: 1 1 360px;
        min-width: 0;
    }

    .sponsored .tag {
        font-size: 10.5px;
        font-weight: 600;
        letter-spacing: .14em;
        text-transform: uppercase;
        color: var(--brand);
        margin-bottom: 6px;
    }

    .sponsored h3 {
        font-family: var(--serif);
        font-weight: 400;
        font-size: 28px;
        line-height: 1.15;
        letter-spacing: -.01em;
        margin-bottom: 8px;
    }

    .sponsored p {
        font-size: 14.5px;
        line-height: 1.6;
        color: #4B5565;
    }

    .sponsored.compact {
        padding: 24px 28px;
        margin: 24px 0 0;
    }

        .sponsored.compact .ic {
            width: 52px;
            height: 52px;
            border-radius: 14px;
        }

        .sponsored.compact h3 {
            font-size: 24px;
            margin: 0;
        }

.btn-cta {
    font-size: 14.5px;
    font-weight: 600;
    color: #fff;
    background: var(--brand);
    border-radius: 12px;
    padding: 14px 24px;
    white-space: nowrap;
    transition: .15s;
    display: inline-block;
    text-decoration: none;
}

    .btn-cta:hover {
        background: var(--brand-dk);
    }

/* LISTAGENS SIMPLES */
.list {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
}

.row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px 18px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--line-2);
    width: 100%;
    text-align: left;
    transition: .15s;
    text-decoration: none;
    color: inherit;
}

    .row:last-child {
        border-bottom: 0;
    }

    .row:hover {
        background: #F7F9FB;
    }

.code {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--brand);
    background: var(--brand-bg);
    border-radius: 8px;
    padding: 5px 10px;
    white-space: nowrap;
}

.row .i {
    flex: 1 1 240px;
    line-height: 1.4;
}

    .row .i strong {
        display: block;
        font-size: 15px;
        font-weight: 600;
    }

    .row .i small {
        font-size: 13px;
        color: var(--soft);
    }

.pill {
    font-size: 12px;
    font-weight: 600;
    border-radius: 100px;
    padding: 4px 12px;
}

.p-upd {
    color: #93370D;
    background: #FEF0C7;
}

.p-del {
    color: #912018;
    background: #FEE4E2;
}

.p-new {
    color: #085D3A;
    background: #D1FADF;
}

.p-white {
    color: var(--ink);
    background: #fff;
    padding: 6px 14px;
    font-size: 12.5px;
}

/* =========================================
NOVO GRID E LAYOUT EDITORIAL PREMIUM (BLOG)
========================================= */
.blog-head {
    max-width: 800px;
    margin-bottom: 48px;
}

    .blog-head span {
        display: block;
        color: var(--brand);
        font-weight: 700;
        font-size: 11px;
        letter-spacing: .14em;
        text-transform: uppercase;
        margin-bottom: 12px;
    }

    .blog-head h1 {
        font-family: var(--serif);
        font-size: 48px;
        line-height: 1.05;
        color: var(--ink);
        margin-bottom: 16px;
    }

    .blog-head p {
        font-size: 18px;
        color: var(--soft);
        line-height: 1.6;
    }

.articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.article {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 32px;
    text-align: left;
    width: 100%;
    text-decoration: none;
    color: inherit;
    transition: .3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

    .article:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 40px -16px rgba(11,18,32,.12);
        border-color: var(--brand-line);
    }

    .article .cat {
        display: inline-block;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: .15em;
        text-transform: uppercase;
        color: var(--brand);
        background: var(--brand-bg);
        padding: 6px 12px;
        border-radius: 8px;
        margin-bottom: 20px;
        align-self: flex-start;
    }

    .article h3 {
        font-family: var(--serif);
        font-weight: 400;
        font-size: 26px;
        line-height: 1.15;
        letter-spacing: -.01em;
        margin-bottom: 14px;
        color: var(--ink);
        transition: color .2s;
    }

    .article:hover h3 {
        color: var(--brand);
    }

    .article p {
        font-size: 14.5px;
        line-height: 1.65;
        color: var(--soft);
        flex: 1;
        margin-bottom: 28px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .article .meta-art {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 13px;
        color: var(--mute);
        font-weight: 500;
        border-top: 1px solid var(--line-2);
        padding-top: 20px;
    }

    .article small {
        font-size: 12.5px;
        color: var(--mute);
    }

    .article.sp {
        border-color: var(--brand-line);
        background: #F4FBFA;
    }

.article-hero {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 24px;
}

    .article-hero .hero-content {
        flex: 1 1 55%;
        padding: 48px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .article-hero .hero-image {
        flex: 1 1 45%;
        background: radial-gradient(circle at top right, var(--brand-line), var(--bg));
        min-height: 280px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        border-left: 1px solid var(--line-2);
    }

    .article-hero h2 {
        font-family: var(--serif);
        font-weight: 400;
        font-size: 42px;
        line-height: 1.1;
        letter-spacing: -.01em;
        margin-bottom: 20px;
        color: var(--ink);
        transition: color .2s;
    }

    .article-hero:hover h2 {
        color: var(--brand);
    }

    .article-hero p {
        font-size: 16px;
    }

@media(max-width: 900px) {
    .article-hero {
        flex-direction: column-reverse;
        gap: 0;
    }

        .article-hero .hero-image {
            min-height: 200px;
            width: 100%;
            border-left: 0;
            border-bottom: 1px solid var(--line-2);
        }

        .article-hero .hero-content {
            padding: 32px;
        }

        .article-hero h2 {
            font-size: 32px;
        }
}

.newsletter-box {
    background: var(--ink);
    border-radius: 24px;
    padding: 56px 40px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 56px;
}

    .newsletter-box::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient(rgba(255,255,255,.15) 1px, transparent 1px);
        background-size: 24px 24px;
        opacity: 0.4;
    }

    .newsletter-box h3 {
        font-family: var(--serif);
        font-size: 36px;
        font-weight: 400;
        position: relative;
        z-index: 1;
        margin-bottom: 16px;
    }

    .newsletter-box p {
        color: var(--mute);
        font-size: 16px;
        position: relative;
        z-index: 1;
        margin-bottom: 36px;
    }

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

    .newsletter-form input {
        padding: 16px 24px;
        border-radius: 12px;
        border: 1px solid rgba(255,255,255,.2);
        background: rgba(255,255,255,.05);
        color: #fff;
        font-size: 15px;
        width: 100%;
        max-width: 360px;
        outline: none;
        transition: .2s;
    }

        .newsletter-form input:focus {
            border-color: var(--brand);
            background: rgba(255,255,255,.1);
        }

    .newsletter-form button {
        background: var(--brand);
        color: #fff;
        font-weight: 600;
        padding: 0 32px;
        border-radius: 12px;
        transition: .15s;
        font-size: 15px;
    }

        .newsletter-form button:hover {
            background: var(--brand-dk);
        }

@media(max-width: 600px) {
    .newsletter-form {
        flex-direction: column;
    }

        .newsletter-form input {
            max-width: 100%;
        }

        .newsletter-form button {
            min-height: 54px;
        }
}

/* TELA DE LEITURA (ARTIGO ABERTO) */
.read-hero {
    text-align: left;
    border-bottom: 1px solid var(--line-2);
    padding-bottom: 32px;
    margin-bottom: 40px;
}

    .read-hero h1 {
        font-family: var(--serif);
        font-size: 52px;
        line-height: 1.1;
        letter-spacing: -.02em;
        margin-bottom: 24px;
        color: var(--ink);
    }

    .read-hero p.resumo {
        font-size: 20px;
        line-height: 1.6;
        color: var(--soft);
        margin-bottom: 32px;
        max-width: 800px;
    }

.read-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--line-2);
}

.author-block {
    display: flex;
    align-items: center;
    gap: 16px;
}

.share-btns {
    display: flex;
    gap: 8px;
}

    .share-btns button, .share-btns a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1px solid var(--line);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--soft);
        transition: .15s;
    }

        .share-btns button:hover, .share-btns a:hover {
            color: var(--brand);
            border-color: var(--brand-line);
            background: var(--brand-bg);
        }

@media(max-width: 700px) {
    .read-hero h1 {
        font-size: 40px;
    }

    .read-hero p.resumo {
        font-size: 18px;
    }

    .read-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* CONTEÚDO EDITORIAL PREMIUM (TIPOGRAFIA DE LEITURA) */
.editorial-wrap {
    display: flex;
    align-items: flex-start;
    gap: 48px;
}

.editorial-content {
    flex: 1;
    min-width: 0;
    max-width: 800px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 36px 40px;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--ink-2);
}

    .editorial-content h2 {
        font-family: var(--serif);
        font-size: 2.25rem;
        line-height: 1.2;
        color: var(--ink);
        margin: 2.5rem 0 1rem;
        font-weight: 400;
        letter-spacing: -0.01em;
    }

    .editorial-content h3 {
        font-size: 1.4rem;
        font-weight: 700;
        color: var(--ink);
        margin: 2rem 0 0.85rem;
    }

    .editorial-content p {
        margin-bottom: 1.5rem;
    }

    .editorial-content a {
        color: var(--brand);
        text-decoration: underline;
        text-decoration-color: var(--brand-line);
        text-underline-offset: 4px;
        transition: .2s;
    }

        .editorial-content a:hover {
            color: var(--brand-dk);
            text-decoration-color: var(--brand);
        }

    .editorial-content ul {
        list-style-type: disc;
        padding-left: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .editorial-content li {
        margin-bottom: 0.5rem;
    }

    .editorial-content blockquote {
        border-left: 4px solid var(--brand);
        padding-left: 1.5rem;
        font-style: italic;
        color: var(--soft);
        margin: 2rem 0;
        font-size: 1.25rem;
        line-height: 1.6;
    }

    .editorial-content code {
        background-color: var(--bg);
        color: var(--ink);
        font-family: var(--mono);
        padding: 0.2rem 0.4rem;
        border-radius: 0.25rem;
        font-size: 0.9em;
    }

.editorial-aside {
    flex: 0 0 300px;
    width: 300px;
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media(max-width: 1100px) {
    .editorial-wrap {
        flex-direction: column;
        gap: 32px;
    }

    .editorial-content {
        padding: 24px;
        max-width: 100%;
    }

    .editorial-aside {
        width: 100%;
        flex: 1;
        position: static;
    }
}
/* FIM DO BLOCO PREMIUM */

/* PÁGINAS INTERNAS (DETALHES & DE-PARA) */
.crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13.5px;
    color: var(--soft);
    margin-bottom: 16px;
}

    .crumbs a, .crumbs button {
        color: var(--brand);
        font-weight: 500;
    }

.page-head {
    margin-bottom: 24px;
}

    .page-head .eyebrow {
        font-size: 11.5px;
        letter-spacing: .14em;
        margin-bottom: 10px;
        color: var(--brand);
    }

        .page-head .eyebrow::before {
            display: none;
        }

    .page-head h1 {
        font-size: 50px;
        line-height: 1.05;
        margin-bottom: 10px;
    }

        .page-head h1 em {
            color: var(--brand);
        }

    .page-head p {
        font-size: 16px;
        line-height: 1.6;
        color: var(--soft);
        max-width: 640px;
    }

.banner {
    background: var(--ink);
    border-radius: 20px;
    padding: 32px 36px;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

    .banner::after {
        content: "";
        position: absolute;
        right: -100px;
        top: -140px;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(45,212,191,.2), transparent 65%);
    }

    .banner > * {
        position: relative;
        z-index: 1;
    }

    .banner .top {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 16px 24px;
    }

    .banner .pcode {
        font-family: var(--mono);
        font-size: 16px;
        font-weight: 600;
        color: var(--accent);
        border: 1px solid rgba(45,212,191,.45);
        border-radius: 10px;
        padding: 7px 14px;
    }

    .banner h1 {
        flex: 1 1 280px;
        font-size: 44px;
        line-height: 1.05;
    }

    .banner .acts {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 22px;
    }

.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.val {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px 22px;
}

    .val .k {
        font-size: 11.5px;
        font-weight: 600;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--soft);
    }

    .val .n {
        font-family: var(--mono);
        font-size: 26px;
        font-weight: 600;
        margin-top: 10px;
        letter-spacing: -.02em;
    }

        .val .n.zero {
            color: var(--mute);
        }

    .val.total {
        background: var(--brand-bg);
        border-color: #B7E0DB;
    }

        .val.total .k, .val.total .n {
            color: var(--brand-dk);
        }

.info {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 26px 28px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px 36px;
    margin-bottom: 20px;
}

    .info .k {
        font-size: 11.5px;
        font-weight: 600;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--soft);
        margin-bottom: 4px;
    }

    .info .v {
        font-size: 15px;
        font-weight: 500;
    }

.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
}

.tabs {
    display: flex;
    overflow-x: auto;
    padding: 0 12px;
    border-bottom: 1px solid var(--line);
}

    .tabs button {
        font-size: 14.5px;
        font-weight: 500;
        color: var(--soft);
        padding: 16px 16px 14px;
        border-bottom: 2px solid transparent;
        margin-bottom: -1px;
        white-space: nowrap;
        transition: .15s;
    }

        .tabs button:hover {
            color: var(--ink);
        }

        .tabs button.active {
            color: var(--brand);
            font-weight: 600;
            border-bottom-color: var(--brand);
        }

.tab-body {
    padding: 28px;
}

.tab-pane {
    display: none;
}

    .tab-pane.active {
        display: block;
    }

    .tab-pane p {
        font-size: 15px;
        line-height: 1.75;
        color: var(--ink-2);
    }

    .tab-pane .row {
        padding: 14px 8px;
    }

.tuss-link {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    padding: 16px;
    border: 1px solid var(--brand-line);
    border-radius: 12px;
    background: #F4FBFA;
    width: 100%;
    text-align: left;
}

    .tuss-link .code {
        color: var(--brand-dk);
        background: #D5F0EC;
    }

    .tuss-link .i {
        flex: 1 1 280px;
        line-height: 1.4;
    }

    .tuss-link strong {
        display: block;
        font-size: 15px;
        font-weight: 600;
    }

    .tuss-link small {
        font-size: 13px;
        color: var(--soft);
    }

    .tuss-link em {
        font-style: normal;
        font-size: 13.5px;
        font-weight: 600;
        color: var(--brand);
    }

/* TUSS DE-PARA */
.query {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

    .query .f {
        flex: 1 1 320px;
    }

    .query label {
        display: block;
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .query input {
        width: 100%;
        font-family: var(--mono);
        font-size: 16px;
        font-weight: 500;
        color: var(--ink);
        background: var(--bg);
        border: 1px solid #D5DBE2;
        border-radius: 12px;
        padding: 14px 16px;
    }

    .query .btn {
        padding: 0 28px;
        min-height: 50px;
        font-size: 15px;
        border-radius: 12px;
    }

.result {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
}

.result-h {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 28px;
    border-bottom: 1px solid var(--line);
}

    .result-h h2 {
        font-size: 16px;
        font-weight: 600;
    }

.pair {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

    .pair .side {
        flex: 1 1 320px;
        padding: 26px 28px;
        text-align: left;
    }

    .pair .origin {
        background: #F7F9FB;
    }

    .pair .dest {
        background: #F4FBFA;
    }

    .pair .lab {
        font-size: 11px;
        font-weight: 600;
        letter-spacing: .14em;
        text-transform: uppercase;
        color: var(--soft);
        margin-bottom: 12px;
    }

    .pair .dest .lab, .pair .dest .pc {
        color: var(--brand-dk);
    }

    .pair .pc {
        font-family: var(--mono);
        font-size: 15px;
        font-weight: 600;
        color: var(--brand);
        margin-bottom: 8px;
    }

    .pair h3 {
        font-family: var(--serif);
        font-weight: 400;
        font-size: 28px;
        line-height: 1.15;
        letter-spacing: -.01em;
    }

    .pair small {
        display: block;
        font-size: 13px;
        color: var(--soft);
        margin: 8px 0 0;
    }

    .pair .dest small {
        margin-bottom: 18px;
    }

.arrow {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    color: var(--brand);
}

    .arrow div {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: var(--brand-bg);
        display: flex;
        align-items: center;
        justify-content: center;
    }

@media(max-width:700px) {
    .arrow {
        flex: 1 1 100%;
        padding: 12px 0;
    }

        .arrow div {
            transform: rotate(90deg);
        }
}

/* FOOTER */
footer {
    background: var(--ink);
    color: #B6C0CD;
    margin-top: auto;
}

.foot {
    max-width: 1320px;
    margin: 0 auto;
    padding: 40px 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px 48px;
    align-items: center;
    justify-content: space-between;
    font-size: 13.5px;
}

    .foot .brand {
        display: flex;
        align-items: center;
        gap: 10px;
        color: #fff;
        font-weight: 600;
        font-size: 17px;
    }

    .foot nav {
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
    }

        .foot nav a:hover {
            color: #fff;
        }

    .foot .meta {
        color: #8C98A8;
    }

.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 20px);
    background: var(--ink);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 12px;
    opacity: 0;
    pointer-events: none;
    transition: .25s;
    z-index: 300;
}

    .toast.show {
        opacity: 1;
        transform: translate(-50%, 0);
    }
