/* Fixer la navbar */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffffb4;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

/* Pour que le contenu ne soit pas caché */
body {
  padding-top: 70px; /* Ajuste selon la hauteur de la navbar */
}

/* Styles de la nav normale */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links :after {
  background-color: #ff000000;
  color: rgb(0, 0, 0);
}

.nav-links li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  background-color: rgb(0, 0, 0);
}

/* Contact Info in Hero */
.contact-info-hero {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-bottom: 40px;
}

.contact-link {
  color: var(--white);
  text-decoration: none;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  backdrop-filter: blur(5px);
  transition: var(--transition);
  transform: translateY(50px);
}

.contact-link i {
  font-size: 1.2rem;
}

.contact-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(55px);
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
  animation: pulse 2s infinite;
}

.btn-primary:hover {
  background: #ebfc8f;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  animation: borderPulse 2s infinite;
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-color);
}

/* Hamburger caché par défaut */
.hamburger {
  display: none;
  font-size: 29px;
  cursor: pointer;
  color: #fff;
  margin-left: 50px;
}

/* Responsive : quand largeur <= 768px (par exemple) */
@media screen and (max-width: 768px) {
  /* Cacher les liens */
  .nav-links {
    position: fixed;
    top: 150px; /* sous la navbar */
    right: -100%; /* caché à droite */
    height: 36vh;
    width: 190px;
    background-color: #ffffff;
    flex-direction: column;
    padding-top: 20px;
    gap: 20px;
    transition: right 0.3s ease;
    box-shadow: -2px 0 5px #f1e96ed5;
    border-radius: 10px;
    align-items: center; /* 👈 Centrer le contenu */
    text-align: center;
    background-color: #dad8d8;
    border-color: red;
  }
  .nav-links li a {
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    background-color: #dad8d8;
  }

  /* Contact info responsive - colonne et centré */
  .contact-info-hero {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    display: none;
  }

  .contact-link {
    font-size: 1rem;
    padding: 8px 16px;
    transform: translateY(30px);
  }

  .contact-link:hover {
    transform: translateY(35px);
  }

  /* Centrer le bouton ici en responsive */
  .contacter {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .ici {
    background: var(--primary-color);
    animation: pulse 2s infinite;
    width: 200px;
    height: 100px;
    border-radius: 20px;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 2.5rem;
    border-color: #ffffff;
    transition-duration: 1s;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }

  .ici:hover {
    background: #ffffff;
    transform: translateY(-2px);
  }

  /* Centrer la carte de contact en responsive */
  .contact-grid {
    justify-content: center;
    align-items: center;
  }

  .contact-info {
    text-align: center;
    margin: 0 auto;
  }

  .social-links {
    margin-top: -35px;
    margin-left: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 10px 0;
  }

  .social-links a {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Afficher hamburger */
  .hamburger {
    display: block;
    transform: translate(-80px);
    color: #000;
  }

  .hamburger:active {
    motion-rotation: reverse;
  }

  /* Quand menu actif (visible) */
  .nav-links.active {
    right: 0;
  }

  @media screen and (max-width: 320px) {
    /* Cacher les liens */
    .nav-links {
      .hamburger {
        display: block;
        transform: translate(-70px);
      }
    }
  }
}

.main-nav .container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.075);
  border-radius: 20px;
  width: 950px;
  display: flex;
  margin: 0 auto;
  bottom: 30px;
}

.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 150px;
  size-adjust: 20%;
}

.logo-img {
  max-width: 100%;
  height: auto;
  width: 300px; /* taille de base */
  margin-top: -50px;
}

/* Liste horizontale */
.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* Style des liens : transformés en "boutons" élégants */
.nav-links a {
  text-decoration: none;
  display: inline-block;
  padding: 8px 20px;
  background-color: var(--main-color);
  color: rgb(0, 0, 0);
  font-weight: 600;
  border-radius: 30px; /* bords arrondis très doux */
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  transition-duration: 500ms;
}

/* Effet sur le texte actif */
.nav-links a.active {
  background-color: var(--hover-color);
}

/* Effet au survol */
.nav-links a:hover {
  background-color: var(--hover-color);
  transform: translateY(-2px);
}

/* Petite animation d'onde au clic (optionnel) */
.nav-links a:active::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  background: #ffffff33;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: ripple 0.6s linear;
}

@keyframes ripple {
  to {
    transform: translate(-50%, -50%) scale(4);
    opacity: 0;
  }
}

/* Conteneur de la bannière vidéo */
/* Évite les marges du body ou html */

