/* Shared article styles - GRUPO JOÃO BOSCO */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --color-dark: #0a0f1a;
    --color-dark-light: #151d2d;
    --color-blue: #2563eb;
    --color-blue-light: #3b82f6;
    --color-gold: #d4a843;
    --color-orange: #f97316;
    --color-text: #e5e7eb;
    --color-text-light: #9ca3af;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--color-text);
    background: var(--color-dark);
    line-height: 1.75;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: white;
}

/* TOP BAR */
.top-bar {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    padding: 0.5rem 2rem;
    font-size: 0.85rem;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.top-bar a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    margin: 0 0.5rem;
}

/* HEADER */
header {
    background: rgba(10, 15, 26, 0.97);
    backdrop-filter: blur(20px);
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img { height: 54px; }

.back-link {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.back-link:hover { color: #f59e0b; }

/* ARTICLE CONTAINER */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.article-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-blue), var(--color-blue-light));
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-date {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.article-reading-time {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.article-container h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, var(--color-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 400;
}

.article-hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 3rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.article-body {
    font-size: 1.05rem;
}

.article-body p {
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.article-body h2 {
    font-size: 1.7rem;
    margin-top: 3rem;
    margin-bottom: 1.2rem;
    color: white;
    line-height: 1.3;
}

.article-body h3 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-gold);
}

.article-body strong { color: white; font-weight: 700; }
.article-body em { color: var(--color-gold); font-style: normal; font-weight: 600; }

.article-body ul, .article-body ol {
    margin: 1.5rem 0 1.5rem 1.5rem;
}

.article-body li {
    margin-bottom: 0.8rem;
    color: var(--color-text);
}

.article-body blockquote {
    border-left: 4px solid var(--color-gold);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: rgba(212, 168, 67, 0.08);
    border-radius: 0 12px 12px 0;
    font-size: 1.15rem;
    color: #fef3c7;
    font-style: italic;
}

.stat-box {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(37, 99, 235, 0.05));
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 14px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.stat-box .stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-gold);
    font-family: 'Montserrat', sans-serif;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-box .stat-label {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* CTA BOX */
.article-cta {
    background: linear-gradient(135deg, var(--color-dark-light), #1e293b);
    border: 2px solid var(--color-gold);
    border-radius: 16px;
    padding: 2.5rem;
    margin: 4rem 0 2rem;
    text-align: center;
}

.article-cta h3 {
    color: white;
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

.article-cta p {
    color: var(--color-text-light);
    margin-bottom: 1.8rem;
}

.btn-orange {
    display: inline-block;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    padding: 1.1rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(234, 88, 12, 0.4);
    transition: all 0.3s;
    border: 2px solid rgba(255,255,255,0.2);
}

.btn-orange:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(234, 88, 12, 0.6);
}

/* RELATED */
.related-articles {
    border-top: 1px solid rgba(37, 99, 235, 0.2);
    padding-top: 3rem;
    margin-top: 4rem;
}

.related-articles h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.related-list {
    list-style: none;
}

.related-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.related-list a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
}

.related-list a:hover { color: var(--color-gold); }

/* FOOTER */
footer {
    background: var(--color-dark-light);
    padding: 3rem 2rem 2rem;
    border-top: 1px solid rgba(37, 99, 235, 0.2);
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

footer a { color: var(--color-gold); text-decoration: none; }
footer strong { color: white; }

@media (max-width: 768px) {
    .article-container { padding: 2rem 1.2rem; }
    .article-hero-image { height: 240px; }
    .article-body { font-size: 1rem; }
    nav { flex-direction: column; gap: 1rem; }
}