/* =========================================================
   DJOTA — design tokens, reset, componentes, layout
   Paleta: brandbook 2025
   Tipografia: Plus Jakarta Sans · Inter · JetBrains Mono
   ========================================================= */

/* ── Tokens ── */
:root {
    --blue:       #2563EB;
    --blue-dark:  #1E40AF;
    --blue-pale:  #EFF6FF;
    --green:      #10B981;
    --green-dark: #065F46;
    --night:      #0D1117;
    --night-2:    #161B22;
    --slate:      #64748B;
    --light:      #F5F7FA;
    --white:      #FFFFFF;

    --font-title: 'Plus Jakarta Sans', sans-serif;
    --font-body:  'Inter', sans-serif;
    --font-mono:  'JetBrains Mono', monospace;

    --radius:    8px;
    --radius-lg: 16px;
    --shadow:    0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
    --shadow-md: 0 4px 24px rgba(37,99,235,.12);
    --transition: 0.22s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--night);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Container ── */
.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Buttons ── */
.btn-djota {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue);
    color: var(--white);
    font-family: var(--font-title);
    font-size: 15px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: var(--radius);
    border: 1.5px solid transparent;
    transition: background var(--transition), transform var(--transition);
}
.btn-djota:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--white);
    font-family: var(--font-title);
    font-size: 15px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: var(--radius);
    border: 1.5px solid rgba(255,255,255,0.35);
    transition: border-color var(--transition), background var(--transition);
}
.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.06);
}
.btn-lg { padding: 13px 30px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* ── Section labels ── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 12px;
}
.section-label::before {
    content: '';
    display: block;
    width: 20px;
    height: 3px;
    background: var(--green);
    border-radius: 2px;
}
.section-label-light { color: rgba(255,255,255,0.7); }
.section-label-light::before { background: var(--green); }

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease;
}
.section-header.visible { opacity: 1; transform: none; }

.section-header h2 {
    font-family: var(--font-title);
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 600;
    line-height: 1.2;
    color: var(--night);
    margin-bottom: 16px;
}
.section-header p {
    font-size: 17px;
    color: var(--slate);
    line-height: 1.7;
}

/* ── Reveal animation ── */
.card, .step, .stat {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .5s ease, transform .5s ease;
}
.card.visible, .step.visible, .stat.visible { opacity: 1; transform: none; }

/* ======================================================
   NAV
   ====================================================== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: var(--night);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: box-shadow var(--transition);
}
.nav-scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.nav-logo img { height: 72px; width: auto; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}
.nav-links a {
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links .btn-djota {
    font-size: 14px;
    padding: 8px 18px;
    color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ======================================================
   HERO
   ====================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--night);
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 65%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(16,185,129,0.08) 0%, transparent 65%);
    pointer-events: none;
}

.hero-bg-dec {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}
.hero-bg-dec img { width: 480px; height: auto; }

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 28px;
}
.badge-dot {
    width: 8px; height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2.5s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .5; transform: scale(1.4); }
}

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(40px, 6vw, 68px);
    font-weight: 600;
    line-height: 1.12;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -.02em;
}
.hero-title em {
    font-style: normal;
    color: var(--green);
}

.hero-sub {
    font-family: var(--font-body);
    font-size: clamp(16px, 2vw, 19px);
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255,255,255,0.65);
    max-width: 560px;
    margin-bottom: 40px;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: rgba(255,255,255,0.35);
}
.hero-meta .sep { color: rgba(255,255,255,0.15); }

/* ======================================================
   SECTION — LIGHT (Para quem)
   ====================================================== */
.section-light {
    padding: 96px 0;
    background: var(--light);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    position: relative;
    transition: box-shadow var(--transition), transform var(--transition), opacity .5s ease;
}
.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.card-featured {
    border-color: var(--blue);
    border-width: 2px;
    box-shadow: 0 0 0 4px rgba(37,99,235,0.08);
}
.card-badge {
    position: absolute;
    top: -12px;
    left: 28px;
    background: var(--blue);
    color: var(--white);
    font-family: var(--font-title);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 20px;
}
.card-icon {
    margin-bottom: 20px;
}
.card h3 {
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 600;
    color: var(--night);
    margin-bottom: 12px;
}
.card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--slate);
}

/* ======================================================
   SECTION — WHITE (Como funciona)
   ====================================================== */
.section-white {
    padding: 96px 0;
    background: var(--white);
}

.steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 64px;
    max-width: 900px;
    margin: 0 auto;
}
.step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.step-num {
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--white);
    background: var(--blue);
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: .04em;
}
.step-body h3 {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 600;
    color: var(--night);
    margin-bottom: 8px;
    margin-top: 10px;
}
.step-body p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--slate);
}

/* ======================================================
   SECTION — BLUE (Sobre)
   ====================================================== */
.section-blue {
    padding: 96px 0;
    background: var(--blue);
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.sobre-story h2 {
    font-family: var(--font-title);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 24px;
}
.sobre-story p {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255,255,255,0.75);
    margin-bottom: 16px;
}

