*{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    box-sizing: border-box;

    /* outline: 1px solid red !important; */
}


body {
    background-color: #ffffff;
}

.bg-lighte {
    background-color: #807878 !important;
}

.spacing {
    margin: 0 15px;
}

/* --- Style pour la Top Bar --- */
.top-bar-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.top-bar-item {
    font-size: 1rem;
    padding: 5px 0;
    white-space: nowrap;
    flex-shrink: 0;
}
.top-bar-item a {
    text-decoration: none;
}
.top-bar-item i {
    font-size: 1.2rem;
    vertical-align: middle;
    margin-right: 5px;
}
.social-item i {
    margin-right: 0;
}

/* --- Media Query pour les écrans mobiles (en dessous de 768px) --- */
@media (max-width: 767.98px) {
    .top-bar-content {
        justify-content: center !important;
    }
    .top-bar-item {
        font-size: 0.75rem;
        margin: 5px 10px;
    }
    .top-bar-item i {
        font-size: 1rem;
    }
}

.navbar, .header_2 { /* RÈGLE FUSIONNÉE */
    background-color: rgb(221, 221, 221);
}

nav ul{
    display: flex;
}
nav ul a{
    margin: 0 20px;
}

#heroCarousel .carousel-item img {
    max-height: 80vh;
    object-fit: cover;
    object-position: center;
}

/*============================ Boutton Deplient================*/
.toggle-btn {
    background-color: transparent;
    border: 2px solid #0d6efd;
    color: #0d6efd;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}
.toggle-btn i {
    transition: transform 0.4s ease;
}
.toggle-btn:hover {
    background-color: #0d6efd;
    color: white;
}
.btn_down {
    animation: slideAndColor 1.5s infinite ease-in-out;
}
@keyframes slideAndColor {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(5px) scale(1.05); }
}
.content {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.7s ease-in-out, opacity 0.5s ease-in-out, margin-top 0.7s ease-in-out;
    box-shadow: none;
    display: block !important;
}
.content.is-visible {
    opacity: 1;
}

/* ======================================================= */
/*      DESIGN AMÉLIORÉ DE LA SECTION DES SERVICES         */
/* ======================================================= */
.section_1 {
    background-color: #f8f9fa;
}
.card.h-100 {
    background-color: #ffffff;
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.4s ease-in-out;
}
.card-icon {
    font-size: 3.5rem;
    width: 90px;
    height: 90px;
    line-height: 90px;
    text-align: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    background-color: #e9ecef;
    color: #0d6efd;
    transition: all 0.4s ease-in-out;
}
.fond_card h3 {
    color: #212529;
    font-weight: 600;
    transition: color 0.4s ease-in-out;
}
.fond_card h6 {
    color: #6c757d;
    transition: color 0.4s ease-in-out;
}
.fond_card a {
    color: #212529;
}
.fond_card hr {
    border-color: rgba(0, 0, 0, 0.1);
    transition: border-color 0.4s ease-in-out;
}
.card.h-100:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(13, 110, 253, 0.2);
    background-color: #0d6efd;
}
.card.h-100:hover .card-icon {
    background-color: #ffffff;
    color: #0d6efd;
    transform: rotate(15deg) scale(1.1);
}
.card.h-100:hover .fond_card h3,
.card.h-100:hover .fond_card h6,
.card.h-100:hover .fond_card a {
    color: #ffffff;
}
.card.h-100:hover .fond_card hr {
    border-color: rgba(255, 255, 255, 0.5);
}

.card_img{
    border-radius: 5px;
}
.xbox{
    border: none;
}
.card_1{
    background-color: rgb(225, 225, 225);
}
.heure{
    background-color: grey;
}
.lieu{
    background-color: rgb(205, 205, 205);
    display: flex;
    justify-content: center;
    align-items: center;
}
.txt_lieu{
    font-size: 1.00em;
}
.btn_xbox{
    background-color: #f1f1f1;
    border-radius: 5px;
    border: none;
}
.btn_xbox:hover{
    background-color: #b9dbff;
}
.etude{
    background-color: black;
}
.formation {
    background-color: rgb(24, 35, 244);
    position: relative;
}
.bt_formation {
    background-color: white;
    color: rgb(0, 21, 255);
    font-size: 28px;
    border: none;
    border-radius: 100%;
    width: 50px;
    height: 50px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}
.bt_formation:hover {
    background-color: rgb(230, 230, 230);
}
.img_formatoin{
    width: 100%;
    height: 15em;
}

