/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #888;
}

ul {
    list-style: none;
}

button {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s;
}

button:hover {
    background: #fff;
    color: #000;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    gap: 30px;
}

/* Hero modifié */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero .background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero .hero-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 20px;
}


/* ajout menu */
/* Style pour le menu burger */
.header-container {
display: flex;
align-items: center; /* Aligne verticalement au centre */
justify-content: space-between;
width: 100%;
align-items: center;
padding: 10px 20px;
}

.logo img {
  height: 50px; /* Ajuste selon la taille de ton logo */
}

.burger-icon {
  display: none; /* Masqué par défaut sur desktop */
  font-size: 2rem;
  cursor: pointer;
  color: #444;
}

.nav-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
}

.nav-menu a {
  text-decoration: none;
  color: #444;
}

/* Version mobile */
@media (max-width: 768px) {
  .burger-icon {
    display: block; /* Affiché en mobile */
  }
  .nav-menu ul {
    display: none; /* Menu masqué par défaut en mobile */
    position: absolute;
    top: 70px; /* Ajuste selon la hauteur de ton header */
    left: 0;
    width: 100%;
    background: #f9f9f9;
    padding: 20px;
    flex-direction: column;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  .nav-menu ul.active {
    display: flex; /* Menu affiché quand actif */
  }
}


/* Version mobile */
@media (max-width: 768px) {
  .header-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .burger-icon {
    display: block;
    margin-left: auto; /* Pousse l'icône burger à droite */
  }
  .nav-menu ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px; /* Ajuste selon la hauteur de ton header */
    left: 0;
    width: 100%;
    background: #f9f9f9;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  .nav-menu ul.active {
    display: flex;
  }
}


/* Version mobile */
@media (max-width: 768px) {
  .header-container {
    flex-direction: row;
    justify-content: space-between;
  }
  .burger-icon {
    display: block;
  }
  .nav-menu ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px; /* Ajuste selon la hauteur de ton header */
    left: 0;
    width: 100%;
    background: #f9f9f9;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  .nav-menu ul.active {
    display: flex;
  }
}

/* Media query pour le mobile */
@media (max-width: 768px) {
  .burger-icon {
    display: block; /* Affiché en mobile */
  }
  .nav-menu ul {
    display: none; /* Menu masqué par défaut en mobile */
    flex-direction: column; /* Affichage vertical en mobile */
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #f9f9f9;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  .nav-menu ul.active {
    display: flex; /* Menu affiché quand la classe 'active' est ajoutée */
  }
}

/* Liste avec puces personnalisées et léger retrait */
.list-clean {
  list-style-type: disc;      /* style des puces : disc, circle, square… */
  margin: 0 0 1em 10em;      /* léger retrait gauche */
  padding: 0;                 /* supprime padding par défaut */
}

.list-clean li {
  margin: 0.4em 0;            /* espace vertical entre les items */
  padding-left: 0.3em;        /* petit espace entre la puce et le texte */
  line-height: 1.5;           /* meilleure lisibilité */
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

/*--.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: -1;--*/
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
	 line-height: 1.1;
    margin-bottom: 0px;
    font-weight: 600;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Sections */
.section {
    min-height: 100vh;
    padding: 50px 5% 20px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
    z-index: -1;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.section p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.service-item {
    margin-bottom: 50px;
}

.service-item h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.service-item ul {
    margin-top: 20px;
}

.service-item li {
    margin-bottom: 10px;
    opacity: 0.9;
}
/* chat ajoute video fred */
#about .video-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

#about .video-wrapper video {
  max-width: 200px;
  width: 50%;
  border-radius: 12px;
}

/* Form */
form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

form input,
form textarea {
    background: transparent;
    border: 1px solid #555;
    color: #fff;
    padding: 15px;
    font-family: 'Poppins', sans-serif;
}

form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    text-align: 
}

/* ajout */
/* header layout de base */
header {
  position: relative;
  z-index: 50; /* s'assurer que le header est au-dessus du contenu */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

/* bouton burger */
.burger {
  display: none; /* visible uniquement en mobile */
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

/* trois lignes */
.burger-line {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: #fff;
  transition: transform .3s ease, opacity .3s ease;
}

/* nav desktop: visible */
.nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* --- mobile --- */
@media (max-width: 880px) {
  .burger { display: flex; }

  /* nav devient overlay caché */
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 260px;
    background: rgba(0,0,0,0.95);
    transform: translateX(100%);
    transition: transform .35s ease;
    padding: 80px 20px;
    box-shadow: -8px 0 30px rgba(0,0,0,0.4);
  }

  .nav ul {
    flex-direction: column;
    gap: 18px;
  }

  /* quand ouvert */
  .nav.open {
    transform: translateX(0);
  }

  /* animation X pour le burger quand actif */
  .burger.active .burger-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .burger.active .burger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .burger.active .burger-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}
/* --- Header fixe visible au scroll --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px; /* ajuste si nécessaire */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  z-index: 9999; /* suffisamment haut pour être au-dessus de tout */
  background: rgba(0,0,0,0.55); /* optionnel: fond semi-transparent pour lisibilité */
  backdrop-filter: blur(4px); /* joli effet (optionnel) */
}

/* Si ton layout nécessite que le contenu ne soit pas caché par le header */
body { 
  padding-top: 72px; /* égal à header height */
}

/* Assure que la vidéo de fond ne capte pas les clics et soit derrière */
.background-video, video.background-video, .hero video {
  pointer-events: none;   /* laisse passer les clics vers le header */
  z-index: -1;            /* derrière tout */
  position: absolute;     /* si tu utilises absolute pour la vidéo */
}

/* S'il existe un parent avec transform, éviter que le header soit 'absurd' :
   Si tu as un container principal transformé, il faut que le header ne soit pas enfant de ce container. */