/********** Template CSS **********/
:root {
    --bs-tertiary: #797E88;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-normal {
    font-weight: 400 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
	background-color: #031e4f !important;
	
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Top Bar ***/
.top-bar {
    height: 90px;
    padding: 0 4vw;
	background-color: #e03e01 !important;
	z-index: 4000;
}

.top-bar h6 {
    letter-spacing: 1px;
	color: #031e4f !important;
	
}

.top-bar i {
	color: #fff !important;
	
	
}

.top-bar h1 {
    font-size: 1.30rem;
	color: #031e4f !important;
}

.top-bar h5 {
    font-size: 1.3rem;
	color: #fff !important;
}

.mon-conteneur-principal {
    background-color: #e03e01 !important; /* Remplacez #1a252f par votre code couleur */
}

.petit-carre {
    background-color: #e03e01 !important; /* Remplacez #1a252f par votre code couleur */
}



/*** Nav Bar ***/
.nav-bar {
    padding: 0 4vw;
    transition: .5s;
	
}

.navbar .navbar-nav .nav-link {
    margin-right: 3vw;
    padding: 10px 0;
    color: #fcab08;
    font-size: 18px;
    outline: none;
}


.navbar  {
    background-color: #014017 !important;
	
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-white);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .nav-item .dropdown-menu.show {
        visibility: visible;
        opacity: 1;
        display: block;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        opacity: 1;
    }
}

/*Ajout*/
/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: #ccc;
  box-shadow: -10px 0 15px -5px rgba(0, 0, 0, 0.2);
  position: fixed;
  top: /*90px*/0;
  right: 0;
  bottom: 0;
  width: 250px;
  border-left: solid 4px #fff;
  border-radius: 45px 0 0 45px;
  transition: all ease-in-out 0.3s;
  overflow-y: auto;
  z-index: 997;
  border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 60px 10px;
}

.header .profile-img img {
  margin: 15px auto;
  display: block;
  width: 120px;
  border: 8px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.header .logo {
  line-height: 1;
  margin-bottom: 15px;
}

.header .logo img {
  max-width: 150px;
  
}

.header .logo h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .social-links {
  padding: 10px;
  border: solid 1px #cc4006;
  border-radius: 10px;
}

/*Lien stylé*/

.header .social-links .lien-fleche {
  display: inline-flex;
  align-items: center;
  color: #4f46e5; /* Violet moderne */
  font-size: 16px;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.3s ease, color 0.3s ease;
}


.header .social-links .lien-fleche::after {
  content: "→";
  margin-left: 5px;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}


.header .social-links .lien-fleche:hover {
  color: #4338ca;
  transform: translateX(5px); 
}

.header .social-links .lien-fleche:hover::after {
  opacity: 1;
  transform: translateX(0); 
}
/*Fin lien stylé*/

.header .social-links p {
  font-size: 20px;
  color: #cc4006;
  padding: 10px 0 0 0;
}

.header .social-links a:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
}

@media (min-width: 1200px) {

  .header~main,
  .header~#footer {
    margin-left: 20vw;
  }

}

@media (max-width: 1199px) {
  .header {
    left: -100%;
  }
}

.header.header-show {
  left: 0;
}

.header .header-toggle {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 9999;
  transition: background-color 0.3s;
}

.header .header-toggle:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}
/*Fin ajout*/



/*** Header Carousel ***/
.header-carousel {
    position: relative;
    background: url(..//img/cate-png-7.jpg) center center no-repeat;
    background-size: cover;
}

.header-carousel .carousel-img {
    position: relative;
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--bs-dark);
    background: var(--bs-primary);
}



/*.page-header {
    background: url(..//img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-tertiary);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 13px;
    color: var(--bs-primary);
}

.page-header .breadcrumb-item.active {
    color: var(--bs-dark);
}*/

/* Fond du header de page */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(..//img/bg.jpg) center center no-repeat;
    background-size: cover;
    padding: 5rem 0;
}

/* Zone du fil d'Ariane (Breadcrumb) */
.page-header .breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-flex;
    margin-bottom: 1.5rem !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Liens et �l�ments du fil d'Ariane */
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Effet au survol des liens du fil d'Ariane */
.page-header .breadcrumb-item a:hover {
    color: var(--bs-primary);
}

/* �l�ment actif (page courante) */
.page-header .breadcrumb-item.active {
    color: var(--bs-tertiary);
    opacity: 0.8;
}

/* Personnalisation du s�parateur (le slash /) */
.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
    content: "�"; /* Remplacement du slash par un point �l�gant */
    padding-right: 12px;
    padding-left: 12px;
}