/* ======================================================= */
/*               STYLE DE LA SECTION TÉMOIGNAGE            */
/* ======================================================= */
.testimonial-section {
    background-color: #f8f9fa;
}
.testimonial-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.testimonial-quote {
    max-width: 700px;
}
.testimonial-quote i {
    color: #0d6efd;
    font-size: 1.2rem;
    opacity: 0.5;
}
.testimonial-quote p {
    font-style: italic;
    color: #6c757d;
}
#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon {
    background-color: rgba(13, 110, 253, 0.7);
    border-radius: 50%;
    padding: 1.2rem;
}

/* ======================================================= */
/*               STYLE DU PRE-FOOTER                       */
/* ======================================================= */
.pre-footer {
    background-color: #0d6efd;
    color: #ffffff;
}
.border-white-50 {
    border-color: rgba(255, 255, 255, 0.5) !important;
}
.info-grid a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 10px;
}
.info-grid a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}
.info-grid a i {
    font-size: 2rem;
}

/* ======================================================= */
/*               STYLE DU FOOTER FINAL                     */
/* ======================================================= */
.main-footer {
    background-color: #212529;
    color: #adb5bd;
    font-size: 0.9rem;
}
.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    margin-left: 1rem;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ======================================================= */
/*      STYLE DU BANDEAU DES PARTENAIRES OFFICIELS         */
/* ======================================================= */
.partner-banner {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.partner-banner-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}
.partner-banner-title i {
    font-size: 1.8rem;
    color: #FFD700;
}
.partner-banner-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0;
}

.pre {
    margin-right: 2.5rem;
}

@media (max-width: 600px) {
    .navbar-toggler {
        order: 0;
        margin-left: 1rem;
        margin-right: auto;
    }
    .preinscription {
        order: 2;
        margin-left: auto;
        margin-top: 0;
    }
    .navbar-collapse {
        order: 1;
    }
    .navbar-brand img {
        order: 3;
        margin-left: 0;
        height: 40px;
    }
    .bb button {
        margin-right: 0.5rem;
    }
}

.drop_d{
    color: black;
}
.drop_d:hover{
    color: blue;
}
.img_wa{
    border-radius: 10px;
}
.form_contact{
    background-color: #f1f6ff;
    border-radius: 10px;
}
.actu{
    background-color: #c3c3c3;
}
.btnTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    padding: 10px 15px;
    font-size: 16px;
    background-color: #ff5733;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
.btnTop:hover {
    background-color: #cc4526;
}

.evenement, .div_evenement { /* RÈGLE FUSIONNÉE */
    display: flex;
}
.txt_evenement{
    font-size: 40px;
    margin-top: 37px;
}
.bg_evenement{
    background-color: #a0a0a0;
}
.even{
    background-color: #d7d7d7;
}
.a_fond{
    color: black;
}
.a_fond:hover{
    color: rgb(0, 51, 255);
}
.txt_line{
    text-decoration: underline;
}

/* ======================================= */
/*    BOUTON "RETOUR EN HAUT" MODERNE      */
/* ======================================= */
.scroll-to-top {
    /* --- Positionnement --- */
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 1000;

    /* --- Apparence --- */
    width: 50px;
    height: 50px;
    background-color: #0d6efd; /* On utilise le bleu de votre thème */
    color: #ffffff;
    border-radius: 50%; /* Pour un cercle parfait */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Ombre pour l'effet flottant */

    /* --- Centrage de l'icône --- */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    text-decoration: none;

    /* --- État initial (caché) --- */
    opacity: 0;
    visibility: hidden; /* Important pour l'accessibilité et les clics */
    transform: translateY(20px); /* Commence un peu plus bas pour l'animation */

    /* --- Animation --- */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Classe ajoutée par JS pour le rendre visible */
.scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Remonte à sa position finale */
}

/* Effet au survol */
.scroll-to-top:hover {
    background-color: #0b5ed7; /* Un bleu plus foncé */
    transform: scale(1.1); /* Léger grossissement */
    color: #ffffff;
}
/*==================================*/


/* dropdown de categorie header */
.custom-dropdown {
    background-color: transparent !important;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    overflow: hidden;
}
.custom-dropdown .dropdown-item {
    padding: 0.5rem 1rem;
    margin: 0;
}
.custom-dropdown .dropdown-item:hover {
    background-color: #0d6efd !important;
    color: white !important;
}

/* Disparition lors du defilement du header */
#mainHeader {
    z-index: 1031;
}
#topBar {
    transition: transform 0.4s ease-in-out;
    will-change: transform;
}
#mainHeader.header-scrolled #topBar {
    transform: translateY(-100%);
}

/* 2. On fait monter la navbar en appliquant une marge négative
      de la même hauteur que la top-bar (calculée en JS) */
#mainHeader.header-scrolled #mainNavbar {
    margin-top: var(--header-scroll-distance, 0px);
}
/*=================================*/

