/* EYA Mobilité — pages publiques (vitrine, connexion, mentions légales) et accueil de l'espace professionnel.
   Les couleurs, polices, rayons et ombres viennent de /charte.css, chargé avant ce fichier. Sans dépendance externe. */
:root {
  --entete: 68px;
  --marge: 20px;
  --large: 1180px;
  --pas: 72px;
  --fil-x: 9px;
  --degrade-or-texte: linear-gradient(135deg, #A9790A 0%, #94680A 50%, #7A5608 100%);
  --degrade-or-nuit: linear-gradient(135deg, #EBD89F 0%, #D4AF37 45%, #C9A961 100%);
  --quadrillage: linear-gradient(rgba(250, 247, 242, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(250, 247, 242, .035) 1px, transparent 1px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--entete) + 16px); }
body {
  margin: 0; color: var(--texte); background-color: var(--fond);
  background-image: radial-gradient(ellipse 800px 500px at 10% 0%, rgba(212, 175, 55, .08), transparent), radial-gradient(ellipse 800px 500px at 90% 100%, rgba(26, 41, 82, .04), transparent);
  font: 400 1rem/1.6 var(--police-texte); overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
[hidden] { display: none !important; }
::selection { background: var(--or-400); color: var(--marine-900); }
a { color: var(--marine-700); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--police-titre); font-weight: 700; color: var(--marine-700); line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; margin: 0; }
p { margin: 0 0 .8rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { flex: 0 0 auto; }
:focus-visible { outline: var(--focus-clair); outline-offset: 3px; border-radius: 6px; }
.nuit :focus-visible, .accroche :focus-visible, .pied :focus-visible, .bandeau :focus-visible,
.page-nuit > .entete :focus-visible, .page-nuit .retour:focus-visible,
.js .accueil .entete:not(.defile) :focus-visible { outline: var(--focus-nuit); }
.evitement { position: absolute; left: 8px; top: -90px; z-index: 60; background: var(--blanc); color: var(--marine-700); padding: 12px 18px; border-radius: var(--rayon-pilule); font-weight: 600; box-shadow: var(--ombre-haute); }
.evitement:focus { top: 8px; }
.contenu { width: 100%; max-width: var(--large); margin: 0 auto; padding: 0 var(--marge); }

/* ---------- En-tête ---------- */
.entete {
  --e-texte: var(--marine-700); --e-accent: var(--or-800); --e-fond: rgba(254, 252, 248, .92); --e-panneau: var(--creme-50); --e-trait: rgba(201, 169, 97, .32); --e-survol: rgba(26, 41, 82, .06);
  position: relative; z-index: 40; background: var(--e-fond); color: var(--e-texte); border-bottom: 1px solid var(--e-trait);
  transition: background-color .3s, box-shadow .3s, border-color .3s;
}
.entete .contenu { display: flex; align-items: center; gap: 8px; min-height: var(--entete); }
/* Accueil : en-tête posé sur la nuit de l'accroche, puis crème au défilement (classe posée par site.js). */
.accueil .entete { position: absolute; top: 0; left: 0; right: 0; }
.js .accueil .entete { position: fixed; }
.accueil .entete:not(.defile), .page-nuit > .entete {
  --e-texte: var(--creme-50); --e-accent: var(--or-400); --e-fond: transparent; --e-panneau: var(--marine-900); --e-trait: transparent; --e-survol: rgba(250, 247, 242, .1);
}
.entete.defile { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 4px 6px -1px rgba(26, 41, 82, .06), 0 2px 4px -2px rgba(26, 41, 82, .05); }

/* Logo : composant .logo-eya de charte.css. Ici, sa place et sa taille ; dans l'en-tête, ses couleurs suivent le fond (nuit, puis clair au défilement). */
.entete .logo-eya { --logo: 36px; margin-right: auto; }
.entete.defile .logo-eya.nuit { color: var(--marine-700); }
.entete.defile .logo-eya.nuit .logo-eya-nom > span { background-image: linear-gradient(120deg, #C7962A 0%, #9A6F10 35%, #7A5608 60%, #B8860B 82%, #6E4D08 100%); }
.entete.defile .logo-eya.nuit .logo-eya-devise { color: var(--or-800); }
.pied .logo-eya { --logo: 44px; margin: 0 0 14px; }

.nav { display: none; }
.nav a { position: relative; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; color: inherit; text-decoration: none; font-size: 1rem; font-weight: 500; border-radius: 10px; }
.nav a:hover { background: var(--e-survol); }
.nav .lien-pro svg { width: 18px; height: 18px; fill: none; stroke: var(--e-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bascule { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: inherit; cursor: pointer; align-items: center; justify-content: center; }
.bascule:hover { background: var(--e-survol); }
.bascule svg { width: 24px; height: 24px; }
.lien-retour { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; color: inherit; font-weight: 500; font-size: .95rem; }

/* Sélecteur de langue « FR | EN » : en-tête et pied de page. */
.langues { display: inline-flex; align-items: center; flex: 0 0 auto; }
.langues a { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 44px; padding: 0 9px; color: inherit; text-decoration: none; font-size: .84rem; font-weight: 600; letter-spacing: .1em; border-radius: 10px; }
.langues a + a::before { content: ""; position: absolute; left: 0; top: 15px; bottom: 15px; width: 1px; background: currentColor; opacity: .4; }
.langues a:hover { background: var(--e-survol, rgba(250, 247, 242, .1)); }
.langues a[aria-current] { color: var(--e-accent, var(--or-400)); }
.langues a[aria-current]::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 9px; height: 2px; border-radius: 2px; background: currentColor; }
.pied .langues { margin: 10px 0 0 -9px; }
.pied .langues a { letter-spacing: .02em; font-size: .92rem; }
.pied .langues a[aria-current] { color: var(--or-400); }
@media (max-width: 479px) {
  .entete .langues a[aria-current] { display: none; }
  .entete .langues a + a::before { display: none; }
  .entete .btn.compact { padding-inline: 16px; }
}
@media (max-width: 419px) {
  .entete .contenu { gap: 4px; }
  .entete .langues a { min-width: 36px; padding: 0 6px; }
  .entete .btn.compact { padding-inline: 13px; font-size: .9rem; }
}
@media (min-width: 900px) and (max-width: 1099px) { .nav .lien-pro { display: none; } }

@media (max-width: 899px) {
  .js .bascule { display: inline-flex; }
  .js .nav.ouvert { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; padding: 6px var(--marge) 14px; background: var(--e-panneau); border-bottom: 1px solid rgba(201, 169, 97, .4); box-shadow: 0 18px 30px -12px rgba(10, 17, 36, .35); }
  .nav a + a { border-top: 1px solid var(--e-survol); border-radius: 0; }
  .entete:has(.nav.ouvert) { background: var(--e-panneau); }
}
@media (max-width: 389px) { .entete .logo-eya-devise { display: none; } }
@media (max-width: 359px) { .entete .btn.compact { display: none; } }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 26px;
  border: 2px solid transparent; border-radius: var(--rayon-pilule); background: var(--marine-700); color: var(--creme-50);
  font: 600 1rem/1.2 var(--police-texte); text-decoration: none; text-align: center; cursor: pointer;
  transition: transform .3s, box-shadow .3s, background-color .3s, color .3s, border-color .3s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
.btn:hover svg { transform: translateX(3px); }
.btn.or { background: var(--degrade-or); color: var(--marine-900); border: 0; box-shadow: var(--ombre-or); }
.btn.or:hover { box-shadow: var(--ombre-or-haute); transform: translateY(-2px); }
.btn.or:active { transform: none; }
.btn.clair { background: transparent; color: var(--creme-50); border-color: rgba(250, 247, 242, .6); }
.btn.clair:hover { background: var(--creme-50); color: var(--marine-700); border-color: var(--creme-50); }
.btn.contour { background: transparent; color: var(--marine-700); border-color: var(--marine-700); }
.btn.contour:hover { background: var(--marine-700); color: var(--creme-50); }
.btn.compact { min-height: 44px; padding: 8px 20px; font-size: .95rem; }
.btn.large { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Accroche : la nuit, la ligne de trajet ---------- */
/* « clip » et non « hidden » : la barre d'action du module reste collante (sticky) par rapport à la fenêtre. */
.accroche {
  position: relative; isolation: isolate; overflow: hidden; overflow: clip; color: var(--nuit-texte);
  background: radial-gradient(ellipse 70% 52% at 72% 86%, rgba(212, 175, 55, .24), transparent 70%), linear-gradient(180deg, #0A1124 0%, #121C39 44%, #22346A 100%);
  min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-start;
  padding: calc(var(--entete) + 14px) 0 236px;
}
.accroche > .contenu { min-width: 0; }
.scene { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.paysage { position: absolute; bottom: 0; right: min(0px, calc((100% - 900px) * .06)); width: max(100%, 900px); height: max(350px, min(38.9vw, 640px)); display: block; }
.accroche-texte { max-width: 46rem; }
.surtitre { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 12px; color: var(--or-400); font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.surtitre span { display: inline-flex; align-items: center; gap: 12px; }
.surtitre span::before { content: ""; width: 28px; height: 1px; background: var(--or-500); }
.accroche h1 { color: var(--creme-50); font-size: clamp(2.1rem, 8.2vw, 3.7rem); line-height: 1.05; letter-spacing: -.015em; margin-bottom: 0; text-wrap: wrap; }
.accroche h1 em, .nuit h2 em { font-style: normal; background: var(--degrade-or-nuit); -webkit-background-clip: text; background-clip: text; color: transparent; }
.soude { white-space: nowrap; }
.accroche h1 em { display: block; }
.chapo { font-size: .98rem; line-height: 1.5; color: var(--nuit-texte-doux); max-width: 44rem; margin: 12px 0 0; }
.chapo-suite { display: none; }
.reperes { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 14px 0 0; padding: 0; list-style: none; color: var(--creme-200); font-size: .84rem; }
.reperes li { display: flex; align-items: center; gap: 8px; }
.reperes svg, .points svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.reperes svg { border: 1px solid rgba(212, 175, 55, .6); stroke: var(--or-400); }

/* ---------- Itinéraire : le fil qui relie les sections ---------- */
.itineraire { position: relative; }
.fil {
  position: absolute; z-index: 1; top: 0; bottom: 0; width: 2px; pointer-events: none;
  left: calc(max(0px, (100% - var(--large)) / 2) + var(--fil-x));
  background: repeating-linear-gradient(180deg, rgba(201, 169, 97, .6) 0 6px, transparent 6px 14px);
}
.fil::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--or-400), var(--or-600)); transform-origin: top; }
.anime .fil::after { transform: scaleY(var(--avance, 0)); }
.fil::before { content: ""; position: absolute; z-index: 1; top: -8px; left: -7px; width: 16px; height: 16px; border-radius: 50%; background: var(--marine-900); border: 3px solid var(--or-400); }

.section { position: relative; padding: var(--pas) 0; --fond-jalon: var(--creme-100); }
.section > .contenu { position: relative; z-index: 2; }
.tete { position: relative; max-width: 46rem; margin-bottom: 36px; }
.tete::before {
  content: ""; position: absolute; top: 3px; left: calc(var(--fil-x) - var(--marge) - 6px); width: 14px; height: 14px; border-radius: 50%;
  background: var(--fond-jalon); border: 3px solid var(--or-500); box-shadow: 0 0 0 4px var(--fond-jalon);
}
.etape { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: var(--accent-texte); font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.etape::after { content: ""; width: 40px; height: 1px; background: var(--or-500); }
.etape .num { font: 700 1rem/1 var(--police-titre); letter-spacing: .04em; color: var(--marine-700); display: inline-grid; place-items: center; }
.etape .num svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tete h2 { font-size: clamp(1.9rem, 6vw, 3rem); }
.tete h2 em { font-style: normal; background: var(--degrade-or-texte); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro { color: var(--texte-doux); font-size: 1.08rem; margin: 16px 0 0; max-width: 40rem; }

/* La différence : chaque ligne met en regard une pratique courante (cadre en pointillé, estompé) et ce que fait EYA Mobilité (cadre plein, net). */
.differences { display: grid; gap: 16px; }
.differences > li { position: relative; display: grid; gap: 16px; padding: 22px 18px 18px; background: var(--fond-carte); border: 1px solid var(--creme-200); border-radius: var(--rayon-carte); box-shadow: var(--ombre-carte); }
.differences h3 { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; font-size: 1.32rem; }
.rang { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--or-500); background: var(--or-50); color: var(--marine-700); font: 700 1.15rem/1 var(--police-titre); font-variant-numeric: lining-nums; }
.regard { position: relative; margin: 0; display: grid; gap: 22px; }
.regard > div { position: relative; min-width: 0; padding: 13px 16px 14px; border-radius: 16px; }
.regard dt { margin: 0 0 4px; font-size: .66rem; line-height: 1.4; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.regard dd { margin: 0; font-size: .97rem; line-height: 1.5; }
.ailleurs { border: 1.5px dashed #A9A38E; background: var(--creme-50); color: var(--texte-doux); }
.ailleurs dt { color: var(--texte-doux); }
.ici {
  color: var(--creme-50); border: 1px solid rgba(212, 175, 55, .7); box-shadow: 0 14px 24px -14px rgba(10, 17, 36, .55);
  background: radial-gradient(ellipse 80% 120% at 100% 0%, rgba(212, 175, 55, .24), transparent 62%), linear-gradient(160deg, #0A1124, #1A2952);
}
.ici dt { color: var(--or-400); }
.ici dd { font-weight: 500; }
/* Le passage de l'un à l'autre : une pastille dorée à cheval sur les deux cadres. */
.ici::before {
  content: ""; position: absolute; z-index: 1; left: 50%; top: -11px; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  background: var(--degrade-or) ; box-shadow: 0 0 0 4px var(--fond-carte), var(--ombre-or);
}
.ici::after {
  content: ""; position: absolute; z-index: 2; left: 50%; top: -11px; width: 9px; height: 9px; margin: -7px 0 0 -4.5px;
  border-right: 2.4px solid var(--marine-900); border-bottom: 2.4px solid var(--marine-900); border-radius: 1px; transform: rotate(45deg);
}
.bilingue { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; margin: 26px 0 0; color: var(--texte-doux); font-size: .97rem; }
.bilingue svg { width: 22px; height: 22px; margin-top: 2px; fill: none; stroke: var(--or-700); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bilingue a { font-weight: 600; white-space: nowrap; text-decoration-color: var(--or-500); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (min-width: 720px) {
  .differences > li { padding: 24px 24px 22px; }
  .regard { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 26px; align-items: stretch; }
  .regard > div { display: grid; align-content: center; padding: 15px 20px 16px; }
  .ici { padding-left: 26px !important; }
  .ici::before { left: -13px; top: 50%; }
  .ici::after { left: -13px; top: 50%; margin: -5.5px 0 0 -7px; transform: rotate(-45deg); }
}
@media (min-width: 1000px) {
  .differences > li { grid-template-columns: minmax(0, 15.5rem) minmax(0, 1fr); align-items: center; gap: 28px; padding: 20px 22px 20px 26px; }
  .differences h3 { grid-template-columns: 1fr; gap: 12px; font-size: 1.36rem; }
}

/* Bandeau discret proposé aux navigateurs anglophones sur les pages françaises (jamais de redirection). */
.suggestion-langue {
  position: fixed; z-index: 55; left: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: min(292px, calc(100vw - 100px));
  display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; padding: 8px 4px 4px 16px; border-radius: 18px;
  background: var(--marine-900); color: var(--creme-50); border: 1px solid rgba(212, 175, 55, .55); box-shadow: 0 18px 30px -12px rgba(10, 17, 36, .6); font-size: .88rem; line-height: 1.35;
}
.suggestion-langue p { margin: 0; }
.suggestion-langue a { grid-column: 1; display: inline-flex; align-items: center; min-height: 40px; width: fit-content; color: var(--or-300); font-weight: 600; text-underline-offset: 4px; }
.suggestion-langue button { grid-column: 2; grid-row: 1 / span 2; align-self: start; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--creme-50); font: 400 1.4rem/1 var(--police-texte); cursor: pointer; }
.suggestion-langue button:hover { background: rgba(250, 247, 242, .12); }
.suggestion-langue :focus-visible { outline: var(--focus-nuit); }
body:has(.trajet:not([data-etape="0"])) .suggestion-langue { display: none; }
@media print { .suggestion-langue { display: none; } }

/* Services */
.cartes { display: grid; gap: 18px; grid-template-columns: 1fr; }
.carte {
  position: relative; overflow: hidden; background: var(--fond-carte); border: 1px solid var(--creme-200); border-radius: var(--rayon-carte);
  padding: 26px; box-shadow: var(--ombre-carte);
}
.carte::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--degrade-or); transform: scaleX(0); transform-origin: left; transition: transform .5s; }
.carte::after { content: ""; position: absolute; top: -30px; right: -30px; width: 100px; height: 100px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 175, 55, .3), transparent 70%); transition: transform .7s; }
.carte:hover { transform: translateY(-4px); box-shadow: var(--ombre-haute); }
.carte:hover::before { transform: scaleX(1); }
.carte:hover::after { transform: scale(1.7); }
.carte h3 { font-size: 1.28rem; margin: 20px 0 8px; }
.carte p { color: var(--texte-doux); font-size: .97rem; margin: 0; }
.icone { width: 52px; height: 52px; border-radius: 14px; background: var(--degrade-marine); box-shadow: 0 10px 15px -3px rgba(26, 41, 82, .25); display: flex; align-items: center; justify-content: center; }
.icone svg { width: 26px; height: 26px; stroke: var(--or-400); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Engagements : section de nuit */
.section.nuit {
  --fond-jalon: #0B1227; color: var(--nuit-texte);
  background: var(--quadrillage), radial-gradient(ellipse 60% 70% at 100% 0%, rgba(212, 175, 55, .13), transparent 65%), linear-gradient(165deg, #0A1124 0%, #16224A 60%, #1F2D5C 100%);
  background-size: 40px 40px, 40px 40px, auto, auto;
}
.nuit h2, .nuit h3 { color: var(--creme-50); }
.nuit .intro { color: var(--nuit-texte-doux); }
.nuit .etape { color: var(--or-400); }
.nuit .etape .num { color: var(--or-300); }
.engagements { display: grid; gap: 14px; grid-template-columns: 1fr; }
.engagements li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; padding: 22px 20px; border-radius: var(--rayon-carte); background: rgba(250, 247, 242, .05); border: 1px solid var(--nuit-trait); }
.engagements li:hover { background: rgba(250, 247, 242, .08); border-color: rgba(212, 175, 55, .55); }
.engagements .icone { background: rgba(212, 175, 55, .08); border: 1.5px solid rgba(212, 175, 55, .7); border-radius: 50%; box-shadow: none; }
.engagements h3 { font-size: 1.2rem; margin: 2px 0 6px; }
.engagements p { color: var(--nuit-texte-doux); margin: 0; font-size: .97rem; }

/* Tarifs : le compteur */
.tarif { display: grid; border-radius: 28px; overflow: hidden; background: var(--fond-carte); border: 1px solid var(--creme-200); box-shadow: var(--ombre-haute); }
.prix {
  position: relative; padding: 34px 26px 28px; color: var(--nuit-texte);
  background: var(--quadrillage), radial-gradient(ellipse 80% 70% at 100% 0%, rgba(212, 175, 55, .22), transparent 62%), linear-gradient(160deg, #0A1124, #1A2952);
  background-size: 40px 40px, 40px 40px, auto, auto;
}
.prix .libelle { color: var(--or-400); font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 14px; }
.prix .montant { font: 700 clamp(3.2rem, 15vw, 5rem)/1 var(--police-titre); letter-spacing: -.02em; font-variant-numeric: lining-nums; margin: 0; color: var(--creme-50); }
.prix .chiffre { white-space: nowrap; background: var(--degrade-or-nuit); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prix .montant small { display: block; font: 500 1rem/1.4 var(--police-texte); letter-spacing: 0; color: var(--nuit-texte-doux); margin-top: 12px; }
.prix .montant[data-sans] small { font: 700 1.7rem/1.25 var(--police-titre); color: var(--creme-50); margin-top: 0; }
.prix .tva { color: var(--nuit-texte-doux); font-size: .95rem; margin: 14px 0 0; }
.graduation { display: block; width: 100%; max-width: 320px; height: 24px; margin-top: 26px; fill: none; stroke: rgba(212, 175, 55, .6); stroke-width: 1.5; stroke-linecap: round; }
.tarif-points { padding: 30px 26px; display: grid; gap: 26px; align-content: center; justify-items: start; }
.points { display: grid; gap: 14px; }
.points li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.points svg { margin-top: 2px; background: var(--or-100); stroke: var(--or-800); }

/* ---------- Dernière section : le déroulé d'une réservation ---------- */
.section.arrivee { background: var(--creme-200); --fond-jalon: var(--creme-200); border-top: 1px solid var(--creme-300); }
.arrivee::before {
  content: ""; position: absolute; z-index: 1; top: 0; height: calc(var(--pas) + 6px); width: 2px;
  left: calc(max(0px, (100% - var(--large)) / 2) + var(--fil-x));
  background: linear-gradient(180deg, var(--or-600), var(--or-500));
}
.arrivee .tete::before { background: var(--or-500); border-color: var(--or-600); }
.temps { counter-reset: temps; display: grid; }
.temps li { counter-increment: temps; position: relative; padding: 0 0 20px 54px; min-height: 40px; }
.temps li:last-child { padding-bottom: 0; }
.temps li::before { content: counter(temps); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--blanc); border: 1.5px solid var(--or-500); color: var(--marine-700); font: 700 1rem/1 var(--police-titre); display: grid; place-items: center; box-shadow: var(--ombre-carte); }
.temps li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 42px; bottom: 4px; width: 2px; background: repeating-linear-gradient(180deg, var(--or-500) 0 4px, transparent 4px 9px); }
.temps b { display: block; font-weight: 600; color: var(--marine-700); }
.temps span { display: block; color: var(--texte-doux); font-size: .95rem; }
.appel { margin: 30px 0 0; }


/* Champs */
.formulaire { max-width: 100%; }
label, legend { display: block; font-size: .9rem; font-weight: 600; color: var(--marine-700); margin: 0 0 6px; padding: 0; }
label .facultatif { font-weight: 400; color: var(--texte-doux); }
input[type=text], input[type=tel], input[type=email], input[type=password], input[type=datetime-local], select, textarea {
  width: 100%; min-width: 0; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--trait-champ); border-radius: var(--rayon-champ);
  background-color: var(--blanc); color: var(--texte); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
input:hover, select:hover, textarea:hover { border-color: var(--marine-400); }
input[type=text]:focus, input[type=tel]:focus, input[type=email]:focus, input[type=password]:focus, input[type=datetime-local]:focus, select:focus, textarea:focus {
  outline: var(--focus-clair); outline-offset: 2px; border-color: var(--marine-700); box-shadow: 0 0 0 6px rgba(212, 175, 55, .35);
}
select { -webkit-appearance: none; appearance: none; padding-right: 42px; background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A2952' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
textarea { min-height: 104px; resize: vertical; }
fieldset { border: 0; margin: 0 0 16px; padding: 0; min-width: 0; }
.champ { margin-bottom: 16px; position: relative; min-width: 0; }
.deux { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
.deux.serre { grid-template-columns: 1fr 1fr; }
.aide { font-size: .85rem; color: var(--texte-doux); margin: 6px 0 0; }
.accord { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; margin: 0 0 18px; min-height: 44px; }
.accord input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--marine-700); }
.accord label { font-size: .95rem; font-weight: 400; color: var(--texte); margin: 0; padding: 2px 0; cursor: pointer; }
.accord a { font-weight: 600; }
.piege { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Réservation : le module de trajet, la carte, le prix, les coordonnées ---------- */
.discret { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.guichet {
  position: relative; z-index: 2; margin: 20px -12px 0; background: var(--creme-50); color: var(--texte);
  border: 1px solid rgba(201, 169, 97, .55); border-radius: 26px; box-shadow: 0 30px 60px -20px rgba(4, 8, 18, .75);
  scroll-margin-top: calc(var(--entete) + 12px);
}
.accroche .guichet :focus-visible { outline: var(--focus-clair); }
.trajet { padding: 12px; }
.recherche { position: relative; z-index: 10; display: grid; gap: 10px; }

/* Départ et arrivée : deux lignes reliées par un trait */
.trajet-champs { position: relative; background: var(--blanc); border: 1.5px solid var(--trait-champ); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.trajet-champs:hover { border-color: var(--marine-400); }
.trajet-champs:focus-within { border-color: var(--marine-700); box-shadow: 0 0 0 5px rgba(212, 175, 55, .32); }
.trajet-champs::before { content: ""; position: absolute; z-index: 1; left: 20px; top: 42px; bottom: 44px; width: 2px; background: repeating-linear-gradient(180deg, var(--or-500) 0 4px, transparent 4px 8px); pointer-events: none; }
.trajet-champs .champ { margin: 0; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; min-height: 60px; padding-right: 50px; border-radius: 14px 14px 0 0; }
.trajet-champs .champ + .champ { border-radius: 0 0 14px 14px; background: linear-gradient(var(--creme-300), var(--creme-300)) 42px 0 / calc(100% - 42px) 1px no-repeat; }
.trajet-champs .champ:focus-within { background-color: var(--or-50); }
.repere { justify-self: center; display: grid; place-items: center; width: 22px; height: 22px; }
.depart .repere::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 3.5px solid var(--marine-700); background: var(--or-400); box-sizing: border-box; }
.repere svg { width: 22px; height: 22px; }
.repere path { fill: var(--or-600); }
.repere circle { fill: var(--blanc); }
.saisie { min-width: 0; display: grid; padding: 8px 0 7px; cursor: text; }
.saisie label { margin: 0; font-size: .66rem; line-height: 1.3; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-texte); cursor: text; }
.trajet-champs .saisie input { min-height: 30px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; outline: 0; font-weight: 500; text-overflow: ellipsis; }
.accroche .trajet-champs .saisie input:focus-visible { outline: 0; }
.trajet-champs .saisie input::placeholder { color: #6A7393; font-weight: 400; opacity: 1; }
.trajet-champs .champ:has(input[aria-invalid="true"]) label { color: var(--rouge); }
.outil { position: relative; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--marine-700); cursor: pointer; display: grid; place-items: center; transition: background-color .2s, color .2s, transform .3s; }
.outil:hover { background: var(--marine-50); }
.outil svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.outil .plein { fill: currentColor; stroke: none; }
.outil[disabled] { cursor: progress; color: var(--or-700); }
.inverser { position: absolute; z-index: 2; right: 4px; top: 50%; margin-top: -22px; }
.inverser::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--blanc); border: 1.5px solid var(--creme-300); box-shadow: 0 2px 6px rgba(26, 41, 82, .12); transition: border-color .2s; }
.inverser:hover { background: transparent; }
.inverser:hover::before { border-color: var(--marine-400); }
.inverser svg { position: relative; width: 18px; height: 18px; stroke-width: 2; }
.inverser:active svg { transform: rotate(180deg); }

/* Suggestions d'adresse */
.suggestions { position: absolute; z-index: 30; left: -1.5px; right: -1.5px; top: 100%; margin-top: 6px; max-height: min(332px, 46vh); overflow-y: auto; overscroll-behavior: contain; background: var(--blanc); border: 1.5px solid var(--marine-700); border-radius: 14px; box-shadow: var(--ombre-haute); }
.suggestions button { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: center; width: 100%; min-height: 56px; text-align: left; padding: 8px 14px 8px 10px; border: 0; border-bottom: 1px solid var(--creme-200); background: var(--blanc); color: var(--texte); font: inherit; font-size: .95rem; font-weight: 500; line-height: 1.35; cursor: pointer; }
.suggestions button:last-child { border-bottom: 0; }
.suggestions button:hover, .suggestions button:focus { background: var(--or-50); outline: none; box-shadow: inset 4px 0 0 var(--or-600); }
.suggestions svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--creme-200); fill: none; stroke: var(--marine-700); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.suggestions [data-source=aeroport] svg, .suggestions [data-source=catalogue] svg { background: var(--marine-700); stroke: var(--or-300); }
.suggestions .intitule { min-width: 0; }
.suggestions small { display: block; color: var(--texte-doux); font-weight: 400; font-size: .84rem; }

/* Maintenant / Plus tard */
.quand { margin: 0; display: grid; gap: 8px; align-content: start; }
.bascule-quand { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 3px; min-height: 52px; background: var(--creme-200); border: 1px solid var(--creme-300); border-radius: var(--rayon-pilule); }
.bascule-quand label { position: relative; margin: 0; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: var(--rayon-pilule); font-size: .95rem; font-weight: 600; color: var(--texte-doux); cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s; }
.bascule-quand input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.bascule-quand svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bascule-quand label:has(input:checked) { background: var(--marine-700); color: var(--creme-50); box-shadow: 0 4px 10px -4px rgba(10, 17, 36, .5); }
.bascule-quand label:has(input:checked) svg { stroke: var(--or-300); }
.bascule-quand label:has(input:focus-visible) { outline: var(--focus-clair); outline-offset: 2px; }
.quand-note { margin: 0; padding: 0 8px; font-size: .86rem; line-height: 20px; color: var(--texte-doux); }
.quand-date input { font-weight: 500; }
input[aria-invalid="true"] { border-color: var(--rouge); }
.recherche > .btn { width: 100%; min-height: 54px; }
.etat-position { margin: 10px 4px 0; font-size: .9rem; color: var(--texte-doux); }
.etat-position.souci { color: var(--rouge); font-weight: 500; }
.trajet > .alerte { margin: 10px 0 0; }

/* Carte et volet */
.voyage { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 12px; }
.plan-zone { position: relative; z-index: 0; isolation: isolate; overflow: hidden; margin: 0 -12px; height: clamp(230px, var(--h-plan, 40vh), 380px); background: var(--creme-200); border-block: 1px solid var(--creme-300); }
.voyage.seule .plan-zone { margin-bottom: -12px; border-bottom: 0; border-radius: 0 0 25px 25px; }
.plan { position: absolute; inset: 0; background: var(--creme-200); font: inherit; }
.plan .leaflet-tile-pane { filter: saturate(.72) contrast(1.02); }
.plan .leaflet-control-attribution { font: 500 .68rem/1.5 var(--police-texte); color: var(--marine-700); background: rgba(254, 252, 248, .86); padding: 1px 8px; border-radius: 8px 0 0 0; }
.plan .leaflet-bar { border: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 16px -6px rgba(10, 17, 36, .45); }
.plan .leaflet-bar a { width: 40px; height: 40px; line-height: 40px; color: var(--marine-700); background: var(--creme-50); border-bottom-color: var(--creme-300); font: 500 1.25rem/40px var(--police-texte); }
.plan .leaflet-bar a:hover { background: var(--or-50); }
.repere-carte { background: none; border: 0; }
.repere-carte svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 3px 4px rgba(10, 17, 36, .35)); }
.plan-indice { position: absolute; z-index: 2; left: 50%; bottom: 12px; transform: translateX(-50%); margin: 0; padding: 6px 14px; border-radius: var(--rayon-pilule); background: rgba(10, 17, 36, .82); color: var(--creme-50); font-size: .8rem; font-weight: 500; white-space: nowrap; pointer-events: none; }

.volet { min-width: 0; padding: 20px 4px 6px; }
.pas { margin: 0 0 6px; color: var(--accent-texte); font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.volet h2 { font-size: 1.6rem; margin-bottom: 16px; outline: 0; }
.estimation {
  border-radius: 20px; padding: 18px 18px 16px; margin: 0 0 18px; color: var(--nuit-texte);
  background: var(--quadrillage), radial-gradient(ellipse 80% 120% at 100% 0%, rgba(212, 175, 55, .26), transparent 62%), linear-gradient(160deg, #0A1124, #1A2952);
  background-size: 40px 40px, 40px 40px, auto, auto;
}
.estimation .titre { font-size: .82rem; line-height: 1.4; color: var(--or-300); font-weight: 500; margin: 0 0 8px; }
.estimation .valeur { width: fit-content; font: 700 clamp(2.3rem, 10.5vw, 2.9rem)/1.1 var(--police-titre); font-variant-numeric: lining-nums; letter-spacing: -.01em; margin: 0; background: var(--degrade-or-nuit); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* En anglais, « €40.48 incl. VAT » est plus long que « 40,48 € TTC » : il tient sur une ligne. */
:lang(en) .estimation .valeur { font-size: clamp(1.7rem, 7.4vw, 2.7rem); }
.estimation.attente .valeur { font-size: 1.5rem; line-height: 1.6; background: none; color: var(--nuit-texte-doux); }
.estimation .detail { color: var(--nuit-texte-doux); margin: 6px 0 0; font-size: .92rem; }
.mentions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.mentions li { padding: 3px 11px; border: 1px solid rgba(212, 175, 55, .55); border-radius: var(--rayon-pilule); background: rgba(212, 175, 55, .1); color: var(--or-200); font-size: .8rem; font-weight: 500; }
.mesures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--nuit-trait); }
.mesures dt { font-size: .64rem; line-height: 1.3; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--nuit-texte-doux); }
.mesures dd { margin: 3px 0 0; font: 700 1.12rem/1.2 var(--police-titre); font-variant-numeric: lining-nums; color: var(--creme-50); white-space: nowrap; }

.types { margin-bottom: 18px; }
.types legend { margin-bottom: 8px; }
.choix-cartes { display: grid; gap: 8px; }
.choix-carte { position: relative; margin: 0; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; column-gap: 12px; align-items: center; min-height: 64px; padding: 10px 14px; border: 1.5px solid var(--trait-champ); border-radius: 16px; background: var(--blanc); font-weight: 400; cursor: pointer; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.choix-carte:hover { border-color: var(--marine-400); }
.choix-carte input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choix-carte .puce { grid-row: 1 / span 2; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--trait-champ); background: var(--blanc); display: grid; place-items: center; }
.choix-carte .puce::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--or-400); transform: scale(0); transition: transform .2s; }
.choix-carte .nom { grid-column: 2; font-size: 1rem; font-weight: 600; color: var(--marine-700); }
.choix-carte .desc { grid-column: 2; font-size: .84rem; line-height: 1.35; color: var(--texte-doux); }
.choix-carte .tarif-type { grid-column: 3; grid-row: 1 / span 2; font: 700 1.08rem/1.2 var(--police-titre); font-variant-numeric: lining-nums; color: var(--marine-700); white-space: nowrap; }
.choix-carte .tarif-type:empty { display: none; }
.choix-carte:has(input:checked) { border-color: var(--marine-700); background: var(--or-50); box-shadow: 0 0 0 1.5px var(--marine-700), var(--ombre-carte); }
.choix-carte:has(input:checked) .puce { border-color: var(--marine-700); background: var(--marine-700); }
.choix-carte:has(input:checked) .puce::after { transform: scale(1); }
.choix-carte:has(input:focus-visible) { outline: var(--focus-clair); outline-offset: 3px; }

.compteurs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.compteur { min-width: 0; padding: 10px 8px 8px; border: 1.5px solid var(--creme-300); border-radius: 16px; background: var(--blanc); text-align: center; }
.compteur label { margin: 0 0 4px; }
.pas-a-pas { display: flex; align-items: center; justify-content: center; gap: 2px; }
.pas-a-pas button { width: 44px; height: 44px; padding: 0; flex: 0 0 auto; border: 1.5px solid var(--marine-700); border-radius: 50%; background: var(--blanc); color: var(--marine-700); font: 500 1.4rem/1 var(--police-texte); cursor: pointer; transition: background-color .2s, color .2s; }
.pas-a-pas button:hover:not([disabled]) { background: var(--marine-700); color: var(--creme-50); }
.pas-a-pas button[disabled] { border-color: var(--creme-300); color: #A9AEC2; cursor: not-allowed; }
.pas-a-pas input { width: 3rem; min-width: 0; min-height: 44px; padding: 0; border: 0; border-radius: 10px; background: transparent; text-align: center; font: 700 1.5rem/1 var(--police-titre); font-variant-numeric: lining-nums; color: var(--marine-700); -moz-appearance: textfield; appearance: textfield; }
.pas-a-pas input::-webkit-outer-spin-button, .pas-a-pas input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pas-a-pas input:focus { outline: var(--focus-clair); outline-offset: 0; }

/* Étape coordonnées : récapitulatif du trajet */
.recap { position: relative; margin: 0 0 20px; padding: 14px 16px; border: 1px solid var(--creme-300); border-radius: 18px; background: var(--blanc); box-shadow: var(--ombre-carte); }
.recap-trajet { position: relative; display: grid; gap: 8px; padding-right: 84px; }
.recap-trajet::before { content: ""; position: absolute; left: 6px; top: 18px; bottom: 20px; width: 2px; background: repeating-linear-gradient(180deg, var(--or-500) 0 4px, transparent 4px 8px); }
.recap-trajet li { position: relative; padding-left: 26px; font-weight: 600; line-height: 1.4; }
.recap-trajet li::before { content: ""; position: absolute; left: 0; top: .28em; width: 14px; height: 14px; box-sizing: border-box; border-radius: 50%; border: 3.5px solid var(--marine-700); background: var(--or-400); }
.recap-trajet li.vers::before { border: 0; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--or-600); box-shadow: inset 0 0 0 4px var(--or-600), inset 0 0 0 7px var(--blanc); }
.recap-details { margin: 12px 0 0; padding-top: 10px; border-top: 1px dashed var(--creme-300); font-size: .92rem; color: var(--texte-doux); }
.recap-prix { margin: 4px 0 0; font: 700 1.2rem/1.3 var(--police-titre); font-variant-numeric: lining-nums; color: var(--marine-700); }
.lien { position: absolute; top: 4px; right: 6px; min-height: 44px; padding: 0 10px; border: 0; background: none; color: var(--marine-700); font: 600 .95rem/1 var(--police-texte); text-decoration: underline; text-decoration-color: var(--or-500); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; }
.lien:hover { color: var(--or-800); }

/* Barre d'action : collée en bas de l'écran sur téléphone, avec le prix estimé */
.barre-action {
  position: sticky; bottom: 0; z-index: 6; margin: 14px -12px -12px; padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(254, 252, 248, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--creme-300); border-radius: 0 0 25px 25px; box-shadow: 0 -12px 24px -16px rgba(10, 17, 36, .4);
}
.barre-action .alerte { margin: 0 0 10px; }
.barre-ligne { display: flex; align-items: center; gap: 14px; }
.barre-prix { margin: 0 auto 0 0; min-width: 0; display: grid; line-height: 1.2; }
.barre-prix small { font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-texte); }
.barre-prix b { font: 700 1.4rem/1.2 var(--police-titre); font-variant-numeric: lining-nums; color: var(--marine-700); white-space: nowrap; }
.barre-ligne .btn { flex: 0 1 auto; min-width: 9.5rem; padding-inline: 20px; }

.alerte { border-radius: var(--rayon-champ); padding: 12px 14px; margin: 0 0 16px; font-size: .95rem; background: var(--rouge-fond); color: var(--rouge); border: 1px solid var(--rouge-trait); }
.confirmation { background: var(--fond-carte); border: 1px solid var(--creme-300); border-radius: 28px; box-shadow: var(--ombre-haute); padding: 40px 24px; text-align: center; }
.confirmation .coche { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--degrade-or); box-shadow: var(--ombre-or); display: grid; place-items: center; }
.confirmation .coche svg { width: 32px; height: 32px; fill: none; stroke: var(--marine-900); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.confirmation h2, .confirmation h3 { font-size: 1.6rem; margin-bottom: 14px; }
.confirmation p { margin: 0 0 8px; color: var(--texte-doux); }
.confirmation .reference { display: block; width: fit-content; margin: 8px auto 12px; padding: 8px 20px; border: 2px dashed var(--or-500); border-radius: var(--rayon-champ); font: 700 1.7rem/1.2 var(--police-titre); font-variant-numeric: lining-nums; letter-spacing: .04em; color: var(--marine-700); }

/* ---------- Pied de page ---------- */
.pied { position: relative; background: var(--quadrillage), var(--marine-700); background-size: 40px 40px, 40px 40px, auto; color: var(--nuit-texte-doux); padding: 56px 0 28px; font-size: .95rem; }
.pied::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--or-500), transparent); }
.pied .contenu { display: grid; gap: 32px; }
.pied-accroche { max-width: 26rem; margin: 0; }
.pied-titre { font: 600 .76rem/1.4 var(--police-titre); letter-spacing: .2em; text-transform: uppercase; color: var(--or-400); margin: 0 0 8px; }
.pied p { margin: 0 0 4px; }
.pied a { color: var(--creme-50); text-decoration: none; }
.pied a:hover { color: var(--or-300); text-decoration: underline; }
.pied nav a, .pied .lien-ligne { display: inline-flex; align-items: center; min-height: 44px; }
.pied-coordonnees:not(:has(> p[data-si]:not([hidden]))) { display: none; }
.pied .bas { border-top: 1px solid rgba(250, 247, 242, .14); padding-top: 20px; margin: 0; font-size: .86rem; color: var(--marine-200); }

