/* ============================================================
   === STYLES GÉNÉRAUX
   ============================================================ */
body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: #0b1b2a;
  color: #f0f0f0;
}

/* ============================================================
   === HEADER
   ============================================================ */
header {
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: transparent;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}
.actus-fixes {
  margin-top: 60px;
}

.navbar {
  background-color: #0b1b2a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  width: calc(100% - 80px);
  max-width: 1850px;
  margin: 0 auto;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.logo img {
  height: 90px;
}

/* === Menu principal === */
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #00b4d8;
}

/* === Bouton menu burger (mobile) === */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animation burger actif */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* ============================================================
   === HERO (bannière accueil)
   ============================================================ */
.hero {
  position: relative;
  width: calc(80% - 80px);
  max-width: 1850px;
  margin: 0 auto;
  margin-top: 120px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
  transition: transform 3s ease;
}

.hero:hover img {
  transform: scale(1.05);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 30, 0.35);
  z-index: 1;
  border-radius: inherit;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  animation: fadeIn 2s ease forwards;
}

/* === Titre avec liseré et ombre bleue === */
.hero-content h1 {
  font-size: 3em;
  font-weight: 800;
  color: #0a2436;
  text-shadow:
    -1px -1px 1px rgba(255, 255, 255, 0.5),
     1px -1px 1px rgba(255, 255, 255, 0.5),
    -1px  1px 1px rgba(255, 255, 255, 0.5),
     1px  1px 1px rgba(255, 255, 255, 0.5),
     0 3px 6px rgba(0, 0, 0, 0.9);
}

/* === Sous-titre (bleu clair, ombre) === */
.hero-content p {
  font-size: 1.5em;
  color: #0a2436;
  text-shadow:
    0 2px 4px rgba(255, 255, 255, 0.6),
    0 3px 8px rgba(0, 0, 0, 0.7);
  margin-top: 0.5em;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   === ACTUALITÉS
   ============================================================ */
.actus {
  display: flex;
  justify-content: center;
  padding: 70px 20px;
}

.actus-wrapper {
  background-color: #08111a;
  width: 85%;
  max-width: 1500px;
  border-radius: 20px;
  padding: 50px 30px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.actus-wrapper h2 {
  color: #00b4d8;
  font-size: 2em;
  margin-bottom: 40px;
}

.actus-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  justify-items: center;
}

.actu {
  background-color: #0b1b2a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 400px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.actu:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

.actu img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.actu h3 {
  color: #00b4d8;
  margin: 15px 10px 5px 10px;
  font-size: 1.2em;
}

.actu p {
  color: #e0e0e0;
  font-size: 0.95em;
  margin: 0 10px 20px 10px;
}

/* ============================================================
   === FOOTER
   ============================================================ */
footer {
  width: 100%;
  display: flex;

  background-color: #061826;
  height: 30px;

  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3);
}

.footer-container {
  max-width: 1700px;
  display: flex;

  width: 100%;
  padding: 0 40px;
}

.footer-container p {
  color: #ffffff;
  font-size: 14px;
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.4px;
}

/* ============================================================
   === RESPONSIVE MOBILE
   ============================================================ */
@media (max-width: 900px) {
  .navbar {
    width: 95%;
    height: 70px;
    padding: 0 20px;
    border-radius: 0;
  }

  .logo img {
    height: 45px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background-color: #061826;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid #0b2439;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: flex; /* 🔹 les 3 barres reviennent */
  }

  /* HERO mobile */
  .hero {
    width: 95%;
    margin-top: 90px;
    border-radius: 10px;
  }

  .hero-content h1 {
    font-size: 2em;
  }

  .hero-content p {
    display: none; /* 🔹 le sous-titre disparaît sur mobile */
  }

  .actus-wrapper {
    width: 95%;
    padding: 30px 15px;
  }

  .actus-container {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   === PAGE CONTACT
   ============================================================ */
.contact-section {
  display: flex;
  justify-content: center;
  background-color: #0b1b2a;
  padding: 100px 20px;
  min-height: 80vh;
}

.contact-wrapper {
  width: 85%;
  max-width: 1300px;
  text-align: center;
  color: #fff;
}

.contact-wrapper h2 {
  color: #00b4d8;
  font-size: 2.2em;
  margin-bottom: 50px;
}

/* === Grille de 2 colonnes === */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  justify-items: center;
  margin-bottom: 40px;
}

/* === Carte personne === */
.contact-card {
  background-color: #08111a;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 400px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

.contact-card img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  border-radius: 50%;
  background: #0b1b2a;
  padding: 10px;
  margin-bottom: 15px;
}

.contact-card h3 {
  font-size: 1.3em;
  color: #00b4d8;
  margin: 0;
}

/* === Bloc infos AAPPMA === */
.contact-info {
  background-color: #08111a;
  border-radius: 20px;
  padding: 40px 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  margin-top: 60px;
  width: 100%;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.contact-info h3 {
  color: #00b4d8;
  font-size: 1.8em;
  margin-bottom: 10px;
}

.contact-info p {
  font-size: 1.1em;
  margin: 5px 0;
  color: #e0e0e0;
}

.contact-info a {
  color: #00b4d8;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* === Responsive === */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    max-width: 90%;
  }

  .contact-info {
    width: 95%;
  }
}

/* ============================================================
   === PAGE CONTACT (optimisée mobile & desktop)
   ============================================================ */

.contact-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background-color: #0b1b2a;
  padding: 120px 20px 100px 20px; /* marge top pour header fixe */
  min-height: 100vh;
}

.contact-wrapper {
  width: 85%;
  max-width: 1300px;
  text-align: center;
  color: #fff;
}

/* === Titre principal === */
.contact-wrapper h2 {
  color: #00b4d8;
  font-size: 2.2em;
  font-weight: 700;
  margin-bottom: 50px;
  text-shadow: 0 0 8px rgba(0, 180, 216, 0.4);
}

/* === Grille principale === */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 60px; /* 🔹 espace vertical ET horizontal */
  justify-items: center;
  margin-bottom: 40px;
}

