/* Importation de la police Montserrat et Roboto */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

/* Variables globales */
:root {
    --primary-color: #2e3191 !important; /* Changé en bleu foncé #002551 */
    --secondary-color: #00a551!important; /* Vert vif */
    --accent-color: #00a551!important; /* Vert vif */
    --background-color: #f9f9f9; /* Gris très clair */
    --text-color: #333333; /* Gris foncé */
    --text-secondary-color: #666666; /* Gris moyen */
    --white: #ffffff;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.2);

    /* Polices */
    --font-primary: 'Montserrat', sans-serif; /* Titres */
    --font-secondary: 'Roboto', sans-serif;   /* Paragraphes */
    
      /* ===================================================
       SECTION : Variables Globales - Tailles de Police
       =================================================== */

       --font-size-base: 1.1rem !important;   /* Taille par défaut pour les paragraphes */
       --font-size-small: 1.1rem !important;  /* Taille pour les petits textes */
       --font-size-large: 1.1rem !important;  /* Taille pour les sous-titres ou textes plus visibles */
       --font-size-h1: 1.5rem !important;     /* Taille pour les titres H1 */
       --font-size-h2: 1.5rem !important;     /* Taille pour les titres H2 */
       --font-size-h3: 1.5rem !important;     /* Taille pour les titres H3 */
   
    /* ===================================================
       SECTION : Variables Globales - Poids de Police
       =================================================== */

       --font-weight-light: 300 !important;    /* Poids léger - pour un style fin et épuré */
       --font-weight-regular: 400 !important;  /* Poids régulier - standard pour les paragraphes */
       --font-weight-medium: 500 !important;   /* Poids moyen - pour sous-titres ou texte mis en avant */
       --font-weight-bold: 600 !important;     /* Poids gras - pour les titres ou texte à fort impact */
   
     /* ===================================================
       SECTION : Variables Globales - Espacements
       =================================================== */

       --line-height-base: 1.3;               /* Interligne de base pour le texte */
       --spacing-section: 30px;               /* Marge ou padding entre les sections (compact) */
   
}

/* ===================================================
   SECTION : Styles globaux - Body
   Application des styles de base sur tout le site
   =================================================== */

   body {
    font-family: var(--font-secondary);         /* Police principale pour le contenu (paragraphes) */
    font-size: var(--font-size-base);           /* Taille de texte de base */
    color: var(--text-color);                   /* Couleur du texte */
    background-color: var(--background-color);  /* Couleur de fond générale */
    line-height: var(--line-height-base);       /* Hauteur de ligne (interligne) pour lisibilité */
}

/* ===================================================
   SECTION : Styles Typographiques - Titres
   =================================================== */

   h1, h2, h3 {
    font-family: var(--font-primary) !important; /* Police dédiée aux titres */
    color: var(--primary-color);                 /* Couleur principale (bleu foncé) */
    margin-bottom: 8px;                          /* Espacement sous le titre */
    line-height: 1.2;                            /* Hauteur de ligne pour éviter les titres trop espacés */
}

h1 {
    font-size: var(--font-size-h1) !important;        /* Taille H1 */
    font-weight: var(--font-weight-bold) !important;  /* Poids fort */
}

h2 {
    font-size: var(--font-size-h2) !important;        /* Taille H2 */
    font-weight: var(--font-weight-medium) !important;/* Poids moyen */
}

h3 {
    font-size: var(--font-size-h3) !important;        /* Taille H3 */
    font-weight: var(--font-weight-regular) !important;/* Poids normal */
}

/* ===================================================
   SECTION : Styles Typographiques - Paragraphes
   =================================================== */

p {
    font-size: var(--font-size-base) !important; /* Taille par défaut des paragraphes */
    line-height: var(--line-height-base);        /* Interligne pour lisibilité */
    margin-bottom: 8px;                          /* Marge inférieure entre paragraphes */
}

/* ===================================================
   SECTION : Boutons - CTA Hero
   =================================================== */

.hero .btn-cta {
    padding: 10px 20px;  /* Espacement interne du bouton */
    font-size: 0.9rem;   /* Taille de police légèrement réduite */
}

/* ===================================================
   SECTION : Section Équipe
   =================================================== */

   .team-section {
    padding: 50px 10px; /* Espacement intérieur de la section équipe */
}

.team-section h2 {
    font-size: 1.2rem; /* Taille réduite du titre de la section équipe */
}

.team-member {
    padding: 18px; /* Espacement intérieur de chaque membre */
}

/* ===================================================
   SECTION : Icônes Sociales
   =================================================== */

.social-icons a {
    font-size: 1.1rem; /* Taille d’icône sociale */
}

/* ===================================================
   SECTION : Typographie Globale (doublon à surveiller)
   =================================================== */

body {
    font-family: var(--font-secondary); /* Roboto pour les paragraphes */
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-color); /* Couleur principale du texte */
}

