/* Global box-sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  outline: 1px solid red;
}

/* Responsive typography */
@media (max-width: 768px) {
  html {
    font-size: 95%;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 90%;
  }
}
/* === HEADER === */
header {
  background : white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  flex-wrap: wrap;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 50px;
}

.logo-text {
  font-size: 24px;
  color: black;
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links li a {
  color: black;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #fffdd0;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: black;
  cursor: pointer;
}

/* === MENU POPUP MOBILE === */
.menu-popup {
  position: fixed;
  top: 0;
  right: -100%;
  width: 25%;
  height: 100%;
  background-color: #fff;
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.2);
  transition: right 0.5s ease;
  display: flex;
  flex-direction: column;
  padding: 30px 20px;
  overflow: scroll;
}

.menu-popup.show {
  right: 0;
}

.popup-links {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.popup-links li {
  margin-bottom: 20px;
}

.popup-links li a {
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  color: black;
}

.popup-links li a:hover {
  color: #c06b00;
}

.close {
  font-size: 30px;
  color: #e48509;
  position: absolute;
  top: 20px;
  right: 30px;
  cursor: pointer;
}

.hidden {
  display: none;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

/* ===== Desktop : sous-menu Régions ===== */
.menu-item {
  position: relative;
}

.submenu {
  display: none; /* caché par défaut */
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  list-style: none;
  padding: 0;
  margin: 0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  min-width: 150px;
  z-index: 100;
}

.submenu li a {
  display: block;
  padding: 8px 15px;
  color: black;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s, color 0.3s;
}

.submenu li a:hover {
  background-color: #f0f0f0;
  color: #c06b00;
}

/* Affiche le sous-menu au hover */
.menu-item:hover .submenu {
  display: block;
}

/* ===== Mobile : popup sous-menu Régions ===== */
.menu-item-popup .submenu-popup {
  display: none;
  list-style: none;
  padding-left: 15px;
  margin-top: 5px;
}

.menu-item-popup .submenu-popup li a {
  display: block;
  padding: 8px 15px;
  font-weight: 500;
  color: black;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.menu-item-popup .submenu-popup li a:hover {
  background-color: #f0f0f0;
  color: #c06b00;
}

/* Affiche le sous-menu au clic sur mobile */
.menu-item-popup.open .submenu-popup {
  display: block;
}

/* ===== Desktop : sous-menu À propos ===== */
.menu-item {
  position: relative;
}

.submenu {
  display: none; /* caché par défaut */
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  list-style: none;
  padding: 0;
  margin: 0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  min-width: 150px;
  z-index: 100;
}

.submenu li a {
  display: block;
  padding: 8px 15px;
  color: black;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s, color 0.3s;
}

.submenu li a:hover {
  background-color: #f0f0f0;
  color: #c06b00;
}

/* Affiche le sous-menu au hover */
.menu-item:hover .submenu {
  display: block;
}

/* ===== Mobile : popup sous-menu À propos ===== */
.menu-item-popup .submenu-popup {
  display: none;
  list-style: none;
  padding-left: 15px;
  margin-top: 5px;
}

.menu-item-popup .submenu-popup li a {
  display: block;
  padding: 8px 15px;
  font-weight: 500;
  color: black;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.menu-item-popup .submenu-popup li a:hover {
  background-color: #f0f0f0;
  color: #c06b00;
}

/* Affiche le sous-menu au clic sur mobile */
.menu-item-popup.open .submenu-popup {
  display: block;
}



.hero {
  background-color: #e7880c;
  padding: 30px 20px;
  width: 100%;
  text-align: center;
}

.heros {
  width: 100%;
}


.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 80px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.stat-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 30px 20px;
  width: 240px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.6s ease, opacity 0.6s ease;
  transform: translateX(100px);
  opacity: 0;
}

.stat-card.visible {
  transform: translateX(0);
  opacity: 1;
}

.stat-card .icon {
  font-size: 50px;
  margin-bottom: 15px;
  color: #004080;
}


.stat-card h3 {
  margin: 10px 0;
  font-size: 32px;
  font-weight: bold;
  color: #004080;
}

.stat-card p {
  font-size: 16px;
  color: #666;
}

@media (max-width: 768px) {
  .stat-card {
    width: 80%;
  }
}.formations {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(to bottom, #f8f9fa, #e0e6f0);
  overflow: hidden;
}

.formations h2 {
  color: #004080;
  margin-bottom: 40px;
  font-size: 2.2rem;
}

.formation-slider-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  display: flex;
  justify-content: center;
}

.formation-slider-track {
  display: flex;
  gap: 20px;
  padding: 10px;
  transition: transform 0.3s ease-in-out;
}

.formation-card {
  min-width: 200px;
  flex: 0 0 auto;
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  scroll-snap-align: center;
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 0;
  transform: translateY(40px);
}

.formation-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.formation-card h3 {
  color: #0074d9;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.formation-card p {
  font-size: 0.95rem;
  color: #444;
}

/* Scrollbar design */
.formation-slider-wrapper::-webkit-scrollbar {
  height: 6px;
}
.formation-slider-wrapper::-webkit-scrollbar-thumb {
  background: #0074d9;
  border-radius: 4px;
}
.arrow {
  background-color: #004080;
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.arrow:hover {
  background-color: #0074d9;
}

.pagination-dots {
  text-align: center;
  margin-top: 15px;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 6px;
  background-color: #ccc;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #004080;
}

.avis-btn-wrapper {
  margin-top: 20px;
}

.btn-avis {
  display: inline-block;
  background-color: #004080;
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-avis:hover {
  background-color: #0074d9;
}

/* Responsive */
@media (max-width: 600px) {
  .arrow {
    display: none;
  }

  .testimonial-card {
    width: 90%;
  }

  .testimonial-carousel {
    gap: 10px;
  }
}
.galerie {
  text-align: center;
  padding: 60px 20px;
  background-color: #fff;
}

.carousel {
  max-width: 600px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.carousel img {
  width: 100%;
  height: auto;
}

.brochure {
  text-align: center;
  padding: 50px 20px;
  background-color: #e6f0ff;
}

.btn-brochure {
  display: inline-block;
  padding: 12px 25px;
  background-color: #004080;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-brochure:hover {
  background-color: #0066cc;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 50px;
}

.logo-text {
  font-size: 24px;
  margin: 0;
}


#openMenu {
  font-size: 18px;
  padding: 10px 20px;
  cursor: pointer;
}

.slideshow-section {
  padding: 50px 20px;
  background-color: #e7880c;
  text-align: center;
}

.slideshow-section h2 {
  font-size: 30px;
  margin-bottom: 20px;
}

.slideshow {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  scroll-snap-type: x mandatory;
  padding: 10px;
}

.slideshow::-webkit-scrollbar {
  display: none; /* masque la barre de scroll */
}

.slide {
  flex: 0 0 auto;
  width: 350px;
  height: 290px;
  object-fit: cover;
  scroll-snap-align: center;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
  
}
.slide.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Section Contact ===== */
.contact-section {
  background: linear-gradient(135deg, #004080, #0074d9);
  color: white;
  padding: 70px 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

.contact-section.show {
  opacity: 1;
  transform: translateY(0);
}

.contact-container {
  max-width: 700px;
  margin: auto;
  padding: 0 15px;
}

.contact-container h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.contact-container p {
  font-size: 1rem;
  margin-bottom: 25px;
  line-height: 1.5;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  background-color: white;
  color: #004080;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.contact-form button:hover {
  background-color: #e5e5e5;
  color: #003060;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .contact-container h2 {
    font-size: 1.6rem;
  }

  .contact-container p {
    font-size: 0.95rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.95rem;
  }

  .contact-form button {
    font-size: 0.95rem;
    padding: 10px 16px;
  }
}

@media (max-width: 480px) {
  .contact-container {
    padding: 0 10px;
  }

  .contact-form textarea {
    min-height: 120px;
  }
}

/* ===== Section Localisation ===== */
.location-section {
  background: #ffffff;
  padding: 70px 20px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

.location-section.show {
  opacity: 1;
  transform: translateY(0);
}

.location-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.location-container h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #003366;
}

.location-container p {
  font-size: 1rem;
  margin-bottom: 30px;
  color: #333;
}

.location-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
}

.map-box {
  flex: 1 1 500px;
  min-height: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.address-box {
  flex: 1 1 300px;
  background: #e7880c;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: left;
}

.address-box h3 {
  color: #004080;
  margin-bottom: 15px;
}

.address-box p {
  font-size: 15px;
  margin: 8px 0;
}

/* ===== Responsive Adaptation ===== */
@media (max-width: 768px) {
  .location-content {
    flex-direction: column;
    align-items: center;
  }

  .map-box, .address-box {
    width: 100%;
  }
}

/* === PRELOADER AMPLOULE === */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0f2027;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
  overflow: hidden;
}

.bulb-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 2s ease-in-out;
}

.bulb {
  width: 100px;
  height: 150px;
  background: radial-gradient(circle, #fff200 10%, #f0c000 60%, #0f2027 100%);
  border-radius: 50% 50% 40% 40%;
  position: relative;
  box-shadow: 0 0 60px #fff200;
  animation: glow 1.5s infinite alternate;
}

.bulb::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 40%;
  width: 20px;
  height: 40px;
  background: #666;
  border-radius: 5px;
}

.filament {
  position: absolute;
  top: 30%;
  left: 45%;
  width: 10px;
  height: 30px;
  background: #f9f9f9;
  border-radius: 2px;
}

.welcome-text {
  margin-top: 30px;
  font-size: 1.5rem;
  font-weight: bold;
  animation: fadeInText 2s ease forwards;
  opacity: 0;
  text-align: center;
}

@keyframes glow {
  from {
    box-shadow: 0 0 20px #fff200;
  }
  to {
    box-shadow: 0 0 60px #fff200, 0 0 80px #fff200;
  }
}

@keyframes fadeInText {
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.annonce-top {
  width: 100%;
  overflow: hidden;
  background-color: #e60000;
  padding: 10px 0;
  position: relative;
  z-index: 1000;
}

.annonce-texte {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: defilement 15s linear infinite;
  color: white;
  font-weight: bold;
  font-size: 16px;
}

@keyframes defilement {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}

#topBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #004080;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  z-index: 1000;
  font-size: 18px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.mot-dg {
  background: linear-gradient(135deg, #f0f8ff, #e0eafc);
  padding: 60px 20px;
  text-align: center;
}

.dg-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
}

.dg-image img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #004080;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
}

.dg-image img:hover {
  transform: scale(1.05);
}

.dg-message {
  max-width: 600px;
  text-align: left;
}

.dg-message h2 {
  font-size: 28px;
  color: #004080;
  margin-bottom: 20px;
}

.dg-message p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

.dg-name {
  margin-top: 20px;
  font-style: italic;
  font-weight: bold;
  color: #004080;
}

/* Responsive pour téléphones */
@media (max-width: 768px) {
  .dg-message {
    text-align: center;
  }
}

.mot-dg {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

.mot-dg.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animations */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 600px) {
  .social-icons a {
    width: 45px;
    height: 45px;
  }

  .social-icons img {
    width: 22px;
    height: 22px;
  }

  .reseaux-footer h2 {
    font-size: 20px;
  }
}

.social-link i {
  font-size: 20px;
  color: #1877f2;
}

.social-link:hover i {
  color: #fff;
}body {
  margin: 0;
  overflow-x: hidden;
}

.slider-auto {
  padding: 50px 20px;
  background: linear-gradient(to bottom, #e0f0ff, #ffffff);
  text-align: center;
}

.slider-auto h2 {
  margin-bottom: 30px;
  color: #004080;
}

.slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  gap: 10px;
  animation: scroll-left 30s linear infinite;
}

/* Responsive */
@media (max-width: 768px) {
  .slides {
    flex: 0 0 70vw;
  }
}

@media (max-width: 480px) {
  .slides {
    flex: 0 0 90vw;
  }
}

.nos {
  text-align: center;
}

.slider-track {
  display: flex;
  width: calc(250px * 8 + 20px * 7);
  animation: scroll 40s linear infinite;
}

.slider-track:hover {
  animation-play-state: paused;
}
.slideshow-container {
  max-width: 100%;  /* ou ce que tu veux */
  width: 100%;
  position: relative;
}

.mySlides {
  display: none;
  position: relative; /* référence pour le texte */
  width: 100%;
}

.mySlides img {
  width: 100%;
  height: 90%;
  display: block;
}

.text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: white;
  padding: 10px 15px;
  font-size: 30px;
  text-align: center;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.carrousel-filiere {
  width: 100%;
  padding: 20px;
  background-color: #ffffff;
}

.titre-section {
  text-align: center;
  font-size: 28px;
  margin-bottom: 20px;
  color: #003366;
}

.conteneur-carrousel {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.zone-survol {
  cursor: grab;
}

.piste-carrousel {
  display: flex;
  gap: 20px;
  animation: defilement-gauche 40s linear infinite;
  width: max-content;
}

.zone-survol:hover .piste-carrousel,
.zone-survol:focus .piste-carrousel {
  animation-play-state: paused;
}

.nouus {
  text-align: center;
  font-size: 18px;
}

.chiffres-cles {
  padding: 60px 20px;
  background: #f4f6f8;
  text-align: center;
}

.chiffres-cles h2 {
  font-size: 2.5rem;
  color: #222;
  margin-bottom: 50px;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.stat {
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
}

.stat.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease;
}

.stat i {
  font-size: 40px;
  color: #0077ff;
  margin-bottom: 15px;
}

.label {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 8px;
}

.number {
  font-size: 2rem;
  font-weight: bold;
  color: #111;
}

/* Controls */
.controls {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.controls button {
  background-color: #e63946;
  color: white;
  border: none;
  padding: 12px 20px;
  margin: 0 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.3s, transform 0.3s;
  height: 50%;
}

.controls button:hover {
  background-color: #d62828;
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  .slide-content {
    padding: 15px;
  }

  .slide-content h3 {
    font-size: 1.3rem;
  }

  .slide img {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .slide img {
    height: 220px;
  }

  .slide-content h3 {
    font-size: 1.1rem;
  }

  .slide-content p {
    font-size: 0.9rem;
  }
}

/* ==== Styles uniquement pour la section Historique ==== */

.history-section {
  padding: 60px 20px;
  background: #f1f6f9;
  text-align: center;
}

.history-section h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #007bff;
  font-weight: 700;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: #007bff;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  padding: 20px 40px;
  position: relative;
  width: 50%;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-in-out;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: #007bff;
  border-radius: 50%;
  top: 20px;
  z-index: 1;
}

.timeline-item:nth-child(even)::before {
  left: -10px;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-content {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.timeline-content h3 {
  color: #007bff;
  margin-bottom: 10px;
}

.timeline-content p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .timeline::after {
    left: 10px;
  }
  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding-left: 40px;
    padding-right: 20px;
  }
  .timeline-item::before {
    left: 0 !important;
  }
}

/* ==== Styles pour Contexte & Évolution ==== */

.context-section {
  padding: 60px 20px;
  background: #e8f0fe;
  text-align: center;
}

.context-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #007bff;
  font-weight: 700;
}

.context-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.context-item {
  background: #fff;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  flex: 1 1 400px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-in-out;
}

.context-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.context-item h3 {
  color: #007bff;
  margin-bottom: 15px;
}

.context-item p {
  font-size: 1rem;
  line-height: 1.6;
}

/* ==== Styles pour Mission Chaotique ==== */
/* Section Mission Chaotique v3 */
.mission-section-chaos3 {
  position: relative;
  padding: 60px 20px;
  background: #e0f7fa;
  text-align: center;
  overflow: hidden;
}

.mission-section-chaos3 h2 {
  font-size: 2.5rem;
  color: #00796b;
  margin-bottom: 50px;
  font-weight: 700;
  z-index: 2;
  position: relative;
}

.mission-container-chaos3 {
  position: relative;
  width: 100%;
  height: 500px;
}

.mission-item-chaos3 {
  position: absolute;
  padding: 20px 30px;
  border-radius: 15px;
  font-weight: 600;
  color: #fff;
  background: #26a69a;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  cursor: default;
  user-select: none;
  transform: scale(1);
  transition: background 0.5s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .mission-container-chaos3 {
    height: 600px;
  }
  .mission-item-chaos3 {
    font-size: 0.9rem;
    padding: 15px 20px;
  }
}

/* ==== Styles pour Vision ==== */
.vision-section-slider {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f0f8ff, #e0eafc);
  text-align: center;
  overflow: hidden;
}

.vision-section-slider h2 {
  font-size: 2.5rem;
  color: black;
  margin-bottom: 40px;
  font-weight: 700;
}

.vision-slider {
  display: flex;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto 20px auto;
}

.vision-slide {
  min-width: 100%;
  padding: 30px 20px;
  background: #82b5f0;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  flex-shrink: 0;
  transition: transform 0.5s ease-in-out;
}

.vision-slide h3 {
  color: #00796b;
  margin-bottom: 15px;
}

.vision-slide p {
  font-size: 1rem;
  line-height: 1.5;
}

.vision-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.vision-controls button {
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  background: #00796b;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.vision-controls button:hover {
  background: #004d40;
}

/* Responsive */
@media (max-width: 768px) {
  .vision-section-slider h2 {
    font-size: 2rem;
  }
  .vision-slide {
    padding: 20px 15px;
  }
}

.valeurs-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f0f8ff, #e0eafc);
  text-align: center;
}

.valeurs-section h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: black;
  font-weight: 700;
}

.valeurs-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.valeur-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  flex: 1 1 250px;
  max-width: 300px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.valeur-card h3 {
  color: black;
  margin-bottom: 15px;
}

.valeur-card p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Effet hover */
.valeur-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .valeurs-section h2 {
    font-size: 2rem;
  }
  .valeur-card {
    padding: 20px 15px;
  }
}

.organisation-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f0f8ff, #e0eafc);
  text-align: center;
}

.organisation-section h2 {
  font-size: 2.5rem;
  color: #000000;
  margin-bottom: 50px;
  font-weight: 700;
}

.organisation-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.org-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  flex: 1 1 250px;
  max-width: 300px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(50px);
}

