/* ============================================================
   MAET — FEUILLE DE STYLE PRINCIPALE
   Site : www.maetafric.com
   Charte : Bleu marine / Bleu / Cyan + Orange (couleur du logo)
   ============================================================ */

/* ============================================================
   1. VARIABLES
   ============================================================ */
:root{
  --bleu-marine: #0A2A66;
  --bleu: #0057B8;
  --cyan: #00C2FF;
  --gris: #1A2233;
  --gris-clair: #6B7897;
  --fond: #F5F8FC;
  --blanc: #FFFFFF;
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;
  --footer: #061A3D;
  --gradient: linear-gradient(135deg, #0057B8 0%, #00C2FF 100%);

  --orange: #F28C28;
  --orange-clair: #FFB04D;
  --orange-fonce: #C2410C;
  --gradient-orange: linear-gradient(135deg, #F26A21 0%, #FFA23D 100%);

  --shadow-sm: 0 4px 15px rgba(10,42,102,0.08);
  --shadow-md: 0 8px 30px rgba(10,42,102,0.12);
  --shadow-lg: 0 20px 50px rgba(10,42,102,0.18);
  --transition: all .3s ease;
}

/* ============================================================
   2. RESET
   ============================================================ */
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:'Poppins', sans-serif;
  color:var(--gris);
  background:var(--fond);
  overflow-x:hidden;
  line-height:1.6;
}
a{text-decoration:none;color:inherit;}
img{max-width:100%;display:block;}
ul{list-style:none;}

::selection{
  background:var(--orange);
  color:var(--bleu-marine);
}

/* ============================================================
   3. NAVBAR
   ============================================================ */
header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  padding:18px 6%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:rgba(255,255,255,0.85);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  z-index:1000;
  transition:var(--transition);
  box-shadow:0 2px 20px rgba(10,42,102,0.05);
  border-bottom:3px solid transparent;
}
header.scrolled{
  padding:10px 6%;
  box-shadow:0 4px 30px rgba(10,42,102,0.12);
}

.logo-img{
  height:52px;
  width:auto;
  display:block;
  object-fit:contain;
  border-radius:12px;
  transition:height .3s ease, border-radius .3s ease;
}
header.scrolled .logo-img{
  height:44px;
  border-radius:10px;
}

.footer-logo{
  height:60px;
  width:auto;
  margin-bottom:18px;
  border-radius:14px;
}

.hero-icon img{
  width:110px;
  height:110px;
  border-radius:26px;
  box-shadow:0 20px 50px rgba(0,0,0,0.35);
  animation:floatIcon 4s ease-in-out infinite;
}

.contact-icon-brand img{
  width:100px;
  height:100px;
  border-radius:24px;
  box-shadow:0 15px 40px rgba(0,0,0,0.3);
  transition:transform .4s ease;
}

nav ul{
  display:flex;
  gap:32px;
  align-items:center;
}
nav a{
  font-weight:500;
  color:var(--bleu-marine);
  position:relative;
  padding:6px 0;
  transition:color .3s;
}
nav a::after{
  content:'';
  position:absolute;
  left:0;
  bottom:0;
  height:2px;
  width:0;
  background:var(--gradient-orange);
  transition:width .4s ease;
}
nav a:hover{color:var(--bleu);}
nav a:hover::after{width:100%;}



/* ============================================================
   NAVBAR — RESPONSIVE (menu burger)
   ============================================================ */

/* ===== TABLETTE ET MOBILE (≤ 900px) ===== */
@media (max-width: 900px){

  /* ===== Afficher le burger ===== */
  .burger{
    display: flex;
  }

  /* ===== Cacher le bouton CTA sur mobile ===== */
  .btn-cta{
    display: none;
  }

  /* ===== Transformer le menu en panneau latéral ===== */
  nav ul{
    position: fixed;
    top: 70px;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - 70px);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 30px 25px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    transition: right .4s cubic-bezier(.7,0,.3,1);
    z-index: 999;
    overflow-y: auto;
  }

  /* ===== Menu ouvert ===== */
  nav ul.open{
    right: 0;
  }

  /* ===== Items du menu ===== */
  nav ul li{
    width: 100%;
    border-bottom: 1px solid rgba(10,42,102,0.08);
  }

  nav ul li:last-child{
    border-bottom: none;
  }

  nav a{
    display: block;
    width: 100%;
    padding: 16px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--bleu-marine);
    transition: color .3s, padding-left .3s;
  }

  nav a:hover{
    color: var(--orange);
    padding-left: 8px;
  }

  /* ===== Désactiver la ligne orange au survol sur mobile ===== */
  nav a::after{
    display: none;
  }

  /* ===== Sélecteur de langue ===== */
  .lang-switch{
    margin-left: auto;
    margin-right: 12px;
  }

  /* ===== Header ajusté ===== */
  header{
    padding: 14px 5%;
  }

  header.scrolled{
    padding: 10px 5%;
  }

  /* ===== Logo ajusté ===== */
  .logo-img{
    height: 42px;
  }

  header.scrolled .logo-img{
    height: 38px;
  }

}

