@import url('https://fonts.googleapis.com/css2?family=Chivo:wght@400;600&family=Viga&display=swap');

/* ------------------------------------------------------------------ */
/*                           RESET DE BASE                            */
/* ------------------------------------------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


p,
li,
a {
  font-family: "Chivo", sans-serif !important;
  font-weight: 400 !important;
}


/* ------------------------------------------------------------------ */
/*                HEADER : BARRE DU HAUT + MENU + LOGO                */
/* ------------------------------------------------------------------ */
/* ----- RESET RAPIDE (optionnel) ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ----- HEADER GLOBAL ----- */
.header-container {
  width: 100%;
  background-color: #fff;
  font-family: "Chivo", sans-serif;
}

/* ----- TOP-BAR ----- */
.top-bar {
  display: flex;
  flex-direction: column;
  /* On empile row-1, row-2, row-2-desktop */
  padding: 0 20px;
  box-sizing: border-box;
  width: 100%;
}

/* Par défaut, on cache row-1 et row-2 (spécifiques au mobile).
   On affiche row-2-desktop (pour bureau). */
.row-1,
.row-2 {
  display: none;
}

.row-2-desktop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 8px 20px;
  /* éventuellement un peu de padding */
  gap: 20px;
  /* petit espacement entre les deux blocs */
  padding-right: 105px
}

/* S'il faut aligner strictement TOUT sur la même ligne : */
.row-2-desktop .contact-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Ajuste la hauteur du header row si besoin */
.row-2-desktop .site-info-wrapper-desktop {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --- Rangée 1 (mobile) --- */
.row-1 {
  min-height: 65px;
  padding: 5px 0;
  align-items: center;
  justify-content: space-between;
}

.logo-wrapper img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.site-info-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-info {
  color: #087fc3;
  font-size: 1.25rem;
  font-weight: unset;

}

.site-subtitle {
  color: #087fc3;
  font-size: 1rem;
}

/* Hamburger : masqué en desktop */
.menu-toggle {
  font-size: 24px;
  color: #087fc3;
  display: none;
  cursor: pointer;
}

.hamburger-wrapper {
  display: flex;
  align-items: center;
}

/* --- Rangée 2 (mobile) : Tél + Réseaux sociaux --- */
.row-2 {
  align-items: center;
  justify-content: space-between;
  padding: 5px 0 10px;
}

.contact-info {
  display: flex;
  gap: 20px;
}

.contact-info a {
  text-decoration: none;
  font-size: 1rem;
  color: #087fc3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Icônes sociaux */
.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  width: 25px;
  height: 25px;
  background-color: #087fc3;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.social-icons a:hover {
  background-color: #035888;
}

.social-icons i {
  font-size: 0.875rem;
}

/* ----- NAV-BAR (desktop) ----- */
.nav-bar {
  width: 100%;
  min-height: 65px;
  background-color: #035888;
  display: flex;
  align-items: center;
  /* on la masquera en mobile dans le media query */
}

.nav-bar ul {
  display: flex;
  gap: 50px;
  list-style: none;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-bar ul li a {
  font-size: 1.125rem;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 400;
  text-decoration: none;
}

.nav-bar ul li a:hover {
  text-decoration: underline;
}

/* Active page style */
.nav-bar li.active a {
  color: #36b6ff;
  position: relative;
  font-weight: 600;
}

.nav-bar li.active a::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -6px;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 10px solid #36b6ff;
}

/* ----- MENU LATERAL (mobile) ----- */
.side-menu {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100vh;
  background-color: #035888;
  transition: right 0.3s ease;
  z-index: 9999;
  padding: 20px;
  box-sizing: border-box;
}

.side-menu.open {
  right: 0;
}

.close-menu {
  background: none;
  border: none;
  font-size: 26px;
  color: #fff;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 10px;
}

.side-menu ul {
  list-style: none;
  margin-top: 60px;
  padding: 0;
}

.side-menu ul li a {
  display: block;
  margin: 15px 0;
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  text-transform: uppercase;
}

.logo-desktop {
  position: absolute;
  top: 0;
  transform: translateY(0%);
  z-index: 5;
  width: 260;
  height: 130px;
  border-radius:
    0px 0px 10px 10px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
  width: 177px;
  height: 191px;
}

.logo-desktop img {
  height: auto;
  width: 100%;
  object-fit: contain;
}


/* Écran 3840px (4K) et plus */
@media (min-width: 3840px) {
  .logo-desktop {
    width: 200px;
    height: 200px;
  }

  .logo-desktop {
    left: 33%;
  }
}

/* Entre 2560px et 3839px (WQHD / 2K) */
@media (min-width: 2560px) and (max-width: 3839px) {
  .logo-desktop {
    width: 170px;
    height: 170px;
  }

  .logo-desktop {
    left: 23%;
  }
}

/* Entre 1920px et 2559px (Full HD standard à 2K) */
@media (min-width: 1920px) and (max-width: 2559px) {
  .logo-desktop {
    width: 177px;
    height: 191px;
  }

  .logo-desktop {
    left: 15%;
  }

}

/* Entre 1440px et 1919px */
@media (min-width: 1440px) and (max-width: 1919px) {
  .logo-desktop {
    width: 130px;
    height: 130px;
  }

  .logo-desktop {
    left: 10%;
  }
}

/* Entre 1200px et 1439px */
@media (min-width: 1200px) and (max-width: 1439px) {
  .logo-desktop {
    width: 110px;
    height: 110px;
  }

  .logo-desktop {
    left: 1%;
  }
}

/* Entre 901px et 1199px */
@media (min-width: 901px) and (max-width: 1199px) {
  .logo-desktop {
    width: 90px;
    height: 90px;
  }

  .logo-desktop {
    left: 1%;
  }

  .row-2-desktop p,
  .row-2-desktop a,
  .site-info,
  .site-subtitle,
  .social-icons a {
    font-size: 0.7rem;
  }
}


/* pour le logo media query end */
/* ----- MEDIA QUERIES ----- */
/* Sous 900px : on masque la nav desktop et on affiche le hamburger,
   on affiche row-1 & row-2, on cache row-2-desktop */
@media (max-width: 900px) {

  .logo-desktop {
    display: none;
  }

  /* Nav desktop caché */
  .nav-bar {
    display: none;
  }

  /* On affiche l’icône hamburger */
  .menu-toggle {
    display: block;
  }

  /* On montre row-1 & row-2 */
  .row-1 {
    display: flex !important;
  }

  .row-2 {
    display: flex !important;
  }

  /* On masque row-2-desktop */
  .row-2-desktop {
    display: none !important;
  }

  /* Ajuster le logo en mobile si besoin */
  .logo-wrapper img {
    height: 60px;
  }

  /* Ajuster la row-2 en mobile si besoin */
  .top-bar .row-2 {
    justify-content: space-evenly;
    flex-wrap: wrap;
  }

  /* ex. le phone en blanc dans le menu latéral */
  .phone-number {
    color: white;
    text-decoration: none;
  }

  .email {
    color: white;
    text-decoration: none !important;
  }
}

/* État actif : texte bleu poudre et triangle */
.nav-bar li.active a {
  color: #36b6ff;
  /* Bleu poudre pour le texte */
  position: relative;
  /* Pour placer le pseudo-élément */
  font-weight: 600;
}

/* Triangle pointant vers le haut */
.nav-bar li.active a::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -23px;
  /* Ajuste la distance sous le texte */

  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  /* Le côté coloré est le "border-bottom", 
     ce qui crée un triangle pointant vers le haut */
  border-bottom: 10px solid #36b6ff;
}


/* ------------------------------------------------------------------ */
/*                  PAGE D’ACCUEIL : SECTIONS PRINCIPALES             */
/* ------------------------------------------------------------------ */

/* ========== SECTION HERO (image de fond) ========== */
.hero-section {
  width: 100%;
  min-height: 100vh;
  background: url("/assets/images/two-stylish-women-car-salon.jpg") no-repeat center / cover;
  position: relative;
}

@media (max-width: 768px) {
  .hero-section {
    background-size: contain !important;
    background-position: center top !important;
    min-height: 60vh;
  }

  .hero-content {
    margin-top: 175px !important;
    margin-left: 10px !important;
    margin-bottom: 40px !important;
  }
}

/* Conteneur interne (1607px max) */
.hero-inner {
  width: 100%;
  max-width: 1607px;
  margin: 0 auto;
  position: relative;
  padding-top: 140px;
  /* marge pour éviter de coller le contenu en haut */
}

/* Bloc texte du hero */
.hero-content {
  margin-bottom: 80px;
  margin-top: 350px;
  /* Recul pour amener le texte plus bas sur l’image (desktop) */
  margin-left: 50px;
}





/* Titre hero */
.hero-title {
  font-size: 3rem;
  line-height: 1.2;
  color: #ffffff;
  font-weight: 600;
  font-family: "Viga", sans-serif;
}

/* Sous-titre hero */
.hero-desc {
  font-size: 1.5rem;
  color: #ffffff;
  font-weight: 400;
  font-family: "Chivo", sans-serif;
  margin-bottom: 30px;
}

/* Bouton principal */
.btn-voir-details {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: start;
  padding-left: 15px;
  width: 162px;
  height: 50px;
  background-color: #ff6600;
  color: #ffffff;
  border: none;
  cursor: pointer;
  overflow: hidden;
  text-transform: uppercase;
  font-family: "Chivo", sans-serif;
  font-size: 1rem;
  margin-top: 10px;
  /* petit écart si besoin */
  text-decoration: none;
}

.btn-dark-part {
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 50px;
  background-color: #000000;
  opacity: 0.102;
  pointer-events: none;
  transform: skewX(35deg);
  transform-origin: top right;
}

