
:root{
  --bg-1:#0f1a15;         /* foncé kaki très sombre */
  --bg-2:#1b2a22;         /* foncé alternatif */
  --bg-3:#2a3a31;
  --bg-4:#ede3cd;         /* beige */
  --card:#141e18;
  --text:#f4f4f2;
  --muted:#cfd6d0;
  --accent:#3fb564;       /* vert 2BSH */
  --accent-2:#2a8f4c;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg-1);color:var(--text)}
img{max-width:100%;display:block}
a{text-decoration:none;color:var(--text)}

.section{min-height:100svh;display:flex;align-items:center;padding:64px 16px}
.container{width:min(100%,960px);margin:0 auto}
.container.narrow{width:min(100%,760px)}
.center{text-align:center}

.alt-1{background:var(--bg-1)}
.alt-2{background:var(--bg-2)}
.alt-3{background:#353f36}
.alt-4{background:var(--bg-4); color:#1f2937}
.alt-4 .section-title{color:#1f2937}
.alt-4 .btn{--btn-bg:#1f2937;--btn-text:#fff}

.section-title{font-weight:800;letter-spacing:.4px;margin:0 0 16px}
.section-title.with-icon{display:flex; align-items:center; gap:.6rem}
.section-title .icon{font-size:1.4rem}
.section-subtitle{color:var(--muted);margin:0 0 24px}

.logo{height:36px;margin-bottom:8px;opacity:.9}

.hero{position:relative;overflow:hidden}
.hero-media{position:absolute;inset:0;z-index:0;opacity:.35}
.hero-video,.hero-fallback{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-content{position:relative;z-index:1}
.hero h1{font-size:2rem; line-height:1.2;margin:.25rem 0 8px}
.lead{color:var(--muted);margin:0 0 16px}

.cta-row{display:flex; gap:10px}
.btn{--btn-bg:var(--accent); --btn-text:#08140d; background:var(--btn-bg); color:var(--btn-text); padding:12px 16px; border-radius:12px; font-weight:700; box-shadow:var(--shadow); display:inline-flex; align-items:center; justify-content:center}
.btn.ghost{background:transparent; outline:1px solid rgba(255,255,255,.18); color:var(--text)}
.btn.primary{--btn-bg:var(--accent); --btn-text:#08140d}
.btn:active{transform:scale(.98)}

.card{background:rgba(0,0,0,.25); border:1px solid rgba(255,255,255,.06); border-radius:16px; box-shadow:var(--shadow); padding:18px}

.form-grid{display:grid; grid-template-columns:1fr; gap:12px}
label{display:grid; gap:6px;font-weight:600}
input, select{width:100%; padding:12px 14px; border-radius:12px; background:#0e1713; color:var(--text); border:1px solid rgba(255,255,255,.12); font-size:16px}
input::placeholder{color:#8ea199}

.services-grid{display:grid; gap:16px}
.service-card{background:#101a15; border:1px solid rgba(255,255,255,.06); border-radius:18px; padding:18px; box-shadow:var(--shadow)}
.service-card h3{margin:8px 0 4px; letter-spacing:.6px}
.service-intro{color:var(--muted)}

.service-media{display:flex; justify-content:center; margin:6px 0 8px}
.badge{width:92px;height:92px; filter:drop-shadow(0 8px 20px rgba(0,0,0,.35)); border-radius:50%}

.checklist{list-style:none; padding-left:0; margin:10px 0 0}
.checklist li{position:relative; padding-left:26px; margin:10px 0; line-height:1.35}
.checklist li:before{content:""; position:absolute; left:0; top:.2rem; width:18px; height:18px; border-radius:50%; background:linear-gradient(135deg,#2bd67b,#12b981); box-shadow:0 4px 10px rgba(0,0,0,.25)}
.checklist li:after{content:""; position:absolute; left:5px; top:8px; width:8px; height:4px; border-left:2px solid #0e1411; border-bottom:2px solid #0e1411; transform:rotate(-45deg)}

.gallery{display:grid; grid-template-columns:repeat(3,1fr); gap:8px}
.gallery 

.faq{background:#101a15; border:1px solid rgba(255,255,255,.07); border-radius:14px; padding:12px; margin:10px 0}
.faq summary{cursor:pointer; font-weight:700}
.faq[open]{background:#0e1713}

.contact-grid{display:grid; gap:12px}

.footer{padding:30px 16px; background:#0c140f; color:var(--muted)}

/* Menu flottant + overlay */
#fabMenu{position:fixed; right:16px; bottom:22px; width:64px; height:64px; border-radius:50%; background:var(--accent); color:#08140d; display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow); border:none; z-index:40}
#fabMenu span{display:block; width:26px; height:3px; background:#0d2216; margin:3px 0; border-radius:2px; transition:transform .25s ease}

#overlay{position:fixed; inset:0; background:rgba(8,12,10,.92); backdrop-filter:blur(8px); opacity:0; pointer-events:none; transition:opacity .2s ease; z-index:50}
#overlay.open{opacity:1; pointer-events:auto; display:flex; align-items:center; justify-content:center;}
.overlay-inner{position:relative; width:min(100%,720px); height:100%; margin:0 auto; padding:84px 26px 40px; display:flex; flex-direction:column; gap:18px}
.overlay-logo{max-height:56px;height:auto;width:auto;opacity:.95}
#overlay ul{list-style:none; padding:0; margin:0; display:grid; gap:14px}
#overlay a{font-size:22px; font-weight:700; color:#f6f7f5}


/* Animations apparition */
.reveal{opacity:0; transform:translateY(18px); transition:opacity .5s ease, transform .5s ease}
.reveal-up{opacity:0; transform:translateY(14px); transition:opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1)}
.reveal-visible{opacity:1; transform:none}
.service-card:hover{transform:translateY(-2px)}
/* No horizontal scroll bugs */
html,body{overflow-x:hidden}

/* ==== Hotfixes (05-09-2025) ==== */

/* Prevent logos and UI icons from being distorted by generic img rules */
.overlay-logo,
.hero .logo {
  width: auto !important;
  height: auto !important;
  max-height: 36px;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Ensure hero video displays correctly and covers the header */
.hero-media{ position:absolute; inset:0; z-index:0; }
.hero-video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.hero-fallback{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }

/* Clean, solid hamburger bars on the floating button */
#fabMenu span{
  background:#0e1813 !important;   /* unifie la couleur des barres */
  box-shadow:none !important;
  filter:none !important;
  image-rendering:auto !important;
}

/* Slightly increase the contrast of the FAB background on very dark screens */
#fabMenu{
  background:var(--accent);
}

/* On overlay, keep the logo small and crisp */
#overlay .overlay-logo{max-height:56px;height:auto;width:auto;opacity:.95}

/* Restore gallery grid visuals */
.gallery{display:grid; grid-template-columns:repeat(3,1fr); gap:8px}
.gallery img{width:100%; aspect-ratio:1/1; object-fit:cover; border-radius:12px; box-shadow:var(--shadow)}

/* === UI refresh: FAB hamburger (SVG) === */
#fabMenu{
  position:fixed; right:16px; bottom:22px;
  width:60px; height:60px; border-radius:50%;
  display:grid; place-items:center;
  background:var(--accent); border:none; box-shadow:var(--shadow); z-index:40;
  transition:transform .08s ease;
}
#fabMenu:active{ transform:scale(.98); }
#fabMenu .icon-menu{ width:28px; height:28px; display:block; }
#fabMenu .icon-menu path{ fill:#ffffff; }

/* Hide any legacy spans if present */
#fabMenu span{ display:none !important; }

/* ===== Lightbox (mobile friendly) ===== */
.gallery{display:grid; grid-template-columns:repeat(3,1fr); gap:8px}
.gallery .g-thumb{appearance:none; padding:0; border:0; background:transparent; border-radius:12px; overflow:hidden}
.gallery img{width:100%; aspect-ratio:1/1; object-fit:cover; display:block}

#lightbox{position:fixed; inset:0; background:rgba(8,12,10,.92); display:none; z-index:60;}
#lightbox.open{display:block;}
#lightbox .lb-inner{position:relative; width:100%; height:100%; display:grid; place-items:center;}
#lightbox .lb-stage{position:relative; width:100%; height:100%; display:grid; place-items:center; padding:36px 64px;}
#lightbox .lb-stage img{max-width:100%; max-height:100%; width:auto; height:auto; border-radius:14px; box-shadow:var(--shadow);}
#lightbox .lb-close{position:absolute; top:18px; right:18px; width:40px; height:40px; border-radius:10px; background:rgba(255,255,255,.06); color:#fff; font-size:26px; border:1px solid rgba(255,255,255,.2)}
#lightbox .lb-prev,#lightbox .lb-next{position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px; border-radius:50%; border:1px solid rgba(255,255,255,.25); background:rgba(255,255,255,.08); color:#fff; font-size:28px}
#lightbox .lb-prev{left:14px} 
#lightbox .lb-next{right:14px}
#lightbox .lb-count{position:absolute; bottom:16px; left:50%; transform:translateX(-50%); font-weight:700; color:#fff; background:rgba(0,0,0,.35); padding:6px 10px; border-radius:10px; border:1px solid rgba(255,255,255,.18)}

/* ===== Carousel (section Galerie) ===== */
.gallery{padding-top:4px}
.carousel{position:relative; border-radius:14px; overflow:hidden; background:#0f1a15; }
.carousel-stage{width:100%;}
.carousel-stage img{display:block; width:100%; height:auto; border-radius:0; box-shadow:none}
.carousel-prev,.carousel-next{
  position:absolute; top:50%; transform:translateY(-50%);
  width:42px; height:42px; border-radius:50%; border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.08); color:#fff; font-size:26px
}
.carousel-prev{left:10px}
.carousel-next{right:10px}
.carousel-dots{display:flex; justify-content:center; gap:8px; padding:10px 0}
.carousel-dots button{
  width:8px; height:8px; border-radius:50%; border:0;
  background:rgba(255,255,255,.35)
}
.carousel-dots button[aria-selected="true"]{background:#fff}

/* === Carousel v2: bigger & responsive === */
.carousel{
  position:relative; border-radius:16px; overflow:hidden;
  background:#0f1a15; width:100%;
}
.carousel-stage{
  width:100%;
  height:clamp(220px, 56vw, 420px);
}
.carousel-stage img{
  width:100%; height:100%;
  object-fit:cover; display:block; border-radius:0; box-shadow:none;
}
.carousel-prev,.carousel-next{
  position:absolute; top:50%; transform:translateY(-50%);
  width:48px; height:48px; border-radius:50%;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(0,0,0,.28); color:#fff; font-size:28px
}
.carousel-prev{left:10px}
.carousel-next{right:10px}
.carousel-dots{display:flex; justify-content:center; gap:8px; padding:10px 0}
.carousel-dots button{width:8px; height:8px; border-radius:50%; border:0; background:rgba(255,255,255,.35)}
.carousel-dots button[aria-selected="true"]{background:#fff}

/* === Gallery Carousel v7: centré, large, proportions améliorées === */
/* Écrase toute ancienne grille de .gallery */
#galerie .gallery{ display:block !important; padding-top:8px; }
/* Le carousel est centré dans la colonne, largeur confortable */
#galerie .carousel{
  width:min(100%, 92%);
  margin:12px auto 6px;           /* centre horizontalement */
  border-radius:18px;
  overflow:hidden;
  background:#0f1a15;
  position:relative;
}
/* Hauteur plus généreuse et responsive */
#galerie .carousel-stage{
  width:100%;
  height:clamp(300px, 75vw, 560px); /* plus haut sur mobile */
}
#galerie .carousel-stage img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  border-radius:0;
  box-shadow:none;
}

/* Navigation et indicateurs centrés */
#galerie .carousel-prev, 
#galerie .carousel-next{
  position:absolute; top:50%; transform:translateY(-50%);
  width:50px; height:50px; border-radius:50%;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(0,0,0,.28); color:#fff; font-size:28px
}
#galerie .carousel-prev{ left:10px; }
#galerie .carousel-next{ right:10px; }

#galerie .carousel-dots{
  display:flex; justify-content:center; align-items:center;
  gap:8px; padding:12px 0 6px;
}
#galerie .carousel-dots button{
  width:8px; height:8px; border-radius:50%; border:0;
  background:rgba(255,255,255,.35)
}
#galerie .carousel-dots button[aria-selected="true"]{ background:#fff; }

/* === Gallery Carousel v8: centré + robust fallback iOS === */
#galerie .gallery{
  display:flex !important;
  justify-content:center;
  align-items:stretch;
  width:100%;
  padding-top:8px;
}
#galerie .carousel{
  width:96%;
  margin:0 auto 6px;
  border-radius:18px;
  overflow:hidden;
  background:#0f1a15;
  position:relative;
}
#galerie .carousel-stage{ width:100%; }
/* Fallback avant clamp (pour anciens Safari) */
#galerie .carousel-stage{ height:56vw; min-height:300px; max-height:560px; }
/* Si clamp() est supporté, on utilise une hauteur plus fine */
@supports (height: clamp(1px, 1vw, 2px)) {
  #galerie .carousel-stage{ height:clamp(300px, 75vw, 560px); }
}
#galerie .carousel-stage img{
  width:100%; height:100%;
  object-fit:cover; display:block;
}
#galerie .carousel-dots{
  display:flex; justify-content:center; align-items:center;
  gap:8px; padding:12px 0 6px;
}
#galerie .carousel-prev, #galerie .carousel-next{
  position:absolute; top:50%; transform:translateY(-50%);
  width:50px; height:50px; border-radius:50%;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(0,0,0,.28); color:#fff; font-size:28px
}
#galerie .carousel-prev{ left:10px; } 
#galerie .carousel-next{ right:10px; }

/* === Carousel v9: real-time swipe track === */
#galerie .carousel-stage{ overflow:hidden; position:relative; }
#galerie .carousel-track{
  display:flex; width:200%; height:100%;
  will-change:transform;
  transform:translateX(0);
  transition:transform .25s ease;
}
#galerie .carousel-track img{
  flex:0 0 100%;
  width:100%; height:100%; object-fit:cover; display:block;
}

/* === Carousel v10: 3-slots track, smoother swipe, less crop === */
#galerie .carousel-stage{ overflow:hidden; position:relative; background:#0f1a15; }
#galerie .carousel-track.three{
  display:flex; width:300%; height:100%;
  will-change:transform;
  transform:translateX(-100%);
  transition:transform .25s ease;
}
#galerie .carousel-track.three img{
  flex:0 0 100%;
  width:100%; height:100%;
  object-fit:contain;   /* évite le zoom excessif */
  object-position:center;
  display:block;
  background:#0f1a15;   /* pas de bord blanc */
}

/* === Carousel v11: hard overrides for mobile === */
#galerie .gallery{ display:flex !important; justify-content:center; width:100%; }
#galerie .carousel{ width:96%; margin:0 auto 8px; border-radius:18px; overflow:hidden; background:#0f1a15; position:relative; }

/* Stage: bigger and guaranteed height on iOS */
#galerie .carousel-stage{ width:100%; overflow:hidden; position:relative; background:#0f1a15; }
#galerie .carousel-stage{ height:60vw; min-height:340px; max-height:620px; }
@supports (height: clamp(1px, 1vw, 2px)) {
  #galerie .carousel-stage{ height:clamp(340px, 72vw, 620px); }
}

/* Track centered by default */
#galerie .carousel-track{ will-change:transform; transform:translateX(-100%) !important; transition:transform .25s ease; }
#galerie .carousel-track.three{ display:flex; width:300%; height:100%; }

/* Slides fill stage */
#galerie .carousel-track img{ flex:0 0 100%; width:100%; height:100%; object-fit:cover; object-position:center; display:block; background:#0f1a15; }

/* Safety defaults: show fallback image if JS fails */
.hero-fallback{ display:block; }
.hero-video{ display:none; }

/* === Galerie v15: images non-zoomées + animation douce === */
#galerie .carousel-stage{ height:clamp(320px, 72vw, 620px); }
#galerie .carousel-track.three img{
  object-fit:contain;         /* stoppe le zoom agressif */
  background:#0f1a15;
}
#galerie .carousel-track{ transition:transform .32s cubic-bezier(.22,.61,.36,1); }
#galerie .carousel-track.is-snapping{ transition:transform .42s cubic-bezier(.22,.61,.36,1); }
/* pendant le glissé: léger zoom-out et fondu */
#galerie .carousel-track.three img{ transition:opacity .25s ease, transform .25s ease; }

