/*
Theme Name: Les Enfants du Ndé 2
Theme URI: https://lesenfantsdunde.com/
Author: Reine-Sylvie Nana
Description: La Preuve par l'action
Version: 3.3
Text Domain: les-enfants-du-nde
*/

/* =============================================================================
   1. VARIABLES & CONFIGURATION (ROOT)
============================================================================= */
:root {
    /* --- COULEURS PRINCIPALES DU THEME --- */
    --primary: var(--wp--preset--color--primary, #1B4D3E);
    --secondary: var(--wp--preset--color--secondary, #FFB300);
    --accent: var(--wp--preset--color--accent, #A0522D);
    --base: var(--wp--preset--color--base, #FDF8F1);
    --text: var(--wp--preset--color--contrast, #2E1A11);
    --white: var(--wp--preset--color--white, #ffffff);
    
    --font-heading: var(--wp--preset--typography--font-family--heading, 'Montserrat', sans-serif);
    --font-body: var(--wp--preset--typography--font-family--body, 'Lato', sans-setrif);
    
    --shadow-soft: 0 10px 30px rgba(27, 77, 62, 0.08);

    /* --- VARIABLES DU TEMPLATE ASSOCIATION (Version "asso-") --- */
    --asso-primary: #264653;
    --asso-secondary: #f4a261;
    --asso-accent: #e76f51;
    --asso-bg-sable: #fdf8f1;
    --asso-white: #ffffff;

    /* --- VARIABLES DU TEMPLATE ASSOCIATION (Version "ass-") --- */
    --ass-primary: #264653;    
    --ass-secondary: #f4a261;  
    --ass-accent: #e76f51;     
    --ass-bg-sable: #fdf8f1;   
    --ass-text: #2d2d2d;
    --ass-white: #ffffff;

    /* --- VARIABLES MEDIATHEQUE --- */
    --media-primary: #264653;    
    --media-secondary: #f4a261;  
    --media-accent: #e76f51;     
    --media-bg-sable: #fdf8f1;   
    --media-text: #2d2d2d;
    --media-white: #ffffff;
    --media-shadow: 0 10px 30px rgba(38, 70, 83, 0.08);
}
        /*--- MAYO DARLE ---*/
/* Variables de couleurs de l'association */
  :root {
    --nde-primary: #264653;
    --nde-secondary: #f4a261;
    --nde-accent: #e76f51;
    --nde-bg-sable: #fdf8f1;
    --nde-white: #ffffff;
  }

    
/* =============================================================================
   2. STYLES DE BASE (Reset & Global)
============================================================================= */
body {
    background-color: var(--white);
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.6;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 900; }
img { max-width: 100%; height: auto; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- BOUTONS GENERIQUES --- */
.btn {
    display: inline-block;
    padding: 16px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 900;
    transition: all 0.3s;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}
.btn-primary { background: var(--secondary); color: var(--text); }
.btn-primary:hover { background: var(--accent); color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--base); }
.btn-secondary { background: var(--secondary); color: var(--white); border-radius: 4px; text-decoration: none; padding: 15px 30px; display: inline-block; margin-top: 20px; font-weight: 900; text-transform: uppercase; font-size: 0.85rem; transition: all 0.3s; }
.btn-secondary:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); }

/* =============================================================================
   3. HEADER & NAVIGATION
============================================================================= */
.site-header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
}

.main-navigation {
    background-color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.site-logo-area { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-symbol { position: relative; width: 100px; height: 100px; background-image: url('https://lesenfantsdunde.com/wp-content/uploads/2025/12/Logo_LEDN_new_2026_transparent.png'); background-size: contain; background-repeat: no-repeat; background-position: center; display: flex; align-items: center; justify-content: center; }
.logo-branding { display: flex; flex-direction: column; line-height: 1.1; }
.site-title { font-family: var(--font-heading); font-weight: 900; color: var(--primary); font-size: 1.8rem; text-transform: uppercase; }
.site-description { font-family: var(--font-body); color: var(--accent); font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; font-weight:600; }

/* MENU */
.nav-links-list { display: flex; gap: 25px; list-style: none; align-items: center; margin: 0; padding: 0; }
.nav-links-list li a { text-decoration: none; color: var(--primary); font-weight: 700; font-size: 0.9rem; transition: color 0.3s; }
.nav-links-list li a:hover { color: var(--accent); }

/* --- [AJOUT] ETAT ACTIF DU MENU --- */
.nav-links-list .current-menu-item a,
.nav-links-list .current_page_item a {
    color: var(--accent);
    font-weight: 900;
    position: relative;
}
/* Petite ligne jaune sous le lien actif */
.nav-links-list .current-menu-item a::after,
.nav-links-list .current_page_item a::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--secondary);
    position: absolute;
    bottom: -5px;
    left: 0;
}

/* BOUTON DON DANS LE MENU */
.menu-item-donation a { display:flex; background-color: var(--secondary) !important; color: var(--text) !important; padding: 10px 20px !important; border-radius: 4px; font-weight: 900 !important; transition: all 0.3s ease !important; }
.menu-item-donation a:hover { background-color: var(--primary) !important; color: var(--white) !important; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

/* --- [AJOUT] CORRECTION POUR LE BOUTON DON ACTIF --- */
.nav-links-list .menu-item-donation.current-menu-item a::after { display: none; }
.nav-links-list .menu-item-donation.current-menu-item a { color: var(--white) !important; }


/* =============================================================================
   4. PAGE D'ACCUEIL (HOME)
============================================================================= */
.hero { position: relative; padding: 120px 0; background: linear-gradient(rgba(27, 77, 62, 0.75), rgba(27, 77, 62, 0.75)), url('https://lesenfantsdunde.com/wp-content/uploads/2026/01/Savane-verdoyante-sous-ciel-bleu.png?auto=format&fit=crop&w=1920&q=80'); background-size: cover; background-position: center; background-attachment: fixed; color: var(--white); text-align: center; min-height: 70vh; display: flex; align-items: center; }
.hero-content { max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.2; font-weight: 900; color: var(--white); }
.hero p { font-size: 1.4rem; margin-bottom: 40px; opacity: 0.9; font-weight: 300; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

.pillars { padding: 100px 0; background: var(--base); }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.8rem; color: var(--primary); margin-bottom: 15px; font-weight: 900; }
.title-underline { width: 60px; height: 4px; background: var(--secondary); margin: 0 auto; }
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.pillar-card { background: var(--white); padding: 40px; border-radius: 8px; text-align: center; transition: 0.3s; box-shadow: var(--shadow-soft); }
.pillar-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(27, 77, 62, 0.15); }
.pillar-icon { width: 80px; height: 80px; background: var(--base); border-radius: 50%; margin: 0 auto 25px; display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.pillar-card h3 { color: var(--primary); margin-bottom: 15px; font-size: 1.5rem; font-weight: 900; }
.pillar-card p { color: #666; font-size: 1rem; line-height: 1.6; }

.president-section { padding: 100px 0; background: var(--white); }
.pres-wrap { display: flex; align-items: center; gap: 60px; }
.pres-image { flex: 1; }
.pres-image img { width: 100%; border-radius: 8px; box-shadow: 20px 20px 0 var(--base); display: block; }
.pres-text-content { flex: 1.5; }
.pres-text-content h2 { font-size: 2.5rem; color: var(--primary); margin-bottom: 25px; font-weight: 900; }
.pres-quote { font-size: 1.2rem; font-style: italic; color: #555; margin-bottom: 30px; padding-left: 20px; border-left: 4px solid var(--secondary); line-height: 1.7; }
.pres-text-content p { font-size: 1rem; line-height: 1.7; color: #666; margin-bottom: 20px; }
.pres-name { font-weight: 700; color: var(--primary); display: block; margin-top: 15px; font-size: 1.1rem; }

.stats { background: var(--primary); padding: 80px 0; color: var(--white); }
.stats-grid { display: flex; justify-content: space-around; text-align: center; flex-wrap: wrap; gap: 40px; }
.stat-item h3 { font-size: 3.5rem; color: var(--secondary); margin-bottom: 10px; font-weight: 900; }
.stat-item p { text-transform: uppercase; font-size: 0.9rem; letter-spacing: 2px; opacity: 0.9; }

/* =============================================================================
   5. BLOG & ACTUALITÉS
============================================================================= */
.page-title-section { background-color: var(--base); padding: 80px 0; text-align: center; margin-bottom: 60px; }
.page-title-section h1 { font-family: var(--font-heading); font-size: 4rem; color: var(--primary); margin-bottom: 10px; }
.page-title-section p { font-size: 1.2rem; font-weight: 300; color: var(--accent); text-transform: uppercase; letter-spacing: 2px; }

.featured-post { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; margin-bottom: 80px; align-items: center; width: 100%; }
.featured-img-box { width: 100%; }
.featured-img-box img { width: 100%; height: 500px; object-fit: cover; border-radius: 4px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); display: block; }
.featured-content { width: 100%; }
.featured-content h2 { font-family: var(--font-heading); font-size: 2.5rem; margin-bottom: 20px; color: var(--primary); }
.featured-content p { margin-bottom: 30px; font-size: 1.1rem; line-height: 1.6; }
.btn-more { display: inline-block; margin-top: 15px; color: var(--primary); font-weight: 900; text-decoration: none; border-bottom: 2px solid var(--secondary); padding-bottom: 2px; font-size: 0.85rem; text-transform: uppercase; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 30px; margin-bottom: 80px; width: 100%; }
.news-card { text-decoration: none; color: inherit; transition: transform 0.3s ease; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-5px); }
.card-img { width: 100% !important; height: 250px; object-fit: cover; border-radius: 4px; margin-bottom: 20px; display: block; }
.card-meta { text-transform: uppercase; font-size: 0.75rem; font-weight: 900; color: var(--accent); letter-spacing: 1px; margin-bottom: 10px; display: block; }
.card-title { font-family: var(--font-heading); font-size: 1.6rem; line-height: 1.2; color: var(--primary); margin-bottom: 15px; }
.card-excerpt { font-size: 0.95rem; opacity: 0.8; line-height: 1.5; }

.pagination { text-align: center; margin-bottom: 100px; }
.pagination .nav-links { display: inline-flex; gap: 10px; }
.pagination .page-numbers { padding: 10px 15px; border: 1px solid #ddd; text-decoration: none; color: var(--primary); font-weight: 700; transition: all 0.3s; }
.pagination .page-numbers:hover { background: var(--primary); color: var(--white); }
.pagination .current { background: var(--primary); color: var(--white); border-color: var(--primary); }
/* --- GALERIE BENTO (ARTICLES) --- */
/* --- 1. LE CONTENEUR (La Carte) --- */
.bento-gallery {
    display: grid;
    /* 4 colonnes de largeur égale */
    grid-template-columns: repeat(4,1fr); 
    
    /* DESSIN DE LA GRILLE : C'est ici que la magie opère.
       "main" = Grande image
       "img1" à "img4" = Les petites images
    */
    grid-template-areas: 
        "main main img1 img2"
        "main main img3 img4";
        
    gap: 15px;
    margin: 40px 0;
}

/* --- 2. LES ÉLÉMENTS (L'Assignation) --- */
/* On garde l'aspect carré parfait pour tous les éléments */
.bento-item {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    margin: 0;
}

/* On dit à chaque div HTML où aller sur la carte CSS */
.area-main { grid-area: main; }
.area-1    { grid-area: img1; }
.area-2    { grid-area: img2; }
.area-3    { grid-area: img3; }
.area-4    { grid-area: img4; }


/* --- 3. LES IMAGES (Le Remplissage) --- */
.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;        /* Remplit sans déformer */
    object-position: top center; /* Garde les têtes visibles */
    display: block;
    transition: transform 0.5s ease;
}

.bento-item:hover img {
    transform: scale(1.05);
}

/* Style Galeries Thématiques */
  .theme-gallery { margin: 60px 0; }
  .theme-title { border-left: 5px solid var(--nde-accent); padding-left: 15px; margin-bottom: 25px; }
  
  .grid-mosaic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 20px;
  }
  .gallery-item { margin: 0; }
  .gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
  }
  .gallery-item img:hover { transform: translateY(-5px); }
  .gallery-item figcaption {
    font-size: 0.85rem;
    color: #666;
    margin-top: 10px;
    font-style: italic;
    line-height: 1.4;
  }

  /* Conclusion */
  .conclusion-box {
   /* background: var(--nde-primary);
    color: white;*/
    padding: 40px;
    border-radius: 20px;
    margin-top: 60px;
  }
  .conclusion-box h2 { color: var(--nde-secondary); }
  .conclusion-box ul { list-style-type: none; padding-left: 0; }
  .conclusion-box li { margin-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 5px; }

   /* Style Carnet de Bord (Alterné) */
  .story-section {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    padding: 20px 0;
  }
  .story-section.reverse { flex-direction: row-reverse; }
  .story-section.bg-highlight { background: var(--nde-bg-sable); padding: 40px; border-radius: 20px; }

  .story-text { flex: 1.2; }
  .story-img-container { flex: 1; text-align: center; }
  .story-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 10px 10px 0px var(--nde-primary);
    border: 3px solid var(--nde-secondary);
    object-fit: cover;
  }


  /* Mise en forme générale de l'article */
  .mayo-darle-article {
    font-family: 'Lato', sans-serif;
    line-height: 1.8;
    color: #333;
    max-width: 900px;
    margin: 0 auto;
  }

  .mayo-darle-article h1, .mayo-darle-article h2, .mayo-darle-article h3 {
    font-family: 'Playfair Display', serif;
    color: var(--nde-primary);
  }

  .mayo-darle-article h1 { font-size: 2.5rem; border-bottom: 3px solid var(--nde-secondary); padding-bottom: 10px; margin-bottom: 30px; }

 /* Conteneur du ruban */
  .nde-ribbon-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px 0 40px 0;
    scrollbar-width: thin;
    scrollbar-color: #f4a261 transparent;
  }

  /* Style de chaque photo */
  .nde-ribbon-item {
    flex: 0 0 auto;
    width: 80%; /* Largeur sur mobile */
    max-width: 500px; /* Largeur sur PC */
    scroll-snap-align: center;
    position: relative;
  }

  .nde-ribbon-item img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border: 1px solid #eee;
  }

  /* Légende discrète sous la photo */
  .nde-ribbon-caption {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
    font-style: italic;
    text-align: center;
    padding: 0 10px;
  }

  /* Personnalisation de la barre de défilement pour Chrome/Safari */
  .nde-ribbon-container::-webkit-scrollbar { height: 6px; }
  .nde-ribbon-container::-webkit-scrollbar-thumb { background: #f4a261; border-radius: 10px; }


/* --- 4. RESPONSIVE (Redessiner la carte pour le mobile) --- */
@media (max-width: 1024px) {
    .bento-gallery {
        /* On passe à 2 colonnes */
        grid-template-columns: 1fr 1fr;
        
        /* On redessine la carte pour empiler proprement */
        grid-template-areas: 
            "main main"
            "img1 img2"
            "img3 img4";
    }
    /* Pas besoin de toucher au reste, les noms suivent la nouvelle carte */
}
/*==============================================================================
    SINGLE / PAGE ARTICLE
==============================================================================*/
   /* VARIABLES DE COULEURS ISSUES DU LOGO */
    .story-article-layout {
        --nde-primary: #1B4D3E;    /* Vert Forêt */
        --nde-secondary: #FFB300;  /* Jaune Or */
        --nde-accent: #A0522D;     /* Terracotta */
        --nde-white: #ffffff;
        --nde-text: #2E1A11;
        --nde-bg-soft: #FDF8F1;
    }

    /* LE BLOC DE COULEUR MASSIF */
    /*.story-header-background {
        background-color: var(--nde-primary);
        color: var(--nde-white);
        padding: 160px 20px 220px 20px; /* Padding bas généreux pour laisser la place à l'image */
        /*text-align: center;
    }*/
    .story-header-background {
    background-color: var(--nde-primary);
    color: var(--nde-white);
    /* MODIFICATION : On passe de 160px/220px à 100px/140px */
    padding: 100px 20px 140px 20px; 
    text-align: center;
}

    .story-header-inner { max-width: 800px; margin: 0 auto; }

    .story-category {
        display: block;
        text-transform: uppercase;
        letter-spacing: 3px;
        font-weight: 900;
        font-size: 0.8rem;
        color: var(--nde-secondary);
        margin-bottom: 30px;
    }

    /*.story-title {
        font-family: 'Playfair Display', serif;
        font-size: clamp(2.5rem, 7vw, 5rem);
        line-height: 1;
        margin-bottom: 40px;
        font-weight: 900;
        color: var(--nde-secondary)
    }*/
    .story-title {
    font-family: 'Playfair Display', serif;
    /* MODIFICATION : On réduit la taille maximale de 5rem à 3.5rem */
    font-size: clamp(2rem, 5vw, 3.5rem); 
    line-height: 1.1;
    margin-bottom: 30px; /* Réduit un peu la marge aussi */
    font-weight: 900;
    color: var(--nde-secondary);
}

    .story-author {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-bottom: 40px;
    }

    .author-avatar {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        border: 2px solid var(--nde-secondary);
    }

    .author-label {
        font-weight: 700;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .story-intro-summary {
        font-size: clamp(1.2rem, 3vw, 1.8rem);
        line-height: 1.4;
        font-weight: 300;
        opacity: 0.9;
        font-style: italic;
    }

    /* L'EFFET DE SUPERPOSITION (OVERLAP) */
   /* .story-featured-overlap {
        margin-top: -140px; /* Force l'image à remonter sur le bloc vert */
       /* position: relative;
        z-index: 10;
        padding: 0 20px;
    }*/

    /* L'EFFET DE SUPERPOSITION (OVERLAP) */
.story-featured-overlap {
    /* MODIFICATION : On remonte de -100px au lieu de -140px pour suivre la réduction du bloc vert */
    margin-top: -100px; 
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

.overlap-img {
    width: 100%;
    /* MODIFICATION : On force une hauteur maximale pour éviter les images géantes */
    height: 650px; 
    
    /* TRÈS IMPORTANT : Permet de couper l'image proprement sans la déformer */
    object-fit: cover; 
    object-position: 50% 50%;  /*Centre l'image */
    
    display: block;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); /* Ombre un peu plus douce */
    border-radius: 4px;
}

    .overlap-container {
        max-width: 1100px;
        margin: 0 auto;
    }

  /*  .overlap-img {
        width: 100%;
        height: auto;
        display: block;
        box-shadow: 0 40px 80px rgba(0,0,0,0.25);
        border-radius: 4px;
    }*/

    /* LE CORPS DE TEXTE */
    .story-content-area {
        padding: 80px 20px;
        background: var(--nde-white);
    }

    .content-inner {
        max-width: 900px;
        margin: 0 auto;
        font-size: 1.25rem;
        line-height: 1.8;
        color: var(--nde-text);
    }

    .content-inner h2{
        color: #e67e22;
    }

    .content-inner hr{
        border: 0;
        height: 1px;
        background: #ddd;
        margin: 20px 0px;
    }

    .content-inner blockquote {
        background: #f9f9f9;
        border-left: 10px solid #e67e22;
        margin: 1.5em 10px;
        padding: 0.5em 10px;
    }

    /* Lettrine automatique */
    .content-inner p:first-of-type::first-letter {
        font-family: 'Playfair Display', serif;
        float: left;
        font-size: 5rem;
        line-height: 0.8;
        padding: 10px 15px 0 0;
        color: var(--nde-primary);
        font-weight: 900;
    }

    /* CTA FINAL */
    .story-donation-cta {
        background-color: var(--nde-bg-soft);
        padding: 120px 20px;
        text-align: center;
    }

    .cta-inner h3 {
        font-family: 'Playfair Display', serif;
        font-size: 2.5rem;
        color: var(--nde-primary);
        margin-bottom: 20px;
    }

    .btn-donation-large {
        display: inline-block;
        margin-top: 30px;
        background: var(--nde-primary);
        color: white;
        padding: 20px 50px;
        text-decoration: none;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 2px;
        border-radius: 4px;
        transition: 0.3s;
    }

    .btn-donation-large:hover {
        background: var(--nde-accent);
        transform: translateY(-3px);
    }
/* =============================================================================
   6. PAGE PROJETS & CATEGORIES
============================================================================= */
.projects-header { padding: 80px 0; background: var(--base); text-align: center; }
.projects-header h1 { font-size: 3.5rem; color: var(--primary); margin-bottom: 20px; font-weight: 900; }
.projects-header p { font-size: 1.2rem; max-width: 700px; margin: 0 auto 40px; color: #666; line-height: 1.7; }

.filter-bar { display: flex; justify-content: center; gap: 15px; margin-top: 40px; flex-wrap: wrap; }
.filter-btn { padding: 10px 25px; border-radius: 30px; border: 2px solid var(--primary); background: transparent; color: var(--primary); font-weight: 700; cursor: pointer; transition: 0.3s; text-transform: uppercase; font-size: 0.8rem; text-decoration: none; display: inline-block; }
.filter-btn.active, .filter-btn:hover { background: var(--primary); color: var(--white); }

.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; margin: 80px 0; }
.projects-grid.is-single { display: flex; justify-content: center; }
.projects-grid.is-single .project-card { width: 50%; min-width: 350px; flex: 0 0 50%; }

.project-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-soft); transition: 0.3s; display: flex; flex-direction: column; }
.project-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(27, 77, 62, 0.15); }
.project-img { width: 100%; height: 240px; background-size: cover; background-position: center; position: relative; }

