:root {
  --bleu: #2BB0E6;
  --bleu-clair: #6fd3f5;
  --bleu-fonce: #0A3D62;
  --gris: #F5F8FA;
  --ombre: 0 15px 35px rgba(0,0,0,0.08);
    --primary:#2e8b57;
  --bg:#f5f8f7;
  --shadow:0 20px 40px rgba(0,0,0,.12);
    --green:#2e8b57;
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: var(--gris);
  color: var(--bleu-fonce);
  line-height: 1.7;
}

 
/* ================= TOP HEADER DESKTOP ================= */
.top-header {
  width: 100%;
  height: 46px;

  padding: 0 200px;

  background: linear-gradient(
    135deg,
    #071f33,
    #0a3d62
  );

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: rgb(166, 159, 159);

  box-shadow:
    inset 0 -1px 0 rgba(255,255,255,0.08),
    0 6px 18px rgba(0,0,0,0.25);

  position: relative;
  z-index: 1100;
}

/* Texte gauche */
.top-header-left {
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.6px;
 
}

/* Zone droite téléphone */
.top-header-right {
  display: flex;
  align-items: center;
  gap: 10px;

  font-size: 14px;
  font-weight: 500;
}

/* Icône téléphone */
.top-header-right i {
  font-size: 14px;
  color: var(--bleu);
}

/* ================= MOBILE : CACHÉ ================= */
@media (max-width: 900px) {
  .top-header {
    display: none;
  }
}


/* Texte */
.top-header p {
  margin: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ================= MOBILE : CACHÉ ================= */
@media (max-width: 900px) {
  .top-header {
    display: none;
  }
}

/* ================= HEADER ================= */
.header {
  position: sticky;
  top: 0;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  z-index: 1000;
}

.logo {
  font-weight: 700;
  font-size: 22px;
  color: var(--bleu);
}

 

/* ================= MENU DESKTOP ================= */
.menu {
  list-style: none;
  display: flex;
  gap: 25px;
  align-items: center;
  margin: 0;
  padding: 0;
}

/* Cacher la croix sur desktop */
.menu-close {
  display: none;
}

.menu a {
  text-decoration: none;
  color: var(--bleu-fonce);
  position: relative;
  padding-bottom: 5px;
}

/* Soulignement animé */
.menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--bleu);
  transition: width 0.3s ease;
}

.menu a:hover::after,
.menu a.active::after {
  width: 100%;
}

/* Bouton DON */
.btn-don {
  background: linear-gradient(135deg, var(--bleu), var(--bleu-clair));
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 30px;
}

.btn-don::after {
  display: none;
}

/* ================= BOUTON MENU MOBILE ================= */
.menu-toggle {
  display: none;
  font-size: 22px;
  cursor: pointer;
  user-select: none;
}

/* ================= MENU MOBILE ================= */
@media (max-width: 900px) {

  .menu-toggle {
    display: block;
    z-index: 1101;
  }

  /* Overlay */
  .nav {
    position: fixed;
    inset: 0;
    background: rgba(10, 61, 98, 0.85);
    backdrop-filter: blur(8px);

    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;

    z-index: 1100;
  }

  /* MENU OUVERT */
  .nav.open {
    transform: translateX(0);
    opacity: 1;
  }

  /* Menu interne */
  .menu {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 90px;
    height: 100%;
  }

  .menu li {
    width: 85%;
    text-align: center;
  }

  .menu a {
    display: block;
    padding: 12px 0;
    font-size: 17px;
    color: #fff;
  }

  .menu li:not(:last-child) a {
    border-bottom: 1px solid rgba(255,255,255,0.25);
  }

  .menu a:hover {
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
  }

  /* Bouton fermer */
  .menu-close {
    display: flex;
    align-items: center;
    gap: 8px;

    position: absolute;
    top: 20px;
    right: 20px;

    font-size: 18px;
    color: #fff;
    cursor: pointer;
    z-index: 1102;
  }

  .menu-close i {
    font-size: 22px;
  }

  .btn-don {
    margin-top: 15px;
  }
}