/* ===================================================
   SECTION : Titres Généraux
   =================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main); /* Variable : attention, vérifier cohérence avec --font-primary */
    color: var(--primary-color); /* Couleur principale */
    margin-bottom: 15px;
    line-height: 1.3;
    text-transform: none;
    letter-spacing: 0.5px;
}

h1 {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-bold);
}

h2 {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-medium);
}

h3 {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-regular);
}

/* ===================================================
   SECTION : Paragraphes
   =================================================== */

p {
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 15px;
}

/* ===================================================
   SECTION : Structure Générale
   =================================================== */

html, body {
    height: 100%;
    margin: 0;
    background-color: var(--background-color);
    line-height: 1.6;
}

.content {
    min-height: 100%;
    padding-bottom: 60px; /* Pour éviter que le contenu touche le footer */
}

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

/* ===================================================
   SECTION : Hero - Version Compacte Corrigée
   =================================================== */
.hero {
    background-color: #00a551;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 37, 81, 0.3);
    min-height: 200px;
    padding-top: 120px; /* évite que le titre soit caché par la navbar fixe */
    padding-bottom: 60px;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .hero {
        padding-top: 140px;
        padding-bottom: 40px;
    }
}

/* Texture géométrique */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, rgba(255,255,255,0.02) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.02) 25%, transparent 25%);
    background-size: 30px 30px;
    z-index: 1;
}

/* Titre principal */
.hero h1 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: white;
    position: relative;
    z-index: 2;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: white;
}

/* Paragraphe dans Hero */
.hero p {
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    opacity: 0.9;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

/* Bouton dans Hero */
.hero .btn-cta {
    margin-top: 20px;
    padding: 12px 30px;
    font-size: 1rem;
    background-color: #00a551;
    color: white;
    border: none;
    transition: all 0.2s ease;
}

.hero .btn-cta:hover {
    background-color: #008e46;
    transform: translateY(-2px);
}

/* Spécifique à la page Actualités */
.hero-actualites {
    background-color: #00a551;
    background-image: 
        linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.03) 25%, transparent 25%);
    background-size: 40px 40px;
}

.hero-actualites h1::after {
    background-color: #ffffff;
}
.hero-actualites {
    background-color: #00a551; /* une teinte différente pour distinguer de l'accueil */
    background-image: 
        linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.03) 25%, transparent 25%);
    background-size: 40px 40px;
}

.hero-actualites h1::after {
    background-color: #ffffff; /* ligne blanche pour contraste */
}

/* =======================
   Couleurs personnalisées
   ======================= */

/* Fond clair utilisé pour les sections */
.bg-custom-light {
    background-color: var(--background-color);
}

/* Couleur de texte principale (bleu foncé) */
.text-primary-custom {
    color: var(--primary-color);
}

/* Couleur de texte standard (gris foncé) */
.text-dark-custom {
    color: var(--text-color);
}

/* =======================
   Couleurs personnalisées
   ======================= */

/* Fond clair utilisé pour les sections */
.bg-custom-light {
    background-color: var(--background-color);
}

/* Couleur de texte principale (bleu foncé) */
.text-primary-custom {
    color: var(--primary-color);
}

/* Couleur de texte standard (gris foncé) */
.text-dark-custom {
    color: var(--text-color);
}


/* =======================
   Style des cartes
   ======================= */

   .card-custom {
    background-color: var(--white);
    border: none;
    border-radius: var(--border-radius-lg); /* Utilisation d'une variable pour la cohérence */
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-duration) var(--transition-timing);
    height: 100%; /* Pour uniformiser la hauteur des cartes */
    display: flex;
    flex-direction: column;
}

/* Effet de survol amélioré */
.card-custom:hover {
    transform: translateY(var(--space-xxs));
    box-shadow: var(--shadow-md);
}

/* Conteneur d'image de carte */
.card-img-container {
    aspect-ratio: 16/9; /* Ratio d'image cohérent */
    overflow: hidden;
}

/* ==========================
   Style des images
   ========================== */
.object-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-duration) var(--transition-timing);
}

.card-custom:hover .object-cover {
    transform: scale(1.03); /* Légère animation au survol */
}

/* ===============================
   Contenu des cartes
   =============================== */
.card-body-custom {
    padding: var(--space-md);
    flex-grow: 1; /* Pour que le contenu prenne l'espace disponible */
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: var(--font-size-large);
    font-weight: var(--font-weight-semibold);
    color: var(--primary);
    margin-bottom: var(--space-xs);
    line-height: var(--line-height-tight);
}

.card-text {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: var(--line-height-base);
    margin-bottom: var(--space-sm);
    flex-grow: 1; /* Pousse le bouton vers le bas */
}

