/* --- 1. Base et Sécurité --- */
.contact-page-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}
.presentation-asso p{text-align: justify-all;}

/* --- 2. Structure PC (Desktop) --- */
@media (min-width: 1024px) {
    /* La grille du haut : Présentation à gauche (1fr), Bureau à droite (1fr) */
    .top-section-grid {
        display: grid;
        grid-template-columns: 1fr 1fr; 
        gap: 40px;
        align-items: start;
        margin-bottom: 40px;
    }

    /* La grille interne du Bureau : 2 colonnes de cartes */
    .bureau-mini-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    /* Le formulaire prend toute la largeur des deux colonnes du haut */
    .bottom-form-section {
        width: 100%;
    }
}

/* --- 3. Style des cartes de membres --- */
.member-mini-card {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}

.member-mini-card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    background-color: #eee; /* Fond de secours */
}

.member-details h4 {
    margin: 0;
    font-size: 0.95rem;
    color: var(--mauze-ardoise);
}

.member-details .role {
    margin: 2px 0;
    font-weight: bold;
    font-size: 0.8rem;
    color: var(--mauze-yellow);
}

.member-details .entreprise {
    margin: 0;
    font-size: 0.75rem;
    font-style: italic;
    color: #666;
}

/* (Fond Bureau Presentation) et formulaire) */
.form-card, .top-section-grid {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
/* --- 4. Style du Formulaire --- */
.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* --- Le Conteneur du Formulaire --- */
.form-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    /* Ombre portée douce pour décoller le formulaire du fond */
    box-shadow: 0 15px 35px rgba(0,0,0,0.08); 
    border: 1px solid #f0f0f0;
}

.form-card h2 {
    color: var(--mauze-ardoise);
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.8rem;
}

/* --- Les Champs de Saisie --- */
.field {
    margin-bottom: 25px;
}

.field label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--mauze-ardoise);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.field input, 
.field select, 
.field textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #edf2f7; /* Gris très clair */
    border-radius: 12px;
    background-color: #f8fafc;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Effet "Focus" quand l'utilisateur clique dedans */
.field input:focus, 
.field select:focus, 
.field textarea:focus {
    outline: none;
    border-color: var(--mauze-yellow);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(242, 208, 39, 0.15); /* Halo jaune léger */
    transform: translateY(-2px); /* Petit effet de soulèvement */
}

/* --- Le Bouton d'envoi --- */
.btn-mauze {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    cursor: pointer;
    background-color: var(--mauze-yellow);
    color: var(--mauze-ardoise);
    border: none;
    border-radius: 12px;
    font-weight: 900;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-mauze:hover {
    background-color: var(--mauze-ardoise);
    color: var(--mauze-yellow);
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- Ajustement de la ligne double (Nom/Email) --- */
.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}