/* ===================== RESET ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* ===================== VARIABLES ===================== */
:root {
  --primary: #0077b6;
  --secondary: #023e8a;
  --light: #f8f9fa;
  --white: #ffffff;
  --gray: #6c757d;
}

/* ===================== HERO ===================== */
.hero-service {
  position: relative;
  min-height: 70vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 30px;
}



.hero-service .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
}

.hero-service h2 {
  font-size: 2.4rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
    margin-top: 30px; /* ← ajoute cette ligne pour décaler vers le bas */

}

.hero-service p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.hero-service .btn-hero {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s;
}

.hero-service .btn-hero:hover {
  background: var(--secondary);
}

/* ===/* ================= SERVICE DETAIL ================= */
.service-detail {
  padding: 70px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-detail h3 {
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  position: relative;
}

.service-detail h3::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background: var(--secondary);
  margin: 18px auto 0;
  border-radius: 10px;
}

.service-detail p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 25px;
  color: #444;
  text-align: center;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

/* ===================== CARDS ===================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
  margin-top: 40px;
}

.service-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  padding: 35px 30px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  opacity: 0;
  transform: translateY(50px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.service-card h4 {
  margin-bottom: 20px;
  color: #046091;
  font-size: 1.8rem;
  font-weight: 800;
  text-align: center;
}

/* Paragraphes dans les cards */
.service-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 18px;
  text-align: justify;
}

/* ===================== POINTS (liste) ===================== */
.service-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.service-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  line-height: 1.5;
  color: #444;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.service-card ul li:last-child {
  border-bottom: none;
}

.service-card ul li::before {
  content: "★"; /* tu peux remplacer par ✈️, 💼, 👷, 🌍 */
  font-size: 0.9rem;
  color: var(--white);
  background: var(--primary);
  border-radius: 50%;
  min-width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

/* Prix dans les cards */
.service-card .price {
  margin-top: 20px;
  font-weight: 800;
  color: var(--primary);
  font-size: 1.4rem;
  text-align: center;
}

/* ===================== CTA ===================== */
.cta {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 50px 20px;
  margin-top: 60px;
}

.cta h3 {
  margin-bottom: 20px;
  font-size: 2rem;
}

.cta p {
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.cta a {
  display: inline-block;
  padding: 12px 30px;
  background: var(--secondary);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s;
}

.cta a:hover {
  background: #005f8d;
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 25px 20px;
}

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



/* ✅ Style après scroll */
.navbar.scrolled {
  background: var(--white);
  color: var(--secondary);
}

.navbar.scrolled .logo,
.navbar.scrolled .nav-links a {
  color: var(--secondary);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
}
/* Partie droite (desktop uniquement) */
.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}
.phone {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px; /* espace entre l’icône et le texte */
}

.phone .icon {
  width: 30px;   /* taille de l’icône */
  height: 30px;
  object-fit: contain;
}


.btn-cta {
    background: #000000;
  background: rgba(18, 144, 235, 0.4);  /* même effet translucide */
  color: var(--white);
  padding: 0.8rem 1.3rem;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-cta:hover {
  background: var(--secondary);
}

/* Quand on scroll */
.navbar.scrolled .phone {
  color: var(--secondary);
}

.navbar.scrolled .btn-cta {
  background: var(--primary);
  color: var(--white);
}

/* Mobile : cacher le bloc nav-right */
@media(max-width: 900px) {
  .nav-right {
    display: none;
  }
}
/* ---------------- MOBILE ---------------- */
@media(max-width: 900px) {
  .nav-links,
  .nav-right {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  /* Menu déroulant moderne */
  .nav-links.active {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 255);
    position: absolute;
    top: 60px;
   width: calc(100% - 10px); /* prend toute la largeur sans dépasser */
  right: 5px;
  max-width: 100%;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    animation: slideDown 0.3s ease;
  }

  .nav-links a {
    margin: 15px 0;
    text-align: left;
    color: #0077b6;
  }
.nav-links li {
  border-bottom: 1px solid rgba(0,0,0,0.1); /* petite ligne grise claire */
  padding-bottom: 10px;
  margin-bottom: 10px;
}



  /* Quand le menu est ouvert on affiche aussi tel + bouton */
  .nav-links.active::after {
    content: "  (+213) 663 89 71 83";
    display: block;
    margin-top: 20px;
    font-weight: bold;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
      text-align: center; /* ✅ aligne à droite */

  }

  .nav-links.active::before {
    content: "Prendre rendez-vous";
    display: block;
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-weight: 600;
  }
}

/* Animation ouverture mobile */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }}

