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

body {
    background-image: url('../img/Fundo.jpg');
    background-size: 100% auto; /* Ajusta a largura total para alinhar elementos gráficos do fundo se houver */
    background-position: top center;
    background-repeat: no-repeat;
    background-color: #0076f5; /* Cor base caso a tela seja mais alta que a foto */
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.app-container {
    width: 100%;
    max-width: 900px;
    position: relative;
    padding-top: 5%; /* Espaço inicial */
    overflow-x: hidden;
}

.section-titulo {
    width: 100%;
    text-align: center;
    margin-bottom: 2%;
    position: relative;
    z-index: 3;
}

.img-titulo {
    width: 95%;
    max-width: 800px;
    height: auto;
    margin-top: -90px; /* sobe 20px */
}

.section-passos {
    width: 100%;
    text-align: center;
    margin-bottom: 4%;
    z-index: 3;
    position: relative;
}

.img-passos {
    width: 90%;
    max-width: 750px;
    height: auto;
}

.main-content {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* O segredo do design: A abelha posicionada absolutamente à esquerda para descer ao lado do formulário */
.img-abelha {
    position: absolute;
    top: -8%; 
    left: -2%;
    width: 32%; 
    max-width: 300px;
    height: auto;
    z-index: 1;
    pointer-events: none; /* Para não atrapalhar o clique no formulário */
}

.img-texto {
    width: 65%;
    max-width: 550px;
    height: auto;
    margin-bottom: 5%;
    z-index: 2;
    position: relative;
    margin-left: 15%; /* Afasta para a direita para dar espaço à abelha */
}

.form-container {
    background-color: #389cff; /* Azul claro exato da foto */
    padding: 35px 45px;
    border-radius: 25px;
    width: 85%;
    max-width: 650px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin-bottom: 30px;
    color: white;
    z-index: 2;
    position: relative;
}

.form-container h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.6rem;
    font-weight: 700;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 600;
}

.input-group input {
    width: 100%;
    padding: 16px 20px;
    border-radius: 30px;
    border: none;
    background-color: #1e5a95; /* Azul escuro exato da foto */
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    outline: none;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
}

.input-group input::placeholder {
    color: #8bb7df;
}

.input-group input:focus {
    box-shadow: 0 0 0 3px #ffca28, inset 0 2px 5px rgba(0,0,0,0.2);
}

.submit-wrapper {
    text-align: center;
    margin-top: 30px;
}

.submit-btn {
    background-color: #ffca28; /* Amarelo exato da foto */
    color: #0056b3;
    border: none;
    border-radius: 35px;
    padding: 14px 50px;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.2s, background-color 0.2s;
}

.submit-btn:hover {
    transform: scale(1.05);
    background-color: #ffe066;
}

.footer {
    text-align: center;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
    padding-bottom: 40px;
    z-index: 2;
    position: relative;
}

/* Responsividade para manter a abelha alinhada em celulares */
@media (max-width: 768px) {
    .app-container {
        padding-top: 10%;
    }
    .img-titulo {
        margin-top: -30px;
    }
    .img-abelha {
        left: -8%;
        width: 38%;
        top: -5%;
    }
    .img-texto {
        width: 80%;
        margin-left: 10%;
    }
    .form-container {
        width: 90%;
        padding: 25px;
    }
}