/* === Carte (personne ou bloc contact) === */
.contact-card,
.contact-info {
  background-color: #08111a;
  border-radius: 20px;
  padding: 30px 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 400px;
  transition: all 0.3s ease;
}

/* 🔹 Effet hover uniforme */
.contact-card:hover,
.contact-info:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
}

/* === Images des membres === */
.contact-card img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  border-radius: 50%;
  background-color: #0b1b2a;
  padding: 10px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.contact-card:hover img {
  transform: scale(1.05);
}

/* === Titre du rôle === */
.contact-card h3 {
  font-size: 1.3em;
  color: #00b4d8;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}


/* ============================================================
   === CORRECTION MISE EN PAGE MOBILE : CENTRAGE + AJUSTEMENT LARGEUR
   ============================================================ */
@media (max-width: 900px) {
  .contact-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 120px 0 100px 0;
  }

  .contact-wrapper {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 0 10px; /* 🔹 réduit les marges latérales */
    box-sizing: border-box;
  }

  /* Grille 2 colonnes bien centrée */
  .contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    justify-items: center;
    align-items: start;
    gap: 25px 20px; /* 🔹 moins d’espace horizontal pour tout faire tenir */
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
  }

  /* Cartes réduites pour tenir sur la largeur mobile */
  .contact-card {
    width: 95%;
    max-width: 250px; /* 🔹 taille ajustée pour tout faire rentrer */
    padding: 20px 10px;
  }

  .contact-card img {
    width: 120px;
    height: 120px;
  }

  /* Bloc AAPPMA centré en dessous */
  .contact-info {
    grid-column: 1 / -1;
    width: 95%;
    max-width: 550px;
    margin: 50px auto 0 auto;
    justify-self: center;
  }
}
/* ============================================================
   === CORRECTION DÉBORDEMENT DROIT SUR MOBILE
   ============================================================ */
html, body {
  overflow-x: hidden; /* 🔹 Empêche tout scroll horizontal */
  width: 100%;
}