.sobre-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stat-num {
    font-family: var(--font-title);
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
}
.stat-lbl {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.sobre-values { padding-top: 4px; }
.sobre-values .section-label { display: flex; }

.values-list { display: flex; flex-direction: column; gap: 24px; margin-top: 4px; }
.values-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.val-dot {
    flex-shrink: 0;
    width: 8px; height: 8px;
    background: var(--green);
    border-radius: 50%;
    margin-top: 7px;
}
.values-list strong {
    display: block;
    font-family: var(--font-title);
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 2px;
}
.values-list p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin: 0;
}

/* ======================================================
   SECTION — VISION
   ====================================================== */
.section-vision {
    padding: 80px 0;
    background: var(--night-2);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.vision-inner {
    display: flex;
    align-items: center;
    gap: 48px;
    max-width: 860px;
}
.vision-symbol { flex-shrink: 0; }
.vision-inner h2 {
    font-family: var(--font-title);
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 300;
    line-height: 1.4;
    color: var(--white);
    font-style: italic;
}
.vision-inner .section-label { color: rgba(255,255,255,0.5); }

/* ======================================================
   SECTION — DARK (Contato)
   ====================================================== */
.section-dark {
    padding: 96px 0;
    background: var(--night);
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.contato-info h2 {
    font-family: var(--font-title);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 20px;
}
.contato-info > p {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255,255,255,0.6);
    margin-bottom: 40px;
}

.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-details li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    color: rgba(255,255,255,0.75);
}
.cd-icon {
    flex-shrink: 0;
    width: 36px; height: 36px;
    background: rgba(37,99,235,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
}
.contact-details a:hover { color: var(--green); }

/* ── Form ── */
.contato-form {
    background: var(--night-2);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group label {
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    letter-spacing: .02em;
}
.optional {
    font-weight: 400;
    color: rgba(255,255,255,0.3);
}
.form-group input,
.form-group textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    padding: 12px 16px;
    width: 100%;
    transition: border-color var(--transition), background var(--transition);
    outline: none;
    resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.25);
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    background: rgba(37,99,235,0.06);
}
.form-group textarea { min-height: 120px; }

/* ── Form messages ── */
#form-message { min-height: 0; }
.msg {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-title);
}
.msg-success {
    background: rgba(16,185,129,0.15);
    border: 1px solid rgba(16,185,129,0.3);
    color: #6ee7b7;
}
.msg-error {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.25);
    color: #fca5a5;
}

/* ======================================================
   FOOTER
   ====================================================== */
.footer {
    background: var(--night);
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 64px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 40px;
    padding-bottom: 48px;
}
.footer-brand img { height: 72px; }
.footer-tagline {
    font-family: var(--font-title);
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    margin-top: 8px;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.footer-nav {
    display: flex;
    gap: 28px;
    justify-content: center;
}
.footer-nav a {
    font-family: var(--font-title);
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    transition: color var(--transition);
}
.footer-nav a:hover { color: var(--white); }
.footer-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}
.footer-contact a:hover { color: var(--green); }
.footer-contact .sep { color: rgba(255,255,255,0.15); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 12px;
    color: rgba(255,255,255,0.25);
}

/* ======================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 1024px) {
    .sobre-grid    { gap: 48px; }
    .contato-grid  { gap: 48px; }
    .footer-inner  {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-contact { justify-content: center; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 72px; left: 0; right: 0;
        background: var(--night);
        border-top: 1px solid rgba(255,255,255,0.07);
        flex-direction: column;
        gap: 0;
        padding: 16px 0 24px;
    }
    .nav-links.nav-open { display: flex; }
    .nav-links a {
        padding: 14px 24px;
        font-size: 16px;
        width: 100%;
    }
    .nav-links .btn-djota {
        margin: 16px 24px 0;
        width: calc(100% - 48px);
        justify-content: center;
    }
    .nav-toggle { display: flex; }

    .hero-bg-dec { display: none; }
    .hero-ctas { flex-direction: column; align-items: flex-start; }
    .hero-ctas .btn-djota,
    .hero-ctas .btn-outline { width: 100%; justify-content: center; }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .sobre-grid    { grid-template-columns: 1fr; gap: 48px; }
    .contato-grid  { grid-template-columns: 1fr; gap: 48px; }

    .sobre-stats { gap: 28px; }
    .stat-num    { font-size: 22px; }

    .contato-form  { padding: 28px 20px; }
    .vision-inner  {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    .vision-inner .section-label { justify-content: center; }

    .footer-nav { flex-wrap: wrap; gap: 16px; }
    .footer-bottom .container { flex-direction: column; gap: 8px; text-align: center; }

    .section-light,
    .section-white,
    .section-blue,
    .section-dark   { padding: 64px 0; }
    .section-vision { padding: 56px 0; }
}

@media (max-width: 480px) {
    .hero { padding: 96px 0 64px; }
    .hero-meta { flex-wrap: wrap; row-gap: 4px; }
    .sobre-stats { flex-direction: column; gap: 20px; }
}

/* ======================================================
   NAV — link ativo para páginas internas
   ====================================================== */
