.message-panier {
    position: fixed;
    top: 20px;
    right: 20px;
    background: green;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    opacity: 0.9;
    transition: opacity 1s ease-in-out;
}
.fade-out {
    opacity: 0;
}

 header {
  background-color: #17212b;
  position: sticky; /* le header reste en haut */
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  max-width: 100%;
  margin: 0 auto; /* centré */
  flex-wrap: wrap; /* permet wrap en mobile */
}

.logo img {
  width: 90px;
  height: auto;
  border-radius: 60px;
}

.search-box {
  flex: 1;
  display: flex;
  margin: 5px;
  min-width: 200px;
}

.search-box input {
  flex: 1;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px 0 0 4px;
}

.search-box button {
  padding: 5px 10px;
  background: var(--primary-green);
  color: #fff;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

.nav-icons {
  display: flex;
  gap: 10px;
}

.nav-icons button {
  background: var(--primary-green);
  color: #fff;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
}

/* Menu optimisé */
.menu {
  background: #f0f0f0;
}

.menu ul {
  display: flex;
  flex-wrap: wrap; /* permet retour à la ligne */
  justify-content: center; /* centre les items */
  gap: 12px; /* espace entre les items */
  padding: 8px 10px;
  max-width: 1200px;
  margin: 0 auto; /* centré */
  list-style: none;
}

.menu ul li {
     white-space: nowrap;
    padding: 5px 10px;
    background: linear-gradient(217deg, rgb(164 125 239), rgba(255, 0, 0, 0) 70.71%), linear-gradient(127deg, rgb(240 233 245), rgba(0, 255, 0, 0) 70.71%), linear-gradient(336deg, rgb(136 76 232), rgb(201 201 245 / 48%) 70.71%);
    border-radius: 25px;
    border: 1px solid #ccc;
    font-size: 0.95rem;
}


/* Global overflow fix */
body {
  overflow-x: hidden;
}
/* Responsive mobile */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: center;
  }

  .nav-icons {
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
  }

  .search-box {
    margin: 8px 0;
    width: 100%;
    max-width: 400px;
  }

  .menu ul {
    justify-content: center;
    padding: 8px;
    gap: 10px;
  }
}

* { box-sizing: border-box; margin:0; padding:0; }


/* Nouveau carrousel horizontal */
.product-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 5px;
  padding-bottom: 5px;
}

.product-carousel::-webkit-scrollbar {
  display: none; /* cacher scrollbar */
}



.menu ul {
  display: flex;
  flex-wrap: nowrap; /* empêche retour ligne */
  overflow-x: auto; /* scroll horizontal si besoin */
  gap: 5px;
  padding: 5px 6px;
  background: #f0f0f0;
}

.menu ul::-webkit-scrollbar {
  display: none;
}

/* Container général des commerçants */
.merchant-container {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}

/* Chaque commerçant (section) */
.category {
  flex: 0 0 33%; /* 3 commerçants par ligne */
  border-radius: 6px;
  padding: 6px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  align-items: center;
}

.category h2 {
  margin-bottom: 10px;
  text-align: center;
  color: var(--primary-green);
}

/* Carrousel produits : */
.product-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 5px;
  padding-bottom: 5px;
  padding-top: 5px;
}

.product-carousel::-webkit-scrollbar {
  display: none; /* cacher la barre */
}

.product-carousel .product {
  flex: 0 0 calc(25% - 8px);
    scroll-snap-align: start;
    border-radius: 4px;
    padding: 2px 1px 1.5px 2.5px;
    text-align: center;
    background: #f7f7f7;
    width: 5px;
/*
  flex: 0 0 calc(28.33% - 10px); /* 3 produits visibles *
  scroll-snap-align: start;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 6px;
  text-align: center;
  background: #fafafa;*/
}


/* Responsive tablettes */
@media (max-width: 1024px) {
  .category {
    flex: 0 0 45%; /* 2 commerçants côte à côte */
  }
}

