/* STYLE GENERAL */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 0.7em;
  font-weight: 400;
  background-color: #000;
  color: #dcdeba;
}
strong {
  margin-top: 0;
  font-size: 1em;
  color: #dcdeba;
  text-shadow: 0 0 10px #000000;
  text-align: center;
}
h1, h2, p {
  margin: 0 0 1em;
}

h2 {
  margin-top: 1em;
  font-size: 1.3em;
  color: #dcdeba;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.9);
}
h3 {
  margin-top: 1.5em;
  font-size: 1em;
  color: #0ff;
}

h4 {
  margin-top: 1.2em;
  font-size: 1.2em;
  color: #dcdeba;
}
/* HERO SECTION */
.hero {
  min-height: 100vh;
  padding-top: 1em;
  padding-bottom: 1em;
  text-align: center;
  background: url('../images/fond-multivert.webp') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  
}
.hero h4 {
  margin-top: 1.2em;
  font-size: 0.7em;
  color: #dcdeba;
  font-weight: 400
}
.overlay {
  background: rgba(0, 0, 0, 0.6);
  padding: 1em 0.5em;
  border-radius: 20px;
  backdrop-filter: blur(2px);
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0.1em;
  box-shadow: 0 0 20px rgba(83, 245, 83, 0.9);
  border-width : 2px;
border-color :rgba(0, 255, 136);
border-style : solid;

  
  
}

.logo-hero {
  width: 50%;
  height: auto;
  max-width: 600px;
  margin: 0 auto 1.5em;
  display: block;
}

.hero h1 {
  margin-top: 1.5em;
  font-size: 2em;
  line-height: 1em;
  color: #00ff88;
  text-shadow: 0 0 8px #02ff9e;
}

.overlay,
.headline_group,
.group-how-text,
.group-how-columns {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5em;
  color: #dcdeba;
  
}

/* On évite que les titres h1/h2/h3/h4 et les boutons héritent de cette taille */
/* .overlay h1,
.overlay h2, */
/* .overlay h3, */
/* .headline_group h1,
.headline_group h2, */
/* .headline_group h3, */
.headline_group h4 {
  font-size: revert; /* laisse les tailles déjà définies pour les titres */
}

.overlay .stargate-button,
.overlay .stargate-button-vert,
.headline_group .stargate-button,
.headline_group .stargate-button-vert {
  font-size: 0.9em; /* préserve la taille des boutons */
}




.stargate-button {
  display: inline-block;
  min-width: 220px;       /* <-- AJOUT : force une largeur minimum */
  text-align: center;     /* <-- AJOUT : centre le texte dans le bouton */
  box-sizing: border-box; /* <-- AJOUT : gère mieux les marges internes */
  padding: 0.6em 1em;     /* J'ai légèrement augmenté le padding haut/bas pour faire plus "bouton" */
  margin: 0.4em;
  color: rgb(0, 225, 255);
  font-weight: bold;
  font-size: 0.9em;       /* <-- CORRECTION : suppression de l'espace */
  letter-spacing: 0.05em;
  border: 2px solid rgb(0, 247, 255);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 12px rgb(0, 225, 255), inset 0 0 5px rgb(0, 225, 255);
  text-decoration: none;
  transition: all 0.3s ease;
}

.stargate-button-vert {
  display: inline-block;
  min-width: 200px;
  height: auto;      
  text-align: center;    
  box-sizing: border-box; 
  padding: 0.6em 1em;     
  margin: 0.5em;
  color: #00ff88;
  font-weight: bold;
  font-size: 0.9em;       /* <-- CORRECTION : suppression de l'espace */
  letter-spacing: 0.05em;
  border: 2px solid rgb(0, 247, 255); /* Tu peux mettre #00ff88 ici si tu veux une bordure verte au lieu de bleue */
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 12px #00ff88, inset 0 0 5px #00ff88;
  text-decoration: none;
  transition: all 0.3s ease;
}


.stargate-button:hover {
  background:rgb(0, 225, 255);
  color: #000;
  box-shadow: 0 0 20px #0ff8, inset 0 0 10px #000;
}

.carousel-container {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
  will-change: transform;
}

.carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  display: block;
}

/* Boutons gauche/droite – tu peux ajuster selon ton design */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  padding: 0.4em 0.6em;
  cursor: pointer;
  z-index: 2;
}

