/* Import de la police */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


html {
  -webkit-text-size-adjust: none;
}

/* Réinitialisation des styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', Arial, sans-serif;
}

span {
    color: rgba(255, 140, 0, 0.85);
	font-size:1.5rem;
	font-weight: 700;

}
    
body {
    background-color: white;
    color: black;
    line-height: 1.6;
    font-size: 1rem;
}
body {
    background: white;
    /* Centre blanc éclatant qui vire vers un gris doux */
    color: black;
    font-family: 'Poppins', Arial, sans-serif;
    min-height: 100vh;
    margin: 0;
}



/* HEADER */
header {
    background: url('bac.png') center/cover no-repeat;
    animation: zoomInOut 20s ease-in-out infinite;
    color: #fff;
    text-align: center;
    padding: 90px 20px;
    position: relative;
    overflow: hidden; /* pour que le dégradé reste dans les coins arrondis */
    transition: background 0.9s ease;
    box-shadow: 0 0 40px rgba(255, 140, 0, 0.3); /* halo orangé */
}

/* Animation zoom */
@keyframes zoomInOut {
    0%, 100% { background-size: 100% 100%; }
    50% { background-size: 110% 110%; }
}

/* ============================= */
/*        HERO HEADER            */
/* ============================= */

.hero-header {
    position: relative;
    background: 
        linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.75)),
        url('bac.png') center / cover no-repeat;
    padding: 40px 10px 40px;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

/* animation douce du background */
.hero-header {
    animation: bgZoom 18s ease-in-out infinite;
}

@keyframes bgZoom {
    0%,100% { background-size: 100%; }
    50% { background-size: 108%; }
}
/* ============================= */
/*        TEXTE HERO             */
/* ============================= */

.header-content h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.header-content h1 span {
    display: block;
    font-weight: 400;
    font-size: 0.75em;
    opacity: 0.9;
}

/* ============================= */
/*        STAMP                  */
/* ============================= */

.header-stamp {
    position: absolute;
    bottom: 0px;
    right: 25px;
    background: #ff8c00;
    color: #fff;
    font-weight: 800;
    padding: 10px 18px;
    border-radius: 8px;
    transform: rotate(-10deg);
    font-size: 0.9rem;
}
/* ============================= */
/*        LISTE VILLES           */
/* ============================= */

.city-list {
    margin: 40px auto 0;
    padding: 25px;
    max-width: 820px;
    background: rgba(0,0,0,0.65);
    border-radius: 20px;
    backdrop-filter: blur(8px);
}

.city-list h3 {
    color: #fff;
    margin-bottom: 18px;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.city-list ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    list-style: none;
    padding: 0;
}

.city-list a {
    padding: 8px 16px;
    border-radius: 20px;
    background: #fff;
    color: #111;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.city-list a:hover {
    background: #ff8c00;
    color: #fff;
    transform: translateY(-3px);
}

/* BARRE NAV PRINCIPALE EN HAUT */
.main-nav {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); /* background premium dégradé */
  box-shadow: 0 8px 20px rgba(0,0,0,0.25); /* ombre profonde */
  z-index: 1000;
  font-family: 'Poppins', sans-serif;
  backdrop-filter: blur(12px); /* flou derrière la nav */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

/* LOGO à gauche */
.nav-left .logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.1);
}

