/* Déplacement du fichier style.css ici depuis frontend/styles pour qu'il soit accessible lors du déploiement Netlify. */

/* =========================
   Feuille de style principale du site Cabs VTC
   Ce fichier gère la mise en page générale, le header, le hero, les sections,
   le responsive, le footer, et les composants globaux.
   Chaque grand bloc est commenté pour aider un développeur junior.
========================= */

/* Reset CSS et police globale */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

/* =========================
 Header (en-tête du site)
 Styles pour le logo, la navigation, le bouton réserver, etc.
========================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

.header-left {
  flex: 1;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #000;
  text-decoration: none;
}

.logo-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #000;
  border-radius: 50%;
  margin-left: 2px;
  vertical-align: middle;
}

.header-center {
  flex: 2;
  display: flex;
  justify-content: center;
}


nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  justify-content: center;
  list-style: none;
  padding-left: 0;
}

.nav-links li {
  margin: 0 25px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #111;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

.menu-icon::before {
  display: none;
}

.nav-mobile {
  display: none;
}

.nav-mobile-links {
  list-style: none;
  padding-left: 0;
}

.nav-mobile-links li {
  list-style: none;
}

.nav-mobile-links a {
  text-decoration: none;
  color: #111;
}



.header-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.phone-number {
  color: #333;
  font-weight: bold;
  text-decoration: none;
  font-size: 16px;
  display: flex;
  align-items: center;
}

.phone-icon {
  margin-right: 8px;
}

.reserve-btn {
  background-color: #000;
  color: white;
  padding: 12px 25px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  margin-left: 20px;
  text-decoration: none;
}

/* =========================
 Section Hero (mise en avant)
 Image de fond, titre, bouton principal
========================= */
.hero {
  height: 80vh;
  background-color: #111;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-car-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.7;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 10;
  padding: 140px 20px 0 20px;
}

.hero-title {
  font-size: 4em;
  margin-bottom: 20px;
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  font-weight: 400;
  color: #848181;
  /* text-transform: uppercase; */
}

.hero-btn {
  background-color: white;
  color: #000;
  padding: 15px 40px;
  border: none;
  cursor: pointer;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 20px;
}

/* =========================
 Section "Pourquoi nous choisir ?"
 Styles pour les avantages, icônes, titres, descriptions
========================= */
.why-choose {
  padding: 40px 20px;
  text-align: center;
  max-width: 80%;
  margin: 4% auto;
}

.section-title {
  font-size: 2rem;
  color: #666;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 80px;
  text-transform: uppercase;
}

.features {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.feature {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  margin: 0 15px 30px;
  text-align: center;
}

.feature-icon {
  font-size: 50px;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 25px;
}

.feature-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}

.bold {
  font-weight: bold;
}

/* =========================
 Section About (À propos)
 Styles pour la présentation de l'entreprise et de l'équipe
========================= */
.about-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 80%;
  margin: 0 auto 40px auto;
  gap: 60px;
}

.about-container {
  display: flex;
  gap: 40px;
}

.about-text {
  flex: 1;
}

.about-title {
  font-size: 2rem;
  color: #666;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.about-subtitle {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.about-desc {
  font-size: 16px;
  line-height: 2.2;
  color: #666;
  text-align: justify;
}

.about-image {
  flex: 1;
  height: 400px;
  min-height: 300px;
  background-color: #eee;
  background-image: url('https://cdn.prod.website-files.com/67b35824bcef61f482fff2c8/67bda47ae35ee4b311f13902_145%20tof.JPG');
  background-size: cover;
  background-position: center;
}

/* Modification de l'image 2 de la section About */
.about-image-bis {
  flex: 1;
  height: 300px;
  min-height: 300px;
  background-color: #eee;
  background-image: url('https://cdn.prod.website-files.com/67b35824bcef61f482fff2c8/67bd9934181db7ba8be75e6a_vtc%20famille%202.JPG');
  background-size: cover;
  background-position: center;
}


.services {
  margin-bottom: 80px;
}

/* =========================
 Bannière d'appel à l'action (bas de page)
========================= */
.banner-bottom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 400px;
  /* Hauteur par défaut pour réservation */
  background-image: url('https://img.freepik.com/photos-gratuite/vue-aerienne-paysage-urbain-beaucoup-voitures-beaux-batiments-lille-france_181624-26694.jpg?t=st=1741016357~exp=1741019957~hmac=b8ee3cd30cecc6e97c1a9e95f737fb793f6ada57d7ffa67a479a4f1c5e7bc654&w=2000');
  background-size: cover;
  background-position: center;
  margin-top: 80px;
  position: relative;
}