/* ======================================================= */
/*      DESIGN & ANIMATION DU CARROUSEL PRINCIPAL          */
/* ======================================================= */

/* --- Superposition sombre pour la lisibilité --- */
#heroCarousel{
    position: relative;
    z-index: 1;
}
#heroCarousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(21, 21, 21, 0.5); /* GRIS foncé semi-transparent */
    z-index: 1;
}

/* --- Conteneur général du texte (.carousel-caption) --- */
#heroCarousel .carousel-caption {
    /* Il est toujours centré et en position, mais ne gère plus l'animation directement */
    top: 0; bottom: 0; left: 0; right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    z-index: 2; /* Pour être au-dessus de la superposition sombre */
}

/* --- Animation de base pour tous les éléments du caption --- */
.caption-title, .caption-text, .caption-button {
    /* État initial : cachés et légèrement déplacés */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* --- Déclenchement des animations quand le slide est actif --- */
#heroCarousel .carousel-item.active .caption-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s; /* Le titre apparaît en premier */
}
#heroCarousel .carousel-item.active .caption-text {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s; /* Le paragraphe apparaît après le titre */
}
#heroCarousel .carousel-item.active .caption-button {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.1s; /* Le bouton apparaît en dernier */
}

/* ======================================================= */
/*      DESIGN & ANIMATION DU CARROUSEL PRINCIPAL          */
/*             (AVEC TEXTE RESPONSIVE)                   */
/* ======================================================= */

/* ... (tous les autres styles du carrousel restent les mêmes) ... */

/* --- Style du texte et du bouton (Taille par défaut pour GRANDS écrans) --- */
.caption-title {
    font-size: 3.5rem; /* ~56px */
    font-weight: 800;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    line-height: 1.1;
    margin-bottom: 1rem;
}
.caption-text {
    font-size: 1.25rem; /* ~20px */
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin-bottom: 2rem;
}
/* ... (vos styles de .caption-button) ... */


/* --- Media Queries pour rendre le texte responsive --- */

/* Pour les écrans de type tablette (en dessous de 992px) */
@media (max-width: 991.98px) {
    .caption-title {
        font-size: 2.75rem; /* ~44px */
    }
    .caption-text {
        font-size: 1.15rem; /* ~18px */
    }
}

/* Pour les petits écrans (téléphones en mode paysage, petites tablettes) (en dessous de 768px) */
@media (max-width: 767.98px) {
    .caption-title {
        font-size: 2rem; /* ~32px */
    }
    .caption-text {
        font-size: 1rem; /* ~16px */
    }
    .caption-button {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Pour les très petits écrans (téléphones en mode portrait) (en dessous de 576px) */
@media (max-width: 575.98px) {
    .caption-title {
        font-size: 1.75rem; /* ~28px */
    }
    .caption-text {
        font-size: 0.9rem; /* ~14px */
        margin-bottom: 1.5rem;
    }
}

.caption-button.btn-primary {
    background-color: #0d6efd; /* BLEU */
    border-color: #0d6efd;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 50px; /* Bouton "pilule" */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.caption-button.btn-outline-light {
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    border-width: 2px;
}
.caption-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(13, 110, 253, 0.4);
}

/* --- Indicateurs et Contrôles --- */
#heroCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5); /* GRIS/BLANC transparent */
}
#heroCarousel .carousel-indicators button.active {
    background-color: #0d6efd; /* L'indicateur actif est BLEU */
}
#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

#heroCarousel .carousel-indicators,
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {

    z-index: 3;
}