.page-header p {
        
        font-size: 1.4rem;     /* Ajuste subtilement la taille de lecture */
        /*line-height: 1.6; */      /* Am�liore l'espace entre les lignes */
    }

/* Style général par défaut */
.header-img-wrapper img {
    width: 90%;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: block;
    margin: 1.5rem auto 0 auto;
}

.page-header .tele {
        
        margin-top: 20px !important;
    }

.page-header .tele a {
        
        color: #fff !important;
        padding: 10px 20px;
        font-size: 1.2rem;
        border-radius: 20px;
        border: solid 1px #014016;
        background-color: rgba(23, 101, 21, 1);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }


/* --- NOUVEAU : STYLE DE LA GRILLE DES MINIATURES --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 2rem auto 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    aspect-ratio: 3 / 2; /* Aligne proprement toutes les images */
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Effet au survol des miniatures */
.gallery-item:hover {
    border-color: rgba(255, 255, 255, 0.8);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

/* --- NOUVEAU : STYLE DE LA VISIONNEUSE PLEIN ÉCRAN --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.lightbox img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomIn { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Titre principal styl� */
.titre-cybers {
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #032c68;
    margin: 0;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

/* Ligne d�corative sous le titre */
.titre-cybers::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--bs-primary), var(--bs-tertiary));
    border-radius: 2px;
}

/* ==========================================================================
   2. Design Tendance du Formulaire par Étapes
   ========================================================================== */
.form-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.btn-step {
    background-color: rgba(0, 0, 0, 0.05);
    color: #495057;
    font-weight: 600;
    border-radius: 30px !important;
    font-size: 13px;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.nav-pills .nav-link.btn-step.active {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.form-card .form-control, 
.form-card .form-select {
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
}

.form-card .form-control:focus, 
.form-card .form-select:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
}

.text-indigo {
    color: #4f46e5;
}

.btn-gradient {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

/* ==========================================================================
   Design Tendance de la Photothèque en Mode Albums
   ========================================================================== */

/* Cartes des albums photos */
.gallery-card {
    cursor: pointer;
    background: #fff;
    border: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-card img {
    width: 100% !important;
    height: 220px !important; /* Force une hauteur fixe de rectangle horizontal */
    object-fit: cover !important; /* Découpe proprement l'image sans la déformer */
    aspect-ratio: 16 / 10 !important; /* Optionnel : garantit un ratio rectangulaire parfait */
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Superposition dégradée foncée permanente/progressive */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.2) 60%, rgba(15, 23, 42, 0) 100%);
    transition: background 0.4s ease;
}

/* Effets élégants au survol de la vignette d'un groupe */
.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(15, 23, 42, 0.2) !important;
}

.gallery-card:hover img {
    transform: scale(1.06);
}

.gallery-card:hover .gallery-overlay {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 60%, rgba(15, 23, 42, 0.1) 100%);
}

/* Légende et bandeau titre de la visionneuse */
.lightbox-caption {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 10;
}

.lightbox-caption h5 {
    color: #fff;
}


/* Personnalisation des boutons flèches du carrousel */
.carousel-control-prev, .carousel-control-next {
    width: 10%;
}


/* --- STYLE DU COMITE D'ORGANISATION (Dédié) --- */
.comite-container {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 20px;
    font-family: inherit;
}

/* Grille principale pour la présidence et le secrétariat */
.comite-main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 35px;
}

/* Grille pour l'ensemble des commissions */
.comite-commissions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Style de base des cartes */
.comite-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comite-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(3, 44, 104, 0.1);
}

/* Mise en valeur de la présidence et du secrétariat */
.comite-card.highlight {
    background: linear-gradient(145deg, #ffffff, #f4f7fc);
    border-left: 5px solid #032c68; /* Aligné sur la couleur de votre titre principal */
}

/* Titres des commissions */
.comite-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #032c68;
    margin-top: 0;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(3, 44, 104, 0.08);
    padding-bottom: 8px;
}

/* Liste des membres */
.comite-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comite-card li {
    font-size: 0.95rem;
    color: #495057;
    padding: 6px 0;
    display: flex;
    align-items: center;
}

/* Petit indicateur stylisé devant chaque nom */
.comite-card li::before {
    content: "•";
    color: #6366f1; /* Rappel de la couleur indigo de vos boutons */
    font-weight: bold;
    display: inline-block;
    width: 15px;
    font-size: 1.2rem;
}


/*** Video ***/

