

:root {
  --bleu: #2C7ACF;
  --bleu-clair: #5DA9E9;
  --bleu-fonce: #09417d;
  --gris-texte: #444;
}


section {
  padding: 60px 20px;
  margin: 0 auto;
  max-width: 1200px;
}

p, span, li, a, button {
  font-family: 'Raleway', sans-serif;
}

.intro-seo,
.prestations-seo,
.avis-seo,
.partenaires-seo,
.map-seo,
.footer-seo {
  font-family: 'Raleway', sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  max-width: 800px;
  margin: 0 auto 30px;
  text-align: center;
  padding: 0 20px;
}


/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #c1e6f5;
  overflow-x: hidden;
  font-family: 'Raleway', sans-serif;
  line-height: 1.5;
}

.container-global {
  max-width: 1200px;
  margin: 0 auto;      /* centre horizontalement */
  padding: 0 0px;     /* garde un peu d’air sur les côtés */
}

/* ===== BACKDROP ===== */
#backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;              /* juste derrière le menu */
  display: none;             /* caché par défaut */
}
#backdrop.active { display: block; }


/* ===== ESPACEMENT GLOBAL ===== */
section {
  margin: 60px 0;
  padding: 20px 0;
}
h1,h2 {
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;

  /* Couleur harmonisée */
  background: linear-gradient(90deg, #09417d, #5DA9E9);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== HEADER VIDEO ===== */
header {
  position: relative;
  width: 100%;
  height: 30vh;        /* hauteur équilibrée : 30% de la fenêtre */
  min-height: 300px;   /* garde une base minimale sur petits écrans */
  overflow: hidden;
}

.header-video {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* recadre sans déformation */
}


/* ===== BOUTON MENU ===== */
#menu-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  background: #5DA9E9;
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: background 0.2s, transform 0.2s;
}
#menu-btn:hover {
  background: #1B5EA8;
  transform: scale(1.05);
}

/* ===== MENU LATERAL ===== */
#menu-lateral {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100%;
  background: linear-gradient(180deg, #5DA9E9 0%, #2C7ACF 100%);
  box-shadow: -4px 0 12px rgba(0,0,0,0.25);
  padding-top: 60px;
  transition: right 0.3s ease;
  z-index: 1000;
  border-radius: 12px 0 0 12px;
}
#menu-lateral.active { right: 0; }
#menu-lateral ul { list-style: none; padding: 0; margin: 0; }
#menu-lateral li { margin: 25px 0; text-align: center; }
#menu-lateral a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 1.2em;
  transition: transform 0.2s, color 0.2s;
}
#menu-lateral a:hover { color: #353c4b; transform: scale(1.1); }

/* ===== OVERLAY ===== */
.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 0 20px;
}
.overlay p {
  font-size: 1.2em;
  margin: 10px 0;
}
.overlay button {
  margin-top: 20px;
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  background: #5DA9E9;
  color: #fff;
  cursor: pointer;
}
.overlay button:hover { background: #5476a8; color: #000; }

/* ===== LOGO + TITRE ===== */
.header-titre-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.header-titre-logo .logo {
  max-width: 300px;   /* ajuste selon ton design */
  height: auto;
}

/* ===== GRID CATEGORIES ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  padding: 0 20px;
}
.category-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}
.category-card img {
    aspect-ratio: 3 / 2;
    width: 100%;
    object-fit: cover;
}
.category-card .label {
  padding: 12px;
  font-weight: 600;
  color: #333;
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.25);
}

/* ===== GRID PRESTATIONS ===== */
.prestations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  padding: 0 0px;
}

/* ===== CARTE PRESTATION ===== */
.prest-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}


.prest-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.prest-card img {
    aspect-ratio: 3 / 2;
    width: 100%;
    object-fit: cover;
}

.prest-card h3 {
  font-size: 1.2em;
  margin: 12px;
  font-family: 'Playfair Display', serif;
}

.prest-card p {
  margin: 0 12px 12px;
  color: #555;
  font-size: 0.95em;
}

.prest-card span {
  margin: 0 12px 12px;
  font-weight: 600;
  color: #2C7ACF;
}

#prestations-modal .close {
  position: sticky;   /* reste collé en haut */
  top: 0;             /* toujours visible au sommet du scroll */
  float: right;       /* aligné à droite */
  margin: 10px;
  z-index: 10;        /* au-dessus du contenu */
  background: #2C7ACF;
  color: #fff;
  font-size: 20px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

#prestations-modal .close:hover {
  background: #5DA9E9;
  color: #000;
}






/* ===== BOUTONS ===== */
.prest-card button {
  width: 100%;
  margin: 0;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: #5DA9E9;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.prest-card button:hover {
  background: #86b7f0;
  color: #000;
}



.prest-card .actions {
  margin-top: auto; /* pousse les boutons en bas */
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px; /* espace propre entre les boutons */}

.prest-card .actions button {
  width: 100%;
  margin-bottom: 10px;
}

.prest-card .actions button:last-child {
  margin-bottom: 0;
}