/* v16 strong contain override */
#galerie .carousel-track.three img{ object-fit:contain !important; }

/* v17 contain override */
#galerie .carousel-track.three img{object-fit:contain!important;}

/* === Galerie v18: contain + z-index controls === */
#galerie .carousel-stage{ height:clamp(320px, 70vw, 620px); }
#galerie .carousel-track.three{ display:flex; width:300%; height:100%; transform:translateX(-100%); }
#galerie .carousel-track.three img{ flex:0 0 100%; width:100%; height:100%; object-fit:contain !important; background:#0f1a15; }
#lightbox{ z-index:1000; }
#lightbox .lb-prev,#lightbox .lb-next,#lightbox .lb-close{ z-index:1001; }

/* === Lightbox v19: robust visibility + pinch-zoom support === */
#lightbox{
  position:fixed; inset:0; display:none; align-items:center; justify-content:center;
  background:rgba(0,0,0,.82); backdrop-filter:saturate(110%) blur(2px); opacity:0;
  transition:opacity .18s ease;
}
#lightbox.open{ display:flex; opacity:1; }
#lightbox .lb-stage{
  position:relative; width:100%; height:100%; max-width:100vw; max-height:100vh;
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
#lightbox .lb-stage img{
  touch-action:none;
  user-select:none; -webkit-user-drag:none;
  max-width:none; max-height:none;
  will-change:transform;
}
#lightbox .lb-prev,#lightbox .lb-next,#lightbox .lb-close{ z-index:1002; }


