/**
 * TABLE DES MATIÈRES
 * ---------------------------
 * 1. CONFIGURATION & VARIABLES
 *    - 1.1. Importation des Polices (Google Fonts)
 *    - 1.2. Variables CSS (:root)
 *
 * 2. STYLES DE BASE & GÉNÉRAUX
 *    - 2.1. Reset & Styles du Body
 *    - 2.2. Typographie (Titres, Liens)
 *    - 2.3. Conteneur principal
 *
 * 3. COMPOSANTS RÉUTILISABLES
 *    - 3.1. Boutons (.btn)
 *    - 3.2. Titres de section (.section-title)
 *
 * 4. STRUCTURE PRINCIPALE (LAYOUT)
 *    - 4.1. Header & Barre de Navigation
 *    - 4.2. Footer (Pied de page)
 *
 * 5. SECTIONS COMMUNES
 *    - 5.1. Slider principal
 *    - 5.2. Grille de projets
 *    - 5.3. Cartes d'action & Vidéo
 *    - 5.4. Formulaires
 *    - 5.5. Bannière de don (Héros générique)
 *
 * 6. STYLES DE PAGES SPÉCIFIQUES
 *    - 6.1. Page de Don (Nouveaux Styles)
 *
 * 7. RESPONSIVE DESIGN
 *    - 7.1. Breakpoint: 992px (Tablettes)
 *    - 7.2. Breakpoint: 768px (Mobiles larges)
 *    - 7.3. Breakpoint: 576px (Mobiles petits)
 *    - 7.4. Styles responsives spécifiques à la page de don
 *
 * 8. COMPOSANTS ADDITIONNELS
 *    - 8.1. Bouton "Retour en haut"
 *
 * 9. STYLES DE PAGES SPÉCIFIQUES (SUITE)
 *    - 9.1. Page Contact
 *
 * 10. RESPONSIVE : PAGE CONTACT
 *
 * 11. STYLES SPÉCIFIQUES AJOUTÉS
 *
 * 12. STYLE DE LA SCROLLBAR
 */

/* ==========================================================================
   1. CONFIGURATION & VARIABLES
   ========================================================================== */

/* --- 1.1. Importation des Polices (Google Fonts) --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* --- 1.2. Variables CSS (:root) --- */
:root {
    --primary-color: #008080;
    --secondary-color: #f7f5f2;
    --accent-color: #d2a679;
    --text-color: #444444;
    --text-light: #666666;
    --white-color: #ffffff;
    --footer-bg: #EAE6DE;
    --header-height: 95px;
}

/* ==========================================================================
   2. STYLES DE BASE & GÉNÉRAUX
   ========================================================================== */

/* --- 2.1. Reset & Styles du Body --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--secondary-color);
    line-height: 1.8;
    font-weight: 400;
    padding-top: var(--header-height);
}

/* --- 2.2. Typographie (Titres, Liens) --- */
h1,
h2,
h3,
h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: var(--accent-color);
}

/* --- 2.3. Conteneur principal --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

section {
    padding: 60px 0;
}

/* ==========================================================================
   3. COMPOSANTS RÉUTILISABLES
   ========================================================================== */

/* --- 3.1. Boutons (.btn) --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 500;
    font-size: 1rem;
    color: var(--white-color);
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 128, 128, 0.2);
}

.btn:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(210, 166, 121, 0.3);
}

/* --- 3.2. Titres de section (.section-title) --- */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 700;
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ==========================================================================
   4. STRUCTURE PRINCIPALE (LAYOUT)
   ========================================================================== */