html,
body {
  padding-top: 200px; /* ↗️ Ajuste selon la hauteur de ton header */
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

header {
  position: sticky; /* 👈 Il reste collé en haut */
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Conteneur vidéo */
.video-banner {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  border-bottom: 10%;
}

/* Vidéo full écran bien centrée */
.video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100vw;
  min-height: 100vh;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6); /* facultatif : assombrit un peu la vidéo */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.video-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px; /* hauteur du fondu */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #ffffff 100%);
  z-index: 2;
}

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

.video-content h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-top: 90px;
  transform: translateY(18px);
}

.video-content p {
  font-size: 1.5rem;
  margin-bottom: 70px;
}

.p-hero {
  margin-top: 10px;
}

.other-hero-content {
  margin-top: 100px;
}

.btn-cta {
  display: inline-block;
  padding: 12px 30px;
  background-color: #c9c47d;
  color: black;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 25px 10px rgba(0, 0, 0, 0.2);
  transition: 0.4s;
  transform: translateY(-10px);
}

.btn-cta:hover {
  background-color: #000000;
  transform: scale(1.05);
  color: white;
}
.menu-toggle {
  display: none;
  color: black;
}

@media (max-width: 600px) {
  .btn-cta,
  .cta-button {
    margin-top: -30px !important; /* Réduit l'espace au-dessus du bouton */
    margin-bottom: 0 !important;
  }
  .video-content {
    top: 15% !important; /* Remonte tout le contenu du hero */
    transform: translateY(0) !important;
  }
}

.section-nav {
  text-decoration: none;
  display: inline-block;
  padding: 10px 25px;
  background-color: var(--main-color);
  color: rgb(0, 0, 0);
  font-weight: 600;
  font-variant: small-caps;
  border-radius: 30px; /* bords arrondis très doux */
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  transition-duration: 500ms;
  align-content: center;
}

/* Services Section */
.services {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px;
  background: var(--light-gray);
  text-align: center;
}

.services h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 50px;
  color: #c9c47d;
  position: relative;
}

.services h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #c9c47d;
  margin: 10px auto 0;
  border-radius: 4px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  place-items: center;
}

.service-card a {
  text-decoration: none;
  display: inline-block;
  padding: 10px 25px;
  background-color: var(--main-color);
  color: rgb(0, 0, 0);
  font-weight: 400;
  border-radius: 30px; /* bords arrondis très doux */
  transition: var(--transition);
  position: relative;
  transition-duration: 500ms;
  box-shadow: 0 8px 15px #c5c5c580;
  margin-top: 100px;
}

/* Effet sur le texte actif */
.service-card a.active {
  background-color: var(--hover-color);
}

/* Effet au survol */
.service-card :hover {
  background-color: #fdfdfd;
  transform: translateY(-2px);
}

/* Adaptations supplémentaires pour une meilleure responsivité */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }

  .service-card {
    max-width: 100%;
    padding: 25px;
  }

  .service-card i {
    font-size: 2.2rem;
  }

  .service-card h3 {
    font-size: 1.1rem;
  }

  .service-card p {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .services {
    padding: 60px 15px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 20px;
  }

  .service-card h3 {
    font-size: 1rem;
  }

  .service-card i {
    font-size: 2rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .services {
    padding: 40px 10px;
  }

  .service-card {
    padding: 15px;
  }

  .service-card h3 {
    font-size: 0.95rem;
  }

  .service-card i {
    font-size: 1.8rem;
  }

  .service-card p {
    font-size: 0.85rem;
  }
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
section h2 {
  color: var(--dark-gray);
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5rem;
  position: relative;
}

section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.service-card i {
  font-size: 2.5rem;
  color: #c9c47d;
  margin-bottom: 20px;
  display: block; /* ➕ permet de centrer avec margin auto */
  margin-left: auto; /* ➕ pour bien centrer horizontalement */
  margin-right: auto; /* ➕ */
  text-align: center; /* ➕ sécurise l'alignement si inline */
}
/* === Section À propos === */
.about {
  padding: 80px 20px;
  background: linear-gradient(to right, #f7f7f7, #ffffff);
  color: #333;
}

.about h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 50px;
  color: #c9c47d;
  position: relative;
}

.about h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #c9c47d;
  margin: 10px auto 0;
  border-radius: 4px;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-text {
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
  color: #444;
  padding: 0 10px;
}

/* === Carousel === */
.trust-carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

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

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 15px;
  font-size: 1.2rem;
  text-align: center;
  backdrop-filter: blur(3px);
  font-weight: 600;
}

/* === Carousel Arrows === */
.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 15px;
  z-index: 10;
}

.carousel-controls button {
  background: rgba(255, 255, 255, 0.7);
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
  transition: all 0.3s ease;
}

.carousel-controls button:hover {
  background: #c9c47d;
  color: white;
}

/* === Carousel Dots === */
.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
}