/* --- Gallery fix v1: ensure proper touch handling --- */
#galerie .carousel-stage { touch-action: pan-y; }
#lightbox .lb-stage { touch-action: none; }
#lightbox{ z-index: 9999; } /* keep above other UI */


/* iOS Safari polish */
#lightbox .lb-stage img{-webkit-user-select:none;-webkit-touch-callout:none;}
#lightbox .lb-inner{ -webkit-backface-visibility:hidden; backface-visibility:hidden; }
#lightbox .lb-close, #lightbox .lb-prev, #lightbox .lb-next { -webkit-tap-highlight-color: transparent; }


/* Universal mobile polish */
#lightbox { z-index: 9999; }
#lightbox .lb-stage img{
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  image-rendering: auto;
}
#lightbox .lb-inner{ -webkit-backface-visibility:hidden; backface-visibility:hidden; }
#lightbox .lb-close, #lightbox .lb-prev, #lightbox .lb-next { -webkit-tap-highlight-color: transparent; }


/* === v5 MOBILE UX & ANIMS PACK === */

/* Centrage héro sur très petits écrans */
@media (max-width: 420px){
  .hero .hero-content{ text-align:center; align-items:center; }
  .hero .logo{ margin-inline:auto; }
  .hero .cta-row{ justify-content:center; }
}

/* Titre lisible sur vidéo */
.hero h1{ text-shadow:0 2px 12px rgba(0,0,0,.28); letter-spacing:-0.2px; }

/* Apparitions fluides */
.reveal{opacity:0; transform:translateY(16px);}
.reveal-visible{opacity:1; transform:none; transition:opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1);}
.reveal-stagger > *{opacity:0; transform:translateY(14px);}
.reveal-stagger.reveal-visible > *{opacity:1; transform:none; transition:opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1);}
.reveal-stagger.reveal-visible > *:nth-child(1){transition-delay:.04s}
.reveal-stagger.reveal-visible > *:nth-child(2){transition-delay:.10s}
.reveal-stagger.reveal-visible > *:nth-child(3){transition-delay:.16s}
.reveal-stagger.reveal-visible > *:nth-child(4){transition-delay:.22s}
.reveal-stagger.reveal-visible > *:nth-child(5){transition-delay:.28s}

/* Micro-interactions boutons */
.btn{ position:relative; overflow:hidden; will-change:transform; }
.btn:active{ transform:scale(.98); }
.btn .ripple{ position:absolute; border-radius:999px; width:10px; height:10px; background:#fff; opacity:.28; transform:translate(-50%,-50%); animation:ripple .7s ease-out forwards; pointer-events:none; }
@keyframes ripple{
  from{ opacity:.28; width:10px; height:10px; }
  to{ opacity:0; width:280px; height:280px; }
}

/* Galerie: images toujours contenues dans le viewport */
#galerie .carousel-stage img{ object-fit:contain !important; background:#0f1a15; }

/* Safe-area iOS pour le FAB */
#fabMenu{ bottom: calc(22px + env(safe-area-inset-bottom)); }

/* Touch & focus */
*{ -webkit-tap-highlight-color: rgba(0,0,0,0); }
:focus-visible{ outline:2px solid rgba(63,181,100,.85); outline-offset:3px; border-radius:10px; }

/* Réduction des animations si demandé par l'utilisateur */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}


