/* ═══════════════════════════════════════════════════
   Solinx — Noticia Article Styles
   Shared across all solinx.com.br/noticia-*.html pages
   ═══════════════════════════════════════════════════ */

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

:root {
    --primary:     #0F6FFF;
    --primary-mid: #0550CC;
    --accent:      #FFC107;
    --accent-dark: #E6AC00;
    --dark:        #0B1220;
    --dark-mid:    #1A2640;
    --surface:     #f4f7fb;
    --text-dark:   #1A2640;
    --text-mid:    #4A5568;
    --text-light:  #718096;
    --border:      #E2E8F0;
    --shadow-sm:   0 2px 12px rgba(15, 111, 255, 0.08);
    --shadow-md:   0 6px 30px rgba(15, 111, 255, 0.14);
    --shadow-lg:   0 16px 50px rgba(15, 111, 255, 0.18);
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background: var(--surface);
    overflow-x: hidden;
}

/* ── HEADER ─────────────────────────────── */
.header {
    background: rgba(11, 18, 32, 0.97);
    backdrop-filter: blur(12px);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { height: 42px; width: auto; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-link {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92em;
    transition: color 0.25s;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: var(--accent); }
.btn-back {
    background: linear-gradient(135deg, var(--primary), var(--primary-mid));
    color: white;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.3s;
    white-space: nowrap;
}
.btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 111, 255, 0.35);
}
@media (max-width: 768px) {
    .nav-links { display: none; }
}

/* ── HERO ────────────────────────────────── */
.hero {
    background: linear-gradient(145deg, #0B1220 0%, #0d2048 50%, #0a3070 100%);
    color: white;
    padding: 90px 20px 130px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-particles::before, .hero-particles::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}
.hero-particles::before {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(15,111,255,0.22), transparent 70%);
    top: -200px; right: -100px;
    animation: float1 8s ease-in-out infinite;
}
.hero-particles::after {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,193,7,0.12), transparent 70%);
    bottom: -100px; left: 5%;
    animation: float2 10s ease-in-out infinite;
}
@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-30px, 30px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(20px,-20px); } }
.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15,111,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15,111,255,0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}
.hero-content { max-width: 860px; margin: 0 auto; position: relative; z-index: 2; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,193,7,0.12);
    border: 1px solid rgba(255,193,7,0.3);
    color: var(--accent);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.82em;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.hero h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.8em, 4.5vw, 3em);
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 22px;
    background: linear-gradient(135deg, #ffffff 30%, #a8ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero .subtitle {
    font-size: clamp(1em, 2vw, 1.18em);
    color: rgba(255,255,255,0.72);
    margin-bottom: 10px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}
.article-meta {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.86em;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
}

/* ── FEATURED IMAGE ──────────────────────── */
.featured-image-section {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    margin-top: -100px;
    margin-bottom: -40px;
    padding: 0 20px;
}
.featured-image-container {
    max-width: 520px;
    width: 100%;
    filter: drop-shadow(0 24px 50px rgba(15, 111, 255, 0.3));
    animation: fadeInUp 1s ease-out;
}
.featured-image { width: 100%; height: auto; display: block; border-radius: 16px; }
/* ── ARTICLE ─────────────────────────────── */
.hero-image-banner {
    display: block;
    width: min(800px, calc(100% - 40px));
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin: -100px auto -36px;
    position: relative;
    z-index: 5;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 24px 60px rgba(3,19,59,.34);
    animation: fadeInUp 0.8s ease-out;
}
@media (max-width: 768px) {
    .hero-image-banner {
        width: calc(100% - 32px);
        margin-top: -72px;
        margin-bottom: -24px;
        border-radius: 18px;
    }
}

.article-container {
    max-width: 900px;
    margin: 0 auto 60px;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
    overflow: hidden;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}
.article-content { padding: 60px 56px; }
@media (max-width: 768px) { .article-content { padding: 36px 24px; } }

