/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #ffffff;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

/* === VARIABLES === */
:root {
  --primary-color: #d4af37;
  --primary-dark: #b89d30;
  --primary-light: #f0e4bd;
  --secondary-color: #2a2c37;
  --accent-color: #8e7cc3;
  --text-color: #333;
  --text-light: #777;
  --text-dark: #222;
  --bg-light: #f8f9fa;
  --bg-white: #fff;
  --bg-gradient: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  --card-bg: #fff;
  --border-radius: 16px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
  --section-padding: 100px 0;
}

/* === UTILITIES === */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.text-left {
  text-align: left;
}

.highlight {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* === BUTTONS === */
/* 1. Style de base du bouton */
.btn-cta {
  display: inline-block;            /* pour bien gérer padding et margin */
  background-color: #d4af37;        /* couleur vive (ici corail) */
  color: #fff;                      /* texte blanc */
  font-weight: 600;                 /* un peu plus épais */
  text-decoration: none;            /* retire le soulignement */
  padding: 0.75rem 1.5rem;          /* plus d’espace à l’intérieur */
  border-radius: 0.5rem;            /* bords arrondis */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* ombre légère */
  transition: 
    background-color 0.3s ease, 
    transform 0.2s ease, 
    box-shadow 0.2s ease;
  border: none;                     /* si vous aviez un border par défaut */
}

/* 2. Effet au survol */
.btn-cta:hover,
.btn-cta:focus {
  background-color: #d4af37;        /* couleur un peu plus foncée au hover */
  transform: translateY(-2px);      /* léger “lift” */
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* 3. Option : style “actif” (click) */
.btn-cta:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/* 4. Responsive (si besoin) */
@media (max-width: 600px) {
  .btn-cta {
    display: block;
    width: 100%;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

.btn-primary {
  background: var(--primary-color);
  color: var(--secondary-color);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(212, 175, 55, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 700;
}

/* === SECTION HEADERS === */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center; /* Centre horizontalement */
}

.tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: 2.8rem;
  font-family: 'Cinzel', serif;
  color: var(--secondary-color);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* === LAYOUT === */
.navbar {
  background: white;
  padding: 20px 0;
  position: fixed;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--bg-white);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 15px 0;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 50px;
}

/* zone cliquable pleine taille + désactive la capture du <object> */
.logo-container {
  display: inline-block;
  cursor: pointer;
}

.logo-container .logo {
  width: auto;      /* ou width: 100% si vous voulez qu’il remplisse */
  height: 46px;     /* ou la taille que vous préférez */
  pointer-events: none;  /* laisse passer le clic au <a> parent */
}

@media (max-width: 768px) { /* Écrans <= 768px, typiquement les téléphones */
  .logo-container .logo {
    height: 40px; /* Réduction de la taille sur téléphone */
  }
}


.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: black;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.scrolled .nav-links a {
  color: var(--text-color);
}

/* === HERO === */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--secondary-color);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('fond.png');
  background-size: cover;
  background-position: center;
  filter: brightness(0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  color: #fff;
}

.hero-cta {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.hero .subtitle {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
  display: block;
  color: var(--primary-color);
}

.hero h1 {
  font-size: 4rem;
  font-family: 'Cinzel', serif;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.8);
}

.hero-shape {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 150px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,192L48,197.3C96,203,192,213,288,192C384,171,480,117,576,117.3C672,117,768,171,864,197.3C960,224,1056,224,1152,202.7C1248,181,1344,139,1392,117.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  z-index: 2;
}

/* === EXPERIENCE SECTION === */
.experience {
  padding: var(--section-padding);
  background: var(--bg-white);
}

/* Grid des cartes */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* === CARDS FLIP & STYLE === */
.feature-card {
  perspective: 1000px;
  margin: 1rem;
  position: relative;
  /* transition: transform var(--transition);  <-- peut rester pour le flip */
}
/* SUPPRIMER cette règle pour que la carte ne bouge plus au survol */
/* .feature-card:hover {
  transform: translateY(-5px);
} */

.card-inner {
  position: relative;
  width: 100%;
  min-height: 350px;
  transition: transform 0.6s ease-in-out; /* nécessaire pour l’animation du flip */
  transform-style: preserve-3d;
}

/* Flip activé par JS (au clic sur “En savoir plus”) */
.feature-card.flipped .card-inner {
  transform: rotateY(180deg);
}

/* SUPPRIMER ce bloc pour que l’icône ne change pas de couleur au hover de la carte */
/* .feature-card:hover .icon-circle {
  background: var(--primary-color);
  color: #fff;
} */

/* Vous pouvez laisser l’effet de flèche sur le lien si vous voulez */
/* .feature-link:hover i {
  transform: translateX(5px);
} */


.card-front,
.card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 40px 30px;

  display: flex;
  flex-direction: column;
  justify-content: center;  /* Centre verticalement */
  align-items: center;      /* Centre horizontalement */
  text-align: center;       /* Centre le texte si besoin */
}

/* Face arrière masquée */
.card-back {
  transform: rotateY(180deg);
}

/* Liens flip */
.flip-trigger,
.flip-back {
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  align-self: flex-start;
}

/* Cercle d'icône */
.icon-image {
  width: 150px; /* Ajuste la taille si nécessaire */
  height: 150px;
  border-radius: 50%; /* Rend l'image circulaire */
  object-fit: cover;
  display: block;
  margin: 0 auto;
}



/* Titres & paragraphes */
.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}
.feature-card p {
  color: var(--text-light);
  margin-bottom: auto;
}