.org-card h3 {
  color: black;
  margin-bottom: 15px;
}

.org-card p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Animation au scroll */
.org-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hover effect */
.org-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .organisation-section h2 {
    font-size: 2rem;
  }
  .org-card {
    padding: 20px 15px;
  }
}
.soutien-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f0f8ff, #e0eafc);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.soutien-section h2 {
  font-size: 2.5rem;
  color: #000000;
  margin-bottom: 20px;
  font-weight: 700;
}

.soutien-section p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #8f8f96;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.soutien-button {
  display: inline-block;
  padding: 15px 40px;
  background-color: #303f9f;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.soutien-button:hover {
  transform: scale(1.1);
  background-color: #1a237e;
  box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .soutien-section h2 {
    font-size: 2rem;
  }
  .soutien-section p {
    font-size: 1rem;
  }
  .soutien-button {
    font-size: 1rem;
    padding: 12px 30px;
  }
}

.footer-section {
  background: #1e88e5;
  color: #fff;
  padding: 60px 20px 20px 20px;
  position: relative;
  overflow: hidden;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.footer-left {
  flex: 1 1 300px;
}

.footer-img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

.footer-right {
  flex: 2 1 400px;
}

.footer-right h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.footer-right p {
  margin-bottom: 10px;
  font-size: 1rem;
}

.footer-links {
  margin: 20px 0;
}

.footer-links a {
  color: #fff;
  margin-right: 15px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffeb3b;
}

.footer-socials a {
  margin-right: 15px;
  display: inline-block;
}

.footer-socials img {
  width: 30px;
  height: 30px;
  filter: brightness(1.2);
  transition: transform 0.3s ease;
}

.footer-socials img:hover {
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  color: #cfd8dc;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }
  .footer-left, .footer-right {
    flex: 1 1 100%;
    text-align: center;
  }
  .footer-links a {
    display: block;
    margin-bottom: 10px;
  }
  .footer-socials a {
    margin-bottom: 10px;
  }
}


.axes-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f0f8ff, #e0eafc);
  text-align: center;
}