.conteneur-video-presentation {
    background-color: #e03e01; /* Remplacez par le code couleur de votre choix */
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--bs-dark);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--bs-dark);
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--bs-dark);
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--bs-white);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: var(--bs-white);
    background: #000000;
    opacity: 1;
}

/* Alignement et animation */
.fleche-luxe {
    display: inline-flex;
    animation: actionFleche 1.6s infinite cubic-bezier(0.25, 1, 0.5, 1);
}

/* Couleur orange personnalisée avec lueur blanche pour le contraste */
.fleche-orange {
    color: #fcb910; /* Un orange vif qui ressort bien */
    /*text-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 5px rgba(255, 255, 255, 0.6);*/
}

/* Animation fluide de va-et-vient */
@keyframes actionFleche {
    0% { 
        transform: translateX(4px); 
        opacity: 0.5;
    }
    50% { 
        transform: translateX(-8px); 
        opacity: 1;
    }
    100% { 
        transform: translateX(4px); 
        opacity: 0.5;
    }
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 0px;
    top: 5px;
    left: -40px;
    border-top: 2px solid var(--bs-primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 0px;
    bottom: 6px;
    left: -60px;
    border-bottom: 2px solid var(--bs-primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** About ***/

/*** About Section Background ACTUALITE DEFILANTE***/

/* Votre style existant conservé */
/* Votre style existant conservé */
/* Votre style existant conservé */
/*.container-fluid.py-6 {
    background-color: #e6ffe6; 
    overflow: hidden;
	padding-top: 20px;
}*/

/*.container-fluid.py-6 {
    
    background: 
        linear-gradient(rgba(230, 255, 230, 0.6), rgba(230, 255, 230, 0.6)),
        url(../img/basil.jpg) no-repeat center center;
    background-size: cover;
    overflow: hidden;
    padding-top: 20px;
}*/

.container-fluid.py-6 {
    /* 1. Voile vert pastel léger + Image fixe (effet parallaxe) */
    background: 
        linear-gradient(rgba(230, 255, 230, 0.85), rgba(230, 255, 230, 0.95)),
        url(../img/basil.jpg) no-repeat center center fixed;
    background-size: cover;
    
    /* 2. Ombre intérieure pour créer un effet d'encadrement en profondeur */
    box-shadow: inset 0 12px 24px -10px rgba(0, 0, 0, 0.25), 
                inset 0 -12px 24px -10px rgba(0, 0, 0, 0.25);
    
    overflow: hidden;
    padding-top: 20px;
}

/* --- En-tête design travaillé --- */
.glass-gallery-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 44px;
    position: relative;
}

/* Badge supérieur avec point lumineux */
.header-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    color: #1b4332;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    padding: 6px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(27, 67, 50, 0.08);
    border: 1px solid rgba(45, 106, 79, 0.15);
    margin-bottom: 14px;
}

.header-eyebrow .pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #2d6a4f;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.25);
}

/* Titre principal avec mise en valeur bicolore */
.glass-gallery-header h2 {
    color: #143625;
    font-weight: 800;
    font-size: 34px;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    line-height: 1.2;
}

.glass-gallery-header h2 span {
    background: linear-gradient(120deg, #1b4332 0%, #40916c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

/* Séparateur ornemental (lignes + losange central) */
.header-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 4px auto 14px auto;
}

.header-divider .line {
    width: 45px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #40916c);
    border-radius: 2px;
}

.header-divider .line.right {
    background: linear-gradient(90deg, #40916c, transparent);
}

.header-divider .diamond {
    width: 8px;
    height: 8px;
    background-color: #2d6a4f;
    transform: rotate(45deg);
    border-radius: 1px;
}

/* Sous-titre */
.glass-gallery-header p {
    color: #3d5a4c;
    font-size: 16px;
    max-width: 540px;
    line-height: 1.5;
    margin: 0;
}

/* --- Conteneur du carrousel --- */
.glass-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.glass-marquee-track {
    display: flex;
    gap: 26px;
    width: max-content;
    animation: scroll-glass 38s linear infinite;
}

/* Pause au survol */
.glass-marquee-wrapper:hover .glass-marquee-track {
    animation-play-state: paused;
}

/* --- Carte photo avec BORDURE BLANCHE --- */
.glass-card {
    position: relative;
    width: 340px;
    height: 290px;
    border-radius: 15px;
    border: 3px solid #ffffff;
    background-color: #ffffff;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 12px 28px rgba(20, 54, 37, 0.14);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    cursor: pointer;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 38px rgba(20, 54, 37, 0.24);
}

.glass-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.6s ease;
}

.glass-card:hover img {
    transform: scale(1.1);
}

/* Étiquette en haut à droite */
.glass-pill {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #1b4332;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

/* --- Panneau flottant en verre dépoli (Glassmorphism) --- */
.glass-info-panel {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    padding: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.35s ease;
    z-index: 2;
}

.glass-info-panel h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #143625;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Flèche indicative à droite du titre */
.glass-info-panel h4::after {
    content: "↗";
    font-size: 15px;
    color: #2d6a4f;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.glass-card:hover .glass-info-panel h4::after {
    transform: translate(3px, -3px);
}

/* Description déployable au survol */
.glass-description {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin: 0;
    font-size: 13.5px;
    color: #3d5a4c;
    line-height: 1.45;
    transition: max-height 0.4s ease, opacity 0.35s ease, margin-top 0.35s ease;
}

.glass-card:hover .glass-description {
    max-height: 90px;
    opacity: 1;
    margin-top: 8px;
}

/* --- Animation de défilement continu --- */
@keyframes scroll-glass {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 13px));
    }
}

