
/* =========================
   CONFIGURAÇÕES GERAIS
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --vermelho: #c40020;
    --vermelho-claro: #ff2946;
    --vermelho-escuro: #78000e;
    --fundo: #07080f;
    --card: #15151b;
    --branco: #ffffff;
    --cinza: #b9b9c4;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--fundo);
    color: var(--branco);
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================
   CABEÇALHO
========================= */

.cabecalho {
    min-height: 110px;
    padding: 20px 4%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;

    background: linear-gradient(
        100deg,
        #c40020,
        #a00016,
        #78000e
    );

    position: relative;
    z-index: 10;
}

.marca {
    color: white;
    font-size: 34px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: -1.5px;
}

.marca span {
    color: #ff4058;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.menu a {
    color: #111;
    background: white;

    padding: 13px 17px;
    border-radius: 9px;

    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;

    transition: 0.3s;
}

.menu a:hover {
    color: white;
    background: #24070c;
    transform: translateY(-2px);
}

.menu a.ativo {
    color: white;
    background: #24070c;
}

.pesquisa {
    display: flex;
    align-items: center;
    gap: 10px;

    background: white;
    color: #222;

    padding: 12px 15px;
    border-radius: 25px;
    min-width: 210px;
}

.pesquisa i {
    font-size: 15px;
}

.pesquisa input {
    width: 100%;
    min-width: 0;

    border: none;
    outline: none;
    background: transparent;

    color: #222;
    font-size: 13px;
}

.pesquisa input::placeholder {
    color: #777;
}


/* =========================
   CARROSSEL
========================= */

.carrossel {
    width: 100%;
    height: clamp(320px, 48vw, 650px);

    position: relative;
    overflow: hidden;
    background: #000;
}

.slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;

    display: block;
    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}

.slide.ativo {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.slide img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


/* Degradê escuro na base */

.carrossel::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;

    pointer-events: none;

    background: linear-gradient(
        to bottom,
        rgba(7, 8, 15, 0.04) 50%,
        rgba(7, 8, 15, 0.30) 70%,
        rgba(7, 8, 15, 0.78) 88%,
        #07080f 100%
    );
}


/* =========================
   SETAS DO CARROSSEL
========================= */

.seta {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    z-index: 4;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.65);
    color: white;

    font-size: 17px;
    cursor: pointer;

    transition: 0.3s;
}

.seta:hover {
    background: var(--vermelho);
    border-color: var(--vermelho);
    transform: translateY(-50%) scale(1.08);
}

.anterior {
    left: 24px;
}

.proximo {
    right: 24px;
}


/* =========================
   INDICADORES
========================= */

.indicadores {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);

    z-index: 5;

    display: flex;
    align-items: center;
    gap: 9px;
}

.indicador {
    width: 25px;
    height: 5px;

    border: none;
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;

    transition: 0.3s;
}

.indicador:hover {
    background: white;
}

.indicador.ativo {
    width: 43px;
    background: var(--vermelho-claro);
}


/* =========================
   APRESENTAÇÃO
========================= */

.apresentacao {
    max-width: 900px;
    margin: 0 auto;

    padding: 35px 24px 75px;
    text-align: center;
}

.subtitulo {
    color: var(--vermelho-claro);

    font-size: 12px;
    font-weight: bold;
    letter-spacing: 4px;

    margin-bottom: 17px;
}

.apresentacao h1 {
    font-size: clamp(29px, 4vw, 46px);
    font-weight: 800;

    margin-bottom: 18px;
}

.descricao {
    max-width: 700px;
    margin: 0 auto;

    color: var(--cinza);
    font-size: 16px;
    line-height: 1.8;
}

.botao-mood {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-top: 27px;
    padding: 15px 24px;

    background: var(--vermelho);
    border: 1px solid var(--vermelho);
    border-radius: 9px;

    color: white;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;

    transition: 0.3s;
}

.botao-mood:hover {
    background: var(--vermelho-claro);
    border-color: var(--vermelho-claro);
    transform: translateY(-3px);
}


/* =========================
   CATEGORIAS
========================= */

.categorias {
    padding: 10px 5% 75px;
}

.titulo-secao {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 28px;
}

.titulo-secao > span {
    display: block;
    width: 5px;
    height: 30px;

    border-radius: 5px;
    background: var(--vermelho);
}

.titulo-secao h2 {
    font-size: clamp(23px, 3vw, 30px);
    font-weight: 800;
}

.categorias-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.categoria {
    min-height: 140px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;

    background: var(--card);
    border: 1px solid #29232a;
    border-radius: 14px;

    color: white;
    text-decoration: none;
    text-align: center;

    transition: 0.3s;
}