.carousel-btn.prev { left: 0.5rem; }
.carousel-btn.next { right: 0.5rem; }

/* Les petits points */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.carousel-dot.active {
  background: #fff;
}
/* FOOTER */
footer {
  background: #000;
  padding: 2em 1em;
  text-align: center;
  color: #888;
  font-size: 0.9em;
}

footer a {
  color: #ccc;
  text-decoration: none;
  margin: 0 0.5em;
}
.overlay_group {
  background: rgba(0, 0, 0, 0.6);
  padding: 3em 2em;
  border-radius: 20px;
  backdrop-filter: blur(5px);
  width: 100%;
  
}
footer a:hover {
  text-decoration: underline;
}
.headline_group {
  line-height: 1.6em;
  color: #f8f8f8;
  text-align: justify;
  /* text-align: center; */
  margin-bottom: 2em;
  background: rgba(0, 0, 0, 0.5);
  padding: 1.5em;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,255,0,0.4);
  }
.headline_group strong {
  color: #00ff88;
  font-weight: 600;
}

.headline {
  font-size: 1em;
  line-height: 1.6em;
  color: #f8f8f8;
  text-align: center;
  margin-bottom: 2em;
  background: rgba(0, 0, 0, 0.5);
  padding: 1.5em;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,255,0,0.2);
}

.headline strong {
  color: #dcdeba;
  font-weight: 600;
}

/* MODALE DE CONTACT */
.modal {
  position: fixed;
  z-index: 999;
  inset: 0;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.85);
  padding: 2em 1em;
  display: none;
  align-items: flex-start;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.modal:not(.hidden) {
  display: flex;
}

.modal-content {
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid #00ff88;
  border-radius: 20px;
  box-shadow: 0 0 20px #00ff88;
  padding: 2em 1.5em;
  font-size: 1.5em;
  max-width: 800px;
  width: 90%;
  color: #fff;
  position: relative;
  font-family: 'Poppins', sans-serif;
  margin: auto;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .modal-content {
    padding: 1.5em 1em;
  }
}

.modal-content h2 {
  margin-top: 0;
  font-size: 1.5em;
  color: #00ff88;
  text-shadow: 0 0 10px #00ff88;
  text-align: center;
}

.modal-content p {
  text-align: center;
  color: #dcdeba;
  margin-bottom: 1.5em;
}

.modal-content label {
  display: block;
  margin-top: 1em;
  font-weight: bold;
  color: #00ff88;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
  width: 95%;
  padding: 0.8em;
  background: #111;
  border: 1px solid #333;
  color: #fff;
  border-radius: 6px;
  margin-top: 0.4em;
  font-size: 1em;
}

.modal-content button.stargate-button {
  margin-top: 2em;
  width: 95%;
  text-align: center;
}

/* Bouton fermer */
.close-button {
  position: absolute;
  top: 1em;
  right: 1em;
  font-size: 1.8em;
  font-weight: bold;
  color: #0ff;
  cursor: pointer;
  text-shadow: 0 0 10px #0ff;
}
.close-button:hover {
  color: #fff;
  text-shadow: 0 0 20px #0ff;
}
.gallery-section {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 2em;
}

.gallery-item {
  text-align: center;
  max-width: 1200px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.legend {
  font-size: 0.9em;
  color: #ccc;
  margin-top: 0.5em;
}

/* Section "Comment fonctionne la photo de groupe magique ?" */

.headline.group-how {
  text-align: left;              /* on repasse le texte en alignement gauche dans ce bloc */
}

.group-how-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  align-items: flex-start;
  margin-top: 1em;
}
.group-how-columns strong{
 margin-top: 0;
  font-size: 1.2em;
  color: #dcdeba;
  text-shadow: 0 0 10px #000000;
  text-align: center;
} 

.group-how-steps {
  list-style: none;
  margin: 1em 0 0;
  padding: 0;
}

.group-how-steps > li {
  margin-bottom: 1.4em;
  padding-left: 0.6em;
  border-left: 3px solid rgba(0,255,136,0.35); /* léger rappel vert néon */
}

.group-how-steps h3 {
  margin: 0 0 0.3em;
  font-size: 1em;
  color: #0ff;                  /* cohérent avec ton h3 global */
}

.group-how-steps p {
  margin: 0.2em 0;
}

.group-how-where {
  margin-top: 1em;
  font-weight: 600;
}

