* {
    margin: 0;
    padding: 0;
    font-family: 'Satoshi', sans-serif;
}

body {
    background-color: #F5F5F7;
}

header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    text-align: center;
    align-items: center;

    position: sticky;
    top: 0;
    z-index: 100;

    height: 100px;
}

.header-esquerda {
    justify-self: start;
    padding-left: 3vw;
}

#img-embracon {
    width: 10vw;
    height: auto;
}

.header-centro {
    display: flex;
    justify-content: center;
    gap: 3vw;
}

.a-header-centro {
    text-decoration: none;
    color: #777777;
    padding: 6px 2px;
    border-bottom: solid 2px transparent;

    transition: all 0.4s ease;
}

.a-header-centro:hover {
    color: #C40011;
    padding: 6px 2px;
    border-bottom: solid 2px #C40011;
}

.header-direita {
    justify-self: end;
    padding-right: 4vw;
}

.fa-whatsapp {
    font-size: 20px;
    margin-right: 0.1vw;
}

.a-fale-comigo {
    border: solid 2px #C40011;
    color: white;
    text-decoration: none;
    padding: 2vh 2vw;
    font-weight: bold;
    border-radius: 100px;
    
    background-image: linear-gradient(to bottom, white 50%, #C40011 50%);
    background-size: 100% 200%;
    background-position: bottom; 
    
    transition: all 0.6s ease;
}

.a-fale-comigo:hover {
    color: #C40011;
    background-position: top; 
    border-color: #C40011;    
}

.div-main-inicial {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    overflow: hidden;
}

.texto-inicial {
    margin-top: 10vh;
    margin-left: 16vw;
}

#h1-texto-inicial {
    font-size: 5rem;
    max-width: 12ch;
    line-height: 10vh;
}

.span-vermelho {
    color: #C40011;
}

#p-texto-inicial {
    margin-top: 2vh;

    max-width: 25vw;
    color: #5c5c5c;
    line-height: 2.5vh;
    text-align: justify;
}

.botoes-iniciais {
    margin-top: 9vh;
}

.a-simule-consorcio {
    margin-left: 2vw;
    text-decoration: none;
    color: #C40011;
    font-size: 16px;
    font-weight: bold;
    
    position: relative; 
    display: inline-block; 
}

.a-simule-consorcio::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;       
    width: 0;          
    height: 1px;        
    background-color: #C40011;
    transition: width 0.7s ease; 
}

.a-simule-consorcio:hover::after {
    width: 100%;
}

#img-foto-pessoa {
    display: block;
    margin-top: 3vh;
    height: 80vh;
}

.div-escolher-consorcio {
    background-color: #ffffff;
    padding-bottom: 8vh;
}

.escolher-consorcio-titulo {
    padding-top: 5vh;
    text-align: center;
}

#h1-escolher-consorcio {
    color: #C40011;
}   

.div-opcoes-escolher {
    margin: 5vh auto;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 50px;
}

.opcoes {
    background-color: #F5F5F7;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);

    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
}
.fa-piggy-bank, .fa-hand-holding-dollar, .fa-money-bill-trend-up, .fa-credit-card {
    color: #C40011;
    font-size: 60px;
    background-color: #fae0e2;
    padding: 18px;
    border-radius: 100%;
}

.h2-opcoes {
    margin-top: 1vh;
}

.p-opcoes {
    margin-top: 1vh;
    max-width: 30ch;
}

.div-etapas {
    background-color: #C40011;
    padding-bottom: 8vh;
}

#h1-etapas {
    color: white;
    text-align: center;
    padding-top: 8vh;
}

.cada-etapa {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 8%;
    align-items: center;
    color: white;
}

.caixa-numero {
    border: solid 1px white;
    padding: 15px 23px;
    border-radius: 8px;
}

.caixa-texto {
    border: solid 1px white;
    border-radius: 10px;
    padding-left: 2vw;
    padding-right: 2vw;
}

.h1-cada-etapa {
    margin-top: 2vh;
}

.p-cada-etapa {
    max-width: 70ch;
    margin-top: 1.5vh;
}

.h3-cada-etapa {
    margin-top: 2vh;
    margin-bottom: 2vh;
}

.div-oque-conquistar {
    margin: 6vh auto 15vh auto;
}