.logo-text {
  font-weight: 700;
  font-size: 1.8rem;
  background: linear-gradient(45deg, #4A90E2, #50E3C2, #9013FE);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  user-select: none;
  cursor: default;
  transition: transform 0.3s ease;
}

.logo-text:hover {
  transform: translateY(-3px) scale(1.05);
  text-shadow: 0 0 10px rgba(144, 19, 254, 0.7),
               0 0 20px rgba(80, 227, 194, 0.6);
}

/* LIENS CENTRAUX */
.nav-center.nav-links {
  display: flex;
  gap: 20px;
  font-weight: 600;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
  background-color: #4a90e2;
  color: white;
  transform: scale(1.05);
}

/* CONTENU PROFIL À DROITE */
.profil-container {
  position: relative;
}

.profil {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 10px;
  background: #d0d5dd;
  padding: 8px 12px;
  border-radius: 10px;
  width: fit-content;
  user-select: none;
}

.profil .photo-profil {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #3498db;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.profil:hover .photo-profil {
  transform: scale(1.1);
}

.profil span {
  color: black;
  font-size: 1rem;
  font-weight: bold;
}

.connexion-btn {
  background: orange;
  color: white;
  padding: 8px 15px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.connexion-btn:hover {
  background: #357ABD;
}

/* POPUP PROFIL */
.popup-profil {
  position: absolute;
  top: 55px;
  right: 0;
  background-color: white;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  border-radius: 10px;
  width: 195px;
  display: none;
  z-index: 30;
}

.popup-profil ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.popup-profil ul li {
  border-bottom: 1px solid #eee;
}

.popup-profil ul li:last-child {
  border-bottom: none;
}

.popup-profil ul li a {
  display: block;
  padding: 12px 15px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.popup-profil ul li a:hover {
  background-color: orange;
  color: white;
}

/* ============================= */
/*        INDICATEURS            */
/* ============================= */

.header-indicators {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 35px auto 20px;
    max-width: 900px;
}

.header-indicators .indicator {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
    padding: 10px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
}



/* ============================= */
/*        BARRE RECHERCHE        */
/* ============================= */

.search-bar {
	    position: relative; /* ajouté */
    display: flex;
    max-width: 720px;
    margin: 0 auto 35px;
    background: #fff;
    border-radius: 14px;
    overflow: visible;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.search-bar input {
    flex: 1;
    border: none;
    padding: 18px 20px;
    font-size: 1rem;
    outline: none;
}

.search-bar button {
    padding: 0 26px;
    border: none;
    background: linear-gradient(135deg, #ff8c00, #ff5a00);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-bar button:hover {
    background: linear-gradient(135deg, #ff9d2f, #ff6a1a);
}

/* ============================= */
/*        RESPONSIVE             */
/* ============================= */

@media (max-width: 600px) {
    .hero-header {
        padding: 40px 15px 40px;
    }

    .search-bar {
        flex-direction: row;
    }

    .header-indicators {
        gap: 10px;
    }

    .header-stamp {
        font-size: 0.75rem;
        padding: 8px 14px;
    }
}


/* ------- SECTION INTRO ------- */
.intro {
    text-align: center;
    max-width: 800px;
    margin: 10px auto;
    padding: 20px;
    color: black;
}

.intro h2 {
    font-size: 1.4rem;
    font-weight: 700;
}

.intro p {
    font-size: 1.1rem;
    opacity: 0.8;
}


@media screen and (max-width: 600px) {
	
	.intro h2 {
    font-size: 1.2rem;
    font-weight: 700;
}
    .intro p {
    font-size: 0.99rem;
}
}




/* ------- GRID DES APPARTEMENTS ------- */
/* ------- GRID DES APPARTEMENTS ------- */
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px;
    max-width: 1200px;
    margin: auto;
    border-radius: 20px;
    backdrop-filter: blur(8px);
	display: flex;
    flex-wrap: wrap; /* desktop */
    justify-content: center;
    gap: 20px;
    overflow-x: visible; /* par défaut */
}

.product {
    width: calc(33.33% - 20px);
    max-width: 250px;
    background: white;
    overflow: hidden;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.5); /* Ombre plus douce et étendue */
    border: 1px solid rgba(0, 0, 0, 0.05); /* Fine bordure subtile */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
}

/* Effet au survol */
.product:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.product img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.product h3 {
    /*margin: 10px 0;*/
	margin: 0;
    font-size: 1.0rem;
    /*font-weight: 600;*/
}


.product span {
    color: #e74c3c;
    /*font-size: 1.rem;*/
    font-weight: bold;
}

.product-info .ville::before {
    content: "📍";
    margin-right: 5px;
    color: #004080;
}
.product-info {
	display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0px;
    background: rgba(255, 255, 255, 0.8);
    border-top: 1px solid #ddd;
    font-size: 0.8rem;
    font-weight: bold;
    color: #333;	
}

.product-info span {
    font-size: 0.9rem;
    color: black;
    font-weight: bold;
    padding: 5px 5px;	
}

.nom h3 a {
    color: #333; /* Change la couleur du texte */
    text-decoration: none; /* Supprime le soulignement */
	width: 100%; /* S'assure que le titre utilise toute la largeur */
    white-space: nowrap; /* Empêche le texte de passer à la ligne suivante */
    overflow: hidden; /* Cache tout texte débordant */
    text-overflow: ellipsis; /* Ajoute "..." si le texte est trop long */
    font-size: 0.9rem /* Taille de police par défaut */ !important;
    text-align: center; /* Centre le texte */
}


/* Version mobile : défilement horizontal sur une seule ligne */
@media screen and (max-width: 768px) {
    .container {
        flex-wrap: nowrap;            /* ligne unique */
        overflow-x: auto;             /* scroll horizontal */
        -webkit-overflow-scrolling: touch;
        padding: 10px 20px;
        gap: 15px;                   /* espace entre cartes */
        justify-content: flex-start;  /* aligner à gauche pour défilement naturel */
        width: 100%;                 /* s'assurer que prend toute la largeur */
    }
    .product {
        flex: 0 0 auto;               /* ne pas rétrécir */
        width: 250px !important;      /* largeur fixe */
        margin-right: 0;              /* gap gère l'espacement */
        max-width: 250px;             /* max largeur */
    }
}

/* ------- ÉQUIPEMENTS ------- */
.equipements {
	width: 100%; /* Largeur fixe */
    height: 70px; /* Hauteur fixe pour éviter le débordement */
    overflow-y: auto; /* Ajoute un défilement vertical si nécessaire */
    overflow-x: hidden; /* Empêche le défilement horizontal */
    background-color: #f8f8f8; /* Fond clair */
    padding: 5px;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);   
}

/* Titre des équipements */
.equipements h4 {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
    width: 100%; /* Le titre occupe toute la largeur de la ligne */
}

/* Liste des équipements */
.equipements ul {
    max-height: 80px; /* Ajuster en fonction de la hauteur du parent */
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.equipements li {
    font-size: 0.78rem;
    color: #444;
    margin: 0px 0;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 4px 4px;
    border-radius: 6px;
    background: #f9f9f9;
    transition: background 0.3s;
}

.equipements li::before {
    content: "➤";         /* flèche au lieu de checkmark */
    color: orange;        /* orange partout */
    font-weight: bold;
    margin-right: 6px;
    flex-shrink: 0;
}

/* Optionnel : ajustement pour les petits écrans */
@media screen and (max-width: 768px) {
    .equipements li {
        width: 50%; /* Deux éléments par ligne sur les écrans moyens */
    }
	.equipements {
        max-height:70px;; /* Deux éléments par ligne sur les écrans moyens */
    }
}

@media screen and (max-width: 480px) {
    .equipements li {
        width: 45%; /* Un élément par ligne sur les petits écrans */
    }
}
/* Optionnel : ajustement pour les petits écrans */
@media screen and (max-width: 768px) {
    .equipements ul {
        grid-template-columns: repeat(2, 1fr); /* 2 éléments par ligne sur les écrans moyens */
    }
}

@media screen and (max-width: 480px) {
    .equipements ul {
        grid-template-columns: 1fr; /* 1 élément par ligne sur les petits écrans */
    }
}


.equipements p {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
}



/* ----------- BOUTON DE CANDIDATURE ----------- */
.application-btn {
    text-align: center;
    margin-top: 0px;	
}

.application-btn .btn-apply {
    display: inline-block;
    background-color: rgba(255, 140, 0, 0.85);
    color: white;
    padding: 2px 2px;
    font-weight: bold;
    font-size: 0.7rem;
    text-decoration: none;
}

/* ------- SECTION TOURISME ------- */
/* Style général de la section tourisme */
/* --- Section tourisme améliorée --- */
.tourism-section {
background: linear-gradient(135deg, #f4f6f8 0%, #e9eef3 50%, #dde3ea 100%);
  max-width: 1200px;
  margin: 5px auto 5px;
  padding: 20px 20px;
  position: relative;
  text-align: center;
}

/* Texture subtile en overlay */
.tourism-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Texte d’intro */
.intro-text {
  font-weight: 300;
  color: #4a5a7a;
  font-size: 1rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

/* Titre principal */
.tourism-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: black;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  letter-spacing: 0.03em;
}

/* Liste des villes en cercle */
.site-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 0 10px;
  position: relative;
  z-index: 1;
}

/* Chaque ville en cercle avec image en fond + overlay sombre */
.site-item {
  width: 250px;
  height: 250px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 6px 16px rgb(0 0 0 / 0.12);
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 2px solid transparent;
}



/* Flèche discrète */
.site-item::before {
  content: '➔';
  font-size: 28px;
  color: #90caf9;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  animation: rotateArrow 6s linear infinite;
  opacity: 0.7;
  pointer-events: none;
  transition: color 0.3s ease;
}

@keyframes rotateArrow {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
/* Lien ville centré et visible */
.city-link {
  position: relative;
  z-index: 2;
  color: #e0e7ff;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  text-shadow: 0 1px 5px rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  border-radius: 50%;
  transition: color 0.3s ease;
  user-select: none;
}



.site-item:hover::after {
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.4) 100%);
}

.site-item:hover::before {
  color: #e3f2fd;
}

.site-item:hover .city-link {
  color: #bbdefb;
}

/* Responsive */
@media (max-width: 768px) {
  .tourism-section {
    padding: 30px 20px;
    margin-bottom: 30px;
  }

  .tourism-section h2 {
    font-size: 1.2rem;
  }

  .intro-text {
    font-size: 0.9rem;
  }

  .site-list {
    gap: 20px;
  }

  .site-item {
    width: 169px;
    height: 169px;
  }

  .site-item::before {
    font-size: 22px;
  }

  .city-link {
    font-size: 1rem;
  }
}

@media (max-width: 376px) {
  .site-item {
    width: 130px;
    height: 130px;
  }

}

.slideshow-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.current-image {
    transition: opacity 0.5s ease-in-out;
}

button.prev,
button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    font-size: 36px;
    color: white; /* Blanc très visible */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7); /* Ombre noire pour contraste */
    cursor: pointer;
    z-index: 2; /* S'assurer que la flèche est au-dessus de l'image */
    padding: 0 10px;
}

button.prev:hover,
button.next:hover {
    color: #FFD700; /* Optionnel : or au survol */
}

button.prev {
    left: 5px;
}

button.next {
    right: 5px;
}

button.prev,
button.next {
    touch-action: manipulation;
}



.corner-info {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white; /* Blanc très visible */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7); /* Ombre noire pour contraste */
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 5px;
    font-weight: bold;
    z-index: 10;
}