/* Bouton dans la carte */
.card-btn {
    align-self: flex-start; /* Alignement cohérent */
    margin-top: auto; /* Pousse le bouton vers le bas */
}

/* ===============================
   Variantes de cartes
   =============================== */
/* Carte avec bordure */
.card-bordered {
    border: 1px solid var(--border-color);
    box-shadow: none;
}

/* Carte avec en-tête coloré */
.card-header-primary {
    background-color: var(--primary);
    color: white;
    padding: var(--space-sm) var(--space-md);
}

/* Carte horizontale */
.card-horizontal {
    flex-direction: row;
}

.card-horizontal .card-img-container {
    width: 40%;
    aspect-ratio: unset;
}
/* Section contenant tous les objectifs spécifiques */
.objectifs-section {
    background-color: var(--background-color); /* Couleur d'arrière-plan définie par une variable CSS */
  }
  
  /* Titre principal de la section "Objectifs spécifiques" */
  .titre-section {
    font-family: var(--font-primary);           /* Police principale utilisée dans le site */
    font-weight: var(--font-weight-bold);       /* Poids de police (gras) */
    color: var(--primary-color);                /* Couleur principale du thème */
    font-size: var(--font-size-h2);             /* Taille de police pour les titres h2 */
    margin-bottom: 1rem;                        /* Espace en dessous du titre */
  }
  
  /* Texte d'introduction sous le titre principal */
  .texte-intro {
    font-family: var(--font-secondary);         /* Deuxième police utilisée (souvent plus légère) */
    color: var(--text-secondary-color);         /* Couleur de texte secondaire */
    font-size: var(--font-size-large);          /* Taille de police plus grande que la normale */
    max-width: 700px;                           /* Largeur maximale pour limiter la longueur de la ligne */
    margin: 0 auto;                             /* Centrage horizontal du texte */
  }
  
  /* Carte contenant un objectif spécifique */
  .card-objectif {
    background-color: var(--white);             /* Fond blanc pour les cartes */
    box-shadow: 0 2px 10px var(--shadow-light); /* Ombre légère pour effet de relief */
    border: none;                               /* Pas de bordure autour de la carte */
    transition: all 0.3s ease;                  /* Transition douce pour les effets (hover par exemple) */
    height: 100%;                               /* Hauteur de la carte pour occuper toute la colonne */
  }
  
  /* Effet au survol de la carte (hover) */
  .card-objectif:hover {
    transform: translateY(-5px);                /* Légère élévation de la carte */
    box-shadow: 0 1rem 3rem var(--shadow-dark) !important; /* Ombre plus prononcée au survol */
  }
  
  /* Cercle contenant l'icône au-dessus de chaque carte */
  .icon-rounded {
    display: inline-flex;                       /* Boîte flexible en ligne */
    width: 56px;                                /* Largeur du cercle */
    height: 56px;                               /* Hauteur du cercle */
    border-radius: 50%;                         /* Forme complètement arrondie (cercle) */
    align-items: center;                        /* Alignement vertical de l’icône au centre */
    justify-content: center;                    /* Alignement horizontal de l’icône au centre */
    margin-bottom: 1rem;                        /* Espace sous l'icône */
  }
  
  /* Couleurs de fond pastel pour chaque icône (en fonction du thème de l’objectif) */
  .bg-light-primary { background-color: rgba(46, 49, 145, 0.1); }  /* Bleu pâle */
  .bg-light-success { background-color: rgba(0, 165, 81, 0.1); }   /* Vert pâle */
  .bg-light-warning { background-color: rgba(255, 193, 7, 0.1); }  /* Jaune pâle */
  .bg-light-info    { background-color: rgba(13, 202, 240, 0.1); } /* Bleu clair pâle */
  .bg-light-danger  { background-color: rgba(220, 53, 69, 0.1); }  /* Rouge pâle */
  
  /* Titre de chaque carte d’objectif */
  .titre-carte {
    font-family: var(--font-primary);           /* Police principale */
    font-weight: var(--font-weight-medium);     /* Poids de police moyen */
    color: var(--primary-color);                /* Couleur principale du site */
    margin-bottom: 1rem;                        /* Espace en dessous du titre */
  }
  
  /* Paragraphe de description dans chaque carte */
  .texte-carte {
    font-family: var(--font-secondary);         /* Police secondaire pour plus de lisibilité */
    color: var(--text-secondary-color);         /* Couleur de texte secondaire (gris foncé ou bleu clair) */
    font-size: var(--font-size-base);           /* Taille de police de base du site */
  }
  