/* --- 4.1. Header & Barre de Navigation --- */
.header {
    background-color: var(--white-color);
    height: var(--header-height);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo a {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 75px;
    width: 75px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    color: var(--primary-color);
    font-weight: 500;
    position: relative;
    padding: 6px 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-menu>li>a:hover,
.nav-menu>li>a.active {
    color: var(--accent-color);
}

.nav-menu .btn {
    color: var(--white-color);
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.nav-menu .btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 8px 20px rgba(0, 128, 128, 0.25);
}

.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: ' ▼';
    font-size: 0.7em;
    display: inline-block;
    margin-left: 5px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 120%;
    left: -20px;
    background-color: var(--white-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    list-style: none;
    padding: 10px 0;
    min-width: 220px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
}

.dropdown-menu a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.burger-menu {
    display: none;
    cursor: pointer;
    font-size: 2rem;
    color: var(--primary-color);
}

/* --- 4.2. Footer (Pied de page) --- */
.footer {
    background-color: var(--footer-bg);
    color: var(--text-color);
    padding: 60px 0 0 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #d4cdc3;
}

.footer-logo img {
    height: 150px;
    width: 150px;
    border-radius: 50%;
}

.footer-mission {
    max-width: 800px;
    color: var(--text-light);
    font-weight: bold;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    background-color: var(--white-color);
    color: var(--primary-color);
    border-radius: 50%;
    margin-left: 10px;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: scale(1.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding-bottom: 50px;
    border-top: 1px solid #d4cdc3;
    padding-top: 50px;
}

.footer-col h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: var(--text-light);
    transition: color 0.3s;
}

.footer-col ul a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    background-color: #e0dace;
}

.footer-bottom p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}


/* ==========================================================================
   5. SECTIONS COMMUNES
   ========================================================================== */

/* --- 5.1. Slider principal --- */
.slider {
    margin-top: calc(-1 * var(--header-height));
    height: 100vh;
    overflow: hidden;
    padding: 0 !important;
}

.slides {
    display: flex;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    background-size: cover;
    background-position: center;
    color: var(--white-color);
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 90%;
}

.slide-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    color: var(--white-color);
    font-weight: 700;
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
}

.slider-nav button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s, backdrop-filter 0.3s;
}

.slider-nav button:hover {
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

/* --- 5.2. Grille de projets --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.project-card-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.project-card-content {
    padding: 25px;
}

.project-card-content h3 {
    margin-bottom: 15px;
}

.project-card-content p {
    color: var(--text-light);
}

.project-card-content a {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
}


/* --- 5.3. Cartes d'action & Vidéo --- */
.action-card {
    background: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.07);
    margin-bottom: 40px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    padding: 0;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.action-card-img {
    flex-shrink: 0;
    width: 40%;
    align-self: stretch;
}

.action-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.action-card-text,
.action-card-content {
    padding: 40px;
    width: 60%;
}

.action-card-text h3,
.action-card-content h3 {
    margin-top: 0;
}

.action-card-text h4,
.action-card-content h4 {
    color: var(--text-light);
    font-weight: 500;
    margin-top: -10px;
}

.action-card-content {
    width: 100%;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin-top: 20px;
    border-radius: 10px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- 5.4. Formulaires --- */
.form-container {
    background-color: var(--white-color);
    padding: 50px;
    border-radius: 10px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.07);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.2);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* --- 5.5. Bannière de don (Héros générique) --- */
.donation-hero {
    position: relative;
    padding: 150px 0;
    color: var(--white-color);
    text-align: center;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto 50px auto;
    max-width: 1200px;
}

.donation-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.donation-hero-content {
    position: relative;
    z-index: 2;
}

.donation-hero-content h1 {
    font-size: 3.5rem;
    color: var(--white-color);
    margin-bottom: 20px;
}

.donation-hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.trust-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    color: var(--white-color);
    font-weight: 500;
}

/* ==========================================================================
   6. STYLES DE PAGES SPÉCIFIQUES
   ========================================================================== */

/* --- 6.1. Page de Don (Nouveaux Styles) --- */
.donation-hero-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.donation-hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

.donation-hero-text p {
    font-size: 1.1rem;
    margin: 20px 0 30px 0;
    color: var(--text-light);
}

.donation-hero-new .trust-badge {
    color: var(--text-light);
    justify-content: flex-start;
}

.trust-badge span {
    margin-right: 8px;
    font-size: 1.2rem;
}

.donation-hero-image img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 15px;
}

.payment-options-container {
    margin: 0 auto;
    display: grid;
    gap: 25px;
}

.payment-option-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    height: 100%;
}

.payment-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.payment-option-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 0px;
}

.payment-logo {
    flex-shrink: 0;
}

.payment-logo img {
    height: 50px;
    width: auto;
    max-width: 150px;
}

.payment-details h3 {
    margin: 0 0 5px 0;
    font-size: 1.5rem;
}

.payment-details p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.payment-option-card .btn {
    flex-shrink: 0;
    /*white-space: nowrap;*/
    min-width: 230px;
    text-align: center;
}

