:root {
    --blue-primary: #0A5BFF;
    --blue-secondary: #3B82F6;
    --blue-light: #A9CEF7;

    --navy: #07172F;

    --background: #F8FAFC;
    --surface: #FFFFFF;

    --text: #07172F;
    --text-muted: #64748B;

    --border: #E2E8F0;

    --container: 1240px;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;

    --shadow-sm: 0 4px 18px rgba(7, 23, 47, 0.06);
    --shadow-md: 0 12px 35px rgba(7, 23, 47, 0.10);
}


/* =========================
   RESET
========================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: min(92%, var(--container));
    margin: 0 auto;
}


/* =========================
   HEADER
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid var(--border);
}

.header-container {
    min-height: 84px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;
}

.brand {
    flex-shrink: 0;
}

.brand-logo {
    width: 225px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;

    gap: 27px;

    font-size: 14px;
    font-weight: 500;
}

.main-nav a {
    position: relative;

    padding: 31px 0;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.main-nav a:hover {
    color: var(--blue-primary);
}

.main-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 23px;

    width: 0;
    height: 2px;

    background: var(--blue-primary);

    transition: width 0.2s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.mobile-menu-button {
    display: none;

    border: 0;
    background: transparent;

    color: var(--navy);

    font-size: 28px;
    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    position: relative;
    overflow: hidden;

    padding: 110px 0 105px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(10, 91, 255, 0.12),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #FFFFFF 0%,
            #F8FAFC 100%
        );

    border-bottom: 1px solid var(--border);
}

.hero::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    right: -150px;
    bottom: -180px;

    border-radius: 50%;

    background: rgba(10, 91, 255, 0.07);
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 850px;
}

.hero-label {
    display: inline-block;

    margin-bottom: 22px;

    color: var(--blue-primary);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.14em;
}

.hero h1 {
    max-width: 830px;

    font-size: clamp(46px, 6vw, 76px);
    font-weight: 700;

    line-height: 1.03;

    letter-spacing: -0.045em;

    color: var(--navy);
}

.hero p {
    max-width: 680px;

    margin-top: 28px;

    font-size: 19px;
    line-height: 1.7;

    color: var(--text-muted);
}


/* =========================
   SECTIONS
========================= */

.latest-news,
.categories-section {
    padding: 85px 0;
}

.categories-section {
    background: #FFFFFF;

    border-top: 1px solid var(--border);
}

.section-header {
    margin-bottom: 35px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;

    letter-spacing: -0.03em;
}


/* =========================
   NEWS GRID
========================= */

.news-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 28px;
}


/* =========================
   NEWS CARD
========================= */

.news-card {
    overflow: hidden;

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.news-card:hover {
    transform: translateY(-5px);

    border-color: rgba(10, 91, 255, 0.25);

    box-shadow: var(--shadow-md);
}

.news-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #EAF0F7;
}

.news-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.035);
}

.news-card-content {
    padding: 25px;
}

.news-category {
    display: inline-block;

    margin-bottom: 13px;

    color: var(--blue-primary);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.06em;

    text-transform: uppercase;
}

.news-card h3 {
    margin-bottom: 13px;

    font-size: 21px;
    font-weight: 700;

    line-height: 1.28;

    letter-spacing: -0.02em;
}

.news-card p {
    margin-bottom: 22px;

    color: var(--text-muted);

    font-size: 15px;
    line-height: 1.65;
}

.news-date {
    display: block;

    color: #94A3B8;

    font-size: 13px;
}


/* =========================
   CATEGORIES
========================= */

.category-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 18px;
}

.category-card {
    min-height: 130px;

    display: flex;
    align-items: flex-end;

    padding: 22px;

    background: var(--navy);
    color: #FFFFFF;

    border-radius: var(--radius-md);

    font-size: 17px;
    font-weight: 600;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.category-card:hover {
    transform: translateY(-4px);

    background: var(--blue-primary);
}


/* =========================
   FOOTER
========================= */

.site-footer {
    margin-top: 50px;

    background: var(--navy);

    color: #FFFFFF;
}

.footer-container {
    padding: 65px 0;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 60px;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    width: 220px;

    filter: brightness(0) invert(1);
}

.footer-brand p {
    margin-top: 18px;

    color: var(--blue-light);

    font-size: 15px;
}

.footer-nav {
    display: flex;

    gap: 28px;

    font-size: 14px;
}

.footer-nav a {
    color: #CBD5E1;

    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.10);

    padding: 20px 0;
}

.footer-bottom p {
    color: #94A3B8;

    font-size: 13px;
}


/* =========================
   RESPONSIVO
========================= */

@media (max-width: 1100px) {

    .main-nav {
        gap: 18px;

        font-size: 13px;
    }

    .brand-logo {
        width: 200px;
    }

    .category-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

}