@media (max-width: 900px) {
  .contact-wrapper,
  .contact-section,
  .contact-grid,
  .contact-card,
  .contact-info {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  .contact-grid {
    padding: 0 5px; /* 🔹 un petit “coussin” pour éviter que les cartes touchent les bords */
  }

  .contact-card {
    width: 95%;
  }
}

/* ============================================================
   === UNIFORMISATION DES 4 CARTES (même dimensions)
   ============================================================ */
.contact-card {
  width: 100%;
  max-width: 350px; /* 🔹 même largeur pour tous */
  min-height: 320px; /* 🔹 fixe la même hauteur */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 20px;  /* espace horizontal entre les cartes gauche et droite */
  row-gap: 20px;     /* 🔹 espace vertical entre les 2 lignes */
  justify-items: center;
  margin-bottom: 10px;
}

.actus-home {
  padding: 60px 30px;
  text-align: center;
  background-color: #0b1b2a;
}

.actus-home h2 {
  font-size: 2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.actus-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  justify-items: center;
}

.actu {
  background-color: #10263d;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  max-width: 400px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.actu:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.6);
}

.actu img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.actu h3 {
  margin: 15px;
  font-size: 1.2em;
  color: #00bcd4;
}

.actu p {
  margin: 0 15px 20px;
  color: #ddd;
  line-height: 1.5;
}

.actus-home .btn {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 25px;
  background: #00bcd4;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
}

.actus-home .btn:hover {
  background: #0096aa;
}
.actualites {
  margin-top: 120px;
  padding: 40px;
  text-align: center;
  background-color: #0b1b2a;
  min-height: 80vh;
}

.actualites h2 {
  font-size: 2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.actus-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  justify-items: center;
}

.actu {
  background-color: #10263d;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  max-width: 400px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.actu:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.6);
}

.actu img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.actu h3 {
  margin: 15px;
  font-size: 1.2em;
  color: #00bcd4;
}

.actu p {
  margin: 0 15px 20px;
  color: #ddd;
  line-height: 1.5;
}
/* === SECTION ACTUALITÉS ACCUEIL === */
.actus-home {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 60px 0;
  background-color: #0b1b2a;
}

.actus-wrapper {
  width: 90%;
  max-width: 1300px;
  background-color: #10263d;
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  margin: 0 auto;
}

/* Titre */
.actus-wrapper h2 {
  color: #fff;
  font-size: 2em;
  margin-bottom: 40px;
}

/* ✅ Les 3 actus côte à côte */
.actus-container {
  display: flex;
  justify-content: center;   /* centre les éléments */
  align-items: stretch;      /* même hauteur */
  gap: 30px;                 /* espace entre les cartes */
  flex-wrap: nowrap;         /* reste sur une seule ligne */
}

/* Carte d’actu */
.actu {
  background-color: #0f2339;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  flex: 1;                   /* occupe un tiers de la ligne */
  min-width: 300px;          /* largeur minimale */
  max-width: 400px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.actu:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.6);
}

.actu img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.actu h3 {
  margin: 15px;
  font-size: 1.2em;
  color: #00bcd4;
}

.actu p {
  margin: 0 15px 20px;
  color: #ddd;
  line-height: 1.5;
}

/* Bouton */
.actus-home .btn {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 25px;
  background: #00bcd4;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
}

.actus-home .btn:hover {
  background: #0096aa;
}

/* ===========================
   🟦 VERSION MOBILE (responsive)
   =========================== */
@media screen and (max-width: 1000px) {
  /* Conteneur principal */
  .actus-container {
    display: flex;
    flex-direction: column; /* ✅ les cartes l’une sous l’autre */
    align-items: center;
    gap: 30px;
  }

  /* Carte actu */
  .actu {
    width: 90%;            /* occupe presque toute la largeur */
    max-width: 500px;
  }

  .actu img {
    height: 220px;         /* meilleure proportion sur mobile */
    object-fit: cover;
  }

  /* Ajustements de texte */
  .actu h3 {
    font-size: 1.1em;
  }

  .actu p {
    font-size: 0.95em;
  }

  /* Ajustement du titre de section */
  .actualites h2, 
  .actus-wrapper h2 {
    font-size: 1.6em;
    margin-bottom: 20px;
  }

  /* Bouton voir toutes les actus */
  .actus-home .btn {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 0.9em;
  }
}
.actu-bouton {
  margin-top: 15px;
  text-align: center;
}

/* ==========================
   PAGE À PROPOS
========================== */
.about-page {
  margin-top: 120px;
  padding: 60px 20px;
  background-color: #0b1b2a;
  color: #f0f0f0;
  text-align: center;
}

.about-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  background-color: #10263d;
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  text-align: left;
}

.about-page h1 {
  text-align: center;
  font-size: 2.3em;
  margin-bottom: 40px;
  color: #00bcd4;
}