/* version gauche (remplace right) */
.corner-info.left {
    left: auto;
    right: 10px; /* reste collé à droite */
    width: 55px;
}
/* Réajustement dynamique sur mobile en % ou vw */
@media (max-width: 768px) {
    .corner-info.left {
        right: 5vw; /* plus flexible que 265px */
    }
}

@media (max-width: 425px) {
    .corner-info.left {
        right: 4vw;
    }
}

@media (max-width: 375px) {
    .corner-info.left {
        right: 3vw;
    }
}



.slideshow-container .corner-info.left span{
    font-size: 14px ;
	color:white ;
	font-weight: bold;
	
}



@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

footer {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); /* background premium dégradé */
    color: white;
    padding: 60px 30px 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
    border-top: 2px solid #e0e0e0;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.03);
}

.footer-item {
    flex: 1 1 250px;
    margin: 5px;
}

.footer-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: orange;
    position: relative;
}

.footer-item h4::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: #007bff;
    margin-top: 8px;
}

.footer-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-item ul li {
    margin: 10px 0;
}

.footer-item ul li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-item ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-item p {
    color: white;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Ligne de séparation */
.footer-bottom {
    width: 100%;
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #ddd;
    font-size: 0.9rem;
    color: #888;
}

/* Icônes sociales (optionnel) */
.social-icons a {
    display: inline-block;
    margin: 0 8px;
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: white;
}


.conseil {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    text-align: center;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
}

.conseil h3 {
    font-size: 1.5rem;
    color: black;
    margin-bottom: 15px;
    text-decoration: underline;
}

.conseil a {
    display: inline-block;
    width: 30%;
    min-width: 200px;
    margin: 10px;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.conseil a:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}

.conseil img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.conseil p {
    margin-top: 10px;
    font-size: 1rem;
    font-weight: bold;
}

* {
    box-sizing: border-box;
}



.footer-item a {
    color: white;
    font-size: 2rem; /* Taille des icônes */
    margin: 0 15px;
    transition: 0.3s;
}

.footer-item a:hover {
    color: white; /* Couleur au survol */
}

/* 📩 Newsletter */
.footer-newsletter {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-newsletter input {
    padding: 10px;
    width: 80%;
    max-width: 300px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
}

.footer-newsletter button {
    padding: 10px 15px;
    background: #004080;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.footer-newsletter button:hover {
    background: #002f5f;
}

/* ✅ Partie légale */
.footer-legal {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 15px;
    color: white;
}


.footer-legal a{  
    font-size: 1.2rem;
}


/* 🌍 Responsive */
@media (max-width: 768px) {
  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-item {
    flex: 1 1 150px;
    margin: 5px;
  }
  
  .footer-item h4 {
    margin-bottom: 5px;
  }

  
  .footer-item h4::after {
    display: none;
  }

    .footer-item h4 + p + p {
    font-size: 0.75rem;
  }

  .footer-item {
    width: 100%;
    max-width: 300px;
    margin: 5px auto;
  }

  .footer-item ul {
    padding-left: 0;
  }

  .footer-item ul li a {
    display: block;
  }

  .footer-legal {
    text-align: center;
    font-size: 0.85rem;
  }
  
  .phone-number {
    font-size: 0.85rem !important; /* réduit la taille sur mobile */
  }
  .conseil {
    text-align: center;
    padding: 10px;
  }

  .conseil h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding: 0 10px;
  }

  .conseil-liens {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
  }

  .conseil-liens a {
    flex: 0 0 auto;
    width: 70%;
    max-width: 300px;
    scroll-snap-align: start;
    border: 1px solid #ccc;
    background: #fff;
  }

  .conseil img {
    height: 130px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
  }

  .conseil p {
    font-size: 1rem;
    font-weight: bold;
    padding: 10px;
  }

  .conseil-liens::-webkit-scrollbar {
    display: none;
  }
}



/* --------- PAGINATION --------- */
/* --------- PAGINATION --------- */
.pagination {
    text-align: center;
    padding: 10px 0;
}

.pagination ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.pagination li {
    display: inline-block;
    transition: transform 0.3s ease;
}

.pagination li.active {
    transform: scale(1.08);
}

.pagination a {
    text-decoration: none;
    padding: 10px 18px;
    background: black;
    color: white;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid #ccc;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
}

.pagination a:hover {
    background-color: white;
    color: rgba(255, 140, 0, 0.85);
    border-color: rgba(255, 140, 0, 0.85);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.pagination .active a {
    background-color: rgba(255, 140, 0, 0.85);
    color: white;
    border-color: #0056b3;
    cursor: default;
}

.pagination .disabled a {
    background-color: #e9ecef;
    color: black;
    border-color: #ddd;
    cursor: not-allowed;
    pointer-events: none;
}

/* Icônes et texte */
.icon-only {
    display: inline-block;
    font-size: 16px;
    margin-right: 6px;
    color: orange !Important;
}

.text-only {
    font-size: 14px;
    font-weight: 500;
    color: inherit;
}


.pagination a .icon-only {
    color: orange;
    font-size: 16px;
    margin-right: 6px;
}


/* Focus */
.pagination a:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3);
}

