/* ------------------------------
   Styles Globaux et Bouton
------------------------------ */
body {
  margin: 0;
  padding: 0;
  font-family: Poppins, Arial, sans-serif;
  overflow-x: hidden;
  background: #fff;
}


a {
  text-decoration: none;
}


/* ------------------------------
   1. Header & Navigation (Bandeau)
------------------------------ */
header {
  background: rgba(0, 0, 0, 0.45);
  padding: 20px 40px;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header nav .logo-container {
  display: flex;
  align-items: center;
}

header nav img {
  height: 50px;
  margin-right: 15px;
}

header nav .title {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
}

header nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  font-weight: bold;
}

header nav ul li {
  margin: 0 15px;
}

header nav ul li a {
  font-size: 16px;
   color: #ffffff;
   margin: 15px;
}

header nav ul li a:hover {
  color: #00bcd4;
}

@media (max-width: 768px) {
  header {
    margin-bottom: 100px;
   
  }
}
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}
@media (max-width: 768px) {
  /* Afficher le bouton hamburger sur mobile */
  .hamburger {
    display: block;
  }
  
  /* Cacher la liste par défaut */
  header nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    position: absolute;
    top: 60px; /* Ajuste selon la hauteur de ton header */
    left: 0;
    padding: 10px 0;
  }
  
  /* Lorsque le menu est ouvert */
  header nav.open ul {
    display: flex;
  }
  
  header nav.open ul li {
    margin: 10px 0;
  }
  
  header nav ul li a {
    padding: 10px;
    color: #fff;
    font-size: 18px;
  }
}
/* ------------------------------
   2. Section Slogan et Image de Fond
------------------------------ */
.slogan-section {
  position: relative;
  height: 100vh;
  background: 
    linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)),
    url('https://genezis-agency.fr/images/fond.jpg') no-repeat center center/cover;
}



/* Conserve la disposition originale du slogan */
.slogan-section .slogan {
  position: absolute;
  top: 50%;
  left: 50px;
  transform: translateY(-50%);
  text-align: left;
  max-width: 800px;
  margin-top: 60px;
  color: #fff;
}

.slogan-section .slogan h1 {
  font-size: 50px;
  margin: 0;
  font-weight: bold;
}

.slogan-section .slogan p {
  font-size: 24px;
  margin: 10px 0 0;
}

#changing-word {
  color: #6a11cb;
  transition: all 0.5s ease-in-out;
}

@media (max-width: 768px) {
  .slogan-section {
    position: relative;
    width: 100%;
    height: auto !important;
    padding: 80px 20px;
    margin-top: 0 !important;
    background: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)),
                url('https://genezis-agency.fr/images/fond.jpg') no-repeat center center/cover !important;
  }

  .slogan-section .slogan {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    max-width: 90%;
    text-align: center;
    margin-top: 20px;
    padding: 10px;
  }

  .slogan-section .slogan h1 {
    font-size: 32px;
    margin-top: 100px;
  }

  .slogan-section .slogan p {
    font-size: 18px;
}

}
/* ------------------------------
   3. Animation (conservée)
------------------------------ */
@keyframes rotateLogo {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(80deg);
  }
}
.btn-commencer {
  background-color: #00bcd4;
  color: var(--btn-commencer-text);
  padding: 15px 30px;
  font-size: 18px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  display: inline-block;
  margin-top: 30px;
  font-weight: bold;
}

.btn-commencer:hover {
  background-color: #ffa500;
}


/* ====================================================
GENEZIS VOUS ACCOMPAGNE
==================================================== */
.social-box {
  padding: 80px 40px;
  text-align: center;
  background: #f8f8f8;
}

.social-box .Titre1 h1 {
  font-size: 36px;
  margin-bottom: 40px;
  color: #000000;
  font-weight: bold;
  margin-top: -20px;
}
.social-box .section2 p {
  font-size: 20px;
  margin-bottom: 20px;
}

/* Vous pouvez ajouter ici vos styles pour les icônes et le carrousel */
/* Exemple de base pour les images d'icônes */
.social-box .social-icons-container img.social-icon {
  margin-bottom: -30px;
}

img[alt="Facebook"] {
  width: 180px;
}

img[alt="TikTok"] {
  width: 250px;
}

img[alt="Instagram"] {
  width: 180px;
}