.btn-voir-details .btn-label {
  z-index: 1;
  position: relative;
}

.btn-icon-circle {
  position: absolute;
  right: 10px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  border: 1px solid #ffffff;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.btn-icon-circle i {
  color: #ffffff;
  font-size: 12px;
}

/* === Bannière bleue de recherche === */
.search-banner-bg {
  width: 100%;
  background-color: #115379b5;
  padding: 30px 0;
  margin-top: 180px;
  /* Hauteur fixe supprimée => on laisse le contenu décider */
}


/* Sur mobile, on réduit la marge-top */
@media (max-width: 768px) {
  .search-banner-bg {
    margin-top: 60px;
  }
}

/* Conteneur interne centré */
.search-banner-inner {
  width: 100%;
  max-width: 1607px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Titre */
.search-title {
  font-size: 2.3125rem;
  color: #fff;
  margin-bottom: 20px;
  font-family: "Viga", sans-serif;
  text-transform: uppercase;
  text-align: center;
}

/* Formulaire de recherche */
.search-form {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  /* pour s’adapter aux petits écrans */
  gap: 10px;
  /* espace entre les selects */
  align-items: baseline;
}

.search-form select {
  width: 180px;
  height: 51px;
  border-radius: 11px;
  border: none;
  background-color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  color: #999999;
  font-weight: 400;
  font-family: "Chivo", sans-serif;
  padding-left: 10px;
}

#indexPrice {
  width: 180px;
  height: 51px;
  border-radius: 11px;
  border: none;
  background-color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  color: #999999;
  font-weight: 400;
  font-family: "Chivo", sans-serif;
  padding-left: 10px;
}

@media (max-width: 900px) {
  /* Nav desktop caché */

  .search-form select {
    width: 80%;
  }

  #indexPrice {
    width: 80%;
  }
}

/* ===================== */
/* SECTION “BIENVENUE”   */
/* ===================== */
.home-intro {
  width: 100%;
  padding: 40px 0;
  display: flex;
  justify-content: center;
  background-color: #ebf2f6;
}

.intro-container {
  max-width: 1607px;
  text-align: center;
}

/* Titre principal */
.intro-title {
  font-size: 3.75rem;
  line-height: 1.2;
  text-transform: uppercase;
  color: #010a26;
  font-weight: 600;
  font-family: "Viga", sans-serif;
  margin-bottom: 20px;
  margin-top: 40px;
}

/* Paragraphe */
.intro-text {
  font-size: 1.25rem;
  line-height: 1.4;
  color: #6c7176;
  font-weight: 400;
  font-family: "Chivo", sans-serif;
  margin: 0 auto;
  max-width: 760px;
  margin-top: 40px;
}

/* ========================== */
/* SECTION NOUVEAUX VÉHICULES */
/* ========================== */
.nouveaux-vehicules {
  width: 100%;
  padding: 60px 0;
  text-align: center;
}

.vehicules-title {
  font-size: 1.875rem;
  text-transform: uppercase;
  color: #101010;
  font-weight: 600;
  font-family: "Viga", sans-serif;
  margin-bottom: 80px;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  /* Ajustez selon vos besoins */
  margin: 0 auto;
}

/* Boutons de navigation */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 0 10px;
  z-index: 2;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

/* Grille de véhicules */
.vehicules-grid {
  display: flex;
  gap: 50px;
  flex-wrap: nowrap;
  transition: transform 0.5s ease;
}

.vehicule-card {
  flex: 0 0 auto;
}

/* Pour le responsive : sur mobile, on affiche 1 carte */
@media (max-width: 768px) {
  .vehicules-grid {
    gap: 11px;
  }

  .vehicule-card {
    /* On peut éventuellement définir une largeur à 100% pour qu'une seule carte soit affichée */
    width: 100%;
    margin-right: 0;
  }

  .intro-title{
    font-size: 1.8rem;
  }

  .reviews{
    min-height: 850px!important;
  }
}


/* Carte de véhicule */
.vehicule-card {
  width: 365px;
  min-height: 365px;
  /*400 */
  /* on met min-height pour s’adapter si plus de texte */
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border: 1px solid rgba(178, 181, 183, 0.2);
  box-shadow: 0 0 5px rgba(178, 181, 183, 0.75);
}

.vehicule-card a {
  text-decoration: none;
}

/* Image placeholder */
.vehicule-img {
  width: 357px;
  height: 216px;
  background-color: #333333;
  margin-top: 4px;
}

.vehicule-img img {
  width: 357px;
  height: 216px;
  object-fit: cover;
  /* Pour recadrer l'image et éviter la déformation */
}

/* Bloc texte sous l’image */
.vehicule-desc {
  width: 100%;
  padding: 10px;
  text-align: left;
}

/* Titre du véhicule */
.vehicule-nom {
  font-size: 1.3125rem;
  text-transform: uppercase;
  color: #101010;
  font-weight: 400;
  font-family: "Viga", sans-serif;
  margin-bottom: 10px;
}

/* Détails du véhicule */
.vehicule-details {
  font-size: 1rem;
  line-height: 22px;
  color: #101010;
  font-family: "Chivo", sans-serif;
  margin-bottom: 10px;
}

/* Prix */
.vehicule-price {
  font-size: 1.3125rem;
  color: #FF6600;
  font-family: "Viga", sans-serif;
  margin-bottom: 10px;
}

/* Bouton “Voir inventaire” */
.btn-voir-inventaire {
  margin-top: 100px;
}

/************************************************
  SECTION 1 : Vendre une voiture
  (image gauche, bloc bleu diagonal à droite)
************************************************/
.section-vendre {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 0;
  padding: 0;
}

@media (min-width: 3840px) {

  .vendre-wrapper,
  .recherche-wrapper,
  .financement-wrapper {
    height: 700px;
  }
}


@media (min-width: 2560px) {

  .vendre-wrapper,
  .recherche-wrapper,
  .financement-wrapper {
    height: 550px !important;
  }
}

@media (min-width: 1921px) and (max-width: 2559px) and (min-height: 1200px) {

  .vendre-wrapper,
  .recherche-wrapper,
  .financement-wrapper {
    height: 500px;
  }
}

@media (min-width: 1920px) and (max-width: 1920px) and (min-height: 900px) {

  .vendre-wrapper,
  .recherche-wrapper,
  .financement-wrapper {
    height: 400px;
  }
}


.vendre-wrapper {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  min-height: 300px;
  position: relative;
}

/* Image rouille à gauche */
.col-image-rouille {
  flex: 0 0 56.5%;
  background: url("../images/honda.jpg") no-repeat center / cover;
  position: relative;
  z-index: 1;
  /* Image en dessous */
}

/* Bloc texte bleu à droite, qui mord sur l’image */
.col-text-blue {
  flex: 0 0 calc(55% + 13vw);
  margin-left: -17vw;
  position: relative;
  z-index: 2;
  background-color: #087fc3;
  clip-path: polygon(147px -2px, 100% 0px, 100% 100%, 19.28% 104.87%);
  padding: 30px 40px;
  padding-left: 40px;
  box-sizing: border-box;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 17.5%;
}

@media only screen and (min-width: 1921px) {

  /* Styles appliqués UNIQUEMENT si la fenêtre 
     est précisément de 2560x1440 */
  .col-text-blue {
    clip-path: polygon(188px -2px, 100% 0px, 100% 100%, 19.28% 104.87%);
  }
}