/* --- Adaptation mobile & tablette --- */
@media (max-width: 768px) {
    .glass-card {
        width: 265px;
        height: 310px;
    }
    .glass-description {
        max-height: 90px;
        opacity: 1;
        margin-top: 8px;
    }
}

@media (max-width: 576px) {
    .glass-gallery-header h2 {
        font-size: 26px;
    }
}


/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.icon-box {
  text-align: center;
  border: 1px solid rgba(17, 72, 26, 0.3);
  padding: 80px 20px;
  transition: all ease-in-out 0.3s;
  background: rgba(230, 255, 230, 1) url(..//img/bas-tr-5-35.png); 
  
  border-top: 5px solid #11601b; /* Ajoute la ligne �paisse en haut (ici avec votre orange th�matique) */
  border-radius: 16px; /* Donne l'arrondi global de la carte et de la ligne sup�rieure */
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.05); /* Ajoute l'effet d'ombre douce sous la carte visible sur votre image */
}

.icon-box .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: #dd3907;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
  border-radius: 50px;
}

.icon-box .icon i {
  color: #fff;
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

/*Design titre*/

.icon-box .titre-cyber {
  position: relative;
  display: inline-block;
  padding: 10px 20px 10px 30px;
  color: #dd3907; /* Vert Cyber */
  background: rgba(221, 27, 7, 0.2);
  font-family: 'Courier New', monospace;
  font-weight: bold;
  font-size: 20px;
  text-transform: uppercase;
  border-left: 4px solid #dd3907;
  clip-path: polygon(0 0, 95% 0, 100% 25%, 100% 100%, 0 100%);
}

/*Fin design titre*/

.icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.icon-box:hover {
  /*border-color: #fff;*/
  border-color: rgba(17, 72, 26, 0.3); /* Garde votre bordure lat�rale stable */
  border-top-color: #11601b; /* Optionnel : la ligne du haut fonce l�g�rement au survol */
  box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
}


/* Call To Action Section
--------------------------------*/
#call-to-action {
  overflow: hidden;
  background: linear-gradient(rgba(247, 96, 49, 0.65), rgba(242, 65, 37, 0.2)), url(..//img/basilique.jpg) fixed center center;
  background-size: cover;
  padding: 80px 0;
  margin-top: 40px;
}

#call-to-action .cta-title {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

#call-to-action .cta-text {
  color: #fff;
}

@media (min-width: 769px) {
  #call-to-action .cta-btn-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}

#call-to-action .cta-btn {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 30px;
  border-radius: 25px;
  transition: background 0.5s;
  margin: 10px;
  border: 2px solid #fff;
  color: #fff;
}

#call-to-action .cta-btn:hover {
  background: #1dc8cd;
  border: 2px solid #1dc8cd;
}

/*** Donation ***/
.donation-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    transition: .5s;
}

.donation-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.donation-item .donation-progress {
    width: 80px;
}

.donation-item .progress .progress-bar {
    height: 20px;
    overflow: visible;
    transition: 3s;
}


/*** Banner ***/
.banner .banner-inner {
    position: relative;
    background: url(..//img/bg-1.jpg) center center no-repeat;
    background-size: cover;
}

.banner .banner-inner::before,
.banner .banner-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
}

.banner .banner-inner::before {
    top: 0;
    left: 0;
    /*border-top: 150px solid var(--bs-primary);
    border-right: 150px solid transparent;*/
}