img[alt="Twitch"] {
  width: 120px;
}
img[alt="Linkedin"] {
  width: 130px;
}

/* SECTION GENEZIS VOUS ÉCOUTE */
.genezis-ecoute {
  padding: 60px 40px;
  background-color: #ffffff; /* Couleur de fond légère (modifiable) */
  margin: 0;
}

.ecoute-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 2000px; /* Largeur max (modifiable) */
  margin: 0 auto; /* Centrage horizontal */
  gap: 30px; /* Espace entre texte et image */
}

.ecoute-texte {
  flex: 1;
  margin-right: 200px;
}

.ecoute-texte h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #000000;
  font-weight: bold;
}

.ecoute-texte p {
  font-size: 18px;
  line-height: 1.6;
  color: #000000;
}

.ecoute-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ecoute-image img {
  max-width: 100%;
  height: auto;

}

/* Responsivité */
@media (max-width: 768px) {
  .ecoute-container {
    flex-direction: column;
    text-align: center;
  }
  .ecoute-image {
    margin-top: 20px;
  }
}
/* ------------------------------
DECORATIONS------------------------------ */
.genezis-ecoute {
  position: relative;
  background-color: #fff; /* ou la couleur que vous souhaitez */
  padding: 60px 40px;     /* ajustez selon votre design */
}

/* L'image "écoute.jpg" doit être au-dessus des décorations */
.ecoute-image {
  position: relative;
  z-index: 2;  /* au-dessus de tout ce qui est z-index: 1 */

}

/* Décorations en position absolue, derrière l'image */
.decoration-image,
.decoration-image2,
.decoration-image3{
  position: absolute;
  z-index: 1;       /* juste en-dessous de l'image (z-index:2) */
  pointer-events: none; /* pour ne pas bloquer les clics ou le scroll */
  width: 450px;     /* ajustez selon vos préférences */
  height: auto;
}

/* Exemple de placement de la première forme */
.decoration-image {
  top: 8%;   /* ajustez pour déplacer verticalement */
  left: 58%;  /* ajustez pour déplacer horizontalement */
  transform: rotate(100deg);
}

/* Exemple de placement de la deuxième forme */
.decoration-image2 {
  bottom: 10%;
  right: 11%;
  transform: rotate(190deg);
}
.decoration-image3
{
  display: none;
}


@media (max-width: 768px) {
  .ecoute-image {
    display: none;
  }
}

@media (max-width: 768px) {
  .decoration-image {
      display: none;
  }
}
@media (max-width: 768px) {
  .decoration-image2 {
      display: none;
  }
}
@media screen and (min-width: 2560px) {
  .decoration-image {
     top: 8%;   /* ajustez pour déplacer verticalement */
  left: 58%;  /* ajustez pour déplacer horizontalement */
  transform: rotate(100deg);
  }

   }
   @media screen and (min-width: 2560px) {
  .decoration-image2 {
      bottom: 10%;
  right: 20%;
  transform: rotate(190deg);
  }

   }

   @media (max-width: 768px) {
  .decoration-image3 {
    display: block; /* ou inline-block, selon le contexte */
    width: 115%;
    right: -5%;
   bottom: -3%;
  }
}
/* ====================================================
   5. Section Mission, Vision & Valeurs
==================================================== */
/* Bloc accordéon */

.mission-vision-values {
align-items: center;
margin-right: 100px;
margin-left: 100px;
margin-top: 200px;
margin-bottom: 200px;

}

.mission-vision-values .mv-block {
  background: #fff;
  border-radius: 8px;
  margin: 20px 0;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  border-radius: 30px;
}

/* En-tête de chaque bloc avec dégradé */
.mission-vision-values .mv-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: #fff;
  cursor: pointer;
}
.mission-vision-h1 h1
{
  margin: 0;
  font-size: 34px;
  font-weight: bold;
  align-content: center;
  color: #000000;

}
.mission-vision-values .mv-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
}

/* Icône + avec effet de rotation */
.mission-vision-values .mv-header .plus-icon {
  font-size: 24px;
  transition: transform 0.3s ease;
}