/* Liens & flèche */
.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}
.feature-link i {
  transition: var(--transition);
}

/* === RESPONSIVE MOBILE === */
@media (max-width: 600px) {
  /* Agrandir les cartes et réduire les flèches */
  .features {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
    width: 90%; /* Utiliser plus de largeur disponible */
    margin-left: auto;
    margin-right: auto;
  }
  
  .feature-card {
    margin: 0.5rem 0;
    width: 100%; /* Utiliser toute la largeur disponible */
  }
  
  .card-inner {
    min-height: 450px; /* Augmenter la hauteur pour éviter le débordement */
  }
  
  .card-front,
  .card-back {
    padding: 30px 25px; /* Plus de padding horizontal */
  }
  
  /* Réduire la taille des flèches de navigation */
  [class^="carousel-arrow"] {
    width: 35px; /* Réduire la taille */
    height: 35px;
  }
  
  /* Si les flèches sont des balises <a> ou <button> avec des classes spécifiques */
  .carousel-prev,
  .carousel-next {
    transform: scale(0.8); /* Réduire légèrement la taille */
  }
  
  .icon-image {
    width: 150px;
    height: 150px;
    margin-bottom: 15px;
  }
  
  .feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333; /* Assurer que le texte est visible */
  }
  
  .feature-card p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #555; /* Assurer que le texte est visible */
  }
}






/* === TIMELINE === */
.timeline {
  padding: var(--section-padding);
  background: var(--bg-light);
  position: relative;
}

.timeline-wrapper {
  position: relative;
  padding: 30px 0;
}

.timeline-progress {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: var(--primary-color);
}

.timeline-items {
  position: relative;
}

.timeline-item {
  display: flex;
  gap: 50px;
  margin-bottom: 60px;
  position: relative;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 4px solid white;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
  z-index: 1;
}

.timeline-content {
  width: 45%;
  padding: 30px;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  background: var(--card-bg);
  transform: rotate(45deg);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -10px;
}

.timeline-day {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.timeline-content p {
  color: var(--text-light);
}

.offre {
  padding: 80px 20px;
  background: var(--bg-light);
  text-align: center;
}

.offre-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 50px 40px;
  box-shadow: var(--box-shadow);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  transition: var(--transition);
}

.offre-card:hover {
  transform: translateY(-8px);
}

