/* =========================================
   ARQUIVO: associese.css
   ESTILOS DA PÁGINA ASSOCIE-SE
   ========================================= */

/* Cabeçalho Interno */
.page-header { position: relative; background-size: cover; background-position: center; padding: 80px 20px; text-align: center; color: white; }
.page-header-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.655); z-index: 1; }
.page-header-content { position: relative; z-index: 2; max-width: var(--container-width); margin: 0 auto; }
.page-header h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 16px; }
.page-header p { font-size: 1.1rem; color: #e8f2ef; }

/* Layout Split */
.join-section { padding: 80px 20px; background-color: var(--bg-light); }
.content-container { max-width: var(--container-width); margin: 0 auto; }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: flex-start; }

@media (max-width: 900px) {
    .split-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* --- Lado Esquerdo (Benefícios) --- */
.badge-accent {
    display: inline-block;
    background-color: #ffedd5;
    color: var(--brand-accent);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
    margin-bottom: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.benefits-side h2 { font-size: 2rem; color: var(--brand-dark); margin-bottom: 24px; line-height: 1.3; }
.benefits-side > p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.6; margin-bottom: 40px; }

.perks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 600px) {
    .perks-grid { grid-template-columns: 1fr; }
}

.perk-card {
    background-color: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-top: 3px solid var(--brand-primary);
}

.perk-card i {
    font-size: 2rem;
    color: var(--brand-accent);
    margin-bottom: 16px;
}

.perk-card h4 { color: var(--brand-dark); margin-bottom: 8px; font-size: 1.1rem; }
.perk-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }

/* --- Lado Direito (Formulário) --- */
.join-card {
    background-color: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.join-card h3 { font-size: 1.5rem; color: var(--brand-dark); margin-bottom: 8px; }
.form-subtitle { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid #e2e8f0; }

.join-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
}

.input-group label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--brand-dark); margin-bottom: 8px; }
.required { color: #ef4444; }

.input-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background-color: #f9fafb;
}

.input-group input:focus {
    border-color: var(--brand-primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(24, 73, 56, 0.1);
}

.btn-submit-join {
    background-color: var(--brand-accent);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 16px;
}

.btn-submit-join:hover {
    background-color: var(--brand-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(206, 126, 45, 0.3);
}

.privacy-note { text-align: center; font-size: 0.85rem; color: #94a3b8; margin-top: 12px; }
.privacy-note i { margin-right: 4px; }

/* =========================================
   ALERTA DE PRÉ-ASSOCIAÇÃO (INFO BOX)
   ========================================= */
.join-alert {
    background-color: #e0f2fe; /* Fundo azul claro */
    color: #0369a1; /* Texto azul escuro */
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid #bae6fd;
    line-height: 1.5;
}

.join-alert i {
    font-size: 1.1rem;
    margin-top: 2px;
}

/* =========================================
   MODAL DE SUCESSO (ESTILO PADRÃO FRONT-END)
   ========================================= */

/* Fundo escuro que cobre a tela toda */
.site-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    display: none; /* Fica invisível até receber a classe .active do JS */
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.site-modal-overlay.active {
    display: flex;
}

/* O cartão branco do modal */
.site-modal-card {
    background: #ffffff;
    width: 100%;
    max-width: 450px;
    padding: 40px 30px;
    border-radius: 16px;
    position: relative;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalPop 0.3s ease-out forwards;
    margin: 20px;
}

@keyframes modalPop {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Botão de Fechar (X) */
.site-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s;
}

.site-modal-close:hover {
    color: #ef4444;
}

/* Ícone grande de Sucesso */
.site-modal-icon i {
    font-size: 4rem;
    color: #10b981; /* Verde Sucesso */
    margin-bottom: 20px;
}

/* Textos do Modal */
.site-modal-title {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 12px;
    font-weight: 800;
}

.site-modal-text {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Caixa com chamada para o WhatsApp */
.site-modal-zap-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 12px;
}

.site-modal-zap-box p {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 16px;
    line-height: 1.4;
}

/* Botão do WhatsApp Oficial */
.btn-whatsapp-modal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #128c7e; /* Cor oficial da marca */
    color: #ffffff;
    padding: 14px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s;
    width: 100%;
}

.btn-whatsapp-modal:hover {
    background-color: #1ebe57;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    color: #ffffff;
}