/* Contenu masqué par défaut */
.mission-vision-values .mv-content {
  max-height: 0;
  overflow: hidden;
  background: #f9f9f9;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

/* Quand le bloc est actif */
.mission-vision-values .mv-block.active .mv-header .plus-icon {
  transform: rotate(45deg);
}

.mission-vision-values .mv-block.active .mv-content {
  padding: 20px;
  max-height: 300px; /* Ajustez selon la longueur de votre contenu */
}

.mission-vision-values .mv-content p {
  margin: 0;
  font-size: 18px;
  color: #000000;
}
.mission-vision-values .mv-content ul {
  margin: 0;
  font-size: 18px;
  color: #000000;
  line-height: 2;
}

.mission-vision-values

/* ====================================================
   6. Section Pourquoi Genezis ?
==================================================== */
.pourquoi-genezis {
  padding: 80px 40px;
  background: #f0f0f0;
}

.pourquoi-genezis .content h1 {
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
  font-weight: bold;
}

.pourquoi-genezis .features-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.pourquoi-genezis .feature {
  background: #fff;
  padding: 20px;
  flex: 1 1 300px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.pourquoi-genezis .feature h2 {
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: bold;
  text-align: center;
}
.pourquoi-genezis .icon img {
width: 50px;
margin-bottom: 10px;
}

/* ====================================================
   7. Section Offres / Services
==================================================== */
   /****************************************
 * (A) Conteneur global
 ****************************************/
.carousel-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 0;
  position: relative;
  margin-bottom: 200px;
}

.carousel-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;


}

/****************************************
 * (B) Wrapper & piste des cartes
 ****************************************/
.carousel-wrapper {
  position: relative;
  width: 100%;
  height: 500px;  /* Assez pour contenir les cartes */
  overflow: visible;
  margin: 0 auto;
}

.carousel {
  width: 100%;
  height: 100%;
  position: relative;
  /* Pas de display:flex : 
     on va positionner chaque .card en "absolute" */
}
@media (max-width: 768px) {
 .carousel-container {
  position: relative;
  width: 100%;
  height: 900px;  /* Assez pour contenir les cartes */
  overflow: visible;
  margin: 0 auto;}
}
@media (max-width: 768px) {
  .carousel {
    margin-top: 350px; /* ajustez la valeur selon vos besoins */
  }
}


/****************************************
 * (C) Les cartes
 ****************************************/
.card {
  width: 300px;  /* Largeur de la carte */
  height: 420px; /* Hauteur de la carte */
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);

  position: absolute;  /* On les superpose */
  left: 50%;           /* On centre horizontalement */
  top: 50%;            /* On centre verticalement */
  transform-style: preserve-3d;

  transition: transform 0.5s ease, filter 0.5s ease, opacity 0.5s ease;

  /* Effet par défaut : flou + opacité réduite */
  filter: blur(3px);
  opacity: 0.7;
}

.card h2 {
  margin-top: 0;
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: bold;
}
.card ul {
  list-style: disc;       /* Affiche des puces par défaut */
  padding-left: 20px;      /* Décalage de la liste */
  margin: 0;               /* Réinitialise la marge */
}

.card li {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 8px;      /* Espace entre les éléments, ajustez selon vos besoins */
}


/****************************************
 * (D) Bouton CTA
 ****************************************/
