<style>
.hs-track {
  display: flex;
  width: 100%;
  transition: transform 0.6s ease;
}

.hs-slide {
  flex: 0 0 100%;
}

/* === FIX REVEAL : ÉVITER LE LAYOUT SHIFT === */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.9, 0.3, 1),
              transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1);
  display: block;
  min-height: 1em;
}

/* Réservation précise par type */
.reveal.hs-top { min-height: 40px; }
.reveal.hs-h2-large { min-height: 120px; }
.reveal h3 { min-height: 36px; }
.reveal.hs-text { min-height: 48px; }
.reveal.hs-footer-inline { min-height: 60px; }
.reveal.hs-coverage-inline { min-height: 60px; }

/* Quand visible */
.reveal.is-visible,
.hs-slide[data-active="true"] .reveal {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ===== VARIABLES ===== */
:root{
  --brand-blue:#199cdb;
  --gold:#d4af37;
  --glass:rgba(255,255,255,0.06);
  --text-strong:rgba(255,255,255,0.98);
}

/* ===== FOOTER SLIDER (CRITIQUE) ===== */
.hs-footer-inline{
  padding-top:1rem;
  border-top:1px solid rgba(255,255,255,0.12);
  font-size:clamp(11.5px,1.15vw,13.5px);
  color:rgba(255,255,255,0.88);
  line-height:1.48;
  max-width:100%;
  display:flex;
  flex-wrap:nowrap;
  gap:50px;
  align-items:center;
  justify-content:flex-start;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  padding-left:0;
  padding-right:clamp(28px,6vw,90px);
  box-sizing:border-box;
  font-weight:500;
}
.hs-footer-inline::-webkit-scrollbar{display:none;}

.footer-item{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 1 auto;
  min-width:300px;
  white-space:nowrap;
  overflow:visible;
  text-overflow:clip;
  color:#e2e8f0;
  font-size:18px;
}

.footer-item::before{
  content:"";width:7px;height:7px;background:var(--brand-blue);border-radius:50%;
  flex-shrink:0;margin-top:.1em;margin-right:10px;
}

.footer-item strong{
  color:#fff;font-weight:700;white-space:nowrap;font-size:.96em;
}

.footer-item i.fa-solid:last-child{
  width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;
  background:#fff;border:2px solid #38bdf8;color:#007bff;border-radius:50%;
  margin-left:12px;margin-right:8px;font-size:16px;line-height:1;flex-shrink:0;
  transition:all .3s ease;vertical-align:middle;
}
.footer-item i.fa-solid:last-child:hover{
  background:#fff;color:#fff;transform:scale(1.1);box-shadow:0 4px 8px rgba(0,123,255,.3);
}

.footer-item .fa-earth-europe{border-color:#0a8f00;color:#0a8f00;}
.footer-item .fa-calendar-check{border-color:#ffc107;color:#ffc107;}
.footer-item .fa-certificate{border-color:#ffbb00;color:#ffbb00;}
.footer-item .fa-toolbox{border-color:#38bdf8;color:#38bdf8;}
.footer-item .fa-shield-halved{border-color:#17a2b8;color:#17a2b8;}
.footer-item .fa-envelope-open-text{border-color:#dc3545;color:#dc3545;}

/* ===== HERO SLIDER ===== */
.hero-slider{
  position:relative;
  overflow:hidden;
  width:100%;
  height:70vh;
  min-height:480px;
  max-height:900px;
  background:#000;
  border-radius:6px;
}

.hs-viewport{width:100%;height:100%;}
.hs-track{display:flex;height:100%;transition:transform 1.8s cubic-bezier(.23,1,.32,1);will-change:transform;}
.hs-slide{flex:0 0 100%;position:relative;height:100%;overflow:hidden;}
.hs-img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;background:#0b0b0b;}

.hs-caption{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  padding-left:clamp(28px,6vw,90px);
  gap:.6rem;
  color:var(--text-strong);
  z-index:10;
  pointer-events:none;
}
.hs-caption *{pointer-events:auto;}

.hs-top{
  display:flex;align-items:center;gap:8px;font-size:clamp(12px,1.2vw,15px);text-transform:uppercase;
  color:rgba(255,255,255,.88);letter-spacing:1px;font-weight:700;
}

.hs-caption h2{
  font-size:clamp(38px,7.6vw,80px);margin:0;line-height:1;color:var(--text-strong);font-weight:900;
}
.hs-caption h2 span{color:var(--brand-blue);}

.hs-caption h3{
  font-size:clamp(15px,2.6vw,22px);margin:6px 0 8px;font-weight:600;color:rgba(255,255,255,.94);
}

.hs-text{
  font-size:clamp(14px,1.8vw,18px);max-width:720px;line-height:1.45;color:rgba(255,255,255,.92);
  display:flex;align-items:center;gap:8px;margin-bottom:0;
}
.info-icon{height:40px;width:auto;opacity:.8;}

/* REVEAL */
.reveal{
  opacity:0;transform:translateY(12px) scale(.995);
  transition:opacity .6s cubic-bezier(.2,.9,.3,1),transform .6s cubic-bezier(.2,.9,.3,1);
}
.hs-slide[data-index="0"] .reveal{opacity:1!important;transform:none!important;transition:none!important;}
.hs-slide[data-active="true"]:not([data-index="0"]) .reveal{opacity:1;transform:none;}
.reveal.delay-1{transition-delay:.10s;}
.reveal.delay-2{transition-delay:.20s;}
.reveal.delay-3{transition-delay:.30s;}
.reveal.delay-4{transition-delay:.40s;}

/* BOUTON & BADGE */
.hs-coverage-inline{display:flex;justify-content:flex-start;margin-top:12px;margin-bottom:1.5rem;}
.loc-btn.btn-black{
  background:#1a1a1a;color:#fff;border:none;border-radius:999px;padding:10px 18px;
  font-size:14px;font-weight:600;display:inline-flex;align-items:center;gap:8px;
  box-shadow:0 4px 12px rgba(0,0,0,.3);transition:transform .2s ease;cursor:default;
}
.loc-btn.btn-black:hover{transform:translateY(-2px);}

.region-badge{
  background:#fff;color:#c62828;padding:4px 10px;border-radius:999px;font-size:13px;
  font-weight:600;display:inline-flex;align-items:center;gap:5px;margin-left:6px;
  border:1px solid #c62828;
}
.region-badge .map-icon{height:16px;width:auto;}

/* H2 LARGE */
.hs-h2-large{font-size:clamp(48px,9vw,96px)!important;line-height:.95!important;font-weight:900!important;}

/* CONTROLES */
.hs-controls{
  position:absolute;bottom:18px;left:18px;right:18px;display:flex;justify-content:center;
  gap:18px;z-index:40;pointer-events:none;
}
.hs-prev,.hs-next{
  pointer-events:auto;background:var(--glass);backdrop-filter:blur(6px);border-radius:50%;
  width:46px;height:46px;border:1px solid rgba(255,255,255,.06);display:flex;align-items:center;
  justify-content:center;cursor:pointer;color:#fff;transition:transform .18s ease;
  box-shadow:0 6px 20px rgba(0,0,0,.35);
}
.hs-prev:hover,.hs-next:hover{transform:translateY(-3px);}
.hs-prev svg,.hs-next svg{width:20px;height:20px;fill:currentColor;}

.hs-center-controls{display:flex;align-items:center;gap:14px;pointer-events:auto;}
.hs-play-toggle{
  width:44px;height:44px;border-radius:10px;background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);display:flex;align-items:center;justify-content:center;
  cursor:pointer;transition:transform .16s ease;
}
.hs-play-toggle:hover{transform:translateY(-3px);}
.hs-play-toggle svg{width:20px;height:20px;fill:#fff;}

/* BULLETS */
.hs-bullets{display:flex;gap:10px;align-items:center;}
.hs-bullets button{
  width:42px;height:42px;border-radius:50%;border:0;background:transparent;
  position:relative;cursor:pointer;display:flex;align-items:center;justify-content:center;
  transition:transform .18s ease;overflow:hidden;
}
.hs-bullets button .dot{
  width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.6);
  transition:background .3s ease;z-index:2;
}
.hs-bullets button[aria-selected="true"] .dot{background:var(--brand-blue);}

.hs-bullets button svg.progress{
  position:absolute;top:0;left:0;width:100%;height:100%;transform:rotate(-90deg);
}
.hs-bullets button svg.progress circle{cx:21;cy:21;r:18;fill:none;stroke-width:3;}
.hs-bullets button svg.progress circle:first-child{stroke:rgba(255,255,255,.2);}
.hs-bullets button svg.progress .progress-ring{
  stroke:var(--brand-blue);stroke-linecap:round;stroke-dasharray:113;stroke-dashoffset:113;
  transition:stroke-dashoffset 8s linear;
}
.hs-bullets button[aria-selected="true"] svg.progress .progress-ring{stroke-dashoffset:0;}

/* BOUTONS FLOTTANTS */
.hero-action-buttons{
  position:absolute;right:18px;top:50%;transform:translateY(-50%);display:flex;
  flex-direction:column;gap:50px;z-index:60;pointer-events:none;opacity:0;visibility:hidden;
  transition:opacity .3s ease;contain:layout style paint;
}
.hero-action-buttons .icon-btn{
  pointer-events:auto;display:flex;align-items:center;justify-content:center;
  width:56px;height:56px;border-radius:50%;background:#222;color:var(--brand-blue);
  border:1px solid rgba(255,255,255,.1);box-shadow:0 6px 18px rgba(0,0,0,.25);
  transition:transform .18s ease,background .18s ease;cursor:pointer;position:relative;
}
.hero-action-buttons .icon-btn:hover{transform:translateY(-4px);background:#111;}
.hero-action-buttons .btn-label{
  position:absolute;right:70px;top:50%;transform:translateY(-50%);background:rgba(0,0,0,.85);
  color:#fff;padding:6px 10px;border-radius:6px;font-size:13px;white-space:nowrap;
  opacity:0;transition:opacity .15s ease,right .15s ease;
}
.hero-action-buttons .icon-btn:hover .btn-label{opacity:1;right:76px;}

/* ===== LUXE STABLE ===== */
.hs-slide {
  transition: opacity 0.4s ease;
}
.hs-img {
  transition: transform 4s ease;
}
.hs-slide[data-active="true"] .hs-img {
  transform: scale(1.06);
  will-change: transform;
}
.hs-slide:not([data-active="true"]) .hs-img {
  transform: scale(1);
}

/* "Sans frais" */
.sans-frais-inline {
  margin-left: 12px;
  color: #00ff00;
  font-weight: 600;
  font-size: 0.95em;
  white-space: nowrap;
}
.sans-frais-inline i {
  margin-right: 4px;
  font-size: 1.1em;
}

.loc-btn.btn-black {
    border: 1px solid #333;
}

/* FORCE AFFICHAGE TEXTE */
.hs-caption,
.hs-caption * {
  opacity: 1 !important;
  visibility: visible !important;
}
.hs-caption {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* ====================== MEDIA QUERIES MOBILE OPTIMISÉES ====================== */
@media (max-width:768px){
  .hero-slider{
    height:92dvh;
    min-height:560px;
    border-radius: 0;
  }

  .hs-footer-inline{
    font-size:clamp(11px,2.8vw,12.5px);
    gap:36px;
    padding-right:5vw;
    padding-left: 4vw;
  }

  .footer-item{
    min-width:245px;
    gap:6px;
    font-size:16.5px;
  }
  .footer-item::before{width:6px;height:6px;}

  .hs-caption{
    align-items:center;
    text-align:center;
    padding-left:5vw;
    padding-right:5vw;
  }

  .hs-caption h2{
    font-size:clamp(32px,8.5vw,62px);
  }

  .hs-controls{
    bottom:16px;
    left:50%;
    right:auto;
    transform:translateX(-50%);
    gap:14px;
  }
  .hs-prev,.hs-next{
    width:48px;
    height:48px;
  }

  .hs-bullets button{
    width:42px;
    height:42px;
  }
  .hs-bullets button .dot{
    width:8px;
    height:8px;
  }

  .hs-coverage-inline{
    justify-content:center;
    margin-top:16px;
  }

  .loc-btn.btn-black{
    font-size:14.5px;
    padding:12px 20px;
    min-height:48px;
  }

  .region-badge{
    font-size:12.5px;
    padding:4px 9px;
  }

  .hero-action-buttons{
    right:16px;
    gap:18px;
  }
  .hero-action-buttons .icon-btn{
    width:52px;
    height:52px;
  }
}

@media (max-width:480px){
  .hs-footer-inline{
    gap:32px;
    font-size:11.5px;
  }
  .footer-item{
    min-width:235px;
    font-size:16px;
  }

  .hs-caption h2{
    font-size:clamp(29px,9.5vw,48px);
  }
}

/* Améliorations générales */
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
  }
}
</style>