/* ==========================================================================
   BS Import Auto — mise en mouvement (pilotée par assets/js/motion.js)
   Ouverture « allumage », jauge, curseur, route épinglée, nom géant du pied de page.
   ========================================================================== */

/* Défilement fluide (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Ouverture : le feu arrière s'allume ---------- */
.allumage { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; cursor: pointer; }
html:not(.intro-on) .allumage { display: none; }
html.intro-on { overflow: hidden; }
.allumage__volet { position: absolute; left: 0; right: 0; height: 50.5%; background: #060607; will-change: transform; }
.allumage__volet--haut { top: 0; }
.allumage__volet--bas { bottom: 0; }
.allumage__scene { position: relative; display: flex; flex-direction: column; align-items: stretch; width: max-content; max-width: 94vw; }
.allumage__nom { overflow: hidden; padding: 0 .04em; line-height: 1; text-align: center; }
.allumage__mot {
  display: block; font-family: Sora, sans-serif; font-weight: 800; letter-spacing: .01em;
  font-size: clamp(3.4rem, 15vw, 11rem); line-height: .92; color: #f5f5f7;
  background:
    linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, .95) 46%, #ffb39c 50%, rgba(255, 255, 255, .95) 54%, transparent 62%) 120% 0 / 260% 100% no-repeat,
    linear-gradient(180deg, #ffffff 30%, #a7a7b0 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  transform: translate3d(0, 115%, 0);
}
.allumage__mot em { font-style: normal; -webkit-text-fill-color: #ff3b2a; color: #ff3b2a; text-shadow: 0 0 30px rgba(255, 59, 42, .8); }
/* le feu : barre de LED façon feu arrière continu */
.allumage__feu {
  --lueur: 0;
  display: flex; gap: 3px; width: 100%; height: 6px; margin: clamp(14px, 2.4vw, 22px) 0;
  filter: drop-shadow(0 0 calc(var(--lueur) * 14px) rgba(255, 40, 30, .95)) drop-shadow(0 0 calc(var(--lueur) * 46px) rgba(255, 40, 30, .55));
}
.allumage__feu i { flex: 1; border-radius: 2px; background: #ff2a1f; opacity: .06; }
.allumage__sous {
  font-family: Inter, sans-serif; font-weight: 600; font-size: clamp(.8rem, 1.6vw, 1.05rem);
  letter-spacing: 1.6em; padding-left: 1.1em; text-align: center; color: rgba(255, 255, 255, .78); opacity: 0;
}
.allumage__route {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; margin: clamp(26px, 5vh, 46px) 0 0;
  font: 500 clamp(.72rem, 1vw, .82rem)/1 Inter, sans-serif; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .5);
}
.allumage__route span, .allumage__route strong { opacity: 0; }
.allumage__route strong { color: #fff; font-weight: 600; }
.allumage__route b { display: block; width: 54px; height: 2px; background: linear-gradient(90deg, #2f5bff 0 33.3%, #fff 33.3% 66.6%, #ef2a35 66.6%); transform: scaleX(0); transform-origin: left; }
.allumage__passer {
  position: absolute; bottom: 34px; left: 0; right: 0; margin: 0; text-align: center;
  font: 500 .66rem Inter, sans-serif; letter-spacing: .32em; text-transform: uppercase; color: rgba(255, 255, 255, .35);
}

/* L'accueil attend la fin de l'ouverture */
html.js:not(.motion-reduce) .hero__media img { animation: none; transform: scale(1.35); transition: none; }
html.js:not(.motion-reduce) .hero__kicker,
html.js:not(.motion-reduce) .hero__text,
html.js:not(.motion-reduce) .hero__actions > *,
html.js:not(.motion-reduce) .hero__scroll { opacity: 0; }
html.js:not(.motion-reduce) .marquee__track { animation: none; }
.hero__title .line { will-change: transform; }

/* ---------- Jauge de lecture (haut de page) ---------- */
.jauge { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 260; pointer-events: none; }
.jauge i { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 12px rgba(255, 59, 42, .8); }
html.motion-reduce .jauge { display: none; }

/* ---------- Curseur ---------- */
.curseur { position: fixed; left: 0; top: 0; z-index: 500; pointer-events: none; display: none; }
.curseur i {
  position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid rgba(255, 74, 46, .9); transition: transform .45s var(--ease), background .3s, border-color .3s;
}
.curseur::after { content: ""; position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #ff3b2a; }
.curseur.is-lien i { transform: scale(1.9); background: rgba(255, 59, 42, .12); border-color: rgba(255, 74, 46, .5); }
.curseur.is-bas i { transform: scale(.7); }
html.has-curseur .curseur { display: block; }

/* ---------- Bandeau des marques : vitesse et sens suivent le défilement ---------- */
.marquee__track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .55); }

/* ---------- Process : chaque étape s'allume au passage de la ligne ---------- */
.step__dot { transition: transform .6s var(--ease), border-color .4s, background .4s, box-shadow .6s; }
.step.is-lit .step__dot { transform: scale(1.12); border-color: var(--orange); background: rgba(255, 59, 42, .14); box-shadow: 0 0 40px rgba(255, 59, 42, .35); }
.quote-band h2 .mot { display: inline-block; white-space: pre; }

/* ---------- La route (section épinglée) ---------- */
.route { position: relative; background: var(--bg); overflow: hidden; }
.route__pin { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 96px 0 40px; overflow: hidden; }
.route__fantome {
  position: absolute; top: 50%; left: 0; white-space: nowrap; transform: translateY(-50%);
  font-family: Sora, sans-serif; font-weight: 800; font-size: clamp(6rem, 18vw, 16rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .06); pointer-events: none; user-select: none;
}
.route__grille { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.route__texte h2 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); font-weight: 800; }
.route__etapes { list-style: none; padding: 0; margin: clamp(26px, 4vh, 44px) 0 0; display: grid; gap: 6px; }
.route__etape {
  display: grid; grid-template-columns: 54px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line);
  opacity: .32; transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.route__etape span { font: 600 .78rem Inter, sans-serif; letter-spacing: .2em; color: var(--muted); padding-top: 6px; }
.route__etape h3 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 700; }
.route__etape p { margin: 6px 0 0; color: var(--muted); font-size: .95rem; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .5s var(--ease); }
.route__etape.is-on { opacity: 1; transform: translateX(8px); }
.route__etape.is-on span { color: #ff4a2e; }
.route__etape.is-on p { max-height: 4.5em; opacity: 1; }
.route__carte { position: relative; }
.route__svg { width: 100%; height: auto; max-height: 78svh; overflow: visible; }
.route__radar circle { fill: none; stroke: rgba(255, 255, 255, .07); stroke-dasharray: 2 7; }
.route__radar line { stroke: rgba(255, 255, 255, .045); }
.route__base { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 1.5; stroke-dasharray: 3 8; }
.route__trace { fill: none; stroke: url(#routeGrad); stroke-width: 3.5; stroke-linecap: round; filter: drop-shadow(0 0 8px rgba(255, 59, 42, .7)); }
.route__ville circle { fill: #14141a; stroke: rgba(255, 255, 255, .35); stroke-width: 2; transition: fill .4s, stroke .4s; }
.route__ville text, .route__arrivee text { font: 600 15px Inter, sans-serif; letter-spacing: .22em; fill: rgba(255, 255, 255, .55); transition: fill .4s; }
.route__ville text.code { font: 800 22px Sora, sans-serif; letter-spacing: 0; fill: rgba(255, 255, 255, .18); }
.route__ville.is-on circle { fill: #ff3b2a; stroke: #ff8a5c; }
.route__ville.is-on text { fill: #fff; }
.route__ville.is-on text.code { fill: #ff4a2e; }
.route__arrivee .coeur { fill: #fff; }
.route__arrivee .onde { fill: none; stroke: #ff4a2e; stroke-width: 2; opacity: 0; }
.route__arrivee .halo { opacity: .25; }
.route__arrivee text { font-size: 18px; fill: #fff; }
.route__voitures circle { fill: #fff; filter: drop-shadow(0 0 10px #ff3b2a) drop-shadow(0 0 22px rgba(255, 59, 42, .8)); opacity: 0; }
.route__barre { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 22px; height: 2px; background: rgba(255, 255, 255, .1); }
.route__barre i { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }
@media (max-width: 900px) {
  .route__pin { align-items: flex-start; padding-top: 88px; }
  .route__grille { grid-template-columns: 1fr; gap: 6px; }
  .route__carte { order: -1; margin: 0 -8px; }
  .route__svg { max-height: 38svh; }
  .route__texte h2 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .route__etapes { margin-top: 14px; }
  .route__etape { padding: 9px 0; }
  .route__etape p { font-size: .88rem; }
}
html.motion-reduce .route__etape { opacity: 1; }
html.motion-reduce .route__etape p { max-height: none; opacity: 1; }
html.motion-reduce .route__trace { stroke-dasharray: none; }
html.motion-reduce .route__ville circle { fill: #ff3b2a; }

/* ---------- Pied de page : le nom en très grand ---------- */
.footer__geant {
  margin: clamp(40px, 6vw, 70px) 0 10px; overflow: hidden; line-height: .8; white-space: nowrap;
  font-family: Sora, sans-serif; font-weight: 800; font-size: clamp(3rem, 14.2vw, 12.5rem); letter-spacing: -.03em;
  color: #f5f5f7; text-align: center;
}
.footer__geant em { font-style: normal; color: #ff3b2a; }
.footer__geant .l { display: inline-block; }
.motion-toggle { background: none; border: 0; padding: 0; color: var(--muted); font-size: .95rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.motion-toggle:hover { color: var(--text); }

/* Images des cartes : le mouvement vient du défilement, pas de transition qui traîne */
html.js:not(.motion-reduce) .card__media img,
html.js:not(.motion-reduce) .pack__media img,
html.js:not(.motion-reduce) .about__media img { transition: none; will-change: transform; }

/* Rappel du drapeau français : tirets bleu, blanc, rouge */
.eyebrow--fr::before { width: 36px; background: linear-gradient(90deg, #2f5bff 0 33.3%, #fff 33.3% 66.6%, #ef2a35 66.6%); }
.route__etape--fin h3::after { content: ""; display: inline-block; vertical-align: middle; width: 30px; height: 3px; margin-left: 12px; border-radius: 2px; background: linear-gradient(90deg, #2f5bff 0 33.3%, #fff 33.3% 66.6%, #ef2a35 66.6%); }
.route__etape--fin.is-on span { color: #fff; }
.route__trace { filter: drop-shadow(0 0 7px rgba(255, 255, 255, .25)); }
.route__arrivee .onde { stroke: #fff; }

/* ---------- Retours clients : vidéos Instagram ---------- */
.ig-rangee { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 34px; }
.ig-carte {
  position: relative; display: block; aspect-ratio: 9 / 16; padding: 0; border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; background: #111; cursor: pointer; text-align: left; isolation: isolate;
  transition: border-color .4s var(--ease), box-shadow .5s var(--ease);
}
.ig-carte img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.ig-carte::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 8, 10, .95) 4%, rgba(8, 8, 10, .25) 45%, rgba(8, 8, 10, 0) 70%); z-index: 1; }
.ig-carte:hover { border-color: rgba(255, 74, 46, .6); box-shadow: 0 30px 80px -30px rgba(255, 59, 42, .55); }
.ig-carte:hover img { transform: scale(1.06); }
.ig-carte__lire {
  position: absolute; left: 50%; top: 44%; z-index: 2; width: 66px; height: 66px; margin: -33px 0 0 -33px; border-radius: 50%;
  background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .35);
  transition: transform .5s var(--ease), background .4s;
}
.ig-carte__lire::after { content: ""; position: absolute; left: 26px; top: 21px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent #fff; }
.ig-carte:hover .ig-carte__lire { transform: scale(1.15); background: var(--orange); border-color: transparent; }
.ig-carte__infos { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; display: grid; gap: 4px; }
.ig-carte__infos small { font: 600 .66rem Inter, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); }
.ig-carte__infos strong { font: 700 1.15rem/1.15 Sora, sans-serif; color: #fff; }
.ig-carte__infos em { font-style: normal; font-weight: 600; color: rgba(255, 255, 255, .8); font-size: .92rem; }
.ig-suite { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: clamp(50px, 7vw, 90px); }
@media (max-width: 900px) {
  .ig-rangee { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .ig-rangee::-webkit-scrollbar { display: none; }
  .ig-carte { scroll-snap-align: start; }
}
.ig-modale { position: fixed; inset: 0; z-index: 600; display: grid; place-items: center; visibility: hidden; opacity: 0; transition: opacity .35s var(--ease), visibility .35s; }
.ig-modale.is-open { visibility: visible; opacity: 1; }
.ig-modale__fond { position: absolute; inset: 0; background: rgba(4, 4, 6, .86); backdrop-filter: blur(10px); }
.ig-modale__boite { position: relative; width: min(420px, 92vw); transform: translateY(30px) scale(.96); transition: transform .5s var(--ease); }
.ig-modale.is-open .ig-modale__boite { transform: none; }
.ig-modale__cadre { height: min(760px, 80svh); border-radius: 18px; overflow: hidden; background: #fff; }
.ig-modale__cadre iframe { width: 100%; height: 100%; border: 0; display: block; }
.ig-modale__fermer { position: absolute; right: -6px; top: -54px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.ig-modale__note { margin: 12px 0 0; text-align: center; font-size: .8rem; color: var(--muted); }
.ig-modale__note a { color: #fff; }
html.ig-ouverte { overflow: hidden; }
.reviews__source{margin:24px 0 0;font-size:.9rem}.reviews__source a{color:var(--amber)}