.header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.impact-chiffres {
  display: flex;
  justify-content: space-around;
  text-align: center;
  padding: 80px 20px; /* On peut augmenter un peu le padding vertical */
  background-color: #f8f7f4;
  
  /* MODIFIÉ : On resserre la section pour moins d'espacement sur grand écran */
  max-width: 1000px; /* Ajustez cette valeur si besoin */
  margin: 0 auto; /* Centrer la section */
  flex-wrap: wrap;
}
.impact-chiffres .section-title {
  width: 100%;
}

/* NOUVEAU : Ajout des styles pour les icônes */
.impact-item i {
  font-size: 48px; /* Taille des icônes */
  color: #008080; /* Même couleur que les chiffres */
  margin-bottom: 15px; /* Espace entre l'icône et le chiffre */
}

.impact-item h3 {
  /* MODIFIÉ : On augmente la taille des chiffres pour plus d'impact */
  font-size: 64px; 
  font-weight: 700;
  color: #008080;
  margin: 0;
}

.impact-item p {
  font-size: 18px;
  color: #555;
  margin-top: 10px;
}


/* ==========================================================================
   7. RESPONSIVE DESIGN
   ========================================================================== */

/* --- 7.1. Breakpoint: 992px (Tablettes & Mobiles) --- */
@media (max-width: 992px) {
    body {
        padding-top: 80px;
    }

    .header {
        height: 80px;
    }

    .nav-logo img {
        height: 60px;
        width: 60px;
    }

    .navbar {
        height: 100%;
        position: relative;
    }

    .navbar nav {
        /* Potentiellement à cacher si la structure le requiert */
    }

    .nav-logo {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    }

    .burger-menu {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        display: flex; /* Aligne l'icône et le texte */
        align-items: center;
        gap: 5px; /* Espace entre icône et texte */
        z-index: 1002;
        font-size: 1.2rem; /* Taille de police ajustée */
        color: var(--primary-color);
        cursor: pointer;
    }

    .header-btn {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%); /* Centre parfaitement l'élément */
        z-index: 1002;
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background-color: var(--white-color);
        width: 100%;
        height: calc(100vh - 80px);
        transition: left 0.4s ease;
        padding-top: 0;
        z-index: 1001;
        gap: 0;
        list-style: none;
        align-items: stretch;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--secondary-color);
    }

    .nav-menu li a {
        display: block;
        padding: 20px 30px;
        font-size: 1.1rem;
    }

    .dropdown {
        position: relative;
    }

    .dropdown-toggle::after {
        content: '>';
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%) rotate(0deg);
        transition: transform 0.3s ease;
        font-weight: 600;
    }

    .dropdown.open>.dropdown-toggle::after {
        transform: translateY(-50%) rotate(90deg);
    }

    .dropdown-menu {
        display: none;
        position: static;
        box-shadow: none;
        background-color: #f8f9fa;
        padding: 0;
        opacity: 1;
        transform: none;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 15px 45px;
    }

    .impact-chiffres {
        flex-direction: column;
    }
    .impact-item {
        margin-bottom: 50px; /* Un peu plus d'espace sur mobile */
    }
    .impact-item:last-child {
        margin-bottom: 0; /* Pas de marge pour le dernier élément */
    }
}