.banner .banner-inner::after {
    right: 0;
    bottom: 0;
    /*border-bottom: 150px solid var(--bs-secondary);
    border-left: 150px solid transparent;*/
}


/*** Event ***/
.mon-info .event-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
	background-color: rgba(255, 255, 255, .6);
	border-radius: 15px;
    transition: .5s;
}

.mon-info .event-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
	background-color: rgba(255, 255, 255, 1);
}

.mon-info .titre-ligne {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  color: #124a1b;
  position: relative;
  padding-bottom: 10px;
}


.mon-info .titre-ligne::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: #c53607;
  border-radius: 2px;
}


/*** Donate ***/
.donate .donate-text {
    position: relative;
    background: url(..//img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.donate .donate-text::before,
.donate .donate-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
}

.donate .donate-text::before {
    top: 0;
    left: 0;
    border-top: 150px solid var(--bs-primary);
    border-right: 150px solid transparent;
}

.donate .donate-text::after {
    right: 0;
    bottom: 0;
    border-bottom: 150px solid var(--bs-secondary);
    border-left: 150px solid transparent;
}

.donate .donate-form .form-control {
    border: none;
    background: rgba(255, 255, 255, .5);
}

.donate .donate-form .btn-group {
    display: flex;
}

.donate .donate-form .btn-group .btn {
    margin: 0;
    padding: 0;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: var(--bs-tertiary);
    background: rgba(255, 255, 255, .5);
}

.donate .donate-form .btn-group .btn-check:checked+.btn {
    border: none;
    background: var(--bs-white);
}

.info-importante {
    background-color: rgba(226, 146, 1, .2);
}

/*** Team ***/
.team-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    transition: .5s;
}

.team-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.team-item .team-detail span {
    letter-spacing: 2px;
}



/*** Testimonial ***/
.testimonial-title {
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: url(..//img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-img {
    position: relative;
    padding: 45px 0 45px 90px;
}

.testimonial-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: #031e4f;
    z-index: -1;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 1.5rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.testimonial-carousel .owl-prev,
.testimonial-carousel .owl-next {
    width: 45px;
    height: 45px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--bs-white);
    background: var(--bs-secondary);
    transition: .5s;
}

.testimonial-carousel .owl-prev:hover,
.testimonial-carousel .owl-next:hover {
    color: var(--bs-secondary);
    background: var(--bs-white);
}

@media (max-width: 768px) {
    .testimonial-carousel .owl-nav {
        top: 6.3rem;
    }
}

.testimonial-img img {
    border: 2px solid #fcab08 !important;
}


/* Frequently Asked Questions Section
--------------------------------*/

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