/* === v5.1 UI tweaks (logo bigger + headings centered + gallery contain) === */

/* Logo plus grand (mobile) */
.hero .logo{ height:64px; }
@media (max-width:420px){
  .hero .logo{ height:72px; }
}

/* Centrage des titres de section */
section h2, .section h2, .section-title, header.section h1, header.section h2{
  text-align:center;
  width:100%;
  margin-left:auto;
  margin-right:auto;
}

/* Renfort galerie: pas de sur-zoom sur mobile */
#galerie .carousel-stage{ max-height: calc(100vh - 180px); display:grid; place-items:center; }
#galerie .carousel-stage img{ width:100%; height:auto; max-height:100%; object-fit:contain !important; }

/* v5.1 gallery stage height */
#galerie .carousel-stage{ height: clamp(220px, 62vh, 560px); }
/* ensure image never exceeds stage */
#galerie .carousel-stage img{ max-height:100%; }

/* === v5.3 SIMPLE GALLERY (ultra compatible) === */
.simple-gallery{ 
  display:grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap:10px; 
  margin-top:8px;
}
@media (min-width:480px){
  .simple-gallery{ grid-template-columns: repeat(3, 1fr); }
}
.sg-item{ display:block; border-radius:12px; overflow:hidden; background:#0f1a15; }
.sg-item img{ display:block; width:100%; height:auto; aspect-ratio: 4/3; object-fit:cover; }
.sg-hint{ color:var(--muted); font-size:.9rem; margin:6px 2px 0; }

/* === v5.4 PhotoSwipe Minimal Grid === */
.pswp-gallery-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
  margin-top:8px;
}
@media (min-width:480px){
  .pswp-gallery-grid{ grid-template-columns:repeat(3,1fr); }
}
.pswp-gallery-grid .pswp-item{
  display:block;
  border-radius:12px;
  overflow:hidden;
  background:#0f1a15;
}
.pswp-gallery-grid img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:4/3;
  object-fit:cover;
}

