@font-face {
  font-family: 'HostGrotesk';
  src: url('/fonts/HostGrotesk-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: 'HostGrotesk';
  src: url('/fonts/HostGrotesk-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
}

/* - reset général */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* - mises en page de base */
body {
  font-family: 'HostGrotesk', sans-serif;
  background: #F3F8FF;
  color: #333;
  line-height: 1.6;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* - variables couleurs */
:root {
  --primary-blue: #0056b3;
  --accent-red: #e31b23;
  --neutral-dark: #333;
  --neutral-light: #F3F8FF;
  --border-light: #eaeaea;
}

/* - header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--neutral-light);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;  
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  padding-bottom: 10px;
}
.container-bouton {
  max-width: 1200px;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.logo img {
  height: 50px;
}
.nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}
.nav ul li a {
  list-style-type: none;
  text-decoration: none;
  color: var(--neutral-dark);
  font-weight: 500;
  transition: color 0.3s;
}
.nav ul li a:hover {
  list-style-type: none;
  color: var(--primary-blue);
}
.don-btn {
  text-decoration: none;
  background: #F3F8FF;
  border: 1px solid #3289FF;
  color: #3289FF;
  padding: 7px 15px;
  font-weight: 600;
  transition: background 0.3s;
}
.don-btn:hover {
  background: #006CFE;
  color: #F3F8FF;
}

.don-btn_2 {
  text-decoration: none;
  background: #006CFE;
  color: #F3F8FF;
  padding: 7px 15px;
  font-weight: 600;
  transition: background 0.3s;
}
.don-btn_2:hover {
  background: #3289FF;
}

/* - section hero : pleine hauteur moins header */
.hero {
  position: relative;
  margin-top: 80px; /* hauteur du header */
  height: calc(100vh - 80px);
  background: url('../img/fond-thomas.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}
.hero-content {
  position: relative;
  color: var(--neutral-light);
  max-width: 800px;
}
.hero-content h1 {
  font-family: 'HostGrotesk', sans-serif;
  font-weight: 800;
  font-size: 42px;
  margin-bottom: 10px;
}
.hero-content h2 {
  font-family: 'HostGrotesk', sans-serif;
  font-weight: 800;
  font-size: 32px;
  margin-bottom: 20px;
}
.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
}
.hero-ctas .btn {
  text-decoration: none;
  background: var(--primary-blue);
  color: var(--neutral-light);
  padding: 12px 25px;
  font-weight: 600;
  transition: background 0.3s;
  margin: 0 10px;
}
.hero-ctas .btn.secondary {
  border: 1px solid #3289FF;
  background-color: #F3F8FF;
  color: #3289FF;
}
.hero-ctas .btn:hover {
  background: #006CFE;
  border-color: #006CFE;
  color: #F3F8FF;
}
@media (max-width: 768px) {
  .hero-ctas {
    display: flex;
    flex-direction: column; 
    align-items: center;   
    gap: 12px;               
    width: 100%;
    padding: 0 15px;        
    box-sizing: border-box;
  }

  .hero-ctas .btn {
    width: 100%;             
    max-width: 400px;        
    margin: 0;               
    box-sizing: border-box;
    text-align: center;
  }
}


.btn_don{
  border: 1px solid #3289FF;
  background-color: #F3F8FF;
  color: #3289FF;
  text-decoration: none;
  padding: 10px 20px;
  font-weight: 600;
  transition: background 0.3s;
  margin: 0 10px;
}

.btn_don:hover {
  background: #006CFE;
  color: #F3F8FF;
}

/* - sections générales */
.section {
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}
.section-container {
  padding: 20px 0;
}
.section h2 {
  font-family: 'HostGrotesk', sans-serif;
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--neutral-dark);
}
.section p {
  font-size: 18px;
  color: #555;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* - boutons globaux */
.btn {
  text-decoration: none;
  background: #006CFE;
  color: #F3F8FF;
  padding: 10px 20px;
  font-weight: 600;
  transition: background 0.3s;
}
.btn:hover {
  background: #3289FF;
}
.btn_secondary_actu {
  text-decoration: none;
  background: #F3F8FF;
  border: 1px solid #3289FF;
  color: #3289FF;
  padding: 10px 20px;
  margin-top: 100px;
  font-weight: 600;
  transition: background 0.3s;
}
.btn_secondary_actu:hover {
  background: #006CFE;
  color: #F3F8FF;
}

/* - section deux colonnes */
.two-col {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}
.assoc-text, .assoc-img {
  flex: 1 1 400px;
}
.assoc-text {
  text-align: left;
}
.assoc-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--neutral-dark);
}
.assoc-text p {
  font-size: 18px;
  color: #555;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .assoc-text {
    text-align: center;
    margin: 0 auto;
  }
}

.assoc-img {
  text-align: center;
}
.assoc-img img {
  max-width: 100%;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* - actualités */
.news-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.news-card {
  position: relative;
  padding-bottom: 60px;
  background: #f8f8f8;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  max-width: 350px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.news-card img {
  width: 100%;
  display: block;
}
.news-card .news-btn {
  position: absolute;
  bottom: 20px;
  left: 20px;
}
.news-content {
  padding: 20px;
  text-align: left;
}
.news-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--neutral-dark);
}
.news-content p {
  font-size: 16px;
  color: #666;
}