.faq-list li {
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.faq-list .question {
  display: block;
  position: relative;
  font-family: #1dc8cd;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  padding-left: 25px;
  cursor: pointer;
  color: #179ca0;
  transition: 0.3s;
}

.faq-list i {
  font-size: 16px;
  position: absolute;
  left: 0;
  top: -2px;
}

.faq-list p {
  margin-bottom: 0;
  padding: 10px 0 0 25px;
}

.faq-list .icon-show {
  display: none;
}

.faq-list .collapsed {
  color: black;
}

.faq-list .collapsed:hover {
  color: #1dc8cd;
}

.faq-list .collapsed .icon-show {
  display: inline-block;
  transition: 0.6s;
}

.faq-list .collapsed .icon-close {
  display: none;
  transition: 0.6s;
}

/*** Footer ***/
.footer {
    color: var(--bs-tertiary);
    background: linear-gradient(rgba(6, 94, 33, 1), rgba(0, 64, 22, 1))/*, url(..//img/bg-footer.jpg) center center no-repeat*/;
    background-size: cover;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-tertiary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .pt-3 i {
    
    color: #fff;
    
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer .copyright .le-distib {
    font-size: 8px;
}

/*voir plus*/

.btn-voir-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  background-color: #1c5e26; /* Couleur de fond (Bleu moderne) */
  color: #ffffff; /* Couleur du texte */
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px; /* Bords arrondis */
  box-shadow: 0 4px 6px -1px rgba(28, 114, 38, 0.3), 0 2px 4px -1px rgba(28, 114, 38, 0.1);
  transition: all 0.3s ease-in-out;
  border: 2px solid transparent;
}

/* Effet au survol */
.btn-voir-plus:hover {
  background-color: #12491b;
  transform: translateY(-2px); /* Lève légèrement le bouton */
  box-shadow: 0 10px 15px -3px rgba(28, 114, 38, 0.4), 0 4px 6px -2px rgba(28, 114, 38, 0.1);
}

/* Effet au clic */
.btn-voir-plus:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}

/* Animation de l'icône */
.btn-voir-plus .icone {
  transition: transform 0.3s ease;
}

.btn-voir-plus:hover .icone {
  transform: translateX(5px); /* Décale l'icône vers la droite */
}

/* Lire plus */
.lien-lire-plus {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1e1b4b; /* Indigo très foncé / Presque noir */
  font-family: 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

/* Changement de couleur au survol */
.lien-lire-plus:hover {
  color: #4f46e5; /* Indigo plus lumineux */
}

/* Création de la ligne de soulignement animée */
.lien-lire-plus::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #4f46e5;
  transform: scaleX(0); /* Invisible par défaut */
  transform-origin: bottom center;
  transition: transform 0.3s ease-in-out;
}

/* Animation de la ligne au survol */
.lien-lire-plus:hover::after {
  transform: scaleX(1); /* S'étire sur toute la largeur */
}

/* Animation de la flèche */
.lien-lire-plus .icone {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lien-lire-plus:hover .icone {
  transform: translateX(4px); /* Pousse doucement vers la droite */
}


/* ==========================================================================
   1. CONFIGURATION PAR DEFAUT DE LA SIDEBAR FIXE DROITE (DESKTOP)
   ========================================================================== */
:root {
    --sidebar-width: 260px;
}

body {
    padding-right: var(--sidebar-width);
    margin: 0;
}

.sidebar-fixe-droite {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background-color: #014017 !important;
    border-left: 4px solid #e03e01;
    z-index: 1010;
    overflow-y: auto;
    padding-top: 100px;
}

.sidebar-header img {
		max-width: 12.5rem;
    }

.nav-bar, .sticky-top {
    z-index: 1040 !important;
}

@media screen and (min-width: 1601px) {
    .back-to-top {
        right: calc(260px + 30px) !important;
        z-index: 1020 !important;
    }
}

    /* Style de base pour les liens de la sidebar (optionnel pour la transition fluide) */
.sidebar-links li a {
    display: block;
    padding: 4px 6px;
    color: #ffffff; /* Couleur du texte initiale (� ajuster selon vos besoins) */
    text-decoration: none;
    border-radius: 3px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 12px;
}

/* Effet au survol (Hover) */
.sidebar-links li a:hover {
    background-color: #fbaa07; /* Nouvelle couleur de fond au survol (ex: Bleu Bootstrap) */
    color: #ffffff;            /* Nouvelle couleur de l'�criture et de l'ic�ne au survol */
}


    

/* ==========================================================================
   2. LE ZOOM GLOBAL a 80% POUR A ECRANS PC PORTABLES (13", 14", 15")
   ========================================================================== */
@media screen and (min-width: 1200px) and (max-width: 1600px) {
    :root {
        --img-scale: 0.75;
    }

    html {
        font-size: 75% !important; /* Reduit proportionnellement tout le site */
    }

    body {
        padding-right: calc(var(--sidebar-width) * 0.75); 
    }

    .sidebar-fixe-droite {
        width: calc(var(--sidebar-width) * 0.75);
        font-size: 1rem; 
    }
	
	.sidebar-header img {
		max-width: 12rem;
    }

    /* Reduction proportionnelle des images */
    img:not(.sidebar-fixe-droite img), 
    .carousel-item img, 
    svg:not(.sidebar-fixe-droite svg) {
        max-width: 100%;
        transform: scale(var(--img-scale));
        transform-origin: center center;
    }

    /* Positionnement du bouton de retour en haut */
    .back-to-top {
        right: calc(195px + 20px) !important; 
        z-index: 1020 !important;
    }
}

/* ==========================================================================
   3. ADAPTATION FORCEE : BARRE EN BAS POUR MOBILES ET TOUTES TABLETTES (< 1200px)
   ========================================================================== */
@media (max-width: 1199.98px) {
    html {
        font-size: 100% !important; /* Force la taille normale sur tablettes/mobiles */
    }
    
    body {
        padding-right: 0 !important;
        padding-bottom: 60px !important; /* Espace pour ne pas cacher le contenu sous le menu du bas */
    }

    /* FORCE la barre latérale à se positionner tout en bas de l'écran */
    .sidebar-fixe-droite {
        zoom: 100% !important;
        top: auto !important;
        left: 0 !important;
        bottom: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 60px !important;
        padding-top: 0 !important;
        border-left: none !important;
        border-top: 3px solid #e03e01 !important;
        overflow-y: hidden !important;
        display: flex !important;
        align-items: center !important;
        z-index: 1050 !important;
    }

    /* Masquage des éléments verticaux inutiles en bas */
    .sidebar-header, .sidebar-body hr, .sidebar-body p, .sidebar-body .btn {
        display: none !important;
    }

    .sidebar-body {
        width: 100% !important;
        padding: 0 !important;
    }
	

    /* Alignement horizontal des boutons de la barre */
    .sidebar-links {
        display: flex !important;
        justify-content: space-around !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .sidebar-links li {
        margin-bottom: 0 !important;
        flex: 1 !important;
        text-align: center !important;
    }

    .sidebar-links a {
        padding: 8px 5px !important;
        font-size: 12px !important;
        text-align: center !important;
        color: #ffffff !important;
    }
    
    .sidebar-links a i {
        display: block !important; 
        margin-right: 0 !important;
        margin-bottom: 3px !important;
        font-size: 16px !important;
    }

    /* Ajustement du bouton de retour en haut */
    .back-to-top {
        bottom: 80px !important; 
        right: 20px !important;
        z-index: 1060 !important;
    }

    /* --- NETTOYAGE DU MENU ACCORDEON PRINCIPAL (NAVBAR) --- */
    .nav-bar { padding: 0 !important; margin: 0 !important; }
    .navbar { padding-top: 5px !important; padding-bottom: 5px !important; }

    .navbar-collapse {
        max-height: calc(100vh - 160px) !important; 
        overflow-y: auto !important; 
        background-color: #024017 !important;
        padding: 10px 20px !important;
        margin-top: 5px;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    }

    .navbar-nav .nav-link {
        font-size: 14px !important;
        padding: 8px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .navbar-nav .nav-link i { transition: transform 0.2s ease; }
    .navbar-nav .nav-link[aria-expanded="true"] i { transform: rotate(180deg); color: #fcab08 !important; }

    .navbar-nav .collapse .nav-link {
        font-size: 13px !important;
        color: rgba(255, 255, 255, 0.7) !important;
        padding: 6px 0 6px 15px !important;
        border-bottom: none !important;
    }

    .navbar-nav .collapse .nav-link:hover { color: #fcab08 !important; padding-left: 20px !important; }

    .page-header .tele {
        
        margin-top: 20px !important;
    }

    .page-header .tele a {
        
        padding: 10px 10px;
        font-size: 0.7rem;
        border-radius: 15px;
        border: solid 1px #014016;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

}

/* Ajustements pour les �crans de 13, 14 et 15 pouces */
@media (min-width: 1200px) and (max-width: 1600px) {
	
	.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 10px 0;
    color: #fcab08;
    font-size: 14px;
    outline: none;
}
    .page-header p {
        /*max-width: 850px; */      /* Emp�che le texte de s'�taler trop largement */
        margin: 2rem auto 0 auto !important; /* Centre parfaitement le bloc de texte */
        padding: 0 40px 0 40px;          /* Cr�e un espace respirable autour du texte */
        /*background: rgba(255, 255, 255, 0.9);*/ /* Fond blanc semi-transparent pour d�tacher le texte de l'image */
        /*color: #333333; */        /* �criture sombre pour une lisibilit� maximale */
        /*border-radius: 8px; */    /* Arrondit les angles du bloc de texte */
        /*box-shadow: 0 4px 15px rgba(0,0,0,0.05);*/ /* L�g�re ombre port�e �l�gante */
        font-size: 1.8rem;     /* Ajuste subtilement la taille de lecture */
        /*line-height: 1.6; */      /* Am�liore l'espace entre les lignes */
        
    }

    /* 1. On réduit l'espace interne global pour resserrer le tout */
    .page-header {
        padding: 2.5rem 0 !important; 
    }

    /* 2. On réduit l'espace sous le titre */
    .page-header h2.titre-cybers {
        margin-bottom: 0.5rem !important;
    }

    /* 3. On gère le texte sous le titre */
    .page-header .header-text {
        margin-top: 0 !important;
        margin-bottom: 1rem !important;
        font-size: 0.95rem; /* Légèrement plus petit pour écran laptop */
    }

    /* 4. On réduit la taille de l'image pour qu'elle prenne moins de hauteur */
    .header-img-wrapper img {
        width: 90% !important; /* Passé de 90% à 70% pour éviter qu'elle ne prenne trop de place verticale */
        margin: 0 auto !important; /* Centre horizontalement */

        /* L'ASTUCE : La marge négative aspire l'image vers le haut */
        margin-top: -4rem !important; /* Ajustez le chiffre (ex: -3rem, -5rem) pour coller l'image au titre */

        /* Optionnel : Ajuste la hauteur pour éviter qu'elle ne pousse le bas du site */
        height: auto !important; 
    }

    .page-header .tele {
        
        margin-top: -50px !important;
    }

    .top-bar h1 {
    font-size: 1.1rem;
	color: #031e4f !important;
    }

    .top-bar h5 {
        font-size: 1.1rem;
        color: #fff !important;
    }

}

/* --- SÉCURISATION DE LA PHOTOTHÈQUE --- */
.gallery-card {
    position: relative;
    display: block;
    width: 100%;
    height: 100%; /* Force la carte à occuper toute la hauteur de la colonne */
    border-radius: 10px;
}

.gallery-card img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    aspect-ratio: 16 / 10 !important;
    display: block;
    border-radius: 10px;
}

/*VIDEO*/

/* Grille principale */
.container-vid {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.section-title {
    font-size: 28px;
    margin-bottom: 30px;
    border-left: 5px solid var(--accent-color);
    padding-left: 15px;
}

/* Grille responsive */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Légèrement plus large pour le 16/9 */
    gap: 30px;
}

/* Structure de la carte */
.video-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Conteneur pour forcer le ratio 16/9 de YouTube */
.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Ratio 16:9 */
    background-color: #000;
}

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

/* Informations sous la vidéo */
.video-info {
    padding: 18px;
}

.video-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-meta {
    font-size: 13px;
    color: var(--text-muted);
}

/* Effet au survol de la carte */
.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(255, 0, 0, 0.15);
}

/*AGENDA*/
/* ==========================================================================
   STYLES DU PLANNING AJOUTÉS (ADAPTÉS À VOTRE CHARTE)
   ========================================================================== */

/* Variables de couleurs calquées sur votre bouton vert */
:root {
    --plan-bg: #ffffff;
    --plan-green-dark: #176515;    /* Vert repris de votre bouton .tele a */
    --plan-green-light: #e8f3e7;   /* Teinte claire harmonieuse pour les heures */
    --plan-border: #e2e8f0;
    --plan-text: #1e293b;
}

/* Conteneur des plannings inséré dans le header */
.schedule-container {
    width: 100%;
    max-width: 900px;
    margin: 40px auto 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

/* Blocs blancs pour détacher les journées du fond de page */
.day-section {
    background: var(--plan-bg);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--plan-border);
}

/* Entêtes internes (Jour + Date) */
.day-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--plan-green-light);
    padding-bottom: 8px;
}

.day-header h3 {
    font-size: 20px;
    color: var(--plan-green-dark);
    font-weight: 700;
    margin: 0;
}

.day-date {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

/* Sécurité défilement mobile */
.table-wrapper {
    overflow-x: auto;
}

/* Tableaux */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 15px;
}

/* Entête vert du tableau */
.schedule-table th {
    background-color: var(--plan-green-dark);
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 12px 16px;
}

.schedule-table th:first-child {
    border-top-left-radius: 6px;
}
.schedule-table th:last-child {
    border-top-right-radius: 6px;
}

/* Cellules */
.schedule-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--plan-border);
    color: var(--plan-text);
}

