:root {
  --primary-dark: #0a2240;
  --primary-blue: #0d47a1;
  --accent-yellow: #ffc107;
  --navy: #0A1A3F;
  --navy-light: #142850;
  --gold: #FFC300;
  --gold-dark: #E6AF00;
  --white: #FFFFFF;
  --gray: #F5F7FA;
}

body {
  font-family: 'Segoe UI', sans-serif;
  overflow-x: hidden;
}

.mis {
   font-size: 1.3rem;
  line-height: 1.3;
}

/* HEADER */
.header-top {
  background-color:#0a2240;
}
.header-top .nav-link {
  color: rgba(255,255,255,0.8);
}
.header-top .nav-link:hover {
  color: #ffc107;
}

  .header-top .navlogo img{
    width:auto;
    height: 80px ;
    border-radius: 15%;
    min-width: 80px;
  }

  @media (max-width:480px){
      .header-top .navlogo img{
    width:auto;
    height: 50px ;
    min-width: 50px;
  }
    .header-top .navlogo h3{
   font-size: 24px;
  }
  .header-top .navlogo small{
   font-size: 12px;
  }
  }



/* HERO */
.hero-section {
  background:#0a2240; 
  position: relative;
  overflow: hidden;
}

.slide-head{
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 400px;
}

.slide-head img{
  position: absolute;
    width:100%;
    height: 100% ;
    min-width: 50%;
 border-radius: 10%;
  inset: 0;
  object-fit: cover;
  opacity: 0;
  animation: crossfade 56s infinite;
}

.slide-head img:nth-child(1){animation-delay: 0s;}
.slide-head img:nth-child(2){animation-delay: 7s;}
.slide-head img:nth-child(3){animation-delay: 14s;}
.slide-head img:nth-child(4){animation-delay: 21s;}
.slide-head img:nth-child(5){animation-delay: 28s;}
.slide-head img:nth-child(6){animation-delay: 35s;}
.slide-head img:nth-child(7){animation-delay: 42s;}
.slide-head img:nth-child(8){animation-delay: 49s;}
.slide-head img:nth-child(9){animation-delay: 56s;}

@keyframes crossfade{
  0% {opacity: 0;}
  8% {opacity: 1;}
  33% {opacity: 1;}
  41% {opacity: 0;}
  100% {opacity: 0;}
  
}

.slide-head:hover .slide-head{
  animation-play-state: paused;
}


.stats-row {
  padding-top: 1.5rem;
}

.stats-icon {
  font-size: 2rem;
}

/* FILIALES */
.filiale-card {
  border: none;
  height: 350px;
  overflow: hidden;
  position: relative;
}
.filiale-card .card-img {
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
  transition: 0.3s;
}

.filiale-card .badge-img{
  position: absolute;
  top: 16px; left: 16px;
}

.filiale-card .badge-img img{
  width: 50px ;height: auto;
  border-radius: 20%;
}




.filiale-card:hover .card-img {
  transform: scale(1.05);
  filter: brightness(0.4);
}

/* ==================== SLIDER TEXTE 4 DIRECTIONS - SCOPÉ ==================== */
.text-slider-section {
  width: 100%;
  height: 400px;
  padding: 2rem 0;
  background: #0a2240;
}

.text-slider-container {
  width: 100%;
  max-width: 2000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-slider-container .text-slider {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: rgba(26,61,109,0.3);
  border-radius: 1rem;
  border: 2px solid rgba(255,193,7,0.3);
}

/* IMPORTANT: .text-slide au lieu de .slide pour éviter conflit Bootstrap */
.text-slider-container .text-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  opacity: 0;
}


.text-slider-container .text-slide p {
  font-size: 2.3rem;
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  line-height: 1.6;
}
@media (max-width: 450px){
.text-slider-container .text-slide p {
  font-size: 1.5rem;
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  line-height:1.6;
}
  }