.group-how-note {
  margin-top: 1.2em;
  font-size: 0.8em;
  color: #ccc;
  text-align: center;
}



  .group-how-figure {
    flex: 0 0 auto;
  }


  .headline.group-how {
    padding: 1.2em 1em;
  }

.carousel-track {
  touch-action: pan-y pinch-zoom;
}
/* On garde la carte .headline mais on aligne le texte à gauche */
.headline.group-how {
  text-align: left;
}

/* Colonnes texte + visuels */
.group-how-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  align-items: flex-start;
  margin-top: 1em;
}

.group-how-text {
  flex: 1 1 320px;
  min-width: 0;
}

/* Colonne des 3 photos de Jérôme */
.group-how-visuals {
  flex: 0 0 230px;
  display: flex;
  flex-direction: column;
  gap: 1em;
  align-items: center;     /* centre les figures horizontalement */
  margin: 0 auto;          /* centre le bloc lui-même dans la carte */
}

/* Chaque vignette */
.group-how-figure {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  padding: 0.75em;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,255,0,0.2);
  margin: 0 auto;          /* s’assure que la figure est centrée */
}

.group-how-figure img {
  display: block;
  max-height: 110px;       /* pour éviter qu’elle soit énorme en hauteur */
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
}

.group-how-figure figcaption {
  margin-top: 0.4em;
  font-size: 0.8em;
  color: #eee;
}

/* Sur mobile : on empile les colonnes et on centre encore plus */
@media (max-width: 800px) {
  .group-how-columns {
    flex-direction: column;
  }

  .group-how-visuals {
    flex-direction: row;   /* les 3 vignettes peuvent se mettre côte à côte si la largeur le permet */
    flex-wrap: wrap;
    justify-content: center; /* centre la ligne de figures */
  }

  .group-how-figure {
    flex: 0 0 auto;
  }
}
.headline_group_viewer {
  line-height: 1.6em;
  color: #f8f8f8;
  text-align: justify;
  /* text-align: center; */
  margin-bottom: 2em;
  background: rgba(0, 0, 0, 0.5);
  padding: 1.5em;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,255,0,0.2);
  }
.headline_group strong {
  color: #00ff88;
  font-weight: 600;
}
.modal-content button.stargate-button-vert {
  margin-top: 2em;
  width: 95%;
  text-align: center;
}

.stargate-button-vert:hover {
  background:#00ff88;
  color: #000;
  box-shadow: 0 0 20px #00ff8893, inset 0 0 10px #000;
}
.liste-avantages {
  list-style: none; 
  padding: 0;  
  margin: 1em auto;       /* Centre le bloc de la liste */
  display: inline-block;  /* Permet au bloc d'être centré sans prendre toute la largeur */
  text-align: left;       /* Aligne le texte à gauche à l'intérieur du bloc centré */
}

/* Style de chaque phrase de la liste */
.liste-avantages li {
  position: relative;
  padding-left: 1.5em;    /* Espace pour la puce */
  margin-bottom: 0.8em; 
  font-size: 0.9rem; 
  font-weight: 300;
  color: #dcdeba; 
}

/* Ton vert néon pour le texte en gras dans la liste */
.liste-avantages li strong {
  color: #0ff;
  font-weight: 400;
  text-shadow: none; /* Optionnel : enlève l'ombre si c'est trop chargé */
}

/* Création de la puce personnalisée avec le vert fluo */
.liste-avantages li::before {
  content: "•";          
  color: #0ff;        /* Ton vert fluo */
  font-size: 1.5em;      
  position: absolute;
  left: 0;
  top: 0px;             
  text-shadow: 0 0 8px #00ff88; /* Effet néon lumineux ! */
}
/* ============================================ */
/* BLOC DIFFUSER - VERSION UNIFIÉE ANTI-BLOQUEUR */
/* ============================================ */
.mvp-diffuser {
  background: rgba(0, 0, 0, 0.6);
  padding: 1em 0.5em;
  border-radius: 20px;
  backdrop-filter: blur(2px);
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0.1em;
  box-shadow: 0 0 20px rgba(83, 245, 83, 0.9);
  border-width : 2px;
border-color :rgba(0, 255, 136);
border-style : solid;
}

.mvp-diffuser-titre {
  color: rgb(0, 225, 255);
  font-size: 1.2em;
  margin-bottom: 1em;
  text-shadow: 0 0 8px rgb(0, 225, 255);
}