.carousel-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-dots button.active {
  background: #c9c47d;
}

/* === Responsive === */
@media (min-width: 768px) {
  .about-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .about-text {
    flex: 1;
    text-align: left;
    padding-right: 40px;
  }

  .trust-carousel {
    flex: 1;
  }
}

@media (max-width: 600px) {
  .carousel-slide img {
    height: 250px;
  }

  .about h2 {
    font-size: 2.3rem;
  }
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}
.faq {
  background-color: #f9f9f9;
  padding: 80px 20px;
}

.faq h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 50px;
  color: #c9c47d;
  position: relative;
}

.faq h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #c9c47d;
  margin: 10px auto 0;
  border-radius: 4px;
}

.faq-grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transition: 0.3s ease;
}

.faq-question {
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.faq-question:hover {
  background-color: #f0f0f0;
}

.faq-question h3 {
  font-size: 1.2rem;
  color: #222;
  margin: 0;
}

.faq-question i {
  transition: transform 0.3s ease;
  color: #888;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background: #fafafa;
  transition: max-height 0.5s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 20px;
}

.contact {
  background-color: #fff;
  padding: 80px 20px;
  color: #333;
}

.contact h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 50px;
  color: #c9c47d;
  position: relative;
}

.contact h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #c9c47d;
  margin: 10px auto 0;
  border-radius: 4px;
}

.contacter {
  text-align: center;
  margin-bottom: 40px;
}

.contact-description {
  text-align: center;
  margin-bottom: 30px;
}

.contact-description p {
  font-size: 1.1rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  background-color: #000000d5;
  color: #fff;
  font-weight: bold;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.2s;
}

.cta-button:hover {
  background-color: #c9c47d;
  transform: scale(1.05);
}

.contact-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-info {
  background-color: #f9f9f9;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
  max-width: 500px;
  width: 100%;
  text-align: center;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #2c3e50;
}

.contact-info p {
  font-size: 1rem;
  margin: 10px 0;
  color: #555;
}

.contact-info i {
  color: #c9c47d;
  margin-right: 8px;
}

.social-links-head {
  margin-top: -35px;
  margin-left: -110px;
}

.social-links-head a {
  display: inline-block;
  margin: 10 10px;
  font-size: 1.5rem;
  color: #c9c47d;
  transition: transform 0.2s, color 0.3s;
}

.social-links-head a:hover {
  transform: scale(1.1);
  color: #c9c47d;
}

.social-links {
  margin-top: -35px;
  margin-left: -310px;
}

.social-links a {
  display: inline-block;
  margin: 10 10px;
  font-size: 1.5rem;
  color: #c9c47d;
  transition: transform 0.2s, color 0.3s;
}

.social-links a:hover {
  transform: scale(1.1);
  color: #c9c47d;
}

/* FOOTER */

.footer {
  background-color: #111;
  color: #d4af37; /* Or doré élégant */
  padding: 60px 20px 30px;
  font-family: "Segoe UI", sans-serif;
}

.footer .container {
  max-width: 1200px;
  margin: auto;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding-bottom: 30px;
}

.footer-info {
  max-width: 300px;
}

.footer-logo {
  max-width: 180px;
  margin-bottom: 15px;
}

.footer-info p {
  font-size: 1rem;
  line-height: 1.5;
  color: #eee;
}

.footer-links h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #d4af37;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  text-decoration: none;
  color: #ccc;
  font-size: 1rem;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #d4af37;
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.95rem;
  color: #aaa;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-info,
  .footer-links {
    max-width: 100%;
  }

  .footer-logo {
    margin: 0 auto 15px;
  }
}

/*nav-animation*/

.animated-nav {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(17, 17, 17, 0.603);
  border: 2px solid #c9c47d;
  border-radius: 50px;
  display: flex;
  gap: 45px;
  padding: 22px 20px;
  z-index: 9999;
  backdrop-filter: blur(1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.671);
  color: white;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ccc;
  text-decoration: none;
  font-size: 12px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-item i {
  font-size: 25px;
  color: #c9c47d;
  margin-bottom: 4px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.nav-item .label {
  font-size: 11px;
  opacity: 1;
  transform: translateY(5px);
  transition: all 0.3s ease;
  color: #ccc;
}

.nav-item:hover i {
  transform: scale(1.3);
  color: #fff;
}

.nav-item:hover .label {
  opacity: 1;
  transform: translateY(0);
  color: #c9c47d;
}

/* Pour mobile : étirement ou repositionnement */
@media (max-width: 600px) {
  .animated-nav {
    gap: 20px;
    padding: 14px 33px;
  }

  .nav-item i {
    font-size: 16px;
  }
}

/* Fixer la navbar */
html {
  scroll-padding-top: 90px;
}