/* ===== TRÈS PETIT MOBILE (≤ 500px) ===== */
@media (max-width: 500px){

  header{
    padding: 12px 4%;
  }

  .logo-img{
    height: 38px;
  }

  header.scrolled .logo-img{
    height: 34px;
  }

  .lang-btn{
    padding: 5px 10px;
    font-size: 12px;
  }

  nav ul{
    width: 85%;
    padding: 25px 20px;
  }

  nav a{
    font-size: 14px;
    padding: 14px 0;
  }

}

/* ============================================================
   4. SÉLECTEUR DE LANGUE
   ============================================================ */
.lang-switch{
  display:flex;
  align-items:center;
  gap:4px;
  background:var(--fond);
  padding:4px;
  border-radius:50px;
  border:1px solid rgba(10,42,102,0.1);
}
.lang-btn{
  padding:6px 14px;
  border-radius:50px;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  border:none;
  background:transparent;
  color:var(--bleu-marine);
  font-family:inherit;
  transition:var(--transition);
  display:flex;
  align-items:center;
  gap:4px;
}
.lang-btn:hover{color:var(--bleu);}
.lang-btn.active{
  background:var(--gradient);
  color:#fff;
  box-shadow:0 4px 12px rgba(0,87,184,0.35);
}

.btn-cta{
  padding:11px 26px;
  border-radius:50px;
  background:var(--gradient-orange);
  color:var(--bleu-marine);
  font-weight:700;
  font-size:14px;
  box-shadow:0 8px 22px rgba(242,140,40,0.40);
  transition:transform .3s, box-shadow .3s;
}
.btn-cta:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 30px rgba(242,140,40,0.55);
}

.burger{
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
}
.burger span{
  width:26px;
  height:3px;
  background:var(--bleu-marine);
  border-radius:3px;
  transition:.3s;
}

/* ============================================================
   5. HERO
   ============================================================ */