/* --- Responsive pour les petits écrans --- */
@media (max-width: 767.98px) {
    .caption-title {
        font-size: 2rem;
    }
    .caption-text {
        font-size: 1rem;
    }
    .caption-button {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/*=================================*/

/* ======================================================= */
/*    STYLE DE LA SECTION STATS & APPEL À L'ACTION         */
/* ======================================================= */

.stats-section .row {
    border-radius: 15px;
    overflow: hidden; /* Important pour que les coins arrondis s'appliquent aux enfants */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Style commun pour les cartes de stats et le CTA */
.stat-card, .cta-card {
    padding: 3rem 1.5rem;
    text-align: center;
    color: #ffffff;
    transition: all 0.4s ease;
}

/* --- Cartes de Statistiques --- */
.stat-card {
    background-color: #212529; /* GRIS très foncé, presque noir */
}
.stat-card:hover {
    background-color: #343a40; /* Un gris légèrement plus clair au survol */
}
.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}
.stat-title {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* --- Carte d'Appel à l'Action (CTA) --- */
.cta-card {
    background-color: #0d6efd; /* BLEU primaire, pour attirer l'attention */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%; /* S'assure qu'elle prend toute la hauteur de la ligne */
}
.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.cta-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    background-color: #ffffff; /* Bouton BLANC */
    color: #0d6efd; /* Icône BLEUE */
    border-radius: 50%;
    font-size: 1.8rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cta-button:hover {
    transform: scale(1.15) rotate(360deg); /* L'icône fait un tour complet au survol */
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    color: #0d6efd;
}

/* --- Titre de la section suivante --- */
.section-title {
    font-weight: 700;
    color: #212529; /* GRIS foncé */
    position: relative;
    padding-bottom: 1rem;
    display: inline-block;
}
/* Ajoute une ligne de soulignement décorative */
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #0d6efd; /* BLEU */
    border-radius: 2px;
}
/*=========================*/
/* ======================================================= */
/*    DESIGN DE LA SECTION ACTUALITÉS & ÉVÉNEMENTS         */
/* ======================================================= */

.news-events-section {
    padding: 4rem 0;
    background-color: #f8f9fa; /* GRIS clair de fond */
}

/* --- En-tête de section (Actualités, Événements) --- */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 1rem;
}
.section-header h2 {
    font-weight: 700;
    color: #212529; /* GRIS foncé */
    margin: 0;
}
.section-header .btn-outline-primary {
    border-width: 2px;
    font-weight: 600;
}

/* --- Cartes d'Actualités --- */
.news-card {
    background-color: #ffffff; /* BLANC */
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.15); /* Ombre BLEUE */
}
.news-card-link {
    text-decoration: none;
    color: inherit;
}
.news-card-img-container {
    height: 200px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}
.news-card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-card:hover .news-card-img-container img {
    transform: scale(1.1);
}
.news-card-body {
    padding: 1.25rem;
}
.news-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c757d; /* GRIS moyen */
}
.news-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
    line-height: 1.4;
    /* Limite le texte à 3 lignes pour un design propre */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Liste d'Événements --- */
.event-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.event-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    background-color: #ffffff;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}
.event-item:hover {
    border-color: #0d6efd; /* Bordure BLEUE au survol */
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.1);
}
.event-date {
    flex-shrink: 0; /* Empêche le bloc date de se compresser */
    width: 70px;
    height: 70px;
    background-color: #0d6efd; /* BLEU */
    color: #ffffff; /* BLANC */
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}
.event-date .day {
    font-size: 1.8rem;
    line-height: 1;
}
.event-date .month {
    font-size: 0.9rem;
    text-transform: uppercase;
}
.event-details {
    flex-grow: 1;
}
.event-title {
    font-weight: 600;
    color: #212529; /* GRIS foncé */
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.event-item:hover .event-title {
    color: #0d6efd; /* Le titre devient BLEU au survol */
}
.event-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #6c757d; /* GRIS moyen */
}
.event-meta i {
    color: #0d6efd; /* Icônes BLEUES */
    margin-right: 0.3rem;
}

/* ======================================================= */
/*      BOUTON "+" DES ACTUALITÉS (MOBILE & DESKTOP)       */
/* ======================================================= */