/* Voile sombre pour améliorer le contraste du texte */
.banner-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* Contenu au-dessus du voile */
.banner-bottom>* {
  position: relative;
  z-index: 2;
}

/* Hauteur spécifique pour page d'accueil et services */
.banner-bottom.large {
  height: 500px;
  margin-top: 0px;
}

.banner-bottom-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-title {
  font-size: 3rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 40px;
  text-align: center;
}

.banner-subtitle {
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 40px;
  text-align: center;
}

.white {
  color: rgb(255, 255, 255);
}

/* =========================
 Footer (pied de page)
 Réseaux sociaux, copyright
========================= */
/* .footer {
  background-color: #000000;
  color: #ffffff;
  padding: 20px;
  text-align: center;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin: 20px;

}

.social-icons i {
  font-size: 24px;
}

.copyright {
  font-size: 14px;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-direction: column;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
} */

.footer {
  background-color: #000000;
  color: #ffffff;
  padding: 50px 20px;
  width: 100%;

}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-logo {
  width: 100px;
  margin-bottom: 30px;
}

.logo-footer {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  padding-bottom: 20px;
}

.logo-footer-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
  margin-left: 2px;
  vertical-align: middle;
}

.logo-placeholder {
  width: 150px;
  height: 150px;
  margin-bottom: 20px;
  border: 1px dashed #888;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
}

.footer-section {
  flex: 0;
  margin-bottom: 30px;
  min-width: 250px;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 20px;
  letter-spacing: 1px;
  font-weight: normal;
}

.footer-section p {
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 14px;
}

.footer-links a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 0.7;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.social-icon:hover {
  background-color: #555;
}

.social-icon i {
  color: white;
  font-size: 20px;
}

.footer-bottom {
  width: 100%;
  text-align: center;
  padding-top: 30px;
  margin-top: 20px;
  border-top: 1px solid #333;
  font-size: 12px;
  color: #aaa;
}

/* =========================
 Autocomplete (suggestions d'adresses)
========================= */
.autocomplete-suggestions {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  background: #fff;
  border: 1px solid #ccc;
  border-top: none;
  max-height: 220px;
  overflow-y: auto;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.autocomplete-suggestion {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 1rem;
  color: #222;
  background: #fff;
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}

.autocomplete-suggestion:last-child {
  border-bottom: none;
}

.autocomplete-suggestion:hover,
.autocomplete-suggestion.active {
  background: #f0f4fa;
  color: #0070f3;
}

.form-group {
  position: relative;
}

/* =========================
 Icône de fermeture du menu mobile (croix)
========================= */
.close-mobile-nav {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2.2rem;
  font-weight: 300;
  /* plus fin */
  cursor: pointer;
  color: #222;
  z-index: 1001;
  transition: color 0.2s;
}


/* =========================
 Responsive design (media queries)
 Adaptation pour tablettes et mobiles
========================= */
/* Tablette (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {

  /* Header et navigation */
  .header-left,
  .header-center,
  .header-right {
    flex: 1;
  }

  .toggle-nav,
  .menu-icon {
    display: none;
  }

  /* Sections générales */
  .section-title {
    font-size: 2.2rem;
    text-align: center;
  }

  /* Hero section */
  .hero {
    padding: 80px 40px;
  }

  .hero-title {
    font-size: 2.8rem;
    line-height: 1.2;
  }

  /* Features section */
  .features {
    justify-content: center;
    gap: 30px;
    padding: 0 20px;
  }

  .feature {
    max-width: 300px;
    width: 100%;
  }

  /* About section */
  .about-section {
    flex-direction: column;
    padding: 60px 40px;
  }

  .about-text {
    padding-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }

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

  /* Services section */
  .services {
    padding: 60px 40px;
  }

  /* Banner sections */
  .banner-bottom {
    padding: 60px 40px;
  }

  .banner-title {
    font-size: 2.4rem;
  }

  /* Footer */
  .footer-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .footer-section {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Formulaires */
  .contact-form {
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 15px;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 15px;
  }

  .header-left,
  .header-center,
  .header-right {
    width: 100%;
    justify-content: center;
    margin: 5px 0;
  }

  .nav-desktop {
    display: none;
  }

  .nav-mobile {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 20vh;
    background: #fff;
    padding: 20px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 10000;
  }

  .nav-mobile.active {
    transform: translateY(0);
  }

  .nav-mobile-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .header-right {
    flex-direction: column;
  }

  .menu-icon::before {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    padding: 20px;
    cursor: pointer;
    font-size: 25px;
  }

  .nav-links {
    margin: 10px 0;
  }

  .nav-links li {
    margin: 0 10px;
  }

  .nav-mobile-links li {
    margin: 10px 0;
    text-decoration: none;
  }

  .reserve-btn {
    margin-top: 10px;
    margin-left: 0;
  }

  .hero-title {
    font-size: 2.5rem;
    padding-right: 20px;
    padding-left: 20px;
  }

  .feature {
    min-width: 100%;
    margin: 0 0 30px;
  }

  .about-container {
    flex-direction: column;
  }

  .footer-container {
    flex-direction: column;
  }

  .footer-section {
    margin-bottom: 30px;
  }

  .footer-logo {
    margin: 0 auto 30px;
    text-align: center;
  }

  .logo-placeholder {
    margin: 0 auto 20px;
  }

  .section-title {
    font-size: 1.6rem;
    text-align: center;
  }

  .hero {
    height: 80vh;
    margin-top: 80px;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
    word-break: break-word;
    white-space: normal;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-links,
  .social-icons {
    margin: 20px 0;
  }

  .social-icons {
    justify-content: center;
  }

  .contact-form {
    padding: 20px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 10px;
  }

  .banner-bottom {
    margin-top: 160px;
  }

  .banner-title {
    font-size: 2rem;
  }

  .about-container:nth-of-type(2) {
    flex-direction: column-reverse;
  }
}



/* Pour les petits téléphones */
@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .hero-cta .btn {
    width: 100%;
    margin: 10px 0;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
    word-break: break-word;
    white-space: normal;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 40px 15px;
  }

  .modal-content {
    width: 95%;
    padding: 15px;
  }
}

/* Pour améliorer la lisibilité sur très petits écrans */
@media (max-width: 320px) {

  .nav-links li {
    margin: 0 5px;
  }

  .logo img {
    max-width: 120px;
  }

  .hero-title {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }
}

/* =========================
 Section Process (Comment ça marche ?)
 Design moderne avec étapes connectées respectant la charte graphique
========================= */
.process-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  text-align: center;
}

