/* Styles pour la barre de navigation - toujours blancs par défaut et noirs au défilement */
/* Ces règles sont ajoutées au début du fichier pour avoir une priorité plus élevée */

/* Couleur blanche par défaut pour les liens */
.navbar .nav-links a {
  color: white !important;
  font-weight: 500 !important;
  transition: color 0.3s ease !important;
}

/* Survol en couleur accentuée */
.navbar .nav-links a:hover {
  color: var(--accent-color) !important;
}

/* Lien actif en couleur accentuée */
.navbar .nav-links a.active {
  color: var(--accent-color) !important;
}

/* Couleur noire lors du défilement */
.navbar-scrolled .nav-links a {
  color: #333 !important;
}

/* Survol en couleur accentuée même lors du défilement */
.navbar-scrolled .nav-links a:hover {
  color: var(--accent-color) !important;
}

/* Lien actif en couleur accentuée même lors du défilement */
.navbar-scrolled .nav-links a.active {
  color: var(--accent-color) !important;
}

/* Ajout de règles spécifiques pour contrôler l'affichage des cartes du carousel */
/* Ces règles sont ajoutées au début pour avoir une priorité plus élevée */

/* Masquer toutes les cartes par défaut */
.hero-offers .carousel-card {
  display: none !important;
}

/* N'afficher que les cartes avec les classes active, left ou right */
.hero-offers .carousel-card.active,
.hero-offers .carousel-card.left,
.hero-offers .carousel-card.right {
  display: flex !important;
}

/* Style des cartes visibles */
.hero-offers .carousel-card.active {
  transform: translateZ(50px) scale(1.1) !important;
  z-index: 3 !important;
  opacity: 1 !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3) !important;
  position: relative !important;
}

.hero-offers .carousel-card.left {
  transform: translateX(-180px) translateZ(-30px) rotateY(25deg) scale(0.9) !important;
  z-index: 2 !important;
  opacity: 0.85 !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  pointer-events: none !important; /* Désactiver les interactions pour la carte de gauche */
}

.hero-offers .carousel-card.right {
  transform: translateX(180px) translateZ(-30px) rotateY(-25deg) scale(0.9) !important;
  z-index: 2 !important;
  opacity: 0.85 !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  pointer-events: none !important; /* Désactiver les interactions pour la carte de droite */
}

/* Ajuster les boutons de contrôle pour qu'ils soient toujours visibles et cliquables */
.hero-offers .control-btn {
  z-index: 1000 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  background-color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  font-size: 24px !important;
  color: #333 !important;
  border: none !important;
  outline: none !important;
}

/* Positionnement des boutons à l'extérieur des cartes pour éviter tout chevauchement */
.hero-offers .control-btn.prev-btn {
  left: 10px !important; /* Position à l'extérieur des cartes */
}

.hero-offers .control-btn.next-btn {
  right: 10px !important; /* Position à l'extérieur des cartes */
}

/* Correction pour le centrage du carousel */
.hero-carousel {
  position: relative !important;
  width: 100% !important;
  height: 500px !important;
  margin: 0 auto !important;
  transform: none !important;
  perspective: 1200px !important;
  transform-style: preserve-3d !important;
  overflow: visible !important;
}

.hero-offers .carousel-container {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 60px !important;
  position: relative !important;
  perspective: 1000px !important;
  transform-style: preserve-3d !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  overflow: visible !important;
}

.hero-offers .carousel {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  transform-style: preserve-3d !important;
}

.hero-offers .carousel-card {
  width: 320px !important;
  height: 450px !important;
  position: absolute !important;
  border-radius: 15px !important;
  overflow: hidden !important;
  transition: all 0.5s ease !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2) !important;
  display: flex !important;
  flex-direction: column !important;
  background: white !important;
}

.hero-offers .carousel-card.active {
  transform: translateZ(50px) scale(1.1) !important;
  z-index: 30 !important;
  opacity: 1 !important;
}