.axes-section h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: black;
  font-weight: 700;
}

.axes-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.axe-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  flex: 1 1 250px;
  max-width: 300px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.7s ease-in-out;
}

.axe-card h3 {
  color: rgb(51, 49, 49)6, 35, 35;
  margin-bottom : 15px;
}

.axe-card p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Animation au scroll */
.axe-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hover effect */
.axe-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .axes-section h2 {
    font-size: 2rem;
  }
  .axe-card {
    padding: 20px 15px;
  }
}

.documents-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #e1f5fe, #b3e5fc);
  text-align: center;
}

.documents-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #0288d1;
  font-weight: 700;
}

.documents-section p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #01579b;
}

.documents-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.document-card {
  background: #fff;
  padding: 25px 20px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  flex: 1 1 250px;
  max-width: 300px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.document-card h3 {
  color: #0288d1;
  margin-bottom: 15px;
}

.document-card p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.download-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #0288d1;
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.download-button:hover {
  background-color: #01579b;
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .documents-section h2 {
    font-size: 2rem;
  }
  .document-card {
    padding: 20px 15px;
  }
}

/* === SECTION GLOBALE === */
.section-cartes {
  padding: 60px 5%;
  background: #f7f9fc;
  font-family: 'Poppins', sans-serif;
}

.section-cartes h2 {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #1d3557;
  margin-bottom: 40px;
}

/* === GRID RESPONSIVE === */
.cartes-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

/* === CARTE === */
.carte {
  background: #fff;
  border-radius: 12px;
  padding: 0;
  padding-bottom: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  position: relative;
}

/* === BANDE ROUGE AVEC TITRE === */
.carte-header {
  background: #39afe6;
  padding: 12px 15px;
  color: #fff;
  border-radius: 12px 12px 0 0;
}

.carte-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* === TEXTE DE LA CARTE === */
.carte p {
  padding: 15px 18px;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === EFFET HOVER === */
.carte:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

/* === SECTION === */
.single-card-section {
  padding: 60px 5%;
  display: flex;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  background: #f5f7fa;
}

/* === CARTE === */
.single-card {
  width: min(700px, 90%);
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* === BANDE SUPÉRIEURE (TITRE) === */
.single-card-header {
  background: #e63946;
  padding: 18px 20px;
  color: white;
  border-radius: 14px 14px 0 0;
  text-align: center;
}

.single-card-header h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* === CONTENU === */
.single-card-body {
  padding: 25px 22px;
}

.single-card-body p {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 12px;
}

/* === HOVER (PC uniquement) === */
@media (hover: hover) {
  .single-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  }
}

/* === RESPONSIVE === */
@media (max-width: 480px) {
  .single-card-body {
    padding: 18px;
  }

  .single-card-body p {
    font-size: 0.95rem;
  }
}

/* === SECTION === */
.three-cards-section {
  padding: 70px 6%;
  text-align: center;
  background: #f7f9fc;
  font-family: 'Poppins', sans-serif;
}

.three-cards-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 5px;
}

.section-subtitle {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 50px;
}

/* === WRAPPER === */
.cards-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* === CARDS === */
.info-card {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  text-align: center;
  border: 1px solid #e6e6e6;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* === ICON === */
.card-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

/* === TITRE === */
.info-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

/* === TEXTE === */
.info-card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .cards-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cards-wrapper {
    grid-template-columns: 1fr;
  }

  .info-card {
    padding: 25px 18px;
  }
}

/* Bouton Retour en haut */
#topBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;

    width: 50px;
    height: 50px;
    border-radius: 50%;

    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: #fff;
    font-size: 22px;
    font-weight: bold;

    border: none;
    cursor: pointer;
    display: none;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

/* Hover */
#topBtn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* Effet clic */
#topBtn:active {
    transform: scale(0.95);
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    #topBtn {
        width: 44px;
        height: 44px;
        font-size: 18px;
        bottom: 15px;
        right: 15px;
    }
}