.cta {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 5px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background-color: #6a11cb; /* Couleur d'exemple */
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.cta:hover {
  background-color: #ffa500;
}

/****************************************
 * (E) Flèches de navigation
 ****************************************/
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  border: none;
  color: #fff;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  font-size: 24px;
  border-radius: 50%;
  width: 40px;
  height: 40px;

  /* Centrage du symbole dans le bouton */
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-nav.prev {
  left: 20px;
}

.carousel-nav.next {
  right: 20px;
}

/* ====================================================
/* Formulaire de contact intégré */
==================================================== */

/****************************************
 * SECTION FORMULAIRE DE CONTACT
 ****************************************/
.contact-form-section {
  /* Simple zone pour centrer verticalement si besoin */
  padding: 40px 0;
  background: #f8f8f8; /* Couleur de fond autour de la box (optionnelle) */

}

/* Conteneur de la “box” */
.contact-box {
  max-width: 1200px;
  margin: 0 auto;
  background: #f8f8f8;
  border: 1px solid #ddd;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-box h1 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 20px;
  color: #333;
  font-weight: bold;
}

/* Disposition en 2 colonnes pour les champs de la même ligne */
.form-row {
  display: flex;
  gap: 20px; /* Espace horizontal entre les 2 champs */
  margin-bottom: 15px;
}

/* Chaque champ dans la ligne */
.form-group {
  flex: 1; /* Les 2 champs prennent la même largeur */
  display: flex;
  flex-direction: column;
}

/* Label */
.contact-box label {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

/* Champs input / textarea */
.contact-box input,
.contact-box textarea {
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  outline: none;
  transition: border-color 0.3s;
}

/* Focus sur un champ */
.contact-box input:focus,
.contact-box textarea:focus {
  border-color: #00bcd4;
}

/* Ligne pleine largeur (pour le message, etc.) */
.form-full {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

/* Bouton Envoyer */
.contact-box button[type="submit"] {
  background-color: #00bcd4; /* Même couleur que vos autres boutons */
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%; /* Largeur complète */
  margin-top: 10px;
}

/* Survol du bouton */
.contact-box button[type="submit"]:hover {
  background-color: #ffa500; /* Même hover que vos autres boutons */
}

/* Responsive : si écran étroit, on passe en 1 colonne */
@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }
}

/* ====================================================
Section FAQ
==================================================== */
.faq {
  padding: 80px 40px;
  background: #f8f8f8;
  margin-bottom: 100px;
  margin-top: 100px;
  display: none; - /*Cacher la FAQ pour le moment*/

}

.faq .content h1 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
  font-weight: bold;
}

.faq-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.faq-column {
  flex: 1 1 300px;
}

.faq-block {
  background: #fff;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.faq-header h2 {
  font-size: 18px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-content {
  display: none; /* à activer via JS lors du clic */
  margin-top: 10px;
}

/* ====================================================
Section Popup Contact
==================================================== */
.popup {
  display: none; /* Affiché via JavaScript */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup .popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  position: relative;
}

.popup .close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
}

/* ====================================================
   12. Footer
==================================================== */
footer.footer {
  background: #222;
  color: #ccc;
  padding: 40px;
  margin-top: 100px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-section {
  flex: 1 1 200px;
}

.footer-section h2 {
  font-size: 20px;
  margin-bottom: 15px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #ccc;
  font-size: 14px;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
}

@media (max-width: 768px) {
  /* 2.1 - Navigation (Header) */
  header nav ul {
    flex-direction: column;
    align-items: center;
  }
  header nav ul li {
    margin: 10px 0;
  }

  /* 2.2 - Section Slogan */
  .slogan-section {
    height: auto; /* Laisser le contenu grandir selon la taille du slogan */
  }
  .slogan-section .slogan {
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    text-align: center;
    margin-top: 0;
  }
  .slogan-section .slogan h1 {
    font-size: 32px; /* Réduction du titre */
  }
  .slogan-section .slogan p {
    font-size: 18px; /* Réduction du paragraphe */
  }

  /* 2.3 - Section “Genezis vous écoute” */
  .ecoute-container {
    flex-direction: column;
    margin-right: 0; /* On supprime la marge à droite */
    text-align: center;
  }
  .ecoute-texte {
    margin-right: 0; 
  }
  .ecoute-image {
    margin-top: 20px; 
  }

  /* 2.4 - Mission, Vision & Valeurs */
  .mission-vision-values {
    margin: 20px; /* Au lieu de 100px */
  }

  /* 2.5 - Carrousel */
  .carousel-wrapper {
    height: auto; /* Éviter la hauteur fixe sur petit écran */
  }
  .card {
    width: 250px;  /* Réduction de la largeur de la carte */
    height: auto;  /* Laisser le contenu s’adapter */
    margin: 0 auto; /* Centrer la carte */
  }

  /* 2.6 - FAQ */
  .faq-container {
    flex-direction: column;
    align-items: center;
  }
  .faq-column {
    flex: 1 1 100%;
    max-width: 600px; /* Largeur max d’une colonne FAQ */
  }

  /* 2.7 - Formulaire intégré */
  .contact-box {
    max-width: 95%; /* Largeur quasi complète sur mobile */
    margin: 0 auto;
  }

  /* 2.8 - Footer */
  .footer-container {
    flex-direction: column;
    align-items: center;
  }
  .footer-section {
    flex: 1 1 100%;
    max-width: 600px;
    margin-bottom: 20px;
  }
}