.hero-offers .carousel-card.left {
  transform: translateX(-220px) translateZ(-50px) rotateY(15deg) scale(0.9) !important;
  z-index: 20 !important;
  opacity: 0.7 !important;
}

.hero-offers .carousel-card.right {
  transform: translateX(220px) translateZ(-50px) rotateY(-15deg) scale(0.9) !important;
  z-index: 20 !important;
  opacity: 0.7 !important;
}

@media (max-width: 992px) {
  .hero-offers .carousel-card {
    width: 300px !important;
    height: 430px !important;
  }

  .hero-offers .carousel-card.left {
    transform: translateX(-180px) translateZ(-40px) rotateY(15deg) scale(0.85) !important;
  }

  .hero-offers .carousel-card.right {
    transform: translateX(180px) translateZ(-40px) rotateY(-15deg) scale(0.85) !important;
  }
}

@media (max-width: 768px) {
  .hero-carousel {
    height: 450px !important;
  }

  .hero-offers .carousel-card {
    width: 280px !important;
    height: 400px !important;
  }

  .hero-offers .carousel-card.left {
    transform: translateX(-140px) translateZ(-30px) rotateY(10deg) scale(0.8) !important;
  }

  .hero-offers .carousel-card.right {
    transform: translateX(140px) translateZ(-30px) rotateY(-10deg) scale(0.8) !important;
  }
}

@media (max-width: 576px) {
  .hero-carousel {
    height: 420px !important;
    margin: 0 -20px !important;
    width: calc(100% + 40px) !important;
  }

  .hero-offers .carousel-container {
    padding: 0 40px !important;
  }

  .hero-offers .carousel-card {
    width: 260px !important;
    height: 380px !important;
  }

  .hero-offers .carousel-card.left {
    transform: translateX(-100px) translateZ(-20px) rotateY(8deg) scale(0.75) !important;
  }

  .hero-offers .carousel-card.right {
    transform: translateX(100px) translateZ(-20px) rotateY(-8deg) scale(0.75) !important;
  }
}

.hero-offers .control-btn {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 1000 !important;
}

.hero-offers .prev-btn {
  left: 10px !important;
}

.hero-offers .next-btn {
  right: 10px !important;
}

@media (max-width: 768px) {
  .hero-carousel {
    transform: scale(0.9) !important;
    width: calc(100% + 40px) !important;
    margin-left: -20px !important;
    margin-right: -20px !important;
  }

  .hero-offers .control-btn {
    width: 36px !important;
    height: 36px !important;
  }
}

/* Augmenter la taille de la zone de clic pour les boutons sur mobile */
@media (max-width: 768px) {
  .hero-offers .control-btn {
    width: 60px !important;
    height: 60px !important;
    font-size: 28px !important;
  }
  
  .hero-offers .control-btn.prev-btn {
    left: 5px !important;
  }
  
  .hero-offers .control-btn.next-btn {
    right: 5px !important;
  }
}

.hero-offers .control-btn:hover {
  background-color: white !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  transform: translateY(-50%) scale(1.1) !important;
}

.hero-offers .control-btn:active {
  transform: translateY(-50%) scale(0.95) !important;
}

/* Styles de correctifs pour les cartes du carousel */

/* Structure du carousel et de son conteneur */
.hero-offers .carousel-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: 20px 120px;
  perspective: 1200px;
  transform-style: preserve-3d;
  overflow: visible !important;
}

.hero-offers .carousel {
  display: flex;
  position: relative;
  width: 100%;
  justify-content: center;
  align-items: center;
  min-height: 500px;
  transform-style: preserve-3d;
  margin: 40px auto;
  overflow: visible;
}

/* Style des cartes du carousel */
.hero-offers .carousel-card {
  height: 430px;
  width: 330px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  position: absolute;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 1;
}

/* Style des images dans les cartes */
.hero-offers .carousel-card img {
  height: 180px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block !important;
}

.hero-offers .carousel-card:hover img {
  transform: scale(1.05);
}

