/* ----- Réinitialisation ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #fff;
  color: #222;
}

/* ----- Header ----- */
header {
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  height: 60px;
  width: auto;
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.color-white { color: white !important; }
.color-gray { color: #5e5e5e !important; }

/* ----- Section ----- */
section {
  width: 100%;
  display: flex;
  align-content: center;
  justify-content: center;
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: black;
}

.bg-section-gray { background-color : #F2EFEBFC; }

h1  {
	text-align: center;
	font-size: 1.4rem;
	margin: 10px 0;
	text-transform: uppercase;
	font-weight: bolder;
}

h1 > span  {  color: rgb(217, 50, 53); font-size: 1.8rem; }
h1 > b  {  color: #ff4d4d; }

section:nth-child(2) > .bg-black > .container > p  {  font-size: 1.1rem; }
section:nth-child(2) > .bg-black > .container > p {
	font-size: 1.2rem;
	text-align: left;
	line-height: 1.3;
	padding: 10px 0;
	text-wrap: auto;
	letter-spacing: 0.5px;
	word-spacing: 1px;
}
h2 {
	text-align: center;
	font-size: 2rem;
	margin: 10px 0;
	text-transform: uppercase;
}

h3 {
	text-align: center;
	font-size: 2rem;
	margin: 10px 0;
	text-transform: uppercase;
}


p {
  text-align: center;
  padding: 20px 80px;
  font-size: 1.2rem;
}

ul {
  font-size: 1.2rem;
	margin-left: 10px;
}

ul > li { margin: 5px 0 ; }

.container {
  width: 50%;
  margin: 50px 0;
  padding: 0px 20px 80px 0;
}

.bg-black {
  background-color: #404040c9;
  width: 100%;
  display: flex;
  justify-content: center;
}

.bg-bottom {
  background-image: url(https://www.sosserrurier.fr/images/demo-travel-agency-slider-07.png);
  background-position: bottom;
  width: 100%;
  position: absolute;
  bottom: 0;
  height: 70px;
  background-repeat: repeat-x;
}

.bg-bottom-2 {
  background-image: url(https://www.sosserrurier.fr/images/demo-travel-agency-home-bg-02.png);
  background-position: bottom;
  width: 100%;
  position: absolute;
  bottom: 0;
  height: 70px;
  background-repeat: repeat-x;
}

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

/* Tablettes (≤ 1024px) */
@media (max-width: 1024px) {
  .container {
    width: 70%;
    padding: 60px 20px;
  }

  p {
    padding: 20px 40px;
  }

  h2 {
    font-size: 1.8rem;
  }
}

/* Petits écrans et tablettes portrait (≤ 768px) */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }

  .logo {
    height: 50px;
  }

  .container {
    width: 85%;
    padding: 60px 15px;
  }

  h2 {
    font-size: 1.6rem;
  }

  p, ul {
    font-size: 1rem;
    padding: 15px 20px;
  }

  section {
    flex-direction: column;
    align-items: center;
  }
}

/* Mobiles (≤ 480px) */
@media (max-width: 480px) {
  .logo {
    height: 55px;
  }

  .container {
    width: 95%;
    margin: 0;
    padding: 40px 10px;
  }

  h2 {
    font-size: 1.5rem;
	text-align: left;   
  }

  p {
    font-size: 17px;
	  text-align: left;
	  padding: 0;
  }
ul {
    font-size: 17px;
    padding: 10px 10px;
	  text-align: left;
  }	
	

  .bg-bottom {
    height: 40px;
	background-size: cover;  
  }
	
  .bg-bottom-2 {
    height: 40px;
	background-size: cover;  
  }	

  /* ✅ Section plein écran sur mobile en déduisant le header */
  section {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
	
   section:nth-child(2) {
    min-height: calc(100vh - 80px); /* 80px ≈ hauteur du header */

  }

.bg-black {
	height: 100%;
	display: flex;
	align-items: flex-start;
	min-height: 100vh;
}
	
.contact-container {
  display: block !important;
 height: auto !important;
  width: 100% !important;
  padding: 0;
}	
	
}




/* Container-box : grille pour les cartes */
.container-box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

/* Carte individuelle */
.card {
  background-color: #ffffffcc; /* semi-transparent */
  color: #222;
  flex: 1 1 calc(25% - 20px); /* 4 cartes par ligne sur desktop */
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.card i {
  font-size: 4rem;
  color: #c62020;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.card p {
	font-size: 1rem;
	line-height: 1.5;
	padding: 0 0 20px 0;
}
/* ====================== */
/*      RESPONSIVE        */
/* ====================== */

/* Tablettes (≤ 1024px) */
@media (max-width: 1024px) {
  .card {
    flex: 1 1 calc(50% - 20px); /* 2 cartes par ligne */
    padding: 18px;
  }

  .card h3 {
    font-size: 1.2rem;
  }

  .card p {
    font-size: 0.95rem;
  }
}

/* Mobiles (≤ 480px) */
@media (max-width: 480px) {
  .card {
    flex: 1 1 100%; /* 1 carte par ligne */
    padding: 15px;
  }

  .card i {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .card h3 {
    font-size: 1.1rem;
  }

  .card p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .container-box {
    gap: 15px;
  }
}


.services-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.service-card {
  flex: 1 1 calc(33.33% - 20px); /* 3 cartes par ligne sur desktop */
  background-color: #ffffffcc;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.service-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.service-card h3 {
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.service-card .price {
  font-weight: bold;
  color: #ff6600;
  margin-bottom: 10px;
  padding: 0;	
}

.service-card .description {
	font-size: 1.2rem;
	line-height: 1.5;
	padding: 10px 20px;
	text-align: left;
}

.service-card button {
	background-color: #1a6cc4;
	color: #fff;
	text-decoration: none;
	padding: 16px 40px;
	border-radius: 8px;
	font-size: 1.2rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 10px;
	transition: all 0.3s ease;
	border: 0px;
	width: 100%;
	justify-content: center;
}

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

/* Tablettes (≤ 1024px) */
@media (max-width: 1024px) {
  .service-card {
    flex: 1 1 calc(50% - 20px); /* 2 cartes par ligne */
    padding: 12px;
  }

  .service-card h3 {
    font-size: 1.2rem;
  }

  .service-card .description {
    font-size: 0.95rem;
  }
}

/* Mobiles (≤ 480px) */
@media (max-width: 480px) {
  .service-card {
    flex: 1 1 100%; /* 1 carte par ligne */
    padding: 10px;
  }

  .service-card h3 {
    font-size: 1.1rem;
  }

.service-card .price {
	font-size: 1rem;
	text-align: center;
}

  .service-card .description {
    font-size: 0.9rem;
    line-height: 1.3;
  }
}

.service-card ul {
  text-align: left;
  padding-left: 20px;
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.4;
  list-style-type: disc;
  color: #222;
}

/* Responsive déjà existant */
@media (max-width: 1024px) {
  .service-card ul {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .service-card ul {
    font-size: 0.85rem;
    padding-left: 15px;
    line-height: 1.3;
  }
}




.description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
  color: #333;
}

/* Slider des assureurs */
.assureurs-slider {
	overflow: hidden;
	width: 100%;
	margin: 50px 0;
}

.assureurs-track {
  display: flex;
  gap: 30px;
  animation: slide 20s linear infinite;
}

.assureurs-track img {
  max-height: 80px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 5px;
}

/* Animation slide */
@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* moitié de la track pour boucle */
}

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

/* Tablettes */
@media (max-width: 1024px) {
  .bg-section-gray h2 {
    font-size: 1.8rem;
  }
  .bg-section-gray .description {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .assureurs-track img {
    max-height: 70px;
  }
}

/* Mobiles */
@media (max-width: 480px) {
  .bg-section-gray h2 {
    font-size: 1.5rem;
  }
  .bg-section-gray .description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  .assureurs-track img {
    max-height: 100px;
    gap: 15px;
  }
}


.container.sos-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 20px;
}



/* Image principale */
.image-wrapper {
  position: relative;
  flex: 1;
}

.image-wrapper > img:first-child { border-radius: 10px;  }

.image-wrapper .main-image {
  width: 410px;
  height: 560px;
  object-fit: cover;
  border-radius: 20px; /* bord arrondi */
}

.image-wrapper .overlay-image {
  position: absolute;
  top: 20%;
  left: -60px; /* dépassement à gauche */
  width: 240px;
  height: 310px;
  border-radius: 20px;
  border: 0px solid #fff;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Contenu à droite */
.sos-content {
  flex: 1;
  text-align: justify; /* texte justifié à gauche */
}

.sos-content h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  text-align: left;
}

.sos-content p {
  font-size: 1.1rem;
  line-height: 1.5;
	text-align: left;
	padding: 0;
  margin-bottom: 20px;
}

.sos-content ul {
  list-style-type: disc;
  padding-left: 20px;
  color: #222;
  text-align: left;
}

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

/* Tablettes */
@media (max-width: 1024px) {
  .container.sos-container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .image-wrapper .main-image {
    width: 320px;
    height: 440px;
  }

  .overlay-image {
    width: 180px;
    height: 230px;
    left: -40px;
  }

  .sos-content h2 {
    font-size: 1.8rem;
  }

  .sos-content p {
    font-size: 1rem;
  }

  .sos-content ul {
    font-size: 0.95rem;
  }
}

/* Mobiles */
@media (max-width: 480px) {
  .container.sos-container {
    flex-direction: column;
    align-items: center;
  }
	
	.image-wrapper > img:first-child {
	border-radius: 10px;
	width: 95%;
	margin-left: 10%;
}

  .image-wrapper .main-image {
    width: 250px; /* réduit pour que overlay reste dans l'écran */
    height: 340px;
  }

  .overlay-image {
    width: 140px !important;
    height: 180px !important;
    left: -20px !important; /* ajuste le dépassement */
  }

  .sos-content h2 {
    font-size: 1.5rem;
    text-align: justify;
  }

  .sos-content p {
    font-size: 0.95rem;
    text-align: justify;
  }

  .sos-content ul {
    font-size: 0.9rem;
    padding-left: 15px;
    text-align: justify;
  }
}


.rating-box {
  background-color: #ffffff; /* fond blanc */
  border-radius: 12px;
  padding: 15px 20px;
  margin-top: 20px;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* ombre */
}

.rating-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.score {
  font-weight: bold;
  font-size: 1.5rem;
  color: #222;
}

.divider {
  width: 2px;
  height: 30px;
  background-color: #ccc; /* gris */
}

.stars i {
  color: #ffc107; /* jaune étoiles */
  margin-right: 5px;
  font-size: 1.2rem;
}

.rating-source {
  margin-top: 8px;
  font-size: 0.95rem;
  color: #555;
  text-align: center;
}

/* Responsive */

/* Tablettes */
@media (max-width: 1024px) {
  .rating-box {
    padding: 12px 15px;
  }

  .score {
    font-size: 1.3rem;
  }

  .stars i {
    font-size: 1rem;
  }

  .divider {
    height: 25px;
  }

  .rating-source {
    font-size: 0.85rem;
  }
}

/* Mobiles */
@media (max-width: 480px) {
  .rating-box {
    padding: 10px 12px;
	width: 100%;  
  }

  .score {
    font-size: 2rem;
  }

  .stars i {
    font-size: 0.9rem;
  }

  .divider {
    height: 20px;
  }

  .rating-source {
    font-size: 0.8rem;
  }
}


.sos-content ul {
  list-style-type: disc; /* puce classique */
  padding-left: 20px;
  color: #777; /* texte gris */
}

/* puces en rouge */
.sos-content ul li {
  position: relative;
  margin-bottom: 8px;
  color: #777; /* texte gris */
}

.sos-content ul li::marker {
  color: #ff4d4d; /* puce rouge */
}


/* Container flex */
.contact-container {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 40px;
	width: 100% !important;
	padding: 0;
	height: 400px;
}

/* Texte à gauche */
.contact-text {
  flex: 1;
  text-align: left;
  padding: 40px 20px;
}

.contact-text h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.contact-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
}

/* Maps à droite */
.contact-map {
  flex: 1;
  border-radius: 0; /* si tu veux coins arrondis, mettre par ex. 12px */
  overflow: hidden;
  height: 400px;	
}

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

/* Tablettes */
@media (max-width: 1024px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-map {
    height: 400px; /* hauteur fixe pour tablette */
    width: 100%;
  }

  .contact-text h2 {
    font-size: 1.8rem;
  }

  .contact-text p {
    font-size: 1rem;
  }
}

/* Mobiles */
@media (max-width: 480px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-map {
    height: 300px; /* hauteur fixe pour mobile */
    width: 100%;
  }

  .contact-text h2 {
    font-size: 1.5rem;
  }

  .contact-text p {
    font-size: 0.95rem;
  }
}

footer {
  background-color: #222;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  font-size: 0.95rem;
}

footer a {
  color: #f2f2f2;
  text-decoration: underline;
  margin-left: 5px;
}

footer a:hover {
  color: #ff4d4d; /* effet au survol */
}

/* Responsive */
@media (max-width: 480px) {
  footer {
    font-size: 0.85rem;
    padding: 15px 10px;
  }
}


/* ===== Bouton d'appel flottant ===== */
.call-floating {
  display: none; /* caché par défaut */
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ff4d4d;
  color: #fff;
  padding: 14px 24px;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  text-decoration: none;
  z-index: 10000;
  transition: all 0.3s ease;
  animation: pulse 1.8s infinite;
  width: 90%;	
}

.call-floating i {
  font-size: 1.4rem;
}

.call-floating span {
  font-size: 1.05rem;
  font-weight: 600;
}

/* Effet hover */
.call-floating:hover {
  background-color: #e63e3e;
  transform: translateX(-50%) scale(1.05);
}

/* Animation de pulsation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 77, 77, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 77, 77, 0);
  }
}

/* ✅ Affiché uniquement sur mobile */
@media (max-width: 768px) {
  .call-floating {
    display: flex;
  }
}

/* Pour les très petits écrans */
@media (max-width: 400px) {
  .call-floating {
    font-size: 0.95rem;
    padding: 12px 20px;
  }
  .call-floating i {
    font-size: 1.2rem;
  }
}

/* ===== Bouton flottant Nos Prestations ===== */
.service-floating {
  display: none; /* caché sur desktop */
  position: fixed;
  bottom: 15%;
  right: 0;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 10000;
  font-size: 1.05rem;
  font-weight: 600;
  height: 60px; /* même taille que le bouton appel */
  transition: background-color 0.3s ease;
}

.service-floating i {
  font-size: 1.4rem;
}

.service-floating:hover {
  background-color: #0056b3;
}

/* ✅ Affiché uniquement sur mobile */
@media (max-width: 768px) {
  .service-floating {
    display: flex;
  }
}

/* Petits écrans */
@media (max-width: 400px) {
  .service-floating {
    font-size: 0.95rem;
    padding: 12px 20px;
    height: 55px;
  }

  .service-floating i {
    font-size: 1.2rem;
  }
}

/* ===== Bouton d'appel en bas de section ===== */
.btn-call-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.btn-call {
  background-color: #ff4d4d;
  color: #fff;
  text-decoration: none;
  padding: 16px 40px;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.btn-call i {
  font-size: 1.3rem;
}

.btn-call:hover {
  background-color: #e63e3e;
  transform: translateY(-3px);
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .btn-call {
    width: 90%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 14px 20px;
  }
}


.custom-list {
  list-style: none; /* Supprime les puces par défaut */
  padding-left: 0;
  margin: 20px 0;
  color: white;
}

.custom-list li {
  position: relative;
  padding-left: 35px; /* espace pour la puce */
  margin-bottom: 15px;
  color: white; /* texte gris */
  font-size: 1.1rem;
}

/* Ajouter puce ronde rouge avec flèche inside */
.custom-list li::before {
  content: "\f061"; /* icône flèche Font Awesome (fas fa-arrow-right) */
  font-family: "Font Awesome 6 Free"; 
  font-weight: 900; /* nécessaire pour Font Awesome solide */
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-color: #ff4d4d; /* rond rouge */
  color: #fff; /* flèche blanche */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}


/* Fond semi-transparent */
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: none;
    justify-content: center;
    align-items: center;
  }

  /* Fenêtre modale centrée */
  .modal {
    background: #fff;
    padding: 30px 40px;
    border-radius: 15px;
    width: 320px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

  /* Titre */
  .modal h2 {
    margin-bottom: 25px;
    font-size: 1.5em;
    color: #555; /* gris */
  }

  /* Liste des villes */
  .cities {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .cities li {
    margin: 12px 0;
  }

  .cities button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: #c63535; /* rouge */
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  .cities button:hover {
    background: #a22a2a;
    transform: translateY(-2px);
  }

	.overlay-title {
	  font-size: 1.2rem;
	  color: #313131;
	}


/* Overlay modale */
.service-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none; /* masqué par défaut */
  justify-content: center;
  align-items: center;
  animation: fadeInOverlay 0.3s forwards;
  z-index: 9999;
  padding: 10px; /* pour mobile */
  box-sizing: border-box;
}

/* Fenêtre modale */
.service-modal {
  background: #fff;
  padding: 25px 30px;
  border-radius: 15px;
  width: 100%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  transform: scale(0.8);
  opacity: 0;
  animation: zoomInModal 0.3s forwards;
  position: relative;
  box-sizing: border-box;
}

/* Titre de la modale */
.service-modal h2 {
  margin-bottom: 20px;
  color: #333;
  font-size: 1.4em;
}

/* Champ texte */
.service-modal input[type="text"] {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  margin-bottom: 20px;
  font-size: 1em;
  box-sizing: border-box;
}

/* Bouton rechercher */
.service-modal button.search-btn {
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  background: #c63535;
  color: #fff;
  cursor: pointer;
  font-size: 1em;
  transition: background 0.3s, transform 0.2s;
  width: 100%;
  display: block;
}

.service-modal button.search-btn:hover {
  background: #a22a2a;
  transform: translateY(-2px);
}

/* Bouton fermer amélioré */
.service-modal .close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2em;       /* plus grand */
  color: #888;
  cursor: pointer;
  padding: 5px;
  background: rgba(0,0,0,0.05); /* léger fond rond */
  border-radius: 0;
  transition: background 0.3s, color 0.3s;
}

.service-modal .close-btn:hover {
  color: #c63535;       /* couleur rouge au hover */
  background: rgba(0,0,0,0.1); /* fond légèrement plus visible */
}

.service-subtitle {
  color: #777;           /* gris clair */
  font-size: 0.95em;     /* légèrement plus petit que le titre */
  margin-bottom: 15px;   /* espace avec le champ texte */
}
/* Animations */
@keyframes fadeInOverlay {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes zoomInModal {
  from {transform: scale(0.8); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

/* Responsive */
@media (max-width: 480px) {
  .service-modal {
    padding: 20px;
  }

  .service-modal h2 {
    font-size: 1.2em;
  }

  .service-modal input[type="text"] {
    padding: 10px;
    font-size: 0.95em;
  }

  .service-modal button.search-btn {
    padding: 10px;
    font-size: 0.95em;
  }
	
.service-modal .close-btn {
    font-size: 2.5em;   /* encore plus grand sur mobile */
    top: 10px;
    right: 10px;
    padding: 8px;
  }	
}

.error {
  color: #c63535;
  background: #ffe6e6;
  border: 1px solid #c63535;
  border-radius: 8px;
  padding: 10px;
  font-weight: 500;
  margin-bottom: 15px;
  display: none;
}

@media (max-width: 768px) {
  .service-modal {
    max-width: 350px;
  }
}

/* Responsive mobile */
@media (max-width: 480px) {

  #loadingOverlay div i {
    font-size: 1.8em;
  }
  #loadingOverlay div p {
    font-size: 0.9em;
    margin-bottom: 15px;
  }
  #loadingOverlay div div#progressBar {
    height: 10px;
  }
}

@media (max-width: 768px) {

  #loadingOverlay div i {
    font-size: 1.2em;
  }
  #loadingOverlay div p {
    font-size: 0.95em;
  }
}


/* === START LOADING OVERLAY === */
#startLoadingOverlay {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#startLoadingOverlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.start-loading-content {
  text-align: center;
  width: 90%;
  max-width: 300px;
  animation: fadeInUp 0.6s ease both;
}

.start-logo {
  width: 120px;
  height: auto;
  margin-bottom: 25px;
  animation: pulseLogo 2s infinite ease-in-out;
}

/* BARRE DE CHARGEMENT */
.loading-bar-container {
  width: 100%;
  height: 10px;
  background: #eaeaea;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 15px;
  box-shadow: inset 0 1px 4px rgba(0,0,0,0.1);
}

.loading-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #c63535, #e05656);
  border-radius: 10px;
  transition: width 0.1s linear;
}

.loading-text {
  font-size: 0.95em;
  color: #555;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ANIMATIONS */
@keyframes pulseLogo {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
}

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

    /* Position fixe en bas à droite */
.floating-btn {
	position: fixed;
	right: 5%;
	bottom: 90px;
	z-index: 9999;
	display: flex;
	align-items: center;
	gap: 10px;
	background: linear-gradient(135deg,#2d859f,#0f5976);
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 12px 18px;
	font-size: 16px;
	box-shadow: 0 8px 20px rgba(16,24,40,0.25);
	cursor: pointer;
	text-decoration: none;
	transition: transform .18s ease, box-shadow .18s ease;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
	width: 90%;
	justify-content: center;
	height: 44px;
}

    .floating-btn:focus {
      outline: 3px solid rgba(14,165,164,0.25);
      outline-offset: 3px;
    }

    .floating-btn:hover {
      transform: translateY(-4px);
      box-shadow: 0 14px 30px rgba(16,24,40,0.28);
    }

    .floating-btn .label {
      white-space: nowrap;
      font-weight: 600;
      letter-spacing: 0.1px;
    }

    /* petit effet sur l'icône (translation de la flèche) */
    .floating-btn .fa-arrow-right {
      transition: transform .18s ease;
    }
    .floating-btn:hover .fa-arrow-right {
      transform: translateX(6px);
    }

    /* Option : réduire sur petit écran */
    @media (max-width: 420px) {
.floating-btn {
	left: 5%;
	bottom: 90px;
	padding: 10px 14px;
	font-size: 14px;
}
      .floating-btn .label { display: block; } /* si tu veux juste l'icône sur mobile */
      .floating-btn .fa-arrow-right { margin-left: 0; } 
    }
