/* Parcours de réservation : écrans 1 à 5 (Figma « V4 · 1 » à « V4 · 5 »). */
/* ---------- Socle ---------- */
.parcours {
  /* Haut de l'écran : remplace les 50 px de barre d'état de la maquette */
  --haut: max(env(safe-area-inset-top), 8px);
  --bas: max(env(safe-area-inset-bottom), 8px);
  position: fixed;
  inset: 0;
  z-index: 100;
  max-width: 430px;
  margin-inline: auto;
  background: #fff;
}
.parcours[hidden], .ecran[hidden] { display: none; }
.parcours-ouvert { overflow: hidden; }
.ecran {
  position: absolute;
  inset: 0;
  overflow: hidden auto;
  overscroll-behavior: contain;
}
:is(.parcours, .calc) h2, .parcours h3 { margin: 0; font-size: inherit; font-weight: inherit; }
:is(.parcours, .calc) button, :is(.parcours, .calc) input { color: inherit; background: none; text-align: left; appearance: none; }
:is(.parcours, .calc) input { min-width: 0; padding: 0; border: 0; outline: 0; caret-color: #0a84ff; }
.disp { font-family: var(--display); font-weight: 500; letter-spacing: -.01em; line-height: 1.25; white-space: nowrap; }
.sans { font-family: var(--sans); font-weight: 500; line-height: 1.25; white-space: nowrap; }
.titre2 { font-family: var(--display); letter-spacing: -.04em; font-feature-settings: "liga"; white-space: nowrap; }
:is(.parcours, .calc) .titre2 { font-weight: 500; }
.ellipse { overflow: hidden; text-overflow: ellipsis; }

/* Verre avec ombre portée réelle derrière la matière, comme Figma : la boîte est déportée,
   seule son ombre revient en place (une ombre ne se peint pas sous sa propre boîte). */
.vitre { box-shadow: none; color: inherit; }
.vitre::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: inherit;
  transform: translateX(-3000px);
  box-shadow: 3000px 10px 28px rgb(0 0 0 / var(--ombre, .15));
  pointer-events: none;
}
.vitre::before {
  pointer-events: none;
  background:
    linear-gradient(var(--angle, 170deg), rgb(255 255 255 / var(--r1, .032)) 14.286%, rgb(255 255 255 / var(--r2, .008)) 50%, rgb(255 255 255 / var(--r3, .016)) 85.714%),
    linear-gradient(rgb(var(--fond, 21 23 27) / var(--teinte)) 0 0);
}
.vitre--claire { --fond: 255 255 255; --r1: .1; --r2: .008; --r3: .044; color: var(--encre); }