.offre-badge {
  background: var(--primary-color);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 20px;
  padding: 8px 20px;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.section-header .tag {
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: 2.8rem;
  font-family: 'Cinzel', serif;
  color: var(--secondary-color);
  margin-bottom: 16px;
}

.section-title .highlight {
  color: var(--primary-color);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 30px;
}

.offre-price {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 30px;
}

.price-current {
  font-size: 2.5rem;
  color: var(--primary-color);
  font-weight: 700;
}

.price-original {
  text-decoration: line-through;
  color: var(--text-light);
  font-size: 1.2rem;
}

.price-monthly {
  color: var(--secondary-color);
  font-weight: 600;
}

.benefits-list {
  text-align: left;
  margin: 0 0 30px 0;
  padding: 0;
}

.benefits-list li {
  margin-bottom: 20px;
  font-size: 1rem;
  color: var(--text-dark);
}

.benefits-list i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 1.2rem;
}

.benefits-list strong {
  color: var(--secondary-color);
}

.benefits-list span {
  color: var(--text-light);
  font-size: 0.9rem;
}


.guarantee {
  margin-top: 15px;
  color: var(--text-light);
  font-size: 0.9rem;
}
.progress-bar-container {
  margin: 20px 0 40px;
  text-align: center;
}

.progress-text {
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.progress-bar {
  background: var(--primary-light);
  border-radius: 30px;
  overflow: hidden;
  height: 16px;
  width: 80%;
  margin: 0 auto;
}

.progress {
  height: 100%;
  background: var(--primary-color);
  width: 60%; /* Dynamique en JS si besoin */
  transition: width 0.5s ease;
  border-radius: 30px 0 0 30px;
}

/* CSS responsive spécifique téléphone pour l'offre */

@media (max-width: 480px) {
  /* Badge plus compact */
  .offre-badge {
    font-size: 0.75rem;
    padding: 4px 12px;
    top: -16px;
  }

  /* Titre principal plus petit et optimisé en deux lignes max */
  .section-title {
    font-size: 1.8rem;
    line-height: 1.2;
    word-break: keep-all;
    white-space: normal;
    margin-bottom: 12px;
  }
  .section-title span {
    display: block;
  }

  /* Sous-titre légèrement réduit */
  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 16px;
  }

  /* Prix : 690€ HT et 990€ barré côte à côte, puis +97€/mois en dessous */
  .offre-price {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 20px;
  }
  .price-current {
    font-size: 2rem;
    order: 1;
  }
  .price-original {
    font-size: 1rem;
    text-decoration: line-through;
    color: var(--text-light);
    order: 2;
  }
  .price-monthly {
    flex-basis: 100%;  /* force sur nouvelle ligne */
    font-size: 0.9rem;
    color: var(--secondary-color);
    order: 3;
    margin-top: 4px;
  }

  /* Ajustements liste et autre texte */
  .benefits-list li {
    margin-bottom: 12px;
    font-size: 0.9rem;
  }
  .progress-text {
    font-size: 0.9rem;
  }
  .progress-bar {
    width: 100%;
  }
  .guarantee {
    font-size: 0.8rem;
  }
}

/* === ABOUT SECTION === */
.about {
  padding: var(--section-padding);
  background: var(--bg-white);
}

.about-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: start;
}

/* Stats should sit under column 2 (the text column) */
.about-wrapper .about-stats {
  display: flex;
  justify-content: flex-start;  /* or center, as you like */
  gap: 30px;
  margin-top: 30px;

  /* This makes the stats occupy the second column */
  grid-column: 2;
}

.about-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  width: 80%;
  height: auto;
}

