/* ============================
   PAGE ADHÉSION – STYLE LOCAL
============================ */

/* SECTION */
.adhesion {
    padding: 120px 0 80px;
    background: #f5f7fa;
}

/* CONTENEUR INTERNE */
.adhesion .adhesion-content {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 60px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

/* TITRE */
.adhesion .section-title {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 50px;
}

/* HEADER */
.adhesion .adhesion-header {
    text-align: center;
    margin-bottom: 50px;
}

.adhesion .adhesion-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(211, 47, 47, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    color: var(--primary);
}

.adhesion .adhesion-subtitle {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #555;
}

/* ALERTES */
.adhesion .alert {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.adhesion .alert-danger {
    background: #fdecea;
    color: #b71c1c;
}

.adhesion .alert-success {
    background: #e8f5e9;
    color: #2e7d32;
}

/* FORMULAIRE */
.adhesion .auth-form {
    max-width: 900px;
    margin: 0 auto;
}

/* LIGNES */
.adhesion .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.adhesion .form-group {
    margin-bottom: 25px;
}

/* LABELS */
.adhesion .form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
}

.adhesion .form-label.required::after {
    content: " *";
    color: var(--primary);
}

/* CHAMPS */
.adhesion .form-control {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #dcdfe3;
    font-size: 1rem;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}

.adhesion .form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(211,47,47,0.12);
}

.adhesion textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

/* CHECKBOX */
.adhesion .checkbox-group {
    display: flex;
    gap: 12px;
    margin: 35px 0;
    font-size: 0.95rem;
    color: #555;
}

.adhesion .checkbox-group input {
    accent-color: var(--primary);
    margin-top: 3px;
}

.adhesion .checkbox-group a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.adhesion .checkbox-group a:hover {
    text-decoration: underline;
}

/* BOUTON */
.adhesion .btn-primary {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.adhesion .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(211,47,47,0.25);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .adhesion .adhesion-content {
        padding: 45px;
    }
}

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

    .adhesion .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .adhesion .adhesion-content {
        padding: 30px 20px;
    }

    .adhesion .section-title {
        font-size: 2rem;
    }
}
