html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100%;
}
/* Styles existants ici ... */

/* Reset basique */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
}

/* --- Header --- */
header {
  height: 60px;
  background-color: #303030; /* version définitive */
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  color: white;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}


/* Modifie ou remplace cette partie */

/* Structure du haut */
.container-header {
  width: 100%;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-burger {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Le bouton burger est caché en version desktop */
.burger {
  font-size: 24px;
  cursor: pointer;
  display: none;
  color: white;
}

/* Responsive (mobile) */
@media (max-width: 768px) {
  .container-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-burger {
    order: -1;
    flex-direction: row;
    align-items: center;
    width: 100%;
    padding: 10px 0;
  }

  .burger {
    display: block;
  }

  nav {
    width: 100%;
    display: none;
    background-color: #303030;
  }

  nav.show {
    display: flex;
    justify-content: flex-start;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
  }

  nav ul li {
    margin: 10px 0;
  }

  .titre-site {
    font-style: italic;
    font-size: 20px;
    color: white;
  }
}


.logo {
  height: 40px;
  border-radius: 5px; /* Arrondi des coins */
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #ff9100;
}

/* --- Image d'entête fixe --- */
.image-entete {
  position: relative;
  height: 400px;
  margin-top: 60px; /* espace sous le header fixé */
  overflow: hidden;
}

.image-entete img {
  position: fixed;
  top: 60px; /* en dessous du header */
  left: 0;
  width: 100vw;
  height: 400px;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}

/* --- Contenu principal --- */
main {
  width: 100%;
  padding: 20px;
  background-color: rgb(255, 255, 255); /* pour garder la lisibilité */
  position: relative;
  z-index: 10;
  box-sizing: border-box; /* important pour que le padding soit inclus dans la largeur */
}


/* --- Footer --- */
footer {
  background-color: #2c2c2c;
  color: white;
  text-align: center;
  padding: 20px 10px;
  margin-top: 40px;
  font-size: 14px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  header, .container-header {
    flex-direction: column;
    height: auto;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  nav ul li {
    margin: 10px 0;
  }

  main {
  width: 100%;
  padding: 20px;
  margin-top: 100px; /* ou 450px, ajuste selon la hauteur de ton image d'entête */
  background-color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 10;
  box-sizing: border-box;
}

  .image-entete {
    height: 250px;
  }

  .image-entete img {
    height: 250px;
    top: 60px;
  }
}

body {
  font-family: Verdana, sans-serif;
}

h1 {
  font-family: "Verdana", serif;
}

.image-entete-parallaxe {
  height: 100vh; /* hauteur relative = responsive */
  background-image: url('image/Bannière\ clysea.fr\ \(1\).png'); /* remplace par ton image */
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* effet parallaxe */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-entete-parallaxe .overlay {
  background-color: rgba(0, 0, 0, 0.4); /* effet assombri si texte */
  color: white;
  padding: 40px;
  text-align: center;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .service {
    flex-direction: column !important;
    text-align: left;
  }

  .service .image-service {
    order: -1;
  }

  .service .texte-service {
    order: 0;
  }
}


 

  .btn-cta {
    display: block;
    width: fit-content;
    margin: 20px auto 0;
  }


.logo-titre {
  display: flex;
  align-items: center;
}

.titre-site {
  font-size: 20px;
  font-weight: bold;
  margin-left: 10px;
  color: white;
  font-family: 'Verdana', sans-serif;
  animation: fadeInSlide 1.2s ease-out;
  transition: color 0.3s ease;
}

/* Ajoute ceci juste après */
.titre-site:hover {
  color: #ff9100; /* Jaune doré au survol */
}


@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.service {
  display: flex;
  align-items: center;         /* Centre verticalement */
  justify-content: center;     /* Espace égal entre texte et image */
  padding: 60px 20px;
  gap: 40px;
}

/* === Bloc texte des services === */
.service .texte-service {
  flex: 1;
  max-width: 768px;       /* 🔧 largeur du texte sur desktop */
  text-align: justify;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;          /* centre le texte horizontalement */
}

/* Responsive : pleine largeur sur mobile */
@media (max-width: 768px) {
  .service .texte-service {
    max-width: 100% !important;
    padding: 0 10px;
  }
}


.service .image-service {
  flex: 1;
  text-align: center;
}

.service .image-service img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.service.inversé {
  flex-direction: row-reverse;
}

.service {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row; /* Important pour garder image à gauche */
  gap: 80px;
  margin: 60px auto;
  max-width: 1200px;
  padding: 0 20px; /* ⇐ marges droite et gauche */
}
@media (max-width: 768px) {
  .service {
    flex-direction: column;
    text-align: center;
    padding: 0 30px; /* marges plus petites si besoin */
  }

  .service img {
    order: -1; /* pour forcer l’image à passer AU-DESSUS du texte */
    margin-bottom: 20px;
  }
}

.service .image-service {
  flex: 1;
  max-width: 100%;
}

.service.inversé {
  flex-direction: row-reverse;
}



.service .image-service {
  flex: 1;
  max-width: 100%;
}


.btn-cta {
  display: inline-block;
  margin-top: 20px;
  background-color: #0077cc;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center;
}

/* Centrer le bouton dans son bloc texte */
.texte-service {
  text-align: justify;
  display: flex;
  flex-direction: column;
  align-items: center; /* centre horizontalement les éléments */
}

.btn-cta:hover {
  background-color: #005fa3;
}


.conteneur {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0px; /* marge gauche/droite */
}

/* Justifie uniquement les paragraphes, pas les titres */
.texte-service p {
  text-align: justify;
  color: #5c5c5c;
}

/* Met les titres de service en italique */
.texte-service h2 {
  font-style: italic;
  margin-bottom: 10px;
  text-align: left;
  color: #0077cc;
}

/* Bouton burger */
.burger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Responsive : transformation du menu en burger */
@media (max-width: 768px) {
  .burger {
    display: block;
  }

  nav {
    display: none;
    width: 100%;
    background-color: #2c2c2c;
    padding: 10px 0;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 10px 0;
  }

  nav.show {
    display: flex;
    justify-content: center;
  }
}

.texte-service p {
  text-align: justify;
}
/* === Image avec effet slide gauche/droite === */
.image-service {
  opacity: 0;
  transition: all 3s ease-out;
}

/* Entrée depuis la gauche */
.image-service.gauche {
  transform: translateX(-100px);
}

/* Entrée depuis la droite */
.image-service.droite {
  transform: translateX(100px);
}

/* Quand visible (après scroll par exemple) */
.image-service.visible {
  transform: translateX(0);
  opacity: 1;
}

/* === Style de l'image elle-même === */
.image-service img {
  width: 80%;            /* ⇐ modifie ici si besoin */
  max-width: 500px;      /* ⇐ ou ici */
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

.bloc-gris {
  background-color: #2c2c2c; /* gris foncé */
  color: rgb(211, 211, 211);
  padding: 40px 60px;
  text-align: center;
  border-radius: 10px;
  margin-left: 100px;
  margin-right: 100px;
}

.bloc-gris .contenu-centre {
  max-width: 1200px;
  margin: 0 auto;
  
}

.bloc-gris h2 {
  font-size: 28px;
  margin-bottom: 20px;
  font-style: italic;
}

.bloc-gris p {
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

.formulaire-contact {
  background-color: #2c2c2c; /* gris foncé */
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.formulaire-contact h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.formulaire-contact p {
  font-size: 16px;
  margin-bottom: 40px;
}

.formulaire-contact form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.form-groupe {
  margin-bottom: 20px;
}

.form-groupe label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.form-groupe input,
.form-groupe textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 6px;
  background-color: #f5f5f5;
  color: #2c2c2c;
  font-size: 16px;
}

.form-groupe input:focus,
.form-groupe textarea:focus {
  outline: 2px solid #0077cc;
}

.btn-envoyer {
  background-color: #0077cc;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-envoyer:hover {
  background-color: #005fa3;
}


.footer {
  background-color: #161616;
  color: #ddd;
  padding: 40px 20px;
}

.footer-blocs {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer .bloc {
  flex: 1 1 200px;
  min-width: 200px;
}

/* Titres avec classes de couleur modifiables individuellement */
.footer-titre {
  font-size: 18px;
  margin-bottom: 10px;
}

/* Couleurs personnalisées */
.footer-titre.rouge { color: #ff4d4d; }
.footer-titre.bleu { color: #3399ff; }
.footer-titre.vert { color: #66cc66; }
.footer-titre.jaune { color: #f4c542; }

.footer p {
  font-size: 14px;
  line-height: 1.6;
  color: #ccc;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
  .footer-blocs {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer .bloc {
    width: 100%;
  }
}

/* === Animation Fade-in === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer .bloc {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

/* Delai d'apparition progressive */
.footer .bloc:nth-child(1) { animation-delay: 2s; }
.footer .bloc:nth-child(2) { animation-delay: 2.5s; }
.footer .bloc:nth-child(3) { animation-delay: 3s; }
.footer .bloc:nth-child(4) { animation-delay: 3.5s; }

/* === Titres plus hauts et séparés du contenu === */
.footer-titre {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 22px;
  font-weight: bold;
  text-align: left;
}

/* Position initiale */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}

/* Quand visible au scroll */
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.image-arrondie {
  border-radius: 5px; /* Ajuste la valeur selon le niveau d'arrondi voulu */
}

.bloc-avec-fond {
  background-image: url('image/develop-a-wordpress-eccomerce-website-1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment :fixed;
  padding: 40px;
  color: white; /* Pour que le texte reste lisible */
}


/* Section a propos */
.section-a-propos {
  padding: 80px 20px;
  max-width: 1000px;
  margin: 0 auto;
  background-color: #2c2c2c; /* Fond clair */
  text-align: center;
  border-radius: 10px;
}

/* Titre en italique avec couleur personnalisée */
.titre-a-propos {
  font-style: italic;
  font-size: 32px;
  color: #ccff00; /* ← change cette couleur comme tu veux */
  margin-bottom: 20px;
}

/* Paragraphe personnalisé */
.texte-a-propos {
  font-size: 14px;
  color: #d4d4d4; /* ← couleur du texte */
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

.contact-section {
  background-color: #2c2c2c;
  padding: 60px 20px;
  text-align: center;
}

.titre-contact {
  font-size: 32px;
  margin-bottom: 20px;
  font-style: italic;
  color: #ccff00;
}

.texte-contact {
  font-size: 18px;
  margin-bottom: 40px;
  color: #ffffff;
}

.formulaire-contact {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.formulaire-contact input,
.formulaire-contact textarea {
  padding: 12px;
  border: 1px solid #2c2c2c;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
}

.formulaire-contact input:focus,
.formulaire-contact textarea:focus {
  outline: none;
  border-color: #0077cc;
  box-shadow: 0 0 0 3px rgba(0,119,204,0.1);
}

.formulaire-contact .btn-cta {
  width: fit-content;
  align-self: center;
  padding: 12px 30px;
}

@media (max-width: 768px) {
  .image-entete {
    height: auto;
    margin-top: 60px;
    position: relative;
  }

  .image-entete img {
    position: relative; /* ⚠️ NE PAS garder fixed sur mobile */
    top: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

section,
img,
.bloc-gris,
.footer,
.contact-section,
.bloc-avec-fond,
.conteneur {
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

img {
  pointer-events: none;
  user-select: none;
}

body {
  -webkit-user-select: none; /* iOS */
  -ms-user-select: none;     /* Windows Phone */
  user-select: none;         /* Standard */
  touch-action: manipulation;
}
img {
  pointer-events: none;
}

.scroll-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.slide {
  height: 100vh;
  scroll-snap-align: start;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide img {
  width: 100vw; /* toute la largeur de l'écran */
  height: auto; /* garde les proportions de l'image */
  max-width: 100%; /* sécurité pour ne pas dépasser */
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  border-radius: 10px;
  display: block;
  margin: 0 auto; /* centre horizontalement si utile */
}

/* Dots */
.dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 6px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #fff;
}



.bloc-noir {
  background-color: #2c2c2c; /* gris foncé */
  color: rgb(211, 211, 211);
  padding: 40px 20px;
  text-align: center;
  border-radius: 0px;
  margin-left: 0px;
  margin-right: 0px;
}

.bloc-noir .contenu-centre {
  max-width: 1200px;
  margin: 0 auto;
  
}

.bloc-noir h2 {
  font-size: 28px;
  margin-bottom: 20px;
  font-style: italic;
}

.bloc-noir p {
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}


@media (max-width: 768px) {
  .bloc-gris {
    border-radius: 12px; /* ✅ à remettre aussi ici si besoin */
    margin: 0 10px;
  }
}
/* Tablette */
@media (max-width: 1024px) {
  .bloc-gris {
    margin: 0 40px;   /* marges latérales plus petites qu'en PC */
    padding: 30px;    /* espace interne réduit mais confortable */
  }

  .bloc-gris .texte-a-propos {
    padding: 0 20px;  /* espace autour du texte */
  }
}

/* Mobile */
@media (max-width: 768px) {
  .bloc-gris {
    margin: 0 20px;   /* encore moins de marge pour occuper l’écran */
    padding: 20px;    /* padding interne réduit */
  }

  .bloc-gris .texte-a-propos {
    padding: 0 10px;  /* petit coussin autour du texte */
    text-align: center; /* meilleur confort de lecture */
  }
}

/* Bloc vidéo général */
.bloc-video {
  text-align: center;
  padding: 40px 20px;
  background-color: #2c2c2c;
  color: #d4d4d4;
  border-radius: 10px;
  margin: 40px auto;
  max-width: 92%;   /* occupe toute la largeur disponible */
}

/* Titre et texte */
.bloc-video .titre-a-propos {
  font-size: 36px;
  font-style: italic;
  margin-bottom: 20px;
  color: #ccff00;
}

.bloc-video .texte-a-propos {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 1000px;  /* limite la largeur du texte */
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 0 20px;    /* espace intérieur pour respirer */
}

/* Container vidéo responsive */
.video-container {
  position: relative;
  width: 90%;           /* presque toute la largeur */
  max-width: 1600px;    /* limite pour grands écrans */
  padding-bottom: 56.25%; /* ratio 16:9 */
  height: 0;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Tablette */
@media (max-width: 1024px) {
  .bloc-video {
    padding: 30px 20px;
  }

  .video-container {
    width: 95%;
    max-width: 1200px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .bloc-video {
    padding: 20px 15px;
    margin: 10px auto;
  }

  .video-container {
    width: 100%;
    padding-bottom: 56.25%;
  }

  .bloc-video .texte-a-propos {
    padding: 0 10px;
    font-size: 14px;
  }

  .bloc-video .titre-a-propos {
    font-size: 24px;
  }
}
.maquette-canva-full {
  margin: 0;
  padding: 0;
}

.maquette-canva-full img {
  display: block;
  width: 100%;
  height: auto;
}

/* Plein écran (full-bleed) même à l'intérieur d'un conteneur centré) */
.full-bleed {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  max-width: 100vw;
}

.maquette-canva-full img {
  width: 100%;
  height: auto;
  display: block;
}

/* Conteneur avec hauteur fixe + scroll interne */
.maquette-container {
  width: 80%;
  max-width: 2500px;
  height: 600px; /* même hauteur que les autres templates */
  margin: 0 auto;
  overflow-y: scroll; /* permet de scroller à l’intérieur */
  border: 1px solid #ffffff; /* optionnel : pour voir le cadre */
  box-shadow: 0 8px 20px rgba(2, 2, 2, 0.25);
}

.maquette-container img {
  width: 100%; /* garde la même largeur que les autres */
  height: auto; /* conserve les proportions */
  display: block;
}

/* 🎨 Dégradé animé sur les titres des services */
.texte-service h2 {
  background: linear-gradient(135deg, #3B82F6, #9333EA, #3B82F6);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  animation: gradientMove 4s ease infinite;
}

/* 🖱️ Dégradé animé sur les boutons des services */
.btn-cta {
  background: linear-gradient(135deg, #3B82F6, #9333EA, #3B82F6);
  background-size: 200% 200%;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: gradientMove 4s ease infinite;
}

/* Effet hover pour encore plus d'interactivité */
.btn-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Animation du dégradé */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* =============================
   ANIMATION BLOC GRIS
   ============================= */
.exemple-image {
  opacity: 0;                  /* invisible au départ */
  transform: translateX(50px); /* glisse depuis la droite par défaut */
  transition: all 0.8s ease-out;
  display: block;
  margin: 0 auto;              /* centrage horizontal */
  max-width: 80%;
  height: auto;
}

/* Images qui glissent depuis la gauche */
.exemple-image.gauche {
  transform: translateX(-50px);
}

/* Quand visible, elles apparaissent */
.exemple-image.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Optional : petit effet de zoom en plus */
.exemple-image.visible:hover {
  transform: scale(1.03);
  transition: transform 0.5s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .exemple-image {
    max-width: 90%;
    transform: translateX(30px);
  }
  .exemple-image.gauche {
    transform: translateX(-30px);
  }
}

@media (max-width: 480px) {
  .exemple-image {
    max-width: 100%;
    transform: translateX(20px);
  }
  .exemple-image.gauche {
    transform: translateX(-20px);
  }
}
/* Bloc gris – images qui glissent au scroll */
.exemple-image {
  opacity: 0;
  transform: translateX(50px); /* glisse depuis la droite par défaut */
  transition: transform 3s ease-out, opacity 5s ease-out;
  border-radius: 10px; /* 🔹 ajoute cette ligne pour arrondir les coins */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); /* ombre portée */
  display: block;
  margin: 20px auto; /* centrage et espacement */
  max-width: 80%;
  height: auto;
}

/* Les images impaires glissent depuis la gauche */
.exemple-image.gauche {
  transform: translateX(-50px);
}

/* Quand visible, elles apparaissent */
.exemple-image.visible {
  opacity: 1;
  transform: translateX(0);
}