/* =======================
   Style des titres de cartes cibles
   ======================= */
   .card-target-title {
    font-size: 1.25rem;       /* 20px */
    line-height: 1.3;
    color: var(--primary);    /* Utilise votre couleur primaire */
    margin-bottom: 0.75rem;   /* 12px */
    
    /* Responsive */
    @media (min-width: 768px) {
      font-size: 1.375rem;    /* 22px */
    }
    
    @media (min-width: 992px) {
      font-size: 1.5rem;      /* 24px */
    }
  }
  
  
  /* =======================
     Style des descriptions
     ======================= */
  .card-target-description {
    font-size: 1rem;          /* 16px */
    line-height: 1.6;
    color: var(--dark-800);   /* Gris foncé */
    margin-bottom: 1rem;      /* 16px */
    
    /* Responsive */
    @media (min-width: 768px) {
      font-size: 1.0625rem;   /* 17px */
    }
  }
  
  /* =======================
     Style des listes
     ======================= */
  .card-target-list {
    font-size: 0.9375rem;     /* 15px */
    line-height: 1.5;
    
    li {
      position: relative;
      padding-left: 1.5rem;
      margin-bottom: 0.5rem;
      
      &::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0.5em;
        width: 0.5rem;
        height: 0.5rem;
        background-color: var(--primary);
        border-radius: 50%;
      }
    }
    
    /* Responsive */
    @media (min-width: 768px) {
      font-size: 1rem;        /* 16px */
    }
  }
/* ===================================================
   SECTION : Animations
   =================================================== */

@keyframes fadeInScale {
    from { 
        opacity: 0;
        transform: scale(0.99);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}
/* ============================================
   SECTION : Vision & Mission (about section)
   ============================================ */

#about {
    background-color: var(--background-color); /* Fond doux */
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Titre principal centré de la section */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
}

/* Applique le style de carte personnalisée */
#about .card-custom {
    background-color: var(--white);
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow-light);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    animation: fadeInScale 0.6s ease-in-out;
}

/* Effet hover de la carte */
#about .card-custom:hover {
    transform: translateY(-5px);
}

/* Image dans la carte avec couverture complète */
#about .card-custom img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    max-height: 300px;
}

/* Zone de texte */
#about .card-custom .p-4 {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--white);
}

/* Titre de la carte (Mission/Vision) */
#about .card-title {
    font-size: var(--font-size-h3);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Texte descriptif */
#about .card-text {
    font-size: var(--font-size-base);
    color: var(--text-secondary-color);
    line-height: 1.6;
}

/* Responsive : colonne verticale en mobile */
@media (max-width: 767px) {
    #about .card-custom {
        flex-direction: column;
    }

    #about .card-custom img {
        max-height: 250px;
    }
}

/* Animation d’entrée douce */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.99);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===================================================
   SECTION : Responsive - Version Mobile
   =================================================== */


/* ===============================
   RESPONSIVE DESIGN - MEDIA QUERIES
   =============================== */

/* Mobiles très petits (≤ 480px) */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .container, .hero, .section {
        padding: 20px 10px;
    }

    nav .menu {
        flex-direction: column;
        gap: 10px;
    }

    .card, .feature-box {
        flex-direction: column;
    }

    footer {
        font-size: 0.9rem;
    }
}

