/* Version tablette (768-1023 px) et PC (1024 px et plus).
   Ce fichier n'est chargé qu'à partir de 768 px (<link media="(min-width: 768px)">) : le mobile n'en voit rien.
   Même DA que le mobile : polices, couleurs, liquid glass, logo. Conteneur 1280 px max, centré, 48 px de marge. */

:root {
  --cont: min(1280px, 100% - 96px);
  --ressort: cubic-bezier(.34, 1.56, .64, 1);
  --sortie: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Socle ---------- */
.page {
  max-width: none;
  container-type: normal; /* l'en-tête fixe doit se caler sur la fenêtre, pas sur la page */
  padding-top: 96px;
}
/* 1 px de maquette, fluide : 1,1 px à 768 px, 1,45 px à 1440 px, 1,5 px au maximum */
.page > * { --u: clamp(1.1px, .7px + .052vw, 1.5px); }
[id] { scroll-margin-top: 100px; }
.sur { margin-left: 0; font-size: 13px; line-height: 16px; }
/* Titres alignés à gauche : leurs décalages en escalier sont gardés, la première ligne s'aligne sur le texte */
.pourquoi .titre, .reserver .titre, .destinations .titre, .tarifs .titre, .faq .titre { margin-left: calc(-18 * var(--u)); }

/* ---------- 1. En-tête : barre en verre qui se rétracte au défilement (bureau.js) ---------- */
.entete {
  position: fixed;
  z-index: 60;
  top: 12px;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1304px, 100% - 48px);
  height: 64px;
  margin: 0 auto;
  padding: 0 10px 0 20px;
  border-radius: 32px;
  isolation: isolate;
  transition: transform .5s var(--sortie);
}
/* Verre : fond blanc 70 %, flou 20 px, contour lumineux 1 px. Invisible tout en haut de la page. */
.entete::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgb(255 255 255 / .7);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .85), 0 10px 30px rgb(11 12 14 / .08);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.entete--verre::before { opacity: 1; }
.entete--cache { transform: translateY(calc(-100% - 48px)); }
.entete .marque { justify-self: start; }
.entete__nav { display: flex; gap: 2px; }
.entete__nav a { padding: 10px 16px; border-radius: 22px; font: 500 15px/20px var(--display); letter-spacing: -.01em; transition: background-color .25s; }
.entete__actions { justify-self: end; gap: 8px; }
.btn-menu { display: none; }
.entete__calc { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 5px 0 18px; border-radius: 22px; background: var(--encre); color: #fff; font: 500 14.5px/18px var(--display); white-space: nowrap; }
.entete__pastille { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bleu); }

/* ---------- 2. Héros en deux colonnes ---------- */
.heros {
  --h: clamp(56px, 5.9vw, 100px); /* taille du grand titre ; tout le titre en découle, comme sur mobile */
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 1fr auto auto auto 1fr;
  column-gap: clamp(32px, 4.5vw, 72px);
  width: var(--cont);
  min-height: min(calc(90vh - 96px), 880px);
  margin: 0 auto;
}
.heros__titre { grid-column: 1; grid-row: 2; height: calc(var(--h) * 3.82); margin: 0; }
.heros h1 { font-size: var(--h); line-height: calc(var(--h) * .939); padding-top: 0; }
.heros .l2 { margin-left: calc(var(--h) * 1.03); }
.heros .l4 { margin-left: calc(var(--h) * 1.879); }
.heros .surlignage { top: calc(var(--h) * .0676); left: calc(var(--h) * -.121); width: calc(var(--h) * 3.59); height: calc(var(--h) * .864); border-radius: calc(var(--h) * .263); }
.heros__lateral { top: calc(var(--h) * 3.09); left: calc(var(--h) * .03); padding-top: 0; font-size: calc(var(--h) * .19); line-height: 1.28; }
.photo { grid-column: 2; grid-row: 1 / -1; aspect-ratio: auto; height: 100%; min-height: 520px; margin: 0; border-radius: 34px; }
.photo::after { height: 220px; }
.puce { top: 22px; right: 22px; }
.carte { left: 22px; right: auto; bottom: 22px; width: min(400px, calc(100% - 44px)); }
.cta { grid-column: 1; grid-row: 3; max-width: 520px; margin: clamp(28px, 3vw, 44px) 0 0; }
.cta__whatsapp { display: flex; align-items: center; gap: 10px; width: auto; padding: 0 24px 0 18px; border-radius: 31px; color: #fff; font: 500 17px/21px var(--display); }
.cta__note { grid-column: 1; grid-row: 4; margin: 14px 0 0 4px; text-align: left; }

/* ---------- Le service : même composition que le mobile, à plus grande échelle ---------- */
.service { --u: clamp(1.25px, .55px + .09vw, 1.75px); width: calc(390 * var(--u)); margin: 130px auto 0; }

/* ---------- 3. Calculateur : grande carte à gauche, formulaire en verre à droite ---------- */
.calc--accueil {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr)); /* trajets fréquents : 3 petites cartes (2 colonnes chacune), puis 2 photos (3 colonnes) */
  row-gap: 16px;
  column-gap: 16px;
  width: var(--cont);
  height: auto;
  margin: 140px auto 0;
  padding: clamp(36px, 4vw, 56px);
  border-radius: 40px;
  text-align: left;
}
.calc--accueil > * { grid-column: 1 / -1; }
.calc--accueil .calc__sur { position: static; font-size: 13px; }
.calc--accueil .calc__titre { position: static; margin-top: 10px; font-size: clamp(44px, 4.4vw, 64px); line-height: 1.06; }
.calc--accueil .calc__titre span { display: inline; }
.calc--accueil .scene { position: relative; inset: auto; height: clamp(540px, 64vh, 660px); margin-top: 36px; border-radius: 32px; }
/* Formulaire : 40 % à droite, centré en hauteur ; la carte reste visible et interactive sur 60 % à gauche */
.calc--accueil .e1-carte { left: auto; right: 22px; top: calc(50% - (322px + var(--aide, 0px)) / 2); width: calc(40% - 34px); min-width: 340px; }
.calc--accueil .carte__credit--scene { left: 12px; right: auto; top: auto; bottom: 12px; }
.calc--accueil .e1-puce { left: 18px; top: 18px; }
.calc--accueil .calc__sous { position: static; margin: 44px 0 16px; }
.calc--accueil .bento { position: relative; grid-column: span 2; left: auto; right: auto; top: auto; width: auto; height: 88px; border-radius: 26px; }
.calc--accueil .bento--ski { grid-column: span 3; height: 220px; }
/* Photos en format large : cadrage sur le village (toits enneigés) plutôt que sur le seul glacier */
.calc--accueil .bento--chamonix .bento__photo { object-position: 50% 78%; }
.calc--accueil .bento--megeve .bento__photo { object-position: 50% 30%; }
.calc--accueil .bento > span { left: 20px; }
.calc--accueil .bento__nom { right: 74px; font-size: 19px; line-height: 22px; letter-spacing: -.02em; white-space: normal; }
.calc--accueil .bento--ski .bento__nom { top: auto; right: 74px; bottom: 18px; }
.calc--accueil .bento > .bento__ski { top: 18px; left: 18px; }
.calc--accueil .bento__fleche { right: 20px; bottom: 24px; width: 40px; height: 40px; }
.calc--accueil .bento--ski .bento__fleche { bottom: 18px; right: 18px; }
.calc--accueil .bento__fleche img { width: 18px; height: 18px; }
.calc--accueil .calc__bas { position: static; margin-top: 18px; }