.nav-link-active {
    color: var(--green) !important;
    font-weight: 600;
}

/* ======================================================
   BREADCRUMB
   ====================================================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,.55);
    margin-bottom: 24px;
}
.breadcrumb a { color: rgba(255,255,255,.7); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span[aria-hidden] { color: rgba(255,255,255,.35); }
.breadcrumb span[aria-current] { color: rgba(255,255,255,.85); }

/* ======================================================
   BLOG — Hero
   ====================================================== */
.blog-hero {
    background: var(--night);
    padding: 120px 0 64px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.blog-hero-title {
    font-family: var(--font-title);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 16px;
}
.blog-hero-sub {
    font-size: 17px;
    color: rgba(255,255,255,.65);
    max-width: 520px;
}

/* ======================================================
   BLOG — Grid de artigos
   ====================================================== */
.blog-main { padding: 64px 0 96px; background: var(--light); }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.blog-card-img-wrap {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--night-2);
}
.blog-card-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.blog-card:hover .blog-card-img-wrap img { transform: scale(1.04); }

.blog-card-body {
    padding: 24px 24px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog-card-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--blue);
    margin-bottom: 10px;
}
.blog-card-title {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;
    color: var(--night);
}
.blog-card-title a { color: inherit; }
.blog-card-title a:hover { color: var(--blue); }

.blog-card-sub {
    font-size: 14px;
    color: var(--slate);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,.06);
    font-size: 13px;
    color: var(--slate);
}
.blog-card-read {
    color: var(--blue);
    font-weight: 600;
    font-size: 13px;
    transition: gap var(--transition);
    white-space: nowrap;
}
.blog-card-read:hover { color: var(--blue-dark); }

.blog-empty {
    text-align: center;
    padding: 80px 24px;
    color: var(--slate);
}
.blog-empty p { font-size: 17px; margin-bottom: 24px; }

/* ======================================================
   ARTIGO — Header
   ====================================================== */
.art-header {
    background: var(--night);
    padding: 120px 0 56px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.art-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--green);
    margin-bottom: 16px;
}
.art-title {
    font-family: var(--font-title);
    font-size: clamp(26px, 4vw, 44px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    max-width: 760px;
    margin-bottom: 18px;
}
.art-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,.7);
    line-height: 1.6;
    max-width: 680px;
    margin-bottom: 24px;
}
.art-meta {
    font-size: 13px;
    color: rgba(255,255,255,.45);
}

/* ======================================================
   ARTIGO — Capa
   ====================================================== */
.art-cover {
    background: var(--night-2);
    padding: 0;
}
.art-cover img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

/* ======================================================
   ARTIGO — Corpo
   ====================================================== */
.art-main { padding: 64px 0 96px; background: var(--white); }

.art-body { max-width: 740px; margin: 0 auto; }

/* Prose — tipografia do conteúdo */
.prose { font-size: 17px; line-height: 1.8; color: #1A202C; }

.prose h2 {
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 700;
    color: var(--night);
    margin: 48px 0 16px;
    line-height: 1.2;
}
.prose h3 {
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 600;
    color: var(--night);
    margin: 36px 0 12px;
}
.prose h4 {
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 600;
    color: var(--night);
    margin: 28px 0 10px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.prose p { margin-bottom: 24px; }
.prose p:last-child { margin-bottom: 0; }

.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--blue-dark); }

.prose strong { font-weight: 600; color: var(--night); }
.prose em { font-style: italic; }

.prose ul, .prose ol {
    padding-left: 24px;
    margin-bottom: 24px;
}
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 8px; }

.prose blockquote {
    margin: 32px 0;
    padding: 20px 24px;
    border-left: 4px solid var(--green);
    background: var(--blue-pale);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: #374151;
}

.prose pre {
    background: var(--night);
    color: #E2E8F0;
    border-radius: var(--radius);
    padding: 20px 24px;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}
.prose code {
    font-family: var(--font-mono);
    font-size: .88em;
    background: #F1F5F9;
    color: var(--blue-dark);
    padding: 2px 6px;
    border-radius: 4px;
}
.prose pre code { background: none; color: inherit; padding: 0; }

.prose img {
    border-radius: var(--radius);
    margin: 32px auto;
    max-width: 100%;
}

.art-footer { max-width: 740px; margin: 48px auto 0; padding-top: 32px; border-top: 1px solid rgba(0,0,0,.08); }

.art-back {
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
    transition: color var(--transition);
}
.art-back:hover { color: var(--blue-dark); }

/* ======================================================
   Responsivo — Blog e Artigo
   ====================================================== */
@media (max-width: 768px) {
    .blog-hero { padding: 100px 0 48px; }
    .blog-grid  { grid-template-columns: 1fr; gap: 24px; }
    .art-header { padding: 100px 0 40px; }
    .art-body   { font-size: 16px; }
    .art-cover img { max-height: 300px; }
}

@media (max-width: 480px) {
    .blog-card-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
}