.pagination .disabled .icon-only,
.pagination .active .icon-only,
.pagination a .icon-only {
    color: orange !important;
}

/* --------- Responsive Mobile --------- */
@media (max-width: 576px) {
    .pagination {
        padding: 20px 15px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .pagination ul {
        justify-content: center;
        flex-wrap: nowrap;
        padding: 0;
        gap: 8px;
    }

    .pagination a {
        padding: 8px 12px;
        font-size: 14px;
        min-width: 36px;
    }

    .text-only {
        display: none;
    }

    .icon-only {
        font-size: 18px;
        margin: 0;
    }
}





.corner-info .left
{
	margin-left:-50px;
}


.message-info {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background-color: #F8F8FF;
    color: black;
    padding: 20px 30px;
    border-radius: 10px;
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    text-align: center;
    max-width: 80%;
}

.message-info.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.toast-success {
    position: fixed;         /* hors flux du document */
    bottom: 10px;               /* distance du haut */
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;     /* fond vert */
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 999999999;
    opacity: 1;
    transition: opacity 0.8s ease;
}




/* Style pour le pop-up */
    #popupMessage {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: #fefefe;
      padding: 30px 40px;
      border: 2px solid #444;
      border-radius: 10px;
      box-shadow: 0 0 15px rgba(0,0,0,0.3);
      z-index: 9999;
      display: none;
      font-family: Arial, sans-serif;
      font-size: 18px;
      color: #333;
      text-align: center;
      animation: fadeIn 0.4s ease-in-out;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: scale(0.95) translate(-50%, -50%); }
      to { opacity: 1; transform: scale(1) translate(-50%, -50%); }
    }

#overlay {
      position: fixed;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      background: rgba(0,0,0,0.3);
      z-index: 9998;
      display: none;
 }
	
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

	
/* Fond tacheté blanc dominant pour le container */
/* Fond tacheté blanc dominant pour le container */
.procedurier-container {
  width: 100%;
  padding: 40px 20px;
  font-family: 'Poppins', sans-serif;
  /* Fond blanc avec des petites tâches grises claires */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.procedurier h4.detail {
  font-family: 'Playfair Display', serif; /* élégant et moderne */
  font-size: 28px;                        /* assez grand sans être écrasant */
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  background: linear-gradient(90deg, #FF8C00, #FFD700); /* dégradé chaud premium */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;  /* texte en dégradé */
  position: relative;
  letter-spacing: 1px;
}

/* Ligne décorative sous le titre */
.procedurier h4.detail::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: #FF8C00;
  margin: 10px auto 0;
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(255, 140, 0, 0.5);
}


/* Carousel */
.step-carousel {
  overflow: hidden;
  width: 100%;
}

/* Animation fluide */
.steps-wrapper {
  display: flex;
  gap: 20px;
  animation: scrollInfinite 30s linear infinite;
    animation-play-state: running; /* Défaut : animation active */

}

.steps-wrapper:hover {
  animation-play-state: paused;
}

/* Chaque étape améliorée */
.step-page {
  flex: 0 0 300px;
  height: 300px;
  box-shadow:
    4px 4px 10px rgba(0, 0, 0, 0.07),
    inset 0 0 10px rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 20px;
  font-size: 14px;
  /* Légère texture de bruit subtile */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  background-color : #FFA500;
}

.step-page:hover {
  transform: scale(1.05);
  box-shadow:
    6px 6px 15px rgba(0, 0, 0, 0.12),
    inset 0 0 15px rgba(255, 255, 255, 0.9);
  color: #222;
}

.step-page h3 {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 600;
}

.step-page p {
  font-size: 13px;
  line-height: 1.5;
}

/* Animation continue */
@keyframes scrollInfinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-2220px);
  }
}




/* Style de la fenêtre modale */
.modal {
  display: none; /* Cachée par défaut */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5); /* Fond semi-transparent */
}

.modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
  border-radius: 5px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
}


.modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.modal-content {
    position: relative;
    background: #fff;
    padding: 30px 20px 20px 20px;
    width: 600px;
    max-width: 95%;
    border-radius: 10px;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    overflow-y: auto;
    max-height: 95vh;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #aaa;
    cursor: pointer;
    font-weight: bold;
    transition: color 0.3s;
}
.close-modal:hover {
    color: #000;
}

/* Style formulaire */
.popup-content {
    font-family: Arial, sans-serif;
}
.popup-content h2 {
    text-align: center;
    margin-bottom: 20px;
}
.popup-content form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.popup-content label {
    width: 100%;
    font-weight: bold;
    margin-top: 5px;
}
.popup-content input[type="text"],
.popup-content input[type="email"],
.popup-content input[type="date"],
.popup-content textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}
.popup-content textarea {
    resize: vertical;
    min-height: 80px;
}
.popup-content button {
    width: 100%;
    padding: 12px;
    background-color: #2e86de;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.popup-content button:hover {
    background-color: #1b4f72;
}

/* Deux colonnes pour les inputs sur grand écran */
.popup-content form > div.form-group {
    width: 48%;
}
.popup-content form > .form-full {
    width: 100%;
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .modal-content {
        width: 90%;
        padding: 25px 15px;
    }
    .popup-content form > div.form-group {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .modal-content {
        width: 95%;
    }
    .popup-content {
        font-size: 15px;
    }
}

@media screen and (max-width: 425px) {
    .popup-content {
        font-size: 14px;
    }
    .modal-content {
        padding: 20px 10px;
    }
}

@media screen and (max-width: 375px) {
    .popup-content {
        font-size: 13.5px;
    }
    .close-modal {
        font-size: 22px;
        top: 8px;
        right: 10px;
    }
}

@media screen and (max-width: 320px) {
    .popup-content {
        font-size: 13px;
    }
    .modal-content {
        padding: 15px 8px;
    }
    .close-modal {
        font-size: 20px;
    }
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #aaa;
    cursor: pointer;
    font-weight: bold;
    z-index: 10001; /* supérieur à modal-content */
    background-color: white;
    border-radius: 50%;
    padding: 0 8px;
}




.toast-message {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #f8d7da;
    color: #721c24;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    font-family: Arial, sans-serif;
    z-index: 999999999;
    animation: fadeInUp 0.5s ease-out;
    }

.toast-message a {
    color: #721c24;
    text-decoration: underline;
    margin-left: 8px;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
        }
    to {
        opacity: 1;
        transform: translateY(0);
       }
    }


.pricing-wrapper {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 60px 20px;
  background: #f4f6fa;
  flex-wrap: wrap;
}

/* Cartes */
.pricing-card {
  width: 360px;
  padding: 32px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  position: relative;
}

/* SOLO */
.pricing-card.solo h2 {
  color: #111827;
}

.pricing-card.solo {
  border: 1px solid #e5e7eb;
}

/* PREMIUM */
.pricing-card.premium {
  border: 2px solid #1e40af;
  transform: scale(1.05);
  box-shadow: 0 20px 45px rgba(30,64,175,0.25);
}

/* Badge */
.badge-premium {
  position: absolute;
  top: -14px;
  right: 20px;
  background: linear-gradient(135deg, #facc15, #f59e0b);
  color: #1f2937;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

/* Titres */
.pricing-card h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

/* Sous-texte */
.subtitle {
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 20px;
}

/* Liste */
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-card li {
  margin-bottom: 12px;
  padding-left: 26px;
  position: relative;
  font-size: 15px;
}

.pricing-card li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #1e40af;
  font-weight: bold;
}

/* Bouton Premium */
.btn-premium {
  display: block;
  margin-top: 30px;
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #ffffff;
  transition: all 0.3s ease;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37,99,235,0.4);
}

/* Responsive */
@media (max-width: 900px) {
  .pricing-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .pricing-card.premium {
    transform: none;
  }
}


.slide img {
  width: 350px;       /* Largeur fixe */
  height: 180px;      /* Hauteur fixe */
  object-fit: cover;  /* Recadrage automatique pour remplir le cadre sans déformation */
  border-radius: 8px; /* Optionnel : arrondir les coins */
}


/* Menu hamburger */
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
}

/* Menu mobile caché par défaut */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 60px;
  right: 0px;
  background: rgba(255, 140, 0, 1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  padding: 15px;
  z-index: 999;
  text-align:center;
  width:100%;
}

.mobile-menu a {
  padding: 10px;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid #eee;
}

.mobile-menu a:hover {
  background-color: #4a90e2;
  color: white;
  border-radius: 5px;
}

/* Responsive pour les petits écrans */
@media (max-width: 768px) {
  .nav-center,
  .nav-right {
    display: none !important; /* <-- ajout du !important si conflit */
  }

  .hamburger {
    display: block;
  }
}

@media (max-width: 405px) {
      .mobile-menu {
  top: 52px;
}
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* léger fond noir semi-transparent */
  display: none;
  z-index: 10; /* inférieur au menu popup */
}



/* Import d’une police manuscrite */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

.signe {
  font-family: 'Great Vibes', cursive;
  font-size: 1.2rem;
  color: orange;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid rgba(0,0,0,0.7); /* curseur */
  animation: typing 6s steps(30, end) infinite, blink 0.8s infinite;
}

/* Effet écriture progressive + effacement */
@keyframes typing {
  0%   { width: 0 }
  40%  { width: 100% }  /* texte entièrement écrit */
  60%  { width: 100% }  /* petite pause */
  100% { width: 0 }     /* effacement */
}

/* Effet curseur qui clignote */
@keyframes blink {
  0%, 100% { border-color: transparent }
  50%      { border-color: rgba(0,0,0,0.7) }
}