/* Titre, texte */
.col-text-blue h2 {
  font-family: "Viga", sans-serif;
  font-size: 36px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.col-text-blue p {
  font-family: "Chivo", sans-serif;
  font-size: 18px;
  line-height: 26px;
  max-width: 500px;
  margin-bottom: 20px;
}

/* Bouton */
.col-text-blue .btn-voir-details {
  width: 320px;
  height: 50px;
  background-color: #ff6600;
  color: #fff;
  border: none;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 10px;
}

/* RESPONSIVE */
@media (max-width: 1280px) {
  .vendre-wrapper {
    flex-direction: column;
  }

  .col-image-rouille,
  .col-text-blue {
    flex: 0 0 auto;
    width: 100%;
    margin: 0;
    clip-path: none;
    padding: 20px;
  }

  .col-image-rouille {
    height: 300px;
    /* ou auto */
  }

  .col-text-blue h2 {
    font-size: 28px;
  }

  .col-text-blue p {
    font-size: 16px;
  }
}

/************************************************
  SECTION 2 : Rechercher une voiture
  (bloc orange diagonal à gauche, image à droite)
************************************************/
.section-recherche {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 0;
  padding: 0;
}

.recherche-wrapper {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  min-height: 300px;
  position: relative;
}

/* Bloc orange à gauche */
.col-text-orange {
  /* On utilise une petite astuce “chevauchement” :
     un peu plus de 50% + marge négative => diagonal plus prononcée */
  flex: 0 0 calc(55% + 3vw);
  margin-right: -7vw;

  background-color: #ff6600;
  position: relative;
  z-index: 2;

  clip-path: polygon(0px 0px, 90% -7px, 99.98% 100.29%, 0px 100%);
  /* Ajuste (84%) pour l’inclinaison en haut, etc. */

  padding: 40px;
  box-sizing: border-box;
  color: #fff;

  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 15%;
  /* si besoin, un padding-left supplémentaire */
}

/* Titre/texte */
.col-text-orange h2 {
  font-family: "Viga", sans-serif;
  font-size: 36px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.col-text-orange p {
  font-family: "Chivo", sans-serif;
  font-size: 18px;
  line-height: 1.4;
  max-width: 500px;
  margin-bottom: 20px;
}

/* Bouton “Voir inventaire” */
.btn-inventaire {
  width: 200px;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 10px;
}

/* Image à droite */
.col-image-blanche {
  flex: 1;
  position: relative;
  z-index: 1;
  background: url("../images/ksks.png") no-repeat center / cover;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 10% 100%);
  /* Ajuste (10%) pour la diagonale en bas à gauche */
}


/************************************************
  RESPONSIVE <= 768px
************************************************/
@media (max-width: 1280px) {

  /* Section “Vendre” */
  .vendre-wrapper {
    flex-direction: column;
    min-height: auto;
  }

  .col-image-blanche {
    order: 1;
    /* L'image passe en premier dans la colonne */
  }

  .col-text-orange {
    order: 2;
    /* Le texte passe en second */
  }

  .col-image-rouille,
  .col-text-blue {
    flex: 0 0 auto;
    width: 100%;
    clip-path: none;
    padding: 20px;
    margin: 0;
  }

  .col-image-rouille {
    height: 300px;
    /* ou auto */
  }

  .col-text-blue h2 {
    font-size: 28px;
  }

  .col-text-blue p {
    font-size: 16px;
  }

  /* Section “Rechercher” */
  .recherche-wrapper {
    flex-direction: column;
    min-height: auto;
  }

  .col-text-orange,
  .col-image-blanche {
    flex: 0 0 auto;
    width: 100%;
    clip-path: none;
    padding: 20px;
    margin: 0;
  }

  .col-image-blanche {
    height: 300px;
    /* ou auto */
  }

  .col-text-orange h2 {
    font-size: 28px;
  }

  .col-text-orange p {
    font-size: 16px;
  }
}


/* ----- SECTION 3 : “Financement” ----- */
.section-financement {
  width: 100%;
  overflow: hidden;
  /* pour éviter la barre de scroll horizontale */
  position: relative;
  margin: 0 auto;
  padding: 0;
}

/* Conteneur Flex qui aligne image & texte côte à côte */
.financement-wrapper {
  display: flex;
  flex-wrap: nowrap;
  /* on veut que ça reste sur une ligne en desktop */
  width: 100%;
  min-height: 350px;
  position: relative;
  /* si on veut gérer des z-index */
}


/* ---- Colonne image ---- */
.image-tirelire {
  /* On fixe une largeur, ex. 50%. */
  flex: 0 0 40%;

  /* On la met en position: relative pour jouer avec z-index si besoin */
  position: relative;
  z-index: 1;

  /* Soit tu mets une vraie <img> dedans, 
     soit tu utilises un background: */
  background: url("../images/man-handling-money-financial-duties.jpg") no-repeat center / cover;
}

/* ---- Colonne texte ---- */
.text-darkblue {
  /* Largeur flexible (par ex. 50% + 3vw) */
  flex: 0 0 calc(70% + 9vw);

  /* On applique un décalage négatif pour venir 
     recouvrir ~3vw de l’image */
  margin-left: -9vw;

  /* On veut par-dessus l’image */
  position: relative;
  z-index: 2;

  /* Couleur de fond + clip‐path diagonal */
  background-color: #03223c;
  clip-path: polygon(0px 0px, 100% 0px, 100% 100%, 5.69% 100%);

  /* De la marge interne pour le texte */
  padding: 40px;
  box-sizing: border-box;
  color: #fff;

  display: flex;
  flex-direction: column;
  justify-content: center;
  /* centre verticalement si voulu */
  padding-left: 9%;
}

/* Titre, sous-titre, etc. */
.title-financement {
  font-size: 45px;
  line-height: 48px;
  margin-bottom: 20px;
  font-family: "Viga", sans-serif;
  color: #fff;
}

/* Le reste de tes styles existants : */
.section-financement h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #fff;
  font-family: "Viga", sans-serif;
  font-weight: 400;
}

.desc-financement {
  max-width: 645;
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 20px;
}

.container-btn-contact {
  display: flex;
  justify-content: flex-end;
  max-width: 620px;
}

/* ------ Bouton etc. ------ */
.btn-estimation {
  width: 220px;
  height: 50px;
  background-color: #ff6600;
  border: none;
  color: #fff;
  text-transform: uppercase;
  cursor: pointer;
  font-family: "Chivo", sans-serif;
  font-size: 16px;
  position: relative;
  /* si tu utilises le pseudo-élément diagonal */
}

/* ------ Mobile / responsive <= 768px ------ */
@media (max-width: 1280px) {
  .financement-wrapper {
    flex-direction: column;
    /* l’image passera au-dessus, le texte en-dessous */
    min-height: auto;
  }

  /* Désactive le clip-path si tu veux un affichage plus simple en mobile : */
  .text-darkblue {
    clip-path: none;
    padding: 20px;
    margin-top: 0;
    margin-left: unset;
  }

  /* Ajuste la hauteur de l'image si besoin */
  .image-tirelire {
    flex: 0 0 auto;
    width: 100%;
    height: 250px;
    /* ou auto */
    clip-path: none;
    /* si tu avais un clip sur l'image */
  }

  .title-financement {
    font-size: 28px;
  }

  .desc-financement {
    font-size: 16px;
  }

  .container-btn-contact {
    justify-content: flex-start !important;
  }
}

@media (min-width: 900px) and (max-width: 1280px) {

  .col-image-rouille,
  .col-image-blanche,
  .image-tirelire {
    height: 450px;
  }

}





/* ------------------------------------------------------------------ */
/*                           GOOGLE REVIEWS                           */
/* ------------------------------------------------------------------ */

@import url('https://fonts.googleapis.com/css2?family=Viga&display=swap');


.elfsight-app-162fcb22-64b8-4143-ae42-cc3b6a618404 {
  max-height: 350px;
  height: 800px;
}

.reviews {
  padding: 40px;
  background-color: #f4f9fc;
  min-height: 671px;
}

.title {
  font-size: 53px;
  line-height: 43px;
  text-transform: uppercase;
  color: #8c8e8f;
  font-weight: 600;
  font-family: "Viga", sans-serif;
  text-align: center;
  margin-bottom: 50px;
  margin-top: 50px;
}

.reviews-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1171;
  margin: 0 auto 30px auto;
  padding: 20px;
  border-radius: 8px;
  background-color: #e9ecef;
  flex-wrap: wrap;
  /* pour mobile */
  gap: 20px;
  /* espace quand ça wrap */
}

.google-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
}

.stars {
  color: #f5c518;
}

.review-btn {
  background-color: #db2828;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
}

.reviews-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 58px;
  max-width: 1607px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.review-card {
  flex: 0 0 250px;
  padding: 20px;
  background-color: #f3f5f8;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-size: 14px;
}

.user-name {
  font-weight: bold;
  margin-bottom: 5px;
}

.review-date {
  color: #888;
  margin-bottom: 10px;
}

.review-text {
  margin-bottom: 10px;
}

.read-more {
  color: #888;
  text-decoration: none;
  font-size: 13px;
}

.published-on {
  margin-top: 15px;
  font-size: 12px;
  color: #666;
}

.google-logo-small {
  color: #4285f4;
  font-weight: bold;
}

/* ------------------------------------------------------------------ */
/*                            FOOTER                                 */
/* ------------------------------------------------------------------ */

.footer {
  position: relative;
  /* très important pour positionner ::before correctement */
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%239C92AC' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
  padding: 40px 0 0;
  overflow: hidden;
  /* Empêche tout débordement potentiel */
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at top, rgba(0, 0, 0, 0.2), transparent 70%);
  pointer-events: none;
  z-index: 1;
}


.footer-section.about {
  display: flex;
  flex-direction: column;
}

.footer-section.about .logo {
  width: 100%;
  height: 120px;
  /* Ajuste selon tes préférences */
  object-fit: cover;
  /* Important pour l'effet 'cover' */
  margin-bottom: 15px;
}

.footer-container {
  max-width: 1600px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-section h4 {
  text-transform: uppercase;
  margin-bottom: 15px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  line-height: 1.8;
  margin-top: 40px;
}

.footer-section ul li {
  display: flex;
  justify-content: space-between;
}


.footer-section a {
  color: #3f4041;
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  font-family: "Viga, sans-serif";
}

.footer-section a:hover {
  text-decoration: underline;

}

.logo {
  max-width: 240px;
  margin-bottom: 15px;
}

.description {
  font-weight: 400;
  margin-bottom: 10px;
}

.description-text {
  font-size: 13px;
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  font-size: 12px;
  padding-top: 20px;
  border-top: 2px solid #0a9bdc;
  margin-top: 10px;
  color: #fff;
  height: 63px;
  background-color: #087fc3;
}

.footer-bottom p {
  margin: 5px 0;
  color: #fdfafa;
  font-weight: 400;
  font-size: 15px;
  text-align: center;
}

.social a {
  font-size: 22px;
  margin-right: 10px;
}

.footer-section.social {
  max-width: 130px;
  /* Ajuste selon ton besoin */
}

.footer-section.social .social-icons {
  display: flex;
  gap: 12px;
  font-size: 18px;
  /* Ajuste selon ta préférence */
}

.footer-section.social .social-icons a {
  color: #333;
  /* Couleur adaptée à ton footer */
  transition: color 0.3s;
}

.footer-section.social .social-icons a:hover {
  color: #0a9bdc;
  /* Couleur de hover adaptée */
}


/* ------ Responsivité du footer si besoin ------ */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    text-align: center;

  }

  .footer-section>ul {
    width: 100%;
  }

  .footer-section>ul>li {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .footer-section {
    min-width: auto;
    width: 100%;
  }

  .footer-section.about .logo {
    margin-bottom: 10px;
    align-self: center;
  }


  .googlemappin {
    justify-content: center;
  }

  .footer-section.social {
    max-width: 100%;
    /* Ajuste selon ton besoin */
  }

}