/* Animations 40s boucle infinie */
.text-slider-container .text-slide-1 {
  animation: slideBottom 40s ease-in-out infinite;
}
.text-slider-container .text-slide-2 {
  animation: slideTop 40s ease-in-out infinite;
}
.text-slider-container .text-slide-3 {
  animation: slideRight 40s ease-in-out infinite;
}
.text-slider-container .text-slide-4 {
  animation: slideLeft 40s ease-in-out infinite;
}

@keyframes slideBottom {
  0%, 2.5% { transform: translateY(100%); opacity: 0; }
  5%, 22.5% { transform: translateY(0); opacity: 1; }
  25%, 100% { transform: translateY(-100%); opacity: 0; }
}

@keyframes slideTop {
  0%, 25% { transform: translateY(-100%); opacity: 0; }
  27.5%, 47.5% { transform: translateY(0); opacity: 1; }
  50%, 100% { transform: translateY(100%); opacity: 0; }
}

@keyframes slideRight {
  0%, 50% { transform: translateX(100%); opacity: 0; }
  52.5%, 72.5% { transform: translateX(0); opacity: 1; }
  75%, 100% { transform: translateX(-100%); opacity: 0; }
}

@keyframes slideLeft {
  0%, 75% { transform: translateX(-100%); opacity: 0; }
  77.5%, 97.5% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}

/* Bouton Pause */
.text-slider-container .slider-controls {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.text-slider-container .btn-control {
  background: #ffc107;
  color: #0a2240;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
}

.text-slider-container .btn-control:hover {
  background: #ffca2c;
  transform: scale(1.1);
}

#sliderWrapper.paused .text-slide {
  animation-play-state: paused;
}

#toggleBtn .btn-control {
  content:'❚❚';
}


/* ==================== NE PAS TOUCHER AU CAROUSEL BOOTSTRAP ==================== */
/* Laisse #eventsCarousel tranquille, Bootstrap gère */
#eventsCarousel {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}


#eventsCarousel .event-media {
  height: 400px;
  object-fit: cover;
}
/* ==================== RESPONSIVE ==================== */
@media (max-width: 767.98px) {
 .text-slider {
    height: 250px;
  }
 .slide h2 {
    font-size: 2rem;
  }
 .slide p {
    font-size: 1rem;
  }
}


/* JEUX */
.game-card {
  border: 1px solid #eee;
  transition: 0.3s;
}
.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.game-card img {
  height: 180px;
  object-fit: cover;
}

/* ==================== MEMBRES CARDS ==================== */
.membre-card {
  border: none;
  transition: transform 0.3s;
  padding-top: 50px; /* Espace pour photo qui dépasse */
  margin-top: 50px;
}
.membre-card:hover {
  transform: translateY(-5px);
}
/* Photo ronde 100px, border blanc 4px, shadow */
.membre-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: -100px auto 1rem; /* Remonte sur la card */
  border: 4px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ==================== ACTUALITÉS CARDS ==================== */
.actu-card {
  border: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s;
  height: 100%;
}
.actu-card:hover {
  transform: translateY(-5px);
}
/* Image 200px height */
.actu-card img {
  height: 200px;
  object-fit: cover;
}

  .more-text{
    display: block;
    max-height:0;
    overflow:hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
  }
  .more-text.show{
    max-height:200px;
    opacity:1;
  }

/* ==================== ÉVÉNEMENTS CAROUSEL ==================== */
#eventsCarousel {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
/* Media 400px desktop, 250px mobile */
.event-media {
  height: 400px;
  object-fit: cover;
}
/* Contrôles ronds bg-dark */
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  padding: 1.5rem;
  background-color: var(--primary-dark);
  border-radius: 50%;
  background-size: 50% 50%;
}

/* ==================== PARTENAIRES SLIDER INFINI ==================== */
.partenaires-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.slider-track {
  display: flex;
  animation: scroll 30s linear infinite; /* 30s pour 6 logos x2 */
  width: calc(200px * 12); /* 200px x 12 images */
}
/* Logos 60px height, grayscale 100%, opacity 0.6 */
.slider-track img {
  height: 60px;
  width: 200px;
  object-fit: contain;
  padding: 0 2rem;
  opacity: 0.8;
  transition: all 0.3s;
}
/* Hover: couleur normale */
.slider-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
}
/* Animation défilement */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-200px * 6)); } /* Défile 6 logos */
}