.about-section {
  display: grid;
  grid-template-columns: 1fr 2fr; /* gauche = texte, droite = cartes */
  align-items: start;
  gap: 40px;
  max-width: 100%;
  margin: 20px auto;
  padding: 20px 10px;
  background: #f9f9f9;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Section principale */
.about-section {
  display: grid;
  grid-template-columns: 1fr 2fr; /* gauche = texte, droite = cartes */
  align-items: center; /* centre verticalement les colonnes */
  gap: 40px;
  max-width: 1300px;
  margin: 20px auto;
  padding: 20px 10px;
  background: #f9f9f9;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Partie gauche (titre + intro centré) */
.about-left {
  display: flex;
  flex-direction: column;
  align-items: center;   /* centre horizontalement */
  justify-content: center; /* centre verticalement */
  text-align: center; /* centre le texte */
  height: 100%; /* important pour occuper toute la colonne */
}

.about-left h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: black;
}

.about-left .about-intro {
  font-size: 1.1rem;
  color: black;
  line-height: 1.6;
  max-width: 400px; /* pour éviter que le texte s’étale trop */
}


/* Partie droite (cartes) */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 colonnes fixes */
  gap: 20px;
}

.about-item {
  background: #fff;
  padding: 25px 20px;
  box-shadow: 0 4px 5px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.about-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 5px;
  color: rgba(255,140,0,0.85);
}

.about-grid h3 {
  color: orange;
}

/* -------- Responsive -------- */
/* --- VERSION MOBILE SEULEMENT (iPhone & petits téléphones) --- */
@media (max-width: 430px) {

    /* Section entière */
    .about-section {
        grid-template-columns: 1fr; /* Passe en UNE SEULE colonne */
        gap: 20px;
        padding: 15px 10px;
    }

    /* Partie gauche (titre + intro) */
    .about-left h2 {
        font-size: 1.2rem; /* réduit */
        margin-bottom: 8px;
    }

    .about-left .about-intro {
        font-size: 0.9rem;
        max-width: 95%;
        line-height: 1.4;
    }

    .about-left .signe {
        font-size: 0.85rem;
    }

    /* Grille : 2 items par ligne */
    .about-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 12px;
    }

    /* Cartes */
    .about-item {
        padding: 15px 10px;
        border-radius: 10px;
    }

    /* Icônes */
    .about-icon {
        font-size: 1.5rem;
        margin-bottom: 4px;
    }

    /* Titres des cartes */
    .about-grid h3 {
        font-size: 0.95rem;
        margin-bottom: 4px;
    }

    /* Texte des cartes */
    .about-item p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}


.quick-filter {
    margin: 10px auto;
    padding: 10px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    width: 60%;
    text-align: center;
}

.quick-filter h3 {
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
}

.filter-row {
    display: flex;
    flex-wrap: wrap; /* permet aux éléments de revenir à la ligne */
    justify-content: space-between;
    gap: 5px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    flex: 1 1 150px; /* prend au minimum 180px et s'ajuste */
    min-width: 120px; /* évite que ça devienne trop petit */
    text-align: left;
}

.filter-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.filter-group input,
.filter-group select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 17px;
}

.btn-filtrer {
    padding: 8px 8px;
    background: #ff7b00;
    border: none;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    height: 45px;
    align-self: center;
}

.btn-filtrer:hover {
    background: #e56b00;
}

/* Superficie en ligne */
.filter-superficie .superficie-row {
    display: flex;
    gap: 8px;
}

.filter-superficie .superficie-row input,
.filter-superficie .superficie-row select {
    flex: 1 1 0;
    min-width: 0;
}

  /* Mettre les prix min et max sur la même ligne */
    .filter-prix .prix-row {
        display: flex;
        gap: 8px;
    }

    .filter-prix .prix-row input {
        flex: 1 1 0; /* chaque input prend moitié de la ligne */
        min-width: 0;
    }

/* RESPONSIVE TABLETTE (>=480px et <=1024px) */
@media (max-width: 1024px) {
    .quick-filter {
        width: 90%;
        padding: 15px;
    }

    .filter-group {
        flex: 1 1 30%; /* 2 par ligne sur tablette */
        min-width: 100px;
    }
}

/* RESPONSIVE PETIT TABLETTE / GRAND MOBILE */
@media (max-width: 768px) {
    .filter-group {
        flex: 1 1 30%; /* 2 par ligne, s’adapte */
    }

}

/* MOBILE */
@media (max-width: 480px) {
    .filter-group {
        flex: 1 1 100%; /* chaque filtre prend toute la ligne */
    }

    .quick-filter h3 {
        font-size: 20px;
    }

    .filter-group label {
        font-size: 12px;
    }

    .filter-group input,
    .filter-group select {
        font-size: 16px;
        padding: 8px;
    }

    .btn-filtrer {
        width: 100%;
        margin-top: 10px;
        height: 45px;
    }
}

.message-recherche {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px 30px;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    z-index: 9999;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.message-recherche.show {
    display: block;
}
/* 🌟 SECTION TÉMOIGNAGES - STYLE PREMIUM */
.temoignages-section {
	background: white;
    background: url('avis.png') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 25px;
    padding: 30px;
    width: 90%;
    margin: 30px auto;
    flex-wrap: wrap;
    font-family: 'Inter', sans-serif;
}

/* ---------------------- */
/* 🔹 SLIDER TOP 5 AVIS   */
/* ---------------------- */

.temoignages-wrapper {
    flex: 2;
    min-width: 310px;
    max-width: 450px;
}

.top5-avis-slider {
    height: 350px; /* 🎯 même hauteur que la carte d'avis */
    overflow: hidden;
background: linear-gradient(135deg, #001F3F, #00BFFF);
    padding: 20px;
    width: 100%;
    backdrop-filter: blur(6px);
    border: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
	font-size:20px;
}

.top5-avis-item {
    display: none;
    flex-direction: column;
    padding: 15px;
    animation: fadeIn 0.5s ease-in-out;
    text-align: center;
}

.top5-avis-item p{
    color:black;
}
.top5-avis-item.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.avis-texte {
    font-size: 15px;
    color: #444;
    margin-bottom: 14px;
    line-height: 1.5;
}

.top5-stars {
    color: #ffb400;
    margin-bottom: 8px;
    font-size: 18px;
}

.avis-auteur {
    font-size: 14px;
    opacity: 0.6;
    margin-top: 5px;
}

/* ---------------------- */
/* 🖊️ FORMULAIRE AVIS      */
/* ---------------------- */

.ajout-avis {
    flex: 1;
    min-width: 310px;
    max-width: 400px;
    background: rgba(255,255,255,0.85);
    padding: 20px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.55);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;   /* 🎯 même hauteur visuelle */
    height: 350px;             /* 🎯 même hauteur que le slider */
	
}

.ajout-avis h3 {
    text-align: center;
    font-size: 24px;
    color: #333;
    font-weight: 700;
    margin-bottom: 8px;
}

/* Zone de texte */
.ajout-avis textarea {
    width: 100%;
    min-height: 110px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid #ccc;
    resize: vertical;
    font-size: 15px;
    transition: all 0.3s;
    background: #fafbff;
}

.ajout-avis textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0,123,255,0.25);
}