/* --- Le conteneur de la carte --- */
.news-card {
    position: relative;
    /* ... autres styles de la carte ... */
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* --- Le bouton "+" lui-même --- */
.news-card-plus-button {
    /* --- Positionnement absolu --- */
    position: absolute;
    top: 15px; /* Un peu moins d'espace sur mobile */
    right: 15px;
    z-index: 10;

    /* --- Style du cercle --- */
    width: 45px;
    height: 45px;
    background-color: #ffffff;
    color: #0d6efd;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);

    /* La transition est toujours là pour les effets de survol */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/*
 * ===========================================================
 * COMPORTEMENT SPÉCIFIQUE AUX APPAREILS AVEC SOURIS (DESKTOP)
 * On utilise une media query qui ne s'applique que si l'appareil
 * peut gérer le survol (:hover).
 * ===========================================================
 */
@media (hover: hover) and (pointer: fine) {
    /* --- État initial (caché) UNIQUEMENT sur ordinateur --- */
    .news-card-plus-button {
        opacity: 0;
        transform: scale(0.5);
    }

    /* --- Apparition au survol UNIQUEMENT sur ordinateur --- */
    .news-card:hover .news-card-plus-button {
        opacity: 1;
        transform: scale(1);
    }

    /* Effet au survol du bouton lui-même UNIQUEMENT sur ordinateur */
    .news-card-plus-button:hover {
        background-color: #0d6efd;
        color: #ffffff;
        transform: scale(1.1) rotate(90deg) !important;
    }
}
/*=========================*/

/* ======================================================= */
/*          STYLE DE LA PAGE "À PROPOS"                    */
/* ======================================================= */

/* --- Section Héros (en-tête de page) --- */
.about-hero {
    background: linear-gradient(rgba(13, 110, 253, 0.7), rgba(13, 110, 253, 0.5)), url('https://via.placeholder.com/1920x400') no-repeat center center;
    background-size: cover;
    padding: 6rem 0;
    color: #ffffff; /* BLANC */
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}
.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* --- Section Mission & Valeurs --- */
.mission-values-section {
    padding: 4rem 0;
    background-color: #ffffff; /* BLANC */
}
/* Titre de section (peut être réutilisé sur d'autres pages) */
.section-title {
    font-weight: 700;
    color: #212529; /* GRIS foncé */
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #0d6efd; /* BLEU */
    border-radius: 2px;
}
.section-title.text-start::after {
    left: 0;
    transform: translateX(0);
}

/* Cartes des valeurs */
.value-card {
    background-color: #f8f9fa; /* GRIS très clair */
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    border: 1px solid #e9ecef;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.15);
    border-color: #0d6efd; /* BLEU */
}
.value-icon {
    font-size: 2.5rem;
    color: #0d6efd; /* BLEU */
    margin-bottom: 1.5rem;
}
.value-title {
    font-weight: 600;
    color: #212529; /* GRIS foncé */
    margin-bottom: 0.75rem;
}
.value-text {
    color: #6c757d; /* GRIS moyen */
    line-height: 1.6;
}

/* --- Section "Pourquoi Nous" & Résultats --- */
.why-us-section {
    padding: 4rem 0;
    background-color: #f8f9fa; /* GRIS clair */
}
.why-us-list {
    list-style: none;
    padding-left: 0;
}
.why-us-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    color: #495057; /* GRIS */
}
.why-us-list i {
    font-size: 1.4rem;
    color: #0d6efd; /* BLEU */
    margin-top: 3px;
}
/*=========================*/

/* ======================================================= */
/*             STYLE DE LA PAGE CONTACT                    */
/* ======================================================= */

/* --- Section Héros --- */
.contact-hero {
    background: linear-gradient(rgba(13, 110, 253, 0.7), rgba(13, 110, 253, 0.5)), url('https://via.placeholder.com/1920x400') no-repeat center center;
    background-size: cover;
    padding: 6rem 0;
    color: #ffffff; /* BLANC */
}
.contact-hero .hero-title {

    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}
.contact-hero .hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* --- Section de contenu principal --- */
.contact-content-section {
    padding: 4rem 0;
}

/* --- Conteneur du formulaire --- */
.contact-form-container {
    background: #ffffff; /* BLANC */
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}
.form-title {
    font-weight: 700;
    color: #212529; /* GRIS foncé */
    margin-bottom: 0.5rem;
}
.contact-form-container .form-control,
.contact-form-container .form-select {
    padding: 0.9rem;
}
.contact-form-container .form-control:focus,
.contact-form-container .form-select:focus {
    border-color: #0d6efd; /* Bordure BLEUE au focus */
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* --- Conteneur des infos de contact --- */
.contact-info-container {
    padding: 2.5rem;
    background: #f8f9fa; /* GRIS clair */
    border-radius: 15px;
    height: 100%;
}
.map-container {
    border-radius: 12px;
    overflow: hidden; /* Pour que les coins arrondis s'appliquent à l'iframe */
    border: 1px solid #dee2e6;
}
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}
.info-list i {
    font-size: 1.5rem;
    color: #0d6efd; /* Icônes BLEUES */
    width: 30px; /* Largeur fixe pour un alignement parfait */
    text-align: center;
    margin-top: 5px;
}
.info-list div {
    display: flex;
    flex-direction: column;
}
.info-list strong {
    font-weight: 600;
    color: #212529; /* GRIS foncé */
    margin-bottom: 0.25rem;
}
.info-list span {
    color: #6c757d; /* GRIS moyen */
}

/* Liens des réseaux sociaux */
.social-links {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #dee2e6;
}
.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #ffffff; /* BLANC */
    color: #0d6efd; /* BLEU */
    font-size: 1.2rem;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.social-links a:hover {
    background-color: #0d6efd;
    color: #ffffff;
    transform: translateY(-5px);
}
/*=========================*/

/* ======================================================= */
/*          STYLE DE LA PAGE "ACTUALITÉS"                  */
/* ======================================================= */

/* --- Section Héros (en-tête de page) --- */
/* On peut créer une classe générique pour tous les en-têtes de page */
.page-hero {
    background: linear-gradient(rgba(13, 110, 253, 0.7), rgba(13, 110, 253, 0.5)), url('https://via.placeholder.com/1920x400') no-repeat center center;
    background-size: cover;
    padding: 5rem 0;
    color: #ffffff; /* BLANC */
}
.page-hero .hero-title {
    font-size: 3rem;
    font-weight: 700;
}
.page-hero .hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* --- Section de la grille d'actualités --- */
.news-grid-section {
    padding: 4rem 0;
    background-color: #f8f9fa; /* GRIS clair */
}

/* --- On améliore le style des cartes existantes --- */
/* (Ce code peut remplacer ou compléter le style .news-card que vous aviez déjà) */
.news-card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex; /* Permet au footer de se coller en bas */
    flex-direction: column;
}
.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.15);
}
.news-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.news-card-img-container {
    height: 220px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}