.news-content p {
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;    
  line-height: 1.5;              
}

/* - engagements */
.engagements {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin: 30px 0;
}
.engagement {
  max-width: 300px;
  text-align: left;
}
.engagement h3 {
  font-family: 'HostGrotesk', sans-serif;
  font-size: 24px;
  margin-bottom: 10px;
}
.engagement p {
  font-size: 16px;
  color: #555;
}

/* - section partenaires simple (grid) */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}
.partner-logos a img {
  max-height: 50px;
  filter: none; /* logos en couleur */
  transition: filter 0.3s;
}

/* - slider avancé */
.partner-slider {
  position: relative;
  display: flex;
  align-items: center;
  margin: 30px 0;
}
.slider-window {
  overflow: hidden;
  width: 100%;
}
.slider-track {
  display: flex;
  transition: transform 0.6s ease;
}
.slider-item {
  flex: 0 0 25%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  border-left: 1px solid var(--border-light);
}
.slider-item:first-child {
  border-left: none;
}
.slider-item img {
  max-height: 70px;
  filter: none;
  transition: filter 0.3s;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #333;
  cursor: pointer;
  z-index: 2;
}
.slider-btn:hover {
  background: #fff;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
.slider-btn.prev {
  left: -18px;
}
.slider-btn.next {
  right: -18px;
}

/* - footer principal */
.footer-main {
  background: #002666;
  color: #ccc;
  font-size: 0.9rem;
  padding: 40px 0 20px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-col {
  flex: 1 1 200px;
}

.footer-col h3 {
  font-family: 'HostGrotesk', sans-serif;
  font-size: 1.1rem;
  color: #3289FF;
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li + li {
  margin-top: 8px;
}

.footer-col a {
  color: #F3F8FF;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #3289FF;
  text-decoration: underline;
}

/* Réseaux sociaux avec Google Material Icons */
.footer-socials {
  margin-top: 16px;
  display: flex;
  gap: 12px;
}
.social-icon svg {
  width: 20px;
  height: 20px;
  fill: white;
}


.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #3289FF;
  border-radius: 50%;
  color: #fff;
  transition: background-color 0.2s ease;
  text-decoration: none;
}

.social-icon:hover {
  background-color: #1e5fbf;
}

.social-icon .material-icons {
  font-size: 20px;
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid #F3F8FF;
  padding-top: 20px;
  text-align: center;
  color: #F3F8FF;
}

/* - responsive tablettes */
@media (max-width: 1024px) {
  .two-col {
    flex-direction: column;
    text-align: center;
  }

  .assoc-text,
  .assoc-img {
    flex: 1 1 100%;
  }

  .news-grid,
  .engagements {
    flex-direction: column;
    align-items: center;
  }
}

/* - responsive mobiles */
@media (max-width: 768px) {
  .nav ul {
    list-style-type: none;
    flex-direction: column;
    gap: 15px;
  }

  .hero {
    height: calc(100vh - 80px);
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content h2 {
    font-size: 26px;
  }

  .section h2 {
    font-size: 28px;
  }

  .section p,
  .partner-text p,
  .news-content p {
    font-size: 14px;
  }

  .btn,
  .news-btn,
  .partner-link {
    padding: 8px 16px;
    font-size: 14px;
  }

  .partner-entry,
  .partner-entry.reverse {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .partner-logo {
    margin-bottom: 20px;
  }

  .actions-ctas {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .actions-ctas {
    display: flex;
    flex-direction: column;
    align-items: center; /* ou "stretch" selon le rendu voulu */
    gap: 12px;
    width: 100%;
  }

  .actions-ctas .btn,
  .actions-ctas .btn_don {
    width: 100%; /* ou max-width: 400px pour un rendu plus propre */
    text-align: center;
    box-sizing: border-box;
  }
}



/* --- MENU DÉROULANT PRINCIPAL --- */

.main-menu {
  list-style: none;
  display: flex;
  gap: 25px;
  align-items: center;
}


.menu-item {
  position: relative;
}

.menu-link {
  text-decoration: none;
  color: var(--neutral-dark);
  font-weight: 500;
  padding: 10px 15px;
  display: block;
  transition: color 0.3s;
  font-weight: 600;
}

.menu-link:hover {
  color: var(--primary-blue);
}

/* --- Sous-menu --- */
.submenu {
  list-style: none; 
  padding-left: 0;  
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--neutral-light);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-width: 260px;
  z-index: 999;
}

.submenu li {
  list-style: none;
  width: 100%;
}

.submenu-link {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: var(--neutral-dark);
  font-size: 15px;
  transition: background-color 0.3s, color 0.3s;
}

.submenu-link:hover {
  background-color: #f5f5f5;
  color: var(--primary-blue);
}

/* --- Afficher le sous-menu au survol --- */
.has-dropdown:hover .submenu {
  display: block;
}

/* --- Responsive (mobile-friendly par défaut, ajustable) --- */
@media (max-width: 768px) {
  .main-menu {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .submenu {
    position: static;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .submenu-link {
    padding-left: 25px;
  }
}


.articles {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.article-miniature {
  border: 1px solid #ddd;
  padding: 10px;
  width: 200px;
  text-align: center;
}
.article-miniature img {
  max-width: 100%;
}
.article-grand {
  max-width: 800px;
  margin: auto;
}
.article-grand img {
  max-width: 100%;
}

.article-title{
  color: inherit;       
  text-decoration: none;
}

/* article public */

.article-affichage{
  margin-top: 10px;
}

/* Espacer le texte "dz" du header avec une classe unique */
.main-header-text-dz {
  margin-top: 20px;
  text-align: center;
  font-weight: bold;
  font-size: 1.5rem;
}

/* Image centrée, responsive et proportionnée avec classe unique */
.article-affichage__image-responsive {
  display: block;
  margin: 20px auto;
  max-width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
}

/* Conteneur avec largeur max et padding unique */
.section-container__maxwidth {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ----------------------------------------------------*/
.header-container.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-nav .main-menu {
  display: flex;
  align-items: center; /* centre verticalement les items */
  gap: 30px; /* espace entre les items */
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav .main-menu > li {
  white-space: nowrap; /* empêche les retours à la ligne */
}

.menu-link {
  display: flex;
  align-items: center; /* centre le texte dans le lien */
  padding: 10px 15px;
  white-space: nowrap;
  font-weight: 600;
  color: #000; /* ou la couleur que tu souhaites */
  text-decoration: none;
}


/* ========== FORMULAIRE CONTACT ========== */
  .contact-form {
    max-width: 600px;
    margin: 0 auto 40px;
    background: #fff;
    padding: 30px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    text-align: left;
  }
  .form-group {
    margin-bottom: 20px;
  }
  .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--neutral-dark);
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-size: 16px;
    font-family: 'HostGrotesk', sans-serif;
    transition: border-color 0.3s;
  }
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
  }
  .contact-form .btn {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--neutral-light);
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
  }
  .contact-form .btn:hover {
    background: #004494;
  }

  .title-contact{
    margin-top: 40px;
  }


/* ========== FORMULAIRE CONNEXION ========== */



.h1_connexion {
  color: #002666;
  font-size: 2rem;
  margin-bottom: 30px; 
  width: 100%; 
  text-align: center;
}

.form_connexion {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 300px;
}

.global_connexion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.email input,
.mdp input {
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  box-sizing: border-box; 
}

.email input:focus,
.mdp input:focus {
  border-color: #002666;
  outline: none;
}

.h3_connexion {
  text-align: center;
  color: #002666;
  cursor: pointer;
  font-size: 0.9rem;
}

.h3_connexion:hover {
    text-decoration: underline;
}

.bouton_connexion input {
  width: 100%;
  padding: 12px;
  background: #006CFE;
  color: #F3F8FF;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.bouton_connexion input:hover {
  background: #3289FF;
}

.form-contact-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; 
  min-height: 80vh;
  padding: 20px;
}


/* Par défaut : desktop/tablette */
.menu-toggle {
  display: none; /* caché en desktop */
}

.main-menu .menu-link .arrow {
  display: none;
}


@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
}



.contact-social-icon svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.contact-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #3289FF !important;; /* bleu du footer */
  border-radius: 50%;
  color: #fff !important;;
  transition: background-color 0.2s ease;
  text-decoration: none;
}

.contact-social-icon:hover {
  background-color: #1e5fbf !important;; /* bleu plus foncé au hover */
}

.contact-social-icon svg {
  width: 20px;
  height: 20px;
  fill: white !important;;
}

.contact-socials {
  display: flex;
  justify-content: center;
  gap: 15px; /* espace entre icônes */
  margin-top: 1rem;
}

/* --- NOUVEAUX STYLES POUR LE HEADER RESPONSIVE --- */

/* Wrapper pour la navigation et les boutons (Desktop) */
.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 30px; /* Espace entre le menu et les boutons */
}

/* Bouton Hamburger (caché sur desktop) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1001; /* Pour qu'il soit au-dessus des autres éléments */
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #002666; /* Couleur des barres */
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* --- AJUSTEMENTS POUR MOBILE (max-width: 768px) --- */
@media (max-width: 768px) {
  .header-container {
    flex-direction: row; /* Aligne logo et hamburger sur la même ligne */
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Permet au menu de passer en dessous */
    padding: 15px;
  }

  /* Affiche le bouton hamburger */
  .menu-toggle {
    display: flex;
  }

  /* Cache le wrapper de navigation par défaut */
  .nav-wrapper {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 15px;
    align-items: stretch; /* Les éléments prennent toute la largeur */
  }

  /* Affiche le wrapper quand le menu est ouvert */
  .nav-wrapper.open {
    display: flex;
  }
  
  /* S'assure que le menu de navigation prend toute la largeur */
  .main-nav {
      width: 100%;
  }

  /* Styles pour les liens et boutons dans le menu mobile */
  .main-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  
  .menu-link {
    padding: 12px 0;
    width: 100%;
  }

  /* Conteneur des boutons en colonne */
  .container-bouton {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-top: 20px; /* Espace entre la nav et les boutons */
  }

  .don-btn,
  .don-btn_2 {
    width: 100%;
    text-align: center;
  }
  
  /* Retire la règle qui cachait la nav individuellement */
  #main-nav {
    display: block;
  }
}