.about-content p {
  margin-bottom: 1.2rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* === TRUST STATS (toujours en colonne) === */
.about-stats {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px; /* Espace entre les blocs */
  margin-top: 40px;
}


.stat-item {
  text-align: center;
  flex: 1;
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stat-number {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 5px;
  font-family: 'Cinzel', serif;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-light);
}


@media (max-width: 768px) {
  /* Passe la section en colonne, pour pouvoir réordonner */
  .about-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  /* 1) On isole l’image et on la met en premier */
  .about-wrapper > .about-image {
    order: 1;
    width: 80%;
    margin: 0 auto 20px;
  }
  .about-wrapper > .about-image img {
    width: 100%;
    height: auto;
  }

  /* 2) Puis tout le reste (texte + stats) */
  .about-wrapper > .about-content {
    order: 2;
    width: 100%;
    text-align: left; /* ou center si vous préférez */
  }

  /* Si vos stats sont toujours à l’intérieur de .about-content,
     elles suivront naturellement le texte ici. */
}




/* === FAQ === */
.faq {
  padding: var(--section-padding);
  background: var(--bg-light);
}

.faq-list {
  max-width: 800px;
  margin: 50px auto 0;
}

.faq-item {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.faq-icon {
  color: var(--primary-color);
  font-size: 1.2rem;
  transition: var(--transition);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-answer p {
  padding-bottom: 25px;
  color: var(--text-light);
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-item.active .faq-icon i {
  transform: rotate(45deg);
}

/* === CTA SECTION === */
.cta-section {
  padding: 80px 0;
  background: var(--secondary-color);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('fond.png');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  color: #fff;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-family: 'Cinzel', serif;
  margin-bottom: 20px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* === FOOTER === */
.footer {
  padding: 70px 0 30px;
  background: var(--secondary-color);
  color: rgba(255, 255, 255, 0.7);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-logo {
  max-width: 250px;
}

.footer-logo img {
  height: 45px;
  margin-bottom: 20px;
}

.footer-logo p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
}

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

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.contact-info i {
  color: var(--primary-color);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.testimonial-card {
  min-width: 350px;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
  scroll-snap-align: center;
}

.testimonial-content {
  font-size: 1.1rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 30px;
  position: relative;
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: -15px;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--primary-light);
  opacity: 0.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.author-info span {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* === CONTACT === */
.contact {
  padding: var(--section-padding);
  background: var(--secondary-color);
  color: #fff;
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  margin-top: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary-color);
}

.contact-text h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.8);
}

.contact-text p, .contact-text a {
  color: rgba(255, 255, 255, 0.6);
}

.contact-text a:hover {
  color: var(--primary-color);
}

.contact-form {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius);
  padding: 40px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.1);
}

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

.form-submit {
  background: var(--primary-color);
  color: var(--secondary-color);
  font-weight: 600;
  padding: 14px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  letter-spacing: 0.5px;
  width: 100%;
  margin-top: 10px;
}

.form-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* === FOOTER SIMPLE === */
.footer-simple {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 20px 0;
}

.footer-simple .container {
  width: min(100% - 40px, 1200px);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  max-width: 150px;
  height: auto;
}

.footer-slogan {
  margin-top: 8px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-right .contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-right .contact-list li {
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.footer-right .contact-list strong {
  display: inline-block;
  width: 90px;
}
/* === FOOTER SIMPLE RESPONSIVE === */
.footer-simple .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;               /* permet le passage en ligne suivante si nécessaire */
  gap: 20px;                     /* espace entre les items quand ils se replient */
}

/* Lorsqu'on est sur un écran plus étroit que 600px */
@media (max-width: 600px) {
  .footer-simple .container {
    flex-direction: column;      /* empile les blocs verticalement */
    text-align: left;
  }
  .footer-left,
  .footer-right {
    width: 100%;                 /* prennent toute la largeur */
  }
  .footer-right .contact-list strong {
    width: auto;                 /* plus besoin de colonne fixe */
  }
}


/* === RESPONSIVE === */
@media (max-width: 992px) {
  .section-title {
    font-size: 2.3rem;
  }
  
  .hero h1 {
    font-size: 3.2rem;
  }
  
  .timeline-content {
    width: 42%;
  }
  
  .about-wrapper {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: 2;
  }
  
  .about-content {
    order: 1;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .hero-content {
    max-width: 500px;
  }
  
  .timeline-progress {
    left: 20px;
  }
  
  .timeline-dot {
    left: 20px;
  }
  
  .timeline-item {
    flex-direction: column;
    padding-left: 50px;
    gap: 20px;
  }
  
  .timeline-item:nth-child(even) {
    flex-direction: column;
  }
  
  .timeline-content {
    width: 100%;
  }
  
  .timeline-item:nth-child(odd) .timeline-content::before,
  .timeline-item:nth-child(even) .timeline-content::before {
    left: -10px;
    top: 20px;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  
  .hero-cta .btn-cta {
    width: 100%;
    text-align: center;
  }
  
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .faq-question h3 {
    font-size: 1.1rem;
  }
  
  .offre-content {
    padding: 30px 20px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 2.3rem;
  }
  
  .feature-card {
    padding: 30px 20px;
  }
  
  .testimonial-card {
    min-width: 280px;
    padding: 30px 20px;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
}

/* === ANIMATIONS === */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 1s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* === CUSTOM ELEMENTS === */
.badge {
  display: inline-block;
  padding: 3px 12px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 10px;
}

.divider {
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 30px 0;
}

.accent-bg {
  background: var(--accent-color);
  color: #fff;
}

/* Hamburger menu for mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 20px;
  width: 30px;
  cursor: pointer;
}

.bar {
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

.scrolled .bar {
  background: var(--text-dark);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    display: none;
  }
}

/* Responsive Navbar */
@media (max-width: 768px) {
  .navbar-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 35px;
  }

  .nav-links {
    display: none; /* Cache les liens pour ne garder que le bouton */
  }

  .btn-cta {
    display: block;
    width: 100%;
    text-align: center;
    max-width: 300px;
  }
}

/* Étincelle */
.sparkle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--primary-color, #d4af37);
  border-radius: 50%;
  pointer-events: none;
  animation: sparkle-animation 600ms forwards;
  z-index: 999;
}

@keyframes sparkle-animation {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--x), var(--y)) scale(0.1);
    opacity: 0;
  }
}

/* CONTENEUR PRINCIPAL */
.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  overflow: hidden;
}