/* *********PAGE CONTACT*********** */

/* PAGE CONTACT */

/* Bannière */
.contact-section-banner {
  width: 100%;
  height: 390px;
  background: url("/assets/images/entete-contact2.jpg") no-repeat center center / cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  object-fit: contain;
  /* Ajoutez cette ligne */
}

@media only screen and (max-width: 767px) {
  .contact-section-banner {
    height: 240px;
  }
}

.contact-section-banner h1 {
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
  margin: 0;
}



/* //section white space */
.white-section {
  background-color: #ffffff;
  /* Fond blanc */
  height: 100px;
  /* Hauteur fixe */
  display: flex;
  /* Pour centrer le contenu si besoin */
  align-items: center;
  justify-content: center;
  margin: 0;
  /* Ajuste la marge selon ta mise en page */
  padding: 0;
  /* Ajuste le padding si nécessaire */
}

.breadcrumb-wrapper {
  /* Optionnel : si tu veux une largeur max et centrer horizontalement */
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.breadcrumb {
  list-style: none;
  display: flex;
  gap: 5px;
  margin: 0;
  padding: 0;
}

.breadcrumb li {
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #666;
}

.breadcrumb li a {
  text-decoration: none;
  color: #6c7176;
}

.breadcrumb li a:hover {
  text-decoration: underline;
}

.breadcrumb-title {
  display: inline-flex;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.breadcrumb-title:hover {
  text-decoration: underline;
}


/* Section Formulaire */
.contact-form-section {
  background-color: #ed621d;
  padding: 40px 20px;
  text-align: center;
  color: white;
}

.contact-form-section h2 {
  margin-bottom: 30px;
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
}

.contact-form-section form {
  max-width: 1174px;
  /* unité ajoutée */
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

/* Champs ligne 1 */
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

/* Wrapper pour les faux placeholders */
.custom-placeholder-wrapper {
  position: relative;
  flex: 1;
  min-width: 250px;
  margin-bottom: 20px;
}

/* Inputs et textarea */
.custom-placeholder-wrapper input,
.custom-placeholder-wrapper textarea {
  width: 100%;
  padding: 20px 12px 10px;
  font-size: 1rem;
  border: none;
  border-radius: 2px;
  box-sizing: border-box;
  background: white;
  color: black;
}

textarea {
  resize: vertical;
}

/* Faux placeholder */
.custom-placeholder {
  position: absolute;
  top: 8px;
  left: 12px;
  font-size: 0.95rem;
  color: #777;
  pointer-events: none;
  transition: 0.2s ease;
}

.custom-placeholder .star {
  color: red;
}

/* Cacher le faux placeholder quand le champ est rempli ou focus */
.custom-placeholder-wrapper input:focus+.custom-placeholder,
.custom-placeholder-wrapper input:not(:placeholder-shown)+.custom-placeholder,
.custom-placeholder-wrapper textarea:focus+.custom-placeholder,
.custom-placeholder-wrapper textarea:not(:placeholder-shown)+.custom-placeholder {
  opacity: unset;
  transform: translateY(-5px);
}

/* Bouton */
button[type="submit"] {
  background-color: #004a80;
  color: white;
  padding: 10px 20px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  border-radius: 2px;
}

/* Footer formulaire */
.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-footer small {
  color: white;
  opacity: 0.8;
}

/* Honeypots */
.honeypots {
  display: none;
}

/* Taille des inputs de la première ligne */
.first-row input {
  height: 100px;
}



/* Section de coordonnées, téléphone, horaire */
.contact-section {
  width: 100%;
  background-color: #035888;
}

.section-part {
  height: 100%;
  margin-top: 60px;
}

.couriel {
  margin-top: 60px;
}

/* Section contact avec hauteur fixe sur desktop et responsive sur mobile */
.contact-section {
  width: 100%;
  background-color: #035888;
  padding: 40px 20px;
}

/* Contenu centré avec dimensions fixes sur desktop */
.contact-inner {
  max-width: 1107px;
  width: 100%;
  height: 288px;
  /* Hauteur fixée pour desktop */
  margin: 0 auto;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  /* Permet aux éléments de se réorganiser sur mobile */
  gap: 20px;
}

.section-part {
  margin-top: 60px;
  /* Sur desktop, on garde les largeurs définies ci-dessous */
}

.contact-coord {
  width: 275px;
  font-size: 16px;
  line-height: 24px;
  color: #ffffff;
  font-weight: 400;
  font-family: "Chivo", sans-serif;
}

.contact-tel {
  width: 222px;
  font-size: 16px;
  line-height: 24px;
  color: #ffffff;
  font-family: "Breezi Icon Set", sans-serif;
}

.contact-horaire {
  width: 269px;
  font-size: 16px;
  line-height: 24px;
  color: #ffffff;
  font-weight: 400;
  font-family: "Chivo", sans-serif;
}

.contact-inner h3 {
  font-size: 18px;
  line-height: 24px;
  text-transform: uppercase;
  color: #36b6ff;
  font-weight: 600;
  font-family: "Chivo", sans-serif;
  margin-bottom: 8px;
}

.googleMapAndPin {
  display: flex;
  margin-top: 20px;
}

.contact-inner a {
  text-decoration: none;
  color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-inner {
    flex-direction: column;
    height: auto;
    /* Laisser le conteneur s'adapter à son contenu */
    padding: 20px 0;
  }

  .section-part {
    width: 100%;
    margin-top: 20px;
    text-align: center;
  }

  .googleMapAndPin {
    display: block;
  }
}



/* Section map */
.map-section {
  width: 100%;
  background-color: #f5f5f5;
}

.map-section,
.map-section-inner,
.map-iframe {
  width: 100%;
}

.map-iframe {
  height: 500px;
  border: 0;
}

/* Responsivité */
@media (max-width: 768px) {
  .contact-inner {
    flex-direction: column;
    align-items: center;
  }

  .form-row {
    flex-direction: column;
  }
}


/*************** POLITIQUE DE CONFIDENTIALITÉ ***************/

/* Bannière */
.politique-section-banner {
  width: 100%;
  height: 390px;
  background: url("/assets/images/confiden.jpg") no-repeat center center / cover;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  position: relative;
  /* nécessaire pour le ::before */
  z-index: 1;
  overflow: hidden;
}

.politique-section-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(25 64 195 / 46%);
  z-index: 0;
}


.politique-section-banner p {
  position: relative;
  /* pour s'afficher au-dessus du ::before */
  z-index: 1;
  color: white;
}

.politique-section-banner h1 {
  z-index: 1;
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
  margin: 0;
  position: relative;
  /* pour s'afficher au-dessus du ::before */

}


.politique-white-section {
  background: #fff;
  padding: 40px 20px;
}

.politique-white-section .content p {
  margin-bottom: 30px;
}

.politique-white-section ul li {
  margin-bottom: 15px;
}

.breadcrumb-wrapper {
  margin-bottom: 30px;
}





/************** MERCI SECTION  ********************/

.merci-section-banner {
  width: 100%;
  height: 360px;
  background: linear-gradient(rgba(0, 80, 160, 0.6), rgba(0, 80, 160, 0.6)), url("/assets/images/contact-banner.jpg") no-repeat center center / cover;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.merci-section-banner h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.merci-section-banner p {
  font-size: 1.2rem;
  margin-top: 10px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.merci-content {
  padding: 60px 20px;
  background: #f9f9f9;
}

.merci-content .wrapper {
  max-width: 700px;
  margin: auto;
  text-align: center;
}

.merci-content h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 15px;
}

.merci-content p {
  font-size: 16px;
  color: #555;
  margin-bottom: 25px;
}

.merci-content .btn {
  display: inline-block;
  background-color: #0057A1;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  transition: background-color 0.3s;
}

.merci-content .btn:hover {
  background-color: #003f7a;
}


.inventaire h1 {
  text-align: center;
}



/* INVENTAIRE INVENTAIRE 

 

    * {
        box-sizing: border-box;
    }

    
    /* ---------- Layout wrapper ---------- */

:root {
  --blue: #005b8a;
  --light-blue: #edf4f8;
  --red: #ffcc00;
  --orange: #ff0000;
  --green: #14b214;
  --text: #333;
}


.inventaire-section-banner {
  width: 100%;
  height: 390px;
  background: url("/assets/images/Photo-Header-Inventaire-AFA-2025.jpg") no-repeat center center / cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  object-fit: contain;

}



@media only screen and (max-width: 767px) {
  .inventaire-section-banner {
    height: 240px;
  }
}

.inventaire-section-banner h2 {
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
  margin: 0;
  font-weight: 400;
  font-family: "Viga";
}

.inventaire-sub-title{
justify-content: center;
  display: flex;
}

.inventaire-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 1.5rem;
}

.inventaire-aside {
  width: 300px;
  padding: 1.5rem 1.25rem 2rem;
  background: var(--light-blue);
  border-radius: 4px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

.inventaire-aside h2 {
  margin: -1.5rem -1.25rem 1.5rem;
  padding: 0.75rem 1rem;
  text-align: center;
  background: var(--blue);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.inventaire-aside-title {
  margin: -1.5rem -1.25rem 1.5rem;
  padding: 0.75rem 1rem;
  text-align: center;
  background: var(--blue);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.inventaire-main {
  flex: 1;
}

/* ---------- Filter form ---------- */
.inventaire-form-group {
  margin-bottom: 1rem;
}

.inventaire-form-group select,
.inventaire-form-group select option {
  font-size: 18px;
  line-height: 18px;
  color: #747474;
  font-weight: 400;
  font-family: "Viga";
}

.inventaire-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.inventaire-input,
.inventaire-select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  appearance: none;
  background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23333'%3e%3cpolygon points='0,0 20,0 10,10'/%3e%3c/svg%3e") no-repeat right 0.75rem center/10px;
}

/* ---------- Price slider ---------- */
.inventaire-price-container {
  margin-bottom: 1rem;
}

/* Ligne avec label + slider */
.inventaire-range-label-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.inventaire-label {
  min-width: 50px;
  font-weight: bold;
  margin: 0;
}

.inventaire-range-wrapper {
  position: relative;
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
}

.inventaire-range-wrapper input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: #ddd;
  outline: none;
  /* position: absolute; */
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.inventaire-range-wrapper input[type="range"]::-webkit-slider-thumb {
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
  height: 20px;
  width: 20px;
  background: var(--orange);
  border-radius: 50%;
  border: 3px solid #ffffff;
  cursor: pointer;
}

.inventaire-range-wrapper input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  height: 20px;
  width: 20px;
  background: var(--orange);
  border-radius: 50%;
  border: 3px solid #ffffff;
  cursor: pointer;
}

.inventaire-minmax-inputs {
  display: flex;
  gap: 0.5rem;
}

.inventaire-input {
  flex: 1;
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-align: center;
}

/* -----------------test-----------*/



/* ---------------------fin test-------- */
/* ---------- Buttons ---------- */
.inventaire-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.75rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.inventaire-btn-reset {
  background: var(--orange);
  color: #fff;
  margin-top: 20px;
}

/* ---------- Top bar ---------- */
.inventaire-top-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 15px;
  border-bottom: 1px solid #e0e0e0;
  background-color: #f5f7fa;
  flex-wrap: nowrap;
}

.inventaire-grow,
.inventaire-inside-bar>p,
.inventaire-inside-bar>option {
  font-size: 15px;
  color: #6c7176;
  font-weight: 400;
  font-family: "Chivo";
}

.inventaire-top-bar * {
  font-size: 0.9rem;
}

.inventaire-grow {
  flex: 1 1 auto;
}

.inventaire-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.inventaire-select-bar {
  padding: 0.4rem 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9rem;
}

.inventaire-view-toggle {
  display: flex;
  gap: 0.25rem;
}

.inventaire-view-toggle button {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
}

.inventaire-view-toggle button.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.inventaire-inside-bar {
  display: flex;
  align-items: center;
}

.inventaire-bar-select {
  width: 85px;
  margin-left: 10px;
  margin-right: 10px;
}

.inventaire-bar-last {
  width: 100px;
  text-align: end;
  margin-right: 15px;
  text-align: left;
}



.grid-view-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border: 1px solid #3333336b;
  cursor: pointer;
  background-color: transparent;
  padding: 4px;
  /* Adjusted padding to fit the grid */
  box-sizing: border-box;
}

.grid-view-button .grid-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2x2 grid */
  grid-template-rows: repeat(2, 1fr);
  width: 15px;
  height: 15px;
  gap: 3px;
}

