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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #f8fafc;
    color: #0f172a;
}


/* HEADER */

.header {
    position: relative;
    z-index: 10;
}

.navbar {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 24px 7%;

    background: white;

    border-bottom: 1px solid #e2e8f0;
}

.logo {
    color: #0f172a;

    font-size: 20px;
    font-weight: 700;

    text-decoration: none;
}

.nav-links {
    display: flex;

    gap: 30px;
}

.nav-links a {
    color: #475569;

    font-size: 15px;

    text-decoration: none;

    transition: color 0.2s;
}

.nav-links a:hover {
    color: #2563eb;
}


/* HERO */

.hero {
    min-height: 78vh;

    display: flex;

    align-items: center;

    padding: 80px 7%;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(37, 99, 235, 0.16),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #eff6ff,
            #ffffff
        );
}

.hero-content {
    max-width: 850px;
}

.eyebrow {
    display: inline-block;

    margin-bottom: 22px;

    color: #2563eb;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;
}

.hero h1 {
    margin-bottom: 25px;

    font-size: clamp(
        48px,
        7vw,
        88px
    );

    line-height: 1.05;

    letter-spacing: -4px;
}

.hero p {
    max-width: 650px;

    margin-bottom: 35px;

    color: #64748b;

    font-size: 20px;

    line-height: 1.7;
}


/* BUTTON */

.button {
    display: inline-block;

    padding: 15px 25px;

    border-radius: 10px;

    background: #2563eb;

    color: white;

    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.2s,
        transform 0.2s;
}

.button:hover {
    background: #1d4ed8;

    transform: translateY(-2px);
}


/* FOOTER */

.footer {
    padding: 30px 7%;

    background: #0f172a;

    color: #94a3b8;

    text-align: center;
}

/* PÁGINA DE NOTÍCIAS */

.news-page {
    max-width: 1200px;

    margin: 0 auto;

    padding: 100px 7%;
}

.news-header {
    max-width: 700px;

    margin-bottom: 60px;
}

.news-header h1 {
    margin-bottom: 20px;

    font-size: clamp(
        48px,
        6vw,
        72px
    );

    line-height: 1.05;

    letter-spacing: -3px;
}

.news-header p {
    color: #64748b;

    font-size: 19px;

    line-height: 1.7;
}

.empty-news {
    padding: 60px;

    background: white;

    border: 1px solid #e2e8f0;

    border-radius: 20px;

    text-align: center;
}

.empty-news h2 {
    margin-bottom: 10px;

    font-size: 24px;
}

.empty-news p {
    color: #64748b;
}

#conteudo-principal {
    visibility: hidden;
}

#conteudo-principal.carregado {
    visibility: visible;
}

.noticias-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px;
}

.noticias-header {
    margin-bottom: 50px;
}

.noticias-header h1 {
    font-size: 48px;
    margin: 10px 0;
}

.noticias-header p {
    max-width: 650px;
    font-size: 18px;
    line-height: 1.7;
}

.lista-noticias {
    display: grid;
    gap: 24px;
}

.noticia-card {
    padding: 30px;
    border-radius: 16px;
    background: #f5f5f5;
}

.noticia-card h2 {
    margin-top: 0;
    margin-bottom: 12px;
}

.noticia-card p {
    line-height: 1.7;
}

.noticia-card time {
    display: block;
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.7;
}

.sem-noticias {
    padding: 60px 20px;
    text-align: center;
}

.noticia-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 24px;
}

.noticia-header {
    margin-bottom: 50px;
}

.noticia-header h1 {
    font-size: 48px;
    line-height: 1.1;
    margin: 25px 0 15px;
}

.noticia-header time {
    display: block;
    font-size: 14px;
    opacity: 0.65;
}

.noticia-resumo {
    font-size: 20px;
    line-height: 1.6;
    margin-top: 30px;
}

.voltar {
    text-decoration: none;
}

.conteudo-noticia {
    font-size: 18px;
    line-height: 1.8;
}

.conteudo-noticia p {
    margin-bottom: 25px;
}

.noticia-erro {
    text-align: center;
    padding: 80px 20px;
}

.conteudo-noticia img {
    display: block;
    width: 100%;
    max-width: 900px;
    height: auto;
    margin: 35px auto;
    border-radius: 16px;
}

.conteudo-noticia h2 {
    font-size: 32px;
    margin-top: 45px;
    margin-bottom: 20px;
}

.conteudo-noticia h3 {
    font-size: 25px;
    margin-top: 35px;
    margin-bottom: 15px;
}

.imagem-noticia {
    display: block;
    width: 100%;
    max-width: 900px;
    height: auto;
    margin: 35px auto;
    border-radius: 16px;
}