/* ============================================================
   FinançasClaras — Stylesheet
   Compartilhado por index.html e todos os níveis (nivel1–4.html)
   ============================================================ */

/* ── VARIÁVEIS ── */
:root {
    --esmeralda: #10B981;
    --esmeralda-dark: #059669;
    --esmeralda-deeper: #047857;
    --esmeralda-light: #6EE7B7;
    --esmeralda-glow: rgba(16,185,129,0.15);
    --grafite: #1A1A2E;
    --grafite-mid: #252540;
    --grafite-light: #2E2E50;
    --cinza: #6B7280;
    --cinza-claro: #F3F4F6;
    --branco: #FFFFFF;
    --texto: #E5E7EB;
}

* { box-sizing: border-box; }

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--grafite);
    color: var(--texto);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, .navbar-brand {
    font-family: 'Plus Jakarta Sans', sans-serif;
}


/* ── NAVBAR ── */
.navbar {
    background: rgba(26,26,46,0.92) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(16,185,129,0.15);
    padding: 1rem 0;
}
.navbar-brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--branco) !important;
    letter-spacing: -0.5px;
}
.navbar-brand span { color: var(--esmeralda); }
.nav-link {
    color: rgba(255,255,255,0.7) !important;
    font-weight: 500;
    transition: color .2s;
}
.nav-link:hover { color: var(--esmeralda) !important; }
.nav-link.active { color: var(--esmeralda) !important; }


/* ── BOTÕES ── */
.btn-esmeralda {
    background: linear-gradient(135deg, var(--esmeralda), var(--esmeralda-deeper));
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: all .25s;
    box-shadow: 0 0 20px rgba(16,185,129,0.35);
}
.btn-esmeralda:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(16,185,129,0.5);
    color: white;
}
.btn-outline-esmeralda {
    background: transparent;
    color: var(--esmeralda-light);
    border: 1px solid rgba(16,185,129,0.4);
    border-radius: 8px;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: all .25s;
}
.btn-outline-esmeralda:hover {
    background: rgba(16,185,129,0.1);
    border-color: var(--esmeralda);
    color: var(--branco);
}


/* ── SECTION TITLES ── */
.section-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--esmeralda);
    margin-bottom: 0.5rem;
}
.section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--branco);
    letter-spacing: -0.5px;
}
.section-sub {
    color: rgba(255,255,255,0.45);
    font-weight: 300;
    font-size: 1.05rem;
}


/* ── HERO (index) ── */
.hero {
    min-height: 100vh;
    background:
        radial-gradient(ellipse 80% 60% at 70% 50%, rgba(16,185,129,0.12) 0%, transparent 65%),
        radial-gradient(ellipse 50% 80% at 10% 90%, rgba(16,185,129,0.07) 0%, transparent 60%),
        linear-gradient(160deg, #1A1A2E 0%, #0F172A 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 7rem 0 5rem;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2310B981' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.hero-badge {
    display: inline-block;
    background: rgba(16,185,129,0.15);
    border: 1px solid rgba(16,185,129,0.3);
    color: var(--esmeralda-light);
    border-radius: 100px;
    padding: 0.35rem 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--branco);
    letter-spacing: -0.5px;
}
.hero h1 .highlight {
    color: var(--esmeralda);
    position: relative;
}
.hero p.lead {
    color: rgba(255,255,255,0.55);
    font-size: 1.15rem;
    font-weight: 300;
    max-width: 500px;
}
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.stat-num {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--esmeralda);
}
.stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hero-img-side { position: relative; }
.hero-card-float {
    background: rgba(37,37,64,0.85);
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.hero-card-float .icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--esmeralda), var(--esmeralda-deeper));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    flex-shrink: 0;
}
.card-float-1 { animation: floatY 4s ease-in-out infinite; }
.card-float-2 { animation: floatY 4s ease-in-out infinite reverse; }
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}


