/* ========================================
   RESET E CONFIGURAÇÕES GERAIS
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HEADER
======================================== */
header {
    background: #ffffff;
    border-bottom: 1px solid #e9edf2;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    color: #d97706;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo span {
    display: block;
    font-size: 0.75rem;
    color: #475569;
    font-weight: 400;
    letter-spacing: 0.3px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

nav ul li a:hover {
    color: #d97706;
}

/* ========================================
   HERO
======================================== */
.hero {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    border-bottom: 4px solid #d97706;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    max-width: 800px;
    margin: 0 auto 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* ========================================
   BOTÕES
======================================== */
.btn-primary {
    display: inline-block;
    background: #d97706;
    color: white;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, transform 0.1s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #b45309;
    transform: scale(1.02);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #d97706;
    padding: 0.8rem 2.5rem;
    border: 2px solid #d97706;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, color 0.3s;
}

.btn-secondary:hover {
    background: #d97706;
    color: white;
}

.btn-leia-mais {
    color: #d97706;
    font-weight: 600;
    text-decoration: none;
}

.btn-leia-mais:hover {
    text-decoration: underline;
}

/* ========================================
   ARTIGOS (GRID)
======================================== */
.artigos {
    padding: 4rem 0;
}

.artigos h2, .sobre-resumo h2, .page-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    margin-bottom: 0.5rem;
}

.subtitulo {
    text-align: center;
    color: #475569;
    margin-bottom: 3rem;
}

.grid-artigos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card-artigo {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s, transform 0.2s;
    border: 1px solid #e9edf2;
}

.card-artigo:hover {
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.card-artigo img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.card-content h3 a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
}

.card-content h3 a:hover {
    color: #d97706;
}

.card-content p {
    color: #475569;
    margin-bottom: 1rem;
}

/* ========================================
   SOBRE (RESUMO NA HOME)
======================================== */
.sobre-resumo {
    background: #ffffff;
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid #e9edf2;
}

.sobre-resumo p {
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #475569;
}

/* ========================================
   PÁGINAS INTERNAS
======================================== */
.page-header {
    background: #f1f5f9;
    padding: 3rem 0;
    border-bottom: 1px solid #e9edf2;
}

.page-header h1 {
    margin-bottom: 0.25rem;
}

.page-header p {
    color: #475569;
    text-align: center;
}

.conteudo-pagina {
    padding: 3rem 0;
}

.conteudo-pagina h2 {
    font-size: 1.8rem;
    color: #0f172a;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.conteudo-pagina p, .conteudo-pagina li {
    color: #334155;
    margin-bottom: 1rem;
}

.conteudo-pagina ul, .conteudo-pagina ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.highlight-box {
    background: #f1f5f9;
    border-radius: 16px;
    padding: 1.2rem 1.8rem;
    margin: 1.8rem 0;
    border: 1px solid #e2e8f0;
}

.highlight-box strong {
    color: #0f172a;
}

/* ========================================
   CONTATO
======================================== */
.form-contato {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    transition: border 0.2s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #d97706;
}

.info-contato {
    text-align: center;
    margin-top: 2rem;
}

/* ========================================
   ARTIGO COMPLETO
======================================== */
.artigo-completo {
    padding: 3rem 0;
}

.artigo-header {
    text-align: center;
    margin-bottom: 2rem;
}

.artigo-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
}

.artigo-meta {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.artigo-header img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 16px;
    margin-top: 1rem;
}

.artigo-corpo {
    max-width: 800px;
    margin: 0 auto;
}

.artigo-corpo h2 {
    font-size: 1.8rem;
    color: #0f172a;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}

.artigo-corpo p, .artigo-corpo li {
    color: #334155;
    margin-bottom: 1rem;
}

.artigo-corpo ul, .artigo-corpo ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* ========================================
   FOOTER
======================================== */
footer {
    background: #0f172a;
    color: #cbd5e1;
    padding-top: 3rem;
    margin-top: 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #1e293b;
}

.footer-sobre h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-links h4 {
    color: white;
    margin-bottom: 0.8rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links ul li a:hover {
    color: #d97706;
}

.footer-copy {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
}

/* ========================================
   RESPONSIVO
======================================== */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .grid-artigos {
        grid-template-columns: 1fr;
    }
    .artigo-header h1 {
        font-size: 2rem;
    }
}