.hero{
  min-height:60vh;
  max-height:650px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:100px 6% 50px;
  position:relative;
  overflow:hidden;
  background-size:cover;
  background-position:center 35%;
  background-repeat:no-repeat;
  background-attachment:fixed;
}
.hero::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
  z-index:0;
}
.hero-content{
  position:relative;
  z-index:2;
  max-width:900px;
  text-align:center;
  animation:fadeUp 1s ease;
}
.hero-badge{
  display:inline-block;
  padding:8px 20px;
  border-radius:50px;
  background:rgba(255,255,255,0.15);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  color:#fff;
  font-size:12px;
  font-weight:600;
  letter-spacing:2px;
  margin-bottom:26px;
  border:1px solid rgba(255,255,255,0.25);
}
.hero h1{
  font-size:clamp(2rem, 5vw, 3.8rem);
  font-weight:900;
  color:#fff;
  line-height:1.15;
  margin-bottom:18px;
  text-shadow:0 4px 20px rgba(0,0,0,0.3);
}
.hero h1 span{
  background:linear-gradient(135deg, #FFB04D, #F28C28);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
.hero p{
  font-size:clamp(1rem, 1.3vw, 1.1rem);
  color:rgba(255,255,255,0.92);
  max-width:600px;
  margin:0 auto 36px;
}
.hero-buttons{
  display:flex;
  gap:16px;
  justify-content:center;
  flex-wrap:wrap;
}
.btn-primary,
.btn-secondary{
  padding:15px 34px;
  border-radius:50px;
  font-weight:600;
  font-size:15px;
  cursor:pointer;
  border:none;
  transition:var(--transition);
}
.btn-primary{
  background:var(--orange);
  color:var(--bleu-marine);
  font-weight:700;
  box-shadow:0 10px 28px rgba(242,140,40,0.40);
}
.btn-primary:hover{
  transform:translateY(-4px);
  background:var(--orange-clair);
  box-shadow:0 16px 38px rgba(242,140,40,0.55);
}
.btn-secondary{
  background:transparent;
  color:#fff;
  border:2px solid rgba(255,255,255,0.6);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.btn-secondary:hover{
  background:#fff;
  color:var(--bleu-marine);
  border-color:#fff;
  transform:translateY(-4px);
}

/* ============================================================
   6. SECTIONS COMMUNES
   ============================================================ */
section{
  padding:90px 6%;
  position:relative;
}
.section-title{
  text-align:center;
  margin-bottom:60px;
}
.section-title h2{
  font-size:clamp(1.8rem, 3vw, 2.6rem);
  font-weight:800;
  color:var(--bleu-marine);
  margin-bottom:14px;
}
.section-title h2 span{
  background:linear-gradient(135deg, #C2410C 0%, #F26A21 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
.section-title h2::after{
  content:'';
  display:block;
  width:70px;
  height:4px;
  margin:14px auto 0;
  border-radius:4px;
  background:var(--gradient-orange);
}
.section-title p{
  color:var(--gris-clair);
  max-width:600px;
  margin:0 auto;
}

/* ============================================================
   7. SLIDER PUBLICITAIRE
   ============================================================ */
.pub-section{
  padding: 60px 6%;
  background: linear-gradient(135deg, #0A2A66 0%, #0057B8 100%);
  position: relative;
  overflow: hidden;
}
.pub-label{
  text-align: center;
  color: #fff;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 30px;
}

/* ⭐ SLIDER — version unique (plus de doublon) */
.slider{
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
  height: auto;
  aspect-ratio: 1200 / 350;    /* adapté à tes bannières PC */
  background: #0A2A66;
}
.slides{
  display: flex;
  height: 100%;
  transition: transform .8s cubic-bezier(.7,0,.3,1);
}
.slide{
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 40px;
  color: #fff;
  position: relative;
}
.slide h3{
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.slide p{
  font-size: 1rem;
  opacity: 0.9;
  max-width: 600px;
}
.slide .cta-pub{
  margin-top: 22px;
  padding: 12px 30px;
  border-radius: 50px;
  background: var(--orange);
  color: var(--bleu-marine);
  font-weight: 700;
  font-size: 14px;
  transition: transform .3s, background .3s;
}
.slide .cta-pub:hover{
  transform: scale(1.06);
  background: var(--orange-clair);
}

/* ============ SLIDE IMAGE ============ */
.slide.slide-image{
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}
.slide.slide-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;          
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

/* ============ GESTION PC / MOBILE ============ */
.slide.desktop-only,
.slide.mobile-only {
  display: none !important;
}

@media (min-width: 769px){
  .slide.desktop-only { display: flex !important; }
}

@media (max-width: 768px){
  .slide.mobile-only { display: flex !important; }
}

/* ============ FLÈCHES ============ */
.slider-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 20px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s;
  z-index: 5;
}
.slider-arrow:hover{ background: rgba(255,255,255,0.4); }
.arrow-left{ left: 20px; }
.arrow-right{ right: 20px; }

/* ============ POINTS ============ */
.slider-dots{
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.35);
  padding: 6px 12px;
  border-radius: 50px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: .3s;
  border: none;
  padding: 0;
}
.dot.active{
  background: var(--orange);
  width: 20px;
  border-radius: 6px;
}

/* ============================================================
   8. SERVICES
   ============================================================ */
.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
  gap:30px;
  max-width:1200px;
  margin:0 auto;
}
.service-card{
  background:#fff;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 8px 30px rgba(10,42,102,0.07);
  transition:transform .4s, box-shadow .4s;
  position:relative;
}
.service-card:hover{
  transform:translateY(-10px);
  box-shadow:var(--shadow-lg);
}
.service-image{
  width:100%;
  height:200px;
  overflow:hidden;
  position:relative;
}
.service-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .6s ease;
}
.service-card:hover .service-image img{transform:scale(1.12);}
.service-body{
  padding:28px 26px 32px;
  position:relative;
}
.service-body::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  height:4px;
  width:100%;
  background:var(--gradient-orange);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .5s;
}
.service-card:hover .service-body::before{transform:scaleX(1);}
.service-body h3{
  font-size:1.2rem;
  color:var(--bleu-marine);
  margin-bottom:12px;
  font-weight:700;
}
.service-body p{
  color:var(--gris-clair);
  font-size:0.95rem;
}

/* ============================================================
   9. GALERIE
   ============================================================ */
.gallery-section{background:#fff;}
.gallery-filters{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:40px;
}
.filter-btn{
  padding:10px 24px;
  border-radius:50px;
  background:var(--fond);
  color:var(--bleu-marine);
  font-weight:600;
  font-size:14px;
  border:2px solid transparent;
  cursor:pointer;
  transition:.3s;
  font-family:inherit;
}
.filter-btn:hover{
  border-color:var(--orange);
  color:var(--bleu);
}
.filter-btn.active{
  background:var(--gradient);
  color:#fff;
  box-shadow:0 8px 22px rgba(0,87,184,0.35);
}
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:20px;
  max-width:1200px;
  margin:0 auto;
}
.gallery-item{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  height:240px;
  cursor:pointer;
  box-shadow:0 8px 25px rgba(10,42,102,0.1);
  transition:transform .4s, box-shadow .4s;
}
.gallery-item:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 40px rgba(10,42,102,0.22);
}
.gallery-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .6s ease;
}
.gallery-item:hover img{transform:scale(1.12);}
.gallery-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, transparent 40%, rgba(10,42,102,0.9));
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:22px;
  color:#fff;
  opacity:0;
  transition:opacity .4s;
}
.gallery-item:hover .gallery-overlay{opacity:1;}
.gallery-overlay h4{
  font-size:1.1rem;
  font-weight:700;
  margin-bottom:4px;
}
.gallery-overlay p{
  font-size:0.85rem;
  opacity:0.85;
}
.gallery-overlay .zoom{
  position:absolute;
  top:18px;
  right:18px;
  width:40px;
  height:40px;
  border-radius:50%;
  background:rgba(255,255,255,0.2);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
}
.gallery-item.hide{display:none;}

