/* ==========================================================================
   PORTAL AARCA
   ASSOCIE-SE.CSS
   Versão 1.0
   ========================================================================== */


/* ==========================================================================
   PÁGINA
   ========================================================================== */

.associe-se-page {
    background: #ffffff;
}


/* ==========================================================================
   HERO
   ========================================================================== */

.associe-se-hero {
    padding: 55px 0 40px;
    text-align: center;
}

.associe-se-hero .container,
.associe-se-content .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.associe-se-hero h1 {
    margin: 10px 0 15px;
    color: #1f3b2b;
    font-size: clamp(38px, 5vw, 56px);
}

.associe-se-hero p {
    max-width: 780px;
    margin: 0 auto;
    color: #666666;
    font-size: 17px;
    line-height: 1.7;
}


/* ==========================================================================
   CONTEÚDO
   ========================================================================== */

.associe-se-content {
    padding: 20px 0 90px;
}

.associe-se-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: 60px;
    align-items: start;
}


/* ==========================================================================
   APRESENTAÇÃO
   ========================================================================== */

.associe-se-info {
    position: sticky;
    top: 30px;
}

.associe-se-info h2 {
    margin: 0 0 20px;
    color: #1f3b2b;
    font-size: 34px;
}

.associe-se-info > p {
    margin: 0 0 18px;
    color: #666666;
    font-size: 16px;
    line-height: 1.7;
}


/* ==========================================================================
   BENEFÍCIOS
   ========================================================================== */

.associe-se-beneficios {
    display: grid;
    gap: 15px;
    margin-top: 35px;
}

.associe-se-beneficio {
    padding: 20px;
    background: #f7faf7;
    border: 1px solid #e8eee8;
    border-radius: 16px;
}

.associe-se-beneficio strong {
    display: block;
    margin-bottom: 8px;
    color: #1f3b2b;
    font-size: 16px;
}

.associe-se-beneficio span {
    display: block;
    color: #666666;
    font-size: 14px;
    line-height: 1.6;
}


/* ==========================================================================
   CARD DO FORMULÁRIO
   ========================================================================== */

.associe-se-form-card {
    padding: 35px;
    background: #ffffff;
    border: 1px solid #e8eee8;
    border-radius: 22px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}


/* ==========================================================================
   FORMULÁRIO
   ========================================================================== */

.associe-se-form {
    display: grid;
    gap: 20px;
}

.associe-se-form .form-group {
    margin: 0;
}

.associe-se-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.associe-se-form label {
    display: block;
    margin-bottom: 8px;
    color: #1f3b2b;
    font-size: 14px;
    font-weight: 700;
}

.associe-se-form input[type="text"],
.associe-se-form input[type="email"],
.associe-se-form input[type="date"],
.associe-se-form textarea,
.associe-se-form select {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid #dcdedc;
    border-radius: 12px;
    color: #333333;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.associe-se-form textarea {
    resize: vertical;
    min-height: 110px;
}

.associe-se-form input:focus,
.associe-se-form textarea:focus,
.associe-se-form select:focus {
    border-color: #2e7d32;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.10);
}


/* ==========================================================================
   CONSENTIMENTO
   ========================================================================== */

.associe-se-consentimento {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    margin: 5px 0 0 !important;
    cursor: pointer;
}

.associe-se-consentimento input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    flex-shrink: 0;
}

.associe-se-consentimento span {
    color: #555555;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}


/* ==========================================================================
   BOTÃO
   ========================================================================== */

.associe-se-form .btn-product {
    width: 100%;
    margin-top: 5px;
    padding: 16px 25px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
}


/* ==========================================================================
   RESPONSIVO
   ========================================================================== */

@media (max-width: 850px) {

    .associe-se-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .associe-se-info {
        position: static;
    }

}


@media (max-width: 600px) {

    .associe-se-hero {
        padding: 40px 0 30px;
    }

    .associe-se-content {
        padding-bottom: 60px;
    }

    .associe-se-form-card {
        padding: 25px 20px;
        border-radius: 18px;
    }

    .associe-se-form .form-row {
        grid-template-columns: 1fr;
    }

    .associe-se-info h2 {
        font-size: 29px;
    }

}
/* ==========================================================================
   MENSAGENS DO FORMULÁRIO - DESTAQUE
   ========================================================================== */

.associe-se-alert {
    position: relative;
    max-width: 850px;
    margin: 0 auto 45px;
    padding: 28px 30px 28px 75px;

    border-radius: 18px;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.10);

    animation: aarcaAlertEntrada 0.5s ease;
}


/* TÍTULO */

.associe-se-alert strong {
    display: block;

    margin-bottom: 8px;

    font-size: 20px;
    font-weight: 800;

    line-height: 1.4;
}


/* TEXTO */

.associe-se-alert p {
    margin: 0;

    font-size: 16px;
    line-height: 1.7;
}


/* ==========================================================================
   SUCESSO
   ========================================================================== */

.associe-se-alert-success {
    background: linear-gradient(
        135deg,
        #e8f5e9,
        #f5fff6
    );

    border: 2px solid #4caf50;

    color: #1b5e20;
}


/* ÍCONE GRANDE */

.associe-se-alert-success::before {
    content: "✓";

    position: absolute;

    left: 25px;
    top: 50%;

    transform: translateY(-50%);

    display: flex;

    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    background: #2e7d32;

    color: #ffffff;

    border-radius: 50%;

    font-size: 22px;
    font-weight: bold;
}


/* ==========================================================================
   ERRO
   ========================================================================== */

.associe-se-alert-error {
    background: linear-gradient(
        135deg,
        #fff1f1,
        #fff8f8
    );

    border: 2px solid #d32f2f;

    color: #9b1c1c;
}


.associe-se-alert-error::before {
    content: "!";

    position: absolute;

    left: 25px;
    top: 50%;

    transform: translateY(-50%);

    display: flex;

    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    background: #d32f2f;

    color: #ffffff;

    border-radius: 50%;

    font-size: 22px;
    font-weight: bold;
}


/* ==========================================================================
   ANIMAÇÃO
   ========================================================================== */

@keyframes aarcaAlertEntrada {

    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* ==========================================================================
   RESPONSIVO
   ========================================================================== */

@media (max-width: 600px) {

    .associe-se-alert {
        padding: 22px 20px 22px 65px;

        margin-bottom: 30px;

        border-radius: 14px;
    }

    .associe-se-alert-success::before,
    .associe-se-alert-error::before {
        left: 18px;

        width: 32px;
        height: 32px;

        font-size: 19px;
    }

    .associe-se-alert strong {
        font-size: 17px;
    }

    .associe-se-alert p {
        font-size: 14px;
    }

}
/* ==========================================================================
   TELA FINAL DE SUCESSO
   ========================================================================== */

.associe-se-sucesso-final {
    max-width: 760px;
    margin: 30px auto 60px;
    padding: 45px 35px;
    text-align: center;
    background: #f2fbf3;
    border: 2px solid #4caf50;
    border-radius: 22px;
    box-shadow: 0 15px 40px rgba(46, 125, 50, 0.15);
}

.associe-se-sucesso-icone {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2e7d32;
    color: #ffffff;
    border-radius: 50%;
    font-size: 38px;
    font-weight: bold;
}

.associe-se-sucesso-final h2 {
    margin: 0 0 15px;
    color: #1f3b2b;
    font-size: 30px;
}

.associe-se-sucesso-final p {
    max-width: 620px;
    margin: 0 auto 25px;
    color: #555555;
    font-size: 17px;
    line-height: 1.7;
}