.grid-view-button .grid-item {
  width: 100%;
  /* Fill the grid cell */
  height: 100%;
  background-color: #33333391;
  /* Darker gray to match the image */
}


@media (max-width: 768px) {

  .inventaire-aside h2 {
    margin: 0;
  }

  .inventaire-top-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 10px;
  }

  .inventaire-top-bar>* {
    width: 100%;
  }

  /* Compte + vue */
  .inventaire-grow {
    order: 1;
    text-align: center;
  }

  /* Groupe “Affichez… par page” et “Trier par” */
  .inventaire-inside-bar {
    order: 2;
    justify-content: space-between;
    padding: 0.5rem 0;
  }

  /* On peut réduire la largeur du select */
  .inventaire-bar-select,
  .inventaire-select-bar {
    width: 48%;
    margin: 0;
  }

  .inventaire-bar-last {
    display: none;
    /* plus besoin du “par page” / “Trier par” en plus */
  }

  /* Toggle list / photo : centré */
  .inventaire-view-toggle {
    order: 3;
    justify-content: center;
    padding-top: 0.5rem;
  }
}

@media (max-width: 780px) {
  /* Sur très petit écran, empile encore plus étroit */

  .inventaire-select-bar {
    width: 100%;
    margin: 0.25rem 0;
  }

  .inventaire-bar-select {
    width: 80%;
    margin: 0.25rem 0;
    height: 25px;
  }
}

/* ---------- Cards ---------- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.pagination button {
  padding: 8px 12px;
  border: 1px solid #ccc;
  background-color: #fff;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.pagination button:hover:not(:disabled) {
  background-color: #f0f0f0;
}

.pagination button.active {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}

.pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.inventaire-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.inventaire-card {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
  padding: 8px 8px;
  height: 200px;
}


.inventaire-cards.photo-view .inventaire-card {
  /* tu peux tout “unset” d’un coup : */
  all: unset;

  /* et si tu veux garder un minimum de flow : */
  display: block;
  /* ou inline-block selon ton besoin */
  width: auto;
  /* redonne une largeur automatique */
  height: auto;
  /* idem pour la hauteur */
  margin: 0;
  /* réinitialisation des marges */
}

.photo-view .inventaire-card-body,
.photo-view .inventaire-payment,
.photo-view .inventaire-meta {
  display: none;
}



.photo-card img {
  width: 412px;
}


.inventaire-thumb {
  position: relative;
}

.inventaire-thumb img {

  object-fit: cover;
  border-radius: 2px;
}

.inventaire-card img {
  width: 255px;
  height: 186px;
  /* object-fit: cover; */
  border-radius: 2px;
  font-size: 0;
}

.inventaire-cards.list-view .inventaire-card img {
  width: 255px;
  height: 186px;
  /* object-fit: cover; */
}

/* Mode Photo */
.inventaire-cards.photo-view .inventaire-card img {
  width: 412px;
  height: auto;
  object-fit: contain;
}



.inventaire-card-body {
  position: relative;
  flex: 1;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.inventaire-badge-strip {
  position: absolute;
  top: 60px;
  left: -10px;
  width: 150px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .63rem;
  font-weight: 700;
  text-transform: uppercase;
  transform: translate(-18px, 11px) rotate(-45deg);
  transform-origin: left top;
}

.inventaire-badge-strip.orange {
  background: var(--orange);
  clip-path: polygon(20.1% -5.89%, 68.82% -37.04%, 88.92% 93.19%, -2.42% 146.34%);
}

.inventaire-badge-strip.red {
  background: var(--green);
  clip-path: polygon(20.1% -5.89%, 68.82% -37.04%, 88.92% 93.19%, -2.42% 146.34%);
}

.inventaire-badge-strip.green {
  background: var(--red);
  clip-path: polygon(20.1% -5.89%, 68.82% -37.04%, 88.92% 93.19%, -2.42% 146.34%);
  color: black
}

.inventaire-title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: #000;
  line-height: 1.1;
  cursor: pointer;
}

.inventaire-price {
  font-size: 2.9rem;
  color: var(--orange);
  letter-spacing: -1px;
  color: #eb5f1a;
  font-weight: 400;
  font-family: "Viga";
}

.inventaire-h6 {
  color: #747474;
  margin-top: 20px;
  letter-spacing: 0.5px;
  margin-left: 4px;
}

.inventaire-meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
  padding: 0 5;
  font-weight: bold;
  color: #6c7176;
  font-family: "Font Awesome5 Free";
}

/* ─── 2.1  @font-face : charge les trois .otf placés dans /assets/font/ ─── */
@font-face {
  font-family: "FA Brands";
  src: url("/assets/font/Font Awesome 5 Brands-Regular-400.otf") format("opentype");
  font-weight: 400;
}

@font-face {
  font-family: "FA Regular";
  src: url("/assets/font/Font Awesome 5 Free-Regular-400.otf") format("opentype");
  font-weight: 400;
}

@font-face {
  font-family: "FA Solid";
  src: url("/assets/font/Font Awesome 5 Free-Solid-900.otf") format("opentype");
  font-weight: 900;
}

/* ─── 2.2  Style générique des blocs texte + séparateur ─── */
.inventaire-meta {
  font-size: .9rem;
}

/* ajuste la taille globale */
.icon-text {
  display: inline-flex;
  gap: .35rem;
  align-items: center;
}

.separator {
  margin: 0 .4rem;
  color: #bbb;
}

/* ─── 2.3  Injecte l’icône Font-Awesome devant chaque champ ─── */
#route::before {
  font-family: "FA Solid";
  font-weight: 900;
  content: "\f018";
  /*   = fa-road */
}

#essence::before {
  font-family: "FA Solid";
  font-weight: 900;
  content: "\f52f";
  /*   = fa-gas-pump */
}

#gear::before {
  font-family: "FA Solid";
  font-weight: 900;
  content: "\f013";
  /*   = fa-cog (boîte de vitesses) */
}





.inventaire-payment {
  width: 125px;
  padding: 0 10px 0 0;
}

.inventaire-payment-label {
  font-size: 0.7rem;
  text-align: left;
  color: #747474;
  line-height: 1.15;
  margin: 10px 0 4px;
}

.inventaire-payment-amount {
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  margin: 0;
  color: #747474;
}

.inventaire-payment-period {
  margin: -2px 0 6px;
  font-size: 1rem;
  color: #747474;
}

.inventaire-payment-rate {
  font-size: 0.7rem;
  color: #747474;
  margin-bottom: 25px;
}

.inventaire-payment a {
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--blue);
  width: 250px !important;
  color: #747474;
  display: block;
}