/* ================= TEXTE SLIDER ================= */
@media (max-width: 768px) {
  .slide-content h1 {
    font-size: 28px;
  }

  .slide-content p {
    font-size: 16px;
  }
}

 
/* ================= SLIDER / HERO ================= */

.carousel {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-height));
  min-height: 520px;
  overflow: hidden;
}

.slider {
  width: 100%;
  height: 100%;
}

.carousel .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.carousel .slide.active {
  opacity: 1;
  z-index: 1;
}

/* Overlay */
.carousel .slide::before {
  content: "";
  position: absolute;
  inset: 0;
 
}

/* Contenu centré */
.carousel .slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  color: #fff;
}


/* ================= SLIDES ================= */
.carousel .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.9s ease;
}

/* Overlay */
.carousel .slide::before {
  content: "";
  position: absolute;
  inset: 0;
 
}

/* Slide actif */
.carousel .slide.active {
  opacity: 1;
  z-index: 1;
}

/* ================= CONTENU ================= */
.carousel .slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 20px;
}

.carousel .slide-content h1 {
  font-size: clamp(28px, 4.5vw, 46px);
  margin-bottom: 15px;
}

.carousel .slide-content p {
  font-size: clamp(16px, 2.2vw, 20px);
  max-width: 720px;
}

/* ================= FLÈCHES ================= */
.carousel .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  font-size: 40px;
  color: #fff;
 
  padding: 10px 16px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.carousel .arrow:hover {
 
  transform: translateY(-50%) scale(1.05);
}

.carousel .arrow.prev { left: 20px; }
.carousel .arrow.next { right: 20px; }

/* ================= DOTS ================= */
.carousel .dots {
  position: absolute;
  bottom: 22px;
  width: 100%;
  text-align: center;
  z-index: 5;
}

.carousel .dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin: 0 6px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.carousel .dot.active {
  background: var(--bleu);
  transform: scale(1.25);
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .carousel {
    height: calc(100svh - var(--header-height));
    min-height: 420px;
  }
}

section {
  padding: 80px 8%;
}

h2 {
  font-size: 34px;
  margin-bottom: 30px;
  color: var(--bleu-fonce);
}

p {
  line-height: 1.7;
  color: #555;
}


/* ================= REALISATIONS PREMIUM ================= */
.realisations {
  background: #f5f8fa;
  padding: 100px 0;
}

.realisations .container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* Titres */
.section-title {
  text-align: center;
  font-size: clamp(30px, 3vw, 38px);
  color: var(--bleu-fonce);
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: #555;
  max-width: 650px;
  margin: 0 auto 60px;
  font-size: 17px;
}

/* Grid */
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

/* Carte réalisation */
.realisation {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;

  /* Ombre premium */
  box-shadow:
    inset 0 0 0 1px #e1e6ea,
    0 25px 50px rgba(0,0,0,0.08);

  transform: translateY(40px);
  opacity: 0;
  transition: all 0.8s ease;
}

/* Animation visible */
.realisations.animate .realisation {
  transform: translateY(0);
  opacity: 1;
}

.realisations.animate .realisation:nth-child(2) {
  transition-delay: 0.15s;
}
.realisations.animate .realisation:nth-child(3) {
  transition-delay: 0.3s;
}

/* Image */
.realisation-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Contenu */
.realisation-content {
  padding: 30px;
}

.realisation-content h3 {
  font-size: 20px;
  color: var(--bleu-fonce);
  margin-bottom: 12px;
}

.realisation-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 22px;
}
/* Animation titre & sous-titre */
.section-title,
.section-subtitle {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.realisations.animate .section-title {
  opacity: 1;
  transform: translateY(0);
}

.realisations.animate .section-subtitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}
.realisation {
  transition: 
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.realisation:hover {
  transform: translateY(-10px);
  box-shadow:
    inset 0 0 0 1px #d6dde3,
    0 35px 70px rgba(0,0,0,0.15);
}
.realisation-image {
  position: relative;
  overflow: hidden;
}

.realisation-image img {
  transition: transform 0.6s ease;
}

.realisation-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.25),
    rgba(255,255,255,0)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.realisation:hover .realisation-image img {
  transform: scale(1.08);
}

