/* ===== 1. RESET & GENERAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f5f5f5;
  color: #363636;
  padding-top: 70px; /* Evite navbar a kouvri sit la */
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 80px 0;
}

section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #111E62;
  font-size: 35px;
}

/* ===== 2. NAVBAR & MOBIL MENU SYSTEM ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: #111E62;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  z-index: 9999;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 20px;
  font-weight: bold;
}

.logo img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s;
}

.nav-links li a:hover {
  color: #F76B00;
}

.menu-icon {
  display: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
  user-select: none;
}

/* ===== 3. HERO SECTION (RESPEKTE TAILLE PHOTOSHOP LA SOU MOBIL) ===== */
.hero-section {
  position: relative;
  width: 100%;
  /* Fòse fòma 16:9 Photoshop la sou mobil pou videyo a pa janm taye */
  aspect-ratio: 16 / 9; 
  height: auto;
  overflow: hidden;
  background-color: #000;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* Nenpòt aparèy, videyo a ap parèt antye nèt */
  z-index: 1;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Kouch transparan pou bouton an ka soti */
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 10px;
}




/* Seksyon an jeneral */
.historique {
    padding: 60px 20px;
    background-color: #f9f9f9; /* Yon ti koulè gri trè lejè pou fè l soti sou rès paj la */
    color: #333;
}

/* Kontenè a pou kenbe tout bagay santre ak pwòp */
.historique .container {
    max-width: 900px; /* Limite lajè tèks la pou li pa twò long pou je a */
    margin: 0 auto;   /* Santre kontenè a nan paj la */
}

/* Tit la */
.historique h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: #01037a;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Paragraf la */
.historique p {
    font-size: 1.1rem;      /* Yon gwosè ki fasil pou li */
    line-height: 1.8;       /* Espas ant liy yo pou respire */
    color: #555;            /* Yon koulè nwa ki pa twò agresif */
    text-align: justify;    /* Aliyman ki bay yon aspè liv/jounal */
    margin-bottom: 15px;    /* Espas si ou ta gen lòt paragraf */
}

/* Responsivite (pou telefòn) */
@media (max-width: 768px) {
    .historique h2 {
        font-size: 2rem;
    }
    .historique p {
        font-size: 1rem;
    }
}


/* Kache tèks HTML la sou mobil paske videyo a gen tèks la deja */
.hero-content h1 {
  display: none; 
}