/* Responsive mobiles */
@media (max-width: 768px) {
  .merchant-container {
    flex-direction: column; /* stack en colonne */
  }

  .category {
    flex: 1 1 100%; /* full width */
    width: 100%;
  }

  .product-carousel .product {
    flex: 0 0 35%; /* 2 produits visibles en carrousel mobile */
  }
}


 ul {
      list-style: none;
      padding: 0;
    }

    .liste_1 a {
    text-decoration: none;
    color: #101923;
    font-family: serif;
    font-weight: bold;
    text-shadow: #f0f0f0 1px 0 10px;
    cursor: pointer;
  }

    /* === MODAL CSS === */
    .modal-overlay {
      display: none;
      position: fixed;
      z-index: 9999;
      left: 0;
      top: 0;
      width: 100vw;
      height: 100vh;
      background-color: rgba(0, 0, 0, 0.5);
      justify-content: center;
      align-items: center;
    }

    .modal-content {
      background: white;
      border-radius: 12px;
      padding: 1.5rem;
      max-width: 600px;
      width: 90%;
      box-shadow: 0 4px 20px rgba(0,0,0,0.2);
      position: relative;
      animation: fadeIn 0.3s ease-in-out;
    }

    .close-modal {
      position: absolute;
      top: 10px;
      right: 16px;
      font-size: 24px;
      font-weight: bold;
      color: #888;
      cursor: pointer;
    }

    .modal-header {
      text-align: center;
      font-weight: bold;
      font-size: 1.2rem;
      margin-bottom: 1rem;
    }

    .subtitle {
      font-size: 0.9rem;
      color: #888;
    }

    .modal-cards {
      display: flex;
      gap: 2rem;
      flex-wrap: wrap;
      justify-content: space-between;
      margin-bottom: 1rem;
    }

    .modal-cards .card {
      flex: 2 30%;
      background: #f3f4f6;
      border-radius: 8px;
      padding: 1rem;
      text-align: center;
      font-size: 0.9rem;
    }

    .modal-section {
      background: #f9fafb;
      padding: 1rem;
      border-radius: 8px;
      text-align: center;
      font-size: 0.9rem;
      margin-bottom: 1rem;
    }

    .modal-highlight {
      background: #e6f9ff;
      padding: 1rem;
      border-left: 4px solid #00bfff;
      border-radius: 8px;
      font-size: 0.9rem;
      color: #444;
    }

    @keyframes fadeIn {
      from { transform: translateY(-10px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }
/****************************************** CSS page index ********************************************/
  /* Titre de la boutique */
h1 {
    text-align: center;
    font-size: 2em;
    color: #2c3e50;
    margin-bottom: 10px;
}

/* Lien de retour */
a[href="index.php"] {
    display: inline-block;
    margin: 0 auto 30px auto;
    padding: 8px 16px;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

a[href="index.php"]:hover {
    background-color: #2980b9;
}

/* Conteneur de produits */
.boutique-produits {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

/* Carte produit */
.product {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.product:hover {
    transform: translateY(-5px);
}

.product img {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
}

.product p {
    margin: 5px 0;
    font-size: 0.95em;
}

/* Champ quantité */
.product .quantity-input {
    width: 50px;
    padding: 4px;
    margin-top: 8px;
    margin-bottom: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 6px;
    text-align: center;
}

/* Bouton Ajouter */
.product button {
    padding: 3px 2px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product button:hover {
    background-color: #1e8449;
}

/* Message d’ajout */
#affiche_message {
    text-align: center;
    font-weight: bold;
    color: #2ecc71;
    font-size: 1.1em;
    opacity: 0;
    transition: opacity 0.5s ease;
    margin-top: 20px;
}

/* Classe JS ajoutée pour affichage du message */
#affiche_message.visible {
    opacity: 1;
}

.nav-icons button{
    padding: 2px 2px;
    background-color: #884ce8;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nav-icons button :hover {
    background-color: #1e8449;
}

/***************** section zone info ***********************/
.info-sections {
  width: 100%;
  padding: 1rem;
  background: #270071;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-sizing: border-box;
}

.info-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}

.info-box {
  flex: 1 1 48%;
  background-color: white;
  padding: 0.8rem;
  text-align: center;
  box-sizing: border-box;
  font-size: 1rem;
}

.info-box img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

/* Mobile: mieux répartir et élargir les blocs */
@media (max-width: 768px) {
  .info-section {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
  }

  .info-box {
    flex: 1 1 95%;
    font-size: 1.1rem;
    padding: 1rem;
  }

  .info-box img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}
/***************** fin section zone info ***********************/
/* SECTION GLOBALE */
.intro-section {
   height: 90px;
   position: relative;
    top: 38%;
    text-align: center;
    color: #000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
 /* TEXTE */
.intro-text p {
    font-size: 135%;
    font-weight: bold;
    color: #ebe9e5;
    text-shadow: 2px 5px 3px #3d3730;
    font-family: sans-serif;
}

/* SCROLL INDICATOR (TRIANGLES ANIMÉS) */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.triangle {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid #3498db; /* couleur bleue dynamique */
    opacity: 0.3;
    animation: pulse 1.5s infinite;
}

/* DÉCALAGE ENTRE LES TRIANGLES */
.triangle:nth-child(2) {
    animation-delay: 0.3s;
}

.triangle:nth-child(3) {
    animation-delay: 0.6s;
}

/* ANIMATION PULSE */
@keyframes pulse {
    0% {
        opacity: 0.3;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(5px);
    }
    100% {
        opacity: 0.3;
        transform: translateY(0);
    }
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .intro-text p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .triangle {
        border-left: 12px solid transparent;
        border-right: 12px solid transparent;
        border-top: 16px solid #3498db;
    }
}

@media (max-width: 480px) {
    .intro-text p {
        font-size: 0.95rem;
    }
}
/***************************** FIN CSS animation text intro **********************************************/
/******************************************** Défilement texte horizontal****************************************/
/* MARQUEE STYLES */
.marquee-container {
  width: 100%;
  overflow: hidden;
  background: #f9f9f9; /* facultatif */
}

.marquee {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
}

.marquee .track {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
}

.marquee span {
  display: inline-block;
  margin: 0 1.5rem;
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

/* Animation keyframes */
@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .marquee span {
    font-size: 0.9rem;
    margin: 0 1rem;
  }
}

@media (max-width: 480px) {
  .marquee span {
    font-size: 0.8rem;
    margin: 0 0.8rem;
  }
}

/* Footer */
footer {
  padding: 20px;
}
.footer-sections {
  display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 10px;
}
.footer-col { flex: 1; min-width: 200px; }
.footer-col h4 { color: white; margin-bottom: 8px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 5px; }
.footer-legal { text-align: center; font-size: 0.9rem; color: #666; }

/* Floating icons */
.floating-icons {
  position: fixed; bottom: 10px; right: 10px; display: flex; flex-direction: column; gap: 10px;
}
.floating-icons button {
  padding: 10px; background: var(--primary-green); color: #fff;
  border: none; border-radius: 50%; font-size: 1.2rem; cursor: pointer;
}

/********** css Modal previsionnel **************/
  .modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
}
.modal-content {
  background: white;
  margin: 5% auto;
  padding: 20px;
  width: 90%;
  max-width: 600px;
  border-radius: 10px;
}
  /**********  FIN css Modal previsionnel **************/
  /********** css affiche résultat **************/
.fade {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}
.fade.show {
  opacity: 1;
}
/********** fin css affiche résultat **************/
/************************ FIN AFFICHAGE DYNAMIQUE ******************************************
   Ajout de quelques styles pour l'animation */
  /* MODAL personnalisée pour depot_retour */

  .modal-depot {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    animation: fadeInModal 0.3s ease-in-out;
  }

  .modal-content-depot {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ccc;
    padding: 30px 25px;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
    position: relative;
  }

  .modal-content-depot h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: #333;
  }

  .modal-content-depot input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 1rem;
    transition: 0.3s ease;
    outline: none;
  }

  .modal-content-depot input:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
  }

  .validate-btn {
    background: linear-gradient(to right, #4CAF50, #81C784);
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap:

  
    /***************  Fin css MODAL RETOUR ENVOI COLI *************************/

.product-item {
    transition: all 0.8s ease-in-out;
}

.product-item.hidden {
    opacity: 0;
    transform: scale(0.9);
    display: none;
}
/* Style pour rendre les animations plus fluides */
.product-item {
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.product-item.hidden {
    opacity: 0;
    transform: translateY(20px); /* Mouvement vers le bas lorsqu'un élément disparaît */
    pointer-events: none; /* Empêche toute interaction avec les éléments masqués */
}

/* Ajustement des boutons pour donner un retour visuel */
.filter-btn {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.filter-btn:hover {
    background-color: #f0f0f0;
    color: #333;
}/************************ FIN AFFICHAGE DYNAMIQUE ******************************************/
    
        .table {
     width: 100%;
     border-collapse: collapse;
     margin: 20px 0;
 }
 .table th, .table td {
     padding: 10px;
     text-align: center;
     border: 1px solid #ddd;
 }
 .aa-add-to-cart-btn {
     padding: 10px 20px;
     color: white;
     border: none;
     border-radius: 5px;
     cursor: pointer;
 }
 .affichage {
     font-size: 1.2em;
     color: #333;
     margin-top: 10px;
 }
 /* Styles des boutons de paiement */
 .fluiditer, .fluiditer_Seul {
     margin: 5px 0;
     padding: 10px;
     border: 2px solid #ccc;
     border-radius: 5px;
     cursor: not-allowed;
     transition: all 0.3s ease;
 }
 /* Animation de bordure colorée circulaire */
 .animate-border {
     border: 2px solid transparent;
     animation: borderAnimation 2s infinite;
 }
 /* Définition de l'animation de bordure multicolore */
 @keyframes borderAnimation {
     0% { border-color: #ff7f50; }
     25% { border-color: #ffdf00; }
     50% { border-color: #7fff00; }
     75% { border-color: #00bfff; }
     100% { border-color: #ff7f50; }
 }

.modal-compte {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
}

.modal-content-compte {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  position: relative;
  font-family: 'Segoe UI', sans-serif;
  animation: fadeInCompte 0.4s ease-in-out;
}

.modal-scrollable {
  overflow-y: auto;
  max-height: 65vh;
  padding-right: 10px;
}

.modal-scrollable h3 {
  margin-top: 20px;
  font-size: 1.2rem;
  color: #2c3e50;
}

.modal-close-compte {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
  transition: color 0.2s;
}
.modal-close-compte:hover {
  color: #000;
}

.highlight-info {
  background: #f9f9f9;
  padding: 15px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.05);
}

@keyframes fadeInCompte {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}


    #btnCompris {
  display: block;
  margin: 25px auto 0;
  padding: 10px 20px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#btnCompris:hover {
  background-color: #0056b3;
}

    .fenetre-pop-cachee {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.contenu-pop {
  background-color: #fff;
  color: #000;
  margin: 10% auto;
  padding: 20px 25px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

#fermeturePop {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 1.2rem;
  cursor: pointer;
  color: #555;
}

#messagePop h3 {
  margin-top: 0;
}

#messagePop ul {
  padding-left: 18px;
}

    .liste_1{
      border: none;
      margin: 3px;
    }

    /* Animation fade-in */
@keyframes fadeInPop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.fenetre-pop-cachee {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.contenu-pop {
  background-color: #fff;
  color: #000;
  margin: 10% auto;
  padding: 20px 25px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  animation: fadeInPop 0.4s ease-in-out;
}

/* Icône audio */
.icone-audio {
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
}

.icone-audio svg {
  width: 20px;
  height: 20px;
  fill: #007BFF;
}


    
    .containeryre {
      max-width: 900px;
      margin: auto;
      background-color: #fff;
      padding: 10px;
      border-radius: 12px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }

    .titrerie {
      text-align: center;
      font-size: 18px;
      margin-bottom: 5px;
    }

    .subtitlerie {
      text-align: center;
      font-size: 14px;
      color: #7f8c8d;
      margin-bottom: 10px;
    }

    .features {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 15px;
    }

    .feature {
      flex: 1 1 110px;
      background: #ecf0f1;
      border-radius: 5px;
      padding: 5px;
      text-align: center;
      transition: transform 0.2s ease;
    }

    .feature:hover {
      transform: scale(1.03);
    }

    .icon {
      font-size: 20px;
      margin-bottom: 8px;
    }

    .island { color: #16a085; }
    .store { color: #e67e22; }
    .user { color: #3498db; }
    .vision { color: #8e44ad; }

    .final {
      text-align: center;
      margin-top: 5px;
      font-size: 15px;
      background: #dff9fb;
      border-left: 4px solid #2980b9;
      padding: 4px;
      border-radius: 6px;
      color: #2c3e50;
    }

    @media (max-width: 600px) {
      .feature {
        flex: 1 1 100%;
      }
    }


  .illustr-tourist {
  text-align: center;
  margin-top: 20px;
}

.illustr-tourist img {
  max-width: 180px;
  height: auto;
  margin-bottom: 8px;
}

.img-caption {
  font-size: 0.9em;
  color: #555;
  font-style: italic;
}
  

.btn-depot-modal {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007a5a;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  font-family: sans-serif;
}

.btn-depot-modal:hover {
  background-color: #005f45;
}


.livraison-box {
      max-width: 850px;
      margin: auto;
      background: #ffffff;
      padding: 15px;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      height: 600px;
      overflow-y: auto;
    }

    .livraison-box::-webkit-scrollbar {
      width: 8px;
    }

    .livraison-box::-webkit-scrollbar-thumb {
      background-color: #74b9ff;
      border-radius: 8px;
    }

    .h3Baliq {
      text-align: center;
      font-size: 20px;
      color: #0984e3;
      border-bottom: 3px solid #74b9ff;
      padding-bottom: 10px;
      margin-bottom: 15px;
    }

    .livraison-box p {
      font-size: 16px;
      line-height: 1.7;
      color: #2d3436;
      margin-bottom: 10px;
    }

    .info-highlight {
      background-color: #ecf7ff;
      border-left: 6px solid #74b9ff;
      padding: 20px;
      border-radius: 12px;
      margin-bottom: 25px;
    }

    .ullustrater {
      padding-left: 10px;
    }

    .liminiti {
      margin-bottom: 12px;
    }

    .time-tag {
      display: inline-block;
      background: #dff9fb;
      color: #0984e3;
      padding: 3px 5px;
      border-radius: 10px;
      font-weight: bold;
      margin-left: 5px;
    }

    @media (max-width: 600px) {
      .livraison-box {
        height: 80vh;
        padding: 10px;
      }
    }

   .depot-box {
      max-width: 800px;
      margin: auto;
      background: #ffffff;
      padding: 10px;
      border-radius: 20px;
      box-shadow: 0 4px 9px rgba(0, 0, 0, 0.08);
      height: 600px;
      overflow-y: auto;
    }

    .depot-box::-webkit-scrollbar {
      width: 8px;
    }

    .depot-box::-webkit-scrollbar-thumb {
      background-color: #00cec9;
      border-radius: 8px;
    }

    .depot-box h3 {
      text-align: center;
      font-size: 20px;
      color: #0984e3;
      margin-bottom: 10px;
      border-bottom: 3px solid #00cec9;
      padding-bottom: 10px;
    }

    .depot-box p {
      font-size: 16px;
      line-height: 1.7;
      color: #2d3436;
      margin-bottom: 10px;
    }

    .highlight-info {
      background-color: #eaf7ff;
      border-left: 6px solid #00cec9;
      padding: 7px;
      border-radius: 12px;
      margin-bottom: 15px;
    }

    .depot-steps ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .depot-steps ul li {
      background-color: #f7f9fa;
      border-left: 3px solid #74b9ff;
      padding: 7px 10px;
      margin-bottom: 5px;
      border-radius: 10px;
      font-size: 15px;
      color: #34495e;
    }

    .depot-button {
      text-align: center;
      margin-top: 15px;
    }

    .depot-button a {
      text-decoration: none;
      background-color: #00cec9;
      color: white;
      padding: 8px 15px;
      border-radius: 30px;
      font-weight: bold;
      font-size: 16px;
      transition: 0.3s;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .depot-button a:hover {
      background-color: #00b894;
    }

    @media (max-width: 600px) {
      .depot-box {
        height: 80vh;
        padding: 15px;
      }
    }

    .scroll-container {
      max-width: 800px;
      max-height: 600px; /* Limite la hauteur du bloc */
      margin: auto;
      background: #ffffff;
      padding: 5px;
      border-radius: 10px;
      box-shadow: 0 3px 10px rgba(0,0,0,0.06);
      color: #2d3436;
      overflow-y: auto; /* scroll vertical */
      scrollbar-width: thin;
      scrollbar-color: #00cec9 #dfe6e9;
    }

    .scroll-container::-webkit-scrollbar {
      width: 8px;
    }

    .scroll-container::-webkit-scrollbar-thumb {
      background-color: #00cec9;
      border-radius: 10px;
    }

    .retrait-section h3 {
      text-align: center;
      font-size: 18px;
      color: #1e272e;
      border-bottom: 3px solid #00cec9;
      padding-bottom: 5px;
      margin-bottom: 15px;
    }

    .retrait-section p {
      font-size: 16px;
      color: #636e72;
      line-height: 1.6;
      margin-bottom: 10px;
    }

    .highlight-box {
      background-color: #eafaf1;
      border-left: 5px solid #00b894;
      padding: 17px 10px;
      border-radius: 12px;
      margin-bottom: 10px;
    }

    .retrait-section ul {
      list-style: none;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 9px;
    }

    .retrait-section ul li {
      background: #f1f2f6;
      border-left: 3px solid #0984e3;
      padding: 7px 10px;
      border-radius: 12px;
      line-height: 1.6;
    }

    @media (max-width: 600px) {
      .scroll-container {
        max-height: 80vh;
        padding: 15px;
      }
    }


     .tykez-section {
      max-width: 800px;
      margin: auto;
      background: #ffffff;
      padding: 8px;
      border-radius: 20px;
      box-shadow: 0 4px 9px rgba(0,0,0,0.05);
      color: #2d3436;
    }

    .tykez-section h3 {
      text-align: center;
      font-size: 16px;
      color: #1e272e;
      border-bottom: 3px solid #fdcb6e;
      padding-bottom: 2px;
      margin-bottom: 5px;
    }

    .tykez-section p {
      font-size: 18px;
      font-weight: 500;
      text-align: center;
      color: #2d3436;
      margin-bottom: 4px;
    }

    .tykez-benefits {
      list-style: none;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 13px;
    }

    .tykez-benefits li {
      background: #f1f8e9;
      border-left: 2px solid #a3cb38;
      padding: 2px 3px;
      border-radius: 12px;
      line-height: 1.2;
    }

    .tykez-benefits li strong {
      color: #27ae60;
    }

    .tykez-benefits li ul {
      padding-left: 6px;
      margin-top: 4px;
    }

    .tykez-benefits li ul li {
      background: none;
      border: none;
      padding: 2px 0;
      font-size: 15px;
    }

    @media (max-width: 600px) {
      .tykez-section {
        padding: 20px;
      }
    }
   
    .containeriste {
      max-width: 1000px;
      margin: auto;
      background: #ffffff;
      padding: 15px;
      border-radius: 5px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }

    .zone_couverture {
      text-align: center;
      font-size: 14px;
      margin-bottom: 10px;
    }

    .zone-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-bottom: 10px;
    }

    .commune {
      background: #ecf0f1;
      padding: 6px 9px;
      border-radius: 5px;
      font-size: 13px;
      display: flex;
      align-items: center;
      gap: 5px;
      transition: background 0.2s;
    }

    .commune:hover {
      background: #dff9fb;
    }

    .emoji {
      font-size: 20px;
    }

    .map-container {
      text-align: center;
    }

    .iframesys {
      width: 100%;
      height: auto;
      border: none;
      border-radius: 5px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    .note {
      margin-top: 15px;
      text-align: center;
      font-size: 14px;
      color: #7f8c8d;
    }

    @media (max-width: 600px) {
      .iframesys {
        height: 250px;
      }
    }
  

   .modDEpaiment {
      text-align: center;
      color: #2c3e50;
      margin-bottom: 10px;
      font-size: 18px; font-family: sans-serif;
    }

    .payment-options {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: center;
    }

    .option {
      flex: 1 1 110px;
      background-color: #ffffff;
      border-radius: 10px;
      padding: 5px;
      box-shadow: 0 1.5px 2px rgba(0,0,0,0.08);
      text-align: center;
      transition: transform 0.2s;
      border: 1px solid #ccc;
    }

    .option:hover {
      transform: scale(1.02);
    }

    .icon {
      font-size: 16px;
      margin-bottom: 5px;
    }

    .cash { color: #27ae60; }
    .card { color: #2980b9; }
    .online { color: #f39c12; }
    .tykez { color: #8e44ad; }

    .confirmation {
      margin-top: 15px;
      text-align: center;
      font-size: 10px;
      color: #555;
    }

    @media (max-width: 600px) {
      .payment-options {
        flex-direction: column;
        align-items: center;
      }
    }

    .scarabetisteh2 {
      font-size: 18px;
      margin-bottom: 4px;
      color: #2c3e50;
    }

    details {
      background: #fff;
      border: 1px solid #ddd;
      border-radius: 3px;
      margin-bottom: 4px;
      padding: 4px 5px;
      box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }

    summary {
      font-weight: bold;
      cursor: pointer;
      color: #2980b9;
    }

    summary::marker {
      color: #2980b9;
    }

    .scarabetiste {
      margin: 4px 0;
    }

    blockquote {
      font-size: 13px;
      margin: 5px 0;
      padding: 4px 6px;
      background: #ecf0f1;
      border-left: 2px solid #3498db;
      border-radius: 2px;
    }


#message-container {
  width: 100%;
  height: 30px;
  overflow: hidden;
  position: relative;
  border: 1px solid #ccc;
  background-color: #fff;
  padding: 4px 10px;
  border-radius: 5px;
}

#ecranMessage {
  position: absolute;
  white-space: nowrap;
  will-change: transform;
  animation: defilement 15s linear infinite;
  font-size: 1rem;
  color: #333;
}

@keyframes defilement {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}
.fermer-anim .contenu-pop {
      animation: fadeOutPop 0.3s ease-in-out forwards;
    }
    
    @keyframes fadeOutPop {
      from { opacity: 1; transform: scale(1); }
      to { opacity: 0; transform: scale(0.9); }
    }

    .fluid,il{
     border: 1px solid #ccc
     margin: 4px;
     z-index:100;
     padding: 3px;
     display: block;
    }

    /* Fenêtre modale */
    .modal {
      display: none;
      position: fixed;
      z-index: 100;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background: rgba(0,0,0,0.5);
    }

    .modal-content {
      background: white;
      margin: 10% auto;
      padding: 20px;
      border-radius: 10px;
      width: 80%;
      max-width: 500px;
      text-align: center;
    }

    .modal-content img {
      max-width: 100%;
      height: auto;
    }

    .close {
      color: #aaa;
      float: right;
      font-size: 24px;
      cursor: pointer;
    }

    .aa-sidebar-widget {
      width: 300px;
      margin-top: 50px;
    }
    

    .modal-content iframe {
      width: 100%;
      height: 400px;
      border: none;
    }

    .close {
      color: #aaa;
      float: right;
      font-size: 24px;
      cursor: pointer;
    }

    .aa-sidebar-widget {
      width: 300px;
      margin-top: 50px;
    }

    .tag-cloud a {
      display: inline-block;
      margin: 5px;
      padding: 8px 12px;
      background-color: #28a745;
      color: black;
      border-radius: 20px;
      text-decoration: none;
      font-weight: bold;
    }

    /* Nouveau modal personnalisé */
    .mapzone-modal-overlay {
      display: none;
      position: fixed;
      z-index: 200;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
    }

    .mapzone-modal-box {
      background: white;
      margin: 5% auto;
      padding: 20px;
      border-radius: 12px;
      width: 90%;
      max-width: 700px;
      text-align: center;
    }

    .mapzone-modal-box iframe {
      width: 100%;
      height: 400px;
      border: none;
    }

    .mapzone-close-btn {
      color: #333;
      float: right;
      font-size: 24px;
      font-weight: bold;
      cursor: pointer;
    }
     /* Style de la boîte E-Zando */
    .ezando-box {
      display: none; 
      position: fixed;
      z-index: 1050;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto; 
      background-color: rgba(0, 0, 0, 0.5); 
    }

    .ezando-popup {
      background-color: #fff;
      margin: 10% auto;
      padding: 20px;
      border-radius: 8px;
      width: 80%;
      max-width: 600px;
      font-family: sans-serif;
      line-height: 1.6;
      position: relative;
    }

    .ezando-close {
      color: #888;
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 24px;
      font-weight: bold;
      cursor: pointer;
    }

    .ezando-close:hover {
      color: #000;
    }

/* MODALES GÉNÉRIQUES (Points relais + E-Zando) */
#infoModal,
.ezando-box {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease-in-out;
}

/* CONTENU des modales */
#modal-body,
.ezando-popup {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  animation: slideIn 0.4s ease;
  font-family: Arial, sans-serif;
  color: #333;
}

/* TITRES, TEXTES, IMAGES */
#modal-body h2,
.ezando-popup strong {
  font-size: 20px;
  margin-bottom: 15px;
  display: block;
}

#modal-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 15px auto 0;
  border-radius: 8px;
}

/* BOUTONS DE FERMETURE (X) */
.close,
.ezando-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}
.close:hover,
.ezando-close:hover {
  color: #000;
}

/* ANIMATIONS */
@keyframes fadeIn {
  from { opacity: 0 }
  to { opacity: 1 }
}
@keyframes slideIn {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.aa-product-catg-head-left {
  display: flex;
  flex-wrap: wrap;
  gap: 4px; /* petit espace entre les formulaires */
  justify-content: flex-start;
  align-items: flex-start;
}

.aa-product-catg-head-left form {
  display: flex;
  flex-direction: column;
  flex: 1 1 20px;
  margin: 2px;
}

.aa-product-catg-head-left label {
  margin-bottom: 2px;
  font-weight: bold;
}

.aa-product-catg-head-left select,
.aa-product-catg-head-left input {
  width: 100%;
  padding: 2px 5px;
  font-size: 1em;
  box-sizing: border-box;
}

/*************** CSS COMPARAISON TARIF LIVRAISON**************************************   */
.form-container {
  background: #2b3641;
  border-radius: 5px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  padding: 30px 25px;
  width: 100%;
  max-width: 100%;
  border: 1px solid #fff;
  transition: transform 0.3s ease;
}

.form-container {
   box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
   transition: none; /* évite les effets visuels instables */
 }


.grid {
  display: grid;
  grid-template-columns: 2fr 2fr 2fr 2fr;
  gap: 5px;
}

.header {
  font-weight: 600;
  text-align: center;
  padding: 10px 0;
  border-bottom: 2px solid #eee;
  font-size: 1.15em;
  color: #333;
}

.label {
  font-weight: 600;
  color: #444;
  padding: 10px 0 5px;
}

select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 0.95em;
  background-color: #f9f9f9;
  appearance: none;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg width="12" height="8" viewBox="0 0 12 8" xmlns="http://www.w3.org/2000/svg"><path fill="gray" d="M6 8L0 0h12L6 8z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px;
}

.btn-container {
  grid-column: span 2;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.buttonCompare {
  background-color: #4CAF50;
  align-items: center;
  text-align: center;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1em;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(76, 175, 80, 0.3);
}

button:hover {
  background-color: #3e9e42;
  transform: scale(1.05);
}

  .modal-budget::backdrop {
    background: rgba(0, 0, 0, 0.6);
  }
  .modal-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin: auto;
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s ease-in-out;
  }

  .close-budget-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
  }

  .checkbox-scroll {
    max-height: 300px;
    overflow-y: auto;
    margin: 1rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .btn-valider {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background-color: #2b7a78;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
  }
  .btn-valider:hover {
    background-color: #205b57;
  }

  .pagination {
    text-align: center;
    margin-bottom: 1rem;
  }
  .pagination button {
    background: #eee;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 6px;
    cursor: pointer;
  }
  .pagination button.active {
    background-color: #2b7a78;
    color: white;
  }

  @keyframes fadeIn {
    from {opacity: 0; transform: scale(0.95);}
    to {opacity: 1; transform: scale(1);}
  }
/*****************************FIN CSS LIMITE BIDGET***********************************************/
/***************************** CSS boutons zones **********************************************/
.tag-cloud {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(110px, 1fr));
    gap: 15px;
    max-width: 300px;
    justify-content: center;
}
  .les_zones{
   font-size: 15px;
    position: relative;
    color: rgb(232 234 239);
    font-weight: 500;
    text-shadow: rgb(110 145 189) 0.4px 0.8px 0.4px;
    display: block;
    padding: 6px 9px;
    transition: 0.5s;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
    background: linear-gradient(168deg, rgb(243 243 243), rgb(104 112 119));
    border-radius: 10px;
}
.les_zones:hover{
   font-size: 15px;
    position: relative;
    color: rgb(232 234 239);
    font-weight: 500;
    text-shadow: rgb(110 145 189) 0.4px 0.8px 0.4px;
    display: block;
    padding: 6px 9px;
    transition: 0.5s;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
    background: linear-gradient(357deg, rgb(55 63 83), rgb(19 33 51));
    transition: background 0.3s ease;
    border-radius: 10px;
}
/***************************** CSS boutons zones ********************************************/
/***************************** CSS boutons PUBS **********************************************/

/* Grid : 2 colonnes */
#ul_btn_pu {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(100px, 1fr));
    gap: 15px;
    max-width: 300px;
    justify-content: center;
}

/* Boutons style verre dépoli */
.espace_zones {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

/* Hover : plus lumineux */
.espace_zones:hover {
    background: linear-gradient(168deg, rgb(243 243 243), rgb(104 112 119));
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    color: black;
    text-shadow: 2px 2px 1.5px burlywood;
    font-family: sans-serif;
}

/* Fixes */
#ul_btn_pu li {
    margin: 0;
}

/***************************** FIN CSS boutons PUBS **********************************************/
/***************************** CSS bouton carte points relais **********************************************/
.ville-btn {
  background-color: #f3f9f6;
  border: 1px solid #c6e5d9;
  color: #333;
  font-weight: bold;
  font-size: 0.95em;
  padding: 10px 15px;
  border-radius: 8px;
  width: 100%;
  transition: 0.3s ease;
  margin-bottom: 10px;
}

.ville-btn:hover {
  background-color: #d8f5e3;
  cursor: pointer;
}
/***************************** FIN CSS bouton carte points relais **********************************************/
/*******************************************************************************************************/
/* Modal overlay */
body.modal-open {
  overflow: hidden;
}

.custom-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  padding: 10px;
}

/* Modal content */
.custom-modal-content {
  background: linear-gradient(45deg, #394653, #242f39);
  color: #ffffff;
  border-radius: 15px;
   max-height: 90vh;
  overflow-y: auto;
  padding: 25px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

/* Fade in animation */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}

.close_modal_demande {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  color: #f1d8a9;
  cursor: pointer;
}

/* Form layout */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.form-group label {
  flex: 1 1 40%;
  font-weight: bold;
  color: #f1d8a9;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  flex: 1 1 55%;
  padding: 8px;
  border: none;
  border-radius: 5px;
  background: #ffffff;
  color: #000;
  font-size: 16px;
}

/* Checkbox list */
.checkbox-list {
  max-height: 150px;
  overflow-y: auto;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  color: #000;
}

.checkbox-list label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

/* Boutons */
.send-btn, .open-modal-btn {
  background: #f1d8a9;
  color: #17212b;
  border: none;
  padding: 12px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s ease;
}

.send-btn:hover, .open-modal-btn:hover {
  background: #e2c887;
}

.modal-title {
  margin-bottom: 20px;
  color: #f1d8a9;
  text-align: center;
}

/* Responsive */
@media screen and (max-width: 600px) {
  .custom-modal-content {
    padding: 15px;
  }

  .form-group {
    flex-direction: column;
  }

  .form-group label,
  .form-group input,
  .form-group textarea {
    flex: 1 1 100%;
  }

  .form-group input,
  .form-group textarea {
    font-size: 15px;
  }

  .modal-title {
    font-size: 20px;
  }
}

@media screen and (max-width: 600px) {
  .custom-modal-content {
    max-height: 85vh;
    padding: 20px 15px;
  }
}
.sortie_bdd{
  color: black;
  font-family: sans-serif;

}
/***************************** FIN CSS modal demane personnalisée **********************************************/
/* Overlay */
.modal-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

/* Modal box */
.modal-content {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  position: relative;
  font-family: 'Segoe UI', sans-serif;
  animation: fadeIn 0.3s ease-in-out;
}

/* Header */
.modal-header {
  text-align: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.modal-header .subtitle {
  font-size: 0.9rem;
  color: #888;
}

/* Cards section */
.modal-cards {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.modal-cards .card {
  flex: 1 1 30%;
  background: #f3f4f6;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
}

/* Section vision */
.modal-section {
  background: #f9fafb;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Highlight */
.modal-highlight {
  background: #e6f9ff;
  padding: 1rem;
  border-left: 4px solid #00bfff;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #444;
}

/* Close button */
.close-modal {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 24px;
  font-weight: bold;
  color: #888;
  cursor: pointer;
}

.close-modal:hover {
  color: #000;
}

/* Animation */
@keyframes fadeIn {
  from { transform: translateY(-10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}


/* Conteneur principal */
.menu-container {
  position: fixed;
  top: 60px;
  right: 20px;
  z-index: 1000;
}

/* Hamburger pour mobile */
.hamburger {
  width: 40px;
  height: 30px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  padding: 8px;
  background: rgba(255, 255, 255, 0.9); /* fond clair semi-transparent */
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 1100;
}

.hamburger:hover {
  background: white;
}

.hamburger div {
  height: 4px;
  background-color: #333; /* lignes noires */
  border-radius: 2px;
}

/* Menu signalisation */
.menu-signpost {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: transparent;
  transition: transform 0.4s ease-in-out;
}
.menu-signpost .sign {
    background: #f0ebf9;
    border: 2px solid #f3efef;
    border-left: 10px solid #e2dbef;
    border-radius: 3px;
    /* padding: 5px 15px; */
    margin: 6px 0;
    font-weight: bold;
    box-shadow: 2px 2px 5px rgb(0 0 0 / 28%);
    transition: background 0.3s;
    white-space: nowrap;
}
.menu-signpost .sign:hover {
  background: #f0f0f0;
  cursor: pointer;
}

/* Mobile - caché par défaut */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .menu-signpost {
    position: fixed;
    top: 60px;
    right: 0;
    background: white;
    padding: 10px;
    transform: translateX(100%);
    box-shadow: -2px 0 5px rgba(0,0,0,0.2);
    border-radius: 10px 0 0 10px;
  }
  .menu-signpost.open {
    transform: translateX(0);
  }
}