/* === v5.5 Slider large (scroll-snap) + PSWP === */
.pswp-slider{ position:relative; border-radius:14px; overflow:hidden; background:#0f1a15; margin-top:8px; }
.pswp-track{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; gap:0; }
.pswp-track::-webkit-scrollbar{ display:none; }
.pswp-slide{ flex:0 0 100%; scroll-snap-align:center; display:block; position:relative; }
.pswp-slide img{ width:100%; height:auto; display:block; aspect-ratio: 16/9; object-fit:cover; }
.pswp-prev,.pswp-next{
  position:absolute; top:50%; transform:translateY(-50%);
  width:42px; height:42px; border-radius:50%; border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.08); color:#fff; font-size:26px; z-index:2;
}
.pswp-prev{ left:10px; } .pswp-next{ right:10px; }
.pswp-dots{ display:flex; justify-content:center; gap:8px; padding:10px 0; }
.pswp-dots button{ width:8px; height:8px; border-radius:50%; border:0; background:rgba(255,255,255,.35); }
.pswp-dots button[aria-selected="true"]{ background:#fff; }


/* === v5.5.1 Slider square (1:1) === */
/* Container keeps full width; height follows the image's aspect-ratio */
.pswp-slide{ flex:0 0 100%; scroll-snap-align:center; display:block; position:relative; }
/* Square images without cropping */
.pswp-slide img{
  width:100%; height:auto;
  aspect-ratio:1/1;
  object-fit:contain;      /* pas de coupe, on affiche tout */
  background:#0f1a15;      /* fond neutre pour les bandes éventuelles */
}

/* === v5.6 inline caption === */
.pswp-caption-inline{
  padding:10px 12px 2px;
  font-size:.95rem;
  color:var(--text, #fff);
  opacity:.95;
}
.pswp-caption-inline em{ opacity:.85; }

/* === v5.7 Caption Overlay (glass + emojis) === */
.pswp-slide{ position:relative; }
.cap-card{
  position:absolute; left:12px; right:12px; bottom:12px;
  border-radius:18px; padding:12px 14px;
  background:linear-gradient(180deg, rgba(16,16,16,.75), rgba(16,16,16,.92));
  box-shadow:0 10px 26px rgba(0,0,0,.28);
  color:#fff; backdrop-filter: blur(8px);
  transform: translateY(8px); opacity:0;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .35s cubic-bezier(.2,.7,.2,1);
}
.cap-badge{
  display:inline-flex; align-items:center; gap:8px;
  background: #1d3557; /* bleu default */
  color:#fff; font-weight:700; letter-spacing:.3px;
  padding:6px 12px; border-radius:999px; font-size:.95rem;
  box-shadow: inset 0 -4px 10px rgba(0,0,0,.18);
  margin-bottom:8px;
}
.cap-transport .cap-badge{ background:#6b5d2a; } /* brun pour TRANSPORT */
.cap-emoji{ font-size:1.05rem; line-height:1; }
.cap-desc{ margin:0 0 6px; font-weight:600; opacity:.95; }
.cap-list{ list-style:none; margin:0; padding:0; display:grid; gap:6px; }
.cap-list li{ display:flex; align-items:center; gap:8px; }
.cap-list li::before{
  content:''; width:9px; height:9px; border-radius:50%;
  display:inline-block;
}
.cap-list .dot-green::before{ background:#39d353; }
.cap-list .dot-yellow::before{ background:#ffd24d; }
.pswp-slide.cap-active .cap-card{ transform:none; opacity:1; }

@media (max-width:380px){
  .cap-card{ padding:10px 12px; }
  .cap-badge{ font-size:.9rem; }
}
@media (prefers-reduced-motion: reduce){
  .cap-card{ transition:none; }
}
/* Hide old inline caption if present */
.pswp-caption-inline{ display:none !important; }


/* === v5.7.1 Caption card smaller on phones === */
.cap-card{
  left:10px; right:auto; width:min(78%, 420px); bottom:10px;
  padding:10px 12px;
}
.cap-badge{ padding:5px 10px; font-size:.88rem; gap:6px; }
.cap-emoji{ font-size:1rem; }
.cap-desc{ font-size:.92rem; }
.cap-list{ gap:4px; }
.cap-list li span{ font-size:.92rem; }

@media (max-width:380px){
  .cap-card{ width:min(74%, 360px); padding:8px 10px; border-radius:16px; }
  .cap-badge{ font-size:.84rem; padding:4px 9px; }
  .cap-desc, .cap-list li span{ font-size:.88rem; }
}


/* === v5.7.2 Caption card: centered & smaller === */
.cap-card{
  left:50% !important; right:auto !important; transform:translate(-50%, 8px);
  width:min(62%, 320px); bottom:12px;
  padding:8px 10px; border-radius:14px;
  text-align:left;
}
.pswp-slide.cap-active .cap-card{ transform:translate(-50%, 0); }

.cap-badge{ padding:4px 9px; font-size:.8rem; gap:6px; }
.cap-emoji{ font-size:.95rem; }
.cap-desc{ font-size:.86rem; margin-bottom:4px; }
.cap-list{ gap:3px; }
.cap-list li span{ font-size:.86rem; }

@media (max-width:380px){
  .cap-card{ width:min(60%, 290px); padding:7px 9px; border-radius:12px; }
  .cap-badge{ font-size:.78rem; padding:3px 8px; }
  .cap-desc, .cap-list li span{ font-size:.83rem; }
}


/* === v5.7.3 Caption card: tinier & centered === */
.cap-card{
  width:min(54%, 260px);
  padding:6px 8px; bottom:14px;
  border-radius:12px;
}
.cap-badge{ padding:3px 7px; font-size:.76rem; }
.cap-emoji{ font-size:.9rem; }
.cap-desc{ font-size:.8rem; margin-bottom:3px; }
.cap-list{ gap:2px; }
.cap-list li span{ font-size:.8rem; }
/* Micro tune ≤ 360px */
@media (max-width:360px){
  .cap-card{ width:min(52%, 240px); padding:5px 7px; }
  .cap-badge{ font-size:.74rem; padding:3px 6px; }
  .cap-desc, .cap-list li span{ font-size:.78rem; }
}


/* === v5.8 Global UX polish === */

/* Extra reveal flavors */
.reveal-left{opacity:0; transform:translateX(-20px); transition:opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1)}
.reveal-right{opacity:0; transform:translateX(20px); transition:opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1)}
.reveal-scale{opacity:0; transform:scale(.96); transition:opacity .55s cubic-bezier(.2,.7,.2,1), transform .55s cubic-bezier(.2,.7,.2,1)}
.reveal-visible{opacity:1 !important; transform:none !important}

/* Overlay entrance */
.overlay-inner{ transform: translateY(8px); opacity:0; transition: transform .28s ease, opacity .28s ease; }
#overlay.open .overlay-inner{ transform:none; opacity:1; }

/* Overlay items stagger */
#overlay.open li:nth-child(1){ transition-delay:.02s }
#overlay.open li:nth-child(2){ transition-delay:.06s }
#overlay.open li:nth-child(3){ transition-delay:.10s }
#overlay.open li:nth-child(4){ transition-delay:.14s }
#overlay.open li:nth-child(5){ transition-delay:.18s }
#overlay.open li{ opacity:1; transform:none }
#overlay li{ opacity:.001; transform:translateY(6px); transition:opacity .25s ease, transform .25s ease; }

/* FAB micro-animations */
#fabMenu{ animation: fab-idle 12s ease-in-out infinite; }
#fabMenu.pulse{ animation: fab-pop .6s ease; }
@keyframes fab-idle{ 0%,96%,100%{ transform:translateY(0) scale(1)} 97%{ transform:translateY(-2px) scale(1.03)} 98%{ transform:translateY(0) scale(1)} }
@keyframes fab-pop{ 0%{ transform:scale(.94)} 60%{ transform:scale(1.04)} 100%{ transform:scale(1)} }
#fabMenu.open .icon-menu{ transform:rotate(90deg); transition: transform .3s ease; }

/* Form focus glow */
input[type], select, textarea{ transition: box-shadow .2s ease, border-color .2s ease; }
input:focus, select:focus, textarea:focus{
  outline:none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(63,181,100,.22);
}

/* Buttons: active press */
.btn:active{ transform: translateY(1px) scale(.99); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  #fabMenu{ animation:none !important; }
  .overlay-inner{ transition:none !important; }
  #overlay li{ transition:none !important; }
}


/* === v5.9 Global polish++ === */

/* Hero logo significantly bigger */
.hero .logo{ height: 110px; }
@media (min-width:480px){ .hero .logo{ height:128px; } }
@media (max-width:380px){ .hero .logo{ height:102px; } }

/* Stronger section title styling */
h2.section-title, section h2{
  text-align:center;
  letter-spacing:-0.2px;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
  position:relative;
}
h2.section-title::after, section h2::after{
  content:'';
  display:block;
  width:0;
  height:3px;
  margin:10px auto 0;
  border-radius:3px;
  background: linear-gradient(90deg, rgba(63,181,100,1) 0%, rgba(63,181,100,.2) 100%);
  transition: width .6s cubic-bezier(.2,.7,.2,1);
}
.reveal-visible.section-title::after,
section h2.reveal-visible::after{ width:64px; }

/* Slightly larger hero H1 shadow for contrast */
.hero h1{ text-shadow:0 3px 14px rgba(0,0,0,.4); }


/* === v6.0 Menu full-screen centered + big items === */
#overlay.open{ display:grid; place-items:center; }
.overlay-inner{
  width:min(92%, 720px);
  min-height:100dvh;
  padding:22px 18px 28px;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:22px;
  text-align:center;
}
.overlay-logo{ max-height:78px; opacity:1; }

#overlay ul{ width:100%; display:grid; gap:16px; }
#overlay li{ position:relative; padding:4px 0 14px; }
#overlay li + li::before{
  content:""; position:absolute; top:-3px; left:50%; transform:translateX(-50%);
  width:160px; height:3px; border-radius:3px;
  background: linear-gradient(90deg, rgba(63,181,100,1) 0%, rgba(63,181,100,.2) 100%);
  opacity:.9;
}
#overlay a{
  display:inline-block;
  font-size:28px; line-height:1.2; font-weight:800; letter-spacing:.2px;
  color:#f6f7f5; text-shadow:0 2px 10px rgba(0,0,0,.35);
  transform: translateY(6px); opacity:0;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .35s cubic-bezier(.2,.7,.2,1);
}
#overlay.open li:nth-child(1) a{ transition-delay:.03s }
#overlay.open li:nth-child(2) a{ transition-delay:.08s }
#overlay.open li:nth-child(3) a{ transition-delay:.13s }
#overlay.open li:nth-child(4) a{ transition-delay:.18s }
#overlay.open li:nth-child(5) a{ transition-delay:.23s }
#overlay.open a{ transform:none; opacity:1; }
#overlay a:active{ transform:scale(.98); }

/* Larger hero logo (sure override) */
.hero .hero-content .logo{ height:150px !important; }
@media (min-width:480px){ .hero .hero-content .logo{ height:168px !important; } }
@media (max-width:380px){ .hero .hero-content .logo{ height:132px !important; } }

/* Title underline a bit longer for impact */
.reveal-visible.section-title::after, section h2.reveal-visible::after{ width:92px; }


/* === v6.1 Overlay spacing + LED separators + section dividers + FAB float === */

/* Overlay: more vertical spacing */
#overlay ul{ gap:26px; }
#overlay li{ padding:10px 0 20px; }

/* Animated LED-like green line (moving gradient) */
@keyframes stripeFlow{
  0%{ background-position: 0% 0; }
  100%{ background-position: 200% 0; }
}
#overlay li + li::before{
  width:200px; height:3px;
  background: linear-gradient(90deg, rgba(63,181,100,1), rgba(63,181,100,.35), rgba(63,181,100,1));
  background-size: 200% 100%;
  animation: stripeFlow 2.8s linear infinite;
  opacity:1;
}