/* ⭐ Étoiles */
.rating-form {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.rating-form span {
    width: 32px;
    height: 32px;
    font-size: 32px;
    cursor: pointer;
    color: #ccc;
    position: relative;
}

.rating-form span::before {
    content: '★';
    position: absolute;
}

.rating-form span.hover::before,
.rating-form span.selected::before {
    color: #ffb400;
}

/* Bouton */
.ajout-avis button {
    background: linear-gradient(135deg, #007bff, #005fcc);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 14px;
    font-size: 17px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
    margin-top: 10px;
	align-items:center;
	justify-content:center;
}

.ajout-avis button:hover {
    background: linear-gradient(135deg, #005fcc, #004aad);
}

.avis-texte {
    font-size: 22px;   /* 15 → 17 */
    line-height: 1.6;  /* meilleure lecture */
    margin-bottom: 18px; /* plus d’air */
}

.top5-stars {
    font-size: 22px;   /* 18 → 20 */
    margin-bottom: 10px;
}

.avis-auteur {
    font-size: 20px;   /* 14 → 15 */
    margin-top: 10px;
}

.note-moyenne {
    width: 100%;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: black; /* couleur étoile */
    text-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.ajout-avis h3 {
    font-size: 18px;   
}
.ajout-avis p {
    font-size: 18px;   
}

/* ---------------------- */
/* 📱 RESPONSIVE          */
/* ---------------------- */
@media (max-width: 768px) {
    .temoignages-section {
        flex-direction: column;
        align-items: center;
        width: 95%;
        padding: 20px;
    }

    .top5-avis-slider,
    .ajout-avis {
        width: 95%;
        height: auto; /* s’ajuste en mobile */
    }
	.note-moyenne {
    font-size: 16px; 
}

.avis-texte {
    font-size: 16px;   /* 15 → 17 */
    
}

.top5-stars {
    font-size: 16px;   /* 18 → 20 */
}

.avis-auteur {
    font-size: 16px;   /* 14 → 15 */
}
.ajout-avis h3 {
    font-size: 16px;   
}
.ajout-avis p {
    font-size: 16px;   
}

}


/* =========================
   SECTION FAQ - STYLE MODERNE
========================= */

.faq-section {
    width: 90%;
    max-width: 1100px;
    margin: 20px auto;
    padding: 60px 30px;
    background: linear-gradient(
        135deg,
        rgba(13, 110, 253, 0.12),
        rgba(255, 140, 0, 0.10)
    );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.08);
    font-family: 'Inter', sans-serif;
}

/* TITRE */
.faq-section h2 {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #0d6efd, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* TEXTE INTRO */
.faq-intro {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 40px auto;
    font-size: 17px;
    color: #444;
    line-height: 1.7;
}

/* BOUTON CTA */
.faq-cta {
    text-align: center;
}

.faq-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #ff8c00, #ff6a00);
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.35);
    transition: all 0.35s ease;
}

/* HOVER CTA */
.faq-link-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(255, 140, 0, 0.45);
    background: linear-gradient(135deg, #ff6a00, #ff8c00);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .faq-section {
        padding: 40px 20px;
        margin: 50px auto;
        border-radius: 18px;
    }

    .faq-section h2 {
        font-size: 26px;
    }

    .faq-intro {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .faq-link-btn {
        padding: 12px 24px;
        font-size: 15px;
    }
}


/* --- Chatbox Intelligent --- */
.chatbox-container {
	display:none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    font-family: 'Poppins', sans-serif;
    z-index: 9999;
}

.chatbox-header {
    background: #ff7a00;
    color: white;
    padding: 12px;
    border-radius: 15px 15px 0 0;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.chatbox-body {
    background: white;
    height: 0;
    overflow: hidden;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: 0.3s ease;
}

.chatbox-body.open {
    height: 350px;
}

.chat-messages {
    height: 260px;
    overflow-y: auto;
    padding: 10px;
}

.msg {
    padding: 10px 12px;
    margin-bottom: 8px;
    border-radius: 10px;
    font-size: 14px;
    max-width: 85%;
}

.msg.bot {
    background: #f1f1f1;
    align-self: flex-start;
}

.msg.user {
    background: #ff8800;
    color: white;
    align-self: flex-end;
    margin-left: auto;
}

.chat-input-box {
    display: flex;
    padding: 8px;
    border-top: 1px solid #ddd;
}

.chat-input-box input {
    flex: 1;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.chat-input-box button {
    margin-left: 8px;
    padding: 8px 12px;
    border: none;
    background: #ff7a00;
    color: white;
    border-radius: 8px;
    cursor: pointer;
}

@media screen and (max-width: 468px) {
    .chatbox-container {
        width: 60px;
        bottom: 15px;
        right: 15px;
    }

    .chatbox-header {
        font-size: 0;
        padding: 10px;
    }

    .chatbox-header::before {
        content: "\f082"; /* icône headset FontAwesome */
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        font-size: 24px;
        color: white;
    }

    .chatbox-body {
        display: none; /* n’ouvre pas directement */
    }
}

/* --- Bouton créer une alerte centré --- */
.alerte-btn-container {
    display: flex;
    justify-content: center;
    margin: 15px 0; /* réduit l'espace au-dessus et en dessous */
}

.btn-alerte {
    background: #ff8c00;
    color: white;
    padding: 8px 14px; /* léger ajustement */
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.btn-alerte:hover {
    background: #e67e00;
}

/* --- Popup alerte --- */
.popup-alerte {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center; 
    align-items: center;
    z-index: 99999;
}

.popup-content {
    background: #fff;
    padding: 16px;
    width: 90%;
    max-width: 380px; /* un peu plus petit */
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px; /* réduit les espaces entre champs */
}

/* Champs du formulaire */
.popup-content input,
.popup-content select {
    width: 100%;
    padding: 6px 8px;
    margin: 0; /* supprime marge par défaut */
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}

/* Bouton envoyer dans le popup */
.popup-content .btn-alerte {
    align-self: center;
    margin-top: 8px; /* espace léger au-dessus du bouton */
}

/* Bouton fermer */
.closePopup {
    align-self: center;
    margin-top: 6px;
    background: #ccc;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

/* Pour les labels, réduire l'espace */
.popup-content label {
    margin-bottom: 2px;
    font-size: 14px;
}

/* ================= HEADER AUTOCOMPLETE ================= */
/* ================= HEADER AUTOCOMPLETE ================= */
#suggestions-ville {
    position: absolute;
    top: 100%;
    background: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    max-height: 180px;
    overflow-y: auto;
    overflow-x: hidden !important;   /* ✔️ corrige ton problème */
    z-index: 99999999 !important;
    width: 100% !important;
    left: 0;
    color: black;
    white-space: nowrap; /* empêche les débordements */
}

#suggestions-ville div {
    padding: 8px 12px;
    cursor: pointer;
    white-space: normal; /* le texte reste normal */
}


#suggestions-ville div:hover {
    background-color: #f0f0f0;
}



/* ================= FILTER AUTOCOMPLETE ================= */
/* Le parent doit être référent */
.filter-group {
    position: relative;
}

/* ================= FILTER AUTOCOMPLETE ================= */
#suggestions-filter {
    position: absolute;
    top: 100%;                 /* ✔️ Juste en bas de l’input */
    left: 0;
    background: #fff;
    border: 1px solid #bbb;
    border-radius: 4px;
    max-height: 180px;
    overflow-y: auto;
    z-index: 1000;
    width: calc(100% + 120px); /* ✔️ augmente la largeur */
    box-shadow: 0 3px 5px rgba(0,0,0,0.1);
}

#suggestions-filter div {
    padding: 6px 10px;
    cursor: pointer;
}

#suggestions-filter div:hover {
    background-color: #e9e9e9;
}

