/* ========== ?? Réinitialisation générale ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Helvetica', sans-serif;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
}

/* ========== ?? Header commun (index) ========== */
.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: transparent;
  padding-top: 10px;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.logo img {
  max-height: 50px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

/* ========== ?? Navigation index classique ========== */
.main-nav {
  display: none;
  flex-direction: column;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.95);
  width: 100%;
  padding: 20px 0;
}

.main-nav.open {
  display: flex;
}

/* ========== ?? Bannière fixe index ========== */
.banner-fixed {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.banner-fixed img {
  width: 100%;
  height: auto;
  display: block;
}
/* ========== ??? banner carroussel ========== */
.banner-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
  padding-top: 70px; /* ? espace sous le logo flottant */
}
.banner-slider img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
  transition: opacity 0.8s ease-in-out;
  opacity: 1;
}

/* Petits ronds de navigation */
.banner-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.banner-dots .dot {
  width: 10px;
  height: 10px;
  background: #bbb;
  border-radius: 50%;
  transition: background 0.3s ease;
  cursor: pointer;
}

.banner-dots .dot.active {
  background: #fff;
}

/* ========== ??? Carrousel index ========== */
.carousel {
  background-color: #1A1A1A;
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
}

.carousel-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  justify-items: center;
}

.carousel img {
  width: 100%;
  max-width: 220px;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.carousel img:hover {
  transform: scale(1.1);
}

/* ========== ?? Vidéos index ========== */
.latest-videos {
  text-align: center;
  margin: 40px 0;
}

.latest-videos iframe {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 16/9;
  border-radius: 15px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
}

.videos-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ========== ?? Contact flottant ========== */
.floating-vertical-bar {
  position: fixed;
  top: 100px;
  right: 15px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border: 1px solid #ccc;
  padding: 12px 10px;
  border-radius: 30px;
  background: transparent;
  backdrop-filter: blur(6px);
}

.contact-call {
  color: white;
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  line-height: 1.2;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  width: 100%;
}

.floating-vertical-bar .contact-icons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-vertical-bar .contact-icons a {
  width: 38px;
  height: 38px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.floating-vertical-bar .contact-icons a:hover {
  transform: scale(1.12);
  background: #f2f2f2;
}

.floating-vertical-bar .contact-icons img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
/* ========== ?? burger ========== */
.burger {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  color: white;
  cursor: pointer;
  display: block;
}

.menu {
  display: none;
  position: absolute;
  top: 60px;
  right: 20px;
  background-color: rgba(0, 0, 0, 0.9);
  border-radius: 10px;
  padding: 15px 20px;
}

.menu.show {
  display: block;
}

.menu ul {
  list-style: none;
}

.menu ul li {
  margin: 10px 0;
}

.menu ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
/* ========== Bouton devis ========== */
.devis-button:hover {
  background: #cc0000;
}
/* ========== Suivez-nous ========== */
.social-subscribe {
  text-align: center;
  margin-top: 40px;
}

.social-subscribe p {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
  color: #ffffff;
}

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

.social-icons a img {
  width: 30px;
  height: 30px;
  transition: transform 0.2s ease;
}

.social-icons a:hover img {
  transform: scale(1.2);
}
/* ========== Chat Whatsapp ========== */
.whatsapp-chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 8px 12px;
  border-radius: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.whatsapp-chat img {
  width: 30px;
  height: 30px;
}

.whatsapp-chat span {
  font-size: 14px;
  color: #000;
  font-weight: bold;
  font-family: Helvetica, sans-serif;
}
/* ========== Vidéo banner mp4 ========== */
.video-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  max-height: 500px;
}

.video-banner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.site-footer {
  background-color: #000;
  color: white;
  text-align: center;
  padding: 30px 20px;
  font-size: 14px;
}

.site-footer p {
  margin: 10px 0;
}

.site-footer nav {
  margin-top: 10px;
}

.site-footer nav a {
  color: #00aaff;
  text-decoration: none;
  margin: 0 8px;
  font-weight: bold;
}

.site-footer nav a:hover {
  text-decoration: underline;
}

/* ========== ?? Responsive minimal ========== */
/* ? Position légèrement plus haute sur mobile */
@media (max-width: 500px) {
  .whatsapp-chat {
    bottom: 150px;
  }
}
@media (max-width: 768px) {
  .carousel-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .logo img {
    max-height: 30px;
  }

  .thumbnails {
    flex-direction: row;
    justify-content: center;
    width: 100%;
  }

  .gallery-wrapper {
    flex-direction: column;
  }

  .burger {
    font-size: 26px;
  }
  
  .banner-slider {
    padding-top: 50px; /* ? espace sous le logo flottant */
  }
}