hr {
  width: 118px;
  color: #7474744d;
  margin-bottom: 5px;
}

/* ---------- Responsiveness ---------- */
@media (max-width: 900px) {
  .inventaire-wrapper {
    flex-direction: column;
  }

  .inventaire-aside {
    width: 100%;
  }
}


@media only screen and (device-width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait) {

  /* carte en photo-view simplifiée */
  .inventaire-card {
    display: block;
    height: 730px;
  }

  /* images full‑width en list‑view ou générique */
  .inventaire-cards.list-view .inventaire-card img,
  .inventaire-card img {
    width: 100%;
    height: auto;
  }

  .inventaire-card-body {
    padding: 10px;
  }

  /* container photo-view fixe */
  .inventaire-cards.photo-view {
    width: 400px !important;
    height: auto !important;
  }

  .inventaire-card img {
    width: 380px !important;
    height: auto !important;
  }

  .photo-card img {
    width: 400px !important;
  }

  #pagination {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    /* permet le scroll horizontal */
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem;
    white-space: nowrap;
    /* empêche les boutons de se wrap */
  }

  #pagination button {
    flex: 0 0 auto;
    /* empêche les boutons de se rétrécir */
    font-size: 0.8rem;
    padding: 6px 10px;
  }
}


/* ───────────────────────────────────────────────────────────── */
/* 2. Galaxy S20 Portrait (≈ 360×800 @3×)                       */
/* ───────────────────────────────────────────────────────────── */
@media only screen and (device-width: 360px) and (device-height: 800px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait) {

  .inventaire-card {
    display: block;
    height: 680px;
  }

  .inventaire-cards.list-view .inventaire-card img,
  .inventaire-card img {
    width: 100%;
    height: auto;
  }

  .inventaire-card-body {
    padding: 8px;
  }

  .inventaire-cards.photo-view .inventaire-card {
    width: 360px !important;
    height: auto !important;
  }

  .inventaire-card img {
    width: 340px !important;
  }

  .photo-card img {
    width: 360px !important;
  }

  #pagination {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    /* permet le scroll horizontal */
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem;
    white-space: nowrap;
    /* empêche les boutons de se wrap */
  }

  #pagination button {
    flex: 0 0 auto;
    /* empêche les boutons de se rétrécir */
    font-size: 0.8rem;
    padding: 6px 10px;
  }
}


/* ───────────────────────────────────────────────────────────── */
/* 3. Fallback petits écrans < 480px                           */
/* ───────────────────────────────────────────────────────────── */
@media (max-width: 780px) {
  .inventaire-card {
    display: block;
    height: auto;
    /* on laisse la hauteur s’adapter */
  }

  .inventaire-cards.list-view .inventaire-card img,
  .inventaire-card img {
    width: 100%;
    height: auto;
  }

  .inventaire-card-body {
    padding: 10px;
  }

  .inventaire-cards.photo-view .inventaire-card {
    width: 100% !important;
    height: auto !important;
  }

  .inventaire-card img {
    width: 100% !important;
    height: auto !important;
  }

  .photo-card img {
    width: 100% !important;
  }

  .inventaire-payment {
    display: none
  }

  #gear,
  #separator {
    display: none
  }

  #pagination {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    /* permet le scroll horizontal */
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem;
    white-space: nowrap;
    /* empêche les boutons de se wrap */
  }

  #pagination button {
    flex: 0 0 auto;
    /* empêche les boutons de se rétrécir */
    font-size: 0.8rem;
    padding: 6px 10px;
  }
}




/* -------------------------DESCRIPTION VEHICULE --------------*/
body.description_v h1,
body.description_v h2,
body.description_v h3,
body.description_v h4,
body.description_v h5,
body.description_v h6,
body.description_v p,
body.description_v span,
body.description_v a,
body.description_v li,
body.description_v ul,
body.description_v ol,
body.description_v div {
  font-family: "Chivo", sans-serif !important;
}



.description-section-banner {
  width: 100%;
  height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.description-section-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(3, 88, 136, 0.8), rgba(3, 88, 136, 0) 30%, rgba(3, 88, 136, 0) 70%, rgba(3, 88, 136, 0.8));
  z-index: 1;
  pointer-events: none;
}

.description-section-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.description-section-banner h1 {
  position: relative;
  z-index: 2;
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
  margin: 0;
  text-align: center;
  padding: 0 10px;
}

@media only screen and (max-width: 767px) {
  .description-section-banner {
    height: 240px;
  }

  .description-section-banner h1 {
    font-size: 1.8rem;
  }
}



.main-content {
  max-width: 1160px;
  margin-right: auto;
  margin-left: auto;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px;
}

/* 1. Barre d’actions */

/* === 1. Barre d’actions === */
/* === 1. Barre d’actions === */
.description_v_actions-bar {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
  background: #e6f0fa;
  padding: 10px;
  border-radius: 5px;
}

/* STOCK# */
.description_v_stock-number {
  font-weight: 700;
  font-size: 1rem;
  color: #333;
  display: flex;
  margin-bottom: auto;
}

/* === 1. Barre d’actions === */
/* === 1. Barre d’actions === */
.description_v_actions-bar {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
  background: #e6f0fa;
  padding: 10px;
  border-radius: 5px;
}



/* La grille de boutons (2 colonnes, 2 lignes) */
.description_v_actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: min-content;
  gap: 0.5rem;
}

/* Style commun à tous les boutons */
.description_v_btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Répartit l'espace entre icône et texte */
  width: 100%;
  /* Occupe toute la largeur disponible */
  padding: 0.6rem;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  transition: background-color 0.3s;
  flex-grow: 1;
  /* S'assure que le bouton remplit l'espace */
  min-height: 2.5rem;
  /* Hauteur minimale pour uniformité */
}

/* Conteneur pour l'icône */
.description_v_btn .blue_dark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  /* Augmenté pour combler l'espace */
  height: 100%;
  /* Hauteur pleine du bouton */
  background-color: #003087;
  border-radius: 4px 0 0 4px;
}

.description_v_btn .blue_dark i {
  font-size: 1.2rem;
  color: #fff;
}

/* Conteneur pour le texte et les éléments supplémentaires */
.description_v_btn .text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Répartit l'espace dans le texte */
  flex-grow: 1;
  /* Remplit l'espace restant */
  padding: 0.4rem 0.8rem;
  background-color: #2079eee0;
  color: white;
  font-weight: 600;
  white-space: nowrap;
  /* Empêche le texte de casser */
}

/* Conteneur pour les icônes de partage (Facebook, Instagram) */
.description_v_btn .text div {
  display: flex;
  gap: 0.3rem;
  margin-left: 0.5rem;
}

.description_v_btn .text div i {
  font-size: 1rem;
  color: white;
}

/* Logo Carfax après le texte */
.description_v_carfax-logo {
  display: inline-block;
  margin-left: 0.5rem;
  height: 1rem;
  width: auto;
  vertical-align: middle;
  /* Alignement vertical avec le texte */
}

/* Effet au survol */
.description_v_btn:hover .blue_dark {
  background-color: #0051ba;
}

.description_v_btn:hover .text {
  background-color: #1a64c4;
  /* Variation au survol */
}


.description_space-social-faceb {
  margin-right: 20px;
}

/* Effet au survol */




.nav {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 10px;
}

.nav a {
  color: #003087;
  text-decoration: none;
  margin-right: 10px;
}

.nav .social {
  display: flex;
  gap: 10px;
}

.nav .social div {
  width: 20px;
  height: 20px;
  background: #ccc;
}

.main-content {
  display: flex;
  gap: 20px;
}

.content {
  flex: 3;
}

.sidebar {
  flex: 1;
  background: #fff;
}

/* Conteneur global */
.vehicle-detail {
  max-width: 900px;
  margin: 0 auto;
}

/* Image principale */
.vehicle-image {
  height: 520px;
  background: #000;
  margin-bottom: 10px;
  overflow: hidden;
}

.vehicle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.thumbnails-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* 2. Flèches : largeur fixe, fond gris, centrées verticalement, par‑dessus les vignettes */
.thumb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 80px;
  background: #ccc;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  opacity: 0.8;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
}

#thumbPrev {
  left: 0;
  color: white;
  font-size: x-large;
  font-weight: bold;
  background: #555;
}

#thumbNext {
  right: 0;
  color: white;
  font-size: x-large;
  font-weight: bold;
  background: #555;
}

.thumb-nav:disabled {
  opacity: 0.7;
  cursor: default;
}


/* Conteneur vignettes */
.thumbnails {
  display: flex;
  overflow: hidden;
  gap: 10px;
  flex: 1;
}

/* Chaque vignette */
.thumbnail-img {
  flex: 0 0 165px;
  height: 120px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s;
}

.thumbnail-img:hover {
  border-color: #009FFF;
}

.description_v_actions-bar {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
  background: #e6f0fa;
  padding: 10px;
  border-radius: 5px;
}

/* STOCK# */
.description_v_stock-number {
  font-weight: 700;
  font-size: 1rem;
  color: #333;
  margin-top: 10px;
}

/* La grille de boutons (2 colonnes, 2 lignes) */
.description_v_actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: min-content;
  gap: 0.5rem;
}

/* Style commun à tous les boutons */
.description_v_btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.6rem;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  transition: background-color 0.3s;
  flex-grow: 1;
  min-height: 2.5rem;
}

/* Conteneur pour l'icône */
.description_v_btn .blue_dark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 100%;
  background-color: #003087;
  border-radius: 4px 0 0 4px;
}

.description_v_btn .blue_dark i {
  font-size: 1.2rem;
  color: #fff;
}