/* ===== POP-UP INFO LABEL ===== */
#modal-label {
  margin-top: 20px;
  font-size: 1.3em;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.5px;

  /* Effet premium */
  background: linear-gradient(90deg, #2C7ACF, #5DA9E9);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Animation subtile */
  opacity: 0;
  transform: translateY(10px);
  animation: fadeSlideIn 0.5s ease forwards;
}

/* Animation */
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

#info-modal .close {
  position: absolute;
  top: 12px;
  right: 16px;       /* bien à droite */
  font-size: 1.6em;
  color: #888;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.2s ease;
}

#info-modal .close:hover {
  color: #2C7ACF;    /* bleu élégant au hover */
  transform: scale(1.2);
}

/* ===== AVIS CLIENTS ===== */
#avis {
  margin: 60px auto;
  text-align: center;
  max-width: 1200px;   /* largeur cohérente avec les autres sections */
  padding: 0 20px;     /* marge latérale */
}

.avis-card {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: opacity 0.8s ease-in-out;
  opacity: 0; /* état initial pour l’effet fade */
}

.avis-card p {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-style: italic;
}

.avis-card span {
  font-weight: bold;
  color: #555;
}

.stars {
  color: #2C7ACF;   /* bleu du thème */
  font-size: 1.2em; /* légèrement plus grand */
  margin-left: 6px;
}

#avis-author .stars {
  color: #2C7ACF !important;
}



/* ===== FORMULAIRE CONTACT ===== */


.contact-options button {
  padding: 10px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background-color: #0077cc;
  color: white;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-options button:hover {
  background-color: #005fa3;
}

#contact-modal h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

#contact-modal p {
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: center;
  color: #333;
}

.contact-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 240px;
  padding: 14px 0;
  border-radius: 50px;       /* arrondi officiel */
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.3s ease;
  border: 2px solid #000;    /* contour noir uniforme */
}

.contact-btn:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.contact-btn .icon {
  width: 20px;
  height: 20px;
}

/* Couleurs officielles */
.contact-btn.email     { background-color: #0077cc; color: #fff; }
.contact-btn.messenger { background-color: #0084ff; color: #fff; }
.contact-btn.whatsapp  { background-color: #25d366; color: #fff; }
.contact-btn.phone     { background-color: #fff; color: #000; }


/* ===== MODALE ===== */
.modal {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(6px);
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2000;
}
.modal.hidden { display: none; }

.modal-content {
background: linear-gradient(135deg, #fff, #f9f9f9);
border-radius: 12px;
box-shadow: 0 12px 32px rgba(0,0,0,0.15);
  padding: 20px;
  max-width: 900px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  position: relative;
}

.modal-content h2 {
  text-align: center;
  margin-bottom: 20px;
}

.modal-content .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5em;
  color: #666;
  transition: color 0.2s ease;
  cursor: pointer;
}

.modal-content .close:hover {
  color: #e74c3c;
}

.modal:not(.hidden) { 
  opacity: 1; 
}

.modal:not(.hidden) .modal-content {
  transform: translateY(0);
}

/*scroll bar*/

.modal-content::-webkit-scrollbar {
  width: 8px;
}
.modal-content::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 12px;
}
.modal-content::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 12px;
}


/* ===== RESPONSIVE DESIGN ===== */
@media(max-width:768px){
  .header-titre-logo { font-size: 10vw; }
  .first-letter-container .logo { width: 1.5em; }
  .category-grid, .prestations-grid { grid-template-columns: 1fr 1fr; }
}

@media(max-width:480px){
  .header-titre-logo { font-size: 12vw; }
  .first-letter-container .logo { width: 1.3em; }
  .category-grid, .prestations-grid { grid-template-columns: 1fr; }
}
/* ===== SECTION MAP ===== */
#map {
  margin: 60px auto;       /* espace au-dessus et en dessous */
  text-align: center;
  max-width: 1200px;       /* largeur max pour éviter de coller aux bords */
  padding: 0 20px;         /* marge intérieure gauche/droite */
}

.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;  /* ratio 16:9 */
  height: 0;
  overflow: hidden;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;      /* optionnel : arrondir les coins pour un rendu plus élégant */
}


footer {
  background-color: none;
  padding: 20px;
  text-align: center;
  font-size: 0.9em;
  color: #333;
  border-top: 1px solid #ddd;
}

.footer-links a {
  color: #333;
  text-decoration: none;
  margin: 0 10px;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Conteneur principal pour CGV et Mentions légales */
.cgv, .mentions-legales {
  max-width: 900px;       /* largeur max pour éviter les lignes trop longues */
  margin: 0 auto;         /* centre le contenu horizontalement */
  padding: 20px;          /* marges internes */
  font-family: "Segoe UI", Roboto, Arial, sans-serif; /* police moderne et lisible */
  color: #333;            /* couleur du texte */
  background-color: #fff; /* fond clair pour la lisibilité */
}

/* Titres */
.cgv h1, .mentions-legales h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #222;
}

.cgv h2, .mentions-legales h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #444;
}

.cgv h3, .mentions-legales h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  color: #555;
}

