/* =====================================================
   CONFIGURAÇÕES GERAIS
===================================================== */

:root {
    --azul-principal: #5b9bd5;
    --azul-medio: #4b8fc9;
    --azul-escuro: #3f7fb5;
    --azul-forte: #0879c9;
    --azul-claro: #eaf4fc;
    --branco: #ffffff;
    --cinza: #676767;
    --cinza-claro: #f5f7f9;
    --preto: #222222;
    --sombra: 0 5px 18px rgba(45, 100, 145, 0.18);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--preto);
    background: #ffffff;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}


/* =====================================================
   CABEÇALHO / MENU
===================================================== */

.cabecalho {
    background: var(--azul-principal);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.nav-container {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin-right: auto;
}

.logo-icone {
    width: 70px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--azul-forte);
    border-radius: 10px;
    font-size: 15px;
    font-weight: bold;
}

.navZC {
    display: flex;
    align-items: center;
    gap: 4px;
}

.navZC a {
    padding: 6px 9px;
    border-radius: 4px;
    font-weight: bold;
    transition: 0.12s;
}

.navZC a:hover,
.navZC a.ativo {
    background: var(--azul-escuro);
}

.foto-pequena {
    width: 100px;
    height: 100px;
    border-radius: 100%;
    overflow: hidden;
    border: 3px solid #0879c9;
    flex-shrink: 0;
}

.foto-pequena img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    color: white;
    font-size: 28px;
    cursor: pointer;
}


/* =====================================================
   HERO
===================================================== */

.hero {
    background: linear-gradient(
        135deg,
        var(--azul-claro),
        #ffffff
    );
    padding: 80px 0;
}

.hero-conteudo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.tag {
    display: inline-block;
    padding: 7px 13px;
    border-radius: 20px;
    background: var(--azul-principal);
    color: white;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.05;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--azul-forte);
}

.hero p {
    color: var(--cinza);
    font-size: 18px;
    line-height: 1.7;
    max-width: 550px;
}

.hero-botoes {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 13px 23px;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.25s;
}

.btn-principal {
    background: var(--azul-forte);
    color: white;
}

.btn-principal:hover {
    background: var(--azul-escuro);
    transform: translateY(-2px);
}

.btn-secundario {
    background: white;
    color: var(--azul-forte);
    border: 2px solid var(--azul-forte);
}

.btn-secundario:hover {
    background: var(--azul-forte);
    color: white;
}

.hero-imagem img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: var(--sombra);
}


/* =====================================================
   SEÇÃO SOBRE
===================================================== */

.sobre {
    padding: 75px 0;
    text-align: center;
}

.sobre h2 {
    font-size: 34px;
    color: var(--azul-escuro);
    margin-bottom: 12px;
}

.sobre > .container > p {
    color: var(--cinza);
    margin-bottom: 40px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.info-box {
    padding: 35px 25px;
    border-radius: 20px;
    background: var(--azul-principal);
    color: white;
    transition: 0.25s;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra);
}
.info-contmn {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
}
.info-mn {
    padding: 25px 15px;
    border-radius: 20px;
    background: var(--azul-principal);
    color: white;
    transition: 0.10s;
}
.info-mn h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.info-mn:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra);
}

.info-icone {
    font-size: 42px;
    margin-bottom: 15px;
}

.info-box h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.info-box p {
    line-height: 1.6;
}


/* =====================================================
   PÁGINAS INTERNAS
===================================================== */

.pagina {
    min-height: 650px;
    padding: 55px 0 80px;
    background: #ffffff;
}

.titulo-pagina {
    text-align: center;
    margin-bottom: 45px;
}

.titulo-pagina h1 {
    color: var(--azul-escuro);
    font-size: 42px;
    margin-bottom: 10px;
}

.titulo-pagina p {
    color: var(--cinza);
}

.noticias-titulo {
    text-align: left;
}


/* =====================================================
   CARDS DOS JOGOS
===================================================== */

.jogos-grid {
    display: grid;

    /* Faz os cards ficarem lado a lado e se
       adaptarem automaticamente ao tamanho da tela */
    grid-template-columns:
        repeat(auto-fit, minmax(230px, 1fr));

    gap: 30px;
}

.card-jogo {
    background: var(--azul-principal);
    border-radius: 28px;
    overflow: hidden;
    color: white;
    box-shadow: var(--sombra);
    transition:
        transform 0.25s,
        box-shadow 0.25s;
}