/* Conteneur pour le texte et les éléments supplémentaires */
.description_v_btn .text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  padding: 0.4rem 0.8rem;
  background-color: #2079eee0;
  color: white;
  font-weight: 600;
  border-radius: 0 4px 4px 0;
  white-space: nowrap;
}

/* Conteneur pour les icônes de partage (Facebook, Instagram) */
.description_v_btn .text div {
  display: flex;
  gap: 0.3rem;
  margin-left: 0.5rem;
}

.description_v_btn .text div i {
  font-size: 1rem;
  color: white;
}

/* Logo Carfax après le texte */
.description_v_carfax-logo {
  display: inline-block;
  margin-left: 0.5rem;
  height: 1rem;
  width: auto;
  vertical-align: middle;
}

/* Effet au survol */
.description_v_btn:hover .blue_dark {
  background-color: #0051ba;
}

.description_v_btn:hover .text {
  background-color: #1a64c4;
}

/* Section Prix */
.price-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price-container span {
  font-size: 0.7rem;
  color: white;
  text-transform: uppercase;
  margin-bottom: 5px;
  font-weight: bold;
}

.price-container span br {
  display: none;
  /* Ignore le BR pour un meilleur rendu */
}

.price-tag {
  color: white;
  text-align: left;
  font-size: 34px;
  font-weight: bold;
  background: #f41f1f;
  padding: 15px;
  width: 100%;
}

.price-tag-two {
  background: #919191;
  text-align: center;
  font-weight: normal;
  color: #ffffff;
  padding: 7px;
  font-size: 14px;
  width: 100%;
  /* Arrondi uniquement en bas */
}



/* Section Détails */
.details {
  background: #e6f0fa;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

/* Style des paires clé-valeur */
.details p {
  margin: 0;
  font-size: 14px;
}

/* Clé (ex. "Marque") */
.details p:nth-child(odd) {
  font-weight: bold;
  color: #666;
}

/* Valeur (ex. "Subaru") */
.details p:nth-child(even) {
  text-align: right;
  color: #333;
}

.margin-t {
  margin-top: 15px !important;
}

/* === 1. Paiement Approximatif === */
.payment-calculator {
  margin-bottom: 20px;
  border-radius: 4px;
  background: #e6f0fa;
}

/* Titre rouge */
.payment-calculator h3 {
  color: #fff;
  font-size: 1.2rem;
  text-align: center;
  padding: 0.6rem;
  padding-left: 0;
  padding-right: 0;
  background: #f41f1f;
  display: flex;
  justify-content: space-around;
}

.sidebyside {
  display: flex;
  /* → children en ligne */
  gap: 1rem;
  /* → espacement entre les colonnes */
  padding: 5px 15px;
  /* → 5px haut/bas, 15px gauche/droite */
}

.padding-option {
  padding: 5px 15px;
  /* → 5px haut/bas, 15px gauche/droite */
}

/* Chaque champ doit occuper la même largeur (flex réparti) */
.sidebyside>div {
  flex: 1;
}

/* Labels au‑dessus des inputs/selects */
.sidebyside label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  color: #333;
}

/* Style de base pour les champs */
.sidebyside input,
.sidebyside select {
  width: 100%;
  padding: 0.5rem;
  font-size: 0.9rem;
  border: 1px solid #b3c9e6;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Bloc info paiement */
.payment-info {
  text-align: center;
  padding: 1rem 0;
  background: #f41f1f;
  color: #fff;
  padding-right: 47px;
  padding-top: 0px;
  padding-bottom: 5px;
}

.payment-info-amount {
  font-size: 2rem;
  font-weight: bold;
}

.payment-info hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  width: 50px;
  margin: 0.5rem auto;
}

.payment-info-rate {
  font-size: 0.9rem;
  display: block;
  margin-top: 0.25rem;
}

/* Labels au‑dessus des champs */
.payment-calculator .payment-label {
  display: block;
  margin: 0.75rem 0 0.25rem;
  font-weight: 600;
  color: #333;
  font-size: 0.9rem;
}

/* Inputs et selects */
.payment-calculator input,
.payment-calculator select {
  width: 100%;
  margin-bottom: 0.5rem;
  padding: 0.5rem;
  border: 1px solid #b3c9e6;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #333;
  background: #fff;
}

/* Toggle */
.payment-calculator .toggle-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
  padding: 5px 15px;
}

.payment-calculator .toggle-container .payment-label {
  margin: 0;
}

.payment-calculator .toggle-switch {
  position: relative;
  width: 40px;
  height: 20px;
}

.payment-calculator .toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.payment-calculator .toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #ccc;
  border-radius: 20px;
  transition: 0.3s;
}

.payment-calculator .toggle-slider:before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 2px;
  bottom: 2px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
}

.payment-calculator .toggle-switch input:checked+.toggle-slider {
  background: #2196F3;
}

.payment-calculator .toggle-switch input:checked+.toggle-slider:before {
  transform: translateX(20px);
}

/* Résultats calculs */
.payment-calculator h4 {
  font-size: 1.4rem;
  color: #f41f1f;
  margin: 1rem 0 0.5rem;
  padding: 5px 15px;
}

.payment-calculator .result-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1rem;
  align-items: center;
}

.payment-calculator .result-grid p {
  margin: 0;
  padding: 0.5rem;
  font-size: 0.9rem;
}

.payment-calculator .result-grid p:nth-child(odd) {
  font-weight: 600;
  color: #333;
  background: transparent;
  border: none;
}

.payment-calculator .result-grid p:nth-child(even) {
  text-align: right;
  color: #333;
  border: 1px solid #b3c9e6;
  border-radius: 4px;
}


.payment-calculator label {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
  display: block;
  /* Ensures labels are above inputs */
}

/* Placeholder color */
.payment-calculator input::placeholder {
  color: #999;
}


.section {
  margin-bottom: 20px;
  background: #e6f0fa;

}

.padding-section {
  padding: 0rem 1rem;
}

.section h2 {
  color: white;
  margin-bottom: 10px;
  background: #f41f1f;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  text-transform: uppercase;
}

/* ===  Spécifications  === */
.section-specification {
  margin-bottom: 2rem;
}

.description_v_section-title {
  background: #f41f1f;
  color: #fff;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
}

.description_v_toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}

/* ============= Spécifications ============= */
.section-specification {
  margin-bottom: 2rem;
}

.description_v_section-title {
  background: #f41f1f;
  color: #fff;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
}

.description_v_toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}

/* grille 3×2 */

.specifications {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  border: 1px solid #ddd;
  margin-top: -1px;
  /* fusion bordure header/grid */
}

/* chaque bloc en flex row */
.spec-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  position: relative;
}

/* bordures verticales */
.spec-item:nth-child(1),
.spec-item:nth-child(4),
.spec-item:nth-child(2),
.spec-item:nth-child(5) {
  border-right: 1px solid #ddd;
}

/* bordure horizontale */
.spec-item:nth-child(n+4) {
  border-top: 1px solid #ddd;
}

/* icône à gauche */
.spec-icon {
  flex-shrink: 0;
  font-size: 1.5rem;
  margin-right: 0.75rem;
  color: #f41f1f;
}

/* wrapper texte */
.spec-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  text-transform: uppercase;

}

/* label au‑dessus */
.spec-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 0.25rem;
}

/* valeur en dessous */
.spec-value {
  font-size: 1.1rem;
  color: #666;
}

/* responsive */
@media (max-width: 768px) {
  .specifications {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .spec-item {
    border: none !important;
  }
}

.options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.options label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  /* plus besoin de flex-basis ici */
}



.description_v_map-contact-section {
  max-width: 1200px;
  margin: 0 auto;
  background: #e6f0fa;
  ;
  border-radius: 4px;
  font-family: "Chivo", sans-serif;
}

/* Section title */
.description_v_section-title {
  background: #f41f1f;
  color: #fff;
  padding: 0.75rem 0rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-top: 30px;
}

.description_v_section-title--small {
  margin-top: 2rem;
}

/* Carte */
.description_v_map-wrapper {
  width: 100%;
  height: 320px;
  margin-bottom: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
}

.description_v_map-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Coordonnées flexibles */
.description_v_contact-info {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.description_v_contact-item {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.description_v_icon {
  font-size: 1.5rem;
  color: #f41f1f;
  flex-shrink: 0;
}

.description_v_contact-item div {
  line-height: 1.4;
  color: #333;
}

.description_v_contact-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

/* Formulaire de contact */
/* Container flex pour le formulaire */
.description_v_contact-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 25px;
}

/* Chaque champ prend au moins 240px et se répartit */
.description_v_field-group {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
}

/* Inputs & textarea plein width */
.description_v_field-group input,
.description_v_field-group textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #bbb;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #333;
  resize: vertical;
}

/* hauteur minimum de la textarea */
.description_v_field-group textarea {
  width: 99.5%;
}



/* Conteneur du bouton sur toute la ligne */
.description_v_btn-container {
  display: flex;
  justify-content: flex-end;
}

/* Style existant pour le bouton */
.description_v_btn-send {
  padding: 0.75rem 1.5rem;
  background: #000 !important;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  text-transform: uppercase;
  cursor: pointer;
  width: 264px;
  height: 60px;
}


/* Responsive */
@media (max-width: 768px) {
  .description_v_contact-info {
    flex-direction: column;
  }
}

.specifications,
.padding-section {
  transition: all 0.3s ease;
  padding: 15px;
  border: 1px solid #ddd;
  margin-top: 10px;
}

.hidden {
  display: none;
}