/* ============================================================
   10. LIGHTBOX
   ============================================================ */
.lightbox{
  position:fixed;
  inset:0;
  background:rgba(6,26,61,0.95);
  z-index:3000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:30px;
  animation:fadeIn .3s ease;
}
.lightbox.open{display:flex;}
.lightbox img{
  max-width:90%;
  max-height:85vh;
  border-radius:14px;
  box-shadow:0 30px 80px rgba(0,0,0,0.6);
  animation:zoomIn .4s ease;
}
.lightbox-close{
  position:absolute;
  top:25px;
  right:35px;
  width:50px;
  height:50px;
  border-radius:50%;
  background:rgba(255,255,255,0.15);
  color:#fff;
  font-size:26px;
  border:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.3s;
}
.lightbox-close:hover{
  background:var(--orange);
  color:var(--bleu-marine);
  transform:rotate(90deg);
}

/* ============================================================
   11. PARTENAIRES
   ============================================================ */
.partners-section{
  background:#fff;
  padding:70px 6%;
  text-align: center;
}
.partners-section .section-title{
  text-align: center;
  margin: 0 auto 50px;
  max-width: 800px;
}
.partners-section .section-title h2{
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--bleu-marine);
  margin-bottom: 12px;
}
.partners-section .section-title p{
  color: #666;
  font-size: 1.05rem;
}
.partners-slider{
  overflow:hidden;
  position:relative;
  max-width:1200px;
  margin: 0 auto;
  padding: 20px 0;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image:linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.partners-track{
  display:flex;
  gap:50px;
  align-items:center;
  animation: scrollPartners 35s linear infinite;
  width: max-content;
}
.partner-logo{
  height:80px;
  min-width:160px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px 24px;
  border-radius:14px;
  background:#F5F8FC;
  transition:.4s;
  filter:grayscale(1);
  opacity:0.65;
}
.partner-logo img{
  max-height:100%;
  max-width:100%;
  width: auto;
  height: auto;
  object-fit:contain;
  image-rendering:auto;
}
.partner-logo:hover{
  filter:grayscale(0);
  opacity:1;
  background:#fff;
  box-shadow:0 12px 30px rgba(0,87,184,0.18);
  transform:scale(1.08);
}

/* ============================================================
   12. GOOGLE MAPS
   ============================================================ */
.maps-section{
  padding:0 6% 90px;
  background:#fff;
}
.maps-wrapper{
  max-width:1200px;
  margin:0 auto;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 20px 50px rgba(10,42,102,0.15);
  position:relative;
  border:1px solid rgba(10,42,102,0.08);
}
.maps-wrapper iframe{
  width:100%;
  height:450px;
  border:0;
  display:block;
}
.maps-info{
  position:absolute;
  top:24px;
  left:24px;
  background:#fff;
  padding:22px 26px;
  border-radius:16px;
  box-shadow:0 10px 30px rgba(0,0,0,0.15);
  max-width:300px;
  border-left:5px solid var(--orange);
}
.maps-info h4{
  color:var(--bleu-marine);
  font-size:1.1rem;
  margin-bottom:8px;
}
.maps-info p{
  color:var(--gris-clair);
  font-size:0.9rem;
  margin-bottom:14px;
}
.maps-info a{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:10px 20px;
  border-radius:50px;
  background:var(--gradient);
  color:#fff;
  font-size:13px;
  font-weight:600;
  transition:transform .3s;
}
.maps-info a:hover{transform:translateY(-2px);}

/* ============================================================
   13. CONTACT
   ============================================================ */
.contact-section{
  background:linear-gradient(135deg, #0A2A66 0%, #0057B8 100%);
  color:#fff;
}
.contact-section .section-title h2,
.contact-section .section-title p{color:#fff;}
.contact-section .section-title p{opacity:0.85;}
.contact-wrapper{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:40px;
  max-width:1100px;
  margin:0 auto;
}
.contact-info{
  display:flex;
  flex-direction:column;
  gap:20px;
}
.contact-card{
  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,0.15);
  padding:22px;
  border-radius:18px;
  transition:transform .3s, background .3s;
  display:flex;
  align-items:center;
  gap:18px;
}
.contact-card:hover{
  transform:translateX(6px);
  background:rgba(255,255,255,0.14);
}
.contact-icon{
  width:56px;
  height:56px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  flex-shrink:0;
  background:var(--gradient-orange);
  box-shadow:0 8px 22px rgba(242,140,40,0.40);
}
.contact-icon.whatsapp{
  background:linear-gradient(135deg, #25D366, #128C7E);
  box-shadow:0 8px 22px rgba(37,211,102,0.4);
}
.contact-icon.mail{
  background:linear-gradient(135deg, #0057B8, #00C2FF);
  box-shadow:0 8px 22px rgba(0,194,255,0.35);
}
.contact-card h4{
  font-size:1rem;
  font-weight:700;
  margin-bottom:4px;
}
.contact-card p,
.contact-card a{
  font-size:0.9rem;
  opacity:0.85;
  color:#fff;
  word-break:break-all;
}
.contact-card a:hover{color:var(--orange-clair);}

.contact-form{
  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  padding:40px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,0.15);
}
.form-group{margin-bottom:20px;}
.form-group input,
.form-group textarea{
  width:100%;
  padding:14px 18px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.2);
  background:rgba(255,255,255,0.1);
  color:#fff;
  font-family:inherit;
  font-size:15px;
  transition:.3s;
}
.form-group input::placeholder,
.form-group textarea::placeholder{
  color:rgba(255,255,255,0.6);
}
.form-group input:focus,
.form-group textarea:focus{
  outline:none;
  border-color:var(--orange-clair);
  background:rgba(255,255,255,0.15);
}
.form-group textarea{
  resize:vertical;
  min-height:120px;
}
.form-buttons{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.btn-submit,
.btn-whatsapp{
  flex:1;
  min-width:180px;
  padding:16px;
  border-radius:12px;
  font-weight:700;
  font-size:15px;
  border:none;
  cursor:pointer;
  transition:transform .3s, box-shadow .3s;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}
.btn-submit{
  background:var(--gradient-orange);
  color:var(--bleu-marine);
  font-family:inherit;
}
.btn-submit:hover{
  transform:translateY(-3px);
  box-shadow:0 15px 35px rgba(242,140,40,0.45);
}
.btn-whatsapp{
  background:linear-gradient(135deg, #25D366, #128C7E);
  color:#fff;
  font-family:inherit;
}
.btn-whatsapp:hover{
  transform:translateY(-3px);
  box-shadow:0 15px 35px rgba(37,211,102,0.4);
}

/* ============================================================
   14. WHATSAPP FLOTTANT
   ============================================================ */
.whatsapp-float{
  position:fixed;
  bottom:25px;
  right:25px;
  width:62px;
  height:62px;
  border-radius:50%;
  background:linear-gradient(135deg, #25D366, #128C7E);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  z-index:2000;
  box-shadow:0 10px 30px rgba(37,211,102,0.5);
  transition:transform .3s;
  animation:pulseWhatsapp 2s infinite;
}
.whatsapp-float:hover{transform:scale(1.12);}
.whatsapp-float svg{
  width:34px;
  height:34px;
  fill:#fff;
}
.whatsapp-float::before{
  content:attr(data-tooltip);
  position:absolute;
  right:75px;
  top:50%;
  transform:translateY(-50%);
  background:#fff;
  color:var(--bleu-marine);
  padding:10px 16px;
  border-radius:12px;
  font-size:13px;
  font-weight:600;
  white-space:nowrap;
  box-shadow:0 8px 25px rgba(0,0,0,0.15);
  opacity:0;
  pointer-events:none;
  transition:.3s;
}
.whatsapp-float:hover::before{
  opacity:1;
  right:80px;
}

/* ============================================================
   15. FOOTER
   ============================================================ */
footer{
  background:var(--footer);
  color:#a9b5cc;
  padding:60px 6% 25px;
  font-size:14px;
  border-top:5px solid var(--orange);
}
.footer-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:40px;
  max-width:1200px;
  margin:0 auto 40px;
}
.footer-col h4{
  color:#fff;
  margin-bottom:18px;
  font-size:16px;
}
.footer-col a{
  display:block;
  margin-bottom:10px;
  transition:.3s;
}
.footer-col a:hover{
  color:var(--orange-clair);
  transform:translateX(5px);
}
.footer-bottom{
  text-align:center;
  padding-top:25px;
  border-top:1px solid rgba(255,255,255,0.1);
  font-size:13px;
}
.footer-bottom span{
  background:linear-gradient(135deg, #FFA23D, #F26A21);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  font-weight:700;
}

/* ============================================================
   FOOTER — RESPONSIVE
   ============================================================ */

/* ===== TABLETTE (≤ 900px) ===== */
@media (max-width: 900px){
  
  footer{
    padding: 50px 5% 22px;
  }
  
  .footer-grid{
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
  }
  
}

/* ===== MOBILE (≤ 768px) ===== */
@media (max-width: 768px){
  
  footer{
    padding: 45px 5% 20px;
    font-size: 13px;
  }
  
  .footer-grid{
    grid-template-columns: 1fr;       /* ← 1 seule colonne */
    gap: 28px;
    text-align: center;               /* ← tout centré */
    margin-bottom: 25px;
  }
  
  .footer-logo{
    height: 50px;
    margin: 0 auto 15px;              /* ← centre le logo */
  }
  
  .footer-col h4{
    font-size: 15px;
    margin-bottom: 14px;
  }
  
  .footer-col a{
    font-size: 13px;
    margin-bottom: 8px;
  }
  
  /* ⭐ Désactive l'effet de déplacement horizontal sur mobile */
  .footer-col a:hover{
    transform: translateX(0);
  }
  
  .footer-bottom{
    padding-top: 20px;
    font-size: 12px;
    line-height: 1.5;
  }
  
}

/* ===== TRÈS PETIT MOBILE (≤ 500px) ===== */
@media (max-width: 500px){
  
  footer{
    padding: 40px 5% 18px;
    font-size: 12px;
  }
  
  .footer-grid{
    gap: 24px;
  }
  
  .footer-logo{
    height: 45px;
    margin-bottom: 12px;
  }
  
  .footer-col h4{
    font-size: 14px;
    margin-bottom: 12px;
  }
  
  .footer-col a{
    font-size: 12.5px;
    margin-bottom: 7px;
  }
  
  .footer-bottom{
    font-size: 11.5px;
    padding-top: 18px;
  }
  
}


/* ============================================================
   CONTACT — RESPONSIVE (correction du décalage)
   ============================================================ */

/* ===== TABLETTE (≤ 900px) : passage en 1 colonne ===== */
@media (max-width: 900px){
  
  .contact-wrapper{
    grid-template-columns: 1fr !important;  /* ← FORCE 1 colonne */
    gap: 30px;
    max-width: 100%;
    padding: 0 5%;
  }
  
  .contact-section .section-title{
    padding: 0 15px;
  }
  
  .contact-section .section-title h2{
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    word-wrap: break-word;
  }
  
  .contact-info{
    width: 100%;
  }
  
  .contact-card{
    width: 100%;
    box-sizing: border-box;
  }
  
  .contact-form{
    width: 100%;
    box-sizing: border-box;
  }
  
}

/* ===== MOBILE (≤ 768px) : ajustements supplémentaires ===== */
@media (max-width: 768px){
  
  .contact-section{
    padding: 50px 4%;
    overflow-x: hidden;    /* ← empêche tout débordement */
  }
  
  .contact-wrapper{
    grid-template-columns: 1fr !important;
    gap: 20px;
    padding: 0;
    max-width: 100%;
  }
  
  .contact-section .section-title{
    padding: 0 10px;
    margin-bottom: 30px;
  }
  
  .contact-section .section-title h2{
    font-size: 1.5rem;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  
  .contact-section .section-title p{
    font-size: 0.9rem;
    padding: 0 5px;
  }
  
  .contact-info{
    gap: 14px;
  }
  
  .contact-card{
    padding: 16px 14px;
    gap: 12px;
    border-radius: 14px;
  }
  
  .contact-icon{
    width: 46px;
    height: 46px;
    font-size: 20px;
  }
  
  .contact-card h4{
    font-size: 0.95rem;
  }
  
  .contact-card p,
  .contact-card a{
    font-size: 0.82rem;
    word-break: break-all;
    overflow-wrap: anywhere;
    max-width: 100%;
  }
  
  .contact-form{
    padding: 22px 18px;
    border-radius: 16px;
  }
  
  .form-group{
    margin-bottom: 14px;
  }
  
  .form-group input,
  .form-group textarea{
    padding: 12px 14px;
    font-size: 14px;
    box-sizing: border-box;
    max-width: 100%;
  }
  
  .form-buttons{
    flex-direction: column;
    gap: 10px;
  }
  
  .btn-submit,
  .btn-whatsapp{
    width: 100%;
    min-width: 0;
    padding: 14px;
    font-size: 14px;
  }
  
}

/* ===== TRÈS PETIT MOBILE (≤ 500px) ===== */
@media (max-width: 500px){
  
  .contact-section{
    padding: 45px 4%;
  }
  
  .contact-section .section-title h2{
    font-size: 1.3rem;
  }
  
  .contact-card{
    padding: 14px 12px;
  }
  
  .contact-icon{
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
  
  .contact-form{
    padding: 18px 14px;
  }
  
}

/* ============================================================
   SÉCURITÉ GLOBALE — empêcher tout débordement horizontal
   ============================================================ */
html, body{
  overflow-x: hidden;
  max-width: 100vw;
}

.contact-section,
.contact-wrapper,
.contact-info,
.contact-form,
.contact-card{
  max-width: 100%;
  box-sizing: border-box;
}

/* ============================================================
   16. ANIMATIONS
   ============================================================ */
@keyframes fadeUp{
  from{opacity:0; transform:translateY(40px);}
  to{opacity:1; transform:translateY(0);}
}
@keyframes fadeIn{
  from{opacity:0;}
  to{opacity:1;}
}
@keyframes zoomIn{
  from{transform:scale(.85); opacity:0;}
  to{transform:scale(1); opacity:1;}
}
@keyframes scrollPartners{
  from{transform:translateX(0);}
  to{transform:translateX(-50%);}
}
@keyframes pulseWhatsapp{
  0%{box-shadow:0 10px 30px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0.6);}
  70%{box-shadow:0 10px 30px rgba(37,211,102,0.5), 0 0 0 20px rgba(37,211,102,0);}
  100%{box-shadow:0 10px 30px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0);}
}
@keyframes langFlash{
  0%{opacity:1; transform:scale(1);}
  40%{opacity:0.5; transform:scale(0.99);}
  100%{opacity:1; transform:scale(1);}
}
@keyframes floatIcon{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-12px);}
}

/* Animation reveal au