:root {
    --AzulBg: #1e3a8a;
    --AzulH2: #02256e;
}

/*   SEÇÃO HERO   */

#hero {
    background-color: var(--AzulBg);
    padding: 100px 20px;
    text-align: center;
}

.texto-redondo {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.85);
    font-size: 18px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 28px;
    font-weight: 600;
}

#hero h1 {
    font-size: 75px;
    font-weight: 700;
    color: white;
    line-height: 1.15;
    max-width: 750px;
    margin: 0 auto 24px;
}

#hero p {
    font-size: 21px;
    color: rgba(255,255,255,0.65);
    max-width: 890px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.divisor {
    width: 148px;
    height: 5px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    margin: 0 auto;
}

/*   SEÇÃO IMAGEM E TEXTO   */

#secao-img-txt {
    padding: 25px 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 120px;    
}

.container-img-txt {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 120px;
}

.container-img-txt img {
    max-width: 400px;
    max-height: 400px;
    border-radius: 12px;
}

.texto-container{
    display: flex;
    flex-direction: column;
    margin-right: 200px;
    gap: 12px;
}

.texto-container h2 {
    font-size: 45px;
    font-weight: 700;
    color: var(--AzulH2);
    line-height: 1.25;
    margin-bottom: 12px;
}

.texto-container p {
    font-size: 18px;
    color: var(--cinza-texto);
    line-height: 1.65;
}

.texto-container img {
    width: 80px;
    height: auto;
    max-height: 80px;
    border-radius: 0px !important;
    top: 25px;
    transform: translateY(18px);
}

.divisor2 {
    height: 50px;
}

@media (max-width: 1400px) {
    #secao-img-txt {
        padding: 50px 80px;
        gap: 80px;
    }

    .texto-container {
        margin-right: 0;
    }

    .container-img-txt {
        gap: 60px;
    }
}

@media (max-width: 992px) {
    #hero h1 {
        font-size: 52px;
    }

    #secao-img-txt {
        padding: 40px 40px;
        gap: 60px;
    }

    .container-img-txt {
        display: flex;
        flex-direction: column !important;
        text-align: center;
        gap: 30px;
    }

    .container-img-txt img:not(.texto-container img) {
        order: 1; 
        max-width: 320px;
        height: auto;
    }

    .texto-container {
        order: 2;
        align-items: center;
    }

    .texto-container h2 {
        font-size: 34px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .texto-container img {
        transform: none;
        margin-bottom: 10px;
    }
}

@media (max-width: 600px) {
    html, body {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    #hero {
        padding: 60px 16px;
    }

    .texto-redondo {
        font-size: 14px;
        padding: 4px 14px;
    }

    #hero h1 {
        font-size: 34px;
        line-height: 1.2;
    }

    #hero p {
        font-size: 17px;
        line-height: 1.6;
    }

    .divisor {
        width: 100px;
    }

    #secao-img-txt {
        padding: 30px 16px;
        gap: 50px;
    }

    .container-img-txt img:not(.texto-container img) {
        max-width: 100%;
        height: auto;
    }

    .texto-container h2 {
        font-size: 26px;
    }

    .texto-container p {
        font-size: 15px;
        text-align: justify;
    }

    .divisor2 {
        height: 20px;
    }
}