.about-page h2 {
  font-size: 1.6em;
  color: #00bcd4;
  margin-top: 40px;
  margin-bottom: 15px;
}

.about-page p {
  line-height: 1.7;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.about-page ul {
  list-style: none;
  padding-left: 0;
}

.about-page li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.about-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 20px;
}

.about-flex img {
  width: 45%;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.about-flex.reverse {
  flex-direction: row-reverse;
}

.about-cta {
  text-align: center;
  margin-top: 40px;
  font-weight: bold;
  color: #fff;
  font-size: 1.1em;
}

/* ==========================
   RESPONSIVE MOBILE
========================== */
@media screen and (max-width: 950px) {
  .about-wrapper {
    padding: 30px 20px;
  }

  .about-page h1 {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .about-page h2 {
    font-size: 1.3em;
  }

  .about-page p {
    font-size: 0.95em;
    line-height: 1.6;
  }

  .about-flex {
    flex-direction: column;
    text-align: center;
  }

  .about-flex img {
    width: 100%;
    max-width: 400px;
  }

  .about-cta {
    font-size: 1em;
    padding: 15px 10px;
  }
}

/* ==========================
   PAGE CARTE
========================== */
.carte-page {
  margin-top: 120px;
  padding: 40px 20px;
  background-color: #0b1b2a;
  color: #f0f0f0;
  text-align: center;
}

.carte-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  background-color: #10263d;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.carte-wrapper h1 {
  color: #00bcd4;
  font-size: 2em;
  margin-bottom: 20px;
}

.carte-wrapper .intro {
  font-size: 1em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.carte-image {
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.carte-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
}

.legende {
  margin-top: 25px;
  font-size: 0.95em;
  color: #cfe8f1;
}

.legende-item {
  margin: 0 8px;
  white-space: nowrap;
}

.trait {
  display: inline-block;
  width: 20px;
  height: 3px;
  border-radius: 3px;
  margin-right: 5px;
}

.trait.rouge {
  background-color: #ff4c4c;
}

.trait.bleu {
  background-color: #00bcd4;
}

.source {
  margin-top: 15px;
  font-size: 0.85em;
  color: #999;
}

/* ==========================
   RESPONSIVE
========================== */
@media (max-width: 900px) {
  .carte-wrapper {
    padding: 25px 15px;
  }

  .carte-wrapper h1 {
    font-size: 1.6em;
  }

  .carte-wrapper .intro {
    font-size: 0.95em;
  }

  .legende {
    font-size: 0.9em;
  }
}
.source {
  margin-top: 15px;
  font-size: 0.85em;
  color: #aaa;
  text-align: center;
}

.source a {
  color: #00bcd4;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.source a:hover {
  color: #00eaff;
  text-decoration: underline;
}
/* ==========================
   PAGE CARTE
========================== */
.carte-page {
  margin-top: 120px;
  padding: 40px 20px;
  background-color: #0b1b2a;
  color: #f0f0f0;
  text-align: center;
}

.carte-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  background-color: #10263d;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.carte-wrapper h1 {
  color: #00bcd4;
  font-size: 2.2em;
  margin-bottom: 25px;
  text-align: center;
}

.carte-wrapper .intro {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.carte-image {
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.carte-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
}

.legende {
  margin-top: 30px;
  color: #d8f0f6;
}

.legende h2 {
  color: #00bcd4;
  margin-bottom: 10px;
  font-size: 1.4em;
}

.legende-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.legende-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95em;
}

.trait {
  display: inline-block;
  width: 20px;
  height: 3px;
  border-radius: 3px;
}

.trait.rouge { background-color: #ff4c4c; }
.trait.bleu { background-color: #00bcd4; }

.source {
  margin-top: 25px;
  font-size: 0.9em;
  color: #aaa;
  text-align: center;
}

.source a {
  color: #00bcd4;
  text-decoration: none;
  transition: color 0.3s;
}

.source a:hover {
  color: #00eaff;
  text-decoration: underline;
}

/* ==========================
   📱 VERSION MOBILE
========================== */
@media (max-width: 950px) {
  .carte-wrapper {
    padding: 25px 15px;
  }

  .carte-wrapper h1 {
    font-size: 1.6em;
    margin-bottom: 15px;
  }

  .carte-wrapper .intro {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .legende h2 {
    font-size: 1.2em;
    margin-bottom: 10px;
  }

  .legende-items {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 0 10px;
  }

  .legende-item {
    font-size: 0.9em;
  }

  .source {
    font-size: 0.85em;
    margin-top: 20px;
  }
}

/* ==========================
   PAGE ACTUALITÉS
========================== */
.actualites-page {
  min-height: calc(100vh - 180px); /* 100% de la hauteur - header + footer */
  background-color: #0b1b2a;
  padding: 120px 20px 60px; /* espace pour le header fixe et un peu de bas */
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.actualites-wrapper {
  width: 100%;
  max-width: 1100px;
  background-color: #10263d;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  text-align: center;
}

.actualites-wrapper h2 {
  color: #00bcd4;
  font-size: 2em;
  margin-bottom: 40px;
}

/* Si peu de contenu → pousse le footer en bas */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main.page {
  flex: 1;
}

/* --- Deux logos côte à côte --- */
.duo-logo {
  display: flex;
  align-items: center;
  gap: 15px; /* espace entre les deux logos */
}

.duo-logo img {
  height: 90px;   /* ✅ même taille pour les deux logos */
  width: auto;
  transition: transform 0.3s ease, opacity 0.3s;
}

.duo-logo img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}
/* ==========================
   VERSION MOBILE
========================== */
@media (max-width: 950px) {
  .duo-logo {
    gap: 8px; /* espace réduit entre les logos */
  }

  .duo-logo img {
    height: 45px;       /* ✅ logos plus petits */
    max-width: 80px;
  }

  /* Réduction du padding du header pour gagner de la place */
  .navbar {
    padding: 8px 15px;
  }
}

/* Ultra petit écran (smartphones étroits) */
@media (max-width: 480px) {
  .duo-logo {
    gap: 5px;
  }

  .duo-logo img {
    height: 60px;
    max-width: 70px;
  }
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* format 16:9 */
  height: 0;
  overflow: hidden;
  margin: 1.5em auto; /* espace autour + centrage */
  max-width: 700px;   /* limite la largeur max */
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* format 16:9 */
  height: 0;
  overflow: hidden;
  margin: 0 auto 1.5em auto; /* centrée mais sans marge au-dessus */
  max-width: 100%;
  border-radius: 8px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0; /* 🔥 fait commencer la vidéo en haut du conteneur */
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
/* ============================================================
   === PAGE CONTACT (version finale stable)
   ============================================================ */

.contact-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background-color: #0b1b2a;
  padding: 120px 20px 80px;
  min-height: 100vh;
}

.contact-wrapper {
  width: 100%;
  max-width: 1300px;
  text-align: center;
  color: #fff;
}

/* --- Titre --- */
.contact-wrapper h2 {
  color: #00b4d8;
  font-size: 2.2em;
  margin-bottom: 50px;
  text-shadow: 0 0 6px rgba(0, 180, 216, 0.4);
}

/* ============================================================
   === GRILLE DES CARTES
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
  align-items: start;
  gap: 40px;
  width: 100%;
  margin: 0 auto 60px auto;
  padding: 0;
}

/* ============================================================
   === CARTE MEMBRE FLIP 3D
   ============================================================ */
.contact-card {
  width: 260px;
  height: 320px;
  perspective: 1000px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
}

.card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
}

.contact-card.flipped .card-inner {
  transform: rotateY(180deg);
}

/* Faces */
.card-front,
.card-back {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background-color: #08111a;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  backface-visibility: hidden;
  text-align: center;
  color: #fff;
  padding: 20px 15px;
}

/* Avant */
.card-front img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #0b1b2a;
  padding: 8px;
  margin-bottom: 12px;
}

.card-front h3 {
  font-size: 1.1em;
  color: #00b4d8;
  text-transform: uppercase;
  margin: 0;
}

.card-front h4 {
  margin-top: 5px;
  font-size: 0.9em;
  font-weight: bold;
}

/* Arrière */
.card-back {
  transform: rotateY(180deg);
}

.card-back h3 {
  color: #00b4d8;
  margin-bottom: 10px;
  font-size: 1em;
}

.card-back p {
  margin: 4px 0;
  font-size: 0.85em;
}

/* ============================================================
   === BLOC INFOS AAPPMA
   ============================================================ */
.contact-info {
  background-color: #08111a;
  border-radius: 20px;
  padding: 40px 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.contact-info h3 {
  color: #00b4d8;
  font-size: 1.6em;
  margin-bottom: 10px;
}

.contact-info p {
  font-size: 1.1em;
  margin: 5px 0;
  color: #e0e0e0;
}

.contact-info a {
  color: #00b4d8;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* ============================================================
   === RESPONSIVE
   ============================================================ */
@media (max-width: 1050px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 700px) {
  .contact-section {
    padding: 100px 10px 60px;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    gap: 20px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 50px;
  }

  .contact-card {
    width: 150px;
    height: 210px;
  }



  .card-back h3 {
    font-size: 0.85em;
  }

  .card-back p {
    font-size: 0.75em;
  }

  .contact-info {
    width: 90%;
    padding: 30px 15px;
  }
}


/* ============================================================
   === AJUSTEMENT SPÉCIFIQUE : hauteur des cartes sur mobile
   ============================================================ */
@media (max-width: 700px) {
  .contact-card {
    height: 170px !important;  /* 🔹 plus compact */
  }

  .card-front img {
    width: 70px !important;
    height: 70px !important;
  }

  .card-front h3 {
    font-size: 0.85em !important;
  }

  .card-front h4 {
    font-size: 0.75em !important;
  }
}

@media (max-width: 480px) {
  .contact-card {
    height: 150px !important;  /* 🔹 encore un peu plus petit */
  }

  .card-front img {
    width: 80px !important;
    height: 80px !important;
  }

  .card-front h3 {
    font-size: 0.8em !important;
  }

  .card-front h4 {
    font-size: 0.7em !important;
  }
}

/* ============================================================
   === SECTION CONTACT — VERSION FINALE
   ============================================================ */

.contact-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 60px auto;
  width: 100%;
}

.contact-wrapper h2 {
  color: #00b4d8;
  font-size: 2.3em;
  margin-bottom: 60px;
  text-shadow: 0 0 10px rgba(0,180,216,0.4);
}

/* === Grille principale === */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* ✅ s’adapte à la largeur dispo */
  justify-items: center;
  align-items: start;
  gap: 40px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* === Carte membre === */
.contact-card {
  perspective: 1000px;
  cursor: pointer;
  background: transparent;
  border: none;
  box-shadow: none;
  width: 100%;
  max-width: 260px;
  height: 310px;
  position: relative;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s ease;
  transform-style: preserve-3d;
}

.contact-card.flipped .card-inner {
  transform: rotateY(180deg);
}

/* === Faces avant et arrière === */
.card-front,
.card-back {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  backface-visibility: hidden;
  background-color: #08111a;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px 15px;
  color: #fff;
}

.card-back {
  transform: rotateY(180deg);
}

/* === Image avant === */
.card-front img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #0b1b2a;
  padding: 8px;
  margin-bottom: 12px;
}

.card-front h3 {
  font-size: 1.1em;
  color: #00b4d8;
  text-transform: uppercase;
  margin: 0;
}

.card-front h4 {
  margin-top: 5px;
  font-weight: bold;
  font-size: 0.95em;
}

/* === Arrière === */
.card-back h3 {
  color: #00b4d8;
  font-size: 1.1em;
  margin-bottom: 8px;
}

.card-back p {
  margin: 6px 0;
  font-size: 0.9em;
}

/* ============================================================
   📱 RESPONSIVE MOBILE
   ============================================================ */
@media (max-width: 950px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    justify-items: center;
    max-width: 480px;
  }

  .contact-card {
    width: 150px;
    height: 210px;
  }

  .card-front img {
    width: 80px;
    height: 80px;
    padding: 5px;
  }

  .card-front h3 {
    font-size: 0.85em;
  }

  .card-front h4 {
    font-size: 0.75em;
  }

  .card-back h3 {
    font-size: 0.85em;
  }

  .card-back p {
    font-size: 0.75em;
  }
}

/* Ultra petit (iPhone SE etc.) */
@media (max-width: 500px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .contact-card {
    width: 130px;
    height: 190px;
  }

  .card-front img {
    width: 65px;
    height: 65px;
  }

  .card-front h3 {
    font-size: 0.8em;
  }

  .card-front h4 {
    font-size: 0.7em;
  }

  .card-back h3 {
    font-size: 0.8em;
  }

  .card-back p {
    font-size: 0.7em;
  }
}


/* === FORMULAIRE PARFAITEMENT ALIGNÉ === */
.connexion-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* conteneur des champs */
.form-group {
  width: 100%;
  max-width: 230px; /* largeur fixe égale à celle du bouton */
  text-align: left;
  box-sizing: border-box;
}

/* Labels */
label {
  display: block;
  color: #b8c7da;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

/* Champs */
input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 38px 10px 12px;
  border-radius: 8px;
  border: 1px solid #1e3a5f;
  background-color: rgba(10, 25, 45, 0.85);
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s, background-color 0.3s;
}

input:focus {
  border-color: #00b4d8;
  background-color: rgba(15, 40, 65, 0.95);
  box-shadow: 0 0 6px rgba(0, 180, 216, 0.4);
}

/* Icône œil */
.password-group {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 36px;
  cursor: pointer;
  font-size: 1rem;
  color: #8cbcd6;
  user-select: none;
  transition: color 0.3s ease, transform 0.2s ease;
}

.toggle-password:hover {
  color: #00b4d8;
  transform: scale(1.15);
}

/* === Bouton connexion (identique largeur que champs) === */
.btn-connexion {
  width: 100%;
  max-width: 230px;
  box-sizing: border-box;
  background-color: #0077b6;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-connexion:hover {
  background-color: #0096c7;
  box-shadow: 0 0 8px rgba(0, 180, 216, 0.6);
  transform: translateY(-2px);
}
/* ============================================================
   === PAGE CONNEXION CENTRÉE VERTICALEMENT + FOOTER FIXE
   ============================================================ */

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background-color: #0b1b2a;
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.connexion-page {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0b1b2a;
  padding: 60px 15px; /* espace sous header */
  overflow: hidden;
}

.connexion-bg {
  position: absolute;
  inset: 0;
  background: url("images/banniere-pont.png") center/cover no-repeat;
  filter: brightness(0.25) blur(2px);
  z-index: 0;
}

/* === Conteneur === */
.connexion-container {
  position: relative;
  z-index: 1;
  background: rgba(15, 30, 50, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 15px;
  border: 1px solid rgba(0, 180, 216, 0.3);
  padding: 35px 25px;
  width: 90%;
  max-width: 340px;
  text-align: center;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
  animation: fadeUp 0.8s ease-out;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Footer collé en bas === */
footer {
  margin-top: auto;
  text-align: center;
  background-color: #081522;
  padding: 15px 0;
  border-top: 1px solid #1e3a5f;
  color: #bfc8d1;
  font-size: 0.9rem;
}
/* ============================================================
   === AJUSTEMENT DU CONTENEUR EN MODE MOBILE ===
   ============================================================ */
@media (max-width: 600px) {
  .connexion-page {
    align-items: flex-start; /* au lieu de centré verticalement */
    padding-top: 130px; /* descend le conteneur sous le header */
    padding-bottom: 40px;
    min-height: auto;
  }

  .connexion-container {
    margin: 0 auto;
    padding: 25px 20px;
    max-width: 320px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  }

  .connexion-container h2 {
    font-size: 1.4rem;
    margin-bottom: 18px;
  }

  .btn-connexion {
    padding: 10px;
    font-size: 0.95rem;
  }
}

/* === BARRE LATÉRALE === */
.sidebar-nav {
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 50;
}

.nav-btn {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #111e2e;
  border-radius: 14px;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.nav-btn img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.3s, transform 0.2s;
}

.nav-btn:hover img {
  opacity: 1;
  transform: scale(1.05);
}

/* Bouton actif */
.nav-btn.active {
  background-color: #1b263b;
  border: 1px solid #f1c40f;
  box-shadow: 0 0 15px rgba(241, 196, 15, 0.3);
}

.nav-btn.active img {
  opacity: 1;
}

/* Mobile : barre horizontale en bas */
@media (max-width: 768px) {
  .sidebar-nav {
    top: auto;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    background-color: rgba(10, 20, 35, 0.9);
    padding: 8px 15px;
    border-radius: 16px;
    gap: 12px;
    backdrop-filter: blur(6px);
  }
  .nav-btn {
    width: 45px;
    height: 45px;
  }
  .nav-btn img {
    width: 26px;
    height: 26px;
  }
}
/* ============================================================
   === LOGOS SOUS LE HEADER (SANS BARRE DE FOND)
   ============================================================ */
.top-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px; /* espace entre logos */
  margin-top: 110px; /* décalage sous le header (ajuste selon ton header) */
  margin-bottom: 40px;
  z-index: 20;
}

/* Chaque logo */
.nav-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.nav-logo img {
  width: 50px; /* taille des logos (agrandie) */
  height: 50px;
  object-fit: contain;
  opacity: 0.9;
  filter: drop-shadow(0 0 4px rgba(0, 180, 216, 0.3));
  transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

/* Effet survol */
.nav-logo:hover img {
  opacity: 1;
  transform: scale(1.12);
  filter: drop-shadow(0 0 10px rgba(0, 180, 216, 0.7));
}

/* Logo actif (page courante) */
.nav-logo.active img {
  opacity: 1;
  transform: scale(1.1);
  filter: drop-shadow(0 0 15px rgba(241, 196, 15, 0.8));
}

/* === Responsive === */
@media (max-width: 768px) {
  .top-logos {
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 90px;
  }

  .nav-logo img {
    width: 50px;
    height: 50px;
  }
}

.pwa-icon-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* ============================================================
   INFORMATIONS IMPORTANTES = IDENTIQUE AUX DERNIÈRES ACTUALITÉS
   ============================================================ */

/* Le wrapper prend exactement le même style */
.actus-fixes {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 60px 0;
  background-color: #0b1b2a;
}

.actus-fixes .actus-wrapper {
  width: 90%;
  max-width: 1300px;
  background-color: #10263d;
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  margin: 0 auto;
}

/* Titre identique */
.actus-fixes .actus-wrapper h2 {
  color: #fff;
  font-size: 2em;
  margin-bottom: 40px;
}

/* Conteneur des cartes : EXACTEMENT pareil */
.actus-fixes .actus-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  flex-wrap: wrap;
}

/* Carte actu identique */
.actus-fixes .actu {
  background-color: #0f2339;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.actus-fixes .actu:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.6);
}

/* Image identique */
.actus-fixes .actu img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}


.video-preview {
  position: relative;
  cursor: pointer;
}

.video-preview img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.video-preview iframe,
.video-wrapper iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
}