/* Style du contenu des cartes */
.hero-offers .carousel-content {
  padding: 30px;
  display: flex !important;
  flex-direction: column;
  gap: 15px;
  flex: 1;
  height: auto;
  box-sizing: border-box;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Style du titre dans les cartes */
.hero-offers .carousel-content h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  line-height: 1.4;
  color: #333;
  min-height: 3.1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Style de la description dans les cartes */
.hero-offers .carousel-content p,
.hero-offers .carousel-content .offer-description {
  margin: 0 0 15px !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  color: #666 !important;
  max-height: 4.5rem !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
}

/* Style de la localisation dans les cartes */
.hero-offers .carousel-content .location {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--primary-color);
  visibility: visible !important;
  opacity: 1 !important;
}

.hero-offers .carousel-content .location i {
  color: var(--secondary-color);
  visibility: visible !important;
}

/* Style du lien "En savoir plus" modifié */
.hero-offers .read-more,
.carousel-content .read-more {
  font-weight: 600 !important;
  margin-top: auto !important;
  margin-bottom: 5px !important;
  color: #0066cc !important;
  padding: 8px 0 !important;
  align-self: flex-start !important;
  position: relative !important;
  text-decoration: none !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: transparent !important;
  border: none !important;
  display: block !important;
  text-align: left !important;
  width: 100% !important;
}

.hero-offers .carousel-card .read-more::after,
.carousel-content .read-more::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 2px !important;
  background-color: #0066cc !important;
  transform: scaleX(0) !important;
  transition: transform 0.3s ease !important;
}

.hero-offers .carousel-card .read-more:hover,
.carousel-content .read-more:hover {
  color: #003366 !important;
}

.hero-offers .carousel-card .read-more:hover::after,
.carousel-content .read-more:hover::after {
  transform: scaleX(1) !important;
}

/* Responsive */
@media (max-width: 1200px) {
  .hero-offers .carousel {
    min-height: 480px;
  }
  
  .hero-offers .carousel-card.left {
    transform: translateX(-150px) translateZ(-30px) rotateY(25deg) scale(0.9);
  }
  
  .hero-offers .carousel-card.right {
    transform: translateX(150px) translateZ(-30px) rotateY(-25deg) scale(0.9);
  }
}

@media (max-width: 992px) {
  .hero-offers .carousel {
    min-height: 450px;
  }
  
  .hero-offers .carousel-card {
    width: 300px;
    min-width: 280px;
  }
  
  .hero-offers .carousel-card.left {
    transform: translateX(-120px) translateZ(-20px) rotateY(20deg) scale(0.85);
  }
  
  .hero-offers .carousel-card.right {
    transform: translateX(120px) translateZ(-20px) rotateY(-20deg) scale(0.85);
  }
}

@media (max-width: 768px) {
  .hero-offers .carousel {
    min-height: 420px;
  }
  
  .hero-offers .carousel-card {
    width: 280px;
    min-width: 260px;
  }
  
  .hero-offers .carousel-card.left {
    transform: translateX(-100px) translateZ(-20px) rotateY(15deg) scale(0.8);
    opacity: 0.7;
  }
  
  .hero-offers .carousel-card.right {
    transform: translateX(100px) translateZ(-20px) rotateY(-15deg) scale(0.8);
    opacity: 0.7;
  }
  
  .hero-offers .control-btn {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
  
  .hero-offers .prev-btn {
    left: 20px;
  }
  
  .hero-offers .next-btn {
    right: 20px;
  }
  
  .hero-offers .carousel-container {
    padding: 20px 80px;
  }
}

/* Styles pour le hamburger mobile */
@media (max-width: 768px) {
  .hamburger {
    display: block !important;
    width: 30px;
    height: 25px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
    margin-right: 15px;
  }

  .hamburger span {
    display: block !important;
    width: 30px;
    height: 3px;
    background-color: var(--white);
    margin: 6px 0;
    transition: all 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .navbar-scrolled .hamburger span {
    background-color: #333;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0 !important;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .navbar .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 15px !important;
  }
}

/* Styles spécifiques pour le menu hamburger sur mobile */
@media (max-width: 768px) {
  .hamburger {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 30px !important;
    height: 25px !important;
    position: relative !important;
    cursor: pointer !important;
    z-index: 1001 !important;
    margin-right: 15px !important;
  }

  .hamburger span {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 30px !important;
    height: 3px !important;
    margin: 6px 0 !important;
    transition: all 0.3s ease !important;
    background-color: var(--white) !important;
  }

  .navbar-scrolled .hamburger span {
    background-color: #333 !important;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px) !important;
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0 !important;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px) !important;
  }
}

/* Menu mobile initial state */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
  }

  .nav-links.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links:not(.active) {
    display: none !important;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    margin: 10px 0;
  }

  .nav-links a {
    display: block;
    padding: 10px;
    color: white !important;
    font-size: 1.1rem;
  }

  .hamburger {
    display: block !important;
    width: 30px;
    height: 25px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
  }

  .hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    margin: 6px 0;
    transition: all 0.3s ease;
    background-color: var(--white);
  }

  .navbar-scrolled .hamburger span {
    background-color: #333;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
}