.realisation:hover .realisation-image::after {
  opacity: 1;
}
.realisation-content h3 {
  position: relative;
  display: inline-block;
}

.realisation-content h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--bleu);
  transition: width 0.4s ease;
}

.realisation:hover h3::after {
  width: 100%;
}
.realisation-content p,
.realisation-content .btn-outline {
  transition: transform 0.3s ease;
}

.realisation:hover p {
  transform: translateY(-3px);
}

.realisation:hover .btn-outline {
  transform: translateY(-2px);
}

/* Bouton */
.btn-outline {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 30px;
  border: 2px solid var(--bleu);
  color: var(--bleu);
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-outline:hover {
  background: var(--bleu);
  color: #fff;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .realisations-grid {
    grid-template-columns: 1fr;
  }

  .realisation-image img {
    height: 200px;
  }
}



/* ================= PRESENTATION PREMIUM ================= */
.presentation {
  background: linear-gradient(135deg, #071f33, #0a3d62);
  position: relative;
  overflow: hidden;
}

/* halo décoratif subtil */
.presentation::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(43,176,230,0.35),
    transparent 70%
  );
}

/* Container carte */
.presentation .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;

  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(6px);
  border-radius: 22px;
  padding: 60px;

  box-shadow:
    0 30px 60px rgba(0,0,0,0.35),
    inset 0 0 0 1px rgba(255,255,255,0.06);

  /* ✅ VISIBLE PAR DÉFAUT */
  opacity: 1;
  transform: translateY(0);
}

/* Animation (optionnelle, via JS) */
.presentation.animate .container {
  animation: fadeUp 0.9s ease forwards;
}

/* Texte */
.presentation h2 {
  color: #fff;
  font-size: clamp(28px, 3vw, 36px);
  margin-bottom: 20px;
}

.presentation p {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  line-height: 1.8;
  text-align: justify;
}

/* Image */
.presentation .image img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.45);
  transform: scale(1);
}

/* Animation image */
.presentation.animate .image img {
  animation: zoomSoft 0.9s ease forwards;
}

/* Animations UNIQUEMENT si JS est actif */
.js .presentation .container,
.js .stats .stats-container {
  opacity: 0;
  transform: translateY(40px);
}

.js .presentation.animate .container,
.js .stats.animate .stats-container {
  opacity: 1;
  transform: translateY(0);
}

