@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap");

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

body {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Oxygen,
        Ubuntu,
        Cantarell,
        sans-serif;
    line-height: 1.6;
    color: #2f3134;
    background-color: #fff;
}

/* ============================================
   HEADER (FLEXBOX)
   ============================================ */

.header {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 36px;
    max-width: 1320px;
    margin: 0 auto;
    height: 80px;
}

.menu-button {
    padding: 13px;
    margin: 1px;
    border: 0;
    gap: 12px;
    height: fit-content;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    font-size: 14px;
    color: #2a2a2a;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo svg {
    display: block;
    margin: 0 auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.account-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75em;
    text-decoration: none;
    border-right: 1px solid #ebedef;
    color: #2f3134;
    font-size: 14px;
    padding: 8px 16px;
}

.search-box {
    display: flex;
    align-items: center;
    border: transparent;
    border-radius: 4px;
    padding: 8px 12px;
}

.search-box input {
    border: none;
    outline: none;
    padding: 4px 8px;
    font-size: 14px;
    width: 64px;
}

.search-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

/* ============================================
   NAVEGAÇÃO PRINCIPAL (FLEXBOX)
   ============================================ */

.main-nav {
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    width: 100%;
}

.nav-list {
    display: flex;
    list-style: none;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    padding: 0 36px;
    max-width: 1320px;
    margin: 0 auto;
    flex-wrap: wrap;
    height: 45px;
}

.nav-list a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    text-transform: lowercase;
    padding: 10px 12px;
    border-radius: 0;
    transition: background-color 0.2s;
    height: 42px;
    display: flex;
    align-items: center;
}

.nav-item-g1 a {
    color: #c4170c;
}

.nav-item-o-globo a {
    color: #1e4c9a;
}

.nav-item-valor a {
    color: #006767;
}

.nav-item-ge a {
    color: #06aa48;
}

.nav-item-cartola a {
    color: #ff7400;
}

.nav-item-globoplay a {
    color: #f50234;
}

.nav-item-gshow a {
    color: #ff6700;
}

.nav-item-receitas a {
    color: #a5147d;
}

.nav-item-quem a {
    color: #333333;
}

.nav-item-g1-jogos a {
    color: #c4170c;
}
/* ============================================
   CONTEÚDO PRINCIPAL (FLEXBOX)
   ============================================ */

.main-content {
    max-width: 1320px;
    margin: 0 auto;
    padding: 24px 36px;
}

/* ============================================
   SEÇÃO DE DESTAQUE (FLEXBOX)
   ============================================ */

.featured-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;

    display: flex;
    justify-content: space-between;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    flex-direction: column;
    max-width: 660px;
}
.section-header h2 {
    font-size: 54.8px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 67.2px;
    color: #c4170c;
    letter-spacing: -3.08px;
}

.news-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 624px;
}

.news-list li {
    padding-left: 16px;
    position: relative;
    font-size: 17.9px;
    line-height: 21.6px;
    font-weight: 600;
    color: #2f3134;
    letter-spacing: -0.45px;
}

.news-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    background-color: #c4170c;
    border-radius: 6px;
}

/* ============================================
   GRID DE CONTEÚDO (FLEXBOX)
   ============================================ */

.content-grid {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1248px;
}

.main-column {
    flex: 0 0 624px;
    max-width: 624px;
}

.sidebar-column {
    flex: 0 0 312px;
    max-width: 312px;
}

.sidebar-column:last-child {
    flex: 0 0 240px;
    max-width: 240px;
    margin-left: 0;
}

/* ============================================
   GRID DE NOTÍCIAS (FLEXBOX)
   ============================================ */

.news-grid {
    display: flex;
    justify-content: space-around;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.news-card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 192px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-image {
    width: 100%;
    height: 110px;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    border-radius: 12px;
    overflow: hidden;
}

.news-card h3 {
    font-size: 19.5px;
    font-weight: 700;
    line-height: 24px;
    margin: 0;
    color: #c4170c;
    letter-spacing: -0.6px;
}

.news-tag {
    font-size: 14.8px;
    color: #2f3134;
    padding-left: 12px;
    position: relative;
    line-height: 22.5px;
    letter-spacing: -0.225px;
}

.news-tag::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    background-color: #c4170c;
    border-radius: 6px;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: var(--color-border-medium);
    margin: 24px 0;
    border: none;
}

.divider-vertical {
    width: 1px;
    background-color: var(--color-border-medium);
    margin: 0 24px;
    border: none;
}

/* ============================================
   BANNER DE PUBLICIDADE (FLEXBOX)
   ============================================ */

.banner-ad {
    width: 100%;
    margin: 32px 0;
    display: flex;
    justify-content: center;
}

.ad-placeholder {
    width: 1320px;
    height: 90px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    border: 1px dashed #ddd;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
}

.ad-placeholder:hover {
    filter: blur(1px);
}

/* ============================================
   SEÇÃO "VOCÊ SABIA?" (FLEXBOX)
   ============================================ */

.you-know-section {
    margin: 48px 0;
    padding: 24px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-header-flex h2 {
    font-size: 24px;
    font-weight: bold;
    color: #513354;
    padding-bottom: 8px;
    border-bottom: 2px solid #513354;
    display: inline-block;
}

.see-more {
    text-decoration: none;
    background-color: #513354;
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.cards-grid {
    display: flex;
    gap: 24px;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 1248px;
}

.card {
    flex: 0 0 calc(25% - 18px);
    min-width: 294px;
    display: flex;
    flex-direction: column;
    gap: 0;
    background-color: #fff;
}

.card-image {
    width: 100%;
    height: 165px;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    border-radius: 12px;
    overflow: hidden;
}

.card h3 {
    font-size: 19.5px;
    font-weight: 700;
    line-height: 24px;
    color: #2f3134;
    letter-spacing: -0.6px;
    margin-top: 16px;
}

/* ============================================
   FOOTER (FLEXBOX)
   ============================================ */

.footer {
    background-color: #f5f5f5;
    color: #2f3134;
    padding: 40px 0 0;
    margin-top: 64px;
}

.footer-columns {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 0 48px;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: -0.45px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 16px;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column li a {
    color: #2f3134;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: -0.25px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-column li a:hover {
    opacity: 1;
}

.footer-bottom {
    background-color: #0031ff;
    color: #fff;
    width: 100%;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    margin: 0 auto;
    max-width: 1320px;
    padding: 24px 48px;
}

.footer-bottom a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: -0.25px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-bottom a:hover {
    opacity: 1;
}

.footer-bottom {
    background-color: #0031ff;
    color: #fff;
    width: 100%;
}

.footer-bottom a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: -0.25px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .content-grid {
        flex-direction: column;
    }

    .main-column,
    .sidebar-column {
        min-width: 100%;
        max-width: 100%;
    }

    .three-columns {
        flex-direction: column;
    }

    .column-section {
        min-width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }

    .search-box input {
        width: 150px;
    }

    .nav-list {
        gap: 12px;
    }

    .news-grid {
        flex-direction: column;
    }

    .news-card {
        min-width: 100%;
    }

    .cards-grid {
        flex-direction: column;
    }

    .card {
        min-width: 100%;
    }

    .section-header h2 {
        font-size: 32px;
        line-height: 1.2;
    }
}