/* ── TYPOGRAPHY ──────────────────────────── */
.article-content h2 {
    font-family: 'Sora', sans-serif;
    color: var(--dark-mid);
    font-size: 1.8em;
    margin: 52px 0 22px;
    font-weight: 700;
    position: relative;
    padding-left: 22px;
    line-height: 1.3;
}
.article-content h2::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 5px; height: 78%;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 10px;
}
.article-content h3 {
    font-family: 'Sora', sans-serif;
    color: var(--text-dark);
    font-size: 1.3em;
    margin: 32px 0 14px;
    font-weight: 700;
}
.article-content p {
    font-size: 1.06em;
    line-height: 1.9;
    margin-bottom: 22px;
    color: var(--text-mid);
}
.article-content > p:first-child {
    color: var(--text-dark);
    font-size: 1.12em;
    font-weight: 500;
}
.article-content ul { margin: 22px 0; padding-left: 0; list-style: none; }
.article-content li {
    font-size: 1.04em;
    line-height: 1.85;
    margin-bottom: 13px;
    color: var(--text-mid);
    padding-left: 30px;
    position: relative;
}
.article-content li::before { content: '→'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.article-content strong { color: var(--text-dark); font-weight: 700; }
.article-content a { color: var(--primary); text-decoration: none; border-bottom: 1px solid rgba(15,111,255,.25); transition: border-color .2s; }
.article-content a:hover { border-color: var(--primary); }

/* ── QUOTE ───────────────────────────────── */
.quote-box {
    background: linear-gradient(135deg, rgba(15,111,255,0.05), rgba(255,193,7,0.04));
    border-left: 5px solid var(--accent);
    border-radius: 0 14px 14px 0;
    padding: 28px 32px;
    margin: 36px 0;
}
.quote-box p { font-size: 1.12em; font-style: italic; color: var(--dark-mid); margin: 0; line-height: 1.75; }
.quote-box cite { display: block; margin-top: 14px; font-size: 0.88em; font-style: normal; color: var(--text-light); font-weight: 600; }

/* ── HIGHLIGHT BOX ───────────────────────── */
.highlight-box {
    background: linear-gradient(135deg, rgba(15,111,255,0.07), rgba(15,111,255,0.03));
    border: 1px solid rgba(15,111,255,0.18);
    border-radius: 16px;
    padding: 32px 36px;
    margin: 36px 0;
}
.highlight-box h4 { font-family: 'Sora', sans-serif; color: var(--primary); font-size: 1.1em; margin-bottom: 16px; }
.highlight-box ul { margin: 0; }

/* ── STAT CHIPS ──────────────────────────── */
.stat-chips { display: flex; flex-wrap: wrap; gap: 16px; margin: 28px 0; }
.stat-chip {
    background: linear-gradient(135deg, var(--dark), #1a3a5c);
    color: white;
    border-radius: 12px;
    padding: 20px 28px;
    text-align: center;
    flex: 1;
    min-width: 140px;
}
.stat-chip .val { font-family: 'Sora', sans-serif; font-size: 2em; font-weight: 800; color: var(--accent); display: block; }
.stat-chip .lbl { font-size: 0.82em; color: rgba(255,255,255,.65); margin-top: 4px; display: block; }

/* ── CTA INLINE ──────────────────────────── */
.cta-inline {
    background: linear-gradient(135deg, #0B1220, #0d2048);
    border-radius: 20px;
    padding: 48px 40px;
    text-align: center;
    margin: 52px 0 0;
    position: relative;
    overflow: hidden;
}
.cta-inline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(255,193,7,0.12), transparent 60%);
}
.cta-inline h3 { font-family: 'Sora', sans-serif; color: white; font-size: 1.6em; margin-bottom: 14px; position: relative; z-index: 1; }
.cta-inline p { color: rgba(255,255,255,.65); max-width: 540px; margin: 0 auto 28px; position: relative; z-index: 1; }
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #0B1220;
    padding: 14px 36px;
    border-radius: 10px;
    font-weight: 800;
    font-family: 'Sora', sans-serif;
    text-decoration: none;
    border: none;
    font-size: 1em;
    transition: transform .2s, box-shadow .2s;
    position: relative;
    z-index: 1;
}
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(255,193,7,.4); border-bottom: none; }

/* ── CROSSREF BANNER ─────────────────────── */
.crossref-block {
    background: linear-gradient(135deg, rgba(255,193,7,.06), rgba(255,193,7,.02));
    border: 1px solid rgba(255,193,7,.2);
    border-radius: 14px;
    padding: 24px 28px;
    margin: 40px 0;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    transition: border-color .2s;
}
.crossref-block:hover { border-color: rgba(255,193,7,.4); border-bottom: 1px solid rgba(255,193,7,.4); }
.crossref-block .icon { font-size: 2em; flex-shrink: 0; }
.crossref-block strong { display: block; color: var(--dark); font-size: .95em; margin-bottom: 2px; }
.crossref-block span { font-size: .83em; color: var(--text-light); }

/* ── RELATED ARTICLES ────────────────────── */
.related-section { padding: 60px 0; background: white; border-top: 1px solid var(--border); }
.related-section h3 { font-family: 'Sora', sans-serif; text-align: center; font-size: 1.5em; color: var(--dark); margin-bottom: 36px; }
.related-grid {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 768px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-bottom: 1px solid var(--border); }
.related-card .emoji { font-size: 1.8em; }
.related-card h4 { font-family: 'Sora', sans-serif; font-size: .95em; color: var(--dark-mid); font-weight: 700; line-height: 1.4; }
.related-card span { font-size: .8em; color: var(--primary); font-weight: 600; }

/* ── FOOTER ──────────────────────────────── */
.footer-article {
    background: #0B1220;
    color: rgba(255,255,255,.5);
    padding: 40px 24px;
    text-align: center;
    font-size: .85em;
}
.footer-article a { color: rgba(255,255,255,.6); text-decoration: none; border-bottom: none; }
.footer-article a:hover { color: var(--accent); }
.footer-article .footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; flex-wrap: wrap; }
