/* CSS de correction pour forcer l'affichage du header */
/* IMPORTANT : Ce fichier doit être chargé EN DERNIER pour écraser responsive.css */

/* ========================================
   BANNER SECTION - Responsive
   ======================================== */
.banner-section .bg-overlay {
  display: none;
}

@media only screen and (max-width: 991px) {
  /* Overlay sombre en responsive */
  .banner-section .bg-overlay {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
  }

  /* Centrage de l'image de fond en responsive - positionné vers la gauche */
  .banner-section .bg-layer {
    background-position: 30% center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
    min-width: 100% !important;
    transform: none !important;
  }

  /* Texte en blanc en responsive */
  .banner-section .content-box h2 {
    color: #ffffff !important;
  }

  .banner-section .content-box h3 {
    color: #ffffff !important;
    font-size: 18px !important;
    line-height: 24px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }

  /* Texte info-box en blanc en responsive */
  .banner-section .content-box .info-box p {
    color: #ffffff !important;
  }

  .banner-section .content-box .info-box p strong {
    color: #ffffff !important;
  }

  .banner-section .content-box .info-box p a {
    color: #ffffff !important;
  }

  /* Assurer que le contenu est au-dessus de l'overlay */
  .banner-section .auto-container {
    position: relative;
    z-index: 2;
  }
}

/* ========================================
   VARIABLES DE COULEURS - Thème Rouge
   ======================================== */
:root {
  --theme-color: #DF4044 !important; /* Rouge principal du logo */
  --theme-color-dark: #B8333A !important; /* Rouge foncé pour hover */
  --theme-color-light: #F05457 !important; /* Rouge clair */
}

/* ========================================
   PAGE TITLE - Image de fond plein écran
   ======================================== */
.page-title {
  position: relative;
  overflow: hidden;
}

.page-title .image-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-title .image-layer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.page-title .image-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-title .auto-container {
  position: relative;
  z-index: 2;
}

.page-title .content-box {
  position: relative;
  z-index: 2;
}

.page-title h1,
.page-title .bread-crumb li,
.page-title .bread-crumb li a {
  color: #ffffff !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* ========================================
   LIENS SANS SOULIGNEMENT - Global
   ======================================== */

/* Pas de soulignement pour les liens téléphone partout */
a[href^="tel"],
a[href^="mailto"] {
  text-decoration: none !important;
}

a[href^="tel"]:hover,
a[href^="tel"]:focus,
a[href^="mailto"]:hover,
a[href^="mailto"]:focus {
  text-decoration: none !important;
}

/* Pas de soulignement dans la section banner/hero */
.banner-section a,
.content-box a {
  text-decoration: none !important;
}

.banner-section a:hover,
.banner-section a:focus,
.content-box a:hover,
.content-box a:focus {
  text-decoration: none !important;
}

/* Pas de soulignement pour tous les boutons theme-btn */
.theme-btn,
.theme-btn span {
  text-decoration: none !important;
}

.theme-btn:hover,
.theme-btn:focus {
  text-decoration: none !important;
}

/* ========================================
   FIN LIENS SANS SOULIGNEMENT
   ======================================== */

/* Container pour image + badge + petite image */
.image_block_one .image-box {
  position: relative;
  display: flex;
  gap: 20px;
  align-items: flex-end; /* Aligner les images en BAS */
}

/* Image principale à gauche */
.image_block_one .image-box .image-1 {
  position: relative;
  flex: 0 0 50%;
  border-radius: 10px;
  overflow: hidden;
  max-height: 550px; /* Hauteur maximale */
}

.image_block_one .image-box .image-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* Colonne de droite : badge + petite image */
.image_block_one .image-box .image-right-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: flex-end; /* Aligner en bas */
}

/* Petite image en bas à droite */
.image_block_one .image-box .image-2 {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  height: 280px; /* Hauteur fixe */
}