/* ---------- 4. Pourquoi nous : grille, la photo du hall en grand ---------- */
.pourquoi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 16px; width: var(--cont); margin: 150px auto 0; }
.pourquoi > .sur, .pourquoi > .titre { grid-column: 1 / -1; }
/* Titre sur 2 lignes : « Discret, ponctuel, » / « toujours joignable. », les mots noirs alignés */
.pourquoi .titre { display: grid; grid-template-columns: auto auto; justify-content: start; column-gap: .28em; height: auto; margin: 9px 0 40px; }
.pourquoi .ligne { margin-left: 0; }
.hall { grid-column: 1 / span 2; height: clamp(500px, 44vw, 620px); aspect-ratio: auto; margin: 0; }
.hall__carte { right: auto; left: 20px; bottom: 20px; width: min(440px, calc(100% - 40px)); }
.atouts { grid-column: 3 / span 2; grid-template: 1fr 1fr minmax(120px, .72fr) / 1fr 1fr; gap: 16px; margin: 0; }
.atout { border-radius: 30px; }
.atout strong { left: 24px; top: 24px; font-size: 24px; line-height: 28px; }
.atout > .sans { left: 24px; top: 60px; right: 24px; max-width: 240px; font-size: 14px; line-height: 19px; }
.atout__logo { left: 24px; top: 24px; width: 52px; height: 52px; }
.atout--wa strong { top: auto; bottom: 24px; font-size: 30px; line-height: 32px; }
.atout--frais strong { left: 28px; top: calc(50% - 28px); font-size: 48px; line-height: 56px; }
.atout--frais > .sans { left: 186px; top: calc(50% - 19px); font-size: 15px; line-height: 19px; }