/* ================= STATS PREMIUM ================= */
.stats {
  background: linear-gradient(135deg, #071f33, #0a3d62);
  position: relative;
  overflow: hidden;
  padding: 60px 20px;
}

/* halo décoratif */
.stats::before {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 260px;
  height: 260px;
  background: radial-gradient(
    circle,
    rgba(43,176,230,0.3),
    transparent 70%
  );
}

.stats-container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ✅ 4 stats sur une ligne */
  gap: 26px;
  text-align: center;

  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 40px;

  box-shadow:
    0 25px 50px rgba(0,0,0,0.35),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Icônes */
.stat i {
  font-size: 32px;
  color: #2BB0E6;
}

/* Chiffres */
.stat strong {
  font-size: clamp(28px, 3.2vw, 40px);
  color: #fff;
  font-weight: 700;
  line-height: 1;
}

/* Texte */
.stat span {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  line-height: 1.3;
}

.stat small {
  font-size: 12px;
  opacity: 0.7;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

@media (max-width: 500px) {
  .stats-container {
    grid-template-columns: 1fr;
  }
}

/* ================= ANIMATIONS ================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomSoft {
  from {
    transform: scale(0.96);
  }
  to {
    transform: scale(1);
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .presentation .container,
  .stats-container {
    grid-template-columns: 1fr;
    padding: 40px;
    text-align: center;
  }

  .presentation p {
    font-size: 17px;
  }
}


/* ================= MVV PREMIUM ================= */
.mvv {
  background: linear-gradient(180deg, #f5f8fa, #ffffff);
  padding: 80px 8%;
  position: relative;
}

/* grille */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

/* cartes */
.mvv-grid > div {
  background: #fff;
  border-radius: 20px;
  padding: 45px 30px;
  text-align: center;

  box-shadow:
    0 18px 40px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.6);

  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* halo discret */
.mvv-grid > div::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top,
    rgba(43,176,230,0.08),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* hover carte */
.mvv-grid > div:hover {
  transform: translateY(-10px);
  box-shadow:
    0 30px 60px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.7);
}

.mvv-grid > div:hover::before {
  opacity: 1;
}

/* icônes */
.mvv i {
  font-size: 44px;
  color: var(--bleu);
  margin-bottom: 18px;
  transition: transform 0.4s ease;
}

/* animation icône */
.mvv-grid > div:hover i {
  transform: scale(1.15) rotate(-3deg);
}

/* titres */
.mvv h3 {
  font-size: 22px;
  margin-bottom: 14px;
  color: var(--bleu-fonce);
}

/* texte */
.mvv p {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
  max-width: 280px;
  margin: auto;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .mvv-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .mvv-grid {
    grid-template-columns: 1fr;
  }

  .mvv-grid > div {
    padding: 40px 26px;
  }
}


/* ================= ACTIONS PREMIUM ================= */
.actions {
  background: linear-gradient(180deg, #ffffff, #f5f8fa);
  padding: 80px 8%;
  position: relative;
}

/* titre */
.actions h2 {
  text-align: center;
  font-size: clamp(28px, 3vw, 34px);
  margin-bottom: 60px;
  color: var(--bleu-fonce);
}

/* grille */
.actions .cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

/* cartes */
.actions .card {
  background: #fff;
  padding: 45px 32px;
  border-radius: 22px;
  text-align: center;
  position: relative;
  overflow: hidden;

  box-shadow:
    0 18px 40px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.6);

  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

/* halo subtil */
.actions .card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top,
    rgba(43,176,230,0.08),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* hover carte */
.actions .card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 30px 60px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.7);
}

.actions .card:hover::before {
  opacity: 1;
}

/* icônes */
.actions .card i {
  font-size: 42px;
  color: var(--bleu);
  margin-bottom: 20px;
  transition: transform 0.4s ease;
}

/* animation icône */
.actions .card:hover i {
  transform: scale(1.15) rotate(-3deg);
}

/* titres */
.actions .card h3 {
  font-size: 22px;
  margin-bottom: 14px;
  color: var(--bleu-fonce);
}

/* texte */
.actions .card p {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
  max-width: 260px;
  margin: auto;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .actions .cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .actions .cards {
    grid-template-columns: 1fr;
  }

  .actions .card {
    padding: 40px 26px;
  }

  .actions h2 {
    margin-bottom: 45px;
  }
}


/* ================= DOMAINES D'INTERVENTION ================= */
.domains {
  background: linear-gradient(
    135deg,
    #071f33,
    #0a3d62
  );
  padding: 100px 8%;
  position: relative;
  overflow: hidden;
}

/* Halo décoratif */
.domains::before {
  content: "";
  position: absolute;
  top: -150px;
  left: -150px;
  width: 320px;
  height: 320px;
  background: radial-gradient(
    circle,
    rgba(43,176,230,0.35),
    transparent 70%
  );
}

/* Container */
.domains-container {
  position: relative;
  max-width: 1200px;
  margin: auto;
}

/* Header */
.domains-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 70px;

  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.domains.show .domains-header {
  opacity: 1;
  transform: translateY(0);
}

.domains-header h2 {
  color: #fff;
  font-size: clamp(30px, 3.5vw, 38px);
  margin-bottom: 18px;
}

.domains-header p {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  line-height: 1.8;
}

/* Grid */
.domains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Cartes */
.domain-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 40px 30px;

  text-align: center;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.06),
    0 25px 50px rgba(0,0,0,0.35);

  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: default;

  opacity: 0;
  transform: translateY(50px);
}

/* Animation apparition */
.domains.show .domain-card {
  opacity: 1;
  transform: translateY(0);
}

.domains.show .domain-card:nth-child(1) { transition-delay: 0.1s; }
.domains.show .domain-card:nth-child(2) { transition-delay: 0.2s; }
.domains.show .domain-card:nth-child(3) { transition-delay: 0.3s; }
.domains.show .domain-card:nth-child(4) { transition-delay: 0.4s; }
.domains.show .domain-card:nth-child(5) { transition-delay: 0.5s; }
.domains.show .domain-card:nth-child(6) { transition-delay: 0.6s; }