.process-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.process-step {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  position: relative;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #000, #333);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.step-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #000, #333);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.step-card:hover::before {
  transform: scaleX(1);
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.step-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.3s ease;
}

.step-icon i {
  font-size: 32px;
  color: #333;
  transition: all 0.3s ease;
}

.step-card:hover .step-icon {
  background: linear-gradient(135deg, #000, #333);
  transform: scale(1.1);
}

.step-card:hover .step-icon i {
  color: white;
}

.step-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.step-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin: 0;
  flex: 1;
}

/* Connecteurs entre les étapes */
.process-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 80px;
  height: 60px;
}

.connector-arrow {
  font-size: 28px;
  color: #666;
  animation: pulse 2s infinite;
  position: relative;
}

/* Flèches horizontales et verticales */
.connector-arrow .arrow-horizontal {
  display: block !important;
  font-size: 28px;
  font-weight: bold;
}

.connector-arrow .arrow-vertical {
  display: none !important;
  font-size: 40px;
  font-weight: bold;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

/* Responsive Design */

/* Tablette (769px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .process-container {
    flex-direction: column;
    gap: 30px;
    align-items: center;
    max-width: 80%;
    padding: 0 20px;
  }

  .process-step {
    max-width: 100%;
    width: 100%;
  }

  .process-connector {
    width: 100%;
    height: 40px;
    margin: 10px 0;
  }

  .connector-arrow .arrow-horizontal {
    display: none !important;
  }

  .connector-arrow .arrow-vertical {
    display: block !important;
  }

  .connector-arrow {
    font-size: 32px;
  }

  .step-number {
    width: 55px;
    height: 55px;
    font-size: 22px;
  }

  .step-card {
    padding: 35px 30px;
    min-height: 260px;
  }

  .step-icon {
    width: 75px;
    height: 75px;
  }

  .step-icon i {
    font-size: 30px;
  }

  .step-title {
    font-size: 17px;
  }

  .step-desc {
    font-size: 15px;
  }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  .process-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .process-step {
    max-width: 350px;
    width: 100%;
    margin-bottom: 20px;
  }

  .process-connector {
    width: 100%;
    height: 40px;
    margin: 15px 0;
  }

  .connector-arrow .arrow-horizontal {
    display: none !important;
  }

  .connector-arrow .arrow-vertical {
    display: block !important;
  }

  .connector-arrow {
    font-size: 28px;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .step-card {
    padding: 30px 25px;
  }

  .step-icon {
    width: 70px;
    height: 70px;
  }

  .step-icon i {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .process-section {
    padding: 60px 15px;
  }

  .step-card {
    padding: 25px 20px;
  }

  .step-title {
    font-size: 18px;
  }

  .step-desc {
    font-size: 14px;
  }
}

/* =========================
 Section Advantages (Pourquoi nous choisir ?)
 Design moderne pour présenter les avantages avec cartes élégantes
========================= */
.advantages-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  text-align: center;
}