.news-card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-card:hover .news-card-img-container img {
    transform: scale(1.1);
}
.news-card-body {
    padding: 1.5rem;
    flex-grow: 1; /* Pousse le footer vers le bas */
}
.news-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #6c757d; /* GRIS moyen */
}
.news-card-meta .date i {
    color: #0d6efd; /* Icône de calendrier en BLEU */
}
.news-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #212529;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limite à 2 lignes */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-excerpt {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limite à 3 lignes */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Le pied de la carte (nouveau) --- */
.news-card-footer {
    padding: 0 1.5rem 1.5rem;
    margin-top: auto; /* Se colle en bas */
    font-weight: 600;
    color: #0d6efd; /* BLEU */
    transition: color 0.3s ease;
}
.news-card-footer i {
    transition: transform 0.3s ease;
    margin-left: 5px;
}
.news-card:hover .news-card-footer {
    color: #0b5ed7; /* Un bleu plus foncé au survol */
}
.news-card:hover .news-card-footer i {
    transform: translateX(5px);
}

/* --- Style de la pagination (optionnel) --- */
.pagination .page-item.active .page-link {
    background-color: #0d6efd; /* BLEU */
    border-color: #0d6efd;
}
.pagination .page-link {
    color: #0d6efd;
}
.pagination .page-link:hover {
    color: #0b5ed7;
}
/*=========================*/

/* ======================================================= */
/*       STYLE DE LA PAGE DÉTAIL D'UN ARTICLE              */
/* ======================================================= */

/* --- Section Héros de l'Article --- */
.article-hero {
    background-color: #f8f9fa; /* GRIS clair */
    padding: 3rem 0;
    border-bottom: 1px solid #e9ecef;
}
.article-meta-header {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1rem;
    color: #6c757d; /* GRIS moyen */
    font-weight: 500;
}
.article-meta-header .badge {
    font-size: 0.9rem;
}
.article-main-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #212529; /* GRIS foncé */
    line-height: 1.2;
}

/* --- Section Contenu Principal --- */
.article-content-section {
    padding: 4rem 0;
}

/* --- Corps de l'article --- */
.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057; /* GRIS un peu plus foncé pour la lisibilité */
}
.article-body .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: #212529; /* GRIS foncé */
}
.article-body p {
    margin-bottom: 1.5rem;
}
.article-body blockquote {
    border-left: 4px solid #0d6efd; /* Bordure BLEUE */
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6c757d;
}
.download-link-box {
    background-color: #e9f2ff; /* Fond BLEU très clair */
    border: 1px solid #cce0ff; /* Bordure BLEUE claire */
    border-radius: 8px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.download-link-box i {
    font-size: 2rem;
    color: #0d6efd; /* Icône PDF BLEUE */
}
.download-link-box a {
    font-weight: 600;
    color: #0b5ed7; /* Un bleu plus foncé pour le lien */
    text-decoration: none;
}
.download-link-box a:hover {
    text-decoration: underline;
}

/* --- Barre latérale (Sidebar) --- */
.sidebar-widget {
    background-color: #f8f9fa; /* GRIS clair */
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}
.widget-title {
    font-weight: 600;
    color: #212529;
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid #e0e0e0;
}
.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.recent-posts-list li {
    margin-bottom: 1rem;
}
.recent-posts-list li:last-child {
    margin-bottom: 0;
}
.recent-posts-list a {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}
.recent-posts-list img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.recent-posts-list .post-title {
    font-weight: 500;
    color: #212529;
    line-height: 1.3;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}
.recent-posts-list a:hover .post-title {
    color: #0d6efd;
}
.recent-posts-list .post-date {
    font-size: 0.8rem;
    color: #6c757d;
}
.social-links-sidebar {
    display: flex;
    gap: 0.75rem;
}
.social-links-sidebar a {
    flex-grow: 1; /* Pour que les boutons prennent toute la largeur disponible */
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    border-radius: 8px;
    background-color: #e9ecef;
    color: #495057;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}
.social-links-sidebar a:hover {
    background-color: #0d6efd; /* BLEU */
    color: #ffffff; /* BLANC */
}
/*=========================*/

/* ======================================================= */
/*          STYLE DE LA PAGE "ÉVÉNEMENTS"                  */
/* ======================================================= */

/* --- Section de la liste d'événements --- */
.events-list-section {
    padding: 4rem 0;
    background-color: #f8f9fa; /* GRIS clair */
}

.events-list-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Espace entre chaque événement */
}

/* --- Style de chaque item de la liste --- */
.event-list-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: #ffffff; /* BLANC */
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.event-list-item:hover {
    border-color: #0d6efd; /* Bordure BLEUE au survol */
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.1);
}