/* Colonne Heures */
.time-cell {
    font-weight: 600;
    color: var(--plan-green-dark) !important;
    background-color: var(--plan-green-light);
    width: 140px;
}

/* Effet ligne au survol */
.schedule-table tbody tr {
    transition: background-color 0.2s ease;
}
.schedule-table tbody tr:hover {
    background-color: #f8fafc;
}

.schedule-table tbody tr:last-child td {
    border-bottom: none;
}

/* Zone du bouton sous le tableau */
.download-wrapper {
    display: flex;
    justify-content: flex-end; /* Aligne le bouton à droite sous le tableau */
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed var(--plan-border); /* Petite ligne de séparation discrète */
}

/* Style du bouton de téléchargement par jour */
.btn-download {
    display: inline-block;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 20px;
    border: solid 1px #014016;
    background-color: var(--plan-green-dark); /* Utilise votre couleur verte originale */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

/* Effets au survol du bouton */
.btn-download:hover {
    transform: translateY(-2px);
    background-color: #124f10; /* Un vert légèrement plus sombre au survol */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* Ajustement mobile pour centrer le bouton sur petit écran */
@media (max-width: 576px) {
    .download-wrapper {
        justify-content: center;
    }
    .btn-download {
        width: 100%;
        text-align: center;
    }
}