.btn-decouvrir {
  background: #F76B00;
  color: white;
  text-decoration: none;
  padding: 10px 25px;
  border-radius: 6px;
  border: none;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.btn-decouvrir:hover {
  background: #ff8a2d;
}

/* ===== 4. HISTORIQUE & TEXTES ===== */
.historique p,
.merci p {
  text-align: center;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 18px;
}

/* ===== 5. CARDS SYSTEM ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card button {
  margin-top: 15px;
  background: #111E62;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.card button:hover {
  background: #F76B00;
}

/* ===== 6. EVENT ===== */
.event {
  background: #111E62;
  color: white;
}

.event h2 {
  color: white;
}

.info-box {
  background: white;
  color: #222;
  padding: 30px;
  border-radius: 15px;
  max-width: 600px;
  margin: auto;
  text-align: center;
}

.info-box p {
  margin: 15px 0;
  font-size: 18px;
}

/* ===== 7. CONTACT FORM ===== */
.contact form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact input,
.contact textarea {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

.contact textarea {
  height: 150px;
}

.contact button {
  background: #F76B00;
  color: white;
  border: none;
  padding: 15px;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
}

.contact button:hover {
  background: #ff8a2d;
}

/* ===== 8. FOOTER ===== */
footer {
  background: #000;
  color: white;
  text-align: center;
  padding: 20px;
}

/* ==========================================
   ===== 9. MEDIA QUERIES (RESPONSIVE) =====
   ========================================== */

/* --- ADAPTASYON SOU PC (Ekran depi 1024px) --- */
@media (min-width: 1024px) {
  .hero-section {
    aspect-ratio: auto;
    height: 100vh; /* Sou PC li ka pran tout wotè ekran an parfe */
  }
  
  .bg-video {
    object-fit: cover; /* Ranpli gwo ekran PC yo nèt */
  }

  .hero-content h1 {
    display: block; /* Montre tit la sou PC si w vle */
    font-size: 50px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #F76B00;
  }

  .btn-decouvrir {
    padding: 15px 35px;
    font-size: 16px;
  }
}

/* --- REGLAJE STRIK MOBIL (Maks 768px) --- */
@media (max-width: 768px) {
  section h2 {
    font-size: 26px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  /* NAVBAR MOBIL CONFIGURATION */
  .menu-icon {
    display: block; /* Montre bouton ☰ an */
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #111E62;
    flex-direction: column;
    text-align: center;
    padding: 20px 0;
    display: none; /* Kache pa defo */
    z-index: 9998;
  }

  /* Lè w klike sou ☰ klas sa jwe pou l louvri */
  .nav-links.active {
    display: flex; 
  }
}






/* Estil pou Seksyon À propos/Historique */
.about-section { padding: 80px 20px; background: #f9f9f9; }
.about-content { max-width: 900px; margin: auto; line-height: 1.8; color: #333; }
.about-content h2 { color: #111E62; font-size: 2.5rem; text-align: center; margin-bottom: 30px; }
.about-content h3 { color: #F76B00; margin-top: 30px; border-left: 5px solid #111E62; padding-left: 15px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 30px; }
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } }
.highlight-box { background: white; padding: 20px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }


.custom-list {
  list-style: none;
  padding: 0;
}

.custom-list li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.custom-list li img {
  width: 40px;       /* Ou ka ajiste gwosè a isit la */
  height: 40px;
  margin-right: 10px;
  object-fit: contain;
}




/* Estil pou FAQ Accordion */
.faq-container { max-width: 800px; margin: auto; }
.faq-item { background: #fff; margin: 10px 0; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; }
.faq-question { width: 100%; padding: 15px; background: #111E62; color: white; border: none; text-align: left; cursor: pointer; font-weight: bold; }
.faq-answer { padding: 15px; display: none; background: #f9f9f9; color: #333; }
.faq-item.active .faq-answer { display: block; }

/* Nouvo Estil pou Seksyon Ajoute */
.stats-section, .services-section, .faq-section { padding: 60px 20px; text-align: center; }

/* Stats Counter */
.stats-container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; background: #111E62; color: white; padding: 40px; border-radius: 15px; }
.stat-item h3 { font-size: 2.5rem; margin: 0; color: #F76B00; }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 30px; }
.service-card { background: rgba(255, 255, 255, 0.9); padding: 20px; border-radius: 15px; border: 1px solid #ddd; transition: 0.3s; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

/* FAQ Style */
.faq-item { background: #f4f4f4; margin: 10px 0; padding: 15px; border-left: 5px solid #F76B00; text-align: left; border-radius: 5px; }





/* Estil pou Seksyon Remerciement */
.remerciement-section { padding: 40px 20px; text-align: center; }
.remerciement-wrapper { max-width: 700px; margin: auto; }

.btn-deroule {
  background: #111E62;
  color: #fff;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-deroule:hover { background: #F76B00; }

.content-deroule {
  display: none; /* Kache pa defo */
  margin-top: 20px;
  padding: 20px;
  background: #f4f4f4;
  border-radius: 10px;
  text-align: justify;
  line-height: 1.6;
  border: 1px solid #ddd;
}

/* Klas pou montre kontni an lè nou klike */
.content-deroule.show { display: block; }







footer {
  text-align: center;
  padding: 30px 20px;
  background: #2e2e2e; /* Koulè background footer la */
  color: white;
}

.footer-social {
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.footer-social a {
  color: #fff;
  font-size: 28px; /* Gwosè logo yo */
  transition: 0.3s;
}

.footer-social a:hover {
  color: #F76B00; /* Koulè zoranj lan lè ou pase sourit sou li */
  transform: scale(1.2);
}