/* ── GUIA INICIANTE CARDS ── */
.guia-section { padding: 6rem 0; }
.nivel-card {
    background: var(--grafite-mid);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 1.8rem;
    height: 100%;
    transition: all .3s;
    position: relative;
    overflow: hidden;
}
.nivel-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 16px 16px 0 0;
}
.nivel-card.nivel-1::before { background: #EF4444; }
.nivel-card.nivel-2::before { background: #F59E0B; }
.nivel-card.nivel-3::before { background: #3B82F6; }
.nivel-card.nivel-4::before { background: var(--esmeralda); }
.nivel-card:hover {
    transform: translateY(-5px);
    border-color: rgba(16,185,129,0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.nivel-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.nivel-1 .nivel-icon { background: rgba(239,68,68,0.15); color: #EF4444; }
.nivel-2 .nivel-icon { background: rgba(245,158,11,0.15); color: #F59E0B; }
.nivel-3 .nivel-icon { background: rgba(59,130,246,0.15); color: #3B82F6; }
.nivel-4 .nivel-icon { background: rgba(16,185,129,0.15); color: var(--esmeralda); }
.nivel-badge {
    display: inline-block;
    border-radius: 100px;
    padding: 0.2rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.nivel-1 .nivel-badge { background: rgba(239,68,68,0.15); color: #FCA5A5; }
.nivel-2 .nivel-badge { background: rgba(245,158,11,0.15); color: #FCD34D; }
.nivel-3 .nivel-badge { background: rgba(59,130,246,0.15); color: #93C5FD; }
.nivel-4 .nivel-badge { background: rgba(16,185,129,0.15); color: var(--esmeralda-light); }
.nivel-card h5 { color: var(--branco); font-weight: 700; font-size: 1.05rem; }
.nivel-card p { color: rgba(255,255,255,0.45); font-size: 0.88rem; }
.btn-nivel {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    border-radius: 8px;
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all .2s;
    text-decoration: none;
    display: inline-block;
}
.btn-nivel:hover {
    border-color: var(--esmeralda);
    color: var(--esmeralda-light);
}


/* ── CALCULADORAS ── */
.calc-section { padding: 6rem 0; background: var(--grafite-mid); }
.calc-wrapper {
    background: var(--grafite);
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: 20px;
    overflow: hidden;
}
.calc-tabs {
    display: flex;
    gap: 0;
    background: var(--grafite-light);
    padding: 0.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}
.calc-tab {
    flex: 1;
    text-align: center;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    transition: all .25s;
    font-family: 'Plus Jakarta Sans', sans-serif;
    border: none;
    background: none;
}
.calc-tab.active {
    background: linear-gradient(135deg, var(--esmeralda), var(--esmeralda-deeper));
    color: white;
    box-shadow: 0 4px 15px rgba(16,185,129,0.3);
}
.calc-panel { display: none; }
.calc-panel.active { display: block; }
.calc-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.3px;
    margin-bottom: 0.4rem;
}
.calc-input {
    background: var(--grafite-light);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    color: var(--branco);
    padding: 0.75rem 1rem;
    width: 100%;
    font-size: 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    transition: border-color .2s;
}
.calc-input:focus {
    outline: none;
    border-color: var(--esmeralda);
    box-shadow: 0 0 0 3px rgba(16,185,129,0.1);
}
.calc-input::placeholder { color: rgba(255,255,255,0.2); }
.calc-select {
    background: var(--grafite-light);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    color: var(--branco);
    padding: 0.75rem 1rem;
    width: 100%;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2310B981' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    cursor: pointer;
}
.calc-select:focus { outline: none; border-color: var(--esmeralda); }
.calc-result-box {
    background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(16,185,129,0.05));
    border: 1px solid rgba(16,185,129,0.25);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
}
.calc-result-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0.5rem;
}
.calc-result-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--esmeralda);
}
.calc-result-sub {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
    margin-top: 0.25rem;
}
.btn-calcular {
    background: linear-gradient(135deg, var(--esmeralda), var(--esmeralda-deeper));
    border: none;
    color: white;
    border-radius: 10px;
    padding: 0.8rem 1.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    width: 100%;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all .25s;
    box-shadow: 0 4px 15px rgba(16,185,129,0.25);
}
.btn-calcular:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(16,185,129,0.4);
}


/* ── INVESTIMENTOS ── */
.invest-section { padding: 6rem 0; }
.invest-card {
    background: var(--grafite-mid);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all .3s;
}
.invest-card:hover {
    border-color: rgba(16,185,129,0.3);
    transform: translateY(-4px);
}
.invest-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(16,185,129,0.05));
    border: 1px solid rgba(16,185,129,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--esmeralda);
    margin-bottom: 1.2rem;
}
.invest-card h5 { color: var(--branco); font-weight: 700; }
.invest-card p { color: rgba(255,255,255,0.45); font-size: 0.9rem; }
.invest-tag {
    display: inline-block;
    background: rgba(16,185,129,0.1);
    color: var(--esmeralda-light);
    border-radius: 6px;
    padding: 0.2rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    margin-top: 0.75rem;
}


/* ── MENTIRAS ── */
.mentiras-section { padding: 6rem 0; background: var(--grafite-mid); }
.mentira-item {
    background: var(--grafite);
    border-left: 3px solid #EF4444;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all .25s;
}
.mentira-item:hover { transform: translateX(4px); }
.mentira-item h6 {
    color: #FCA5A5;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.mentira-item p {
    color: rgba(255,255,255,0.5);
    font-size: 0.88rem;
    margin: 0;
}
.verdade-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.2);
    color: var(--esmeralda-light);
    border-radius: 8px;
    padding: 0.3rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}


/* ── BLOG ── */
.blog-section { padding: 6rem 0; }
.blog-card {
    background: var(--grafite-mid);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    transition: all .3s;
}
.blog-card:hover {
    transform: translateY(-5px);
    border-color: rgba(16,185,129,0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.blog-img {
    height: 200px;
    background: var(--grafite-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    position: relative;
    overflow: hidden;
}
.blog-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, var(--grafite-mid));
}
.blog-body { padding: 1.5rem; }
.blog-tag {
    display: inline-block;
    background: rgba(16,185,129,0.1);
    color: var(--esmeralda-light);
    border-radius: 6px;
    padding: 0.2rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 0.75rem;
}
.blog-card h5 {
    color: var(--branco);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}
.blog-card h5 a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}
.blog-card h5 a:hover { color: var(--esmeralda); }
.blog-card p { color: rgba(255,255,255,0.45); font-size: 0.85rem; }
.blog-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--esmeralda), var(--esmeralda-deeper));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}
.blog-meta { font-size: 0.77rem; color: rgba(255,255,255,0.35); }
.blog-meta strong { color: rgba(255,255,255,0.6); display: block; }