@media (max-width: 576px) {
  /* RESET COMPLET DES STYLES MOBILE POUR HERO */
  /* Ces styles remplaceront complètement tous les styles existants pour la section hero en mobile */
  .hero-offers.hero {
    min-height: auto !important;
    height: auto !important;
    padding-top: 80px !important;
    padding-bottom: 60px !important;
    overflow: visible !important;
    position: relative !important;
  }
  
  /* Reset du conteneur principal */
  .hero-offers .container {
    padding: 0 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    overflow: visible !important;
  }
  
  /* Reset du conteneur hero-offers-container */
  .hero-offers-container {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 30px !important;
    transform: none !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
  }
  
  /* Reset complet du contenu texte */
  .hero-offers .hero-content {
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 20px 10px !important;
    order: 1 !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10 !important;
  }
  
  /* Réinitialisation du wrapper de texte */
  .hero-text-wrapper {
    position: static !important;
    transform: none !important;
    display: block !important;
    width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  /* Titres et textes */
  .hero-offers .hero-content h1 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    margin-bottom: 15px !important;
    text-align: center !important;
    width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: white !important;
  }
  
  .hero-offers .hero-content p {
    font-size: 1rem !important;
    line-height: 1.4 !important;
    margin-bottom: 20px !important;
    text-align: center !important;
    width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: white !important;
  }
  
  /* Boutons */
  .hero-offers .hero-btns {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 25px 0 !important;
    padding: 0 !important;
    gap: 15px !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  .hero-offers .hero-btns .btn {
    width: 80% !important;
    margin: 0 !important;
    padding: 12px 20px !important;
    text-align: center !important;
    font-size: 1rem !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  /* Séparateur */
  .hero-text-separator {
    width: 100px !important;
    height: 3px !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent) !important;
    margin: 15px auto !important;
    display: block !important;
  }
  
  /* Reset du carousel et de son conteneur */
  .hero-carousel {
    position: relative !important;
    width: 100% !important;
    height: 450px !important;
    min-height: 0 !important;
    order: 2 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
  
  /* Style du bouton hero-action */
  .hero-action {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin-top: 30px !important;
    position: relative !important;
    z-index: 20 !important;
  }
  
  .hero-action .btn {
    width: 80% !important;
    text-align: center !important;
  }
  
  /* Force les boutons du carousel à être visibles */
  .hero-offers .control-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background-color: #003366 !important;
    color: white !important;
    border-radius: 50% !important;
    border: 2px solid white !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4) !important;
    z-index: 200 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  
  .hero-offers .prev-btn {
    left: 10px !important;
  }
  
  .hero-offers .next-btn {
    right: 10px !important;
  }
}

/* Correction spécifique pour petits écrans */
@media (max-width: 420px) {
  .hero-offers.hero {
    padding-top: 70px !important;
  }
  
  .hero-offers .hero-content h1 {
    font-size: 1.8rem !important;
  }
}

/* Design minimaliste pour la section contact */
#contact.section {
  padding: 70px 0;
  background-color: #fafafa;
}