/* Page section dividers (subtle, elegant) */
section + section{ position:relative; }
section + section::before{
  content:''; display:block; width:min(92%, 780px); height:1px;
  margin: 22px auto 28px;
  background: linear-gradient(90deg, rgba(63,181,100,0) 0%, rgba(63,181,100,.28) 10%, rgba(63,181,100,.45) 50%, rgba(63,181,100,.28) 90%, rgba(63,181,100,0) 100%);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
}

/* FAB: constant subtle float + halo */
#fabMenu{
  position: fixed; /* ensure pseudo positions relative */
}
#fabMenu::after{
  content:''; position:absolute; inset:-6px; border-radius:999px;
  box-shadow: 0 0 0 0 rgba(63,181,100,.0), 0 0 12px rgba(63,181,100,.18);
  animation: fabHalo 3.2s ease-in-out infinite;
  pointer-events:none;
}
@keyframes fabHalo{
  0%,100%{ box-shadow: 0 0 0 0 rgba(63,181,100,.0), 0 0 10px rgba(63,181,100,.14); transform: translateY(0); }
  50%{ box-shadow: 0 0 0 6px rgba(63,181,100,.08), 0 0 16px rgba(63,181,100,.22); transform: translateY(-1.5px); }
}

/* Hero logo even bigger as requested */
.hero .hero-content .logo{ height:180px !important; }
@media (min-width:480px){ .hero .hero-content .logo{ height:196px !important; } }
@media (max-width:380px){ .hero .hero-content .logo{ height:156px !important; } }


/* === v6.2 Fix alignment + LED everywhere + FAB float === */

/* Remove previous between-section rule to avoid layout shifts */
section + section::before{ content:none !important; display:none !important; }

/* New: container-based top divider per section (LED animated) */
section .container{ position:relative; }
section:not(:first-of-type) .container::before{
  content:''; display:block; width:min(92%, 780px); height:1px;
  margin: 0 auto 18px;
  background: linear-gradient(90deg, rgba(63,181,100,1), rgba(63,181,100,.35), rgba(63,181,100,1));
  background-size: 200% 100%;
  animation: stripeFlow 3.2s linear infinite;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
}

/* LED animation keyframes (reused) */
@keyframes stripeFlow{
  0%{ background-position: 0% 0; }
  100%{ background-position: 200% 0; }
}

/* Animate title underline with LED effect */
h2.section-title::after, section h2::after{
  background: linear-gradient(90deg, rgba(63,181,100,1), rgba(63,181,100,.35), rgba(63,181,100,1));
  background-size: 200% 100%;
  animation: stripeFlow 3.2s linear infinite;
}

/* Overlay spacing stays increased (no right-align) */
#overlay ul{ gap:28px; }

/* FAB: replace halo with subtle float wiggle (permanent) */
#fabMenu::after{ display:none !important; } /* kill halo from v6.1 */
#fabMenu{
  animation: fabFloat 6.2s ease-in-out infinite;
}
@keyframes fabFloat{
  0%,100%{ transform: translateY(0) rotate(0deg); }
  25%{ transform: translateY(-1.5px) rotate(-0.6deg); }
  50%{ transform: translateY(0.5px) rotate(0.4deg); }
  75%{ transform: translateY(-1px) rotate(-0.4deg); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  #fabMenu{ animation:none !important; }
  h2.section-title::after, section h2::after,
  section:not(:first-of-type) .container::before{ animation:none !important; }
}


/* === v6.4 Contact section (desktop-like) + guide mark float === */
.contact-panel{ display:grid; gap:14px; }
.contact-banner{
  background:#3fb564; color:#fff; border-radius:14px;
  padding:14px 16px; display:flex; justify-content:space-between; align-items:center; gap:10px;
}
.contact-banner h2{ margin:0; font-size:1.25rem; }
.contact-sub{ margin:0; opacity:.95; }

.contact-grid{ display:grid; grid-template-columns:1fr; gap:12px; }
.contact-grid .card{ background:#121e18; border:1px solid rgba(255,255,255,.08); border-radius:14px; padding:14px; }
.contact-grid .org .list{ list-style:none; padding:0; margin:8px 0 0; display:grid; gap:6px; }
.contact-grid .person .phone a,
.contact-grid .org a{ text-decoration:none; }
.contact-grid .person{ display:flex; flex-direction:column; justify-content:center; }
.card-title{ margin:0 0 6px; font-size:1.05rem; }
.card-label{ margin:0 0 6px; font-weight:700; text-transform:uppercase; letter-spacing:.3px; opacity:.95; }

/* CTAs & links hover */
.contact-grid a:hover{ text-decoration:underline; }
.contact-grid .btn.ghost{ display:inline-block; margin-top:6px; }

/* Guide logo mark (question) + global float for logos */
@keyframes floaty {
  0%,100%{ transform:translateY(0) }
  50%{ transform:translateY(-4px) }
}
.floaty{ animation: floaty 4.8s ease-in-out infinite; }
.logo, .overlay-logo{ animation: floaty 6.5s ease-in-out infinite; }

/* Small align for cta section */
#guide .cta-mark{ width:68px; height:auto; display:block; margin:0 auto 10px; }


/* === v6.5 Contact polish: centered banner, brand logo, WhatsApp icon, copy buttons, toast === */

/* Center the banner elements */
.contact-banner{
  flex-direction:column;
  text-align:center;
}
.contact-banner h2{ margin-bottom:6px; }
.contact-sub{
  display:inline-block; background: rgba(0,0,0,.18);
  padding:6px 10px; border-radius:999px;
}

/* Brand logo in first card */
.card-brand img{ height:26px; width:auto; display:block; filter: drop-shadow(0 1px 8px rgba(0,0,0,.2)); }
.org .card-brand{ margin-bottom:8px; }

/* WhatsApp icon badge */
.wa-badge{ height:24px; width:24px; vertical-align:middle; display:inline-block; }
#guide .wa-badge{ height:28px; width:28px; }

/* Copy buttons */
.copy-wrap{ display:inline-flex; align-items:center; gap:8px; }
.copy{
  border:0; background:rgba(255,255,255,.08); color:#fff;
  width:28px; height:28px; border-radius:8px;
  font-size:.9rem; line-height:1; display:inline-grid; place-items:center;
  transition: transform .15s ease, background .15s ease;
}
.copy:active{ transform:scale(.96); }
.copy:hover{ background:rgba(255,255,255,.14); }

/* Toast */
#toast{
  position:fixed; left:50%; bottom:18px; transform:translateX(-50%) translateY(20px);
  background:rgba(0,0,0,.86); color:#fff; padding:10px 14px; border-radius:12px;
  opacity:0; pointer-events:none; z-index:9999;
  transition: opacity .25s ease, transform .25s ease;
  font-weight:600; font-size:.95rem; box-shadow:0 8px 24px rgba(0,0,0,.3);
}
#toast.show{ opacity:1; transform:translateX(-50%) translateY(0); }

/* Small improvement to contact grid spacing */
.contact-grid .list li{ display:flex; align-items:center; gap:6px; }


/* === v6.6 Contact refinements === */
/* Banner pill centered & smaller */
.contact-banner{ align-items:center; text-align:center; padding:12px 12px; }
.contact-sub{
  font-size:.92rem; padding:6px 10px; border-radius:999px;
  margin-top:2px; align-self:center;
}

/* Centered brand logo bigger */
.card-brand.center{ display:flex; justify-content:center; }
.card-brand.center img{ height:30px; }

/* WhatsApp image badge fine-tuned */
.wa-badge{ height:26px; width:26px; border-radius:999px; box-shadow:0 1px 6px rgba(0,0,0,.2); }

/* Tappable cues for tel/mail without extra icons */
.contact-grid a[href^="tel:"],
.contact-grid a[href^="mailto:"]{
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight:600;
}
.contact-grid a[href^="tel:"]:active,
.contact-grid a[href^="mailto:"]:active{ transform:scale(.985); }

/* Remove any leftover layout from copy buttons */
.copy, .copy-wrap{ display:none !important; }

/* === v6.6b: WhatsApp icon fix + pill shrink + brand center === */
.contact-banner{ padding:8px 10px !important; }
.contact-sub{ font-size:.9rem !important; padding:6px 10px !important; }
.card-brand.center{ display:flex; justify-content:center; align-items:center; }
.card-brand.center img{ height:30px; }
.wa-badge{ height:26px; width:26px; border-radius:50%; object-fit:contain; }


/* v6.6c: robust WhatsApp badge */
.wa-badge{ display:inline-block; width:26px; height:26px; object-fit:contain; vertical-align:middle; border-radius:999px; }
#guide .wa-badge{ width:30px; height:30px; }


/* v6.6c: overlay close top-right */
.overlay-inner{ position:relative; }

.overlay-close:active{ transform:scale(.96); }

/* v6.6c: smaller contact pill */
.contact-banner{ padding:8px 10px !important; }
.contact-sub{ font-size:.88rem !important; padding:5px 9px !important; }


/* === v6.7 Contact improvements === */

/* Turn the big green banner into a compact centered pill */
.contact-banner{ background: transparent !important; padding: 0 !important; text-align:center; margin-bottom:10px; }
.contact-banner h2{ display:none; } /* title moved outside; keep only the pill text */
.contact-sub{
  background:#3fb564; color:#fff; border-radius:999px;
  padding:8px 14px; font-weight:700; display:inline-block;
  box-shadow: 0 6px 18px rgba(63,181,100,.25);
}

/* Bigger floating brand logo in org card */
.card-brand.center img{ height:48px; }
@media (max-width:380px){ .card-brand.center img{ height:44px; } }
@media (min-width:520px){ .card-brand.center img{ height:52px; } }

/* WhatsApp row style */
.wa-row a{ display:inline-flex; align-items:center; gap:8px; text-decoration:none; font-weight:700; }
.wa-row a span{ letter-spacing:.2px; }
.wa-badge{ width:26px; height:26px; object-fit:contain; border-radius:50%; }

/* LED underline separators for Contact 1/2/3 cards */
@keyframes stripeFlow{ 0%{ background-position:0 0 } 100%{ background-position:200% 0 } }
#contact .person{ position:relative; }
#contact .person::after{
  content:''; position:absolute; left:50%; transform:translateX(-50%);
  bottom:-8px; width:140px; height:3px; border-radius:3px;
  background:linear-gradient(90deg, rgba(63,181,100,1), rgba(63,181,100,.35), rgba(63,181,100,1));
  background-size:200% 100%; animation: stripeFlow 3.2s linear infinite;
  opacity:.95;
}
#contact .person:last-of-type::after{ display:none; }