/* ── TRILHA / STEPS ── */
.trilha-section { padding: 6rem 0; }
.step-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}
.step-num {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--esmeralda), var(--esmeralda-deeper));
    color: white;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(16,185,129,0.3);
}
.step-content h5 { color: var(--branco); font-weight: 700; margin-bottom: 0.4rem; }
.step-content p { color: rgba(255,255,255,0.45); font-size: 0.9rem; margin: 0; }


/* ── NEWSLETTER ── */
.newsletter-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--esmeralda-deeper) 0%, #064E3B 100%);
    position: relative;
    overflow: hidden;
}
.newsletter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23fff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.newsletter-input {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    color: white;
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
    backdrop-filter: blur(5px);
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-input:focus {
    outline: none;
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.15);
}
.btn-newsletter {
    background: white;
    color: var(--esmeralda-deeper);
    border: none;
    border-radius: 10px;
    padding: 0.8rem 1.5rem;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    white-space: nowrap;
}
.btn-newsletter:hover { background: var(--esmeralda-light); color: var(--esmeralda-deeper); }


/* ── FOOTER ── */
footer {
    background: #0D0D1A;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 2rem 0;
}
footer .text-muted { color: rgba(255,255,255,0.3) !important; }
footer a { color: rgba(255,255,255,0.3); text-decoration: none; transition: color .2s; }
footer a:hover { color: var(--esmeralda); }


/* ── ANIMATIONS ── */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .5s ease, transform .5s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }


/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--grafite); }
::-webkit-scrollbar-thumb { background: rgba(16,185,129,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--esmeralda); }


/* ============================================================
   ESTILOS EXCLUSIVOS DAS PÁGINAS DE ARTIGO (nivel1–4.html)
   ============================================================ */

/* Hero do artigo */
.article-hero {
    background: linear-gradient(160deg, #0F172A 0%, #1A1A2E 100%);
    border-bottom: 1px solid rgba(16,185,129,0.1);
    padding: 8rem 0 4rem;
}
.article-crumbs a { color: rgba(255,255,255,.4); text-decoration: none; font-size: .82rem; }
.article-crumbs a:hover { color: var(--esmeralda); }
.article-crumbs span { color: rgba(255,255,255,.2); margin: 0 .5rem; }
.article-tag {
    display: inline-block;
    background: rgba(16,185,129,.15);
    color: var(--esmeralda-light);
    border-radius: 100px;
    padding: .3rem .9rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.article-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--branco);
    letter-spacing: -1px;
    line-height: 1.15;
}
.article-hero .lead { color: rgba(255,255,255,.5); font-weight: 300; }
.author-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.07);
}
.author-avatar-lg {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--esmeralda), var(--esmeralda-deeper));
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; color: white; font-size: 1rem; flex-shrink: 0;
}
.author-name { font-weight: 700; color: var(--branco); font-size: .9rem; }
.author-meta { font-size: .78rem; color: rgba(255,255,255,.35); }

