
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;

    background-color: #ffffff;
    color: #222;

    min-height: 100vh;

    /* Mantém o rodapé no final */
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

a {
    text-decoration: none;
}


/* ========================================
   CABEÇALHO
======================================== */

.cabecalho {
    height: 75px;

    display: grid;

    /* esquerda | centro | direita */
    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    padding: 0 50px;

    background-color: #111;
    color: white;

    border-bottom: 1px solid #333;
}


/* LOGO */

.logo {
    justify-self: start;
}

.logo h2 {
    font-size: 24px;
    letter-spacing: 2px;
}


/* MENU CENTRAL */

.menu {
    justify-self: center;

    display: flex;
    gap: 35px;
}

.menu a {
    color: #ddd;

    font-size: 15px;

    transition: 0.2s;
}

.menu a:hover {
    color: white;
}


/* ÁREA DIREITA */

.area-direita {
    justify-self: end;
}

.botao-header {
    display: inline-block;

    padding: 10px 20px;

    background-color: white;
    color: #111;

    border-radius: 6px;

    font-size: 14px;
    font-weight: bold;

    transition: 0.2s;
}

.botao-header:hover {
    background-color: #ddd;
}


/* ========================================
   INÍCIO / HERO
======================================== */

.inicio {
    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 60px 20px;

    background-color: #181818;
    color: white;
}

.inicio-conteudo {
    max-width: 800px;
}

.destaque {
    font-size: 13px;

    letter-spacing: 4px;

    margin-bottom: 20px;

    color: #aaa;
}

.inicio h1 {
    font-size: 52px;

    margin-bottom: 20px;
}

.inicio-conteudo > p:not(.destaque) {
    color: #bbb;

    font-size: 18px;

    line-height: 1.7;

    max-width: 650px;

    margin: 0 auto;
}


/* BOTÕES */

.botoes {
    margin-top: 35px;

    display: flex;

    justify-content: center;

    gap: 15px;
}

.botao-principal {
    display: inline-block;

    background-color: #111;
    color: white;

    padding: 14px 25px;

    border-radius: 6px;

    margin-top: 20px;

    transition: 0.2s;
}

.inicio .botao-principal {
    background-color: white;
    color: #111;
}

.botao-principal:hover {
    opacity: 0.8;
}

.botao-secundario {
    display: inline-block;

    border: 1px solid #555;

    color: white;

    padding: 14px 25px;

    border-radius: 6px;

    margin-top: 20px;

    transition: 0.2s;
}

.botao-secundario:hover {
    background-color: #333;
}


/* ========================================
   SEÇÕES
======================================== */

.secao {
    padding: 90px 30px;
}

.container {
    width: 100%;

    max-width: 1100px;

    margin: 0 auto;
}

.fundo-cinza {
    background-color: #f5f5f5;
}


/* TÍTULOS */

.titulo-secao {
    margin-bottom: 35px;
}

.titulo-secao p {
    font-size: 12px;

    font-weight: bold;

    letter-spacing: 3px;

    color: #777;

    margin-bottom: 10px;
}

.titulo-secao h2 {
    font-size: 36px;
}

.container > p {
    line-height: 1.8;

    color: #555;

    max-width: 750px;
}


/* ========================================
   CARDS
======================================== */

.cards {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.card {
    background-color: white;

    padding: 30px;

    border: 1px solid #ddd;

    border-radius: 10px;

    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.icone {
    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    background-color: #111;
    color: white;

    border-radius: 6px;

    margin-bottom: 25px;

    font-weight: bold;
}

.card h3 {
    margin-bottom: 15px;
}

.card p {
    color: #666;

    line-height: 1.6;

    margin-bottom: 20px;
}

.card a {
    color: #111;

    font-weight: bold;

    font-size: 14px;
}


/* ========================================
   RODAPÉ
======================================== */

footer {
    background-color: #111;
    color: white;

    margin-top: auto;
}

.rodape-conteudo {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 55px 30px;

    display: grid;

    grid-template-columns: 1.4fr 1fr 1.3fr;

    gap: 70px;
}


/* COLUNAS */

.rodape-coluna h4 {
    font-size: 16px;

    margin-bottom: 22px;

    color: white;
}


/* LOGO */

.rodape-logo {
    display: inline-block;

    border: 1px dashed #777;

    padding: 10px 15px;

    border-radius: 7px;

    margin-bottom: 20px;

    font-size: 14px;
    font-weight: bold;
}


/* DESCRIÇÃO */

.rodape-descricao {
    max-width: 360px;

    color: #999;

    line-height: 1.7;

    font-size: 14px;
}


/* LINKS */

.rodape-coluna a {
    display: block;

    color: #999;

    margin-bottom: 14px;

    font-size: 14px;

    transition: 0.2s;
}

.rodape-coluna a:hover {
    color: white;
}


/* INFORMAÇÕES DA EMPRESA */

.rodape-coluna p {
    color: #999;

    margin-bottom: 12px;

    line-height: 1.5;

    font-size: 14px;
}


/* PARTE INFERIOR */

.rodape-final {
    max-width: 1200px;

    margin: 0 auto;

    padding: 20px 30px;

    border-top: 1px solid #333;

    text-align: center;
}

.rodape-final p {
    color: #777;

    font-size: 13px;
}


/* ========================================
   RESPONSIVIDADE DO RODAPÉ
======================================== */

@media (max-width: 768px) {

    .rodape-conteudo {
        grid-template-columns: 1fr;

        gap: 40px;
    }

}


/* ========================================
   RESPONSIVIDADE
======================================== */

@media (max-width: 768px) {

    .cabecalho {
        height: auto;

        padding: 20px;

        grid-template-columns: 1fr;

        gap: 20px;
    }

    .logo,
    .menu,
    .area-direita {
        justify-self: center;
    }

    .menu {
        gap: 15px;

        flex-wrap: wrap;

        justify-content: center;
    }

    .inicio {
        min-height: 450px;
    }

    .inicio h1 {
        font-size: 36px;
    }

    .botoes {
        flex-direction: column;

        align-items: center;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .rodape-conteudo {
        grid-template-columns: 1fr;

        gap: 35px;
    }
}