/* WRAPPER POUR LE TRACK */
.carousel-track-container {
  overflow: hidden;
}

/* TRACK LISIBLE EN FLEX, CENTRÉ */
.carousel-track {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  transition: transform 0.5s ease;
}


/* TAILLE DES CARTES : 3 PAR ÉCRAN */
.feature-card {
  flex: 0 0 calc((100% - 40px) / 3); /* 3 cartes + 2 gaps de 20px */
  max-width: calc((100% - 40px) / 3);
  margin: 0;
}

/* BOUTONS DE NAVIGATION */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border: none; border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
}
.prev-btn {
  left: 0;            /* se cale à l’intérieur du padding gauche */
  z-index: 20;        /* au-dessus des cartes */
}

.next-btn {
  right: 0;           /* se cale à l’intérieur du padding droit */
  z-index: 20;
}
.carousel-btn:hover { background: var(--primary-dark); }

/* RÉPONSIVE */
/* Tablette : 2 cartes */
@media (max-width: 992px) {
  .feature-card {
    flex: 0 0 calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
  }
}

/* Mobile : 1 carte */
@media (max-width: 768px) {
  .feature-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.comparison-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
  }

  .comparison-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
  }

  .before-image {
    clip-path: inset(0 50% 0 0);
    transition: clip-path 0.05s;
  }

  .slider-bar {
    position: absolute;
    top: 0;
    left: 50%;
    width: 8px;
    height: 100%;
    background: #ffffff;
    cursor: col-resize;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
  }

  .slider-bar::before {
    content: "";
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: pulse 1.5s infinite;
  }

  @keyframes pulse {
    0% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 1;
    }
    50% {
      transform: translate(-50%, -50%) scale(1.3);
      opacity: 0.6;
    }
    100% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 1;
    }
  }

  .contact-section {
  padding: var(--section-padding);
  background: var(--bg-light);
  color: #333;
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  backdrop-filter: blur(5px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(0,0,0, 0.6);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  color: #333;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.1);
}

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

.form-message {
  text-align: center;
  margin-top: 20px;
  font-weight: bold;
  font-size: 1rem;
}

  /* Positionne l’instruction en bas du slider et la met en valeur */
  .about-image { position: relative; }
  .slider-instruction {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 1rem;
    font-style: bold;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 10;
  }