/* --- HEADER RESPONSIVE CORRIGÉ --- */

/* Wrapper pour la navigation (Desktop) */
.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Styles de l'icône Hamburger */
.menu-toggle {
  display: none; /* Caché sur desktop par défaut */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #002666;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/*
==============================================
  HEADER & NAVIGATION
==============================================
*/

/* --- STRUCTURE PRINCIPALE DU HEADER --- */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--neutral-light);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
}

.logo img {
  height: 50px;
}

/* --- CONTENEUR NAVIGATION + BOUTONS --- */
.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-menu {
  list-style: none;
  display: flex;
  gap: 25px;
  align-items: center;
  padding: 0;
  margin: 0;
}

.menu-item {
  position: relative;
}

.menu-link {
  text-decoration: none;
  color: var(--neutral-dark);
  font-weight: 600;
  padding: 10px 15px;
  display: block;
  transition: color 0.3s;
  white-space: nowrap;
}

.menu-link:hover {
  color: var(--primary-blue);
}

/* --- SOUS-MENU (DESKTOP) --- */
.submenu {
  list-style: none;
  padding: 0;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--neutral-light);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-width: 260px;
  z-index: 999;
}

.has-dropdown:hover .submenu {
  display: block; /* Affichage au survol sur Desktop */
}

.submenu-link {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: var(--neutral-dark);
  font-size: 15px;
  transition: background-color 0.3s, color 0.3s;
}