/* --- Bloc Date --- */
.event-list-date {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background-color: #e9f2ff; /* Fond BLEU très clair */
    color: #0d6efd; /* Texte BLEU */
    border: 2px solid #cce0ff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    transition: all 0.3s ease;
}
.event-list-item:hover .event-list-date {
    background-color: #0d6efd;
    color: #ffffff;
    border-color: #0d6efd;
}
.event-list-date .day {
    font-size: 2rem;
    line-height: 1;
}
.event-list-date .month {
    font-size: 1rem;
    text-transform: uppercase;
}

/* --- Bloc Détails --- */
.event-list-details {
    flex-grow: 1;
}
.event-list-title {
    font-weight: 600;
    font-size: 1.25rem;
    color: #212529; /* GRIS foncé */
    margin-bottom: 0.5rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}
.event-list-item:hover .event-list-title {
    color: #0d6efd; /* Le titre devient BLEU */
}
.event-list-meta {
    display: flex;
    flex-wrap: wrap; /* Permet le passage à la ligne sur mobile */
    gap: 1.5rem;
    font-size: 0.9rem;
    color: #6c757d; /* GRIS moyen */
}
.event-list-meta i {
    color: #0d6efd; /* Icônes BLEUES */
    margin-right: 0.4rem;
}

/* --- Bloc Action (Chevron) --- */
.event-list-action {
    margin-left: auto;
    font-size: 1.5rem;
    color: #adb5bd; /* GRIS très clair */
    transition: transform 0.3s ease, color 0.3s ease;
}
.event-list-item:hover .event-list-action {
    transform: translateX(5px);
    color: #0d6efd; /* Le chevron devient BLEU */
}

/*=========================*/

/* ======================================================= */
/*       STYLE DE LA PAGE DÉTAIL D'UN ÉVÉNEMENT            */
/* ======================================================= */

/* --- Section Héros de l'Événement --- */
.event-hero {
    background-color: #f8f9fa; /* GRIS clair */
    padding: 3rem 0;
    border-bottom: 1px solid #e9ecef;
    text-align: center;
}
.event-main-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #212529; /* GRIS foncé */
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.event-meta-header {
    display: flex;
    flex-wrap: wrap; /* Pour le responsive */
    gap: 1rem 2rem; /* Espace vertical et horizontal */
    justify-content: center;
    align-items: center;
    color: #495057; /* GRIS */
    font-weight: 500;
    background-color: #ffffff; /* BLANC */
    padding: 0.75rem 1.5rem;
    border-radius: 50px; /* Style "pilule" */
    display: inline-flex; /* Pour que le conteneur s'adapte à son contenu */
    border: 1px solid #dee2e6;
}
.event-meta-header i {
    color: #0d6efd; /* Icônes BLEUES */
    margin-right: 0.5rem;
}

/* --- Section Contenu Principal --- */
.event-content-section {
    padding: 4rem 0;
}

/* --- Corps de l'événement --- */
.event-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
}
.event-body .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: #212529;
}
.event-body p {
    margin-bottom: 1.5rem;
}
.event-body .content-subtitle {
    font-weight: 600;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #212529;
    border-left: 3px solid #0d6efd;
    padding-left: 1rem;
}
.event-body blockquote {
    border-left: 4px solid #0d6efd;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6c757d;
}

/*=========================*/

/* ======================================================= */
/*          STYLE DE LA PAGE "FORMATIONS"                  */
/* ======================================================= */

/* --- Section Héros (réutilisation du style existant) --- */
.page-hero { /* Assurez-vous que ce style est bien défini */ }

/* --- Section de la grille --- */
.formations-grid-section {
    padding: 4rem 0;
    background-color: #f8f9fa; /* GRIS clair */
}

/* --- Barre de filtres --- */
.filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Pour le responsive */
    gap: 0.75rem;
    margin-bottom: 3rem;
}
.filter-btn {
    background-color: #ffffff; /* BLANC */
    color: #495057; /* GRIS */
    border: 1px solid #dee2e6;
    padding: 0.6rem 1.5rem;
    border-radius: 50px; /* Style "pilule" */
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}
.filter-btn.active {
    background-color: #0d6efd; /* BLEU */
    color: #ffffff; /* BLANC */
    border-color: #0d6efd;
}