/* Mobiles et petites tablettes (≤ 768px) */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .hero {
        padding-top: 180px;
        padding-bottom: 80px;
        text-align: center;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .section {
        padding: 40px 20px;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .card {
        width: 100%;
        margin-bottom: 20px;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }
}

/* Tablettes (768px à 991px) */
@media (min-width: 769px) and (max-width: 991px) {
    body {
        font-size: 16px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section {
        padding: 60px 30px;
    }

    .card, .feature-box {
        flex: 1 1 45%;
    }
}

/* Écrans moyens (992px à 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    body {
        font-size: 17px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section {
        padding: 80px 40px;
    }

    .card, .feature-box {
        flex: 1 1 30%;
    }
}

/* Écrans larges (≥ 1200px) */
@media (min-width: 1200px) {
    body {
        font-size: 18px;
    }

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

    .section {
        padding: 100px 60px;
    }

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


/* ===================================================
   SECTION : Barre d'information en haut (Top Bar)
   =================================================== */

   .top-bar {
    background-color: var(--primary-color) !important; /* Couleur principale */
    color: var(--white); /* Texte en blanc */
    padding: 10px 0; /* Espacement vertical */
    font-size: 1.5rem; /* Taille du texte */
}

/* ===================================================
   SECTION : NAVBAR FIXE (Navigation principale)
   =================================================== */

.navbar {
    background-color: var(--primary-color) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Ombre douce */
    padding: 5px 10px;
    position: fixed; /* Fixée en haut de la page */
    top: 0;
    width: 100%;
    z-index: 1030; /* Au-dessus des autres éléments */
    transition: all 0.3s ease-in-out; /* Animation douce lors du scroll */
}

/* Logo dans la navbar */
.navbar .navbar-brand img {
    height: 80px;
    margin-right: 10px;
}

/* ===================================================
   SECTION : Liens de navigation
   =================================================== */

.navbar .navbar-nav .nav-link {
    color: var(--white);
    font-size: 1.1rem;
    margin: 0 15px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease-in-out;
}

/* Effet de survol (hover) sur lien */
.navbar .navbar-nav .nav-link:hover {
    color: var(--accent-color); /* Accent color au survol */
}

/* Animation soulignement au survol */
.navbar .navbar-nav .nav-link::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    position: absolute;
    left: 50%;
    bottom: -5px;
    transition: width 0.3s ease, left 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* ===================================================
   SECTION : Dropdown Menu (sous-menus déroulants)
   =================================================== */

.navbar .dropdown-menu {
    background-color: #343a40; /* Fond foncé */
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(13, 2, 44, 0.2); /* Ombre */
    padding: 10px 0;
}

.navbar .dropdown-item {
    color: #ffffff;
    padding: 10px 20px;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar .dropdown-item:hover {
    background-color: #00a551;
    color: #ffffff;
    border-radius: 5px;
}
/* Responsive : plus d'espace en haut sur mobile/tablette */
@media (max-width: 768px) {
    body {
        padding-top: 120px;
    }
}

/* ===================================================
   SECTION : Notre Équipe
   =================================================== */

   .team-section {
    padding: 80px 0;
    background-color: var(--background-color);
    background: linear-gradient(135deg, var(--background-color), var(--white)); /* Dégradé subtil */
    border-radius: 15px;
    padding: 80px 20px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15); /* Ombre douce */
}

/* Titre principal de la section */
.team-section h2 {
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 30px;
    animation: fadeIn 2s ease-in-out;
}

/* ===================================================
   SECTION : Cartes Membres de l'équipe
   =================================================== */

.team-member {
    background-color: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
    text-align: center;
    margin: 20px;
}

/* Animation au survol */
.team-member:hover {
    transform: translateY(-10px) scale(1.05) rotate(1deg); /* Effet de levée dynamique */
    box-shadow: 0 12px 30px var(--shadow-dark);
}

/* Icônes sociales sous chaque membre */
.social-icons a {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin: 0 12px;
    transition: color 0.3s ease-in-out;
}

.social-icons a:hover {
    color: var(--primary-color);
}

/* ===================================================
   SECTION : Carrousel (diaporama d’images)
   =================================================== */
   .carousel-container {
    position: relative;
    max-width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 8px;
}

/* Conteneur des images */
.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    transform: scale(1);
}

/* Image active (affichée) */
.carousel-image.active {
    opacity: 1;
    transform: scale(1.05); /* Léger zoom au changement */
}

.carousel-description {
    position: absolute;
    bottom: -50px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 12px 20px;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0;
    transition: all 1s ease-in-out;
  }
  
  .carousel-image.active .carousel-description {
    bottom: 15px;
    opacity: 1;
  }
  
/* Active l’animation du texte */
.carousel-image.active .carousel-description {
    opacity: 1;
    transform: translateY(0);
}

/* Flèches navigation */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    border: none;
    font-size: 2rem;
    padding: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 2;
    border-radius: 50%;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.prev { left: 15px; }
.next { right: 15px; }

/* Indicateurs (points de navigation) */
.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.carousel-indicators span {
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-indicators span.active {
    background-color: #ffcc00; /* Couleur principale */
}

/* Animation fluide pour le changement d'image */
@keyframes fadeInZoom {
    from {
        opacity: 0;
        transform: scale(1);
    }
    to {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Appliquer l'animation aux images actives */
.carousel-image.active {
    animation: fadeInZoom 1s ease-in-out;
}


/* ===================================================
   SECTION : Image d’introduction animée
   =================================================== */

.intro-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    transition: transform 0.4s ease-in-out;
}

.intro-image:hover {
    transform: scale(1.1);
}
/* ===================================================
   SECTION : Cartes (utilisées ailleurs : valeurs, services, etc.)
   =================================================== */

/* Style général de la carte */
.card {
    border: none;                          /* Suppression de la bordure */
    border-radius: 10px;                   /* Coins arrondis pour un design doux */
    overflow: hidden;                      /* Évite les débordements d’images ou contenu */
    transition: transform 0.3s ease, 
                box-shadow 0.3s ease;      /* Animation douce pour l’ombre et le déplacement */
}

/* Effet au survol : élévation + ombre */
.card:hover {
    transform: translateY(-5px);           /* Légère élévation */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Ombre plus prononcée */
}

/* Contenu de la carte */
.card-body {
    padding: 20px;                         /* Espace intérieur confortable */
    background-color: var(--white);       /* Fond blanc pour contraste */
}

/* Icône dans une carte */
.card-body i {
    color: var(--primary-color);          /* Icône dans la couleur principale du site */
    margin-bottom: 15px;                  /* Espace sous l’icône */
}

/* Titre de la carte */
.card-title {
    font-size: 1.3rem;                     /* Taille du titre */
    font-weight: 600;                      /* Gras moyen pour lisibilité */
    color: var(--primary-color);          /* Couleur cohérente avec le branding */
    margin-bottom: 10px;                  /* Espace entre le titre et le texte */
}

/* Texte dans la carte */
.card-text {
    font-size: 1rem;                       /* Taille standard */
    color: var(--text-secondary-color);   /* Gris moyen pour le corps du texte */
    line-height: 1.6;                      /* Hauteur de ligne pour confort visuel */
}



/* ========================
   Boutons stylisés (.btn)
   ======================== */

.btn {
    display: inline-block;                /* Permet le placement inline avec possibilité de padding */
    padding: 10px 20px;                   /* Rendu bien équilibré en hauteur/largeur */
    font-size: 1rem;                      /* Taille du texte du bouton */
    font-weight: 600;                     /* Texte semi-gras */
    color: var(--white);                  /* Texte blanc */
    background: #008e46 !important;       /* Vert personnalisé (cohérent avec ton thème) */
    border: none;                         /* Pas de bordure */
    border-radius: 8px;                   /* Coins arrondis */
    cursor: pointer;                      /* Curseur en main */
    transition: transform 0.3s ease, 
                box-shadow 0.3s ease;     /* Animation douce */
    box-shadow: 0 4px 10px var(--shadow-light); /* Ombre discrète */
}

/* Survol du bouton */
.btn:hover {
    transform: scale(1.05);               /* Légère mise en avant */
    box-shadow: 0 8px 20px var(--shadow-dark); /* Ombre plus marquée */
}

/* Clic sur le bouton */
.btn:active {
    transform: translateY(4px);           /* Effet de pression */
    box-shadow: none;                     /* Supprime l’ombre pendant le clic */
}

/* ========================
   Sections générales
   ======================== */
.section {
    padding: 60px 20px; /* Grand espacement intérieur autour du contenu */
    background-color: var(--white); /* Fond blanc via une variable CSS */
    border-radius: 12px; /* Coins arrondis pour adoucir les blocs */
    box-shadow: 0 8px 20px var(--shadow-light); /* Ombre douce pour créer de la profondeur */
    margin-bottom: 40px; /* Espacement entre les sections */
}


/* ========================
   Titres de section
   ======================== */
.section-title {
    font-size: 2.5rem; /* Très grande taille de police pour les titres */
    text-align: center; /* Centrage horizontal du texte */
    margin-bottom: 30px; /* Espace entre le titre et le contenu qui suit */
    color: var(--primary-color); /* Couleur principale du site (souvent verte ou bleue) */
    text-transform: uppercase; /* Met le titre en majuscules */
    letter-spacing: 1.5px; /* Espace entre les lettres pour une meilleure lisibilité */
}


/* ========================
   Conteneur central (.container)
   ======================== */
.container {
    max-width: 1200px; /* Largeur maximale du contenu, pour éviter qu’il soit trop étiré sur grands écrans */
    margin: 0 auto; /* Centrage horizontal automatique */
    padding: 20px; /* Espacement intérieur */
}

/* =============================
   Section Nos Valeurs (#valeurs)
   ============================= */
   #valeurs {
    background-color: #f9f9f9; /* Fond gris très clair pour contraster avec le reste */
    padding: 60px 20px; /* Espacement interne confortable */
    border-radius: 10px; /* Coins arrondis */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Ombre douce */
}

/* Titre personnalisé pour la section */
.custom-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color); /* Couleur définie globalement */
    text-transform: uppercase;
    letter-spacing: 1px; /* Espacement entre les lettres */
}


/* =============================
   Titres personnalisés
   ============================= */
h2.text-primary, .text-title {
    color: var(--accent-color); /* Accent visuel sur les titres */
    font-weight: bold;
    font-size: 2.5rem;
}

.text-card-title {
    color: var(--primary-color); /* Pour les titres dans les cartes */
    font-weight: bold;
}

.card-title.text-success {
    color: var(--primary-color); /* Uniformisation de couleur pour "success" */
}

.card-text.text-muted {
    color: var(--text-color); /* Texte secondaire ou description */
}


/* =============================
   Liens personnalisés
   ============================= */
a {
    color: var(--link-color);
    text-decoration: none;
    font-weight: var(--font-weight-regular);
    transition: color 0.3s ease; /* Transition douce au survol */
}

a:hover {
    color: var(--link-hover-color);
    text-decoration: underline; /* Surlignage au survol */
}


/* =============================
   Animations personnalisées
   ============================= */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out; /* Utilise l'animation "fadeIn" */
}