/* v6.7.1: move LED under Contact labels */
#contact .person::after{ display:none !important; content:none !important; }
#contact .person .card-label{ position:relative; padding-bottom:10px; text-transform:uppercase; font-weight:800; }
#contact .person .card-label::after{
  content:''; position:absolute; left:50%; transform:translateX(-50%);
  bottom:-2px; width:140px; height:3px; border-radius:3px;
  background:linear-gradient(90deg, rgba(63,181,100,1), rgba(63,181,100,.35), rgba(63,181,100,1));
  background-size:200% 100%; animation: stripeFlow 3.2s linear infinite;
}


/* v6.7.4: force label centering and viewport-fixed close button */
#contact .person .card-label{
  display:block;
  text-align:center !important;
  width:100%;
  margin:0 auto 0;
}


/* v6.7.5: close button anchored to overlay (no jump on open) */
#overlay{ position:fixed; inset:0; }
#closeOverlay{
  position:absolute; /* relative to overlay, not the animated inner */
  top:12px; right:12px;
  width:38px; height:38px; border-radius:999px;
  background:rgba(0,0,0,.35); color:#fff; border:1px solid rgba(255,255,255,.18);
  font-size:22px; line-height:1; display:grid; place-items:center;
  box-shadow:0 6px 16px rgba(0,0,0,.25);
  transition: transform .15s ease, background .15s ease;
  z-index:10010;
}
#closeOverlay:active{ transform:scale(.96); }


/* === v6.9: Formulaire relié au serveur + overlay d'envoi === */
.transport-form{
  display:grid; gap:10px;
  background:#121e18; border:1px solid rgba(255,255,255,.08);
  border-radius:14px; padding:14px;
}
.transport-form input, .transport-form select{
  background:#0f1913; border:1px solid rgba(255,255,255,.1);
  color:#fff; border-radius:10px; padding:12px 12px;
}
.transport-form .btn-submit{
  background:#3fb564; color:#0b140f; border:0; border-radius:12px;
  padding:12px 14px; font-weight:800;
}
#formSubmitting{
  position:fixed; inset:0; display:none; place-items:center;
  background:rgba(0,0,0,.5); z-index:10050;
}
#formSubmitting.show{ display:grid; }
#formSubmitting .box{
  background:#0f1913; border:1px solid rgba(255,255,255,.08);
  color:#fff; padding:16px 18px; border-radius:14px; text-align:center;
  box-shadow:0 10px 30px rgba(0,0,0,.4);
}
#formSubmitting .spinner{
  width:30px; height:30px; border-radius:999px;
  border:3px solid rgba(255,255,255,.2); border-top-color:#3fb564;
  margin:0 auto 10px; animation: spin 1s linear infinite;
}
@keyframes spin{ to{ transform:rotate(360deg)} }


/* v6.9b: Form validation UX (shake + red outline) */
@keyframes fieldShake { 10%, 90% { transform: translateX(-1px);} 20%, 80% { transform: translateX(2px);} 30%,50%,70% { transform: translateX(-4px);} 40%,60% { transform: translateX(4px);} }
.transport-form .invalid {
  border-color: #ff4d4f !important;
  box-shadow: 0 0 0 2px rgba(255,77,79,.15);
  animation: fieldShake .28s ease;
}
.transport-form .error-msg {
  color:#ffb3b3; font-size:.82rem; margin-top:4px;
}


/* v6.9c: Date field inline hint */
.field.date-field{ position:relative; }
.field.date-field input[type="date"]{ width:100%; }
.date-hint{
  position:absolute; left:12px; top:50%; transform:translateY(-50%);
  color:rgba(255,255,255,.55); font-size:.95rem; pointer-events:none; user-select:none;
  transition: opacity .15s ease;
}
.field.date-field input:focus + .date-hint,
.field.date-field input.filled + .date-hint{ opacity:0; }