.mvp-diffuser-liste {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em;
  justify-content: center;
  align-items: center;
}

/* ---- STYLE UNIFIÉ POUR TOUS LES BOUTONS ---- */
.mvp-diffuser-lien {
  /* Reset des styles natifs */
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  cursor: pointer;
  
  /* Dimensions identiques */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-width: 160px;
  height: auto;
  padding: 0 1em;
  box-sizing: border-box;
  
  /* Apparence uniforme - BLEU */
  color: rgb(0, 225, 255);
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgb(0, 247, 255);
  border-radius: 6px;
  box-shadow: 0 0 12px rgb(0, 225, 255), inset 0 0 5px rgb(0, 225, 255);
  
  /* Texte */
  font-size: 1.0em;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
  
  transition: all 0.3s ease;
}

.mvp-diffuser-lien:hover,
.mvp-diffuser-lien:focus {
  background: rgb(0, 225, 255);
  color: #000;
  box-shadow: 0 0 20px #0ff8, inset 0 0 10px #000;
  outline: none;
}
.mvp-diffuser-lien svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.mvp-diffuser-lien span {
  display: inline-block;
}

/* Toast notification */
.mvp-toast {
  background: rgba(0, 0, 0, 0.6);
  padding: 1em 0.5em;
  border-radius: 20px;
  backdrop-filter: blur(2px);
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0.1em;
  box-shadow: 0 0 20px rgba(83, 245, 83, 0.9);
  border-width : 2px;
border-color :rgba(0, 255, 136);
border-style : solid;
}

.mvp-toast.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Mobile */
@media (max-width: 600px) {
  .mvp-diffuser-lien,.stargate-button-vert,.stargate-button  {
    min-width: 130px;
    font-size: 0.8em;
  }
}
.bandeau {
  background: rgba(0, 0, 0, 0.6);
  padding: 1em 0.5em;
  border-radius: 20px;
  backdrop-filter: blur(2px);
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0.1em;
  box-shadow: 0 0 20px rgba(83, 245, 83, 0.9);
  border-width : 2px;
border-color :rgba(0, 255, 136);
border-style : solid;
}

.bandeau-titre {
  color: rgb(0, 225, 255);
  font-size: 1.2em;
  margin-bottom: 1em;
  text-shadow: 0 0 8px rgb(0, 225, 255);
}


.bandeau-liste {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em;
  justify-content: center;
  align-items: center;
}
/* =========================================================
   MISE EN PAGE MODERNE (FLEXBOX) - PAGE FONCTIONNEMENT
   ========================================================= */

.how-it-works-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    color: #fff;
    font-weight: 300;
}

/* La carte qui englobe chaque étape */
.step-card {
    border: 0px;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;;;
}

.step-header {
    text-align: center;
    margin-bottom: 20px;
}

.step-header h3 {
    color: #0ff; /* Titre en Cyan pour ressortir */
    font-size: 1.6em;
    margin: 0 0 10px 0;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

.step-header p {
    color: #dcdeba;
    font-weight: 300;
    font-size: 1em;
}

/* Le conteneur Flexbox qui met Image et Texte côte à côte */
.step-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
    color: #dcdeba;
    font-weight: 300;
    font-size: 1em;
}

.step-image {
    flex: 1;
    text-align: center;
}

.step-image img {
    max-width: 90%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
}

.step-text {
    flex: 1;
    font-size: 1em;
    line-height: 1.6em;
    text-align: left;
}

/* --- MAGIE POUR MOBILE (Écrans < 800px) --- */
@media (max-width: 1500px) {
    .step-content {
        flex-direction: column; /* Empile l'image et le texte de haut en bas */
        text-align: center;
    }
    .step-text {
        text-align: center; /* Centre le texte sur mobile pour plus de lisibilité */
    }
    .step-card {
        padding: 20px 15px;
    }
}
.liste-avantages a {
    color: #00cc66; /* Le beau vert de ton thème */
    text-decoration: none; /* Enlève le soulignement moche par défaut */
    font-weight: 600; /* Laisse le texte en gras */
    transition: color 0.3s ease, text-shadow 0.3s ease; /* Animation fluide */
}

/* Effet interactif quand la souris passe dessus */
.liste-avantages a:hover {
    color: #ffffff; /* Le texte devient blanc */
    text-shadow: 0 0 10px #00cc66; /* Ajoute un effet de lumière néon verte */
    text-decoration: none;
}