﻿.agente-negocios {
    background-image: url("../images/agente-negocios.jpg");
    background-repeat: no-repeat;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: end;
    background-position: center -10px;
}

    .agente-negocios::after {
        content: "";
        width: 100%;
        height: 40px;
        background-color: #fff;
        position: absolute;
        left: 0;
        bottom: -2px;
        border-radius: 16px 16px 0 0;
    }

.agente-info-banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 42%;
    color: #fff;
    padding: 2%;
    transition: 2s ease;
}

    .agente-info-banner p:first-child {
        font-weight: 700;
        font-size: 2em;
        margin-bottom: 2rem;
    }

    .agente-info-banner button {
        cursor: pointer;
        font-family: Poppins,sans-serif;
        font-size: 1.125rem;
        color: #fff;
        background: #db4e0f;
        border: 0;
        border-radius: 0.5rem;
        height: 3.5rem;
        width: -moz-fit-content;
        width: fit-content;
        padding: 0 2.8125rem;
        margin-top: 2rem;
    }

.agente-programa {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.8125rem 3.125rem 2.5rem;
}

    .agente-programa h1 {
        font-size: 30px;
        text-transform: uppercase;
        font-weight: bold;
    }

.agente-apresentacao {
    padding: 1.8125rem 2.125rem 1.8125rem;
    width: 94vw;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    text-align: justify;
    gap: 50px;
}

.agente-apresentacao img {
    background-size: contain;
    background-repeat: no-repeat;
    width: 150px;
    height: 150px;
    margin: 5rem 1rem 0 0;
}

.agente-topicos {
    margin: 20px 0;
}

    .agente-topicos h2 {
        margin-bottom: 10px;
        font-size: 24px;
        font-weight: bold;
    }
}

.agente-topicos p {
    font-size: 1.1rem;
}

.agente-passo-A-passo {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 2.8125rem 5.125rem 2.5rem;
    background: #f8f9fa;
}

    .agente-passo-A-passo h1 {
        margin-bottom: 3rem;
        font-size: 30px;
        text-transform: uppercase;
        font-weight: bold;
    }

.agente-passos-card {
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.agente-card {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    display: flex;
}

.agente-card img {
    margin: auto;
    background-size: contain;
    background-repeat: no-repeat;
    width: 170px;
    height: 170px;
}

.agente-card p {
    font-weight: 700;
    width: 16rem;
}

.agente-renda {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.8125rem 2.125rem 1.8125rem;
    text-align: center;
    background: #1f3156;
    color: #fff;
}

    .agente-renda h1 {
        text-transform: uppercase;
        margin-bottom: 2rem;
        font-size: 30px;
        font-weight: bold;
    }

.agente-eh-cliente {
    display: flex;
    gap: 50px;
    margin-top: 10px;
}

.agente-cadastro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.8125rem 3.125rem 0.5rem;
    text-align: justify;
    text-align: center;
}

    .agente-cadastro h1 {
        text-transform: uppercase;
        margin-bottom: 2rem;
        font-size: 30px;
        font-weight: bold;
    }

.agente-cadastro p {
    margin-bottom: 2rem;
}

.agente-formulario-cadastro {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .agente-formulario-cadastro h1 {
        text-align: center;
        font-size: 30px;
        text-transform: uppercase;
        font-weight: bold;
    }

.agente-form-cliente {
    margin: 2rem 0;
    text-align: center;
}


.agente-form-flex, .agente-form-flex-select {
    display: grid;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    grid-template-columns: repeat(2, 1fr);
    margin: 10px 0;
}

.cadastrar-btn{
    justify-content: center;
}

@media(max-width: 1380px) {
    .agente-info-banner {
        width: 90%;
    }
}

@media(max-width: 1200px){
    .agente-topicos h2 {
        font-size: 1.2rem;
    }

    .agente-topicos p {
        font-size: 1rem;
    }

}

@media(max-width: 1100px) {
    .agente-apresentacao img {
        display: none;
    }

    .agente-passos-card {
        grid-template-columns: repeat(2, 1fr);
        gap: 90px;
    }

    .agente-card p {
        width: 20rem;
    }
}

@media(max-width: 980px) {
    .agente-form-flex-select {
        display: block;
    }
}

@media(max-width: 780px) {
    .agente-passos-card {
        gap: 30px;
    }

    .agente-card p {
        width: 16rem;
    }
}

@media(max-width: 680px) {
    .agente-negocios {
        background-repeat: no-repeat;
        height: 75vh;
        display: flex;
        align-items: center;
        justify-content: center;
        background-position: center -80px;
    }

    ..agente-info-banner {
        width: 90%;
    }

    .agente-negocios:after {
        display: none;
    }

    .agente-apresentacao {
        display: block;
    }

    .agente-programa h1 {
        text-align: center;
    }

    .agente-form-flex {
        display: block;
    }

    .agente-form-flex div, .agente-form-flex-select div {
        margin: 20px 0;
    }
}

@media(max-width: 580px) {
    .agente-passo-A-passo h1 {
        text-align: center;
    }

    .agente-passos-card {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media(max-width: 480px){
    .agente-eh-cliente {
        gap: 30px;
        line-height: 30px;
    }

    .formulario label {
        font-size: 16px;
    }
}

@media(max-width: 380px) {
    .agente-info-banner p:first-child {
        font-weight: 700;
        font-size: 1em;
        margin-bottom: 2rem;
    }
}