.submenu-link:hover {
  background-color: #f5f5f5;
  color: var(--primary-blue);
}

/* --- BOUTONS HEADER --- */
.container-bouton {
  display: flex;
  gap: 15px;
}
/* ... (gardez vos styles pour .don-btn et .don-btn_2 ici) ... */


/*
==============================================
  VERSION MOBILE (max-width: 768px)
==============================================
*/

/* --- Bouton Hamburger --- */
.menu-toggle {
  display: none; /* Caché sur desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #002666;
  border-radius: 2px;
}

@media (max-width: 768px) {
  /* --- Disposition sur mobile --- */
  .logo { order: 1; }
  .menu-toggle { display: flex; order: 2; }
  .nav-wrapper { display: none; order: 3; }

  .header-container {
    flex-wrap: wrap;
  }
  
  .logo img {
    height: 36px;
  }

  /* Le menu prend toute la largeur et est caché */
  .nav-wrapper {
    flex-direction: column;
    width: 100%;
    margin-top: 15px;
    align-items: stretch;
  }

  /* Affichage du menu principal au clic sur hamburger */
  .nav-wrapper.open {
    display: flex;
  }

  /* --- Styles du menu en mode mobile --- */
  .main-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  
  .menu-link {
    width: 100%;
    padding: 12px 0;
  }
  
  /* --- Styles des sous-menus en mode mobile --- */
  .has-dropdown:hover .submenu {
    display: none; /* IMPORTANT: On désactive le survol */
  }
  
  .submenu {
    position: static;
    display: none;
    border: none;
    box-shadow: none;
    background: transparent;
    padding-left: 20px;
  }
  
  /* AFFICHAGE AU CLIC via JS */
  .menu-item.open > .submenu {
    display: block;
  }
  
  /* Styles des boutons */
  .container-bouton {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-top: 20px;
  }
}


.just{
  text-align: justify;
}