/* Corpo do artigo */
.article-section { padding: 5rem 0; }
.article-cover {
    width: 100%; border-radius: 16px;
    background: linear-gradient(135deg, var(--grafite-light), var(--grafite-mid));
    height: 340px; display: flex; align-items: center; justify-content: center;
    font-size: 5rem; margin-bottom: 3rem;
    border: 1px solid rgba(16,185,129,.1);
}
.article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}
.article-body p { font-size: 1.05rem; line-height: 1.85; color: rgba(255,255,255,.7); margin-bottom: 1.25rem; }
.step-block {
    background: var(--grafite-mid);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 16px;
    padding: 2rem;
    margin: 2.5rem 0;
    position: relative;
}
.step-block::before {
    content: '';
    position: absolute; top: 0; left: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--esmeralda), var(--esmeralda-deeper));
    border-radius: 16px 0 0 16px;
}
.step-num-inline {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, var(--esmeralda), var(--esmeralda-deeper));
    color: white; font-weight: 800; font-size: .9rem;
    margin-bottom: 1rem; font-family: 'Plus Jakarta Sans', sans-serif;
}
.step-block h2 { color: var(--branco); font-size: 1.3rem; font-weight: 700; margin-bottom: .75rem; }
.step-block p, .step-block li { color: rgba(255,255,255,.6); font-size: .95rem; line-height: 1.7; }
.step-block ul, .step-block ol { padding-left: 1.25rem; }
.step-block li { margin-bottom: .5rem; }
.step-block strong { color: var(--esmeralda-light); }
.highlight-box {
    background: rgba(16,185,129,.08);
    border: 1px solid rgba(16,185,129,.2);
    border-radius: 12px; padding: 1.25rem 1.5rem; margin: 1rem 0;
}
.highlight-box p { color: rgba(255,255,255,.65); margin: 0; font-size: .9rem; }

/* Sidebar */
.sidebar-sticky { position: sticky; top: 6rem; }
.sidebar-card {
    background: var(--grafite-mid);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 16px; padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.sidebar-card h6 {
    color: var(--esmeralda-light);
    font-size: .75rem; letter-spacing: 1px;
    text-transform: uppercase; font-weight: 700; margin-bottom: 1rem;
}
.toc-item {
    display: block; color: rgba(255,255,255,.5);
    text-decoration: none; font-size: .85rem;
    padding: .5rem 0; border-bottom: 1px solid rgba(255,255,255,.05);
    transition: color .2s;
}
.toc-item:last-child { border-bottom: none; }
.toc-item:hover { color: var(--esmeralda); }
.toc-num { color: var(--esmeralda); font-weight: 700; margin-right: .5rem; font-size: .8rem; }
.related-post {
    display: flex; gap: .75rem; align-items: flex-start;
    padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.05);
}
.related-post:last-child { border-bottom: none; }
.related-icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: var(--grafite-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
}
.related-post a {
    color: rgba(255,255,255,.7); text-decoration: none;
    font-size: .85rem; font-weight: 600; transition: color .2s; line-height: 1.3;
}
.related-post a:hover { color: var(--esmeralda); }
.related-post .small { color: rgba(255,255,255,.3); font-size: .75rem; }

/* Comentários */
.comments-section { margin-top: 3rem; }
.comment-card {
    background: var(--grafite-mid);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 16px; padding: 1.5rem; margin-bottom: 1rem;
}
.comment-author { font-weight: 700; color: var(--branco); font-size: .9rem; }
.comment-date { color: rgba(255,255,255,.3); font-size: .75rem; }
.comment-text { color: rgba(255,255,255,.55); font-size: .88rem; margin-top: .5rem; }
.reply-card {
    background: var(--grafite-light);
    border-radius: 12px; padding: 1.25rem; margin-top: .75rem;
    border-left: 3px solid rgba(16,185,129,.3);
}
.comment-input {
    background: var(--grafite-light);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px; color: var(--branco);
    padding: .9rem 1.1rem; width: 100%; font-size: .9rem;
    font-family: 'DM Sans', sans-serif;
    resize: vertical; transition: border-color .2s;
}
.comment-input:focus { outline: none; border-color: var(--esmeralda); box-shadow: 0 0 0 3px rgba(16,185,129,.1); }
.comment-input::placeholder { color: rgba(255,255,255,.2); }
.btn-comment {
    background: linear-gradient(135deg, var(--esmeralda), var(--esmeralda-deeper));
    border: none; color: white; border-radius: 10px;
    padding: .7rem 1.5rem; font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    cursor: pointer; transition: all .2s;
}
.btn-comment:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(16,185,129,.3); }