.play-button {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 60px;
  color: white;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 12px;
}
.btn-action {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.25s ease;
  text-align: center;
}

/* Bouton spécifique "Déclarer une prise" */
.btn-declarer {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: #ffffff;
  box-shadow: 0 6px 15px rgba(0, 114, 255, 0.35);
}

.btn-declarer:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 114, 255, 0.5);
  filter: brightness(1.05);
}
.actu .btn-declarer {
  display: block;
  width: fit-content;
  margin: 16px auto 24px auto; /* haut | côtés | bas */
}

/* ===============================
   POPUP MODAL
============================== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-overlay.active {
  display: flex;
}

.popup-content {
  background: #0b1e33;
  color: #fff;
  padding: 24px;
  border-radius: 14px;
  max-width: 420px;
  width: 90%;
  position: relative;
}

.popup-content h3 {
  margin-top: 0;
  margin-bottom: 16px;
}

.popup-content label {
  display: block;
  margin-bottom: 12px;
}

.popup-content input {
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #2b4a6a;
  background: #061626;
  color: #fff;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 26px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}
/* ============================================================
   FIX DÉFINITIF — CENTRAGE CARTES INFOS IMPORTANTES
   ============================================================ */
@media (min-width: 600px) and (max-width: 1100px) {

  .actus-fixes .actus-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .actus-fixes .actu {
    flex: none !important;
    width: 100% !important;
    max-width: 400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

}
/* ============================================================
   PAGE ACTUALITÉS — GRILLE PROPRE 3 PAR LIGNE
   ============================================================ */

.actualites-page .actus-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* ✅ 3 colonnes */
  gap: 30px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;        /* ✅ CENTRAGE */
  align-items: stretch;
}

/* Carte actu */
.actualites-page .actu {
  background-color: #0f2339;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  width: 100%;
  max-width: none;       /* 🔥 IMPORTANT */
  text-align: left;
}

/* ============================================================
   TABLETTE
   ============================================================ */
@media (max-width: 1100px) {
  .actualites-page .actus-container {
    grid-template-columns: repeat(2, 1fr); /* 2 par ligne */
  }
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 650px) {
  .actualites-page .actus-container {
    grid-template-columns: 1fr; /* 1 par ligne */
  }
}