/* CTA */
.cta-section {
  background: linear-gradient(100deg, var(--accent-yellow) 0%, var(--primary-blue) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  left: -50px;
  top: 0;
  width: 150px;
  height: 100%;
  background: var(--primary-dark);
  transform: skewX(15deg);
}

/* PARTENAIRES */
.partners img {
  filter: grayscale(1);
  opacity: 0.6;
  transition: 0.3s;
}
.partners img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* FOOTER */
.footer-main .imgf img{
 width:auto;
    height: 50px ;
    border-radius: 10%;
    min-width: 50px;
}
.footer-main {
  background-color: var(--primary-dark);
}
.footer-main a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-main a:hover {
  color: var(--accent-yellow);
}
.footer-main ul li {
  margin-bottom: 0.5rem;
}
/* RESPONSIVE MOBILE */
@media (max-width: 991.98px) {
  /* Hero : texte centré + fond plein */
  .hero-section {
    text-align: center;
  }
  .hero-section::after {
    display: none; /* Cache la bande jaune diagonale sur mobile */
  }
  .hero-section h1 {
    font-size: 2rem;
  }
  .stats-row {
    justify-content: center;
  }
  .stats-row.col-6 {
    text-align: center;
  }

  /* Boutons hero full width sur mobile */
  .hero-section.btn-lg {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 767.98px) {
  /* Filiales : texte plus petit */
  .filiale-card {
    height: 200px;
  }
  .filiale-card p {
    display: none; /* Cache la description sur petit mobile */
  }

  /* Jeux : 2 par ligne au lieu de 4 */
  .game-card img {
    height: 140px;
  }

  /* CTA : centré */
  .cta-section {
    text-align: center;
  }
  .cta-section::before {
    display: none; /* Cache la bande bleue diagonale */
  }
  .cta-section.btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  /* Footer : colonnes empilées */
  .footer-main.col-6 {
    width: 50%;
  }
}

@media (max-width: 575.98px) {
  /* Très petit mobile */
  .navbar-brand small {
    display: none; /* Cache le sous-titre logo */
  }
  h1 {
    font-size: 1.75rem !important;
  }
  h2 {
    font-size: 1.5rem;
  }
  .partners {
    justify-content: center !important;
  }
  .partners img {
    height: 20px;
  }
}

/* ==================== SLIDER VERTICAL 3 ITEMS 3S SCOPÉ ==================== */

.vertical-slider-wrapper .vertical-slider {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  border-radius: 1rem;
  background:#0a2240;
  margin-bottom: 0rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border: 2px solid rgba(255,193,7,0.3);
}

/* Items du slider */
.vertical-slider-wrapper .v-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.vertical-slider-wrapper .v-slide-img {
  margin-top: 1rem;
  width: 350px;
  height: 200px;
  object-fit: cover;
  border: 4px solid #ffc107;
  margin-bottom: 0.5rem;
}

.vertical-slider-wrapper .v-slide-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0rem;
}

.vertical-slider-wrapper .v-slide-role{
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 0rem;
  letter-spacing: 1px;
}

.vertical-slider-wrapper .v-slide-content p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* ==================== ANIM HAUT VERS BAS 9s BOUCLE INFINIE ==================== */
/* 3 slides x 3s = 9s total. 0.3s entrée + 2.4s pause + 0.3s sortie */

.vertical-slider-wrapper .v-slide-1 {
  animation: vSlideDown1 21s ease-in-out infinite;
}
.vertical-slider-wrapper .v-slide-2 {
  animation: vSlideDown2 21s ease-in-out infinite;
}
.vertical-slider-wrapper .v-slide-3 {
  animation: vSlideDown3 21s ease-in-out infinite;
}

/* Slide 1: 0-3s visible */
@keyframes vSlideDown1 {
  0%, 3.33% { transform: translateY(-100%); opacity: 0; }
  10%, 30% { transform: translateY(0); opacity: 1; }
  33.33%, 100% { transform: translateY(100%); opacity: 0; }
}

/* Slide 2: 3-6s visible */
@keyframes vSlideDown2 {
  0%, 33.33% { transform: translateY(-100%); opacity: 0; }
  43.33%, 63.33% { transform: translateY(0); opacity: 1; }
  66.66%, 100% { transform: translateY(100%); opacity: 0; }
}

/* Slide 3: 6-9s visible */
@keyframes vSlideDown3 {
  0%, 66.66% { transform: translateY(-100%); opacity: 0; }
  76.66%, 96.66% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}

/* ==================== CONTRÔLES ==================== */
/* ==================== RESPONSIVE ==================== */
@media (max-width: 767.98px) {
 .vertical-slider-wrapper .vertical-slider {
    height: 300px;
  }
 .vertical-slider-wrapper .v-slide-img {
    width: 195px;
    height: 120px;
  }
 .vertical-slider-wrapper .v-slide-content h3 {
    font-size: 1.3rem;
  }
}


  
  /* 1. HERO AVEC IMAGE QUI BOUGE */
  .hero-about {
    position: relative;
    height: 40vh;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
  }
  .hero-bg {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: url('../img/act2.jpg') center/cover;
    animation: kenburns 20s ease-in-out infinite alternate;
    z-index: 1;
  }
  .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,26,63,0.9) 0%, rgba(10,26,63,0.7) 100%);
  }
  @keyframes kenburns {
    0% { transform: scale(1) translate(0, 0); }
    25% { transform: scale(1.1) translate(-2%, 2%); }
    50% { transform: scale(1.05) translate(2%, -2%); }
    75% { transform: scale(1.1) translate(-1%, -1%); }
    100% { transform: scale(1) translate(1%, 1%); }
  }
  .hero-content {
    position: relative;
    z-index: 2;
  }

  .imgl {
    width:auto;
    height: 350px ;
    min-width: 350px;
  }
  
  /* 2. ONGLETS MISSION/VISION */
  .tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    border-bottom: 2px solid #e8ecf1;
    margin-bottom: 30px;
  }
  .tab-btn {
    background: none;
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    color: var(--navy);
    position: relative;
    transition: all 0.3s;
    cursor: pointer;
  }
  .tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gold);
    transition: width 0.3s;
  }
  .tab-btn.active {
    color: var(--gold);
  }
  .tab-btn.active::after {
    width: 100%;
  }
  .tab-content {
    display: none;
    animation: fadeIn 0.5s;
  }
  .tab-content.active {
    display: block;
  }
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .info-box {
    background: var(--gray);
    border-left: 4px solid var(--gold);
    padding: 30px;
    border-radius: 8px;
     height: 350px;
    min-height: 350px;
  }


    /* 2. ONGLETS MISSION/VISION AJES */
  .tab-nav1 {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    border-bottom: 2px solid #e8ecf1;
    margin-bottom: 30px;
  }
  .tab-btn1 {
    background: none;
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    color: var(--navy);
    position: relative;
    transition: all 0.3s;
    cursor: pointer;
  }
  .tab-btn1::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gold);
    transition: width 0.3s;
  }
  .tab-btn1.active {
    color: var(--gold);
  }
  .tab-btn1.active::after {
    width: 100%;
  }
  .tab-content1 {
    display: none;
    animation: fadeIn 0.5s;
  }
  .tab-content1.active {
    display: block;
  }
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .info-box1 {
    background: var(--gray);
    border-left: 4px solid var(--gold);
    padding: 30px;
    border-radius: 8px;
     height: 400px;
    min-height: 400px;
  }
  
  /* 3. SLIDER INFINI ÉVÉNEMENTS */
  .events-slider {
    overflow: hidden;
    position: relative;
  }
  .events-track {
    display: flex;
    animation: scroll 30s linear infinite;
    gap: 20px;
  }
  .events-track:hover {
    animation-play-state: paused;
  }
  @keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  .event-card {
    min-width: 300px;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
  }
  .event-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
  }
  .event-card:hover img {
    transform: scale(1.1);
  }
  .event-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,26,63,0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: white;
  }
  
  /* 4. SLIDER FONDU AVIS */
  .testimonial-swiper {
    background: var(--navy);
    border-radius: 16px;
    padding: 60px 40px;
  }
  .testimonial-card {
    text-align: center;
    color: var(--white);
  }
  .testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    margin: 0 auto 20px;
    object-fit: cover;
  }
  .stars {
    color: var(--gold);
    font-size: 20px;
    margin-bottom: 15px;
  }
  .swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.5;
  }
  .swiper-pagination-bullet-active {
    background: var(--gold);
    opacity: 1;
  }
  
  /* 5. COMPTEURS AU SURVOL */
  .counter-card {
    background: var(--white);
    border: 2px solid #e8ecf1;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.4s;
    cursor: pointer;
  }
  .counter-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(10, 26, 63, 0.15);
    border-color: var(--gold);
  }
  .counter-icon {
    font-size: 48px;
    color: var(--gold);
    margin-bottom: 15px;
    transition: transform 0.4s;
  }
  .counter-card:hover .counter-icon {
    transform: scale(1.2) rotate(5deg);
  }
  .counter-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--navy);
    display: block;
  }
  
  /* 6. LISTE MEMBRES */
  .member-card {
    background: var(--white);
    border: 2px solid #e8ecf1;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
  }
  .member-card:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 25px rgba(255, 195, 0, 0.2);
  }
  .member-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    margin: 0 auto 15px;
    object-fit: cover;
  }
  .member-social a {
    color: var(--navy);
    font-size: 18px;
    margin: 0 8px;
    transition: color 0.3s;
  }
  .member-social a:hover {
    color: var(--gold);
  }
  
  .section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 50px;
  }
  .section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gold);
  }
  .text-gold { color: var(--gold); }
  .bg-navy { background: var(--navy); }

  @media (max-width: 780px) {
 .tab-content h2,
 .tab-content1 h2{
    font-size: 1.4rem;
  }
 .tab-content h3,
 .tab-content1 h3 {
    font-size: 1.2rem;
  }
 .tab-content h4,
 .tab-content1 h4 {
    font-size: 0.85rem;
  }
  .tab-content h5,
  .tab-content1 h5 {
    font-size: 0.7rem;
  }
  .tab-content h6, 
  .tab-content1 h6{
    font-size: 0.5rem;
  }
}