@media (max-width: 900px) {

    .header-container {
        min-height: 74px;
    }

    .brand-logo {
        width: 190px;
    }

    .mobile-menu-button {
        display: block;
    }

    .main-nav {
        display: none;

        position: absolute;

        top: 74px;
        left: 0;

        width: 100%;

        padding: 25px 4%;

        flex-direction: column;
        align-items: flex-start;

        gap: 5px;

        background: #FFFFFF;

        border-bottom: 1px solid var(--border);

        box-shadow: var(--shadow-sm);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        width: 100%;

        padding: 13px 0;
    }

    .main-nav a::after {
        display: none;
    }

    .hero {
        padding: 80px 0;
    }

    .hero p {
        font-size: 17px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        flex-direction: column;
    }

    .footer-nav {
        flex-wrap: wrap;
    }

}


@media (max-width: 600px) {

    .container {
        width: min(90%, var(--container));
    }

    .brand-logo {
        width: 170px;
    }

    .hero {
        padding: 65px 0;
    }

    .hero-label {
        font-size: 11px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 16px;
    }

    .latest-news,
    .categories-section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 27px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        min-height: 95px;
    }

    .footer-nav {
        flex-direction: column;

        gap: 15px;
    }

}


/* =========================
   ARTICLE
========================= */

.article-page {
    padding: 70px 0 100px;
}

.article-container {
    max-width: 1180px;
}

.article-header {
    margin-bottom: 40px;
}

.article-category {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--blue-primary);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.article-header h1 {
    max-width: 850px;

    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.08;

    letter-spacing: -0.04em;

    color: var(--navy);
}

.article-summary {
    max-width: 760px;

    margin-top: 24px;

    color: var(--text-muted);

    font-size: 20px;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    gap: 18px;

    margin-top: 25px;

    color: #94A3B8;

    font-size: 14px;
}

.article-image {
    margin: 0 0 45px;
}

.article-image img {
    width: 100%;

    border-radius: var(--radius-md);
}


/* =========================
   ARTICLE LAYOUT
========================= */

.article-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        280px;

    gap: 56px;

    align-items: start;

    width: 100%;
    max-width: 1100px;

    margin: 0 auto;
}

.article-main {
    min-width: 0;
}


/* =========================
   ARTICLE CONTENT
========================= */

.article-layout .article-content {
    max-width: 760px;

    margin: 0;

    color: #1E293B;

    font-size: 18px;
    line-height: 1.85;
}

.article-content p {
    margin: 0 0 28px;
}

.article-content .article-lead {
    margin-bottom: 36px;

    font-size: 20px;
    font-weight: 500;

    line-height: 1.75;
}


/* =========================
   ARTICLE H2 / H3
========================= */

.article-content h2 {
    margin: 50px 0 18px;

    color: var(--navy);

    font-size: 30px;
    font-weight: 700;

    line-height: 1.25;
}

.article-content h3 {
    margin: 38px 0 16px;

    color: var(--navy);

    font-size: 23px;
    font-weight: 700;

    line-height: 1.3;
}


/* =========================
   ARTICLE SIDEBAR
========================= */

.article-sidebar {
    position: sticky;
    top: 110px;

    width: 100%;

    padding-left: 24px;

    border-left: 1px solid var(--border);
}

.article-sidebar h3 {
    margin: 0 0 14px;

    color: var(--navy);

    font-size: 18px;
    font-weight: 700;
}

.article-sidebar-menu {
    display: flex;
    flex-direction: column;
}

.article-sidebar-menu a {
    display: block;

    padding: 12px 0;

    color: var(--text-muted);

    border-bottom: 1px solid var(--border);

    font-size: 14px;
    font-weight: 500;

    line-height: 1.4;
}

.article-sidebar-menu a:hover {
    color: var(--blue-primary);
}


/* =========================
   ARTICLE FOOTER
========================= */

.article-layout .article-footer {
    max-width: 760px;

    margin: 55px 0 0;

    padding-top: 30px;

    border-top: 1px solid var(--border);
}

.article-back {
    color: var(--blue-primary);

    font-weight: 600;
}

.article-back:hover {
    text-decoration: underline;
}


/* =========================
   ARTICLE RESPONSIVO
========================= */

@media (max-width: 900px) {

    .article-layout {
        display: block;

        max-width: 760px;
    }

    .article-sidebar {
        position: static;

        margin-top: 50px;

        padding: 28px 0 0;

        border-left: 0;

        border-top: 1px solid var(--border);
    }

}


@media (max-width: 600px) {

    .article-page {
        padding: 45px 0 70px;
    }

    .article-header h1 {
        font-size: 38px;
    }

    .article-summary {
        font-size: 18px;
    }

    .article-layout .article-content {
        font-size: 17px;
    }

    .article-meta {
        flex-direction: column;

        gap: 4px;
    }

}