/* Hover premium */
.domain-card:hover {
  transform: translateY(-8px);
  box-shadow:
    inset 0 0 0 1px rgba(43,176,230,0.4),
    0 35px 70px rgba(0,0,0,0.45);
}

/* Icônes */
.domain-card i {
  font-size: 38px;
  color: var(--bleu);
  margin-bottom: 18px;
}

/* Titres */
.domain-card h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 12px;
}

/* Texte */
.domain-card p {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  line-height: 1.7;
}

/* Slot de la grille sans fond ni ombre */
.domain-btn-slot {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bouton */
.btn-domains {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  background-color: #2e8b57;
  color: #ffffff;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  line-height: 1;
  transition: background-color 0.3s ease;
}

/* Icône œil bien centrée */
.btn-domains i {
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

/* Effet glossy */
.btn-domains::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  background: rgba(255,255,255,0.18);
  top: 100%;
  left: -10%;
  transform: skewY(8deg);
  transition: top 0.4s ease;
}

.btn-domains:hover::after {
  top: -10%;
}

.btn-domains:hover i {
  transform: translateX(5px);
}

.btn-domains:hover {
  background-color: #256f46;
}


/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .domains-grid {
    grid-template-columns: 1fr;
  }

  .domains {
    padding: 80px 6%;
  }
}

/* ================= PARTNERS ================= */

.partners {
  padding: 90px 20px;
  background: #f5f8fb;
  text-align: center;
  overflow: hidden;
}

/* Header */
.partners-header h2 {
  color: #0a3d62;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  margin-bottom: 14px;
}

.partners-header p {
  color: #5f6f7a;
  max-width: 680px;
  margin: 0 auto 60px;
  line-height: 1.7;
  font-size: 16px;
}

/* Fenêtre visible */
.partners-marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
}

/* Track animé */
.partners-track {
  display: flex;
  align-items: center;
  gap: 42px;
  width: max-content;
  animation: scroll-partners 25s linear infinite;
}

/* Pause au survol */
.partners-marquee:hover .partners-track {
  animation-play-state: paused;
}

/* Animation */
@keyframes scroll-partners {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Carte partenaire */
.partner {
  padding: 20px;
  background: #ffffff;
  border-radius: 14px;
  width: 180px;
  height: 120px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #e3e9ef;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

/* Logo */
.partner img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

/* Zoom au survol */
.partner:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.partner:hover img {
  transform: scale(1.1);
}


/* ================= Animation au scroll (progressive enhancement) ================= */

.js .partner {
  opacity: 0;
  transform: translateY(30px);
}

.js .partner.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .partners-track {
    gap: 28px;
  }

  .partner {
    width: 155px;
    height: 110px;
  }
}


/* ================= FOOTER PREMIUM ================= */

.footer {
  background: linear-gradient(135deg, #061927, #0a3d62);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0; /* ⬅️ padding réduit */
  position: relative;
  overflow: hidden;
}

/* halo décoratif */
.footer::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 260px;
  height: 260px;
  background: radial-gradient(
    circle,
    rgba(43,176,230,0.22),
    transparent 70%
  );
}

/* ================= CONTAINER ================= */
.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 80px; /* ⬅️ padding horizontal maîtrisé */
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1.5fr;
  gap: 50px;

  opacity: 0;
  transform: translateY(35px);
  transition: 0.9s ease;
}

/* apparition */
.footer.animate .footer-container {
  opacity: 1;
  transform: translateY(0);
}

/* ================= COLONNES ================= */
.footer-col h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 16px;
  line-height: 1.3;
}

.footer-col h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 16px;
  position: relative;
}

/* soulignement élégant */
.footer-col h4::after {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--bleu);
  display: block;
  margin-top: 6px;
}

.footer-col p,
.footer-col li,
.footer-col span {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
}

/* ================= LISTES & LIENS ================= */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-col a:hover {
  color: #fff;
  padding-left: 6px;
}