#contact .section-title {
  margin-bottom: 40px;
}

#contact .section-title h2::after {
  width: 70px;
  height: 3px;
  background-color: var(--primary-color);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  padding: 30px;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contact-item {
  padding: 10px 0;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s ease;
}

.contact-item:hover {
  border-bottom-color: #e0e0e0;
}

.contact-icon {
  color: var(--primary-color);
  width: 32px;
  height: 32px;
  min-width: 32px;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-text h3 {
  font-size: 0.9rem;
  margin-bottom: 3px;
  color: var(--primary-color);
  font-weight: 600;
}

.contact-text p {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 0;
  line-height: 1.4;
}

.contact-form {
  padding: 0;
}

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

.form-control {
  padding: 10px 15px;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
  background-color: #fff;
  font-size: 0.9rem;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 51, 102, 0.05);
}

/* Bouton d'envoi simple */
.contact-form .btn {
  padding: 10px 24px;
  font-size: 0.9rem;
  border-radius: 4px;
  background-color: var(--primary-color);
  border: none;
  color: white;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.contact-form .btn:hover {
  background-color: var(--secondary-color);
}

textarea.form-control {
  min-height: 120px;
  resize: none;
}

/* Justifier le texte dans le footer */
.footer-column p {
  text-align: justify;
  line-height: 1.7;
}

.footer-column:first-child p {
  margin-bottom: 20px;
}

.footer-column h3 {
  margin-bottom: 25px;
}

.footer-column h3::after {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.footer-form input {
  padding: 12px 15px;
  border-radius: 5px;
  border: none;
  margin-bottom: 10px;
  width: 100%;
}

@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 25px;
  }
  
  .contact-info {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .contact-wrapper {
    padding: 20px;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
  }
}

/* Ajout d'une classe pour le carousel en animation */
.hero-offers .carousel.sliding .carousel-card {
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Séparateur visible uniquement en version mobile */
.hero-text-separator {
  display: none; /* Masqué par défaut */
}

@media (max-width: 1200px) {
  .hero-text-separator {
    content: '';
    position: relative;
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    margin: 30px auto 0;
    display: block;
  }
  
  /* Force l'ordre des éléments */
  .hero-offers-container {
    display: flex !important;
    flex-direction: column !important;
  }
  
  .hero-offers .hero-content {
    order: 1;
  }
  
  .hero-carousel {
    order: 2;
    margin-top: 20px !important;
  }
}

@media (max-width: 768px) {
  .hero-text-separator {
    margin: 25px auto 0;
    width: 120px;
  }
}

@media (max-width: 576px) {
  .hero-text-separator {
    width: 100px;
    margin: 20px auto 0;
  }
}

/* Correction pour tout le contenu du site - modifié pour préserver la disposition */
body, .section, .container, .section-title, .footer-content {
  visibility: visible !important;
  opacity: 1 !important;
}

/* S'assurer que tous les textes sont visibles sans perturber la disposition */
h1, h2, h3, h4, h5, h6, p, span, a, li {
  visibility: visible !important;
  opacity: 1 !important;
  color: inherit !important;
}

/* Correction spécifique pour les sections de services */
#services .service-card {
  visibility: visible !important;
  opacity: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

#services .service-card h3, 
#services .service-card p,
#services .service-card .service-icon,
#services .service-card .service-link {
  visibility: visible !important;
  opacity: 1 !important;
}

/* Restauration de la grille pour les services */
.services-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 30px !important;
}

/* Restauration de la grille pour About/Why us */
.why-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 50px !important;
  align-items: center !important;
}

/* Correction pour la disposition hero-offer */
.hero-offers-container {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 50px !important;
  align-items: center !important;
  justify-content: space-between !important;
}

@media (min-width: 1200px) {
  .hero-offers-container {
    flex-direction: row !important;
  }
  
  .hero-content {
    flex: 1 !important;
    max-width: 40% !important;
  }
  
  .hero-carousel {
    flex: 1 !important;
    max-width: 55% !important;
  }
}