/* Bouton noir avec pastille bleue */
.btn-noir {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 62px;
  border-radius: 31px;
}
:is(.parcours, .calc) .btn-noir { padding: 0 6px 0 22px; background: var(--encre); color: #fff; font: 500 17.5px/22px var(--display); }
.btn-noir > span:first-child { margin-top: 1px; }

/* ---------- Écran 1 · Autorisation de la position ---------- */
.e1-entete {
  position: sticky;
  top: 0;
  z-index: 4; /* au-dessus de la mention de la carte (z-index 3) quand l'écran défile */
  height: calc(var(--haut) + 56px);
  background: rgb(255 255 255 / .72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.e1-entete .marque { position: absolute; left: 16px; top: var(--haut); }
.e1-entete .marque__role { padding-top: 1px; }
.e1-wa {
  position: absolute;
  top: calc(var(--haut) + 2px);
  right: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--vert);
}
.calc {
  position: relative;
  height: calc(968px + var(--aide, 0px));
  margin: 6px 8px 8px; /* sous l’en-tête, sans être coupée */
  border-radius: 38px;
  background: var(--encre);
  color: #fff;
  text-align: center;
}
.calc__sur { position: absolute; inset: 34px 0 auto; font-size: 12px; color: rgb(255 255 255 / .5); }
.calc__titre { position: absolute; inset: 58px 2px auto 0; line-height: 44px; }
:is(.parcours, .calc) .calc__titre { font-size: 40px; }
.calc__titre span { display: block; }
.calc__titre span:first-child { color: #6e7076; }
.scene { position: absolute; inset: 168px 10px auto; height: calc(430px + var(--aide, 0px)); border-radius: 30px; overflow: hidden; text-align: left; }
.scene__carte {
  position: absolute;
  inset: 0;
  background: #ece8e1;
  overflow: hidden;
}
.scene__carte::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(rgb(11 12 14 / 0), rgb(11 12 14 / .1) 60%, rgb(11 12 14 / .35));
}
.e1-puce {
  --rayon: 18px; --teinte: .35; --ombre: .1;
  left: 12px; top: 14px; width: 192px; height: 36px;
  color: #fff;
}
.e1-puce img { position: absolute; left: 14px; top: 13px; }
.e1-puce span { position: absolute; left: 32px; top: 10.5px; font-size: 12.5px; font-weight: 600;  max-width: calc(100% - 48px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.e1-carte {
  --rayon: 28px; --teinte: .62; --ombre: .22; --angle: 143.8deg; --r1: .5; --r2: .04; --r3: .22;
  left: 12px; right: 12px; top: 96px; height: calc(322px + var(--aide, 0px)); padding: 12px;
}
.champ { position: relative; display: block; width: 100%; height: 62px; border-radius: 20px; }
:is(.parcours, .calc) .champ { background: rgb(255 255 255 / .86); }
.champ + .champ { margin-top: 6px; }
/* Message sous « Départ » : position approximative, refus, pas de signal. Jamais en rouge. */
.aide-position { margin: 6px 6px 0; text-align: left; white-space: normal; font-size: 12.5px; line-height: 17px; font-weight: 500; color: rgb(11 12 14 / .7); }
.aide-position[hidden], .aide-position [hidden] { display: none; }
.aide-position .sans { white-space: normal; line-height: 17px; }
.aide-position + .champ { margin-top: 6px; }
.aide-position details { margin-top: 2px; }
.aide-position summary { width: max-content; color: #0a84ff; cursor: pointer; list-style: none; }
.aide-position summary::-webkit-details-marker { display: none; }
.aide-position summary::after { content: " ›"; }
.aide-position details[open] summary::after { content: " ‹"; }
.aide-position details p { margin-top: 4px; }
.champ__marqueur { position: absolute; left: 14px; top: 16px; }
.champ__nom { position: absolute; left: 54px; top: 11px; font-size: 11.5px; color: var(--gris); }
.champ__valeur { position: absolute; left: 54px; right: 12px; top: 29.5px; font-size: 17px; }
input.champ__valeur { width: 190px; height: 21px; }
.champ__valeur--attente { opacity: .5; }
.champ__valeur--vide { color: rgb(11 12 14 / .35); }
.btn-position { position: absolute; right: 12px; top: 13px; display: grid; place-items: center; width: 38px; height: 36px; border-radius: 18px; }
:is(.parcours, .calc) .btn-position { background: rgb(10 132 255 / .12); }
.quand { position: relative; display: flex; height: 48px; margin-top: 12px; padding: 4px; border-radius: 24px; background: rgb(255 255 255 / .55); }
.quand button { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; }
:is(.parcours, .calc) .quand button { padding: 0 1px 1px 0; font: 500 14.5px/18px var(--display); transition: color .25s; }
.quand__pastille { position: absolute; left: 4px; top: 4px; width: calc(50% - 4px); height: 40px; border-radius: 20px; background: var(--encre); }
:is(.parcours, .calc) .quand button[aria-pressed="true"] { color: #fff; }
.quand img { transform: translate(.5px, .5px); transition: filter .25s; }
.quand button[aria-pressed="true"] img { filter: invert(1); }
/* « Plus tard » : date choisie (heure de Genève) + crayon ; la note de correction en petit dessous */
.quand__texte { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.quand__crayon { display: none; }
.quand--date .quand__horloge { display: none; }
.quand--date .quand__crayon { display: block; }
.quand--date [data-plus-tard] { font-size: 13.5px; letter-spacing: -.01em; white-space: nowrap; }
.quand-note { font: 500 10.5px/12px var(--sans); letter-spacing: 0; white-space: nowrap; opacity: .72; }
.e3-quand .quand__crayon { opacity: .6; }
/* Vrai champ natif sous le doigt (iPhone : les roulettes s'ouvrent sans JS). Presque invisible, jamais caché :
   iOS n'ouvre pas un champ en opacity 0, display none ou de taille nulle. font-size 16px : pas de zoom. */
.quand__champ { position: absolute; z-index: 2; display: block; box-sizing: border-box; min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 20px; background: transparent; color: transparent; opacity: .01; font-size: 16px; cursor: pointer; -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent; }
.quand .quand__champ { right: 4px; top: 4px; width: calc(50% - 4px); height: 40px; }
.e3-quand .quand__champ { inset: 0; width: 100%; height: 100%; border-radius: 16px; }
.quand__champ::-webkit-date-and-time-value { text-align: left; }
.quand__champ:focus { outline: none; }
/* Focus (clavier ou sélecteur ouvert) : l'anneau est dessiné sur la pastille, le champ reste à 0,01 */
.quand:has(.quand__champ:focus-visible) [data-quand="Plus tard"], .e3-quand:has(.quand__champ:focus-visible) { outline: 2px solid var(--bleu); outline-offset: 2px; border-radius: 20px; }
.e3-quand:has(.quand__champ:focus-visible) { border-radius: 16px; }
:is(.parcours, .calc) .e1-carte .btn-noir { height: 58px; margin-top: 12px; font-size: 17px; line-height: 21px; }
.e1-carte .cta__pastille { width: 46px; height: 46px; }
.e1-note { margin-top: 16px; font-size: 12px; text-align: center; color: rgb(11 12 14 / .6); }
.calc__sous { position: absolute; left: 22px; top: calc(622px + var(--aide, 0px)); }
:is(.parcours, .calc) .calc__sous { font-size: 18px; letter-spacing: -.02em; font-weight: 500; }
.bento { position: absolute; border-radius: 22px; }
.bento > span { position: absolute; left: 14px; font-family: var(--display); line-height: 1.25; white-space: nowrap; }
.bento__nom { top: 12.5px; font-size: 15px; font-weight: 500; letter-spacing: -.01em; }
/* Cartes « Trajets fréquents » : raccourcis de destination (sans prix), flèche ↗ en bas à droite */
.bento__fleche { position: absolute; z-index: 1; right: 12px; bottom: 12px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; }
.bento__fleche img { width: 16px; height: 16px; }
/* Petites cartes (Aéroport, Cornavin, Lausanne) : même taille, fond blanc, nom centré, flèche à droite */
.bento--petite { width: calc(50% - 16px); height: 71px; }
:is(.parcours, .calc) .bento--petite { background: #fff; color: var(--encre); }
.bento--petite .bento__nom { top: 50%; right: 52px; translate: 0 -50%; line-height: 18px; white-space: normal; } /* « Aéroport / de Genève », « Bahnhof / Cornavin » sur 2 lignes */
.bento--petite .bento__fleche { bottom: 19.5px; background: var(--fond-doux); }
.bento--aeroport { left: 12px; top: calc(658px + var(--aide, 0px)); }
.bento--gare { right: 12px; top: calc(658px + var(--aide, 0px)); }
.bento--lausanne { left: 12px; right: 12px; width: auto; top: calc(737px + var(--aide, 0px)); }
/* Stations de ski : photo enneigée en fond, pastille « Ski », nom en blanc sur un dégradé sombre */
.bento--ski { top: calc(816px + var(--aide, 0px)); width: calc(50% - 16px); height: 140px; overflow: hidden; isolation: isolate; background: #2a2f38; color: #fff; }
:is(.parcours, .calc) .bento--ski { color: #fff; }
.bento--chamonix { left: 12px; }
.bento--megeve { right: 12px; }
.bento__photo { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: scale .6s cubic-bezier(.2, .8, .2, 1); }
.bento--ski::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(11 12 14 / .18) 0%, rgb(11 12 14 / 0) 34%, rgb(11 12 14 / .62) 100%); }
.bento--ski .bento__nom { top: auto; bottom: 13px; line-height: 18px; text-shadow: 0 1px 10px rgb(0 0 0 / .3); }
.bento > .bento__ski { top: 12px; left: 12px; height: 22px; padding: 0 9px; border-radius: 11px; background: var(--bleu); color: var(--encre); font: 600 11.5px/22px var(--sans); letter-spacing: .01em; }

/* Rappel pendant la fenêtre d'autorisation du système */
.e1-refus[hidden] { display: none; }
.e1-refus {
  --rayon: 26px; --teinte: .85; --ombre: .12;
  left: 16px; right: 16px; bottom: calc(var(--bas) + 18px); height: 52px;
  z-index: 12;
}
.e1-refus img { position: absolute; left: 16px; top: 17px; }
.e1-refus span { position: absolute; left: 42px; top: 19px; font-size: 12.5px; }
.e1-carte .btn-noir > span:first-child { margin-top: 0; transform: translateY(.5px); }

/* ---------- Écran 2 · Saisie de la destination ---------- */
.e2 { background: #ece8e1; }
.e2__carte { position: absolute; inset: 0; }
.e2-feuille {
  --rayon: 38px; --teinte: .72; --ombre: .18; --angle: 150deg;
  left: 8px; right: 8px; top: calc(var(--haut) + 6px); min-height: 486px; padding-bottom: 12px;
}
.btn-rond { position: absolute; display: grid; place-items: center; border-radius: 50%; }
.e2 .btn-rond { left: 14px; top: 14px; width: 40px; height: 40px; }
.parcours .e2 .btn-rond { background: rgb(255 255 255 / .9); }
.e2-titre { position: absolute; left: 64px; top: 17px; line-height: 30px; white-space: nowrap; }
.parcours .e2-titre { font: 500 26px/30px var(--display); letter-spacing: -.03em; }
.e2-titre span { position: absolute; left: 0; }
.e2-titre span:first-child { color: var(--gris-titre); }
.e2-titre span:last-child { left: 70px; }
.champs { position: absolute; inset: 66px 12px auto; height: 130px; border-radius: 26px; background: rgb(255 255 255 / .9); }
.champs > * { position: absolute; }
.champs__m1 { left: 14px; top: 15px; }
.champs__m2 { left: 14px; top: 82px; }
.champs__nom { left: 54px; top: 10px; font-size: 11.5px; color: var(--gris); }
.champs__tag { left: 98px; top: 9px; width: 104px; height: 18px; border-radius: 9px; background: rgb(10 132 255 / .12); color: #0a84ff; }
.champs__tag::before { content: ""; position: absolute; left: 7px; top: 6px; width: 6px; height: 6px; border-radius: 50%; background: #0a84ff; }
.champs__tag span { position: absolute; left: 17px; top: 2px; font-size: 10.5px; font-weight: 600; }
.champs__tag[hidden] { display: none; }
.champs__depart { left: 54px; right: 14px; top: 29px; font-size: 16.5px; }
.champs__trait { left: 54px; right: 14px; top: 63px; height: 1px; background: #e6e6e3; }
.champs__arrivee { left: 46px; right: 8px; top: 70px; height: 52px; box-shadow: inset 0 0 0 1.6px var(--encre); border-radius: 18px; background: var(--fond-doux); }
.champs__arrivee label { position: absolute; left: 12px; top: 7px; font-size: 11px; color: var(--gris); }
.champs__arrivee input { position: absolute; left: 12px; top: 22px; width: calc(100% - 20px); height: 21px; font-size: 16.5px; }
/* Arrêts intermédiaires : puces, bouton « + Ajouter un arrêt », champ de saisie */
.e2-arrets { position: relative; display: flex; flex-wrap: wrap; gap: 6px; margin: 204px 12px 0; }
.e2-arret, .e2-arret-ajout { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 16px; background: rgb(255 255 255 / .9); font-size: 12.5px; font-weight: 600; line-height: 16px; }
.e2-arret { max-width: 100%; gap: 4px; padding-right: 4px; }
.e2-arret > span { min-width: 0; }
.e2-arret button, .e2-arret-annuler { position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%; }
.e2-arret button::before, .e2-arret button::after, .e2-arret-annuler::before, .e2-arret-annuler::after { content: ""; position: absolute; left: 7px; top: 12.25px; width: 12px; height: 1.5px; border-radius: 1px; background: var(--gris); transform: rotate(45deg); }
.e2-arret button::after, .e2-arret-annuler::after { transform: rotate(-45deg); }
.parcours .e2-arret-ajout { background: rgb(255 255 255 / .9); color: #0a84ff; }
.e2-arret-ajout[hidden] { display: none; }
.e2-arret-prix { margin-left: 4px; font-weight: 500; color: var(--gris); }
.e2-arret-champ { position: relative; flex: 1 1 100%; height: 52px; border-radius: 18px; background: var(--fond-doux); box-shadow: inset 0 0 0 1.6px var(--encre); }
.e2-arret-champ[hidden] { display: none; }
.e2-arret-champ > span { position: absolute; left: 12px; top: 7px; font-size: 11px; color: var(--gris); }
.e2-arret-champ input { position: absolute; left: 12px; right: 44px; top: 22px; height: 21px; font-size: 16.5px; }
.e2-arret-champ input::placeholder { color: rgb(11 12 14 / .32); opacity: 1; }
.e2-arret-annuler { position: absolute; right: 12px; top: 13px; }
.champs[data-actif="arret"]::before { opacity: 0; }
.suggestions { position: relative; margin: 8px 12px 0; padding: 0; list-style: none; }
.suggestion { position: relative; display: block; width: 100%; height: 62px; border-radius: 22px; }
li + li .suggestion { margin-top: 6px; }
.suggestion > * { position: absolute; }
.suggestion__pastille { left: 10px; top: 11px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgb(255 255 255 / .85); }
.suggestion__nom { left: 62px; top: 12px; max-width: calc(100% - 140px); font-size: 15.5px; }
.suggestion__nom b { font-weight: 700; }
.suggestion__detail { left: 62px; top: 34px; max-width: calc(100% - 140px); font-size: 12px; color: var(--gris); }
.suggestion__prix { letter-spacing: 0; right: 15px; top: 22px; font-size: 14px; }
.parcours li:first-child .suggestion { background: rgb(255 255 255 / .95); }
li:first-child .suggestion__pastille { background: var(--bleu); }
.suggestions__vide { padding: 20px 10px; font-size: 13px; color: var(--gris); white-space: normal; }

/* ---------- Écran 3 · Votre prix ---------- */
.e3 { overflow: hidden; background: #fff; }
/* Repère de la maquette (390 × 560) : tout ce qui est posé sur la carte suit son échelle */
.plan { position: absolute; inset: 0; background: #ece8e1; }
.e3 .btn-rond { --rayon: 23px; --teinte: .75; --ombre: .15; left: 16px; top: calc(var(--haut) + 4px); width: 46px; height: 46px; }
.pastille-trajet {
  --rayon: 20px; --teinte: .7; --ombre: .15;
  right: 16px; top: calc(var(--haut) + 7px);
  display: flex; justify-content: space-between; gap: 12px; min-width: 139px; height: 40px; padding: 9px 16px 0;
  color: #fff;
}
.pastille-trajet span { font-size: 15px; font-weight: 600; line-height: 19px; }
.pastille-trajet span:last-child { color: var(--bleu); }
.e3-feuille {
  --rayon: 40px; --teinte: .88; --ombre: .2; --angle: 144deg;
  /* --plus (posé sur .e3) : hauteur du « Détail du prix » ouvert, la feuille grandit vers le haut */
  left: 8px; right: 8px; bottom: var(--bas); height: calc(396px + var(--plus, 0px));
}
.e3-feuille__poignee { position: absolute; left: 50%; top: 10px; width: 36px; height: 5px; margin-left: -18px; border-radius: 3px; background: rgb(11 12 14 / .18); }
.resume { position: absolute; inset: 26px 14px auto; height: 70px; border-radius: 24px; background: var(--fond-doux); }
.resume > * { position: absolute; }
.resume__p1 { left: 16px; top: 18px; }
.resume__p2 { left: 16px; top: 44px; width: 10px; height: 10px; border-radius: 3px; background: var(--encre); }
.resume__depart { left: 38px; top: 15px; max-width: calc(100% - 122px); font-size: 13.5px; color: var(--gris); }
.resume__arrivee { left: 38px; top: 39px; max-width: calc(100% - 122px); font-size: 15px; }
.resume__modifier { right: 12px; top: 17px; width: 64px; height: 36px; border-radius: 18px; }
.parcours .resume__modifier { background: #fff; font: 600 12.5px/16px var(--sans); text-align: center; }
.e3-label { position: absolute; left: 22px; top: 111px; font-size: 12.5px; color: var(--gris); }
.prix { position: absolute; left: 18px; top: 124px; display: flex; align-items: center; height: 80px; }
.prix__chf { position: absolute; left: 0; top: 16px; font-size: 24px; letter-spacing: -.02em; color: var(--gris-titre); }
.prix__valeur { position: relative; margin-left: 56px; top: -5px; font: 500 76px/84px var(--display); letter-spacing: -.06em; white-space: nowrap; }
.prix__badge { margin-left: 16.5px; padding: 8px 12px; margin-top: -20px; border-radius: 16px; background: var(--bleu); font-size: 13px; line-height: 16px; letter-spacing: 0; }
.e3-quand-ligne { position: absolute; right: 14px; top: 102px; display: flex; align-items: center; gap: 8px; }
.e3-quand { position: relative; display: flex; align-items: center; gap: 6px; height: 32px; padding: 8px 12px 8px 26px; border-radius: 16px; background: var(--fond-doux); font-size: 12.5px; font-weight: 600; line-height: 16px; }
.e3-quand-ligne .quand-note { color: var(--gris); }
.e3-quand::before { content: ""; position: absolute; left: 12px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--vert); }
.e3-detail { position: absolute; left: 14px; right: 14px; top: 204px; font-size: 12px; color: var(--gris); }
.e3-detail summary { display: flex; align-items: center; gap: 5px; height: 28px; padding: 0 8px; list-style: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.e3-detail summary::-webkit-details-marker, .detail-prix summary::-webkit-details-marker { display: none; }
.e3-detail__titre { flex: none; color: var(--encre); font-weight: 600; }
.e3-detail__titre::after, .detail-prix summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 0 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-3px) rotate(45deg); transition: transform .3s; }
.e3-detail[open] .e3-detail__titre::after, .detail-prix[open] summary::after { transform: translateY(0) rotate(-135deg); }
.e3-detail__tarif { min-width: 0; }
.e3-lignes, .detail-prix__lignes { margin: 0; padding: 8px 14px; border-radius: 18px; background: var(--fond-doux); font-size: 12px; line-height: 15px; }
.e3-lignes { margin-top: 4px; }
.ligne-prix { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 3px 0; }
.ligne-prix dt { min-width: 0; color: var(--gris); white-space: normal; }
.ligne-prix dd { flex: none; margin: 0; color: var(--encre); font-weight: 600; font-variant-numeric: tabular-nums; }
.ligne-prix--total { margin-top: 4px; padding-top: 7px; border-top: 1px solid rgb(11 12 14 / .1); }
.ligne-prix--total dt { color: var(--encre); font-weight: 600; }
/* Sous le prix : attente et annulation (non comprises dans le prix fixe) */
.e3-conditions { position: absolute; left: 22px; right: 22px; top: calc(234px + var(--plus, 0px)); font-size: 11px; line-height: 14px; color: var(--gris); white-space: normal; }
/* Prix au centime : la police diminue avec le nombre de caractères (« 26.60 », « 214.80 », « 1284.00 ») */
.prix__valeur[data-longueur="5"] { font-size: 64px; }
.prix__valeur[data-longueur="6"] { font-size: 54px; }
.prix__valeur[data-longueur="7"], .prix__valeur[data-longueur="8"] { font-size: 46px; }
.e3-feuille .btn-noir { position: absolute; left: 14px; right: 14px; top: calc(270px + var(--plus, 0px)); width: auto; }
.e3-note { position: absolute; inset: calc(340px + var(--plus, 0px)) 18px auto; font-size: 12px; line-height: 15px; white-space: normal; text-align: center; color: var(--gris); }

/* « Détail du prix » sous les récapitulatifs (écrans 4 et 5) */
.detail-prix { margin-top: 8px; font-size: 12.5px; }
.detail-prix summary { display: flex; align-items: center; height: 34px; padding: 0 20px; list-style: none; cursor: pointer; font-weight: 600; -webkit-tap-highlight-color: transparent; }
.detail-prix + .saisie { margin-top: 12px; }
.detail-prix--sombre { position: relative; z-index: 2; margin: 8px 12px 0; color: #fff; }
.detail-prix--sombre .detail-prix__lignes { background: rgb(255 255 255 / .08); }
.detail-prix--sombre .ligne-prix dt { color: rgb(255 255 255 / .6); }
.detail-prix--sombre .ligne-prix dd, .detail-prix--sombre .ligne-prix--total dt { color: #fff; }
.detail-prix--sombre .ligne-prix--total { border-top-color: rgb(255 255 255 / .15); }
.e3-feuille .btn-noir > span:first-child, .e4 .btn-noir > span:first-child { margin-top: -1px; }
.e4 .btn-noir > span:first-child { position: static; }

/* ---------- Écran 4 · Vos coordonnées ---------- */
.e4 { background: #fff; }
.e4 form { position: relative; padding: calc(var(--haut) + 170px) 12px calc(var(--bas) + 26px); }
.e4 .btn-rond { left: 16px; top: calc(var(--haut) + 4px); width: 44px; height: 44px; }
.parcours .e4 .btn-rond { background: var(--fond-doux); }
.progression { position: absolute; right: 18px; top: calc(var(--haut) + 24px); display: flex; gap: 4px; }
.progression i { position: relative; width: 38px; height: 4px; border-radius: 2px; background: rgb(11 12 14 / .15); overflow: hidden; }
.progression i b { position: absolute; inset: 0; border-radius: inherit; background: var(--encre); transform-origin: 0 50%; }
.progression i:has(b) { background: none; }
.e4-titre { position: absolute; left: 18px; top: calc(var(--haut) + 63px); line-height: 46px; }
.parcours .e4-titre { font-size: 44px; }
.e4-titre span { display: block; width: max-content; }
.e4-titre span:first-child { color: var(--gris-titre); }
.recap { position: relative; height: 96px; border-radius: 30px; background: var(--encre); color: #fff; }
.recap > * { position: absolute; }
.recap__p1 { left: 20px; top: 25px; }
.recap__p2 { left: 20px; top: 59px; width: 10px; height: 10px; border-radius: 3px; background: #fff; }
.recap__depart { left: 42px; top: 21px; max-width: calc(100% - 158px); font-size: 13.5px; color: rgb(255 255 255 / .6); }
.recap__arrivee { left: 42px; top: 52px; max-width: calc(100% - 128px); font-size: 15.5px; }
.recap__prix { right: 16px; top: 18px; height: 36px; padding: 8.5px 14px 0; border-radius: 18px; background: var(--bleu); color: var(--encre); font-size: 15px; line-height: 19px; letter-spacing: 0; }
.recap__quand { right: 16px; top: 62px; font-size: 12px; color: rgb(255 255 255 / .5); }

.saisie { position: relative; display: block; height: 64px; border-radius: 24px; background: var(--fond-doux); transition: background-color .25s; }
.recap + .saisie { margin-top: 20px; }
.saisie + .saisie { margin-top: 8px; }
.saisie__nom { position: absolute; left: 20px; top: 11px; font-size: 11.5px; color: var(--gris); }
.saisie input { position: absolute; left: 20px; right: 20px; top: 29px; width: calc(100% - 40px); height: 21px; font-size: 17px; }
.parcours .saisie input::placeholder { color: rgb(11 12 14 / .32); opacity: 1; }
/* Contour noir au focus (opacité animée) */
.saisie::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1.6px var(--encre); opacity: 0; transition: opacity .25s; pointer-events: none; }
.saisie:focus-within { background: #fff; }
.saisie:focus-within::after { opacity: 1; }
.saisie--erreur::after { box-shadow: inset 0 0 0 1.6px #da291c; opacity: 1; }
.saisie--tel .saisie__nom { left: 96px; }
.saisie--tel input { left: 96px; width: calc(100% - 116px); }
.indicatif { position: absolute; left: 8px; top: 8px; width: 80px; height: 48px; border-radius: 18px; background: var(--fond-doux); }
.indicatif img { position: absolute; left: 12px; top: 14px; }
.indicatif span { position: absolute; left: 38px; top: 14px; font-size: 15.5px; letter-spacing: 0; }
.option { position: relative; display: block; width: 100%; height: 60px; margin-top: 16px; border-radius: 24px; }
.parcours .option { background: var(--fond-doux); }
.option > span:first-child { position: absolute; left: 20px; top: 19px; font-size: 16px; }
.interrupteur { position: absolute; right: 16px; top: 15px; width: 56px; height: 30px; border-radius: 15px; background: #d9dadf; transition: background-color .3s; }
.interrupteur i { position: absolute; left: 2px; top: 2px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgb(0 0 0 / .2); }
[aria-checked="true"] .interrupteur { background: var(--vert); }
[aria-checked="true"] .interrupteur i { transform: translateX(26px); }
.saisie--email { margin-top: 8px; }
.saisie--email[hidden] { display: none; }
.e4-suite { padding-top: 16px; }
.compteurs { display: flex; gap: 8px; }
.compteur { position: relative; flex: 1; height: 64px; border-radius: 24px; background: var(--fond-doux); }
.compteur > .sans { position: absolute; left: 18px; top: 11px; font-size: 11.5px; color: var(--gris); }
.compteur__valeur { position: absolute; left: 18px; top: 28px; height: 25px; overflow: hidden; font-size: 20px; line-height: 25px; }
.compteur__valeur span { display: block; }
.compteur button { position: absolute; top: 14px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; }
.compteur button:disabled { opacity: .4; }
.compteur__moins { right: 51px; }
.compteur__plus { right: 9px; }
.parcours .compteur__moins { background: #fff; }
.parcours .compteur__plus { background: var(--encre); }
.compteurs + .saisie, .compteurs + .compteurs { margin-top: 8px; }
.compteurs--enfants .saisie { flex: 1; transition: opacity .25s; }
.saisie--ages:has(input:disabled) { opacity: .45; }
.info { position: relative; height: 58px; margin-top: 18px; border: 1px solid #e6e6e3; border-radius: 24px; }
.info strong { position: absolute; left: 19px; top: 10px; font-size: 15px; font-weight: 500; }
.info span { position: absolute; left: 19px; top: 30px; font-size: 12px; color: var(--gris); }
.e4 .btn-noir { position: relative; margin-top: 16px; }
.btn-wa-clair { display: flex; align-items: center; justify-content: center; gap: 9px; height: 58px; margin-top: 8px; border-radius: 29px; background: rgb(37 211 102 / .12); color: #0f7a40; font: 500 15px/19px var(--display); white-space: nowrap; }
.btn-wa-clair span, .btn-wa span, .recap__prix span { display: block; transform: translateY(-.5px); }


/* ---------- Écran 5 · Demande envoyée ---------- */
.e5 { background: var(--encre); color: #fff; }
.e5__contenu { position: relative; min-height: 100%; padding-top: calc(var(--haut) + 468px); padding-bottom: calc(var(--bas) + 38px); overflow: hidden; }
.e5__lueur { position: absolute; left: 50%; top: calc(var(--haut) + 70px); width: 510px; height: 420px; margin-left: -255px; background: radial-gradient(closest-side, rgb(168 232 255 / .22), rgb(168 232 255 / 0)); }
.e5__pastille { position: absolute; left: 50%; top: calc(var(--haut) + 50px); display: grid; place-items: center; width: 80px; height: 80px; margin-left: -40px; border-radius: 50%; background: var(--bleu); }
.e5__pastille svg { fill: none; stroke: var(--encre); stroke-width: 3.9; stroke-linecap: round; stroke-linejoin: round; }
.e5__particules { position: absolute; left: 50%; top: calc(var(--haut) + 90px); }
.e5__particules i { position: absolute; width: 8px; height: 8px; margin: -4px; border-radius: 50%; opacity: 0; }
.e5__titre { position: absolute; inset: calc(var(--haut) + 154px) 2px auto 0; line-height: 45px; text-align: center; }
.parcours .e5__titre { font-size: 38px; }
.e5__titre span { display: block; }
.e5__titre > span:first-child { color: #6e7076; }
.e5__numero { position: absolute; inset: calc(var(--haut) + 252px) 24px auto; display: flex; justify-content: center; align-items: baseline; gap: 8px; width: fit-content; margin: 0 auto; padding: 8px 16px; border-radius: 999px; background: rgb(169 232 255 / .14); font: 600 15px/20px var(--sans); color: rgb(255 255 255 / .75); }
.e5__numero[hidden] { display: none; }
.e5__numero strong { font: 600 18px/20px var(--display); color: var(--bleu); letter-spacing: .01em; }
.e5__texte { position: absolute; inset: calc(var(--haut) + 300px) 40px auto; font: 500 15px/21px var(--sans); text-align: center; color: rgb(255 255 255 / .6); }
.e5__illustration { position: absolute; left: 50%; top: calc(var(--haut) + 352px); width: 314px; height: 118px; margin-left: -157px; }
.e5__illustration svg { display: block; overflow: visible; filter: drop-shadow(0 6px 7px rgb(0 0 0 / .18)); }
.recap-final { --rayon: 32px; --teinte: .4; --ombre: .2; --angle: 159deg; position: relative; height: 178px; margin: 0 12px; }
.recap-final > * { position: absolute; }
.recap-final > .arete { position: absolute; }
.recap-final__p1 { left: 22px; top: 26px; }
.recap-final__p2 { left: 22px; top: 60px; width: 10px; height: 10px; border-radius: 3px; background: #fff; }
.recap-final__depart { left: 44px; top: 22px; max-width: calc(100% - 66px); font-size: 13.5px; color: rgb(255 255 255 / .6); }
.recap-final__arrivee { left: 44px; top: 53px; max-width: calc(100% - 66px); font-size: 16px; }
.recap-final__trait { left: 22px; right: 22px; top: 98px; height: 1px; background: rgb(255 255 255 / .15); }
.recap-final dl { left: 22px; right: 22px; top: 114px; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; column-gap: 12px; margin: 0; }
.recap-final dl > div { position: relative; min-width: 0; }
.recap-final dt { font-size: 11.5px; line-height: 14px; color: rgb(255 255 255 / .5); }
.recap-final dd { margin: 5px 0 0; font-size: 14.5px; line-height: 19px; white-space: nowrap; }
.recap-final div:last-child dd { color: var(--bleu); }
.btn-wa { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 10px; height: 62px; margin: 14px 12px 0; border-radius: 31px; background: var(--vert); color: #fff; font: 500 17px/21px var(--display); }
.btn-accueil { --rayon: 28px; --teinte: .2; --ombre: 0; position: relative; display: block; width: calc(100% - 24px); height: 56px; margin: 10px 12px 0; }
.parcours .btn-accueil { color: #fff; font: 500 16px/20px var(--display); text-align: center; }
.btn-wa, .btn-wa-clair { text-indent: 0; } .btn-wa img, .btn-wa-clair img { transform: translateX(-.5px); } .btn-wa span { transform: translate(-.5px, -.5px); }
.recap__prix span { transform: translate(-.5px, -.5px); }

/* ---------- Carte de l'écran 3 : positions relatives au plan (390 × 560) ---------- */

/* ---------- 4.0 Transitions entre les écrans ---------- */
/* Seulement pendant la transition : un nom permanent couperait le backdrop-filter des cartes en verre */
[data-sens] .ecran:not([hidden]) .trajet { view-transition-name: trajet; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .55s; animation-timing-function: cubic-bezier(.22, 1, .36, 1); mix-blend-mode: normal; }
::view-transition-group(trajet) { animation-duration: .55s; animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
::view-transition-old(trajet), ::view-transition-new(trajet) { height: 100%; width: 100%; object-fit: fill; overflow: clip; animation-duration: .35s; }
::view-transition-old(root) { animation-name: ecran-sort; }
::view-transition-new(root) { animation-name: ecran-entre; }
[data-sens="retour"]::view-transition-old(root) { animation-name: ecran-sort-retour; z-index: 1; }
[data-sens="retour"]::view-transition-new(root) { animation-name: ecran-entre-retour; }
@keyframes ecran-entre { from { transform: translateX(100%); filter: blur(8px); } }
@keyframes ecran-sort { to { transform: translateX(-24%); filter: brightness(.86); } }
@keyframes ecran-entre-retour { from { transform: translateX(-24%); filter: blur(8px); } }
@keyframes ecran-sort-retour { to { transform: translateX(100%); } }

/* Accueil : pas d'élément partagé, le trajet glisse avec son écran */
::view-transition-new(trajet):only-child { animation: trajet-entre .55s cubic-bezier(.22, 1, .36, 1); }
::view-transition-old(trajet):only-child { animation: trajet-sort .55s cubic-bezier(.22, 1, .36, 1); }
@keyframes trajet-entre { from { transform: translateX(min(100vw, 430px)); filter: blur(8px); } }
@keyframes trajet-sort { to { transform: translateX(min(100vw, 430px)); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }

/* ---------- 4.1 ---------- */
.btn-position::before, .btn-position::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgb(10 132 255 / .35); opacity: 0; pointer-events: none; }
.btn-position img { position: relative; z-index: 1; }
.champ--position { isolation: isolate; }
.champ--invite { animation: invite 1.4s ease-out; }
@keyframes onde { from { transform: scale(1); opacity: .9; } to { transform: scale(2.1); opacity: 0; } }
@keyframes invite { 30% { box-shadow: 0 0 0 4px rgb(169 232 255 / .9), 0 0 26px rgb(169 232 255 / .9); } 100% { box-shadow: 0 0 0 4px rgb(169 232 255 / 0); } }
.parcours #depart::placeholder { color: rgb(11 12 14 / .35); opacity: 1; }
input.champ__valeur { text-overflow: ellipsis; }

/* ---------- 4.2 ---------- */
.e2-fantome { position: absolute; z-index: 5; font-size: 16.5px; transform-origin: 0 50%; pointer-events: none; }

/* ---------- 4.3 ---------- */
.roue { display: inline-block; height: 84px; overflow: hidden; vertical-align: top; }
.roue > span { display: block; }
.roue i { display: block; height: 84px; font-style: normal; }

/* ---------- 4.4 ---------- */
.btn-envoi__charge { position: absolute; left: 50%; top: 0; width: 62px; height: 62px; margin-left: -31px; opacity: 0; fill: none; stroke: var(--bleu); stroke-width: 3; stroke-linecap: round; pointer-events: none; }
.btn-envoi__coche { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; stroke-linejoin: round; }

/* ---------- Toucher ---------- */
:is(.parcours, .calc) button, :is(.parcours, .calc) a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:is(.parcours, .calc) button:not(:disabled), .btn-wa, .btn-wa-clair, .e1-wa { transition: scale .35s cubic-bezier(.34, 1.56, .64, 1); }
:is(.parcours, .calc) button:not(:disabled):active, .btn-wa:active, .btn-wa-clair:active, .e1-wa:active { scale: .97; transition-duration: .1s; }
:is(.parcours, .calc) .bento:active { scale: .95; } /* trajets fréquents : appui plus marqué, rebond au relâcher */
:is(.parcours, .calc) .quand button { transition: color .25s, scale .35s cubic-bezier(.34, 1.56, .64, 1); }

@media (prefers-reduced-motion: no-preference) {
  .btn-position--attente::before { animation: onde 2s ease-out infinite; }
  .btn-position--attente::after { animation: onde 2s 1s ease-out infinite; }
  .btn-position--onde::before { animation: onde .9s ease-out; }
}
@media (prefers-reduced-motion: reduce) {
  .champ--invite { animation: none; }
  :is(.parcours, .calc) button, .btn-wa, .btn-wa-clair, .e1-wa { transition: none !important; }
  :is(.parcours, .calc) button:active { scale: 1 !important; }
}

.e1-puce[hidden] { display: none; }

/* ---------- Écran 2 : départ modifiable, « Ma position », inverser ---------- */
.champs::before { content: ""; position: absolute; left: 46px; right: 8px; top: 70px; height: 52px; border-radius: 18px; background: var(--fond-doux); box-shadow: inset 0 0 0 1.6px var(--encre); transition: top .35s cubic-bezier(.22, 1, .36, 1); }
.champs[data-actif="depart"]::before { top: 4px; }
.champs__arrivee { box-shadow: none; background: none; }
input.champs__depart { right: 124px; height: 21px; font-size: 16.5px; text-overflow: ellipsis; }
.champs__depart::placeholder, .champs__arrivee input::placeholder { color: rgb(11 12 14 / .32); opacity: 1; }
.champs__position { right: 14px; top: 17px; display: flex; align-items: center; gap: 4px; height: 30px; padding: 0 10px 0 8px; border-radius: 15px; background: rgb(10 132 255 / .12) !important; color: #0a84ff; }
.champs__position span { font-size: 12px; font-weight: 600; }
.champs__position.btn-position--attente { animation: respire 1.2s ease-in-out infinite; }
@keyframes respire { 50% { opacity: .55; } }
.champs__inverser { left: 16px; top: 50.5px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff !important; box-shadow: 0 0 0 1px #e6e6e3; z-index: 1; }
.suggestion--charge { opacity: .55; }
.suggestions__wa { display: inline-block; margin-top: 8px; color: #0a84ff; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Départ hors zone : devis sur WhatsApp */
.aide-position__wa { display: inline-flex; margin-top: 6px; padding: 7px 12px; border-radius: 16px; background: var(--vert); color: #fff; font: 600 12.5px/16px var(--sans); }

/* Formulaire : indicatif +41 / +33, échec d'envoi */
.indicatif select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; cursor: pointer; }
.e4-erreur { margin: 16px 6px 0; font-size: 13px; line-height: 18px; font-weight: 600; white-space: normal; color: var(--encre); }
.e4-erreur[hidden] { display: none; }
/* Contrôle anti-robot (Turnstile) : invisible, sauf si Cloudflare demande de cocher la case */
.e4-robot { display: flex; justify-content: center; }
.e4-robot iframe { margin-top: 16px; }


/* ---------- Cartes MapLibre ---------- */
/* La feuille de MapLibre impose position: relative : on la surclasse pour remplir l.emplacement */
.carte-fond, .carte-fond.maplibregl-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.carte-fond .maplibregl-canvas { outline: none; }
/* Mention obligatoire, discrète, toujours au-dessus des panneaux */
.carte__credit { position: absolute; z-index: 3; padding: 2px 6px; border-radius: 6px; background: rgb(255 255 255 / .72); font-size: 10px; line-height: 13px; color: rgb(11 12 14 / .62); white-space: nowrap; }
.carte__credit a { color: inherit; }
.carte__credit--scene { right: 10px; top: 10px; }
.carte__credit--e2 { right: 10px; bottom: calc(var(--bas) + 8px); }
.carte__credit--e3 { right: 12px; bottom: calc(396px + var(--plus, 0px) + var(--bas) + 8px); }
.e3 .carte__recentrer { left: auto; top: auto; right: 16px; bottom: calc(396px + var(--plus, 0px) + var(--bas) + 30px); z-index: 3; width: 44px; height: 44px; }
.carte__recentrer[hidden] { display: none; }
.maplibregl-cooperative-gesture-screen { font-family: var(--sans); font-size: 15px; }
/* Repères A et B, ancrés au point exact */
.repere { position: relative; width: 0; height: 0; }
.repere__point { position: absolute; left: 0; top: 0; translate: -50% -50%; display: block; background: center / contain no-repeat; }
.repere--depart .repere__point { width: 32px; height: 32px; background-image: url("assets/icons/pin-depart.svg"); }
.repere--arrivee .repere__point { width: 28px; height: 28px; background-image: url("assets/icons/pin-arrivee.svg"); }
.repere__etiquette { position: absolute; left: 22px; top: 0; translate: 0 -50%; padding: 6px 12px; border-radius: 15px; font-size: 13px; line-height: 17px; letter-spacing: 0; white-space: nowrap; max-width: 190px; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 4px 14px rgb(20 18 13 / .15); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.repere--depart .repere__etiquette { background: rgb(255 255 255 / .85); color: var(--encre); }
.repere--arrivee .repere__etiquette { background: rgb(11 12 14 / .72); color: #fff; }
.repere--gauche .repere__etiquette { left: auto; right: 22px; } /* étiquette qui sortirait de la carte : à gauche du point (carte.js) */
.repere__etiquette[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .repere__point { animation: repere-pose .5s cubic-bezier(.34, 1.56, .64, 1) both; }
  @keyframes repere-pose { from { scale: .2; opacity: 0; } }
}

/* Suggestion choisie au clavier (flèches haut/bas) */
.parcours .suggestion--active { background: #fff; box-shadow: inset 0 0 0 2px var(--encre); }

/* ---------- Position précise : point bleu, lien d'ajustement ---------- */
.repere--moi .repere__point { width: 18px; height: 18px; border-radius: 50%; background: #0a84ff; box-shadow: 0 0 0 3px #fff, 0 2px 8px rgb(0 0 0 / .3); }
.repere--moi { z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .repere--moi .repere__point::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; background: rgb(10 132 255 / .35); animation: onde 2s ease-out infinite; }
}
.carte--ajuster .repere--depart, .carte--ajuster .repere--arrivee { display: none; }
.aide-position__ajuster { display: block; margin-top: 2px; padding: 2px 0; color: #0a84ff; font-size: 12.5px; line-height: 17px; font-weight: 600; text-align: left; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
:is(.parcours, .calc) .aide-position__ajuster { color: #0a84ff; }
.parcours .e2-ajuster { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 16px; background: rgb(255 255 255 / .9); color: #0a84ff; font-size: 12.5px; font-weight: 600; line-height: 16px; }
.e2-ajuster[hidden] { display: none !important; }

/* ---------- Ajuster le point de prise en charge (repère fixe, la carte bouge dessous) ---------- */
.ajustement-ouvert { overflow: hidden; }
.ajuster { --haut: max(env(safe-area-inset-top), 8px); --bas: max(env(safe-area-inset-bottom), 8px); position: fixed; inset: 0; z-index: 150; max-width: 430px; margin-inline: auto; background: #ece8e1; }
.ajuster[hidden] { display: none; }
.ajuster__carte { position: absolute; inset: 0; }
.ajuster .carte__credit--ajuster { right: 10px; top: calc(var(--haut) + 76px); }
/* Repère fixe : la pointe de la tige est exactement au centre de la carte (= le point enregistré) */
.ajuster__repere { position: absolute; left: 50%; top: 50%; z-index: 2; width: 0; height: 0; pointer-events: none; }
.ajuster__sol { position: absolute; left: -5px; top: -2.5px; width: 10px; height: 5px; border-radius: 50%; background: rgb(11 12 14 / .35); transition: transform .25s; }
.ajuster__tige { position: absolute; left: -1.5px; top: -20px; width: 3px; height: 20px; border-radius: 2px; background: var(--encre); transition: transform .25s cubic-bezier(.34, 1.56, .64, 1); }
.ajuster__tete { position: absolute; left: -16px; top: -50px; width: 32px; height: 32px; border-radius: 50%; background: var(--encre); box-shadow: 0 6px 14px rgb(0 0 0 / .25); transition: transform .25s cubic-bezier(.34, 1.56, .64, 1); }
.ajuster__tete::after { content: ""; position: absolute; left: 10px; top: 10px; width: 12px; height: 12px; border-radius: 50%; background: var(--bleu); }
.ajuster--bouge .ajuster__tete, .ajuster--bouge .ajuster__tige { transform: translateY(-10px); }
.ajuster--bouge .ajuster__sol { transform: scale(1.5); }
.ajuster__haut { --rayon: 30px; --teinte: .78; --ombre: .15; left: 8px; right: 8px; top: calc(var(--haut) + 6px); height: 60px; }
.ajuster .ajuster__fermer { left: 10px; top: 10px; width: 40px; height: 40px; background: rgb(255 255 255 / .9); }
.ajuster__titre { position: absolute; left: 62px; right: 14px; top: 19px; margin: 0; font: 500 16px/21px var(--display); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ajuster__bas { --rayon: 34px; --teinte: .9; --ombre: .2; left: 8px; right: 8px; bottom: var(--bas); padding: 18px 16px 12px; }
.ajuster__etiquette { margin: 0 6px; font-size: 12px; color: var(--gris); }
.ajuster__adresse { margin: 4px 6px 0; font-size: 20px; line-height: 25px; letter-spacing: -.02em; }
.ajuster__detail { margin: 3px 6px 0; min-height: 16px; font-size: 12.5px; line-height: 16px; color: var(--gris); white-space: normal; }
.ajuster .ajuster__valider { margin-top: 14px; padding: 0 6px 0 22px; background: var(--encre); color: #fff; font: 500 17px/21px var(--display); transition: opacity .2s; }
.ajuster .ajuster__valider:disabled { opacity: .45; cursor: default; }
.ajuster .ajuster__valider .cta__pastille { width: 46px; height: 46px; }
.ajuster .ajuster__valider { height: 58px; }
.ajuster__gps { display: flex; align-items: center; gap: 6px; margin: 10px auto 0; padding: 6px 10px; border-radius: 15px; background: none; color: #0a84ff; font-size: 12.5px; font-weight: 600; }
.ajuster__gps[hidden] { display: none; }
.ajuster button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
@media (prefers-reduced-motion: reduce) { .ajuster__tete, .ajuster__tige, .ajuster__sol { transition: none; } }

/* ---------- Écran 3 : départ éloigné de Genève, prix sur mesure (WhatsApp) ---------- */
.e3--sur-mesure :is(.e3-label, .prix, .e3-detail, .e3-conditions, .e3-note), .e3--sur-mesure .e3-feuille .btn-noir { display: none; }
.e3-mesure { position: absolute; left: 22px; right: 22px; top: 150px; }
.e3-mesure[hidden] { display: none; }
.e3-mesure__titre { margin: 0; font-size: 26px; line-height: 30px; letter-spacing: -.03em; white-space: normal; }
.e3-mesure__texte { margin: 6px 0 0; font-size: 14px; line-height: 19px; color: var(--gris); white-space: normal; }
.e3-mesure .e3-mesure__wa { margin: 20px -8px 0; }

/* ---------- Téléphone : pays (drapeau + indicatif) et liste de tous les pays ---------- */
.parcours .indicatif { background: #fff; text-align: left; }
.indicatif img { top: 17px; border-radius: 2px; box-shadow: 0 0 0 .5px rgb(11 12 14 / .2); }
.indicatif .disp { left: 41px; }
.pays { position: absolute; inset: 0; z-index: 30; display: flex; flex-direction: column; background: #fff; }
.pays[hidden] { display: none; }
.pays__haut { position: relative; flex: none; height: calc(var(--haut) + 62px); }
.parcours .pays__fermer { left: 16px; top: calc(var(--haut) + 8px); width: 44px; height: 44px; background: var(--fond-doux); }
.parcours .pays__titre { position: absolute; left: 74px; top: calc(var(--haut) + 18px); margin: 0; font: 500 21px/26px var(--display); letter-spacing: -.02em; }
.pays__recherche { position: relative; display: block; flex: none; height: 62px; margin: 4px 12px 8px; border-radius: 22px; background: var(--fond-doux); }
.pays__recherche span { position: absolute; left: 18px; top: 10px; font-size: 11.5px; color: var(--gris); }
.parcours .pays__recherche input { position: absolute; left: 18px; right: 18px; top: 28px; width: calc(100% - 36px); height: 22px; font-size: 16.5px; }
.pays__recherche input::-webkit-search-cancel-button { -webkit-appearance: none; }
.pays__liste { flex: 1; overflow: hidden auto; overscroll-behavior: contain; padding: 0 8px calc(var(--bas) + 16px); }
.pays__groupe { margin: 14px 12px 6px; font-size: 12px; color: var(--gris); }
.pays__ligne { display: flex; align-items: center; gap: 12px; width: 100%; height: 52px; padding: 0 12px; border-radius: 16px; }
.pays__ligne img { flex: none; border-radius: 2px; box-shadow: 0 0 0 .5px rgb(11 12 14 / .2); }
.pays__nom { flex: 1; min-width: 0; font-size: 15.5px; color: var(--encre); }
.pays__code { flex: none; font-size: 15px; color: var(--gris); }
.parcours .pays__ligne[aria-selected="true"] { background: var(--fond-doux); }
.pays__vide { margin: 20px 12px; font-size: 14px; color: var(--gris); }