/* General responsive adjustments */
@media (max-width: 1167px) {

  /* Containers */
  .main-content,
  .container,
  .vehicle-detail {
    max-width: 100%;
    padding: 10px;
    margin: 0;
  }

  /* Main content and sidebar */
  .main-content {
    flex-direction: column;
    gap: 10px;
  }

  .content,
  .sidebar {
    flex: 1;
    width: 100%;
  }

  /* Navigation */
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    font-size: 12px;
  }

  .nav .social {
    justify-content: flex-start;
    gap: 5px;
  }

  /* Action bar */
  .description_v_actions-bar {
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .description_v_stock-number {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  /* Action buttons grid */
  .description_v_actions-grid {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .description_v_btn {
    font-size: 0.8rem;
    padding: 0.5rem;
    min-height: 2rem;
  }

  .description_v_btn .blue_dark {
    width: 2rem;
  }

  .description_v_btn .text {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
  }

  .description_v_carfax-logo {
    height: 0.8rem;
  }

  /* Vehicle image */
  .vehicle-image {
    height: 250px;
  }

  /* Thumbnails */
  .thumbnails-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .thumbnails {
    gap: 5px;
  }

  .thumbnail-img {
    flex: 0 0 100px;
    height: 60px;
  }

  .thumb-nav {
    width: 20px;
    height: 60px;
    font-size: 1rem;
  }

  /* Price section */
  .price-container {
    align-items: flex-start;
  }

  .payment-calculator h3 {
    justify-content: center;
  }

  .fa-calculator {
    margin-right: 25px;
  }

  .price-tag {
    font-size: 24px;
    padding: 10px;
    margin-top: 15px;
  }

  .price-tag-two {
    font-size: 12px;
    padding: 5px;
  }

  /* Details section */
  .details {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 10px;
  }

  .details p:nth-child(even) {
    text-align: left;
  }

  /* Payment calculator */
  .payment-calculator .sidebyside {
    flex-direction: column;
    gap: 0.5rem;
    padding: 5px 10px;
  }

  .payment-calculator h3 {
    font-size: 1rem;
    padding: 0.5rem;
  }

  .payment-info-amount {
    font-size: 1.5rem;
  }

  .payment-calculator .result-grid {
    grid-template-columns: 1fr;
  }

  .payment-calculator .result-grid p:nth-child(even) {
    text-align: left;
    border: none;
  }

  /* Specifications */
  .specifications {
    grid-template-columns: 1fr;
  }

  .spec-item {
    border: none !important;
    padding: 0.5rem;
  }

  .spec-icon {
    font-size: 1.2rem;
    margin-right: 0.5rem;
  }

  .spec-label {
    font-size: 0.75rem;
  }

  .spec-value {
    font-size: 0.9rem;
  }

  /* Options */
  .options {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  /* Map and contact section */
  .description_v_map-contact-section {
    padding: 10px;
  }

  .description_v_map-wrapper {
    height: 200px;
  }

  .description_v_contact-info {
    flex-direction: column;
    gap: 0.5rem;
  }

  .description_v_contact-form {
    flex-direction: column;
    gap: 5px;
  }

  .description_v_field-group {
    flex: 1 1 100%;
  }

  .description_v_btn-send {
    width: 100%;
    height: 50px;
    font-size: 0.9rem;
  }

  /* Inventory section */
  .inventaire-wrapper {
    flex-direction: column;
  }

  .inventaire-aside {
    width: 100%;
    padding: 10px;
  }

  .inventaire-form-group {
    margin-bottom: 10px;
  }

  .inventaire-select,
  .inventaire-input {
    font-size: 0.9rem;
    padding: 0.5rem;
  }

  .inventaire-top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .inventaire-inside-bar {
    width: 100%;
  }

  .inventaire-view-toggle {
    flex-direction: row;
    gap: 5px;
  }

  .inventaire-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Extra small screens (below 480px) */
@media (max-width: 780px) {
  .container {
    padding: 5px;
  }

  .description_v_section-title {
    font-size: 1rem;
    padding: 0.5rem;
  }

  .vehicle-image {
    height: 260px;
  }

  .thumbnail-img {
    flex: 0 0 80px;
    height: 50px;
  }

  .price-tag {
    font-size: 20px;
    padding: 8px;
  }

  .description_v_btn {
    font-size: 0.75rem;
    padding: 0.4rem;
  }

  .description_v_btn .blue_dark {
    width: 1.8rem;
  }

  .description_v_btn .text {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
  }

  .payment-info-amount {
    font-size: 1.2rem;
  }

  .payment-calculator h4 {
    font-size: 1.2rem;
  }

  .spec-icon {
    font-size: 1rem;
  }

  .description_v_icon {
    font-size: 1.2rem;
  }

  .description_v_contact-item strong {
    font-size: 0.9rem;
  }

  .description_v_field-group input,
  .description_v_field-group textarea {
    font-size: 0.85rem;
    padding: 0.5rem;
  }
}



/* ---------------------A PROPOS------------------------- */
.section-why-section-banner {
  width: 100%;
  height: 390px;
  background: url("/assets/images/driver-dressed-elegant-costume-1.jpg") no-repeat center center / cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  object-fit: contain;
  /* Ajoutez cette ligne */
}

@media only screen and (max-width: 767px) {
  .section-why-section-banner {
    height: 240px;
  }
}

.section-why-section-banner h1 {
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
  margin: 0;
}


.section-why-choose {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-why-choose .text-content {
  flex: 1;
}

.text-content {
  margin-bottom: auto;
}

.section-why-choose h2 {
  margin-bottom: 15px;
  font-size: 30px;
  line-height: 24px;
  text-transform: uppercase;
  color: #101010;
  font-weight: 400;
  font-family: "Viga";
}

.secondp {
  font-size: 30px !important;
  line-height: 24px !important;
  color: #101010 !important;
  margin-top: 50px;
}

.section-why-choose h2 span {
  color: #F1592A;
}

.section-why-choose p {
  font-size: 16px;
  line-height: 24px;
  color: #6c7176;
  font-weight: 400;
  font-family: "Chivo";
  margin-top: 30px;
}

.section-why-choose img {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .section-why-choose {
    flex-direction: column;
    text-align: center;
  }

  .section-why-choose img {
    margin-top: 20px;
    max-width: 90%;
  }
}

.section-values {
  display: flex;
  width: 100%;
  margin: 0 auto;
  position: relative;
  height: 750px;
}

.section-values .image-left {
  flex: 1;
  background: url('/assets/images/young-couple-doing-road-trip-1.jpg') no-repeat center center / cover;
}

.section-values .content-right {
  flex: 1;
  background: url('/assets/images/original-black-leather-texture-background-1.jpg') no-repeat center center / cover;
  padding: 40px;
  color: white;
  background-blend-mode: overlay;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-values h2 {
  font-size: 30px;
  line-height: 24px;
  text-transform: uppercase;
  color: #F1592A;
  font-weight: 400;
  font-family: "Viga";
}



.section-values p {
  display: flex;
  align-items: center;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
  margin-top: 15px;
  margin-top: 50px;
}

.section-values p .icon {
  font-size: 24px;
  margin-right: 10px;
  line-height: 1;
  display: flex;
  align-items: center;
}

.icon {

  border-radius: 4px;
  color: #eb5f1a;
  font-size: 33px;
  margin-right: 15px;
}


/* ========== Team Section Styles ========== */
.team-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

.team-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #101010;
  font-weight: 400;
  font-family: "Viga";
}

.team-title .highlight {
  color: #007bff;
  font-weight: 400;
  font-family: "Viga";
  font-size: 32px;
}

.team-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  flex-wrap: wrap;
}

.team-member {
  flex: 1;
  max-width: 250px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
}

.team-member img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.team-info {
  background-color: #087fc38a;
  color: #fff;
  padding: 15px;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  height: 100%;
}

.team-member:hover .team-info {
  opacity: 1;
}

.team-info h3 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
  margin-top: 25px;
}

.team-info p {
  font-size: 15px;
  margin-bottom: 10px;
}

.social-icons-apropos {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 58%;
}

.social-icons-apropos a {
  color: #000;
  font-size: 18px;
  transition: color 0.3s ease;
  background-color: #fff;
  border-radius: 2px;
}

.social-icons-apropos i {
  font-size: 1.2rem;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  padding: 2px;

}


/* Responsive for Mobile */
@media (max-width: 768px) {
  .team-container {
    flex-direction: column;
    align-items: center;
  }

  .team-member {
    max-width: 100%;
  }

  .section-values {
    display: block;
    height: unset;
  }

 .section-values h2 {
  font-size: clamp(16px, 4vw, 24px); /* Ajuste automatiquement entre 18px et 24px */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

  .section-values p {
    margin-top: 25px;
    display: flex;
    align-items: center;
    font-size: 16px;
    /* line-height: unset;
    margin-bottom: unset;
    margin-top: unset;
    margin-top: unset; */
  }

  
}





/* Wrapper avec padding gauche/droite de 50px */
.hero-video-outer {
  padding-inline: 50px;        /* = padding-left/right */
  margin-bottom: 75px;
}

/* Ton style existant inchangé */
.hero-video {
  position: relative;
  width: 100%;
  max-width: 1210px;
  margin: 0 auto 24px;
  border-radius: 12px;
  overflow: hidden;
}

/* (Optionnel) rendre le padding responsive sur mobile */
@media (max-width: 640px) {
  .hero-video-outer { padding-inline: 16px; }
}

/* Le reste de tes règles existantes */
.hero-video-el {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
}

.hero-video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 96px;
  height: 96px;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}

.hero-video-play:hover { transform: scale(1.05); }
.hero-video-play.is-hidden { opacity: 0; pointer-events: none; }
.carousel-btn[disabled] { opacity: .4; pointer-events: none; }