/* =============================
   Mise en page globale
   ============================= */
.top-bar,
.navbar,
.hero,
.carousel-container,
.team-section,
.section,
footer {
    width: 100vw; /* Prend toute la largeur visible de l'écran */
    max-width: 100%;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}

.container {
    max-width: 1200px; /* Largeur fixe pour un contenu centré */
    margin: 0 auto;
    padding: 20px;
}

.section, .hero, .team-section, .footer {
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}


/* =============================
   Effet Parallax
   ============================= */
.parallax {
    background-image: url('ton-image.jpg'); /* Image de fond */
    min-height: 400px; /* Hauteur minimale */
    background-attachment: fixed; /* Effet de défilement fixe */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5); /* Ombre pour lisibilité */
}

/* Superposition sombre pour lisibilité sur image */
.parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Voile noir transparent */
    z-index: 1;
}

.parallax h1 {
    position: relative;
    z-index: 2; /* Passe au-dessus du voile */
}


/* Animation d’entrée pour les titres */
@keyframes fadeInText {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Titres communs */
h1, h2 {
    font-weight: bold;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInText 1.5s ease-out;
}


/* =============================
   Texte effet néon (visuel impactant)
   ============================= */
.neon-text {
    color: var(--primary-color);
    text-shadow: 
        0 0 5px var(--primary-color),
        0 0 10px var(--secondary-color);
    font-weight: bold;
    font-size: 2rem;
}


/* =============================
   Responsivité (mobile/tablette)
   ============================= */
@media (max-width: 768px) {
    /* Titres responsives */
    h1 { font-size: 1.8rem !important; font-weight: 500 !important; }
    h2 { font-size: 1.6rem !important; font-weight: 400 !important; }
    h3 { font-size: 1.4rem !important; font-weight: 400 !important; }
    h4 { font-size: 1.2rem !important; font-weight: 300 !important; }
    h5 { font-size: 1rem !important; font-weight: 300 !important; }
    h6 { font-size: 0.9rem !important; font-weight: 300 !important; }
    p  { font-size: 1.1rem; line-height: 1.6; }

    /* Navigation & boutons */
    .navbar .nav-link { font-size: 0.9rem; }
    .btn { padding: 8px 15px; font-size: 0.9rem; }

    /* Sections adaptées */
    .section { padding: 40px 10px; }

    .hero h1 { font-size: 2.5rem; }
    .team-member { margin: 10px; }

    .footer-columns {
        flex-direction: column; /* Affichage en colonne pour petits écrans */
        text-align: center;
    }

    .custom-title { font-size: 1.8rem; }
    .card-title   { font-size: 1.2rem; }
    .card-text    { font-size: 0.9rem; }
}

/* ===== FOOTER STYLES ===== */
footer {
    background: linear-gradient(135deg, #00a551, #008a46);
    color: #fff;
    padding: 50px 5% 30px;
    font-family: 'Arial', sans-serif;
    position: relative;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer Grid Layout - Mobile First */
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Footer Sections */
.footer-section {
    margin-bottom: 20px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 3px 0;
}

.footer-section ul li a:hover {
    color: #fff;
    transform: translateX(5px);
    text-decoration: none;
}

/* Logo Section */
.footer-logo {
    grid-column: 1 / -1;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-logo {
        grid-column: auto;
        text-align: left;
    }
}

.footer-logo img {
    height: 80px;
    width: auto;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Newsletter */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input[type="email"] {
    padding: 12px 15px;
    border-radius: 5px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
    outline: none;
}

.newsletter-form button {
    background-color: #002551;
    border: none;
    padding: 12px 15px;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.newsletter-form button:hover {
    background-color: #001f40;
    transform: translateY(-2px);
}

/* Copyright */
.footer-bottom {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #002551;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    display: none;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

#backToTop:hover {
    background: #e67e22;
    transform: translateY(-5px) scale(1.05);
    opacity: 1;
}

#backToTop:active {
    transform: translateY(0) scale(0.95);
}

/* Animation for appearing */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 0.9; transform: translateY(0); }
}

#backToTop.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

/* Container général */
.container {
    width: 100%;
    padding: 0 20px;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
    footer {
        padding: 30px 5%;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .footer-newsletter input {
        width: 100%;
        max-width: 100%;
    }

    .social-icons {
        gap: 15px;
        justify-content: center;
    }

    #backToTop {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* Section Copyright */
.copyright {
    background: #00a551;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    font-size: 0.9rem;
    margin-top: auto;
}
/* Style général */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #f4f4f4;
}

/* Titre */
header {
    background-color: #333;
    color: white;
    padding: 20px;
    font-size: 24px;
}

/* Section albums */
.albums {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 1000px;
    margin: auto;
}

.lightbox-content {
    position: relative;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 90%;
    max-height: 80%;
    margin-bottom: 0; /* Supprime la marge en bas */
    position: relative;
}

.lightbox-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
    text-align: center;
}

.lightbox-overlay h3,
.lightbox-overlay p {
    margin: 5px 0;
    font-size: 18px;
    color: #fff;
}
body {
    background-color: #f8f9fa;
}

/* Album container */
.album {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
}

.album img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Rendre la description blanche */
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
    color: white; /* Texte en blanc */
    padding: 5px 10px;
    text-align: center;
    height: 50px;
}

/* S'assurer que le texte reste lisible */
.overlay h3, .overlay p {
    color: white !important; /* Forcer la couleur blanche */
    font-size: 14px;
    margin: 0;
}


/* Galerie */
.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

.lightbox-content {
    position: relative;
    text-align: center;
    color: white;
}

.lightbox img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
}

