/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --white: #ffffff;
    --off-white: #f9fafc;
    --light-gray: #f0f2f5;
    --medium-gray: #d0d5dd;
    --text-dark: #1e293b;
    --text-soft: #334155;
    --accent-blue: #0f3b5e;
    --accent-gold: #c99a3b;
    --accent-softblue: #e6f0fa;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.03), 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 12px 30px rgba(0,0,0,0.05), 0 4px 8px rgba(0,0,0,0.02);
    --border-light: 1px solid #e9edf2;
}

body {
    background-color: var(--white);
    color: var(--text-dark);
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    font-size: 1.0625rem;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #0c2033;
}

h1 {
    font-size: clamp(2.2rem, 7vw, 3.4rem);
    margin-bottom: 0.75rem;
}

h2 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-gold);
    display: inline-block;
}

h3 {
    font-size: 1.4rem;
    margin-top: 1.8rem;
    margin-bottom: 0.6rem;
}

p {
    margin-bottom: 1.3rem;
    color: var(--text-soft);
}

a {
    color: var(--accent-blue);
    text-decoration: underline 0.1em solid transparent;
    transition: text-decoration-color 0.2s, color 0.2s;
    font-weight: 500;
}

a:hover {
    text-decoration-color: currentColor;
    color: #0b4b7a;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.8rem;
}

/* HEADER */
.site-header {
    background-color: var(--white);
    border-bottom: var(--border-light);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(4px);
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo-area {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-weight: 700;
    font-size: 1.7rem;
    color: var(--accent-blue);
    line-height: 1.2;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo-main span {
    color: var(--accent-gold);
}

.logo-tagline {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 0.15rem;
}

.nav-links {
    display: flex;
    gap: 2.3rem;
    font-weight: 500;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    border-bottom: 2px solid transparent;
    padding-bottom: 0.3rem;
}

.nav-links a:hover {
    border-bottom-color: var(--accent-gold);
    color: #000;
}

/* BREADCRUMBS */
.breadcrumbs {
    font-size: 0.9rem;
    margin: 1.5rem 0 1rem;
    color: #6b7a8f;
}

.breadcrumbs a {
    text-decoration: none;
    color: var(--accent-blue);
}

/* ARTICLE */
.article-card {
    background: var(--white);
    border-radius: 28px;
    box-shadow: var(--shadow-md);
    padding: 2.5rem 3rem;
    margin: 2rem 0 3rem;
    border: var(--border-light);
}

@media (max-width: 600px) {
    .article-card {
        padding: 1.8rem 1.2rem;
    }
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    color: #626e7e;
    font-size: 0.9rem;
    margin: 1rem 0 1.8rem;
    flex-wrap: wrap;
}

.post-meta span {
    background: var(--light-gray);
    padding: 0.2rem 1rem;
    border-radius: 30px;
}

/* FIGURE IMAGE */
.fig-image {
    background: linear-gradient(145deg, #d4e2ed, #b6ccda);
    height: 260px;
    border-radius: 24px;
    margin: 2rem 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f405e;
    font-weight: 500;
    font-size: 1.2rem;
    border: var(--border-light);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 60" width="100" height="60" opacity="0.15"><text x="10" y="35" font-family="system-ui" font-size="12" fill="%230f3b5e">📰 artigo</text></svg>');
    background-repeat: repeat;
    background-size: 80px 50px;
}

.fig-caption {
    text-align: center;
    font-size: 0.9rem;
    color: #4b5b6e;
    margin-top: 0.3rem;
}

/* LISTS */
ul, ol {
    margin: 1.2rem 0 1.8rem 1.8rem;
}

li {
    margin-bottom: 0.6rem;
}

/* HIGHLIGHT BOX */
.destaque {
    background: #f5f9ff;
    padding: 1.5rem;
    border-radius: 28px;
    border-left: 6px solid var(--accent-gold);
}

hr {
    border: none;
    border-top: 2px solid var(--light-gray);
    margin: 2rem 0;
}

/* NEWSLETTER BOX */
.newsletter-box {
    background: var(--accent-softblue);
    border-radius: 32px;
    padding: 2.5rem 2.2rem;
    margin: 3.2rem 0 2rem;
    border: var(--border-light);
    box-shadow: var(--shadow-sm);
}

.newsletter-box h3 {
    margin-top: 0;
    font-size: 2rem;
    border-bottom: none;
    display: block;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
    align-items: center;
}

.form-row input {
    flex: 1 1 240px;
    padding: 1rem 1.2rem;
    border: 1px solid var(--medium-gray);
    border-radius: 50px;
    font-size: 1rem;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.form-row input:focus {
    outline: 3px solid rgba(15, 59, 94, 0.15);
    border-color: var(--accent-blue);
}

/* BUTTONS */
.btn {
    background: var(--accent-blue);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 60px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 8px 18px -8px rgba(15,59,94,0.4);
    border: 1px solid rgba(255,255,255,0.1);
}

.btn:hover {
    background: #154b75;
    transform: scale(1.02);
    box-shadow: 0 12px 24px -8px #0f3b5e;
}

/* FOOTER */
.site-footer {
    background: #102331;
    color: #d1ddee;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid #264a66;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-col p {
    color: #b0c5da;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.8rem;
    color: white;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.footer-logo span {
    color: var(--accent-gold);
}

.company-data {
    background: #1c3043;
    padding: 1.2rem 1.5rem;
    border-radius: 24px;
    border-left: 4px solid var(--accent-gold);
    font-size: 0.9rem;
    line-height: 1.8;
}

.company-data strong {
    color: white;
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: #bdd3f0;
    text-decoration: none;
    font-size: 1rem;
    border-bottom: 1px dotted #395c7c;
    width: fit-content;
}

.footer-links a:hover {
    color: white;
    border-bottom: 1px solid var(--accent-gold);
}

.copyright {
    text-align: center;
    border-top: 1px solid #284a64;
    padding-top: 2rem;
    font-size: 0.9rem;
    color: #98adc2;
}

.selo {
    display: inline-block;
    background: #1f3f58;
    padding: 0.3rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    color: white;
    margin-top: 0.8rem;
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #1d3a53;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 60px;
    font-size: 0.85rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
    z-index: 99;
    backdrop-filter: blur(4px);
}

.cookie-banner a {
    color: #ffd966;
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-row input,
    .btn {
        width: 100%;
    }
}