.autocomplete-suggestions,
#suggestions-ville,
#suggestions-filter {
    border: none; /* supprime toute bordure supplémentaire */
}

@media screen and (max-width: 468px) {
   #suggestions-filter {
    width:100%; /* ✔️ augmente la largeur */
} 
}


/* ==========================
   BARRE D’ALERTE SÉCURITÉ
========================== */

.security-alert {
    position: relative;
    width: 100%;
    background: linear-gradient(90deg, #ffb703, #ff8c00);
    color: #1f1f1f;
    padding: 14px 50px 14px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    z-index: 10000;
}

.security-alert strong {
    font-weight: 700;
}

.alert-icon {
    font-size: 20px;
}

.security-alert p {
    margin: 0;
    line-height: 1.5;
}

/* Bouton fermer */
.alert-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.15);
    border: none;
    color: #000;
    font-size: 22px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.alert-close:hover {
    background: rgba(0,0,0,0.3);
    color: #fff;
}

/* 📱 Mobile */
@media (max-width: 768px) {
    .security-alert {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 45px 16px 16px;
        font-size: 14px;
    }

    .alert-close {
        top: 12px;
        right: 12px;
        transform: none;
    }
}


.badge-boost {
    position: absolute;      /* Se place par rapport au slideshow-container */
    bottom: 10px;               /* Même top que corner-info */
    left: 0px;              /* Décalage depuis le coin gauche */
    background-color: #FFD700; /* Jaune doré */
    color: black;
    padding: 4px 8px;
    font-weight: bold;
    border-radius: 5px;
    font-size: 0.75rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.4);
    z-index: 12;             /* Au-dessus des images et des coins-info */
    pointer-events: none;    /* Ne bloque pas les clics sur le slideshow */
}

.slideshow-container {
    position: relative; /* déjà présent, parfait */
}

.nom h3 a {
    color: #333;
    text-decoration: none;
    width: 100%;
    white-space: nowrap; /* Empêche le texte de passer à la ligne suivante */
    overflow: hidden;    /* Cache tout texte débordant */
    text-overflow: ellipsis; /* Ajoute "..." si le texte est trop long */
    font-size: 0.9rem !important;
    text-align: center;
}


.product-info .ville {
    display: block;           /* ou inline-block */
    white-space: nowrap;      /* empêche le retour à la ligne */
    overflow: hidden;         /* cache ce qui dépasse */
    text-overflow: ellipsis;  /* ajoute "..." si ça dépasse */
    max-width: 60%;           /* ou ajuster selon ton design */
}

.product-info span {
    display: block;           /* ou inline-block */
    white-space: nowrap;      /* empêche le retour à la ligne */
    overflow: hidden;         /* cache ce qui dépasse */
    text-overflow: ellipsis;  /* ajoute "..." si ça dépasse */
}.alerte-btn-container.top {
    text-align: center;
    margin-bottom: 15px;
}

.alerte-btn-container.bottom {
    display: flex;
    justify-content: center;
    gap: 10px; /* espace entre les boutons */
    margin-bottom: 20px;
}

.btn-alerte {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 6px;
    background-color: #ff6b6b;
    color: white;
    transition: background 0.2s;
}

.btn-alerte:hover {
    background-color: #ff3b3b;
}