#h1-oque-conquistar {
    margin: 6vh auto;
    text-align: center;
    max-width: 80%;
}

.cards-conquista {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    gap: 20px;

    margin-top: 4vh;
}

.div-conquitas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    flex-direction: column;

    background-color: white;
    border-radius: 20px;
    padding: 3vh 0;
    width: 80%;
    margin: 0 auto;

    transition: all 0.8s ease;
}

.img-conquista {
    height: 16vh;
    padding: 2vh 0;
    margin: auto;
}

.p-conquista {
    max-width: 80%;
    margin: 0 auto;
    text-align: center;
}

.simular-conquista {
    margin: auto;
    margin-top: 3vh;
    padding-bottom: 0.5vh;

    text-decoration: none;
    color: #C40011;
    border-bottom: 1px solid transparent;

    transition: all 0.2s ease;
}

.simular-conquista:hover {
    color: #b1000f;
    border-bottom: 1px solid #b1000f;
}

footer {
    background-color: #2c2c2c;
}

.footer-conteudo {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;

    max-width: 1200px;
    margin: 0 auto;
    padding: 8vh 5vw 5vh 5vw;
}

.footer-coluna {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 180px;
}

.footer-marca {
    max-width: 270px;
}

#img-footer-logo {
    width: 9vw;
    min-width: 120px;
    height: auto;
    filter: brightness(0) invert(1);
}

.p-footer-descricao {
    color: #b3b3b3;
    line-height: 2.5vh;
    text-align: justify;
    margin-top: 4px;
}

.h3-footer-titulo {
    color: white;
    font-size: 15px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.a-footer-link, .p-footer-link {
    text-decoration: none;
    color: #b3b3b3;
    font-size: 15px;
    transition: all 0.4s ease;
}

.p-footer-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

.a-footer-link i, .p-footer-link i {
    color: #C40011;
    margin-right: 2px;
}

.a-footer-link:hover {
    color: #C40011;
    padding-left: 4px;
}

.footer-redes {
    display: flex;
    gap: 14px;
    margin-top: 4px;
}

.footer-redes a {
    color: white;
    background-color: #414141;
    width: 38px;
    height: 38px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.4s ease;
}

.footer-redes a:hover {
    background-color: #C40011;
}

.footer-baixo {
    border-top: 1px solid #414141;
    padding: 3vh 5vw;

    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;

    color: #8a8a8a;
    font-size: 13px;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: #C40011;
    cursor: pointer;
    justify-self: end;
    padding-right: 5vw;
}

.a-fale-comigo-mobile {
    display: none;
}

@media (max-width: 1440px) {
    .texto-inicial {
        margin-left: 6vw;
    }

    #h1-texto-inicial {
        font-size: 3rem;
        max-width: 14ch;
        line-height: 4rem;
    }

    #p-texto-inicial {
        max-width: 35vw;
    }
}

@media (max-width: 768px) {
    header {
        grid-template-columns: 1fr auto;
        height: 80px;
    }

    .header-esquerda {
        padding-left: 5vw;
    }

    #img-embracon {
        width: 38vw;
        max-width: 170px;
    }

    .header-centro {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #F5F5F7;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }

    .header-centro.active {
        max-height: 320px;
    }

    .a-header-centro {
        width: 100%;
        padding: 18px 0;
        border-bottom: 1px solid #e0e0e0;
    }

    .a-fale-comigo-mobile {
        display: inline-block;
        margin: 20px auto;
        text-align: center;
    }

    .header-direita {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .div-main-inicial {
        justify-content: center;
    }

    .texto-inicial {
        margin-top: 7vh;
        margin-left: 5vw;
    }

    #h1-texto-inicial {
        font-size: 11vw;
        line-height: 8vh;
    }

    #p-texto-inicial {
        max-width: 90%;
    }

    .cada-etapa {
        margin-left: 2vw;
        margin-right: 2vw;
    }

    .div-conquitas {
        width: 95%;
    }

    .footer-conteudo {
        justify-content: center;
        text-align: center;
        padding: 6vh 8vw 4vh 8vw;
    }

    .footer-coluna {
        align-items: center;
    }

    .footer-baixo {
        justify-content: center;
        text-align: center;
    }
}