/* Service-link styling */
.service-link {
  display: inline-flex !important;
  align-items: center !important;
  margin-top: 15px !important;
  color: var(--primary-color) !important;
  font-weight: 500 !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
  position: relative !important;
  transition: all 0.3s ease !important;
}

.service-link i {
  margin-left: 8px !important;
  transition: transform 0.3s ease !important;
}

.service-link:hover {
  color: var(--secondary-color) !important;
}

.service-link:hover i {
  transform: translateX(5px) !important;
}

.service-link::after {
  content: '' !important;
  position: absolute !important;
  bottom: -5px !important;
  left: 0 !important;
  width: 0 !important;
  height: 2px !important;
  background-color: var(--secondary-color) !important;
  transition: width 0.3s ease !important;
}

.service-link:hover::after {
  width: 100% !important;
}

/* Styles pour le menu hamburger mobile - s'assurer qu'il est toujours visible */
.hamburger {
  display: none; /* Caché par défaut sur desktop */
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: relative;
  z-index: 1001;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  outline: none;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Styles pour assurer la visibilité des barres du hamburger */
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white; /* Blanc par défaut */
  margin: 5px 0;
  transition: all 0.3s ease;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Barres noires quand la navbar est scrollée */
.navbar-scrolled .hamburger span {
  background-color: #333 !important;
}

/* Animation du hamburger en état actif */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0 !important;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Styles spécifiques pour la version mobile */
@media (max-width: 768px) {
  /* Afficher le hamburger en mobile */
  .hamburger {
    display: block !important;
  }
  
  /* S'assurer que le contenu du hamburger est visible */
  .hamburger span {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  /* Style pour la modal du menu mobile */
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%; /* Largeur limitée à la taille de l'écran */
    max-width: 100vw; /* Ne pas dépasser la largeur du viewport */
    background-color: var(--primary-color);
    padding: 20px;
    box-sizing: border-box; /* Inclure padding dans la largeur */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    overflow-x: hidden; /* Empêcher le défilement horizontal */
  }
  
  /* Style quand le menu est actif */
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  /* Adapter les éléments du menu pour le mobile */
  .nav-links li {
    width: 100%;
    text-align: center;
    margin: 10px 0;
  }
  
  .nav-links a {
    display: block;
    padding: 10px;
    font-size: 16px;
    color: white !important;
  }
}

/* Correction pour la section hero et les boutons du carousel */
@media (max-width: 576px) {
  /* Ajustement de la section hero pour mobile */
  .hero-offers {
    padding-top: 120px; /* Augmentation du padding top (était 90px) */
    padding-bottom: 100px; /* Augmentation du padding bottom */
    min-height: 120vh; /* Augmentation de la hauteur minimale */
  }
  
  .hero-offers .hero-content {
    margin-bottom: 0;
    padding-top: 50px; /* Ajoute un espace en haut du contenu pour le faire descendre */
    max-width: 100% !important;
    width: 100% !important;
    text-align: center;
  }
  
  .hero-offers .hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }
  
  .hero-offers .hero-content p {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  
  .hero-text-separator {
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    margin: 30px auto; /* Augmente la marge en haut et en bas */
  }
  
  .hero-carousel {
    padding-top: 15px;
    margin-bottom: 60px; /* Ajoute de l'espace en bas du carousel */
    height: auto; /* Adaptation de la hauteur */
    min-height: 450px;
  }
  
  /* Assure que le bouton d'action est bien visible */
  .hero-action {
    margin-top: 40px !important;
    position: relative;
    z-index: 20;
  }
  
  .hero-offers .carousel {
    min-height: 400px;
  }
  
  .hero-offers .carousel-card {
    width: 260px;
    min-width: 240px;
    height: 400px;
  }
  
  .hero-offers .carousel-card.left,
  .hero-offers .carousel-card.right {
    transform: translateX(0) translateZ(-50px) scale(0.7);
    opacity: 0;
    visibility: hidden;
  }
  
  .hero-offers .carousel-content {
    padding: 25px;
    gap: 10px;
  }
  
  .hero-offers .carousel-content p {
    max-height: 4.2rem;
    font-size: 0.9rem;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  /* Améliorations spécifiques pour les boutons du carousel */
  .hero-offers .control-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    background-color: var(--primary-color) !important;
    color: white !important;
    border: 2px solid white !important;
    position: absolute;
    z-index: 200;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4) !important;
  }
  
  .hero-offers .prev-btn {
    left: 10px !important;
  }
  
  .hero-offers .next-btn {
    right: 10px !important;
  }
  
  .hero-offers .carousel-container {
    padding: 20px 60px;
    overflow: visible !important;
  }
  
  /* Alignement des boutons de la section hero */
  .hero-offers .hero-btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
  }
  
  .hero-offers .hero-btns .btn {
    margin: 0;
    width: 80%;
    text-align: center;
  }
}