.image_block_one .image-box .image-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* Badge "15 ANS D'EXPÉRIENCE" - TEXTE ORANGE sur fond TRANSPARENT */
.image_block_one .image-box .experience-box {
  position: relative;
  background: transparent !important; /* FOND TRANSPARENT */
  padding: 35px 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: none !important; /* Pas d'ombre */
  flex: 0 0 auto;
  width: 100%;
  height: 220px; /* Hauteur fixe pour équilibrer */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.image_block_one .image-box .experience-box h2 {
  display: block;
  font-size: 85px;
  line-height: 80px;
  color: var(--theme-color) !important; /* TEXTE ROUGE */
  font-weight: 700;
  margin-bottom: 10px;
}

.image_block_one .image-box .experience-box h5 {
  display: block;
  font-size: 15px;
  line-height: 20px;
  color: var(--theme-color) !important; /* TEXTE ROUGE */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Liste avec check marks en 2 colonnes */
.list-style-one {
  position: relative;
  display: block;
  margin-bottom: 0px;
  padding-left: 0px;
}

.list-style-one li {
  position: relative;
  display: block;
  font-size: 16px;
  line-height: 30px;
  font-weight: 500;
  color: #0b1970;
  padding-left: 35px;
  margin-bottom: 12px;
}

.list-style-one li:before {
  position: absolute;
  content: '\f00c'; /* FontAwesome check */
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  left: 0px;
  top: 0px;
  color: var(--theme-color);
  font-size: 18px;
}

/* Auteur/Expert box */
.content_block_one .author-box {
  position: relative;
  display: block;
  padding-top: 10px;
}

.content_block_one .author-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.content_block_one .author-thumb {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.content_block_one .author-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.content_block_one .author-info h4 {
  display: block;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  color: #0b1970;
  margin-bottom: 2px;
}

.content_block_one .author-info .designation {
  display: block;
  font-size: 15px;
  line-height: 24px;
  color: #666;
}

/* Responsive */
@media (max-width: 1199px) {
  .image_block_one .image-box {
    min-height: 450px;
  }
  
  .image_block_one .image-box .experience-box {
    padding: 30px 25px;
  }
  
  .image_block_one .image-box .experience-box h2 {
    font-size: 65px;
    line-height: 60px;
  }
  
  .image_block_one .image-box .experience-box h5 {
    font-size: 14px;
    line-height: 18px;
  }
}

@media (max-width: 991px) {
  .image_block_one .image-box {
    flex-direction: column;
    min-height: auto;
  }
  
  .image_block_one .image-box .image-1 {
    flex: 1;
    width: 100%;
    height: 400px;
  }
  
  .image_block_one .image-box .image-right-column {
    flex-direction: row;
    width: 100%;
  }
  
  .image_block_one .image-box .experience-box {
    flex: 0 0 45%;
  }
  
  .image_block_one .image-box .image-2 {
    flex: 0 0 50%;
  }
}

@media (max-width: 767px) {
  .image_block_one .image-box .image-1 {
    height: 300px;
  }
  
  .image_block_one .image-box .image-right-column {
    flex-direction: column;
  }
  
  .image_block_one .image-box .experience-box,
  .image_block_one .image-box .image-2 {
    flex: 1;
    width: 100%;
  }
}

/* Correction pour les images du logo */
.logo-box img {
  width: 200px !important;
  height: auto !important;
  max-width: 100%;
}

/* Diminuer la taille de police du menu */
.main-menu .navigation > li > a {
  font-size: 16px !important;  /* Augmenté de 15px à 16px */
  padding: 25px 18px !important;  /* Réduit la hauteur verticale */
  text-decoration: none !important; /* Pas de soulignement */
}

.main-menu .navigation > li > a:hover,
.main-menu .navigation > li > a:focus {
  text-decoration: none !important; /* Pas de soulignement au hover */
}

/* Ajuster aussi le dropdown */
.main-header .navigation li.dropdown ul li a {
  font-size: 14px !important;
  text-decoration: none !important; /* Pas de soulignement */
}

.main-header .navigation li.dropdown ul li a:hover,
.main-header .navigation li.dropdown ul li a:focus {
  text-decoration: none !important; /* Pas de soulignement au hover */
}

/* Corriger le style des sous-menus dropdown */
.main-header .navigation li.dropdown ul {
  position: absolute !important;
  left: 0px !important;
  top: 100% !important;
  width: 220px !important;
  background: #fff !important;
  z-index: 100 !important;
  padding: 20px 0px !important;
  box-shadow: 0px 0px 30px rgba(0,0,0,0.1) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(20px) !important;
  transition: all 500ms ease !important;
}

.main-header .navigation li.dropdown:hover > ul {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.main-header .navigation li.dropdown ul li {
  position: relative !important;
  display: block !important;
  padding: 0px !important;
  border-bottom: 1px solid #f0f0f0 !important;
}

.main-header .navigation li.dropdown ul li:last-child {
  border-bottom: none !important;
}

.main-header .navigation li.dropdown ul li a {
  position: relative !important;
  display: block !important;
  padding: 10px 30px !important;
  font-size: 15px !important;
  line-height: 26px !important;
  color: #0b1970 !important;
  font-weight: 500 !important;
  transition: all 500ms ease !important;
}

.main-header .navigation li.dropdown ul li a:hover {
  background: var(--theme-color) !important;
  color: #fff !important;
  padding-left: 35px !important;
}

/* Corriger la forme arrondie du header-lower */
.header-lower {
  border-bottom-left-radius: 0px !important;
  border-bottom-right-radius: 300px !important;
  padding-right: 50px !important;
  min-height: auto !important;  /* Enlever la hauteur minimale excessive */
}

.header-lower .outer-box {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

/* Ajuster le positionnement du bouton et de la loupe */
.header-lower .outer-box {
  position: relative;
}

.header-lower .btn-box {
  margin-left: 60px !important;  /* Augmenter l'espace entre le menu et le bouton */
}

/* Ajuster le padding du bouton "Devis" */
.header-style-one .btn-box a,
.header-lower .btn-box a,
.sticky-header .btn-box a {
  padding: 11px 18px !important;
  font-size: 16px !important;
  line-height: 26px !important;
  text-decoration: none !important; /* Pas de soulignement */
}

.header-style-one .btn-box a:hover,
.header-lower .btn-box a:hover,
.sticky-header .btn-box a:hover {
  text-decoration: none !important; /* Pas de soulignement au hover */
}

.header-lower .search-toggler {
  margin-left: 40px !important;  /* Espace entre le menu et la loupe */
  cursor: pointer !important;
  display: block !important;
  visibility: visible !important;
}

.header-lower .search-toggler img {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
}

/* Forcer l'affichage du header-upper sur desktop */
@media (min-width: 1200px) {
  .header-upper {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 20px 0px 60px 0px !important;
  }
  
  .header-upper .upper-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  
  .header-upper .upper-inner .right-column {
    display: flex !important;
    align-items: center !important;
  }
  
  .header-upper .upper-inner .info-list {
    display: flex !important;
    align-items: center !important;
  }
  
  .header-upper .upper-inner .social-links {
    display: flex !important;
    align-items: center !important;
  }
}

/* Forcer l'affichage du header-top */
.header-top {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.header-top .top-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.header-top .left-info,
.header-top .right-info {
  display: flex !important;
  align-items: center !important;
  gap: 15px; /* Espacement entre les éléments */
}

/* Centrer les icônes dans les ronds du header social-links */
.header-upper .social-links li a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.header-upper .social-links li a i {
  margin: 0 !important;
  padding: 0 !important;
}

/* Centrer les icônes dans les ronds du menu mobile */
.mobile-menu .social-links li a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.mobile-menu .social-links li a span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Pas de soulignement pour tous les liens du header-top */
.header-top a {
  text-decoration: none !important;
}

.header-top a:hover,
.header-top a:focus {
  text-decoration: none !important;
}

/* Aligner verticalement le téléphone et le bouton Whatsapp */
.header-top .left-info li {
  display: flex !important;
  align-items: center !important;
  gap: 8px;
}

/* Aligner le numéro de téléphone au centre de l'icône */
.header-top .left-info li img {
  vertical-align: middle !important;
  align-self: center !important;
}

.header-top .left-info li a {
  display: flex !important;
  align-items: center !important;
  line-height: 1 !important;
}

.header-top .left-info li a[href^="tel"],
.header-top .left-info li a[href^="https://wa.me"] {
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important; /* Pas de soulignement */
}

.header-top .left-info li a[href^="tel"]:hover,
.header-top .left-info li a[href^="https://wa.me"]:hover {
  text-decoration: none !important; /* Pas de soulignement au hover */
}

/* Style du bouton Whatsapp comme le thème original */
.header-top .left-info li button {
  position: relative;
  margin: 0 !important;
  padding: 6px 25px 6px 35px !important;
  background: #fff !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 20px !important;
  font-size: 14px !important;
  line-height: 24px !important;
  font-weight: 500 !important;
  color: #0b1970 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* Point vert avant le texte Whatsapp */
.header-top .left-info li button::before {
  content: '' !important;
  position: absolute !important;
  left: 15px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 8px !important;
  height: 8px !important;
  background: #25D366 !important; /* Couleur WhatsApp verte */
  border-radius: 50% !important;
  animation: pulse 2s infinite !important;
}

/* Animation du point vert */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Hover effect */
.header-top .left-info li button:hover {
  background: #25D366 !important;
  color: #fff !important;
  border-color: #25D366 !important;
}

.header-top .left-info li button:hover::before {
  background: #fff !important;
}

/* Corrections pour le menu */
.header-lower .outer-box {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.header-lower .menu-area {
  display: flex !important;
  align-items: center !important;
}

.main-menu .navigation {
  display: flex !important;
  align-items: center !important;
}

/* Corrections pour les dropdowns */
.main-header .navigation li.dropdown {
  position: relative !important;
}

.main-header .navigation li.dropdown ul {
  display: none;
  position: absolute !important;
  left: 0px !important;
  top: 100% !important;
  width: 220px !important;
  background: #fff !important;
  z-index: 100 !important;
  padding: 20px 0px !important;
  box-shadow: 0px 0px 30px rgba(0,0,0,0.1) !important;
}

.main-header .navigation li.dropdown:hover > ul {
  display: block !important;
}

/* Forcer l'affichage de la section Testimonials et du carousel */
.testimonial-section {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.testimonial-section .content-column {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.testimonial-section .two-item-carousel {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 400px !important; /* Assurer une hauteur minimum */
}

/* Afficher les items AVANT l'initialisation du carousel (évite le saut au chargement) */
.two-item-carousel:not(.owl-loaded) .testimonial-block-one {
  display: inline-block !important;
  width: 48% !important;
  margin: 0 1% !important;
  vertical-align: top !important;
  opacity: 1 !important;
  visibility: visible !important;
}

@media (max-width: 767px) {
  .two-item-carousel:not(.owl-loaded) .testimonial-block-one {
    display: block !important;
    width: 100% !important;
    margin-bottom: 20px !important;
  }
}

.testimonial-section .testimonial-block-one {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.testimonial-section .inner-box {
  visibility: visible !important;
  opacity: 1 !important;
  background: #fff;
  padding: 30px 25px;
  border-radius: 10px;
  box-shadow: 0px 10px 30px rgba(0,0,0,0.1);
  display: flex !important;
  flex-direction: column;
  height: 100%;
}

/* Container du testimonial avec hauteur fixe */
.testimonial-block-one {
  height: 100%;
}

/* Assurer que le texte prend l'espace nécessaire */
.testimonial-block-one .inner-box .text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 260px;
  padding: 25px 20px 20px 20px !important;
  margin-bottom: 20px !important;
}

.testimonial-block-one .inner-box .text p {
  line-height: 30px;
  color: #494949;
  flex: 1;
}

/* Author box à hauteur fixe - garder la structure originale */
.testimonial-block-one .inner-box .author-box {
  position: relative;
  display: block;
  padding: 10px 0px 10px 85px;
  margin-left: 25px;
  min-height: 80px;
}

/* Image de l'auteur en position absolue à gauche */
.testimonial-block-one .inner-box .author-box .author-thumb {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 65px;
  height: 65px;
  border-radius: 50%;
}

.testimonial-block-one .inner-box .author-box .author-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* S'assurer que le carousel Owl affiche les items */
.testimonial-section .owl-stage-outer {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.testimonial-section .owl-stage {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.testimonial-section .owl-item {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Amélioration de la visibilité des noms et désignations */
.testimonial-block-one .inner-box .author-box h5 {
  display: block !important;
  color: #0b1970 !important; /* Bleu foncé du thème */
  font-size: 20px !important;
  line-height: 26px !important;
  font-weight: 700 !important;
  margin-bottom: 5px !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.testimonial-block-one .inner-box .author-box .designation {
  display: block !important;
  color: #F05457 !important; /* Rouge clair du thème pour cohérence */
  font-size: 16px !important;
  line-height: 20px !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
  letter-spacing: 0.3px;
}

/* Info-box sans icône - texte aligné à gauche */
.banner-section .content-box .info-box {
  text-align: left !important;
  padding-left: 0 !important;
}

.banner-section .content-box .info-box p {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

/* Articles récents - Images en cercle */
.post-widget .post-thumb {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.post-widget .post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-widget .post {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.post-widget .post:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.post-widget .post h5 {
  margin: 0;
  font-size: 15px;
  line-height: 22px;
}

/* Réduction de la hauteur de la grande card article */
.blog-details-content .content-one {
  min-height: auto !important;
}

.blog-details-content .content-one .image-box {
  max-height: 400px;
  overflow: hidden;
}

.blog-details-content .content-one .image-box img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Styles pour le footer - forcer l'affichage */
.main-footer {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.main-footer .widget-section {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.main-footer .footer-logo {
  display: block !important;
  margin-bottom: 20px !important;
}

.main-footer .footer-logo img {
  max-width: 200px !important;
  height: auto !important;
}

/* Styles améliorés pour les social-links dans le contact-widget du footer */
.main-footer .contact-widget .social-links {
  display: flex !important;
  align-items: center;
  margin-top: 20px;
}

.main-footer .contact-widget .social-links li a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.main-footer .contact-widget .social-links li a i {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.main-footer .contact-widget .social-links li a:hover {
  background: var(--theme-color) !important;
  color: #fff !important;
  border-color: var(--theme-color) !important;
}

/* Forcer l'affichage du footer-bottom */
.main-footer .footer-bottom {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.main-footer .footer-bottom .bottom-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap;
}

.main-footer .footer-bottom .bottom-inner p {
  margin: 0;
  color: #c5c5c5;
  font-size: 17px;
}

.main-footer .footer-bottom .footer-nav {
  display: flex !important;
  align-items: center !important;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-footer .footer-bottom .footer-nav li {
  display: inline-block;
  margin: 0 !important;
}

.main-footer .footer-bottom .footer-nav li a {
  color: #c5c5c5;
  font-size: 17px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.main-footer .footer-bottom .footer-nav li a:hover {
  color: var(--theme-color);
}

/* Styles pour les icônes de contact dans le footer */
.main-footer .contact-widget .info-list li i {
  position: relative;
  display: inline-block;
  width: 20px;
  margin-right: 10px;
  color: var(--theme-color);
  font-size: 16px;
}

/* Styles pour les liens du footer - PAS de soulignement */
.main-footer .links-widget .links-list li a {
  text-decoration: none !important;
}

.main-footer .links-widget .links-list li a:hover {
  color: var(--theme-color) !important;
  padding-left: 10px;
  text-decoration: none !important;
}

.main-footer .contact-widget .info-list li a {
  text-decoration: none !important;
}

.main-footer .contact-widget .info-list li a:hover {
  color: var(--theme-color) !important;
  text-decoration: none !important;
}

.main-footer .footer-bottom .footer-nav li a {
  text-decoration: none !important;
}

.main-footer .footer-bottom .footer-nav li a:hover {
  text-decoration: none !important;
}

/* Section Partenaires - logos avec fond blanc */
.clients-section {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: #ffffff !important; /* Fond blanc */
  background-color: #ffffff !important; /* Fond blanc */
  padding: 70px 0 !important;
}

.clients-section .title-box {
  background: #ffffff !important; /* Fond blanc derrière le titre */
  background-color: #ffffff !important;
}

.clients-section .title-box:before {
  background: #d5d4d3 !important; /* Ligne grise conservée */
}

.clients-section .title-box span {
  background: #ffffff !important; /* Fond blanc derrière le texte */
  background-color: #ffffff !important;
  padding: 0 20px;
  color: var(--theme-color) !important; /* Couleur rouge pour le texte */
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.clients-section .clients-list {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap;
  gap: 40px;
}

.clients-section .clients-list li {
  display: inline-block;
  margin: 0 !important;
  list-style: none;
  background: transparent !important;
  background-color: transparent !important;
}

.clients-section .clients-list li .partner-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 120px;
  padding: 20px;
  background: transparent;
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.clients-section .clients-list li .partner-logo-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.clients-section .clients-list li .partner-logo-link:hover::before {
  left: 100%;
}

.clients-section .clients-list li .partner-logo-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.6;
  filter: grayscale(30%) brightness(0.95);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1);
  background: transparent !important;
  background-color: transparent !important;
}

.clients-section .clients-list li .partner-logo-link:hover {
  transform: translateY(-8px) scale(1.02);
}

.clients-section .clients-list li .partner-logo-link:hover img {
  opacity: 1;
  filter: grayscale(0%) brightness(1);
  transform: scale(1.05);
}

/* =============================================
   BOUTON BACK TO TOP - Refait proprement
   ============================================= */
.scroll-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  background: var(--theme-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
  outline: none;
}

.scroll-top.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-top:hover {
  background: #0b1970;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

.scroll-top:active {
  transform: translateY(-3px) scale(1.05);
}

.scroll-top i {
  font-size: 18px;
  color: #fff;
  line-height: 1;
  transition: transform 0.3s ease;
}

.scroll-top:hover i {
  transform: translateY(-2px);
  animation: arrowBounce 0.6s ease-in-out infinite;
}

@keyframes arrowBounce {
  0%, 100% {
    transform: translateY(-2px);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Supprimer le bandeau blanc en bas - forcer le body et html */
html,
body {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
}

.boxed_wrapper {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
}

/* =============================================
   CONTACT PAGE - Styles additionnels
   ============================================= */
.contact-info-section {
  position: relative;
  background: #fff;
}

.contact-info-section .info-block-one {
  position: relative;
  margin-bottom: 30px;
}

.contact-info-section .info-block-one .inner-box {
  position: relative;
  text-align: center;
  padding: 40px 30px;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(0,0,0,0.08);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-info-section .info-block-one .inner-box:hover {
  box-shadow: 0px 10px 40px rgba(0,0,0,0.12);
  transform: translateY(-5px);
}

.contact-info-section .info-block-one .icon-box {
  position: relative;
  margin-bottom: 25px;
}

.contact-info-section .info-block-one .icon-box img {
  display: inline-block;
  max-width: 60px;
}

.contact-info-section .info-block-one h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--theme-color-dark);
}

.contact-info-section .info-block-one p {
  font-size: 16px;
  line-height: 26px;
  margin-bottom: 5px;
}

.contact-info-section .info-block-one p a {
  color: var(--theme-color);
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.contact-info-section .info-block-one p a:hover {
  color: var(--theme-color-dark);
}

.contact-info-section .info-block-one span {
  display: block;
  font-size: 14px;
  color: #777;
  margin-top: 10px;
}

/* =============================================
   BLOG - Styles additionnels
   ============================================= */
   
/* Contenu de l'article */
.article-content {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}

.article-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--theme-color-dark);
  margin: 30px 0 20px;
}

.article-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--theme-color-dark);
  margin: 25px 0 15px;
}

.article-content h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--theme-color-dark);
  margin: 20px 0 10px;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
  margin: 20px 0;
  padding-left: 30px;
}

.article-content li {
  margin-bottom: 10px;
}

.article-content a {
  color: var(--theme-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.article-content a:hover {
  color: var(--theme-color-dark);
}

.article-content blockquote {
  border-left: 4px solid var(--theme-color);
  padding: 20px;
  margin: 30px 0;
  background: #f9f9f9;
  font-style: italic;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}

.article-content pre {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 5px;
  overflow-x: auto;
  margin: 20px 0;
}

.article-content code {
  background: #f5f5f5;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: monospace;
}

/* Bouton "Lire la suite" */
.news-block-four .link a {
  text-decoration: none !important;
}

.news-block-four .link a:hover {
  text-decoration: none !important;
}

/* Sidebar search button */
.blog-sidebar .search-widget button {
  background: var(--theme-color);
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-sidebar .search-widget button:hover {
  background: var(--theme-color-dark);
}

/* Catégories - Même style que les tags */
.category-list {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  margin: 0 !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.category-list li a {
  display: block;
  padding: 12px 16px;
  background: #f8f9fa;
  border-radius: 8px;
  text-align: center;
  text-decoration: none !important;
  color: #0b1970;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.category-list li a:hover {
  background: var(--theme-color);
  color: #fff !important;
  border-color: var(--theme-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(223, 64, 68, 0.2);
}

/* Tags list - Petits tags qui disparaissent au survol */
.tags-list li a {
  text-decoration: none !important;
  font-size: 12px !important;
  padding: 6px 12px !important;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.tags-list li a:hover {
  text-decoration: none !important;
  opacity: 0 !important;
  transform: scale(0.8);
}

/* =============================================
   CARDS D'ARTICLES - Design amélioré
   ============================================= */

/* Cards sur la page d'accueil (news-block-one) */
.news-block-one {
  margin-bottom: 30px;
}

.news-block-one .inner-box {
  position: relative;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-block-one .inner-box:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.news-block-one .image-box {
  position: relative;
  overflow: hidden;
  margin: 0;
  height: 250px;
}

.news-block-one .image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-block-one .inner-box:hover .image-box img {
  transform: scale(1.1);
}

.news-block-one .lower-content {
  position: relative;
  padding: 30px 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.news-block-one .post-date {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--theme-color);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-block-one h3 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  height: 84px; /* 3 lignes exactes */
}

.news-block-one h3 a {
  color: #0b1970;
  text-decoration: none;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-block-one h3 a:hover {
  color: var(--theme-color);
}

.news-block-one p {
  font-size: 15px;
  line-height: 24px;
  color: #666;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 48px; /* 2 lignes exactes */
}

.news-block-one .link-box {
  margin-top: auto;
  padding-top: 15px;
}

.news-block-one .link-box a {
  position: relative;
  display: inline-block;
  font-size: 15px;
  line-height: 24px;
  font-weight: 600;
  color: var(--theme-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.news-block-one .link-box a:hover {
  color: #0b1970;
  padding-left: 5px;
}

.news-block-one .link-box a i {
  margin-left: 8px;
  transition: margin-left 0.3s ease;
}

.news-block-one .link-box a:hover i {
  margin-left: 12px;
}

/* Cards sur la page blog (news-block-four) */
.news-block-four {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-block-four .inner-box {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-block-four .inner-box:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.news-block-four .image-box {
  position: relative;
  overflow: hidden;
  margin: 0;
  height: 280px;
  flex-shrink: 0;
}

.news-block-four .image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-block-four .inner-box:hover .image-box img {
  transform: scale(1.1);
}

.news-block-four .lower-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 340px;
}

/* Supprimer le min-height pour les pages d'article individuel */
.blog-details-content .news-block-four .lower-content {
  min-height: auto;
  padding: 20px 30px;
}

.news-block-four .post-date {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--theme-color);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-block-four h2 {
  font-size: 28px !important;
  line-height: 38px !important;
  font-weight: 700 !important;
  margin-bottom: 15px !important;
  min-height: 105px !important;
  height: auto !important;
  max-height: 105px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.news-block-four h2 a {
  color: #0b1970;
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-block-four h2 a:hover {
  color: var(--theme-color);
}

.news-block-four p {
  font-size: 15px;
  line-height: 24px;
  color: #666;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-block-four .link {
  margin-top: auto;
  padding-top: 15px;
  padding-bottom: 20px;
}

.news-block-four .link a {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--theme-color);
  text-decoration: none !important;
  transition: all 0.3s ease;
  padding: 10px 20px;
  border: 2px solid var(--theme-color);
  border-radius: 5px;
  margin-bottom: 15px;
}

.news-block-four .link a:hover {
  background: var(--theme-color);
  color: #fff;
  transform: translateX(5px);
}

/* Responsive */
@media (max-width: 991px) {
  .news-block-one .image-box,
  .news-block-four .image-box {
    height: 220px;
  }
  
  .news-block-one h3 {
    font-size: 18px;
    line-height: 26px;
  }
  
  .news-block-four h2 {
    font-size: 20px;
    line-height: 28px;
  }
}

@media (max-width: 767px) {
  .news-block-one .image-box,
  .news-block-four .image-box {
    height: 200px;
  }
  
  .news-block-one .lower-content,
  .news-block-four .lower-content {
    padding: 20px;
  }
}

/* =============================================
   CHAMP DE RECHERCHE BLOG - Design amélioré
   ============================================= */
.search-input-wrapper {
  position: relative;
  display: block;
  width: 100%;
}

/* S'assurer que le parent du search-input-wrapper a position relative */
.blog-sidebar .search-widget .search-form,
.blog-sidebar .search-widget .search-form .form-group {
  position: relative;
  width: 100%;
}

.search-input-blog {
  width: 100%;
  padding: 15px 50px 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
  outline: none;
}

.search-input-blog:focus {
  border-color: var(--theme-color);
  box-shadow: 0 0 0 3px rgba(223, 64, 68, 0.1);
}

.search-btn-blog {
  position: absolute !important;
  right: 5px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: var(--theme-color) !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 10px 15px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  z-index: 10 !important;
  color: #ffffff;
}

.search-btn-blog:hover {
  background: #0b1970;
  transform: translateY(-50%) scale(1.05);
}

.search-btn-blog i {
  color: #ffffff;
  font-size: 16px;
}

/* =============================================
   TAGS EN GRILLE 2 COLONNES - Design amélioré
   ============================================= */
.tags-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0;
  list-style: none;
  margin: 0;
}

.tags-list-grid li {
  margin: 0;
}

.tags-list-grid .tag-link {
  display: block;
  padding: 10px 15px;
  background: #f5f5f5;
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
  color: #0b1970;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.tags-list-grid .tag-link:hover {
  background: var(--theme-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(223, 64, 68, 0.3);
}

/* Responsive */
@media (max-width: 767px) {
  .tags-list-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   BOUTONS - Couleur rouge du thème
   ============================================= */
.theme-btn,
.theme-btn.btn-one {
  background: var(--theme-color) !important;
  border-color: var(--theme-color) !important;
}

.theme-btn:hover,
.theme-btn.btn-one:hover {
  background: var(--theme-color-dark) !important;
  border-color: var(--theme-color-dark) !important;
}

.theme-btn.btn-two {
  background: transparent !important;
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
}

.theme-btn.btn-two:hover {
  background: #ffffff !important;
  color: var(--theme-color) !important;
}

/* Exception : Bouton DEVIS du header reste en bleu */
.header-style-one .btn-box a,
.header-lower .btn-box a {
  background: #003866 !important;
  border-color: #003866 !important;
}

.header-style-one .btn-box a:hover,
.header-lower .btn-box a:hover {
  background: #002244 !important;
  border-color: #002244 !important;
}

/* =============================================
   CARDS "NOS AVANTAGES" - Hauteur uniforme
   ============================================= */
.feature-style-five.feature-service-details .feature-block-one .inner-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 280px !important;
  height: 100%;
  padding: 40px 20px !important;
}

.feature-style-five.feature-service-details .feature-block-one .icon-box {
  margin-bottom: 20px;
  flex-shrink: 0;
}

.feature-style-five.feature-service-details .feature-block-one h3 {
  margin-bottom: 15px;
  flex-shrink: 0;
  text-align: center;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-style-five.feature-service-details .feature-block-one p {
  text-align: center;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
  margin: 0;
}

/* Forcer la hauteur égale pour tous les feature-blocks */
.feature-style-five.feature-service-details .feature-block {
  display: flex;
  margin-bottom: 30px;
}

.feature-style-five.feature-service-details .feature-block-one {
  height: 100%;
  width: 100%;
}

/* =============================================
   SUPPRIMER ESPACE BLANC AVANT FOOTER
   ============================================= */
.cta-section {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.cta-section + * {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* S'assurer que le footer colle à la section précédente */
footer,
.main-footer {
  margin-top: 0 !important;
}

/* =============================================
   BOUTONS CTA - Espacement amélioré
   ============================================= */
.cta-section .btn-box {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.cta-section .btn-box .theme-btn {
  margin: 0 !important;
}

/* Responsive pour les petits écrans */
@media (max-width: 767px) {
  .cta-section .btn-box {
    flex-direction: column;
    gap: 15px;
  }
  
  .cta-section .btn-box .theme-btn {
    width: 100%;
    text-align: center;
  }
}

/* =============================================
   PAGINATION ADMIN - Style professionnel
   ============================================= */
.pagination-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.pagination-list {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.pagination-list li {
  margin: 0;
}

.pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.pagination-link:hover:not(.disabled):not(.active) {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: #1f2937;
}

.pagination-link.active {
  background: var(--theme-color);
  border-color: var(--theme-color);
  color: #ffffff;
  cursor: default;
}

.pagination-link.disabled {
  background: #f9fafb;
  color: #9ca3af;
  cursor: not-allowed;
  border-color: #e5e7eb;
}

.pagination-link i {
  font-size: 12px;
  margin: 0 4px;
}

.pagination-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  color: #9ca3af;
  font-size: 14px;
}

.pagination-info {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

/* =============================================
   FORMULAIRE DE CONTACT - Uniformisation
   ============================================= */
.default-form input[type="text"],
.default-form input[type="email"],
.default-form input[type="tel"],
.default-form select,
.default-form textarea {
  width: 100% !important;
  height: 60px !important;
  padding: 0 25px !important;
  font-size: 15px !important;
  color: #222222 !important;
  background: #ffffff !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 5px !important;
  transition: all 0.3s ease !important;
  font-family: inherit !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}

.default-form textarea {
  height: 180px !important;
  padding: 20px 25px !important;
  resize: vertical !important;
}

.default-form input:focus,
.default-form select:focus,
.default-form textarea:focus {
  border-color: var(--theme-color) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(223, 64, 68, 0.1) !important;
}

/* Style du select avec flèche personnalisée */
.default-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23222222' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 20px center !important;
  padding-right: 50px !important;
  cursor: pointer !important;
  line-height: 60px !important;
  box-sizing: border-box !important;
  min-height: 60px !important;
  max-height: 60px !important;
}

.default-form select option {
  padding: 10px !important;
}

/* Placeholder style */
.default-form input::placeholder,
.default-form textarea::placeholder {
  color: #999999 !important;
  opacity: 1 !important;
}

/* Hover effect */
.default-form input:hover,
.default-form select:hover,
.default-form textarea:hover {
  border-color: #cccccc !important;
}

/* =============================================
   CARDS PARTENAIRES - Hauteur uniforme
   ============================================= */
.service-style-five .service-block {
  display: flex;
  margin-bottom: 30px;
}

.service-style-five .service-block-five {
  height: 100%;
  width: 100%;
}

.service-style-five .service-block-five .inner-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 380px !important;
  padding: 45px 30px 40px !important;
}

.service-style-five .service-block-five .count-text {
  flex-shrink: 0;
  margin-bottom: 20px;
}

.service-style-five .service-block-five .icon-box {
  flex-shrink: 0;
  margin-bottom: 25px;
}

.service-style-five .service-block-five h3 {
  flex-shrink: 0;
  min-height: 70px !important;
  margin-bottom: 15px !important;
  display: flex;
  align-items: center;
}

.service-style-five .service-block-five p {
  flex: 1;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

.service-style-five .service-block-five .link-icon {
  flex-shrink: 0;
  margin-top: auto;
}

/* ========================================
   RESPONSIVE - Hide elements on mobile
   ======================================== */

/* Cacher la loupe de recherche sur mobile */
@media (max-width: 991px) {
  .header-lower .search-toggler {
    display: none !important;
  }
  
  /* Menu hamburger de la même taille que DEVIS et collé au bord gauche */
  .header-style-one .header-lower {
    padding-left: 0 !important;
  }
  
  .header-style-one .header-lower .auto-container {
    padding-left: 0 !important;
  }
  
  .header-style-one .header-lower .outer-box {
    padding-left: 0 !important;
  }
  
  .header-style-one .menu-area {
    padding: 0 !important;
    border-radius: 0px 30px 30px 0px !important;
    width: auto !important;
    max-width: none !important;
    min-width: 120px !important;
    height: 50px !important;
    justify-content: center !important;
    align-items: center !important;
    margin-left: 0 !important;
    position: relative !important;
    left: 0 !important;
  }
  
  .header-style-one .menu-area:before {
    display: none !important;
  }
  
  /* Menu hamburger amélioré */
  .menu-area .mobile-nav-toggler {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
  }
  
  .menu-area .mobile-nav-toggler:hover {
    background: rgba(255, 255, 255, 0.1) !important;
  }
  
  /* Barres du hamburger en blanc - 4 barres plus fines */
  .mobile-nav-toggler .icon-bar {
    background-color: #ffffff !important;
    height: 2px !important;
    width: 24px !important;
    border-radius: 1px !important;
    margin-bottom: 0 !important;
  }
  
  .mobile-nav-toggler .icon-bar:last-child {
    margin-bottom: 0 !important;
  }
}

/* Forcer l'affichage de l'image de fond en responsive */
@media (max-width: 991px) {
  /* Images de fond pour banner-section */
  .banner-section {
    position: relative !important;
    overflow: hidden !important;
  }
  
  .banner-section .bg-layer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 0 !important;
  }
  
  .banner-section .auto-container {
    position: relative !important;
    z-index: 1 !important;
  }
  
  /* Images de fond pour page-title */
  .page-title {
    position: relative !important;
    overflow: hidden !important;
  }
  
  .page-title .image-layer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 0 !important;
  }
  
  .page-title .image-layer img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  
  .page-title .auto-container {
    position: relative !important;
    z-index: 2 !important;
  }
}

/* Cacher le lien "À propos de nous" en haut sur mobile */
@media (max-width: 767px) {
  .header-top .right-info {
    display: none !important;
  }
  
  /* Aligner le WhatsApp à droite sur mobile */
  .header-top .top-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  
  .header-top .left-info {
    display: flex !important;
    justify-content: space-between !important;
    width: 100% !important;
    flex-wrap: wrap !important;
  }
  
  .header-top .left-info li:last-child {
    margin-left: auto !important;
  }
  
  /* Éviter que le texte dépasse à droite sur mobile */
  .banner-section .content-box,
  .banner-style-two .content-box,
  .slide-item .content-box {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }
  
  .banner-section h2,
  .banner-style-two h2,
  .slide-item h2 {
    font-size: 32px !important;
    line-height: 38px !important;
    word-wrap: break-word !important;
  }
  
  .banner-section p,
  .banner-style-two p {
    font-size: 14px !important;
    line-height: 22px !important;
  }
  
  /* Centrer et aligner les icônes des services sur mobile */
  .insurance-form .tab-btns {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    text-align: center !important;
    gap: 15px !important;
  }
  
  .insurance-form .tab-btns li {
    float: none !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 100px !important;
  }
  
  .insurance-form .tab-btns li .icon-box {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 8px auto !important;
  }
  
  .insurance-form .tab-btns li .icon-box img {
    display: block !important;
    margin: 0 auto !important;
  }
  
  .insurance-form .tab-btns li span {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
  }
}

/* Accordion - Affichage/Masquage */
.accordion-box .block .acc-content {
  display: none;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-box .block .acc-content.current {
  display: block;
}

/* Insurance Form Tabs - Couleur texte actif */
.insurance-form .tab-btns .tab-btn.active-btn span {
  color: var(--theme-color) !important;
}

.insurance-form .tab-btns .tab-btn span {
  transition: color 0.3s ease;
}

/* History Section - Amélioration mise en forme */
.history-section .lower-box .history-block {
  padding-left: 0 !important;
  margin-bottom: 50px !important;
}

.history-section .lower-box .history-block .year {
  position: relative !important;
  margin-right: 30px !important;
  flex-shrink: 0 !important;
}

.history-section .lower-box .history-block .year:before {
  display: none !important;
}

.history-section .lower-box .history-block h2 {
  font-size: 24px !important;
  line-height: 32px !important;
  margin-bottom: 15px !important;
  font-weight: 700 !important;
}

.history-section .lower-box .history-block p {
  line-height: 26px !important;
  margin-bottom: 0 !important;
}

/* Contact Form - Select stylé comme les inputs */
.default-form .form-group select.ignore {
  width: 100% !important;
  padding: 15px 50px 15px 20px !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  color: #333 !important;
  background-color: #fff !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 5px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 15px center !important;
  background-size: 20px !important;
  cursor: pointer !important;
  transition: border-color 0.3s ease !important;
}

.default-form .form-group select.ignore:hover {
  border-color: #999 !important;
}

.default-form .form-group select.ignore:focus {
  outline: none !important;
  border-color: var(--theme-color) !important;
  box-shadow: 0 0 0 2px rgba(223, 64, 68, 0.1) !important;
}

/* Insurance Form - Uniformiser tous les inputs */
.insurance-form .form-group input[type="text"],
.insurance-form .form-group input[type="email"],
.insurance-form .form-group input[type="tel"] {
  width: 100% !important;
  padding: 15px 20px !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  color: #333 !important;
  background-color: #fff !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 5px !important;
  box-sizing: border-box !important;
  transition: border-color 0.3s ease !important;
}

.insurance-form .form-group input[type="text"]:hover,
.insurance-form .form-group input[type="email"]:hover,
.insurance-form .form-group input[type="tel"]:hover {
  border-color: #999 !important;
}

.insurance-form .form-group input[type="text"]:focus,
.insurance-form .form-group input[type="email"]:focus,
.insurance-form .form-group input[type="tel"]:focus {
  outline: none !important;
  border-color: var(--theme-color) !important;
  box-shadow: 0 0 0 2px rgba(223, 64, 68, 0.1) !important;
}

.history-section .upper-box .lower-content {
  justify-content: center !important;
  text-align: center !important;
}

.history-section .upper-box .lower-content h3 {
  text-align: center !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}