/* ---------- 5. Étapes 1-2-3 côte à côte, reliées par une ligne ---------- */
.reserver { width: var(--cont); margin: 150px auto 0; }
.etapes { position: relative; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 40px 0 0; padding-top: 52px; }
/* Ligne pointillée du point 1 au point 3 (elle se dessine : --trait, accueil.js) */
.etapes::before { content: ""; position: absolute; left: 31px; top: 19px; width: calc(66.667% + 10.67px); height: 2px; background: repeating-linear-gradient(90deg, var(--encre) 0 8px, transparent 8px 15px); transform: scaleX(var(--trait, 1)); transform-origin: 0 50%; }
.etape { position: relative; top: auto; height: 244px; transform-origin: 50% 50%; }
.etape::before { content: ""; position: absolute; left: 24px; top: -39px; width: 14px; height: 14px; border-radius: 50%; background: var(--encre); box-shadow: 0 0 0 6px #fff; }
.etape--noire::before { background: var(--bleu); box-shadow: 0 0 0 6px #fff, 0 0 0 7.5px var(--encre); }
.etape__num { left: 24px; top: 8px; }
.etape svg { left: 6px; top: 8px; }
.etape strong, .etape em { left: 28px; top: 128px; font-size: 24px; }
.etape em { top: 157px; }
.etape p { left: 28px; right: 28px; top: 196px; max-width: none; font-size: 14px; line-height: 19px; }

/* ---------- 6. Destinations : 3 cartes visibles, flèches + glisser à la souris (accueil.js) ---------- */
.destinations { position: relative; width: var(--cont); margin: 150px auto 0; }
.carrousel { --visibles: 3; gap: 16px; margin-top: 40px; padding: 0; scroll-padding-left: 0; cursor: grab; -webkit-user-select: none; user-select: none; }
.carrousel--glisse { cursor: grabbing; scroll-snap-type: none; }
.carrousel--glisse .dest { pointer-events: none; }
.dest { width: calc((100% - 32px) / 3); height: auto; aspect-ratio: 4 / 5; }
.dest__img { -webkit-user-drag: none; }
.dest__etiq { left: 14px; right: 14px; bottom: 14px; height: 76px; }
.dest__etiq strong { left: 20px; top: 16px; font-size: 19px; }
.dest__etiq .sans { left: 20px; top: 43px; font-size: 13px; }
.dest__fleche { right: 10px; top: 14px; width: 48px; height: 48px; }
.carrousel__nav { position: absolute; right: 0; top: calc(24px + 96 * var(--u) - 48px); margin: 0; gap: 10px; }
.carrousel__compte { order: -1; margin: 0 14px 0 0; }
.rond { width: 52px; height: 52px; }

/* ---------- 7. À bord : la scène des stickers à gauche, la liste à droite ---------- */
.abord {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-rows: auto auto auto 1fr;
  column-gap: 64px;
  align-items: start;
  width: var(--cont);
  margin: 150px auto 0;
}
.abord > .sur { grid-column: 2; grid-row: 1; text-align: left; }
.abord .titre { grid-column: 2; grid-row: 2; height: auto; }
.abord .ligne { margin-left: 0; }
.abord__texte { grid-column: 2; grid-row: 3; margin: 22px 0 0; font-size: 17px; line-height: 26px; text-align: left; }
/* La scène garde ses proportions mobiles (390 × 206), à l'échelle de sa colonne */
.abord__scene { --u: min(1.63px, (100vw - 160px) * .001343); grid-column: 1; grid-row: 1 / -1; align-self: center; width: calc(390 * var(--u)); height: calc(206 * var(--u)); margin: 0; }
.caracs { grid-column: 2; grid-row: 4; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 36px 0 0; }
.caracs li { height: 112px; border-radius: 30px; }
.caracs strong { padding-top: 24px; font-size: 32px; line-height: 38px; }
.caracs li > span { font-size: 14px; }

/* ---------- 8. Tarifs : grand prix et grille à gauche, exemples calculés en direct à droite ---------- */
.tarifs {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  column-gap: clamp(36px, 4.5vw, 72px);
  align-items: start;
  width: var(--cont);
  margin: 150px auto 0;
  padding: clamp(40px, 4.4vw, 64px);
  border-radius: 40px;
}
.tarifs > .sur, .tarifs > .titre, .tarifs__prise, .grille, .tarifs__supp { grid-column: 1; }
.tarifs .sur { padding: 0; }
.tarifs__prise { display: flex; align-items: baseline; gap: 12px; height: auto; margin: 26px 0 26px; }
.tarifs__prise > span { position: static; }
.tarifs__chf { font-size: 30px; }
.tarifs__gros { font-size: clamp(96px, 8.6vw, 132px); line-height: 1; }
.tarifs__note { font-size: 15px; }
.tarifs__suite { display: contents; }
.grille { margin: 0; padding: 6px 0; }
.grille div { margin: 0 24px; min-height: 64px; }
.grille dt { font-size: 16px; line-height: 20px; }
.grille dd { font-size: 17px; }
.grille__note { font-size: 12.5px; line-height: 16px; }
.tarifs__supp { margin: 14px 6px 0; font-size: 13px; }
.tarifs__droite { grid-column: 2; grid-row: 1 / span 5; align-self: center; }
.tarifs__droite::before { content: attr(data-sur); /* texte traduit : locales/<langue>.json, tarifs.exemplesPc */ display: block; margin: 0 0 14px 4px; font: 500 13px/16px var(--sans); color: var(--gris); }
.exemple { height: 116px; margin: 0; border-radius: 30px; }
.exemple + .exemple { margin-top: 12px; }
.exemple > * { left: 26px; }
.exemple .sans { top: 22px; font-size: 13px; }
.exemple strong { top: 44px; font-size: 20px; }
.exemple strong + .sans { top: 74px; }
.exemple .exemple__trajet, .exemple .exemple__detail { right: 160px; }
.exemple .exemple__prix { right: 20px; top: 30px; width: 128px; height: 50px; border-radius: 25px; font-size: 20px; }
.exemple .exemple__min { right: 14px; top: 88px; width: 156px; font-size: 11px; }
.tarifs__paie { margin: 30px 4px 0; font-size: 13px; }
.paiements { margin: 12px 0 0; gap: 30px; }
.paie { width: 110px; }
.paie__sticker { width: 110px; height: 110px; }
.paie__nom { margin-top: 4px; font-size: 15px; line-height: 19px; }

/* ---------- 9. Avis : grille de 3 ---------- */
.avis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: var(--cont); margin: 150px auto 0; }
.avis .note { grid-column: 1 / -1; margin-bottom: 18px; }
.avis figure { display: flex; flex-direction: column; justify-content: space-between; min-height: 320px; padding: 34px 32px 30px; border-radius: 34px; background: var(--fond-doux); }
.avis figure:first-of-type { background: var(--encre); color: #fff; }
.avis figure:first-of-type .gris { color: #6e7076; }
.avis .citation, .citation-pc { min-height: 0; margin: 0; font: 500 clamp(21px, 1.85vw, 27px) / 1.24 var(--display); letter-spacing: -.03em; font-feature-settings: "liga"; }
.avis .auteur { height: auto; min-height: 44px; margin-top: 30px; }
/* « Avis Google · client vérifié » : passe à la ligne dans les cartes étroites (tablette, allemand) au lieu de
   déborder ; sur une ligne, même position qu'avant (24 px sous le haut, 15 px de hauteur de ligne) */
.avis .auteur > .sans { position: static; display: block; padding: 24px 0 0 56px; white-space: normal; line-height: 15px; }
.avis figure:first-of-type .auteur > .sans { color: rgb(255 255 255 / .55); }
.avis .pagination { display: none; }

/* ---------- 10. Questions : titre collant à gauche, accordéons à droite ---------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(40px, 5.5vw, 96px);
  align-items: start;
  width: var(--cont);
  margin: 150px auto 0;
}
.faq > .sur { grid-column: 1; grid-row: 1; position: sticky; top: 112px; }
.faq .titre { grid-column: 1; grid-row: 2; position: sticky; top: 136px; }
.questions { grid-column: 2; grid-row: 1 / span 2; gap: 10px; margin: 0; }
.question button { height: 76px; padding: 0 84px 0 30px; font-size: 18px; line-height: 22px; }
.question__rond { top: 16px; right: 18px; width: 44px; height: 44px; }
.reponse p { max-width: 680px; padding: 0 30px 30px; font-size: 15.5px; line-height: 23px; }

/* ---------- 11. Appel final en pleine largeur, pied de page en 4 colonnes ---------- */
.final { width: var(--cont); height: 560px; margin: 150px auto 0; border-radius: 40px; }
.final .titre { padding-top: 76px; }
.final__illustration { top: 236px; transform: scale(1.2); }
.final__prix, .final__wa { right: auto; width: min(340px, calc(50% - 40px)); top: 404px; }
.final__prix { left: auto; right: calc(50% + 8px); }
.final__wa { left: calc(50% + 8px); }
.final__note { inset: 494px 0 auto; font-size: 13px; }

.pied { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; width: var(--cont); margin: 120px auto 0; padding-bottom: 28px; }
.pied__liens { display: contents; }
.pied__liens nav { grid-row: 1; }
.pied__contact { grid-column: 3; grid-row: 1; margin: 0; font-size: 16px; line-height: 24px; }
.pied__contact::before { content: attr(data-sur); display: block; margin-bottom: 9px; font-size: 13px; line-height: 16px; color: var(--gris); }
.pied__reseaux { grid-column: 4; grid-row: 1; flex-wrap: wrap; align-content: flex-start; margin: 0; }
.pied__reseaux::before { content: "WhatsApp"; flex: 0 0 100%; margin-bottom: -1px; font-size: 13px; line-height: 16px; font-weight: 500; color: var(--gris); }
.pied .sur { font-size: 13px; line-height: 16px; }
.pied__logo { grid-column: 1 / -1; width: 100%; margin: 80px 0 0; }
.pied__legal { grid-column: 1 / 3; margin: 26px 0 0; font-size: 12.5px; line-height: 17px; }
.pied__reclam { grid-column: 3 / -1; margin: 26px 0 0; font-size: 12.5px; line-height: 17px; }

/* =====================================================================
   Parcours de réservation : grande carte plein écran, panneau en verre à droite
   ===================================================================== */
.parcours { --pl: 420px; --pm: 16px; --ph: 76px; max-width: none; background: #ece8e1; }
.parcours__carte { position: absolute; inset: 0; z-index: 0; }
.parcours .carte__credit--bureau { left: 12px; bottom: 12px; }
.panneau { --rayon: 32px; --teinte: .78; --ombre: .2; --angle: 150deg; top: var(--pm); right: var(--pm); bottom: var(--pm); width: var(--pl); pointer-events: none; }
.panneau::before { -webkit-backdrop-filter: blur(26px) saturate(1.5); backdrop-filter: blur(26px) saturate(1.5); }
.parcours[data-etape="5"] .panneau { --fond: 11 12 14; --teinte: .92; --r1: .06; --r3: .03; }
.parcours .ecran { z-index: 2; overflow: visible; pointer-events: none; background: none; }

/* En-tête du panneau : retour, étape en cours, progression, fermer */
.panneau__entete { position: absolute; z-index: 3; top: var(--pm); right: var(--pm); display: flex; align-items: center; gap: 14px; width: var(--pl); height: var(--ph); padding: 0 18px 0 18px; }
.panneau__entete::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 1px; background: rgb(11 12 14 / .08); }
.parcours .panneau__retour { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / .9); }
/* Titre de l'étape : les tirets de progression sont sur la petite ligne « Étape 2 sur 5 », le titre a toute la
   largeur restante (≈ 230 px avec le bouton de langue) ; trop long malgré tout, il se termine par « … », jamais par-dessus */
.panneau__etape { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.panneau__ligne { display: flex; align-items: center; gap: 10px; min-width: 0; }
.panneau__etape span { flex: none; font-size: 12px; line-height: 15px; color: var(--gris); }
.panneau__etape strong { overflow: hidden; text-overflow: ellipsis; font-size: 19px; line-height: 23px; letter-spacing: -.02em; }
.panneau__points { flex: none; display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.panneau__points li { width: 18px; height: 4px; border-radius: 2px; background: rgb(11 12 14 / .15); transition: background-color .45s; }
.parcours[data-etape="1"] .panneau__points li:nth-child(-n+1),
.parcours[data-etape="2"] .panneau__points li:nth-child(-n+2),
.parcours[data-etape="3"] .panneau__points li:nth-child(-n+3),
.parcours[data-etape="4"] .panneau__points li:nth-child(-n+4) { background: var(--encre); }
.parcours .panneau__fermer { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: rgb(11 12 14 / .06); }
.panneau__fermer::before, .panneau__fermer::after { content: ""; position: absolute; left: 11px; top: 17.25px; width: 14px; height: 1.5px; border-radius: 1px; background: currentColor; transform: rotate(45deg); }
.panneau__fermer::after { transform: rotate(-45deg); }
.parcours[data-etape="5"] .panneau__entete { color: #fff; }
.parcours[data-etape="5"] .panneau__entete::after { background: rgb(255 255 255 / .12); }
.parcours[data-etape="5"] .panneau__retour { visibility: hidden; }
.parcours[data-etape="5"] .panneau__etape span { color: rgb(255 255 255 / .55); }
.parcours[data-etape="5"] .panneau__points li { background: var(--bleu); }
.parcours[data-etape="5"] .panneau__fermer { background: rgb(255 255 255 / .12); }

/* Ce que la grande carte et l'en-tête du panneau remplacent */
.parcours .e1-entete, .parcours .e1 .scene__carte, .parcours .e1 .carte__credit, .parcours .e2__carte, .parcours .carte__credit--e2,
.parcours .carte__credit--e3, .parcours .plan, .parcours .ecran [data-retour], .parcours .progression, .parcours .e3-feuille__poignee { display: none; }

/* Contenu de chaque étape : la zone du panneau sous son en-tête, qui défile si besoin */
.parcours .e1 .calc, .parcours .e2-feuille, .parcours .e3-feuille, .parcours .e4 form, .parcours .e5__contenu {
  position: absolute;
  top: calc(var(--pm) + var(--ph));
  right: var(--pm);
  bottom: var(--pm);
  left: auto;
  width: var(--pl);
  height: auto;
  min-height: 0;
  margin: 0;
  border-radius: 0 0 32px 32px;
  overflow: hidden auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  pointer-events: auto;
}
/* Pas de verre dans le verre : les feuilles des étapes 2 et 3 deviennent transparentes */
.parcours .e2-feuille::before, .parcours .e2-feuille::after, .parcours .e3-feuille::before, .parcours .e3-feuille::after,
.parcours .e2-feuille > .arete, .parcours .e3-feuille > .arete, .parcours .e1 .e1-carte::before, .parcours .e1 .e1-carte::after, .parcours .e1 .e1-carte > .arete { display: none; }

/* Étape 1 · Position */
.parcours .e1 .calc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 8px; align-content: start; padding: 22px 20px 28px; background: none; color: var(--encre); text-align: left; }
.parcours .e1 .calc > * { grid-column: 1 / -1; }
.parcours .e1 .calc__sur { position: static; color: var(--gris); }
.parcours .e1 .calc__titre { position: static; margin-top: 6px; font-size: 34px; line-height: 38px; }
.parcours .e1 .calc__titre span:first-child { color: var(--gris-titre); }
.parcours .e1 .scene { position: relative; inset: auto; height: auto; margin-top: 22px; overflow: visible; border-radius: 0; }
.parcours .e1 .e1-puce { position: relative; left: 0; top: 0; margin-bottom: 10px; --teinte: .82; }
.parcours .e1 .e1-carte { position: relative; left: 0; right: 0; top: 0; height: auto; border-radius: 28px; background: rgb(255 255 255 / .5); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .7); }
.parcours .e1 .calc__sous { position: static; margin-top: 28px; color: var(--encre); }
/* Panneau : même grille que le mobile (Aéroport | Cornavin, Lausanne en pleine largeur, puis les 2 stations) */
.parcours .e1 .bento { position: relative; grid-column: auto; left: auto; right: auto; top: auto; width: auto; height: 71px; margin-top: 8px; border-radius: 22px; }
.parcours .e1 .calc__sous + .bento, .parcours .e1 .calc__sous + .bento + .bento { margin-top: 12px; }
.parcours .e1 .bento--lausanne { grid-column: 1 / -1; }
.parcours .e1 .bento--ski { height: 140px; }
.parcours .e1 .bento--petite { box-shadow: 0 2px 10px rgb(11 12 14 / .05); }
.parcours .e1 .calc__bas { position: static; margin-top: 14px; color: var(--gris); }
.parcours .e1-refus { left: auto; right: calc(var(--pm) + 16px); bottom: calc(var(--pm) + 16px); width: calc(var(--pl) - 32px); }

/* Étape 2 · Destination */
.parcours .e2-feuille { padding-bottom: 16px; }
.parcours .e2 .e2-titre { left: 22px; top: 18px; }

/* Étape 3 · Prix : la pastille km / min et « Recentrer » restent sur la carte */
.parcours .pastille-trajet { left: 24px; right: auto; top: 24px; pointer-events: auto; }
.parcours .e3 .carte__recentrer { right: calc(var(--pl) + var(--pm) + 24px); bottom: 24px; pointer-events: auto; }


/* Étape 4 · Coordonnées */
.parcours .e4 form { padding: 122px 16px 28px; }
/* Arrivée longue + date : la place de la date est réservée (sur mobile, réglage inchangé) */
.parcours .recap__arrivee { max-width: calc(100% - 190px); }
.parcours .e4-titre { top: 16px; left: 20px; }
.parcours .e4-titre { font-size: 40px; line-height: 42px; }

/* Étape 5 · Confirmation (panneau sombre) */
.parcours .e5__contenu { --haut: -24px; padding: 444px 0 24px; }

/* Transitions entre les étapes : la carte et le panneau restent en place, seul le contenu glisse */
[data-sens] .parcours__carte { view-transition-name: carte-bureau; }
[data-sens] .panneau { view-transition-name: panneau-fond; }
[data-sens] .panneau__entete { view-transition-name: panneau-entete; }
::view-transition-group(carte-bureau), ::view-transition-group(panneau-fond), ::view-transition-group(panneau-entete) { animation-duration: .55s; animation-timing-function: var(--sortie); }
::view-transition-old(carte-bureau), ::view-transition-new(carte-bureau),
::view-transition-old(panneau-fond), ::view-transition-new(panneau-fond) { animation: none; }
/* Ouverture depuis l'accueil, ou retour à l'accueil : la carte et le panneau apparaissent ou s'effacent en fondu */
::view-transition-new(carte-bureau):only-child, ::view-transition-new(panneau-fond):only-child, ::view-transition-new(panneau-entete):only-child { animation: panneau-fondu .45s var(--sortie) both; }
::view-transition-old(carte-bureau):only-child, ::view-transition-old(panneau-fond):only-child, ::view-transition-old(panneau-entete):only-child { animation: panneau-fondu .3s ease-in reverse both; }
@keyframes panneau-fondu { from { opacity: 0; } }
::view-transition-old(root) { animation-name: panneau-sort; }
::view-transition-new(root) { animation-name: panneau-entre; }
[data-sens="retour"]::view-transition-old(root) { animation-name: panneau-sort-retour; }
[data-sens="retour"]::view-transition-new(root) { animation-name: panneau-entre-retour; }
@keyframes panneau-entre { from { transform: translateX(56px); opacity: 0; filter: blur(6px); } }
@keyframes panneau-sort { to { transform: translateX(-28px); opacity: 0; } }
@keyframes panneau-entre-retour { from { transform: translateX(-28px); opacity: 0; filter: blur(6px); } }
@keyframes panneau-sort-retour { to { transform: translateX(56px); opacity: 0; } }

/* =====================================================================
   Interactions à la souris : survol, curseur, focus clavier
   ===================================================================== */
/* Sur fond sombre, l'anneau de focus est bleu glacier */
.calc--accueil :focus-visible, .final :focus-visible, .ouverte :focus-visible, .atout--vols:focus-visible, .avis figure:first-of-type :focus-visible,
.parcours[data-etape="5"] :focus-visible, .pastille-trajet:focus-visible { outline-color: var(--bleu); }
.question button:focus-visible { outline-offset: -4px; }
.dest__etiq:focus-visible { outline-offset: -4px; }

@media (hover: hover) and (pointer: fine) {
  .bento, .dest, .dest__etiq, .rond, .question button, .suggestion, .compteur button, .option, .interrupteur, .indicatif, .e3-quand, .sticker { cursor: pointer; }
  .carrousel .dest { cursor: inherit; }

  /* Boutons principaux : léger soulèvement, la pastille grossit, la flèche avance */
  .cta__prix, .entete__calc, .final__prix, :is(.parcours, .calc) .btn-noir, .btn-whatsapp, .cta__whatsapp, .btn-wa, .btn-wa-clair, .final__wa, .e1-wa {
    transition: translate .35s var(--ressort), box-shadow .35s, background-color .25s, scale .35s var(--ressort);
  }
  .cta__prix:hover, .entete__calc:hover, :is(.parcours, .calc) .btn-noir:hover { translate: 0 -2px; box-shadow: 0 14px 30px rgb(11 12 14 / .22); }
  .final__prix:hover { translate: 0 -2px; box-shadow: 0 14px 30px rgb(169 232 255 / .25); }
  .btn-whatsapp:hover, .cta__whatsapp:hover, .btn-wa:hover, .e1-wa:hover { translate: 0 -2px; background-color: #1fc35d; box-shadow: 0 12px 26px rgb(37 211 102 / .32); }
  .btn-wa-clair:hover { background-color: rgb(37 211 102 / .2); }
  .final__wa:hover { translate: 0 -2px; }
  .cta__pastille img, .final__pastille img, .entete__pastille img { transition: translate .35s var(--ressort); }
  .cta__prix:hover .cta__pastille img, :is(.parcours, .calc) .btn-noir:hover .cta__pastille img, .final__prix:hover .final__pastille img, .entete__calc:hover .entete__pastille img { translate: 3px 0; }

  /* Liens */
  .entete__nav a:hover { background-color: rgb(11 12 14 / .06); }
  .pied__liens a, .pied__legal a, .pied__reclam a { transition: color .2s, text-decoration-color .2s; }
  .pied__liens a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
  .pied__reseaux a { transition: translate .3s var(--ressort); }
  .pied__reseaux a:hover { translate: 0 -3px; }
  .resume__modifier, .e2-arret-ajout, .champs__position, .btn-position, .aide-position summary, .suggestions__wa { transition: background-color .2s, filter .2s; }
  .parcours .resume__modifier:hover { background: var(--encre); color: #fff; }
  .parcours .e2-arret-ajout:hover { background: #fff; }
  :is(.parcours, .calc) .btn-position:hover, .champs__position:hover { filter: brightness(.94); }

  /* Cartes : elles se soulèvent */
  .bento, .atout, .etape, .caracs li, .exemple, .avis figure { transition: translate .4s var(--ressort), box-shadow .4s; }
  .bento:hover, .atout:hover, .caracs li:hover, .exemple:hover, .avis figure:hover { translate: 0 -4px; box-shadow: 0 16px 34px rgb(11 12 14 / .12); }
  .calc--accueil .bento:hover { box-shadow: 0 16px 34px rgb(0 0 0 / .35); }
  /* Trajets fréquents : la carte monte, la flèche glisse vers le coin, la photo de la station se rapproche */
  :is(.parcours, .calc) .bento { transition: scale .35s cubic-bezier(.34, 1.56, .64, 1), translate .4s var(--ressort), box-shadow .4s; }
  .bento__fleche { transition: translate .4s var(--ressort); }
  .bento:hover .bento__fleche { translate: 2px -2px; }
  .bento--ski:hover .bento__photo { scale: 1.06; }
  .etape:hover { translate: 0 -4px; }
  .dest__img { transition: scale .8s var(--sortie); }
  .dest:hover .dest__img { scale: 1.04; }
  .dest__fleche { transition: translate .35s var(--ressort); }
  .dest__etiq:hover .dest__fleche { translate: 3px 0; }
  .rond:not(:disabled):hover { scale: 1.06; }
  .rond { transition: background-color .3s, scale .35s var(--ressort); }
  .question:not(.ouverte):hover { background: #ebebe8; }
  .question:hover .question__rond { scale: 1.06; }
  .question__rond { transition: background-color .35s, scale .35s var(--ressort); }
  .parcours .suggestion:hover { background: rgb(255 255 255 / .95); }
  .parcours .panneau__retour:hover { background: #fff; }
  .parcours .panneau__fermer:hover { background: rgb(11 12 14 / .12); }
  .parcours[data-etape="5"] .panneau__fermer:hover { background: rgb(255 255 255 / .22); }
  .quand button:not([aria-pressed="true"]):hover { opacity: .7; }
  .compteur button:not(:disabled):hover { scale: 1.06; }
  .parcours .option:hover, .saisie:hover:not(:focus-within) { background-color: #ececea; }
  .btn-accueil:hover { filter: brightness(1.15); }
}

/* Liquid glass vivant sur PC : le reflet suit la souris (bureau.js pose --lx, --ly, --lo) */
.verre__lueur {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  opacity: var(--lo, 0);
  background: radial-gradient(circle 240px at var(--lx, 30%) var(--ly, 0%), rgb(255 255 255 / .25), rgb(255 255 255 / 0) 72%);
  transition: opacity .5s;
}

@media (prefers-reduced-motion: reduce) {
  .entete, .entete::before { transition: none; }
  .verre__lueur { display: none; }
  .bento, .bento__photo, .bento__fleche, .atout, .etape, .caracs li, .exemple, .avis figure, .dest__img, .rond, .question__rond { transition: none !important; }
}

/* Tarifs jusqu'à 1199 px : une seule colonne, les exemples sous la grille (trajets lisibles en entier) */
@media (max-width: 1199.98px) {
  .tarifs { grid-template-columns: minmax(0, 1fr); }
  .tarifs__droite { grid-column: 1; grid-row: auto; margin-top: 40px; }
}

/* =====================================================================
   Tablette : 768 à 1023 px
   ===================================================================== */
@media (max-width: 1023.98px) {
  .entete { padding-left: 16px; }
  .entete__nav a { padding: 10px 11px; font-size: 14.5px; }
  .entete__calc { display: none; }
  .btn-whatsapp { width: 44px; padding-left: 12.5px; }
  .btn-whatsapp span, .cta__wa-texte { position: absolute; width: 1px; height: 1px; overflow: hidden; white-space: nowrap; clip-path: inset(50%); }

  .heros { min-height: 600px; }
  .cta__whatsapp { width: 62px; padding: 0; }
  .carte { width: calc(100% - 44px); }
  .carte__textes span { font-size: 11px; }

  .calc--accueil .e1-carte { width: calc(50% - 30px); min-width: 0; }
  /* Tablette : bento équilibré, 3 cartes puis les 2 stations */
  .calc--accueil .bento { height: 80px; }
  .calc--accueil .bento--ski { height: 160px; }
  .calc--accueil .bento__nom { right: 66px; font-size: 17px; line-height: 20px; }
  .calc--accueil .bento__fleche { right: 16px; bottom: 20px; }

  .pourquoi { grid-template-columns: 1fr 1fr; }
  .hall { grid-column: 1; height: 520px; }
  .atouts { grid-column: 2; grid-template: 1fr 1fr 120px / 1fr 1fr; }
  .atout strong { left: 18px; top: 18px; font-size: 19px; line-height: 23px; }
  .atout > .sans { left: 18px; top: 50px; right: 12px; font-size: 12.5px; line-height: 16px; }
  .atout__logo { left: 18px; top: 18px; width: 44px; height: 44px; }
  .atout--wa strong { top: auto; bottom: 18px; font-size: 21px; line-height: 24px; }
  .hall__carte { height: 106px; }
  .atout--frais strong { left: 18px; top: 18px; font-size: 34px; line-height: 40px; }
  .atout--frais > .sans { left: 18px; top: 64px; max-width: none; white-space: normal; }

  .etape strong, .etape em { font-size: 20px; }
  .etape em { top: 152px; }
  .etape p { font-size: 13px; line-height: 17px; }

  .carrousel { --visibles: 2; }
  .dest { width: calc((100% - 16px) / 2); }

  .abord { column-gap: 40px; }
  .abord__scene { --u: min(1.63px, (100vw - 136px) * .001343); }


  .avis .citation, .citation-pc { font-size: 19px; }
  .avis figure { min-height: 300px; padding: 26px 22px 24px; }

  .final__prix, .final__wa { width: calc(50% - 24px); }

  .pied { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .pied__contact { grid-column: 1; grid-row: 2; }
  .pied__reseaux { grid-column: 2; grid-row: 2; }
  .pied__legal, .pied__reclam { grid-column: 1 / -1; }
  .pied__reclam { margin-top: 10px; }

  .parcours { --pl: 400px; }
}

/* Ajuster le point de prise en charge : plein écran sur PC aussi, cartes de commande plus étroites */
.ajuster { max-width: none; }
.ajuster__haut { left: 24px; right: auto; top: 24px; width: 440px; }
.ajuster__bas { left: 50%; right: auto; bottom: 24px; width: 440px; margin-left: -220px; }
.ajuster .carte__credit--ajuster { top: auto; right: auto; left: 12px; bottom: 12px; }
@media (hover: hover) and (pointer: fine) {
  .ajuster .ajuster__valider:not(:disabled):hover { translate: 0 -2px; box-shadow: 0 14px 30px rgb(11 12 14 / .22); }
  .ajuster__gps:hover, .aide-position__ajuster:hover, .parcours .e2-ajuster:hover { filter: brightness(.85); }
}

/* ---------- Mise à disposition : titre et formulaire côte à côte, 4 usages en dessous ---------- */
.dispo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-rows: auto auto auto 1fr auto; column-gap: clamp(40px, 5vw, 80px); width: var(--cont); margin: 150px auto 0; }
.dispo > .sur { grid-column: 1; grid-row: 1; }
.dispo .titre { grid-column: 1; grid-row: 2; margin-left: calc(-18 * var(--u)); }
.dispo__sous { grid-column: 1; grid-row: 3; max-width: 440px; margin: 18px 0 0; font-size: 18px; line-height: 26px; }
.dispo__form { grid-column: 2; grid-row: 1 / span 4; align-self: start; margin: 0; padding: 28px 20px 20px; border-radius: 40px; }
.dispo__form-titre { margin: 0 8px 10px; font-size: 26px; line-height: 31px; }
.usages { grid-column: 1 / -1; grid-row: 5; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 48px 0 0; }
.usage { border-radius: 32px; }
.usage__etiq { left: 12px; right: 12px; bottom: 12px; padding: 14px 16px 15px; }
.usage__etiq strong { font-size: 17px; line-height: 21px; }
.usage__etiq span { margin-top: 4px; font-size: 12.5px; line-height: 16px; }
@media (hover: hover) and (pointer: fine) {
  .usage__img { transition: scale .8s var(--sortie); }
  .usage:hover .usage__img { scale: 1.04; }
  .duree:hover input:not(:checked) + span { background: #ececea; }
  .dispo__suggestion:hover { background: var(--fond-doux); }
  .dispo .dispo__wa:hover { translate: 0 -2px; background-color: #1fc35d; box-shadow: 0 12px 26px rgb(37 211 102 / .32); }
  .pays__ligne:hover { background: var(--fond-doux); }
}

/* Liste des pays du téléphone : dans le panneau du parcours */
.parcours .pays { --haut: 4px; left: auto; top: var(--pm); right: var(--pm); bottom: var(--pm); width: var(--pl); border-radius: 32px; box-shadow: 0 20px 50px rgb(11 12 14 / .2); overflow: hidden; }

/* ---------- Langue du site (PC et tablette) : « FR · EN · DE » dans l'en-tête ---------- */
.entete .langues__active { display: none; }
.entete .langues__liste {
  position: static;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border-radius: 22px;
  background: rgb(11 12 14 / .045);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .85);
}
.entete .langues__liste a { height: 44px; padding: 0 5px; gap: 0; border-radius: 0; color: rgb(11 12 14 / .45); transition: color .25s; }
.entete .langues__liste a[aria-current] { background: none; color: var(--encre); }
.entete .langues__liste a + a::before { content: "·"; margin-right: 10px; color: rgb(11 12 14 / .3); }
.entete .langues__liste a:hover { background: none !important; color: var(--encre); }
.entete .langues__code { width: auto; }
.entete .langues__nom { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Panneau du parcours : pastille compacte, avant le bouton fermer */
.panneau__entete .langues { margin-left: auto; }
.panneau__entete .langues__active { width: 38px; height: 38px; font-size: 12px; }
.parcours[data-etape="5"] .panneau__entete .langues__active { color: #fff; background: rgb(255 255 255 / .1); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2); }