/* Correction spécifique pour la section about en responsive */
@media (max-width: 992px) {
  .why-grid {
    display: grid !important;
    grid-template-columns: 1fr !important; /* Une seule colonne sur tablette et mobile */
    gap: 30px !important;
  }
  
  .why-content {
    order: 1; /* Texte en premier */
  }
  
  .why-image {
    order: 2; /* Image en second */
    text-align: center;
  }
  
  .why-image img {
    max-width: 80%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .why-image img {
    max-width: 100%;
  }
  
  .why-list li {
    margin-bottom: 15px;
  }
}

/* Styles supplémentaires pour la section À Propos */
.about-section {
  padding: 70px 0;
}

.about-intro {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-image {
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  max-width: 100%;
  height: auto;
}

.about-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.why-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.why-list i {
  color: var(--primary-color);
  margin-right: 15px;
  font-size: 1.1rem;
  padding-top: 3px;
}

.why-list span {
  flex: 1;
  line-height: 1.5;
}

/* Styles responsive pour la section À Propos */
@media (max-width: 992px) {
  .about-section {
    padding: 60px 0;
  }
  
  .why-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  
  .why-content {
    order: 1;
  }
  
  .why-image {
    order: 2;
    text-align: center;
    margin-top: 20px;
  }
  
  .about-image {
    max-width: 90%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 50px 0;
  }
  
  .about-intro {
    font-size: 1rem;
  }
  
  .why-list li {
    margin-bottom: 15px;
  }
  
  .about-image {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .about-intro {
    font-size: 0.95rem;
  }
  
  .why-list i {
    font-size: 1rem;
  }
}

/* Force la visibilité des descriptions dans tous les cas */
@media (max-width: 576px) {
  .hero-offers .carousel-card .carousel-content p,
  .carousel-content p {
    display: -webkit-box !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    max-height: 4.5rem !important;
    margin-bottom: 12px !important;
    color: #666 !important;
  }

  .hero-offers .read-more,
  .carousel-content .read-more {
    position: relative !important;
    bottom: 5px !important;
    display: block !important;
    padding: 8px 0 !important;
    width: auto !important;
    text-align: left !important;
    background: none !important;
    color: #0066cc !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
    margin-top: 15px !important;
  }
}

/* Corrections spécifiques pour mobile */
@media (max-width: 768px) {
  /* Ajustements pour les images */
  img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Correction pour le carousel */
  .hero-carousel {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .carousel-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 40px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .carousel-card {
    width: 100% !important;
    max-width: calc(100vw - 80px) !important;
    margin: 0 auto !important;
  }

  /* Correction pour la section hero */
  .hero-offers {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow: hidden !important;
  }

  .hero-content {
    padding: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Correction pour les grilles */
  .services-grid,
  .why-grid,
  .footer-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  /* Correction pour la section contact */
  .contact-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }

  /* Correction pour les boutons */
  .control-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 1000 !important;
    width: 40px !important;
    height: 40px !important;
  }

  .prev-btn {
    left: 5px !important;
  }

  .next-btn {
    right: 5px !important;
  }
}