:root {
    --branco-principal: #FFFFFF;
    --cinza-secundario: #C0C0C0;
    --botao-azul: #167BF7;
    --cor-de-fundo: #00030C;
    --fonte-principal: 'Inter';
    --botao-azul-efeito: #3c92fa;
}

html, body {
    background-color: var(--cor-de-fundo);
    color: var(--branco-principal);
    font-family: var(--fonte-principal);
    font-size: 16px;
    font-weight: 400;
    max-width: 100%;
    overflow-x: hidden; /* previne scroll lateral */
}

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

/* ========================= */
/* ===== MOBILE FIRST ====== */
/* ========================= */

.principal {
    background-image: url("img/Background.png");
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    padding: 2em 1em;
}

.container {
    display: flex;
    flex-direction: column; /* empilha no mobile */
    align-items: center;
    text-align: center;
    padding: 1em;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.container__botao {
    background-color: var(--botao-azul);
    border-radius: 5px;
    padding: 1em;
    color: var(--branco-principal);
    display: block;
    text-decoration: none;
    margin: 0.5em 0;
    text-align: center;
}

.botao_secundario {
    background-color: transparent;
    border: 2px solid var(--branco-principal);
}

.container__aviso {
    font-size: 12px;
    color: var(--cinza-secundario);
    margin-top: 0.5em;
}

.container__titulo {
    font-size: 22px;
    font-weight: 700;
}

.container__imagem {
    width: 100%;
    max-width: 250px;
    margin: 1em 0;
    height: auto;
    display: block;
    width: 50%;
    width: 150;
    height: 200;
}

.rodape__logo{
    width: 50%;
    width: 150;
    height: 200;
}

.container__caixa {
    margin: 0 1em;
}

.secundario {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2em 1em;
    text-align: center;
    width: 100%;
    max-width: 100%;
}

.secundario__imagem {
    width: 100%;
    max-width: 350px;
    margin-bottom: 1em;
    height: auto;
    display: block;
}

.descricao__titulo {
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 0.5em;
}

.descricao__texto {
    color: var(--cinza-secundario);
    font-size: 14px;
}

.secundario__botao {
    margin-top: 1em;
}

.container__descricao {
    padding: 1em;
}

.dispositivos {
    text-align: center;
    padding: 2em 1em;
    width: 100%;
}

.dispositivos__titulo {
    font-size: 24px;
    margin-bottom: 1em;
}

.dispositivos__lista {
    display: flex;
    flex-direction: column;
    gap: 1em;
    list-style-type: none;
    padding: 0;
    margin: 0 auto;
    max-width: 100%;
}

.lista__item {
    font-size: 18px;
    color: var(--branco-principal);
}

.rodape {
    text-align: center;
    margin: 2em 1em;
}

.rodape__lista {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    list-style-type: none;
    padding: 0;
    margin: 0 auto;
    max-width: 100%;
}

.lista__link a {
    text-decoration: none;
    color: var(--branco-principal);
    font-size: 14px;
}

.rodape__texto {
    margin: 1em 0;
    color: var(--cinza-secundario);
    font-size: 12px;
}

/* ===== Hover e efeitos ===== */
.lista__link a:hover {
    color: var(--botao-azul);
}

.lista__link a:active {
    color: purple;
}

.container__botao:hover {
    background-color: var(--botao-azul-efeito);
    color: var(--cor-de-fundo);
}

/* ========================= */
/* ====== BREAKPOINTS ====== */
/* ========================= */

/* Tablets */
@media (min-width: 768px) {
    .container {
        flex-direction: row;
        justify-content: space-around;
        text-align: left;
    }

    .container__caixa {
        margin: 0 3em;
    }

    .descricao__titulo {
        font-size: 32px;
    }

    .dispositivos__lista {
        flex-direction: row;
        justify-content: center;
        gap: 2em;
    }

    .rodape__lista {
        flex-direction: row;
        justify-content: center;
        gap: 1em;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .container {
        display: grid;
        grid-template-columns: 50% 50%;
        height: 100vh;
        align-items: center;
    }

    .container__titulo {
        font-size: 28px;
    }

    .descricao__titulo {
        font-size: 48px;
    }

    .dispositivos__titulo {
        font-size: 48px;
    }

    .lista__item {
        font-size: 32px;
    }

    .rodape {
        margin: 5em 3em;
    }
}