/* v6.9d: ensure the date hint is INSIDE the input (mobile-friendly) */
.field.date-field{ position:relative; }
.field.date-field input[type="date"]{ width:100%; }
.field.date-field .date-hint{
  position:absolute; left:12px; right:auto;
  top:0; bottom:0; display:flex; align-items:center;
  color:rgba(255,255,255,.55); font-size:.95rem; pointer-events:none; user-select:none;
  transition: opacity .15s ease, transform .15s ease;
}
.field.date-field input:focus + .date-hint,
.field.date-field input.filled + .date-hint{ opacity:0; transform:translateY(-2px); }


/* v6.9e: force full-width date field identical to other inputs */
.transport-form > *{ width:100%; }
.field.date-field{ display:block; width:100%; }
.field.date-field input[type="date"]{
  display:block; width:100%; box-sizing:border-box;
  -webkit-appearance: none; appearance: none;
  min-height: 46px; /* align visual height with other inputs */
}
.transport-form input, .transport-form select{
  width:100%; box-sizing:border-box;
}


/* v6.9f: hard center the date hint vertically inside the field */
.field.date-field .date-hint{
  top:50% !important;
  bottom:auto !important;
  transform:translateY(-50%) !important;
  height:auto !important;
}


/* v6.10: Autocomplétion BAN + Toast succès + phone mask consistency */
.ac-wrap{ position:relative; }
.ac-list{
  position:absolute; left:0; right:0; top:100%;
  background:#0f1913; border:1px solid rgba(255,255,255,.1);
  border-radius:10px; margin-top:6px; padding:4px;
  box-shadow:0 10px 30px rgba(0,0,0,.35);
  z-index:10060; display:none; max-height:230px; overflow:auto;
}
.ac-list.show{ display:block; }
.ac-item{
  padding:10px; border-radius:8px; cursor:pointer;
  color:#e6f2ec; font-size:.95rem;
}
.ac-item:hover, .ac-item:active{ background:#122219; }
.ac-note{ padding:8px; color:rgba(255,255,255,.55); font-size:.86rem; }
.ac-powered{ padding:6px 8px; text-align:right; color:rgba(255,255,255,.4); font-size:.75rem; }

/* Success toast */
#toastSuccess{
  position:fixed; left:50%; bottom:18px; transform:translateX(-50%);
  background:#0f1913; color:#e8fff4; border:1px solid rgba(255,255,255,.1);
  border-radius:12px; padding:0; z-index:10080; display:none;
  box-shadow:0 10px 30px rgba(0,0,0,.4);
}
#toastSuccess .toast-inner{ padding:12px 14px; font-weight:700; }
#toastSuccess.show{ display:block; animation: toastFade .25s ease; }
@keyframes toastFade{ from{ opacity:0; transform:translate(-50%, 6px);} to{ opacity:1; transform:translate(-50%, 0);} }

/* Make address inputs containers for dropdown */
input[name="depart"], input[name="arrivee"]{ position:relative; }


/* v6.10b: Submit button gradient + subtle LED sweep */
.transport-form .btn-submit{
  position: relative;
  background: linear-gradient(90deg, #39ab5e 0%, #3fb564 40%, #45c06e 60%, #3fb564 100%) !important;
  background-size: 200% 100%;
  color:#0b140f; font-weight:800;
  transition: transform .08s ease, box-shadow .2s ease, background-position .2s ease;
  box-shadow: 0 8px 22px rgba(63,181,100,.25);
  will-change: background-position;
  overflow:hidden;
}
.transport-form .btn-submit:active{ transform: translateY(1px) scale(.995); }

/* LED sweep (very light) */
.transport-form .btn-submit::before{
  content:""; position:absolute; inset:0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,.18) 12%, rgba(255,255,255,.08) 16%, transparent 24%) 0 0 / 240% 100% no-repeat;
  mix-blend-mode: overlay;
  pointer-events: none;
  border-radius: inherit;
  animation: btnSheen 3.2s linear infinite;
}
@keyframes btnSheen{
  0%{ background-position: -120% 0; }
  100%{ background-position: 120% 0; }
}

/* Slow breathing glow to mimic LEDs */
.transport-form .btn-submit::after{
  content:""; position:absolute; inset:-1px;
  border-radius:inherit; pointer-events:none;
  box-shadow: 0 0 0 0 rgba(63,181,100,.45), 0 0 22px 0 rgba(63,181,100,.25);
  animation: btnGlow 3.8s ease-in-out infinite;
  opacity:.9;
}
@keyframes btnGlow{
  0%,100%{ box-shadow: 0 0 0 0 rgba(63,181,100,.38), 0 0 18px 0 rgba(63,181,100,.18); }
  50%{ box-shadow: 0 0 0 2px rgba(63,181,100,.35), 0 0 26px 2px rgba(63,181,100,.28); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .transport-form .btn-submit::before,
  .transport-form .btn-submit::after{ animation: none; }
}


/* Section Collaborateurs (mobile) */
.collaborateurs {
  background: #111;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}
.collaborateurs h2 {
  font-size: 2em;
  margin-bottom: 10px;
  color: #28a745;
  font-weight: bold;
}
.collaborateurs .subtitle {
  margin-bottom: 30px;
  font-size: 1em;
  color: #aaa;
}
.collaborateurs .logos {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.collaborateurs .logos img {
  max-height: 160px;
  flex: 1 1 30%;
  object-fit: contain;
}
@media (max-width: 600px) {
  .collaborateurs .logos img {
    flex: 1 1 45%;
    max-height: 120px;
  }
}


/* Section Collaborateurs (mobile) */
.collaborateurs {
  background: #111;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}
.collaborateurs h2 {
  font-size: 2em;
  margin-bottom: 10px;
  color: #28a745;
  font-weight: bold;
}
.collaborateurs .subtitle {
  margin-bottom: 30px;
  font-size: 1em;
  color: #aaa;
}
.collaborateurs .logos {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.collaborateurs .logos img {
  max-height: 160px;
  flex: 1 1 30%;
  object-fit: contain;
}
@media (max-width: 600px) {
  .collaborateurs .logos img {
    flex: 1 1 45%;
    max-height: 120px;
  }
}


/* Section Collaborateurs avec titre */
.collaborateurs {
  text-align: center;
  padding: 60px 20px;
}

.collaborateurs .section-title {
  color: #00ff00;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 10px;
}

.collaborateurs .section-subtitle {
  color: #ccc;
  margin-bottom: 40px;
}

.collaborateurs .logos {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.collaborateurs .logos img {
  max-height: 120px;
  margin: 0 40px;
  display: inline-block;
}

/* Collaborateurs Section */
.collaborateurs-section {
  text-align: center;
  padding: 60px 20px;
}

.collaborateurs-section h2 {
  color: #00ff40;
  font-weight: bold;
  margin-bottom: 10px;
}

.collaborateurs-section p {
  color: #ccc;
  margin-bottom: 30px;
}

.logos-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.logos-container img {
  max-height: 80px;
  object-fit: contain;
}