/* --- Item de formation (pour l'animation) --- */
.formation-item {
    transition: transform 0.4s ease, opacity 0.4s ease, display 0s linear 0.4s;
}

/*=========================*/

/* ======================================================= */
/*          STYLE COMPLET DE LA BARRE DE NAVIGATION        */
/* ======================================================= */

/* --- Le conteneur principal de la navbar --- */
#mainNavbar {
    background-color: #ffffff; /* Fond BLANC */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); /* Ombre douce et moderne */

}

/* --- Le logo --- */
#mainNavbar .navbar-brand img {
    height: 50px; /* Hauteur du logo */
    transition: transform 0.3s ease;
}
#mainNavbar .navbar-brand img:hover {
    transform: scale(1.05); /* Léger zoom au survol */
}

/* --- Les liens de navigation principaux --- */
#mainNavbar .nav-link {
    color: #495057 !important; /* Texte en GRIS foncé pour un bon contraste */
    font-weight: 600; /* Police un peu plus affirmée */
    font-size: 1.05rem;
    margin: 0 0.5rem;
    padding: 0.8rem 1rem !important;
    border-radius: 8px;
    position: relative;
    overflow: hidden; /* Pour l'effet de soulignement */
    transition: color 0.3s ease;
}

/* --- Effet de survol sur les liens --- */
/* 1. Le texte devient bleu */
#mainNavbar .nav-link:hover,
#mainNavbar .nav-link.active,
#mainNavbar .show > .nav-link { /* Pour le dropdown actif */
    color: #0d6efd !important; /* BLEU primaire */
}
/* 2. Une ligne de soulignement animée apparaît */
#mainNavbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #0d6efd; /* BLEU primaire */
    border-radius: 2px;
    transform: translateX(-101%); /* Initialement cachée à gauche */
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
#mainNavbar .nav-link:hover::after,
#mainNavbar .nav-link.active::after,
#mainNavbar .show > .nav-link::after {
    transform: translateX(0); /* L'animation la fait glisser en place */
}


/* --- Le menu déroulant (dropdown) --- */
#mainNavbar .dropdown-menu {
    background-color: #ffffff; /* BLANC */
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    margin-top: 0.5rem !important; /* Un peu d'espace avec le lien parent */
}
#mainNavbar .dropdown-item {
    color: #495057; /* GRIS foncé */
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}
#mainNavbar .dropdown-item:hover,
#mainNavbar .dropdown-item:focus {
    background-color: #e9f2ff; /* Fond BLEU très clair */
    color: #0d6efd; /* Texte BLEU */
    padding-left: 1.8rem; /* Léger décalage pour l'effet */
}


/* --- Le bouton "Préinscription" --- */
#mainNavbar .btn-primary {
    background-color: #0d6efd; /* BLEU */
    border-color: #0d6efd;
    border-radius: 50px; /* Style "pilule" */
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
}
#mainNavbar .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
}


/* --- Le bouton "Hamburger" sur mobile --- */
#mainNavbar .navbar-toggler {
    border: none;
    background-color: transparent !important; /* On retire le fond gris que vous aviez */
}
#mainNavbar .navbar-toggler:focus {
    box-shadow: none; /* Retire l'ombre bleue au clic */
}
#mainNavbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(13, 110, 253, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    /* Les barres du hamburger sont maintenant BLEUES */
}

/* --- Style du menu déplié sur mobile --- */
@media (max-width: 767.98px) {
    #mainNavbar .navbar-collapse {
        background-color: #f8f9fa; /* Fond GRIS clair pour le menu déplié */
        border-radius: 12px;
        margin-top: 1rem;
        padding: 1rem;
        border: 1px solid #e9ecef;
    }
    #mainNavbar .nav-link::after {
        display: none; /* On retire l'effet de soulignement sur mobile */
    }
    #mainNavbar .ms-md-auto {
        margin-top: 1rem; /* Espace le bouton "Préinscription" des liens */
    }
}


/*=========================*/

/* ======================================================= */
/*          STYLE TEMOIGNAGES       */
/* ======================================================= */
.testimonial-img-container {
    width: 120px;
    height: 120px;
    border-radius: 50%; /* Rend le conteneur parfaitement rond */
    margin-left: auto;
    margin-right: auto;
    overflow: hidden; /* Cache les parties de l'image qui dépassent */
    border: 4px solid #4a6cf7;
    box-shadow: 0 8px 20px rgba(74, 108, 247, 0.2);
    background-color: #f0f0f0; /* Couleur de fond si l'image est transparente ou petite */
}

.testimonial-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* C'est la propriété magique ! */
    object-position: center; /* S'assure que l'image est centrée */
}

/*=========================*/