/* ---------- Pages simples : connexion, mentions légales ---------- */
.page-simple { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.page-simple main { flex: 1; }
.page-nuit { position: relative; isolation: isolate; color: var(--nuit-texte); background: radial-gradient(ellipse 80% 50% at 70% 90%, rgba(212, 175, 55, .22), transparent 70%), linear-gradient(180deg, #0A1124 0%, #121C39 44%, #22346A 100%); background-attachment: fixed; }
.page-nuit .scene { position: fixed; }
@media (max-height: 760px) { .page-nuit .scene { opacity: .55; } }
.page-nuit main { display: grid; align-items: start; }
.boite-connexion { width: 100%; max-width: 460px; margin: 0 auto; padding: 20px var(--marge) 48px; }
html:has(.page-nuit) { background: #0A1124; }
.carte-connexion { background: var(--fond-carte); color: var(--texte); border-radius: 28px; box-shadow: 0 30px 60px -20px rgba(4, 8, 18, .7); padding: 30px 22px 26px; border: 1px solid rgba(201, 169, 97, .45); }
.carte-connexion h1 { font-size: 1.9rem; margin-bottom: 8px; }
.carte-connexion > p:not(.etape) { color: var(--texte-doux); }
.carte-connexion .formulaire { margin-top: 22px; }
.carte-connexion .etape { margin-bottom: 10px; }
.carte-connexion .note-langue { margin: 0; font-size: .9rem; }
.sous-connexion { display: flex; justify-content: center; margin-top: 12px; color: var(--creme-50); }
.sous-connexion .langues { --e-accent: var(--or-400); }
.sous-connexion .langues a { letter-spacing: .02em; font-size: .92rem; }
.texte .note-traduction { margin: 14px 0 0; padding: 12px 16px; border: 1px solid var(--creme-300); border-left: 3px solid var(--or-500); border-radius: var(--rayon-champ); background: var(--creme-50); font-size: .95rem; }
.texte .note-traduction a { min-height: 0; display: inline; font-weight: 600; }
.retour { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; font-weight: 500; }
.page-nuit .retour { color: var(--creme-50); }
.texte { max-width: 820px; padding-top: 44px; padding-bottom: 64px; }
.texte h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); margin-bottom: 8px; }
.texte .trait-or { width: 96px; height: 1px; margin: 20px 0 8px; background: linear-gradient(90deg, var(--or-500), transparent); }
.texte h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.texte p { color: var(--texte-doux); }
.texte dl { margin: 0 0 .8rem; display: grid; grid-template-columns: 1fr; gap: 2px 16px; background: var(--fond-carte); border: 1px solid var(--creme-200); border-radius: var(--rayon-carte); box-shadow: var(--ombre-carte); padding: 14px 22px 20px; }
.texte dl:not(:has(> dt:not([hidden]))) { display: none; }
.texte dt { font-weight: 600; color: var(--marine-700); margin-top: 10px; font-size: .9rem; }
.texte dd { margin: 0; color: var(--texte-doux); }
.texte a { font-weight: 500; }
.texte dd a, .texte p a, .texte .retour { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Accueil de l'espace professionnel ---------- */
.bandeau { position: relative; overflow: hidden; color: var(--nuit-texte); padding: 0 0 88px;
  background: var(--quadrillage), radial-gradient(ellipse 70% 80% at 85% 0%, rgba(212, 175, 55, .2), transparent 65%), linear-gradient(165deg, #0A1124 0%, #16224A 70%, #1F2D5C 100%);
  background-size: 40px 40px, 40px 40px, auto, auto; }
.bandeau .contenu { max-width: 940px; }
.bandeau h1 { color: var(--creme-50); font-size: clamp(2rem, 6.4vw, 3rem); margin-bottom: 10px; }
.bandeau h1 em { font-style: normal; background: var(--degrade-or-nuit); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bandeau p { margin: 0; max-width: 34rem; color: var(--nuit-texte-doux); font-size: 1.05rem; }
.espaces { position: relative; width: 100%; max-width: 940px; margin: -56px auto 0; padding: 0 var(--marge) 32px; display: grid; gap: 18px; grid-template-columns: 1fr; align-content: start; }
a.espace { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; background: var(--fond-carte); border: 1px solid var(--creme-200); border-radius: var(--rayon-carte); padding: 26px 24px; text-decoration: none; color: var(--texte); box-shadow: var(--ombre-haute); transition: transform .4s, border-color .4s, box-shadow .4s; }
a.espace::after { content: ""; position: absolute; top: -30px; right: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 175, 55, .3), transparent 70%); transition: transform .7s; }
a.espace:hover, a.espace:focus-visible { transform: translateY(-4px); border-color: var(--or-500); }
a.espace:hover::after { transform: scale(1.7); }
a.espace h2 { font-size: 1.55rem; margin: 18px 0 6px; }
a.espace p { margin: 0 0 12px; color: var(--texte-doux); }
a.espace ul { margin: 0 0 22px; display: grid; gap: 6px; font-size: .97rem; }
a.espace li { position: relative; padding-left: 20px; }
a.espace li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--or-600); }
a.espace .aller { margin-top: auto; display: inline-flex; align-items: center; min-height: 48px; padding: 10px 22px; border-radius: var(--rayon-pilule); background: var(--marine-700); color: var(--creme-50); font-weight: 600; }
a.espace.gestion .aller { background: var(--degrade-or); color: var(--marine-900); box-shadow: var(--ombre-or); }
.pied-espace { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: center; align-items: center; padding: 8px var(--marge) 36px; font-size: .95rem; }
.pied-espace a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
.pied-espace .btn { min-height: 44px; padding: 8px 22px; }

/* ---------- Largeurs ---------- */
@media (min-width: 600px) {
  :root { --marge: 32px; --fil-x: 15px; }
  .deux { grid-template-columns: 1fr 1fr; }
  .cartes { grid-template-columns: 1fr 1fr; }
  .reperes { gap: 8px 22px; margin-top: 16px; font-size: .92rem; justify-content: center; }
  .texte dl { grid-template-columns: 13rem 1fr; }
  .texte dt, .texte dd { margin-top: 10px; font-size: 1rem; }
  .carte-connexion { padding: 38px 36px 32px; }
  .espaces { grid-template-columns: 1fr 1fr; }
  .chapo { font-size: 1.08rem; line-height: 1.6; margin-top: 16px; }
  .chapo-suite { display: inline; }
  .guichet { margin-inline: 0; margin-top: 26px; }
  .trajet { padding: 16px; }
  .recherche { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .trajet-champs { grid-column: 1 / -1; }
  .quand { grid-template-columns: minmax(0, 15.5rem) minmax(0, 1fr); align-items: center; gap: 12px; }
  .recherche > .btn { width: auto; min-width: 11rem; }
  .plan-zone { margin-inline: -16px; }
  .voyage.seule .plan-zone { margin-bottom: -16px; }
  .volet { padding: 24px 8px 6px; }
  .barre-action { margin: 16px -16px -16px; padding-inline: 24px; }
}
@media (max-width: 899px) {
  .trajet[data-etape="2"] .plan-zone { height: 150px; }
  .trajet[data-etape="2"] .plan-indice { display: none; }
}
@media (min-width: 720px) {
  .engagements { grid-template-columns: 1fr 1fr; gap: 18px; }
  .engagements li { padding: 26px 24px; }
  .tarif { grid-template-columns: 1fr 1.1fr; }
  .prix { padding: 44px 36px 36px; }
  .tarif-points { padding: 40px 36px; }
  .pied .contenu { grid-template-columns: 1.3fr 1fr 1.2fr; }
  .pied .bas { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  :root { --entete: 80px; --pas: 112px; --fil-x: 51px; }
  .entete .logo-eya { --logo: 40px; }
  .nav { display: flex; align-items: center; gap: 2px; margin-right: 14px; }
  .nav a { min-height: 44px; font-size: .95rem; }
  .nav a:not(.lien-pro)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 1px; background: var(--or-500); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
  .nav a:not(.lien-pro):hover { background: transparent; }
  .nav a:not(.lien-pro):hover::after { transform: scaleX(1); }
  .nav .lien-pro { margin-left: 10px; }
  .accroche { padding-top: calc(var(--entete) + clamp(14px, 4.5vh, 52px)); padding-bottom: calc(var(--scene-h) * .63 + 14px); }
  /* La scène se règle sur la place qui reste sous le module : la tour (63 % de la hauteur de la scène) tient entière
     dans le premier écran. site.js affine --scene-h d'après la hauteur réelle du contenu. */
  .accroche { --scene-h: clamp(280px, min(38.9vw, 640px, calc((100svh - 500px) / .63)), 640px); }
  .paysage { right: auto; left: 50%; width: calc(var(--scene-h) * 1440 / 560); height: var(--scene-h); transform: translateX(-50%); overflow: visible; }
  .chapo { font-size: 1.15rem; }
  .guichet { margin-top: 30px; }
  .recherche { grid-template-columns: minmax(0, 1.5fr) minmax(15.5rem, .8fr) auto; align-items: center; gap: 16px; }
  .trajet-champs { grid-column: auto; }
  .quand { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .quand-note { min-height: 52px; display: flex; align-items: center; }
  .recherche > .btn { min-width: 0; padding-inline: 30px; }
  .voyage { grid-template-columns: minmax(340px, 27rem) minmax(0, 1fr); grid-template-rows: 1fr auto; grid-template-areas: "volet plan" "barre plan"; column-gap: 26px; margin-top: 16px; }
  .plan-zone { grid-area: plan; position: sticky; top: calc(var(--entete) + 20px); align-self: start; margin: 0; height: min(600px, calc(100vh - var(--entete) - 40px)); min-height: 420px; border: 1px solid var(--creme-300); border-radius: 18px; }
  .volet { grid-area: volet; padding: 12px 0 0 8px; }
  .barre-action { grid-area: barre; position: static; margin: 20px 0 0; padding: 0 0 8px 8px; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; border-radius: 0; box-shadow: none; }
  .barre-prix { display: none; }
  .barre-ligne .btn { flex: 1 1 auto; }
  .voyage.seule { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "plan"; }
  .voyage.seule .plan-zone { position: relative; top: auto; height: 340px; min-height: 0; margin: 0; border: 1px solid var(--creme-300); border-radius: 18px; }
  .voyage.sans-carte { grid-template-columns: minmax(0, 40rem); grid-template-areas: "volet" "barre"; justify-content: center; }
  .voyage.sans-carte .volet, .voyage.sans-carte .barre-action { padding-left: 0; }
  .temps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; max-width: 62rem; }
  .temps li, .temps li:last-child { padding: 54px 0 0; }
  .temps li:not(:last-child)::after { left: 50px; right: -26px; top: 18px; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(90deg, var(--or-500) 0 4px, transparent 4px 9px); }
  .temps.quatre { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; max-width: none; }
  .temps.quatre li:not(:last-child)::after { right: -18px; }
  .appel { margin-top: 44px; }
  .itineraire .contenu, .arrivee .contenu { padding-left: 108px; }
  .tete { margin-bottom: 52px; }
  .tete::before { display: none; }
  .etape .num {
    position: absolute; top: -13px; left: calc(var(--fil-x) + 1px - 108px - 23px); width: 46px; height: 46px; border-radius: 50%;
    background: var(--fond-jalon); border: 1.5px solid var(--or-500); box-shadow: 0 0 0 7px var(--fond-jalon); font-size: 1.05rem;
  }
  .arrivee .etape .num { background: var(--degrade-or); border: 0; color: var(--marine-900); box-shadow: 0 0 0 7px var(--creme-200), var(--ombre-or); }
  .arrivee::before { height: calc(var(--pas) - 13px); }
  .carte { padding: 30px; }
}
@media (min-width: 1100px) {
  .accroche-texte { max-width: none; }
  .chapo { max-width: 60rem; }
  .accroche h1 em { display: inline; }
  .cartes { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .cartes > :nth-child(even) { margin-top: 28px; margin-bottom: -28px; }
  .cartes { padding-bottom: 28px; }
  .carte { padding: 28px 24px; }
}

/* ---------- Mouvement : discret, et seulement si le visiteur ne l'a pas refusé ---------- */
@media (prefers-reduced-motion: no-preference) {
  .carte { transition: opacity .7s var(--retard, 0s), translate .7s cubic-bezier(.2, .7, .2, 1) var(--retard, 0s), transform .5s, box-shadow .5s; }
  .anime [data-apparait] { opacity: 0; translate: 0 22px; }
  .anime [data-apparait]:not(.carte) { transition: opacity .7s var(--retard, 0s), translate .7s cubic-bezier(.2, .7, .2, 1) var(--retard, 0s), background-color .3s, border-color .3s; }
  .anime [data-apparait].vu { opacity: 1; translate: 0 0; }
  .cartes > :nth-child(2), .engagements > :nth-child(2), .differences > :nth-child(2) { --retard: .08s; }
  .cartes > :nth-child(3), .engagements > :nth-child(3), .differences > :nth-child(3) { --retard: .16s; }
  .cartes > :nth-child(4), .engagements > :nth-child(4), .differences > :nth-child(4) { --retard: .24s; }

  .accroche-texte > * { animation: monter .8s cubic-bezier(.2, .7, .2, 1) both; }
  .accroche-texte > :nth-child(2) { animation-delay: .08s; }
  .accroche-texte > :nth-child(3) { animation-delay: .16s; }
  .guichet { animation: monter .8s .22s cubic-bezier(.2, .7, .2, 1) both; }
  .accroche .reperes { animation: paraitre .8s .5s ease-out both; opacity: 0; }
  .etape-volet { animation: monter .45s cubic-bezier(.2, .7, .2, 1) both; }
  .plan-zone { animation: eclore .5s ease-out both; }
  .outil.cherche svg { animation: scintiller 1.1s ease-in-out infinite; }
  .trace { stroke-dasharray: 1; stroke-dashoffset: 1; animation: tracer 2.4s .4s cubic-bezier(.3, .6, .2, 1) forwards; }
  .suite, .point-arrivee { opacity: 0; animation: paraitre .7s 2.6s ease-out forwards; }
  .point-depart { opacity: 0; animation: paraitre .5s .2s ease-out forwards; }
  .eclats circle { animation: eclat 4.2s ease-in-out infinite; }
  .eclats circle:nth-child(3n+1) { animation-duration: 5.4s; animation-delay: 1.3s; }
  .eclats circle:nth-child(3n+2) { animation-duration: 3.6s; animation-delay: 2.4s; }
  .eclats circle:nth-child(4n) { animation-delay: .7s; }
  .etoiles circle:nth-child(3n) { animation: scintiller 5s ease-in-out infinite; }
  .etoiles circle:nth-child(3n+1) { animation: scintiller 7s 1.5s ease-in-out infinite; }
  .carte-connexion { animation: monter .7s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes monter { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes tracer { to { stroke-dashoffset: 0; } }
@keyframes paraitre { to { opacity: 1; } }
@keyframes eclore { from { opacity: 0; } to { opacity: 1; } }
@keyframes scintiller { 50% { opacity: .15; } }
@keyframes eclat { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Téléphone : le cadrage de la scène se resserre sur le véhicule ; la tour illuminée se place entre lui et l'épingle d'arrivée. */
@media (max-width: 600px) {
  .paysage .tour { transform: translate(1250px, 470px) scale(.56) translate(-1000px, -470px); }
  /* Le premier écran se resserre pour que la scène (véhicule et tour) y tienne : sous-titre et chapeau repliés, repères sur deux colonnes. */
  .accroche { padding-top: calc(var(--entete) + 8px); padding-bottom: 168px; }
  .surtitre { margin-bottom: 8px; }
  .surtitre span + span, .accroche .chapo { display: none; }
  .accroche h1 { font-size: clamp(1.8rem, 7.6vw, 2.4rem); }
  .accroche .guichet { margin-top: 12px; }
  .accroche .reperes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin-top: 10px; font-size: .74rem; line-height: 1.25; }
  .accroche .reperes svg { flex: 0 0 auto; width: 18px; height: 18px; padding: 3px; }
  .paysage { right: min(0px, calc(100% - 395px)); bottom: -8px; }
}

/* Roues du véhicule : elles tournent (le véhicule avance vers la droite). Tour Eiffel : sa lumière respire et scintille. */
.roue { transform-box: fill-box; transform-origin: center; }
.tour-eclats circle { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .roue { animation: rouler 1.5s linear infinite; }
  .tour-lueur { transform-box: fill-box; transform-origin: center; animation: lueur-tour 5.5s ease-in-out infinite; }
  .tour-corps { animation: or-vif 5.5s ease-in-out infinite; }
  .tour-eclats circle { animation: etinceler 2.8s ease-in-out infinite; }
  .tour-eclats circle:nth-child(3n) { animation-delay: .9s; animation-duration: 3.4s; }
  .tour-eclats circle:nth-child(3n+1) { animation-delay: 1.7s; animation-duration: 2.3s; }
  .tour-eclats circle:nth-child(4n) { animation-delay: .4s; }
  .tour-eclats circle:nth-child(5n) { animation-delay: 2.2s; animation-duration: 3.9s; }
}
@keyframes rouler { to { transform: rotate(360deg); } }
@keyframes lueur-tour { 0%, 100% { opacity: .72; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes or-vif { 0%, 100% { filter: brightness(.97); } 50% { filter: brightness(1.22) drop-shadow(0 0 7px rgba(255, 224, 138, .7)); } }
@keyframes etinceler { 0%, 100% { opacity: 0; } 45% { opacity: 0; } 55% { opacity: 1; } 65% { opacity: 0; } }

/* Barre d'or lumineuse en haut de page, parcourue par un reflet (la même que sur eya-partners.com). */
.entete::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, transparent, #C9A961 18%, #EBD89F 50%, #C9A961 82%, transparent); background-size: 220% 100%;
  box-shadow: 0 0 18px rgba(212, 175, 55, .42); animation: balaye-or 9s linear infinite; }
@keyframes balaye-or { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
@media print { .entete::before { display: none; } }

/* Menu à la manière du site Conseil & Formation : bandeau de nuit plein, filet doré, liens fins, langues en pastille. */
.accueil .entete, .accueil .entete.defile, .page-nuit > .entete {
  --e-texte: var(--creme-50); --e-accent: var(--or-400); --e-fond: #060A17; --e-panneau: #060A17; --e-trait: rgba(201, 169, 97, .25); --e-survol: rgba(250, 247, 242, .1);
}
.accueil .entete.defile { background: rgba(6, 10, 23, .93); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .65); }
.accueil .entete.defile .logo-eya.nuit { color: var(--creme-100); }
.accueil .entete.defile .logo-eya.nuit .logo-eya-nom > span { background-image: linear-gradient(120deg, #FFE08A 0%, #E6B93C 30%, #C7962A 55%, #F0CB62 78%, #B07D10 100%); }
.accueil .entete.defile .logo-eya.nuit .logo-eya-devise { color: var(--or-400); }
.entete .langues { gap: 2px; padding: 3px; border: 1px solid rgba(201, 169, 97, .4); border-radius: 999px; background: rgba(10, 17, 36, .5); }
.entete .langues a { min-width: 0; min-height: 30px; padding: 0 12px; border-radius: 999px; font-size: .72rem; letter-spacing: .1em; }
.entete .langues a + a::before, .entete .langues a[aria-current]::after { display: none; }
.entete .langues a[aria-current] { background: linear-gradient(135deg, #D4AF37 0%, #C9A961 50%, #B8860B 100%); color: #0A1124; }
.entete:not(.defile) .langues a:not([aria-current]), .accueil .entete .langues a:not([aria-current]) { color: var(--creme-100); }
@media (min-width: 900px) {
  .entete .contenu { max-width: 1600px; padding-inline: clamp(24px, 2.8vw, 40px); }
  .nav a { font-size: .875rem; }
  .nav a:not(.lien-pro):hover { color: var(--or-300); }
  .entete .btn.or.compact { padding-inline: 20px; font-size: .875rem; }
}

/* Le filet doré sous le menu reste visible en permanence (en haut de page comme au défilement, sur toutes les pages). */
.entete, .accueil .entete:not(.defile), .accueil .entete.defile, .page-nuit > .entete { border-bottom: 1px solid rgba(201, 169, 97, .45); }
.accueil .entete:not(.defile) { --e-fond: #060A17; }

/* Phare de la tour Eiffel : deux faisceaux opposés qui tournent. Vus de côté, ils s'allongent d'un bord à l'autre de la scène,
   et la lanterne lance un éclat quand un faisceau passe face à nous. */
.faisceaux { opacity: .5; }
.phare-eclat { filter: blur(4px); }
@media (prefers-reduced-motion: no-preference) {
  .faisceaux { opacity: 1; animation: phare-tourne 9s linear infinite; }
  .phare-eclat { animation: phare-eclat 9s linear infinite; }
}
@keyframes phare-tourne {
  0% { transform: scaleX(1); animation-timing-function: cubic-bezier(.47, 0, .74, .71); }
  25% { transform: scaleX(.02); animation-timing-function: cubic-bezier(.26, .29, .53, 1); }
  50% { transform: scaleX(-1); animation-timing-function: cubic-bezier(.47, 0, .74, .71); }
  75% { transform: scaleX(-.02); animation-timing-function: cubic-bezier(.26, .29, .53, 1); }
  100% { transform: scaleX(1); }
}
@keyframes phare-eclat {
  0%, 19%, 31%, 69%, 81%, 100% { opacity: 0; transform: scale(.4); }
  25%, 75% { opacity: .95; transform: scale(1.5); }
}