/* ================= CONTACT ================= */
.footer-contact .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px; /* ⬅️ plus compact */
}

.footer-contact i {
  font-size: 17px;
  color: var(--bleu);
  margin-top: 3px;
  min-width: 20px;
}

/* ================= FOOTER BOTTOM ================= */
.footer-bottom {
  margin-top: 45px; /* ⬅️ réduit */
  padding: 18px 40px; /* ⬅️ réduit */
  text-align: center;
  font-size: 14px;
  background: rgba(0,0,0,0.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    padding: 0 50px;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0 30px;
  }

  .footer-col h4::after {
    margin: 8px auto 0;
  }

  .footer-col a:hover {
    padding-left: 0;
  }

  .footer-contact .contact-item {
    justify-content: center;
    text-align: left;
  }
}

/* ================= RÉSEAUX SOCIAUX FOOTER ================= */

.footer-social {
  margin-top: 14px;
}

.footer-social .social-title {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

/* Conteneur icônes */
.social-icons {
  display: flex;
  gap: 12px;
}

/* Style de base des icônes */
.social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.35);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 15px;
  color: #0a3d62;

  box-shadow: 0 6px 14px rgba(0,0,0,0.25);

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Hover commun */
.social-icons a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
  color: #ffffff;
}

/* ================= COULEURS OFFICIELLES ================= */

/* Facebook */
.social-icons a:hover .fa-facebook-f {
  color: #ffffff;
}

.social-icons a[href*="facebook"]:hover {
  background: #1877F2;
  border-color: #1877F2;
}

/* Instagram */
.social-icons a[href*="instagram"]:hover {
  background: radial-gradient(
    circle at 30% 110%,
    #feda75,
    #fa7e1e,
    #d62976,
    #962fbf,
    #4f5bd5
  );
  border-color: transparent;
}

/* X (Twitter) */
.social-icons a[href*="x.com"]:hover,
.social-icons a[href*="twitter"]:hover {
  background: #000000;
  border-color: #000000;
}
/* LinkedIn */
.social-icons a[href*="linkedin"]:hover {
  background: #0A66C2; /* couleur officielle LinkedIn */
  border-color: #0A66C2;
}

.social-icons a[href*="linkedin"]:hover i {
  color: #ffffff;
}

/* Responsive centré */
@media (max-width: 600px) {
  .social-icons {
    justify-content: center;
  }
}


/* ================= FLOATING ACTIONS — PREMIUM INSTITUTIONNEL ================= */

/* Variables globales */
:root {
  --bleu-institution: #2BB0E6;
  --bleu-fonce: #0a3d62;
  --whatsapp: #25D366;
}

/* ================= WHATSAPP FLOAT ================= */

.floating-whatsapp {
  position: fixed;
  bottom: 26px;
  left: 26px;

  width: 58px;
  height: 58px;

  background: linear-gradient(
    135deg,
    var(--whatsapp),
    var(--bleu-institution)
  );

  color: #ffffff;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 27px;
  text-decoration: none;

  box-shadow: 0 12px 26px rgba(0,0,0,0.28);
  z-index: 9999;
  overflow: visible;

  animation: whatsappPulse 3.5s ease-in-out infinite;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Icône */
.floating-whatsapp i {
  position: relative;
  z-index: 2;
}

/* Halo lumineux */
.floating-whatsapp::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(43,176,230,0.45),
    transparent 70%
  );
  opacity: 0.75;
  z-index: 1;
}

/* Hover */
.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 16px 36px rgba(0,0,0,0.35);
}

/* ================= TOOLTIP ================= */

.whatsapp-tooltip {
  position: absolute;
  left: 70px;
  top: 50%;
  transform: translateY(-50%);

  background: #ffffff;
  color: var(--bleu-fonce);

  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;

  padding: 6px 12px;
  border-radius: 20px;

  box-shadow: 0 8px 20px rgba(0,0,0,0.18);

  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: 0.3s ease;
}

.floating-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translate(0, -50%);
}

/* Flèche tooltip */
.whatsapp-tooltip::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: #ffffff;
}

/* ================= PULSE ANIMATION ================= */