.category-tag { position: absolute; top: 20px; left: 20px; background: var(--secondary); color: var(--white); padding: 5px 15px; border-radius: 4px; font-size: 0.75rem; font-weight: 900; text-transform: uppercase; }
.status-tag { position: absolute; bottom: 20px; right: 20px; background: rgba(255, 255, 255, 0.95); color: var(--primary); padding: 4px 12px; border-radius: 20px; font-size: 0.7rem; font-weight: 700; }

.project-info { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }
.project-info h3 { font-size: 1.6rem; color: var(--primary); margin-bottom: 15px; font-weight: 900; }
.project-info p { color: #666; margin-bottom: 25px; font-size: 0.95rem; line-height: 1.6; flex-grow: 1; }
.project-link { margin-top: auto; color: var(--accent); text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; transition: 0.3s; font-size: 0.9rem; }
.project-link:hover { gap: 12px; }

.category-section-title { margin: 90px 0 45px; padding-left: 25px; border-left: 6px solid #e67e22; position: relative; }
.category-section-title h2 { color: #e67e22; font-family: var(--font-heading); font-size: 2.5rem; font-weight: 900; text-transform: uppercase; margin: 0; letter-spacing: -1px; line-height: 1; }
.category-section-title p { margin-top: 12px; color: #555; font-size: 1.1rem; max-width: 800px; line-height: 1.6; font-style: italic; }
.category-section-title:hover { border-left-color: var(--primary); transition: border-color 0.4s ease; }

.featured-project { background: var(--primary); color: var(--white); padding: 100px 0; margin: 80px 0 0 0; }
.featured-flex { display: flex; align-items: center; gap: 60px; }
.featured-content { flex: 1; }
.featured-label { color: var(--secondary); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; display: block; margin-bottom: 15px; }
.featured-content h2 { font-size: 3rem; color: var(--primary); margin-bottom: 25px; font-weight: 900; }
.featured-content p { font-size: 1.15rem; margin-bottom: 20px; opacity: 0.9; line-height: 1.7; }
.featured-image { flex: 1; position: relative; }
.featured-image img { width: 100%; border-radius: 12px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); display: block; }

/* =============================================================================
   7. TEMPLATE "ASSOCIATION"
============================================================================= */

/* --- VERSION 1 (Prefixe: asso-) --- */
.asso-custom-page { font-family: 'Lato', sans-serif; color: #2d2d2d; line-height: 1.6; }
.asso-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.asso-hero h1, .asso-timeline-title, .asso-pres-header h2, .asso-team-title h2 { font-family: 'Playfair Display', serif; }
.asso-hero { padding: 80px 0; background: linear-gradient(135deg, var(--asso-white) 60%, var(--asso-bg-sable) 40%); }
.asso-hero-split { display: flex; align-items: center; gap: 50px; }
.asso-hero-left { flex: 1; }
.asso-hero-right { flex: 1; }
.asso-hero h1 { font-size: 3rem; color: var(--asso-primary); margin-bottom: 20px; }
.asso-hero-img { width: 100%; border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; object-fit: cover; }
.asso-btn { display: inline-block; padding: 14px 30px; border-radius: 50px; text-decoration: none; font-weight: bold; }
.asso-btn-primary { background: var(--asso-secondary); color: white; }
.asso-impact { background: var(--asso-bg-sable); padding: 50px 0; }
.asso-impact-grid { display: flex; justify-content: space-around; text-align: center; }
.asso-impact-val { font-size: 3.5rem; color: var(--asso-primary); font-weight: bold; }
.asso-president { padding: 80px 0; overflow: hidden; }
.asso-pres-vignette-wrapper { float: left; margin-right: 30px; text-align: center; }
.asso-pres-vignette { width: 140px; height: 140px; border-radius: 50%; border: 4px solid var(--asso-secondary); object-fit: cover; }
.asso-lettrine { float: left; font-size: 4rem; color: var(--asso-secondary); line-height: 0.8; padding-right: 10px; font-family: serif; }
.asso-signature { font-family: 'Dancing Script', cursive; font-size: 2rem; color: var(--asso-primary); text-align: right; margin-top: 20px; }
.asso-team { padding: 80px 0; background-color: var(--asso-bg-sable); }
.asso-team-title { text-align: center; margin-bottom: 50px; }
.asso-team-title p { color: var(--asso-accent); font-weight: bold; text-transform: uppercase; letter-spacing: 1.5px; }
.asso-team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 25px; margin-bottom: 40px; }
.asso-team-card { background: var(--asso-white); padding: 25px; border-radius: 20px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.03); transition: transform 0.3s; }
.asso-team-card:hover { transform: translateY(-10px); }
.asso-member-img { width: 110px; height: 110px; border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%; border: 3px solid var(--asso-secondary); margin-bottom: 15px; object-fit: cover; }
.asso-member-role { color: var(--asso-accent); font-weight: bold; font-size: 0.85rem; display: block; margin-bottom: 10px; }
.asso-member-bio { font-size: 0.9rem; color: #666; }
.asso-other-members { border-top: 2px dashed var(--asso-secondary); padding-top: 30px; text-align: center; }
.asso-members-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }
.asso-member-tag { background: rgba(38, 70, 83, 0.05); padding: 6px 18px; border-radius: 30px; font-size: 0.85rem; color: var(--asso-primary); }
.asso-timeline-section { padding: 80px 0; background: #fff; position: relative; overflow: hidden; }
.asso-timeline-title { text-align: center; margin-bottom: 50px; font-size: 2.5rem; color: var(--asso-primary); }
.asso-timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 20px 0; }
.asso-timeline::after { content: ''; position: absolute; width: 2px; background: var(--asso-secondary); top: 0; bottom: 0; left: 50%; margin-left: -1px; }
.asso-timeline-item { position: relative; width: 100%; margin-bottom: 40px; min-height: 100px; clear: both; }
.asso-timeline-dot { position: absolute; width: 16px; height: 16px; background: var(--asso-accent); border-radius: 50%; left: 50%; top: 20px; margin-left: -8px; z-index: 2; }
.asso-timeline-content { position: relative; width: 44%; padding: 20px; background: var(--asso-bg-sable); border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.asso-timeline-content.left { float: left; text-align: right; }
.asso-timeline-content.right { float: right; text-align: left; }
.asso-date { display: block; font-weight: bold; color: var(--asso-accent); margin-bottom: 5px; }
.asso-partners { padding: 60px 0; text-align: center; border-top: 1px solid #eee; }
.asso-partners h2 { font-size: 0.9rem; letter-spacing: 3px; color: #999; margin-bottom: 40px; }
.asso-partner-grid { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 30px; }
.asso-partner-logo { max-width: 120px; filter: grayscale(100%); opacity: 0.5; transition: 0.3s; }
.asso-partner-logo:hover { filter: grayscale(0); opacity: 1; transform: scale(1.1); }
.asso-cta { background: var(--asso-primary); color: white; padding: 60px 0; text-align: center; }
.asso-btn-cta { background: white; color: var(--asso-primary); margin-top: 20px; }

/* --- VERSION 2 (Prefixe: ass-) --- */
.ass-main h1, .ass-main h2, .ass-main h3 { font-family: 'Playfair Display', serif; }
.ass-hero { padding: 100px 0; display: flex; align-items: center; min-height: 80vh; background: linear-gradient(135deg, var(--ass-white) 60%, var(--ass-bg-sable) 40%); }
.ass-hero-split { display: flex; align-items: center; gap: 50px; }
.ass-hero-left { flex: 1; }
.ass-hero-right { flex: 1; position: relative; }
.ass-hero h1 { font-size: 3.5rem; color: var(--ass-primary); margin-bottom: 20px; line-height: 1.1; }
.ass-hero p { font-size: 1.2rem; margin-bottom: 30px; color: #555; }
.ass-btn { display: inline-block; padding: 15px 35px; border-radius: 50px; text-decoration: none; font-weight: bold; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.ass-btn-primary { background: var(--ass-secondary); color: var(--ass-white); }
.ass-btn-primary:hover { transform: scale(1.05); box-shadow: 0 10px 20px rgba(244, 162, 97, 0.3); }
.ass-hero-img-wrapper { position: relative; z-index: 1; }
.ass-hero-img { width: 100%; border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; background: #ddd; aspect-ratio: 1/1; object-fit: cover; }
.ass-hero-shape { position: absolute; top: -20px; right: -20px; width: 100%; height: 100%; background: var(--ass-secondary); z-index: -1; border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; opacity: 0.2; }

.ass-impact { background: var(--ass-bg-sable); padding: 60px 0; border-top: 1px solid #eee; }
.ass-impact-grid { display: flex; justify-content: space-around; text-align: center; }
.ass-impact-item h2 { font-size: 4rem; color: var(--ass-primary); margin-bottom: 5px; }
.ass-impact-item p { text-transform: uppercase; letter-spacing: 2px; font-weight: bold; color: var(--ass-accent); }

.ass-president { padding: 100px 0; }
.ass-pres-container { max-width: 900px; margin: 0 auto; position: relative; }
.ass-pres-header { margin-bottom: 40px; border-bottom: 2px solid var(--ass-bg-sable); padding-bottom: 20px; }
.ass-pres-header h2 { font-size: 2.5rem; color: var(--ass-primary); }
.ass-pres-content { position: relative; }
.ass-pres-vignette-wrapper { float: left; margin: 0 30px 20px 0; text-align: center; }
.ass-pres-vignette { width: 150px; height: 150px; border-radius: 50%; border: 4px solid var(--ass-secondary); object-fit: cover; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.ass-pres-vignette-name { display: block; margin-top: 10px; font-weight: bold; color: var(--ass-primary); font-size: 0.9rem; }
.ass-lettrine { float: left; font-family: 'Playfair Display', serif; font-size: 5rem; line-height: 0.8; padding-right: 12px; color: var(--ass-secondary); }
.ass-pres-text p { font-size: 1.15rem; line-height: 1.8; margin-bottom: 20px; text-align: justify; }
.ass-signature-block { margin-top: 40px; display: flex; justify-content: flex-end; align-items: center; gap: 20px; clear: both; }
.ass-signature { font-family: 'Dancing Script', cursive; font-size: 2.5rem; color: var(--ass-primary); transform: rotate(-3deg); }

.ass-team { padding: 100px 0; background-color: var(--ass-bg-sable); }
.ass-team-title { text-align: center; margin-bottom: 60px; }
.ass-team-title h2 { font-size: 2.5rem; color: var(--ass-primary); margin-bottom: 10px; }
.ass-team-title p { color: var(--ass-accent); font-weight: bold; text-transform: uppercase; letter-spacing: 1.5px; }
.ass-team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-bottom: 50px; }
.ass-team-card { background: var(--ass-white); padding: 30px; border-radius: 20px; text-align: center; transition: transform 0.3s ease; box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
.ass-team-card:hover { transform: translateY(-10px); }
.ass-member-img { width: 120px; height: 120px; border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%; background: #eee; margin: 0 auto 20px; object-fit: cover; border: 3px solid var(--ass-secondary); }
.ass-team-card h3 { color: var(--ass-primary); font-size: 1.4rem; margin-bottom: 5px; }
.ass-member-role { color: var(--ass-accent); font-weight: bold; font-size: 0.9rem; margin-bottom: 15px; display: block; }
.ass-member-bio { font-size: 0.95rem; color: #666; }
.ass-other-members { border-top: 2px dashed var(--ass-secondary); padding-top: 40px; text-align: center; }
.ass-other-members h4 { font-size: 1.2rem; margin-bottom: 20px; color: var(--ass-primary); }
.ass-members-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; font-weight: 400; }
.ass-member-tag { background: rgba(38, 70, 83, 0.05); padding: 8px 20px; border-radius: 30px; font-size: 0.9rem; color: var(--ass-primary); }

.ass-timeline-section { padding: 100px 0; background: #fff; }
.ass-timeline-title { text-align: center; margin-bottom: 60px; color: var(--ass-primary); font-size: 2.5rem; }
.ass-timeline { position: relative; max-width: 1000px; margin: 0 auto; overflow: hidden; }
.ass-timeline::before { content: ''; position: absolute; left: 50%; width: 2px; height: 100%; background: repeating-linear-gradient( to bottom, var(--ass-secondary), var(--ass-secondary) 10px, transparent 10px, transparent 20px ); transform: translateX(-50%); }
.ass-timeline::after { content: ''; display: table; clear: both; }
.ass-timeline-card { width: 45%; padding: 30px; background: #fff; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); margin-bottom: 40px; position: relative; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.ass-timeline-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.ass-timeline-card.ass-left { float: left; clear: both; margin-right: auto; }
.ass-timeline-card.ass-right { float: right; clear: both; margin-left: auto; }
.ass-timeline-card h3 { color: var(--ass-secondary); margin-bottom: 10px; }
.ass-date-label { font-weight: bold; color: var(--ass-primary); font-size: 1.2rem; }

.ass-partners { padding: 80px 0; border-top: 1px solid #eee; text-align: center; }
.ass-partners h2 { margin-bottom: 50px; color: #999; text-transform: uppercase; font-size: 1rem; letter-spacing: 3px; font-family: 'Lato', sans-serif; }
.ass-partner-grid { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 40px; }
.ass-partner-logo { max-width: 150px; filter: grayscale(100%); opacity: 0.5; transition: 0.3s; }
.ass-partner-logo:hover { filter: grayscale(0); opacity: 1; transform: scale(1.1); }
.ass-cta { background: linear-gradient(135deg, var(--ass-primary), var(--ass-secondary)); padding: 80px 0; text-align: center; color: var(--ass-white); }
.ass-cta h2 { font-size: 3rem; margin-bottom: 20px; }
.ass-btn-cta { background: var(--ass-white); color: var(--ass-primary); font-size: 1.2rem; margin-top: 20px; }

/* =============================================================================
   8. AUTRES TEMPLATES (MEDIATHEQUE, STATUTS, LEGAL)
============================================================================= */
.media-header { padding: 80px 0; background: var(--media-bg-sable); text-align: center; }
.media-header h1 { font-family: 'Playfair Display', serif; font-size: 3.5rem; color: var(--media-primary); margin-bottom: 20px; }
.media-header p { font-size: 1.2rem; max-width: 700px; margin: 0 auto 40px; color: #666; }
.media-main { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.media-section-title { margin: 60px 0 40px; display: flex; align-items: center; gap: 20px; }
.media-section-title h2 { font-family: 'Playfair Display', serif; color: var(--media-primary); font-size: 2.2rem; white-space: nowrap; }
.media-line { height: 2px; background: var(--media-secondary); flex-grow: 1; }
.media-video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; margin-bottom: 60px; }
.media-video-card { background: var(--media-white); border-radius: 8px; overflow: hidden; box-shadow: var(--media-shadow); transition: transform 0.3s ease; }
.media-video-card:hover { transform: translateY(-5px); }
.media-video-thumbnail { width: 100%; height: 200px; background-color: #000; display: flex; align-items: center; justify-content: center; position: relative; cursor: pointer; background-size: cover; background-position: center; }
.media-play-btn { width: 60px; height: 60px; background: rgba(231, 111, 81, 0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.5rem; transition: 0.3s; }
.media-video-card:hover .media-play-btn { transform: scale(1.1); background: var(--media-accent); }
.media-video-info { padding: 20px; }
.media-video-info h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--media-primary); margin-bottom: 10px; }
.media-video-date { font-size: 0.8rem; color: #999; text-transform: uppercase; }
.media-press-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 60px; }
.media-press-item { display: flex; align-items: center; padding: 25px; background: var(--media-white); border-left: 5px solid var(--media-secondary); box-shadow: 0 5px 15px rgba(0,0,0,0.03); transition: 0.3s; text-decoration: none; color: inherit; }
.media-press-item:hover { transform: translateX(10px); background: var(--media-bg-sable); }
.media-press-source { font-weight: 900; color: var(--media-accent); width: 200px; font-size: 0.9rem; text-transform: uppercase; flex-shrink: 0; }
.media-press-content { flex-grow: 1; }
.media-press-content h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--media-primary); margin-bottom: 5px; }
.media-press-content p { color: #666; font-size: 0.9rem; }
.media-press-arrow { font-size: 1.5rem; color: var(--media-primary); opacity: 0.3; margin-left: 20px; }
.media-photo-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 15px; margin-bottom: 80px; }
.media-photo-item { height: 250px; background-size: cover; background-position: center; border-radius: 4px; cursor: pointer; transition: 0.3s; filter: grayscale(30%); }
.media-photo-item:hover { filter: grayscale(0%); transform: scale(1.02); box-shadow: 0 5px 20px rgba(0,0,0,0.2); }

.statuts-page { max-width: 800px; margin: 60px auto; padding: 0 20px; }
.statuts-header { text-align: center; margin-bottom: 50px; }
.statuts-header h1 { font-family: 'Playfair Display', serif; color: #264653; font-size: 2.5rem; }
.btn-download { display: inline-block; background: #e76f51; color: white !important; padding: 12px 25px; border-radius: 30px; text-decoration: none; font-weight: bold; margin-top: 20px; transition: 0.3s; }
.btn-download:hover { background: #264653; transform: translateY(-3px); }
.statut-item { background: #fdf8f1; margin-bottom: 10px; border-radius: 10px; overflow: hidden; transition: 0.3s; }
.statut-item summary { padding: 15px 20px; font-weight: bold; color: #264653; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.statut-item summary::after { content: "+"; color: #e76f51; font-size: 1.5rem; }
.statut-item[open] summary::after { content: "-"; }
.statut-content { padding: 0 20px 20px 20px; background: white; border-top: 1px solid #eee; }

.default-page-template { padding-bottom: 80px; background-color: #fff; }
.page-hero-lite { background: var(--ass-bg-sable); padding: 80px 0; margin-bottom: 60px; color: #ffffff; text-align: center; }
.page-hero-lite h1 { font-family: 'Playfair Display', serif; font-size: 3rem; margin: 0; }
.page-content-area { max-width: 900px; }
.entry-content { font-family: 'Lato', sans-serif; font-size: 1.15rem; line-height: 1.8; color: #333; }
.entry-content h2, .entry-content h3 { font-family: 'Playfair Display', serif; color: #264653; margin-top: 40px; }
.entry-content p { margin-bottom: 25px; }
.entry-content img { border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

.legal-page-layout { display: flex; gap: 40px; width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; padding: 0 60px; box-sizing: border-box; align-items: flex-start; }
.legal-sidebar { flex: 0 0 320px; margin-left: 0 !important; background: #fdf8f1; padding: 30px; border-radius: 20px; position: sticky; top: 100px; border-radius: 30px; border-left: 6px solid #f4a261; }
.sidebar-title { font-family: 'Playfair Display', serif; color: #264653; margin-bottom: 20px; font-size: 1.4rem; }
.sidebar-nav { display: flex; flex-direction: column; gap: 10px; }
.sidebar-link { text-decoration: none; color: #555; padding: 12px 15px; border-radius: 8px; transition: all 0.3s ease; font-weight: 500; }
.sidebar-link:hover, .sidebar-link.active { background: #ffffff; color: #e76f51; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.download-link { margin-top: 20px; color: #e76f51; border: 1px dashed #e76f51; }
.legal-content { flex: 1; }
.page-title { font-family: 'Playfair Display', serif; color: #264653; font-size: 2.8rem; margin-bottom: 25px; }
.intro-text { font-size: 1.15rem; line-height: 1.8; color: #444; margin-bottom: 40px; text-align: justify; }

/* =============================================================================
   9. FOOTER
============================================================================= */
.site-footer { background-color: #0F2B22; color: rgba(255, 255, 255, 0.8); padding: 80px 0 40px; font-family: 'Lato', sans-serif; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-col h4 { color: var(--secondary, #FFB300); font-family: 'Lato', serif; font-size: 1.1rem; margin-bottom: 25px; font-weight: 700; }
.footer-logo-area { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-bottom: 20px; }
.footer-logo-text { color: white; font-family: 'Lato', serif; font-weight: 700; font-size: 1.2rem; }
.footer-description { font-size: 0.9rem; line-height: 1.7; max-width: 320px; color: rgba(255, 255, 255, 0.7); }
.footer-links-list, .footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-links-list li, .footer-contact-list li { margin-bottom: 12px; font-size: 0.95rem; }
.footer-links-list a { color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: all 0.3s ease; }
.footer-links-list a:hover { color: #FFB300; padding-left: 5px; }
.footer-social-icons { display: flex; gap: 15px; }
.social-icon { width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, 0.2); display: flex; align-items: center; justify-content: center; text-decoration: none; color: white; border-radius: 50%; transition: all 0.3s ease; }
.social-icon:hover { background: #FFB300; color: #1B4D3E; border-color: #FFB300; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 30px; display: flex; justify-content: space-between; font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }
.footer-logo-symbol{ position: relative; width: 70px; height: 70px; background-image: url('/wp-content/uploads/2025/12/Logo_LEDN_new_2026_transparent.png'); background-size: contain; background-repeat: no-repeat; background-position: center; display: flex; align-items: center; justify-content: center; }

/* =============================================================================
   10. MEDIA QUERIES (RESPONSIVE GLOBAL)
============================================================================= */

@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .news-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .nav-links-list { gap: 15px; }
}

@media (max-width: 900px) {
    .legal-page-layout { flex-direction: column; }
    .legal-sidebar { flex: none; position: relative; top: 0; margin-bottom: 30px; }
    
    .asso-hero-split, .ass-hero-split { flex-direction: column; }
    .asso-hero h1, .ass-hero h1 { font-size: 2.5rem; }
    .asso-pres-vignette-wrapper, .ass-pres-vignette-wrapper { float: none; margin: 0 auto 30px; display: block; }
    .asso-timeline::before, .ass-timeline::before { left: 20px; }
    .asso-timeline-card, .ass-timeline-card { width: 90%; float: none !important; margin-left: 50px !important; }
    .asso-impact-grid, .ass-impact-grid { flex-direction: column; gap: 40px; }
    .asso-impact-item h2, .ass-impact-item h2 { font-size: 3rem; }
    .asso-cta h2, .ass-cta h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
    .logo-branding { display: none; }
    .nav-links-list { display: none; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    
    .featured-post { grid-template-columns: 1fr; }
    .page-title-section h1 { font-size: 2.5rem; }
    .news-grid { grid-template-columns: 1fr !important; }
    .featured-img-box img { height: 300px; }
    
    .hero { padding: 80px 0; min-height: 60vh; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.1rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .pres-wrap { flex-direction: column; }
    .pres-image img { box-shadow: 10px 10px 0 var(--base); }
    .stats-grid { flex-direction: column; gap: 40px; }
    .section-title h2 { font-size: 2rem; }
    
    .projects-header h1 { font-size: 2.5rem; }
    .projects-grid { grid-template-columns: 1fr; }
    .projects-grid.is-single .project-card { width: 100%; flex: 0 0 100%; }
    .featured-flex { flex-direction: column; text-align: center; }
    .featured-content h2 { font-size: 2.2rem; }
    .filter-bar { gap: 10px; }
    .filter-btn { font-size: 0.7rem; padding: 8px 18px; }
    
    .media-header h1 { font-size: 2.5rem; }
    .media-section-title h2 { font-size: 1.8rem; }
    .media-video-grid { grid-template-columns: 1fr; }
    .media-press-item { flex-direction: column; align-items: flex-start; gap: 10px; }
    .media-press-source { width: auto; }
    .media-press-arrow { margin-left: 0; align-self: flex-end; }
    .media-photo-gallery { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .media-photo-item { height: 200px; }
}

@media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
}

@media (max-width: 600px) {
    .ass-hero { padding: 60px 0; }
    .ass-hero h1 { font-size: 2rem; }
    .ass-hero p { font-size: 1rem; }
    .ass-lettrine { font-size: 3.5rem; }
    .ass-pres-text p { font-size: 1rem; }
    .ass-team-grid { grid-template-columns: 1fr; }
    
    .media-header { padding: 60px 0; }
    .media-header h1 { font-size: 2rem; }
    .media-header p { font-size: 1rem; }
    .media-section-title { margin: 40px 0 30px; }
    .media-section-title h2 { font-size: 1.5rem; }
}
/* ---Single.php ---*/
@media (max-width: 768px) {
        .story-header-background { padding: 100px 20px 140px 20px; }
        .story-featured-overlap { margin-top: -80px; }
        .content-inner { font-size: 1.1rem; }
    }

/* ... à la suite des autres règles dans (max-width: 768px) ... */
    
    /* Adaptation Bento Grid sur Mobile */
    .bento-gallery {
        grid-template-columns: repeat(2, 1fr); /* Passe à 2 colonnes */
        grid-auto-rows: 150px; /* Hauteur un peu plus petite */
    }
    .item-main {
        grid-column: span 2; /* L'image principale prend toute la largeur */
        grid-row: span 2;
    }