.categoria i {
    color: var(--vermelho-claro);
    font-size: 31px;
}

.categoria span {
    font-size: 13px;
    font-weight: bold;
}

.categoria:hover {
    background: #211217;
    border-color: var(--vermelho);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(196, 0, 32, 0.12);
}


/* =========================
   CHAMADA FINAL
========================= */

.chamada {
    margin: 0 5% 75px;
    padding: 35px 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;

    background: linear-gradient(
        110deg,
        #1d0a10,
        #171018,
        #0e0e16
    );

    border: 1px solid #48202a;
    border-radius: 16px;
}

.chamada .subtitulo {
    margin-bottom: 12px;
}

.chamada h2 {
    font-size: clamp(22px, 3vw, 32px);
    margin-bottom: 12px;
}

.chamada p:not(.subtitulo) {
    color: var(--cinza);
    line-height: 1.7;
}

.chamada .botao-mood {
    margin-top: 0;
    white-space: nowrap;
}


/* =========================
   RODAPÉ
========================= */

.rodape {
    padding: 45px 20px 25px;

    text-align: center;

    background: #030307;
    border-top: 1px solid #281016;
}

.marca-footer {
    display: inline-block;
    margin-bottom: 12px;
}

.texto-footer {
    color: var(--cinza);
    font-size: 13px;
    margin-bottom: 27px;
}

.links-rodape {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;

    margin-bottom: 27px;
}

.links-rodape a {
    color: #c5c5cd;
    font-size: 12px;
    text-decoration: none;
    transition: 0.3s;
}

.links-rodape a:hover {
    color: var(--vermelho-claro);
}

.redes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 23px;

    margin-bottom: 27px;
}

.redes a {
    color: white;
    font-size: 22px;
    transition: 0.3s;
}

.redes a:hover {
    color: var(--vermelho-claro);
    transform: translateY(-3px);
}

.linha-footer {
    max-width: 1100px;
    height: 1px;

    margin: 0 auto 22px;

    background: #292027;
}

.creditos,
.desenvolvedores {
    color: #858590;
    font-size: 12px;
    line-height: 1.8;
}

.desenvolvedores {
    margin-top: 5px;
}


/* =========================
   TABLETS
========================= */

@media (max-width: 1100px) {

    .cabecalho {
        justify-content: center;
    }

    .categorias-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pesquisa {
        min-width: 250px;
    }
}


/* =========================
   CELULARES
========================= */

@media (max-width: 600px) {

    .cabecalho {
        padding: 20px 12px;
        gap: 18px;
    }

    .marca {
        font-size: 30px;
    }

    .menu {
        width: 100%;
        gap: 7px;
    }

    .menu a {
        padding: 10px 9px;
        font-size: 10px;
    }

    .pesquisa {
        width: 100%;
        min-width: 0;
    }

    .carrossel {
        height: 58vw;
        min-height: 240px;
        max-height: 400px;
    }

    .slide img {
        object-position: center;
    }

    .seta {
        width: 35px;
        height: 35px;
        font-size: 13px;
    }

    .anterior {
        left: 10px;
    }

    .proximo {
        right: 10px;
    }

    .indicadores {
        bottom: 18px;
        gap: 6px;
    }

    .indicador {
        width: 18px;
        height: 4px;
    }

    .indicador.ativo {
        width: 30px;
    }

    .apresentacao {
        padding: 25px 18px 55px;
    }

    .subtitulo {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .descricao {
        font-size: 14px;
    }

    .categorias {
        padding: 10px 16px 55px;
    }

    .categorias-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .categoria {
        min-height: 120px;
    }

    .chamada {
        margin: 0 16px 50px;
        padding: 27px 20px;
    }

    .chamada .botao-mood {
        width: 100%;
    }

    .links-rodape {
        gap: 15px;
    }
}
nav a.btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    background: #111 !important;
    color: #ffffff !important;

    padding: 12px 18px;
    border-radius: 8px;

    font-size: 14px;
    font-weight: bold;
    text-decoration: none;

    width: auto;
    min-width: 190px;
    height: 44px;

    white-space: nowrap;
    visibility: visible;
    opacity: 1;
}

nav a.btn-login:hover {
    background: #e5092e !important;
    color: #111 !important;
}

.menu a.btn-login {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;

    background: #111 !important;
    color: #ffffff !important;

    min-width: 190px;
    width: auto;
    height: 44px;
    padding: 12px 18px;

    border: 1px solid #e5092e !important;
    border-radius: 9px;

    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;

    visibility: visible;
    opacity: 1;
}

.menu a.btn-login:hover {
    background: #78000e !important;
    color: #ffffff !important;
    border-color: #78000e !important;
    transform: translateY(-2px);
}