@keyframes whatsappPulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(43,176,230,0.45),
      0 12px 26px rgba(0,0,0,0.28);
  }
  70% {
    box-shadow:
      0 0 0 16px rgba(43,176,230,0),
      0 12px 26px rgba(0,0,0,0.28);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(43,176,230,0),
      0 12px 26px rgba(0,0,0,0.28);
  }
}

/* ================= SCROLL TO TOP ================= */

.scroll-top {
  position: fixed;
  bottom: 26px;
  right: 26px;

  width: 46px;
  height: 46px;

  background: #ffffff;
  color: var(--bleu-fonce);

  border-radius: 50%;
  border: 1px solid #e3e9ef;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;
  cursor: pointer;

  box-shadow: 0 8px 20px rgba(0,0,0,0.15);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);

  z-index: 9999;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
  transform: translateY(-3px);
}

/* ================= MOBILE ================= */

@media (max-width: 600px) {
  .floating-whatsapp {
    left: 16px;
    bottom: 16px;
  }

  .scroll-top {
    right: 16px;
    bottom: 16px;
  }

  /* Tooltip masqué sur mobile */
  .whatsapp-tooltip {
    display: none;
  }
}

:root{
  --primary:#2e8b57;
  --dark:#0f2f23;
  --light:#f6f9f8;
  --shadow:0 15px 35px rgba(0,0,0,.08);
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins', sans-serif;
}

body{
  background:var(--light);
  color:#333;
  line-height:1.8;
}

/* ================= HEADER ================= */
.page-header{
  background:linear-gradient(135deg,#2e8b57,#1f6f47);
  color:#fff;
  padding:70px 20px;
  text-align:center;
}

.page-header h1{
  font-size:2.4rem;
  font-weight:700;
}

.page-header p{
  max-width:700px;
  margin:15px auto 0;
  opacity:.95;
}

/* ================= CONTAINER ================= */
.container{
  max-width:1200px;
  margin:auto;
  padding:70px 20px;
}

/* ================= DOMAIN CARD ================= */
.domain-detail{
  background:#fff;
  border-radius:20px;
  box-shadow:var(--shadow);
  padding:45px;
  margin-bottom:50px;
  display:grid;
  grid-template-columns:80px 1fr;
  gap:30px;
}
/* Supprimer le soulignement des liens des domaines */
.domain-link,
.domain-link:visited,
.domain-link:hover,
.domain-link:active {
  text-decoration: none;
  color: inherit; /* garde la couleur du texte du bloc */
  display: block; /* rend tout le bloc cliquable proprement */
}

.domain-icon{
  width:80px;
  height:80px;
  background:rgba(46,139,87,.1);
  color:var(--primary);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:34px;
}

.domain-content h2{
  color:var(--dark);
  font-size:1.5rem;
  margin-bottom:15px;
}

.domain-content p{
  margin-bottom:15px;
  text-align:justify;
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){
  .domain-detail{
    grid-template-columns:1fr;
    padding:30px;
  }

  .domain-icon{
    margin-bottom:10px;
  }
}

/* ================= ZONES D’INTERVENTION ================= */
 
.map-section{
  max-width:1200px;
  margin:100px auto;
  padding:0 20px;
}

.map-header{
  text-align:center;
  margin-bottom:40px;
}

.map-header h2{
  font-size:2.2rem;
  color:#1f6f47;
  margin-bottom:10px;
}

.map-header p{
  max-width:650px;
  margin:auto;
  color:#555;
}

/* Carte */
.map-wrapper{
  background:#fff;
  border-radius:24px;
  box-shadow:0 20px 50px rgba(0,0,0,.08);
  padding:20px;
  margin-bottom:35px;
}

#map{
  height:480px;
  border-radius:18px;
  overflow:hidden;
}

/* Liste des zones */
.zones-list{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
}

.zone{
  padding:10px 18px;
  background:#f1f6f4;
  border-radius:999px;
  font-size:14px;
  color:#1f6f47;
  font-weight:500;
  cursor:pointer;
  transition:.3s ease;
}

.zone:hover{
  background:#1f6f47;
  color:#fff;
}
