/* Paleta Fintech Profissional */
:root {
    /* Primárias - Azul Corporativo */
    --blue-corporate: #0A2540;
    --blue-tech: #635BFF;
    --blue-light: #4A90E2;
    
    /* Secundárias - Verde Data */
    --green-data: #00D924;
    --green-light: #00FFA3;
    
    /* Neutras */
    --sand: #F5F5F0;
    --white: #FFFFFF;
    --charcoal: #2D3436;
    --gray: #636E72;
    
    /* Aliases compatibilidade */
    --acai-dark: #0A2540;
    --acai-medium: #635BFF;
    --acai-light: #4A90E2;
    --mint: #00D924;
    --mint-light: #00FFA3;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--blue-corporate);
    line-height: 1.6;
}

.container {
    max-width: 1200px; /* PADRONIZADO: 960px → 1200px (consistente com todo o site) */
    margin: 0 auto;
    background: transparent;
    min-height: 100vh;
    padding: 0;
}

/* Header */
.article-header {
    background: linear-gradient(135deg, var(--blue-corporate) 0%, var(--blue-tech) 100%);
    padding: 20px;
    color: white;
}

.btn-back {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 12px;
    transition: background 0.2s;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.3);
}

.article-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    opacity: 0.9;
}

/* Article Content */
.article-content {
    padding: 8px 32px 40px; /* ULTRA COMPACTO: 40px top → 8px (consistente) */
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 0 16px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: none;
}

.article-title {
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
    line-height: 1.2;
}

.article-lead {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 400;
}

/* Hero */
.article-hero {
    background: rgba(139, 45, 136, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 40px 20px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 32px;
    transition: all 0.3s ease;
}

.article-hero:hover {
    background: rgba(139, 45, 136, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.hero-emoji {
    font-size: 64px;
    margin-bottom: 12px;
}

.hero-caption {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* Sections */
.article-section {
    margin-bottom: 32px;
}

.article-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.article-section p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
    line-height: 1.7;
}

.article-section ul {
    margin: 16px 0 16px 24px;
}

.article-section li {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 8px;
    line-height: 1.6;
}

.article-section em {
    font-style: italic;
    color: var(--acai-medium);
}

.article-section strong {
    font-weight: 600;
    color: #FFFFFF;
}

/* Callout Boxes */
.callout {
    border-radius: 12px;
    padding: 20px;
    margin: 24px 0;
    display: flex;
    gap: 16px;
    background: rgba(93, 15, 90, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 4px solid var(--mint);
    transition: all 0.3s ease;
}

.callout:hover {
    background: rgba(93, 15, 90, 0.55);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
    border-left-color: var(--mint-light);
}

.callout-warning {
    background: rgba(93, 15, 90, 0.4);
    border-left: 4px solid var(--mint);
}

.callout-success {
    background: rgba(93, 15, 90, 0.4);
    border-left: 4px solid var(--mint);
}

.callout-info {
    background: rgba(93, 15, 90, 0.4);
    border-left: 4px solid var(--mint);
}

.callout-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.callout-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.callout-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 8px;
    line-height: 1.6;
}

.callout-content p:last-child {
    margin-bottom: 0;
}

/* Example Cards */
.example-card {
    background: rgba(93, 15, 90, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 4px solid var(--mint);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.example-card:hover {
    background: rgba(93, 15, 90, 0.55);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
    border-left-color: var(--mint-light);
}

.example-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.example-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;
    line-height: 1.6;
}

.example-card p:last-child {
    margin-bottom: 0;
}

.example-commission {
    background: rgba(139, 45, 136, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px;
    border-radius: 8px;
    margin-top: 12px;
    font-size: 14px !important;
    color: var(--mint-light) !important;
    font-weight: 600 !important;
}

/* Tips List */
.tips-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tip-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.tip-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--acai-medium) 0%, var(--acai-light) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.tip-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.tip-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.6;
}

/* Quiz Section */
.quiz-section {
    background: rgba(93, 15, 90, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 24px;
    border-radius: 16px;
    margin: 32px 0;
    transition: all 0.3s ease;
}

.quiz-section:hover {
    background: rgba(93, 15, 90, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.quiz-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.quiz-intro {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.quiz-question {
    background: rgba(139, 45, 136, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.question-text {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quiz-option {
    display: flex;
    align-items: center;
    padding: 14px;
    background: rgba(139, 45, 136, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-option:hover {
    background: rgba(139, 45, 136, 0.4);
    border-color: var(--mint);
    box-shadow: 0 6px 16px rgba(0, 184, 148, 0.3);
    transform: translateX(4px);
}

.quiz-option input[type="radio"] {
    margin-right: 12px;
    cursor: pointer;
}

.quiz-option span {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
}

.btn-quiz {
    width: 100%;
    padding: 14px;
    background: linear-gradient(90deg, var(--acai-medium), var(--mint));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 16px;
    transition: transform 0.2s;
}

.btn-quiz:hover {
    transform: translateY(-2px);
}

.quiz-result {
    margin-top: 16px;
    padding: 16px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    display: none;
}

.quiz-result.show {
    display: block;
}

.quiz-result.correct {
    background: rgba(0, 184, 148, 0.25);
    border: 1px solid var(--mint);
    color: var(--mint-light);
}

.quiz-result.incorrect {
    background: rgba(139, 45, 136, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
}

/* Article Footer */
.article-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 2px solid rgba(255, 255, 255, 0.15);
}

.btn-complete {
    width: 100%;
    padding: 16px;
    background: linear-gradient(90deg, var(--mint), var(--mint-light));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-complete:hover {
    transform: translateY(-2px);
}

.btn-complete.completed {
    background: rgba(139, 45, 136, 0.4);
    color: rgba(255, 255, 255, 0.6);
    cursor: not-allowed;
}

.btn-next {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    border: 2px solid var(--mint);
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-next:hover {
    background: rgba(139, 45, 136, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-color: var(--mint-light);
}

/* Responsividade */
@media (max-width: 680px) {
    .article-content {
        padding: 24px 20px;
    }

    .article-title {
        font-size: 28px;
    }

    .article-lead {
        font-size: 16px;
    }

    .hero-emoji {
        font-size: 48px;
    }

    .article-section h2 {
        font-size: 22px;
    }

    .tip-number {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