/* 2. CARTES CONTACT */
  .contact-card {
    background: var(--white);
    border: 2px solid #e8ecf1;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
    height: 100%;
    position: relative;
    overflow: hidden;
    will-change: transform;
  }
  .contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,195,0,0.1), transparent);
    transition: left 0.6s;
  }
  .contact-card:hover::before {
    left: 100%;
  }
  .contact-card:hover {
    transform: translate3d(0, -10px, 0);
    box-shadow: 0 20px 40px rgba(10, 26, 63, 0.15);
    border-color: var(--gold);
  }
  .contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: var(--gold);
    transition: transform 0.4s, background 0.4s;
    will-change: transform;
  }
  .contact-card:hover .contact-icon {
    transform: rotateY(360deg) scale3d(1.1, 1.1, 1);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--navy);
  }
  
  /* 3. FORMULAIRE */
  .contact-form-wrap {
    background: var(--white);
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(10, 26, 63, 0.08);
  }
  .form-floating {
    margin-bottom: 25px;
  }
  .form-control, .form-select {
    border: 2px solid #e8ecf1;
    border-radius: 10px;
    padding: 15px 20px;
    transition: border-color 0.3s, box-shadow 0.3s;
  }
  .form-control:focus, .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(255, 195, 0, 0.15);
    outline: none;
  }
  .form-control.is-valid {
    border-color: var(--green);
  }
  .form-control.is-invalid {
    border-color: var(--red);
  }
  .btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border: none;
    color: var(--navy);
    padding: 15px 40px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    will-change: transform;
  }
  .btn-gold::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
  }
  .btn-gold:hover::before {
    width: 300px;
    height: 300px;
  }
  .btn-gold:hover {
    transform: translate3d(0, -3px, 0);
    box-shadow: 0 10px 25px rgba(255, 195, 0, 0.4);
  }
  .btn-gold:active {
    transform: translate3d(0, -1px, 0);
  }
  
  /* 4. SOCIALS */
  .social-link {
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid #e8ecf1;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 8px;
    font-size: 22px;
    color: var(--navy);
    transition: transform 0.4s, background 0.4s, border-color 0.4s;
    will-change: transform;
  }
  .social-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translate3d(0, -5px, 0) rotate(5deg);
    box-shadow: 0 10px 20px rgba(255, 195, 0, 0.3);
  }
  
  /* 5. TOAST */
  .toast-success {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--green);
    color: var(--white);
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.3);
    transform: translate3d(400px, 0, 0);
    transition: transform 0.4s;
    z-index: 9999;
  }
  .toast-success.show {
    transform: translate3d(0, 0, 0);
  }
  
  /* 6. ANIMATION ENTRÉE */
  .fade-in-up {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    animation: fadeInUp 0.8s forwards;
  }
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }
  .delay-1 { animation-delay: 0.1s; }
  .delay-2 { animation-delay: 0.2s; }
  .delay-3 { animation-delay: 0.3s; }


  .event-filters {
    background: var(--white);
    border: 2px solid #e8ecf1;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 40px;
  }
  .filter-btn {
    background: var(--white);
    border: 2px solid #e8ecf1;
    color: var(--navy);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    margin: 0 8px 10px 0;
    transition: all 0.3s;
  }
  .filter-btn:hover, .filter-btn.active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
  }
  
  .event-card {
    background: var(--white);
    border: 1px solid #e8ecf1;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s;
    height: 100%;
  }
  .event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(10, 26, 63, 0.15);
    border-color: var(--gold);
  }
  .event-img-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
  }
  .event-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .event-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--white);
    border-radius: 12px;
    padding: 12px 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
  .event-date-badge .day {
    font-size: 28px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
  }
  .event-date-badge .month {
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
  }
  .event-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
  }
  .status-upcoming { background: var(--gold); color: var(--navy); }
  .status-live { background: var(--green); color: var(--white); animation: blink 2s infinite; }
  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
  }
  .event-body { padding: 25px; }
  .event-meta {
    font-size: 13px;
    color: #6C757D;
    margin-bottom: 15px;
  }
  .event-meta i { color: var(--gold); }
  .event-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
  }
  .event-title a {
    color: var(--navy);
    text-decoration: none;
  }
  .event-title a:hover { color: var(--gold); }
  .event-countdown {
    background: var(--gray);
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    text-align: center;
  }
  .countdown-item {
    display: inline-block;
    margin: 0 8px;
  }
  .countdown-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--navy);
    display: block;
  }
  .countdown-label {
    font-size: 10px;
    color: #6C757D;
    text-transform: uppercase;
  }
  .btn-gold {
    background: var(--gold);
    border: none;
    color: var(--navy);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s;
  }
  .btn-gold:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
  }
  .btn-outline-gold {
    background: var(--white);
    border: 2px solid var(--gold);
    color: var(--navy);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
  }
  .btn-outline-gold:hover {
    background: var(--gold);
  }
  .btn-map {
    background: var(--navy);
    border: none;
    color: var(--white);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
  }
  .btn-map:hover {
    background: #142850;
    color: var(--white);
  }
  
  .mini-calendar, .map-widget {
    background: var(--white);
    border: 1px solid #e8ecf1;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
  }
  .widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--gold);
  }
  #map {
    width: 100%;
    height: 350px;
    border-radius: 12px;
  }
  
  .modal-content {
    border-radius: 16px;
    border: none;
  }
  .modal-header {
    background: var(--navy);
    color: var(--white);
    border-radius: 16px 16px 0 0;
  }


     /* CSS Pour le Blog et actualite */
 .text-gold { color: var(--gold); }

  /* CARTE ARTICLE GRID */

 .article-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
 .article-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
  }
 .article-meta i { color: var(--gold); }
 .article-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
  }
 .article-title a {
    color: var(--navy);
    text-decoration: none;
    transition: color 0.3s;
  }
 .article-title a:hover { color: var(--gold); }
 .article-excerpt {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
    flex-grow: 1;
  }

  /* FEATURED */
 .featured-post {
    background: var(--gray);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 50px;
  }
 .featured-img { height: 400px; }
 .featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* SIDEBAR */
 .sidebar-widget {
    background: var(--white);
    border: 1px solid #e8ecf1;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
  }
 .widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--gold);
  }
 .category-list li {
    border-bottom: 1px solid #e8ecf1;
    padding: 12px 0;
  }
 .category-list li:last-child { border-bottom: none; }
 .category-list a {
    color: var(--navy);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    transition: color 0.3s;
  }
 .category-list a:hover { color: var(--gold); }
 .category-list.count {
    background: var(--gray);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
  }
 .tag-cloud a {
    display: inline-block;
    background: var(--gray);
    color: var(--navy);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    margin: 0 8px 10px 0;
    text-decoration: none;
    transition: all 0.3s;
  }
 .tag-cloud a:hover {
    background: var(--gold);
    color: var(--navy);
  }

  /* FILTRES */
 .filter-btn {
    background: var(--white);
    border: 2px solid #e8ecf1;
    color: var(--navy);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    margin: 0 8px 10px 0;
    transition: all 0.3s;
  }
 .filter-btn:hover,.filter-btn.active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
  }
 .view-toggle button {
    background: var(--white);
    border: 2px solid #e8ecf1;
    color: var(--navy);
    width: 45px;
    height: 45px;
    border-radius: 8px;
    margin-left: 8px;
  }
 .view-toggle button.active {
    background: var(--gold);
    border-color: var(--gold);
  }

  /* DATE FILTER */
 .date-filter {
    display: flex;
    gap: 10px;
    align-items: center;
  }
 .date-filter input {
    border: 2px solid #e8ecf1;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
  }
 .date-filter input:focus {
    border-color: var(--gold);
    outline: none;
  }

  /* PAGINATION */
 .pagination.page-link {
    color: var(--navy);
    border: 2px solid #e8ecf1;
    margin: 0 5px;
    border-radius: 8px;
    font-weight: 600;
    padding: 10px 18px;
  }
 .pagination.page-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
  }
 .pagination.page-item.active.page-link {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
  }

  /* COMMENTAIRES */
 .comment-section {
    background: var(--gray);
    border-radius: 16px;
    padding: 40px;
    margin-top: 60px;
  }
 .comment-form textarea {
    border: 2px solid #e8ecf1;
    border-radius: 8px;
    padding: 15px;
    width: 100%;
    min-height: 120px;
  }
 .comment-form textarea:focus {
    border-color: var(--gold);
    outline: none;
  }
 .comment-form input {
    border: 2px solid #e8ecf1;
    border-radius: 8px;
    padding: 12px 15px;
  }
 .btn-gold {
    background: var(--gold);
    border: none;
    color: var(--navy);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s;
  }
 .btn-gold:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
  }
 .comment-item {
    background: var(--white);
    border: 1px solid #e8ecf1;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
  }
 .comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
  }

  /* SEARCH */
 .search-box {
    position: relative;
  }
 .search-box input {
    border: 2px solid #e8ecf1;
    border-radius: 8px;
    padding: 12px 50px 12px 20px;
    width: 100%;
  }
 .search-box input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(255, 195, 0, 0.25);
    outline: none;
  }
 .search-box button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gold);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    color: var(--navy);
  }