/* Paragraphes */
.cgv p, .mentions-legales p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Listes */
.cgv ul, .mentions-legales ul {
  margin: 1rem 0;
  padding-left: 20px;
}

.cgv li, .mentions-legales li {
  margin-bottom: 0.5rem;
}

/* Liens */
.cgv a, .mentions-legales a {
  color: #0066cc;
  text-decoration: none;
}

.cgv a:hover, .mentions-legales a:hover {
  text-decoration: underline;
}

/* Sommaire (nav interne) */
.sommaire {
  margin: 20px 0;
  padding: 15px;
  background: #f9f9f9;
  border: 1px solid #ddd;
}

.sommaire ul {
  list-style: none;
  padding: 0;
}

.sommaire li {
  margin: 5px 0;
}

.sommaire a {
  color: #0066cc;
  font-weight: 500;
}

/* Carrousel et partenaires */
.carousel-container {
  width: 100%;
  overflow: hidden;          /* 🔥 on laisse le zoom respirer */
}

.carousel-track {
  display: flex;
  width: max-content;
}

.carousel-item {
  flex: 0 0 auto;
  margin: 0 15px;
  border-radius: 8px;
  padding: 12px;               /* petit buffer pour le zoom */
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-item img {
  height: 12vh;               /* un peu plus petit pour laisser de la marge au zoom */
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-radius: 8px;
  display: block;
}

.carousel-item img:hover {
  transform: scale(1.2);      /* vrai zoom visible */
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}




/* ===== Slider des offres ===== */





/* marges latérales harmonisées */
.slider-wrapper {
  padding: 0 20px;
}




.slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 5;
  overflow: hidden;
  display: flex;
  align-items: center;

  /* Ombre élégante autour du cadre */
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  border-radius: 12px; /* optionnel mais très élégant */
}


.slider-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
  height: 100%;
}

.slider-item {
  flex: 0 0 100%;
  box-sizing: border-box;
  height: 100%;
}

.slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* remplit le bloc sans déformation */
  object-position: center; /* centre le cadrage */
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.slider-item img:hover {
  transform: scale(1.05);
}

/* Flèches de navigation */
.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  padding: 12px;
  cursor: pointer;
  z-index: 20;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-button.prev { left: 20px; }
.slider-button.next { right: 20px; }

/* Pagination */
.slider-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dots span {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  cursor: pointer;
}

.slider-dots span.active {
  background: #fff;
}

/* Responsive mobile */
@media (max-width: 768px) {
 

  .slider-button {
    padding: 8px;
    width: 32px;
    height: 32px;
  }
  .slider-container { max-height: 60vh; /* évite que le slider prenne trop de place */ }
  .slider-button.prev { left: 10px; }
  .slider-button.next { right: 10px; }
}




/*Badge de prix sur image*/

.image-wrapper {
  position: relative;
  display: inline-block;
}

.image-wrapper img {
  width: 100%;
  border-radius: 8px;
}

.price-badge {
  position: absolute;
  top: 10px;
  right: 10px;
background: rgba(44, 122, 207, 0.9); /* bleu avec 80% d’opacité */  color: #fff !important; /* force le texte en blanc */
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 10; /* passe au-dessus de l'image */
}
.price-badge::after {
  content: " XPF";
}

/*details prestation dans carte .contact-btn*/
.selected-prestation {
  margin: 15px 0;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fafafa;
  text-align: center; /* ✅ centre le texte */
}

.prestation-title {
  font-size: 1.2em;
  margin-bottom: 8px;
  color: #2C7ACF;
}

.prestation-details {
  display: flex;
  justify-content: center; /* ✅ centre les éléments horizontalement */
  gap: 20px; /* espace entre durée et prix */
  font-size: 0.95em;
  color: #383838;
}

.detail.duration::before {
  content: "⏱ ";
}

.detail.price::after {
  content: " XPF"; /* ajoute XPF après le prix */
}

/* ===== Modale OTP ===== */
#otpModal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(3px);
  z-index: 99999;
  opacity: 1;
  transition: opacity .25s ease;
}

/* 🔥 Quand cachée → retirée du flux, ne bloque RIEN */
#otpModal.hidden {
  display: none;
}

.otp-box {
  position: relative; /* nécessaire pour la croix */
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  width: 320px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  animation: otp-pop .25s ease;
}

@keyframes otp-pop {
  from { transform: scale(.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

#otpCode {
  width: 100%;
  padding: 12px;
  font-size: 18px;
  text-align: center;
  margin-top: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

#otpValidateBtn {
  margin-top: 15px;
  width: 100%;
  padding: 12px;
  background: #0078ff;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

#otpResendBtn {
  margin-top: 10px;
  background: none;
  border: none;
  color: #0078ff;
  cursor: pointer;
}

#otpError {
  margin-top: 10px;
  color: #d00;
  font-size: 14px;
  min-height: 18px;
}

/* Loader */
#otpLoader {
  margin-top: 10px;
  font-size: 14px;
  color: #0078ff;
}

#otpLoader.hidden {
  display: none;
}

#otpValidateBtn.loading,
#otpResendBtn.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Bouton fermer */
.otp-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
  z-index: 20;
}