.advantages-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 30px;
}

.advantage-card {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #000, #333);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.advantage-card:hover::before {
  transform: scaleX(1);
}

.advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.advantage-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.3s ease;
  position: relative;
}

.advantage-icon i {
  font-size: 32px;
  color: #333;
  transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon {
  background: linear-gradient(135deg, #000, #333);
  transform: scale(1.1);
}

.advantage-card:hover .advantage-icon i {
  color: white;
}

.advantage-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.advantage-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
  flex: 1;
}

.advantage-badge {
  background: linear-gradient(135deg, #000, #333);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  align-self: center;
  transition: all 0.3s ease;
}

.advantage-card:hover .advantage-badge {
  background: linear-gradient(135deg, #333, #666);
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .advantages-container {
    flex-direction: column;
    align-items: center;
  }

  .advantage-card {
    margin-bottom: 30px;
    min-height: 280px;
  }

  .advantage-icon {
    width: 70px;
    height: 70px;
  }

  .advantage-icon i {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .advantages-section {
    padding: 60px 15px;
  }

  .advantage-card {
    padding: 30px 25px;
    min-height: 260px;
  }

  .advantage-title {
    font-size: 16px;
  }

  .advantage-desc {
    font-size: 14px;
  }
}

/* =========================
 Section Story (À propos modernisé)
 Design storytelling avec cartes narratives et stats
========================= */
.story-section {
  padding: 80px 20px;
  background: white;
  text-align: center;
}

.story-container {
  max-width: 1200px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.story-card {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  min-height: 400px;
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.story-card.reverse {
  flex-direction: row-reverse;
}

.story-image {
  flex: 1;
  height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.story-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
}

.story-company {
  background-image: url('https://cdn.prod.website-files.com/67b35824bcef61f482fff2c8/67bd9934181db7ba8be75e6a_vtc%20famille%202.JPG');
}

.story-team {
  background-image: url('https://cdn.prod.website-files.com/67b35824bcef61f482fff2c8/67bda47ae35ee4b311f13902_145%20tof.JPG');
}

.story-content {
  flex: 1;
  padding: 40px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-badge {
  background: linear-gradient(135deg, #000, #333);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  align-self: flex-start;
  margin-bottom: 20px;
}

.story-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.3;
}

.story-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #666;
  margin-bottom: 30px;
}

.story-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8f9fa;
  padding: 10px 15px;
  border-radius: 25px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
}

.highlight-item i {
  color: #333;
  font-size: 16px;
}

.highlight-item:hover {
  background: #000;
  color: white;
  transform: translateY(-2px);
}

.highlight-item:hover i {
  color: white;
}

/* Section Stats */
.stats-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 15px;
  flex: 1;
  min-width: 150px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #000, #333);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.stat-item:hover::before {
  transform: scaleX(1);
}

.stat-item:hover {
  transform: translateY(-5px);
  background: linear-gradient(135deg, #000, #333);
}

.stat-number {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.stat-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.stat-item:hover .stat-number,
.stat-item:hover .stat-label {
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .story-card {
    flex-direction: column !important;
    min-height: auto;
  }

  .story-card.reverse {
    flex-direction: column !important;
  }

  .story-image {
    height: 250px;
    width: 100%;
  }

  .story-content {
    padding: 80px 80px;
    text-align: center;
  }

  .story-highlights {
    justify-content: center;
  }

  .stats-container {
    gap: 20px;
  }

  .stat-item {
    min-width: 120px;
    padding: 20px 15px;
  }

  .stat-number {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .story-section {
    padding: 60px 15px;
  }

  .story-container {
    gap: 40px;
  }

  .story-content {
    padding: 25px 20px;
  }

  .story-title {
    font-size: 20px;
  }

  .story-desc {
    font-size: 14px;
  }

  .stats-container {
    flex-direction: column;
    gap: 15px;
  }
}

/* =========================
   Section Avis Clients
   Témoignages de clients satisfaits
========================= */
.reviews-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  text-align: center;
}

.reviews-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto 60px auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.reviews-container {
  flex: 1;
  overflow: hidden;
  border-radius: 16px;
}

.reviews-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 30px;
}

.review-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  text-align: left;
  width: calc(33.333% - 20px);
  flex-shrink: 0;
}

/* Boutons de navigation du carousel */
.carousel-btn {
  background: linear-gradient(135deg, #000, #333);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  font-size: 18px;
  z-index: 10;
}

.carousel-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #333, #555);
}

.carousel-btn:active {
  transform: translateY(0);
}

.carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #ccc;
}

.carousel-btn:disabled:hover {
  transform: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Indicateurs (dots) */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: linear-gradient(135deg, #000, #333);
  transform: scale(1.2);
}

.dot:hover {
  background: #666;
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #000, #333);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.avatar-initials {
  color: white;
  font-weight: 600;
  font-size: 16px;
}

.review-client {
  flex: 1;
}

.client-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 4px 0;
}

.client-location {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.review-rating {
  display: flex;
  gap: 3px;
}

.review-rating i {
  color: #ffd700;
  font-size: 14px;
}

.review-text {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin: 0 0 20px 0;
  font-style: italic;
}

.review-service {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
  font-weight: 500;
}

.review-service i {
  color: #000;
  font-size: 14px;
}

.reviews-stats {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding: 40px 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.stat-item {
  text-align: center;
  transition: all 0.3s ease;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 15px;
  flex: 1;
  min-width: 150px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #000, #333);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.stat-item:hover::before {
  transform: scaleX(1);
}

.stat-item:hover {
  transform: translateY(-5px);
  background: linear-gradient(135deg, #000, #333);
}

.stat-number {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.stat-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.stat-item:hover .stat-number,
.stat-item:hover .stat-label {
  color: white;
}

.stat-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.stat-stars {
  display: flex;
  justify-content: center;
  gap: 3px;
}

.stat-stars i {
  color: #ffd700;
  font-size: 16px;
}

/* Responsive pour la section avis */

/* Tablette (768px - 1024px) : 2 avis côte à côte parfaitement centrés */
@media (min-width: 768px) and (max-width: 1024px) {
  .reviews-container {
    max-width: 100%;
    overflow: hidden;
    padding: 0 20px;
  }

  .review-card {
    width: calc(50% - 15px);
    padding: 20px;
    margin: 0;
    box-sizing: border-box;
    flex-shrink: 0;
  }

  .reviews-carousel {
    gap: 15px;
    max-width: 100%;
  }

  .reviews-track {
    gap: 30px;
  }

  .carousel-btn {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }
}

/* Mobile (jusqu'à 768px) : 1 avis pleine largeur */
@media (max-width: 768px) {
  .reviews-section {
    padding: 60px 0;
  }

  .reviews-carousel {
    flex-direction: row;
    gap: 0;
    margin-bottom: 40px;
    max-width: 100vw;
    padding: 0;
  }

  .reviews-container {
    width: 100vw;
    overflow: hidden;
    padding: 0;
  }

  .carousel-btn {
    display: none;
    /* Cacher les boutons sur mobile */
  }

  .review-card {
    width: calc(100vw - 30px);
    max-width: none;
    padding: 25px;
    margin: 0 15px;
    box-sizing: border-box;
    flex-shrink: 0;
  }

  .reviews-track {
    gap: 0;
    width: fit-content;
  }

  .review-header {
    gap: 12px;
    margin-bottom: 15px;
  }

  .review-avatar {
    width: 40px;
    height: 40px;
  }

  .avatar-initials {
    font-size: 14px;
  }

  .client-name {
    font-size: 15px;
  }

  .client-location {
    font-size: 13px;
  }

  .review-text {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .reviews-stats {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 20px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .carousel-dots {
    margin-top: 20px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }
}

/* Smartphone (≤ 480px) : 1 avis pleine largeur optimisé */
@media (max-width: 480px) {
  .reviews-section {
    padding: 50px 0;
  }

  .reviews-carousel {
    gap: 0;
    padding: 0;
    max-width: 100vw;
  }

  .reviews-container {
    padding: 0;
    width: 100vw;
  }

  .carousel-btn {
    display: none;
    /* Cacher les boutons sur smartphone */
  }

  .review-card {
    width: calc(100vw - 20px);
    max-width: none;
    padding: 20px;
    margin: 0 10px;
    box-sizing: border-box;
    flex-shrink: 0;
  }

  .reviews-track {
    gap: 0;
    width: fit-content;
  }

  .review-header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .review-avatar {
    margin: 0 auto;
  }

  .reviews-stats {
    padding: 20px 15px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 13px;
  }

  .carousel-dots {
    margin-top: 15px;
  }

  .dot {
    width: 8px;
    height: 8px;
  }
}