.lightbox .close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: white;
}
/* Albums */
.album {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.album img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.album:hover img {
    transform: scale(1.05);
}

.album .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 15px;
    text-align: center;
    transition: background 0.3s ease;
}

.album .overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.album .overlay p {
    font-size: 0.9rem;
    margin: 0;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 1050;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
}

.lightbox .close {
    position: absolute;
    top: -20px;
    right: -20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}
/* Responsive */
@media (max-width: 768px) {
    .banner h1 {
        font-size: 2rem;
    }

    .article-content {
        font-size: 1rem;
        padding: 20px;
    }
}
/* ===== TITRES DE SECTIONS ===== */

/* Style principal du titre d'une section (ex. "Nos Publics Cibles") */
.section-title {
    font-size: var(--font-size-h2); /* Taille de police définie par une variable personnalisée */
    font-family: var(--font-primary); /* Police principale du site */
    font-weight: var(--font-weight-bold); /* Titre en gras */
    color: var(--primary-color); /* Couleur principale du thème */
  }
  
  /* Sous-titre accompagnant un titre de section */
  .section-subtitle {
    font-size: var(--font-size-base); /* Taille de police standard */
    font-family: var(--font-secondary); /* Police secondaire (souvent plus légère) */
    color: var(--text-secondary-color); /* Couleur secondaire pour le texte */
    font-weight: var(--font-weight-regular); /* Poids régulier, ni trop fin ni gras */
  }
  
  /* ===== CARTES PERSONNALISÉES  NOS CILES ===== */
  
  /* Carte avec design personnalisé : utilisée pour les publics cibles par exemple */
  .card-custom {
    background-color: var(--white); /* Fond blanc */
    box-shadow: 0 4px 8px var(--shadow-light); /* Ombre légère autour de la carte */
    border-radius: 0.5rem; /* Coins arrondis */
    overflow: hidden; /* Masque tout dépassement (utile pour images en débordement) */
    border: none; /* Supprime toute bordure par défaut */
  }
  
  /* Titre dans une carte personnalisée */
  .card-title-custom {
    font-size: var(--font-size-h3); /* Taille H3 (plus petit que h2) */
    font-family: var(--font-primary); /* Police principale */
    font-weight: var(--font-weight-bold); /* Gras */
    color: var(--primary-color); /* Couleur principale */
    margin-bottom: 0.75rem; /* Espacement sous le titre */
  }
  
  /* Paragraphe de texte dans une carte */
  .card-text-custom {
    font-size: var(--font-size-base); /* Taille standard */
    font-family: var(--font-secondary); /* Police secondaire */
    color: var(--text-color); /* Couleur de texte principale */
    line-height: var(--line-height-base); /* Interligne pour lisibilité */
    margin-bottom: 1rem; /* Espacement en bas du paragraphe */
  }
  
  /* ===== COULEUR ACCENTUÉE ===== */
  
  /* Texte accentué (ex: mots-clés ou mise en valeur d'une info) */
  .text-accent {
    color: var(--accent-color) !important; /* Couleur d'accent définie en variable */
  }
  
  /* ===== IMAGE EN COUVERTURE ===== */
  
  /* Applique une image qui couvre entièrement son conteneur */
  .object-cover {
    object-fit: cover; /* L'image remplit le conteneur sans être déformée */
    height: 100%; /* Hauteur maximale du conteneur */
    width: 100%; /* Largeur maximale du conteneur */
  }
  .carousel-caption {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    max-width: 60%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .carousel-slide.active .carousel-caption {
    opacity: 1;
    transform: translateY(0);
  }
  #partners {
    background-color: var(--background-color);
    text-align: center;
    padding: 60px 0;
    font-family: var(--font-secondary);
}

#partners .section-title {
    font-size: var(--font-size-h2);
    font-weight: bold;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
}

#partners .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

#partners img {
    margin: 15px auto;
    filter: grayscale(100%);
    transition: all 0.3s ease-in-out;
    max-height: 100px;
    object-fit: contain;
    box-shadow: 0 2px 5px var(--shadow-light);
    background-color: var(--white);
    padding: 10px;
    border-radius: 8px;
}

#partners img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
    box-shadow: 0 4px 8px var(--shadow-dark);
}