.card-jogo:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 25px rgba(40, 90, 130, 0.28);
}

.icone-jogo {
    background: white;
    margin: 18px 18px 0;
    height: 190px;
    overflow: hidden;
}

.icone-jogo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dados-jogo {
    padding: 22px;
    min-height: 130px;
}

.dados-jogo h2 {
    font-size: 21px;
    margin-bottom: 7px;
}

.dados-jogo p {
    font-size: 15px;
    margin-bottom: 15px;
}

.categoria {
    display: inline-block;
    background: var(--azul-escuro);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
}


/* =====================================================
   NOTÍCIAS
===================================================== */

.noticias-lista {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.noticia {
    display: grid;
    grid-template-columns: 350px 1fr;
    background: var(--azul-principal);
    color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--sombra);
}

.noticia.destaque {
    display: block;
}

.noticia.destaque .noticia-imagem {
    height: 250px;
}

.noticia-imagem {
    height: 100%;
    min-height: 240px;
}

.noticia-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.noticia-conteudo {
    padding: 28px;
}

.noticia-conteudo .data {
    display: block;
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.noticia-conteudo h2 {
    font-size: 27px;
    margin-bottom: 13px;
}

.noticia-conteudo p {
    line-height: 1.65;
    margin-bottom: 22px;
}

.noticia .btn {
    background: white;
    color: var(--azul-forte);
}

.link-noticia {
    font-weight: bold;
    color: white;
}

.link-noticia:hover {
    text-decoration: underline;
}


/* =====================================================
   RODAPÉ
===================================================== */

.rodape {
    background: var(--azul-escuro);
    color: white;
}

.rodape-conteudo {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 40px;
    padding: 45px 0;
}

.logo-rodape {
    margin-bottom: 15px;
}

.rodape p {
    color: #e2eff9;
}

.rodape-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rodape-links h3 {
    margin-bottom: 8px;
}

.rodape-links a:hover {
    color: #c9e7ff;
}

.copyright {
    background: #356d9d;
    text-align: center;
    padding: 17px;
    font-size: 14px;
}


/* =====================================================
   RESPONSIVIDADE
===================================================== */

/* Tablets */

@media (max-width: 900px) {

    .hero-conteudo {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero-texto {
        text-align: center;
    }

    .hero p {
        margin: auto;
    }

    .hero-botoes {
        justify-content: center;
    }

    .info-grid {
        grid-template-columns: 1fr 1fr;
    }
	.info-contmn {
        grid-template-columns: 3fr 2fr;
    }

    .noticia {
        grid-template-columns: 280px 1fr;
    }

}


/* Celulares */

@media (max-width: 700px) {

    .nav-container {
        min-height: 68px;
    }

    .logo {
        font-size: 20px;
    }

    .menu-toggle {
        display: block;
        order: 2;
    }

    .foto-pequena {
        order: 3;
        width: 32px;
        height: 32px;
    }

    nav {
        position: absolute;
        top: 68px;
        left: 0;
        width: 100%;
        background: var(--azul-escuro);

        display: none;
        flex-direction: column;
        align-items: stretch;

        padding: 12px;
    }

    nav.aberto {
        display: flex;
    }

    nav a {
        text-align: center;
        padding: 14px;
    }

    .hero {
        padding: 55px 0;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-imagem img {
        height: 280px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
.info-contmn {
        grid-template-columns: 2fr, 2fr;
    }
    .titulo-pagina h1 {
        font-size: 35px;
    }

    /*
       Os cards dos jogos continuam se adaptando
       automaticamente para celulares.
    */
    .jogos-grid {
        grid-template-columns: 1fr;
    }

    .icone-jogo {
        height: 210px;
    }

    .noticia,
    .noticia.destaque {
        display: block;
    }

    .noticia-imagem,
    .noticia.destaque .noticia-imagem {
        height: 220px;
        min-height: 0;
    }

    .noticia-conteudo h2 {
        font-size: 23px;
    }

    .rodape-conteudo {
        grid-template-columns: 1fr;
    }

}


/* Celulares pequenos */

@media (max-width: 400px) {

    .hero h1 {
        font-size: 34px;
    }

    .hero-botoes {
        flex-direction: column;
    }

    .hero-botoes .btn {
        text-align: center;
    }

    .card-jogo {
        border-radius: 20px;
    }

}