/* RESET & BASE */
html, body {
  background-color: #0b1220 !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  color: #e5e7eb;
  line-height: 1.6;
  scroll-behavior: smooth;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ── BANDEAU D'INFORMATION ── */
.info-banner {
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(52, 211, 153, 0.2);
    color: #34d399; 
    padding: 10px 6%;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(12px);
    position: sticky;
    top: 68px; 
    z-index: 90;
	opacity: 0.9;
}

.info-banner strong {
    color: #34d399; /* On force la même couleur que le texte du bandeau */
    font-weight: 700;
}


/*  POPUP  */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.82);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.popup-box {
  position: relative;
  width: min(92%, 700px);
  background: linear-gradient(180deg, rgba(15,23,42,0.96), rgba(11,18,32,0.98));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 42px 28px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  transform: translateY(25px) scale(0.96);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.popup-overlay.show .popup-box {
  transform: translateY(0) scale(1);
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  color: #cbd5e1;
  font-size: 18px;
  cursor: pointer;
  transition: 0.25s ease;
}

.popup-close:hover {
  background: rgba(255,255,255,0.1);
  transform: rotate(90deg);
}

.popup-icon {
  font-size: 58px;
  margin-bottom: 16px;
}

.popup-title {
  font-size: clamp(24px, 5vw, 34px);
  margin-bottom: 14px;
  font-weight: 700;
  background: linear-gradient(90deg, #34d399, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.popup-text {
  color: #94a3b8;
  line-height: 1.7;
  font-size: 17px;
  margin-bottom: 28px;
}

/* ── NAV BARRE ── */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 6%;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo {
  font-weight: 700;
  font-size: 20px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #cbd5e1;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links { display: flex; align-items: center; gap: 4px; }

.contact-link {
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-link:hover {
  transform: scale(1.08);
}

nav a {
  padding: 6px 12px;
  text-decoration: none;
  color: #cbd5e1;
  font-weight: 500;
  font-size: 15px;
  border-radius: 8px;
  transition: 0.2s;
}

nav a:hover .nav-text {
  background: linear-gradient(90deg, #2bd4a0 0%, #22d3ee 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.nav-text { display: inline-block; }

.logo, .title, .hero h1, .footer-gradient {
  background: linear-gradient(90deg, #34d399 0%, #22d3ee 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  display: inline-block;
}

.hero h1 {
  font-size: clamp(26px, 6vw, 56px);
  line-height: 1.15;
  max-width: 800px;
  margin: 0 auto;
  font-weight: 700;
}

.title {
  font-size: clamp(22px, 5vw, 32px);
  margin-bottom: 30px;
  font-weight: 700;
  text-align: center;
}

.title-link{
	text-decoration: none;
	color: inherit;
}

.hero {
  padding: clamp(70px, 12vw, 130px) 6%;
  background: radial-gradient(circle at top, #0f172a, #0b1220);
  text-align: center;
}

.hero p {
  margin: 14px auto 0;
  max-width: 600px;
  color: #94a3b8;
  font-size: clamp(14px, 2.5vw, 18px);
}

section {
  padding: clamp(40px, 6vw, 60px) 6%;
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s ease;
  text-align: center;
}

section.show { opacity: 1; transform: translateY(0); }

.about {
  background: rgba(255,255,255,0.04);
  padding: clamp(20px, 5vw, 40px);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  color: #cbd5e1;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  text-decoration: none;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
  background: rgba(255,255,255,0.05);
}

.dot { height: 10px; width: 10px; border-radius: 50%; display: inline-block; }
.open-dot { background-color: #34d399; box-shadow: 0 0 8px #34d399; }
.closed-dot { background-color: #ef4444; box-shadow: 0 0 8px #ef4444; }

.map-container { border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); max-width: 900px; margin: 0 auto; }
.map-container iframe { display: block; width: 100%; height: clamp(240px, 40vw, 380px); border: 0; }

footer {  
  text-align: center;  
  padding: 20px 6% 50px;
  color: #64748b;  
  display: flex;  
  flex-direction: column;  
  gap: 12px;  
}

.footer-gradient { font-weight: 700 !important; }
.footer-text-muted { font-size: 14px; color: #94a3b8; opacity: 0.8; }
.copyright { font-size: 13px !important; margin-top: 15px; opacity: 0.6; color: #94a3b8; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(52,211,153,0.3);
  box-shadow: 0 8px 30px rgba(52,211,153,0.1);
}

.card-icon { font-size: 36px; margin-bottom: 14px; }
h3.card-title { font-weight: 700; font-size: 16px; color: #e5e7eb; margin-bottom: 8px; }
.card-desc { font-size: 14px; color: #94a3b8; line-height: 1.5; }

.call-fab {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: linear-gradient(90deg, #34d399, #22d3ee);
  color: #0b1220;
  width: 60px;
  height: 60px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  font-size: 26px;
  box-shadow: 0 4px 20px rgba(52,211,153,0.35);
  z-index: 99;
}

#avis-slider {
  min-height: 220px; /* Ajustez cette valeur selon l'avis le plus long */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centre le texte verticalement si l'avis est court */
  align-items: center;
  overflow: hidden; /* Évite les débordements */
  transition: opacity 0.5s, transform 0.5s;
  opacity: 1;
  transform: translateY(0px);
}



@media (max-width: 640px) {
    .nav-toggle { 
    display: flex; 
    z-index: 1000; /* Force le bouton à rester au premier plan */
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: #0b1220;
    padding: 90px 6%;
  }

  .nav-links.open { display: flex; }
  .call-fab { display: flex; }

  /* ANIMATION : Transformation des barres en croix (X) */
  .nav-toggle.open span:nth-child(1) { 
    transform: translateY(7px) rotate(45deg); 
  }
  .nav-toggle.open span:nth-child(2) { 
    opacity: 0; 
    transform: scaleX(0); 
  }
  .nav-toggle.open span:nth-child(3) { 
    transform: translateY(-7px) rotate(-45deg); 
  }
  #avis-slider {
    min-height: 260px; 
  }
}