/* --- 7.2. Breakpoint: 768px (Mobiles larges) --- */
@media (max-width: 768px) {
    .slider-nav {
        top: 85%;
        padding: 0 15px;
    }

    .slider-nav button {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .action-card {
        flex-direction: column;
        text-align: left;
    }

    .action-card-img {
        width: 100%;
        height: 250px;
    }

    .action-card-text,
    .action-card-content {
        padding: 30px;
        width: 100%;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .donation-hero-content h1 {
        font-size: 2.5rem;
    }

    .slide-content h1 {
        font-size: 2.8rem;
    }

    .payment-option-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .payment-option-header {
        margin-bottom: 20px;
    }

    .payment-option-card .btn {
        align-self: flex-end;
    }

    .section-title {
        text-align: left;
    }

    .section-title p {
        margin-left: 0;
        margin-right: 0;
    }

    .slide-content {
        text-align: left;
        left: 30px;
        transform: translate(0, -50%);
        width: calc(100% - 60px);
    }

    .donation-hero-new {
        grid-template-columns: 1fr;
    }

    .donation-hero-image {
        order: -1;
        margin-bottom: 30px;
    }

    .donation-hero-text {
        text-align: left;
    }

    .donation-hero-text h1 {
        font-size: 2.5rem;
    }

    .payment-option-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .payment-option-card .btn {
        align-self: flex-start;
    }

    .action-card ul {
        text-align: left;
    }
}

/* --- 7.3. Breakpoint: 576px (Mobiles petits) --- */
@media (max-width: 576px) {
    section {
        padding: 80px 0;
    }

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

    .slide-content h1 {
        font-size: 2.2rem;
    }

    .form-container {
        padding: 30px;
    }
}

/* ==========================================================================
   8. COMPOSANT : BOUTON "RETOUR EN HAUT"
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.back-to-top:hover {
    background-color: var(--accent-color);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ==========================================================================
   9. STYLES SPÉCIFIQUES : PAGE CONTACT
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.contact-form-wrapper {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.07);
}

.contact-form-wrapper h3 {
    margin-top: 0;
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.volunteer-card {
    background-color: var(--footer-bg);
    padding: 40px;
    border-radius: 15px;
}

.volunteer-card h3 {
    margin-top: 0;
}

.volunteer-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.volunteer-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.volunteer-card ul li {
    color: var(--text-color);
    margin-bottom: 15px;
    padding-left: 5px;
}

.contact-details-block {
    /* Marge pour le séparer du formulaire, comme dans la maquette */
    margin-top: 50px; 
}

.contact-details-block h3 {
    /* Le titre "Nos coordonnées" est plus grand et en couleur primaire */
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-item {
    display: flex;
    align-items: center; /* Alignement vertical pour téléphone/email */
    margin-bottom: 25px;
    line-height: 1.4;
    color: var(--text-color);
    font-size: 1.1rem; /* Assurer une bonne taille de texte */
}

/* L'adresse est sur deux lignes, on aligne l'icône en haut */
.contact-item-address {
    align-items: flex-start; 
}

.contact-item address {
    font-style: normal;
    color: var(--text-color);
}

.contact-item a {
    color: var(--text-color); /* On veut que le lien soit de la même couleur que le texte */
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--accent-color);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    flex-shrink: 0;
    width: 25px; /* Pour garantir un alignement parfait de l'icône/texte */
    text-align: center;
}

/* ==========================================================================
   10. RESPONSIVE : PAGE CONTACT
   ========================================================================== */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.form-status {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
}

.form-status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ==========================================================================
   11. STYLES SPÉCIFIQUES AJOUTÉS
   ========================================================================== */
.action-card-logo {
    text-align: center;
    margin-bottom: 40px;
}

.action-card-logo img {
    max-width: 350px;
    height: auto;
}

/* ==========================================================================
   12. STYLE DE LA SCROLLBAR (BARRE DE DÉFILEMENT)
   ========================================================================== */
::-webkit-scrollbar {
    width: 18px;
}

::-webkit-scrollbar-track {
    background: var(--footer-bg);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
    border: 4px solid var(--footer-bg);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--accent-color);
}

.footer-col .fa-solid {
        margin-right: 8px;
        width: 16px; /* Garantit que les textes sont bien alignés */
        text-align: center;
}

.rounded-separator {
  border: none;
  height: 15px;  
  background-color: #008080; 
  border-radius: 20px; 
  width: 100px; 
  margin: auto;
}

/* CSS de base pour la modale */
.modal-detail {
    position: fixed; /* Reste en place même en scrollant */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8); /* Fond noir semi-transparent */
    z-index: 9999; /* Assure que la modale est au-dessus de tout */
    opacity: 0; /* Caché par défaut */
    pointer-events: none;
    transition: all 0.3s;
}

/* Cible la modale quand l'ancre est dans l'URL (ex: #modal-maraudes) */
.modal-detail:target {
    opacity: 1;
    pointer-events: auto;
}

.modal-detail .btn{
    margin-top: 20px;
}

.modal-content {
    width: 90%; /* Largeur de la fenêtre */
    max-width: 900px;
    position: relative;
    margin: 5% auto;
    padding: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    max-height: 90vh;
    margin: 5vh auto;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    text-decoration: none;
    color: #333;
}
.modal-content img {
    max-width: 100%; 
    height: auto;
    display: block; 
    border-radius: 20px;
    margin-top:20px;
    margin-bottom: 20px;
}

