/* www.stage-recuperation-points-lyon.fr — la feuille de style du troisième
   site (03/10/2026). Même ossature que les deux autres façades (mêmes classes,
   mêmes formulaires), mais un habit à part : les couleurs de la ville de Lyon,
   tirées de ses armoiries — le rouge du champ, l'argent du lion, l'azur du chef
   et l'or de ses fleurs de lys. Ni le blason, ni le lion, ni le logo de la
   Ville : seulement leurs couleurs. */

@font-face { font-family: "Archivo"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("polices/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-style: normal; font-display: swap;
  src: url("polices/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("polices/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-style: italic; font-display: swap;
  src: url("polices/atkinson-hyperlegible-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("polices/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); }

:root {
  --fond: #FAF8F4;
  --surface: #FFFFFF;
  --teinte: #EEF0F4;
  --encre: #14213D;
  --doux: #4B5568;
  --trait: #D9DDE5;
  --rouge: #C8102E;
  --rouge-fond: #FBE7EA;
  --bleu: #1D3F8A;
  --bleu-fond: #E7ECF8;
  --or: #C9A227;
  --or-fond: #FBF3D6;
  --vert: #1D7349;
  --vert-fond: #E5F3EB;
  --ambre: #8F5400;
  --ambre-fond: #FFF2D9;
  --marque: #C8102E;
  --marque-texte: #FFFFFF;
  --sombre: #14264F;
  --sur-sombre: #F4F6FB;
  --sur-sombre-doux: #BFC8DD;
  --carte-dep: #E6E4DF;
  --carte-dep-survol: #D9D6CF;
  --carte-trait: #FAF8F4;
  --carte-region: #14213D;
  --focus: #0B5FFF;
  --ombre: 0 1px 2px rgba(20, 33, 61, .06), 0 8px 24px rgba(20, 33, 61, .08);
  --titre: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --texte: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fond: #0E1424; --surface: #162038; --teinte: #1B2745; --encre: #F4F6FB; --doux: #B4BDD3; --trait: #2B3858;
    --rouge: #FF6B7F; --rouge-fond: #3C1A22; --bleu: #8FB0FF; --bleu-fond: #1B2A52; --or: #E3C25A; --or-fond: #3A3213;
    --vert: #63D69F; --vert-fond: #123023; --ambre: #F3B75E; --ambre-fond: #33260F;
    --marque: #E0314B; --marque-texte: #FFFFFF; --sombre: #0A0F1D; --sur-sombre: #F4F6FB; --sur-sombre-doux: #9FA9C4;
    --carte-dep: #1B2745; --carte-dep-survol: #25335A; --carte-trait: #0E1424; --carte-region: #D7DDF0;
    --focus: #7AA7FF; --ombre: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --fond: #0E1424; --surface: #162038; --teinte: #1B2745; --encre: #F4F6FB; --doux: #B4BDD3; --trait: #2B3858;
  --rouge: #FF6B7F; --rouge-fond: #3C1A22; --bleu: #8FB0FF; --bleu-fond: #1B2A52; --or: #E3C25A; --or-fond: #3A3213;
  --vert: #63D69F; --vert-fond: #123023; --ambre: #F3B75E; --ambre-fond: #33260F;
  --marque: #E0314B; --marque-texte: #FFFFFF; --sombre: #0A0F1D; --sur-sombre: #F4F6FB; --sur-sombre-doux: #9FA9C4;
  --carte-dep: #1B2745; --carte-dep-survol: #25335A; --carte-trait: #0E1424; --carte-region: #D7DDF0;
  --focus: #7AA7FF; --ombre: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--fond); color: var(--encre); font-family: var(--texte); font-size: 18px; line-height: 1.55; }
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--titre); font-weight: 800; line-height: 1.08; letter-spacing: -.015em; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }

.evitement { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 8px 14px; z-index: 10; }
.evitement:focus { left: 8px; }
.cadre { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.etroit { max-width: 800px; }

/* --- L'en-tête --------------------------------------------------- */
.entete { background: var(--surface); border-bottom: 1px solid var(--trait); position: sticky; top: 0; z-index: 5; }
.entete-ligne { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.logo { font-family: var(--titre); font-weight: 800; font-size: 1.55rem; letter-spacing: -.03em; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: baseline; }
.logo-point { display: inline-block; width: .3em; height: .3em; border-radius: 50%; background: var(--rouge); margin: 0 .07em; transform: translateY(-.06em); }
.menu { display: flex; gap: 22px; margin-right: auto; }
.menu a { text-decoration: none; font-weight: 700; font-size: .98rem; color: var(--doux); padding: 6px 0; border-bottom: 2px solid transparent; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--encre); border-bottom-color: var(--encre); }
.bouton-tel { text-decoration: none; font-weight: 700; white-space: nowrap; font-size: 1rem; padding: 9px 14px; border: 1.5px solid var(--encre); border-radius: 10px; }
.bouton-tel:hover { background: var(--teinte); }
.bouton-tel-dit { color: var(--doux); font-weight: 400; }

/* Le logo CER : une image à fond blanc, sur une pastille blanche pour
   tenir aussi sur le fond sombre, et la marque à côté. */
.logo { gap: 10px; align-items: center; font-size: 1.3rem; flex: 0 0 auto; }
.logo-img { display: block; height: 30px; width: auto; background: #fff; border-radius: 6px; padding: 2px 4px; }
.logo-nom { white-space: nowrap; }
.logo-pied .logo-img { height: 26px; }
/* Le logo CER V MOBILITÉS porte déjà le nom : on ne le répète pas à côté (27/09/2026). */
.logo-img + .logo-nom { display: none; }
.menu { gap: 18px; }
.menu a { white-space: nowrap; }
@media (max-width: 1240px) { .bouton-tel-dit { display: none; } }
/* Cinq entrées et un logo à deux morceaux : sous 1040 px, le menu prend
   sa propre ligne plutôt que de monter sur le logo. */
@media (max-width: 1040px) {
  .entete-ligne { flex-wrap: wrap; gap: 4px 16px; padding-top: 10px; }
  .logo { margin-right: auto; }
  .menu { order: 3; width: 100%; overflow-x: auto; padding-bottom: 8px; margin: 0; }
}
.ici { color: var(--rouge); white-space: nowrap; }
.reseaux { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px !important; }
.reseaux a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 700; color: var(--encre); }
.reseaux a:hover { text-decoration: underline; }
.liste-claire { padding-left: 1.2em; margin: 0 0 1.2em; }
.liste-claire li { margin-bottom: .5em; }
.partage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px; align-items: start; }
.partage .etapes { margin: 0; grid-template-columns: 1fr; gap: 18px; }
.centre-texte { text-align: center; margin-top: 24px; }
.avis { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.avis li { background: var(--surface); border: 1px solid var(--trait); border-radius: 16px; padding: 22px 24px; box-shadow: var(--ombre); }
.avis blockquote { margin: 0 0 10px; font-size: 1.08rem; }
.avis blockquote p { margin: 0; }
.avis-note { color: var(--rouge); letter-spacing: .08em; font-size: 1.1rem; margin: 0 0 10px; }
.avis-vide { color: var(--trait); }
.avis-qui { color: var(--doux); margin: 0; font-weight: 700; }

/* --- Les boutons ------------------------------------------------- */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px;
  background: var(--marque); color: var(--marque-texte); border: 0; border-radius: 10px; font: 700 1rem/1.2 var(--texte);
  text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
.bouton:hover { transform: translateY(-1px); box-shadow: var(--ombre); }
.bouton-grand { min-height: 56px; padding: 14px 28px; font-size: 1.1rem; }
.bouton-petit { min-height: 36px; padding: 6px 14px; font-size: .9rem; }
.bouton-eteint { background: var(--teinte); color: var(--doux); cursor: default; }
.bouton-eteint:hover { transform: none; box-shadow: none; }
.lien-fort { font-weight: 700; }

/* --- La une ------------------------------------------------------ */
.une { padding: 48px 0 24px; }
.une-grille { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr); gap: 40px; align-items: center; }
.surtitre { font-size: .82rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--doux); margin-bottom: 14px; }
.quatre { color: var(--rouge); white-space: nowrap; }
.chapo { font-size: 1.15rem; color: var(--doux); max-width: 34em; }
.prochain { margin-top: 28px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--trait); border-radius: 16px; box-shadow: var(--ombre); max-width: 520px; }
.prochain-dit { font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--doux); margin: 0 0 4px; }
.prochain-date { font-family: var(--titre); font-weight: 800; font-size: 1.45rem; line-height: 1.15; margin: 0 0 4px; }
.prochain-plus { color: var(--doux); margin: 0 0 16px; }
.prochain-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.une-carte { margin: 0; }
.une-carte figcaption { text-align: center; color: var(--doux); font-size: .95rem; margin-top: 4px; }
.une-carte figcaption strong { color: var(--encre); }

/* La carte : les départements en papier, la région cernée d'encre, le point rouge. */
.carte { display: block; width: 100%; height: auto; overflow: visible; }
.carte-deps path { fill: var(--carte-dep); stroke: var(--carte-trait); stroke-width: 1.6; stroke-linejoin: round; transition: fill .15s; }
.carte-deps path:hover { fill: var(--carte-dep-survol); }
.carte-region { fill: none; stroke: var(--carte-region); stroke-width: 2.4; stroke-linejoin: round; pointer-events: none; }
.carte-noms text { font-family: var(--texte); font-size: 16px; letter-spacing: .08em; text-transform: uppercase; fill: var(--doux); text-anchor: middle; pointer-events: none; }
.carte-villes { pointer-events: none; }
.carte-villes circle { fill: var(--doux); r: 4.5px; }
.carte-villes text { font-family: var(--texte); font-size: 19px; font-weight: 700; fill: var(--encre); paint-order: stroke; stroke: var(--fond); stroke-width: 4px; stroke-linejoin: round; }
.carte-ici .point { fill: var(--rouge); stroke: var(--fond); stroke-width: 3; }
.carte-ici .onde { fill: none; stroke: var(--rouge); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; animation: onde 2.4s ease-out infinite; }
.carte-ici .trait { fill: none; stroke: var(--encre); stroke-width: 1.6; }
.carte-ici .etiquette { font-family: var(--titre); font-weight: 800; font-size: 38px; fill: var(--encre); paint-order: stroke; stroke: var(--fond); stroke-width: 5px; stroke-linejoin: round; }
.carte-ici .sous-etiquette { font-family: var(--texte); font-weight: 700; font-size: 21px; fill: var(--rouge); paint-order: stroke; stroke: var(--fond); stroke-width: 4px; }
@keyframes onde { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .carte-ici .onde { animation: none; opacity: .35; transform: scale(1.8); } html { scroll-behavior: auto; } }

/* --- Les bandes ------------------------------------------------- */
.bande { padding: 64px 0; }
.bande-haut { padding-top: 40px; }
.bande-teinte { background: var(--teinte); }
.bande-sombre { background: var(--sombre); color: var(--sur-sombre); }
.titre-ligne { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 20px; }
.titre-ligne h2 { margin: 0; }
.note { color: var(--doux); font-size: .92rem; margin-top: 14px; }
.vide { font-size: 1.1rem; padding: 24px; background: var(--surface); border: 1px dashed var(--trait); border-radius: 14px; }
.mois { font-size: 1.3rem; margin: 36px 0 12px; }
.fil { font-size: .95rem; margin-bottom: 10px; }
.fil a { color: var(--doux); }
.fil a::before { content: "← "; }
.dim { color: var(--doux); font-weight: 400; }
.rouge { color: var(--rouge); }

/* --- Les dates -------------------------------------------------- */
.dates { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--trait); border-radius: 16px; overflow: hidden; }
.date-ligne { display: grid; grid-template-columns: 76px minmax(0, 1fr) 190px 80px 130px; align-items: center; gap: 18px; padding: 16px 22px; border-top: 1px solid var(--trait); }
.date-ligne:first-child { border-top: 0; }
.date-ligne p { margin: 0; }
.date-cal { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; padding: 8px 0; border-radius: 10px; background: var(--teinte); }
.date-jours { font-family: var(--titre); font-weight: 800; font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.date-mois { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--doux); margin-top: 4px; }
.date-texte { font-weight: 700; font-size: 1.08rem; }
.date-detail { color: var(--doux); font-size: .95rem; }
.date-prix { white-space: nowrap; font-family: var(--titre); font-weight: 800; font-size: 1.25rem; text-align: right; font-variant-numeric: tabular-nums; }
.date-action { text-align: right; }
.date-action .bouton { width: 100%; }
.date-complet .date-texte, .date-complet .date-prix { color: var(--doux); }
.pastille { display: inline-block; font-size: .85rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; white-space: nowrap; }
.pastille-libre { background: var(--vert-fond); color: var(--vert); }
.pastille-peu { background: var(--rouge-fond); color: var(--rouge); }
.pastille-complet { background: var(--teinte); color: var(--doux); }
h2 .pastille { vertical-align: middle; font-family: var(--texte); margin-left: 8px; }

/* --- Comment ça marche ----------------------------------------- */
.etapes { list-style: none; counter-reset: etape; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.etapes li { counter-increment: etape; }
.etapes li::before { content: counter(etape); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--encre); font-family: var(--titre); font-weight: 800; font-size: 1.2rem; margin-bottom: 14px; }
.etapes p { color: var(--doux); margin: 0; }

/* --- Les questions ---------------------------------------------- */
.questions details { border-bottom: 1px solid var(--trait); }
.questions details:first-child { border-top: 1px solid var(--trait); }
.questions summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 1.1rem; padding: 18px 40px 18px 0; position: relative; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-family: var(--titre); font-size: 1.6rem; color: var(--doux); }
.questions details[open] summary::after { content: "–"; }
.questions details p { color: var(--doux); max-width: 40em; }

/* --- Nous trouver ------------------------------------------------ */
.venir { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.venir-adresse { font-size: 1.3rem; font-weight: 700; }
.venir-tel { font-family: var(--titre); font-weight: 800; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); margin-bottom: 8px; }
.venir-tel a { text-decoration: none; }
.bande-sombre p { color: var(--sur-sombre-doux); }
.bande-sombre .venir-adresse, .bande-sombre .venir-tel { color: var(--sur-sombre); }
.lien-clair { color: var(--sur-sombre); font-weight: 700; }

/* --- Réserver ---------------------------------------------------- */
.reserver { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 36px; align-items: start; margin-top: 16px; }
.recap { position: sticky; top: 90px; background: var(--surface); border: 1px solid var(--trait); border-radius: 16px; padding: 22px; }
.recap dl { margin: 0; display: grid; gap: 14px; }
.recap dt { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--doux); }
.recap dd { margin: 2px 0 0; }
.recap-prix { font-family: var(--titre); font-weight: 800; font-size: 1.6rem; }
.recap-prix span { font-family: var(--texte); font-weight: 400; font-size: .9rem; color: var(--doux); }
.recap-note { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--trait); font-size: .92rem; color: var(--doux); }

.formulaire { display: grid; gap: 28px; }
.formulaire fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; }
.formulaire legend { font-family: var(--titre); font-weight: 800; font-size: 1.4rem; padding: 0; margin-bottom: 4px; }
.formulaire-court { max-width: 480px; gap: 16px; margin-bottom: 20px; }
.champs { display: grid; gap: 14px; }
.champs.deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.champs .large { grid-column: 1 / -1; }
.champs label { display: block; font-weight: 700; font-size: .98rem; }
.champs label input { margin-top: 6px; }
.champs label .aide { display: block; margin-top: 6px; }
.facultatif { font-weight: 400; color: var(--doux); font-size: .88rem; }
.aide { font-weight: 400; color: var(--doux); font-size: .9rem; margin: 0; }
input[type=text], input:not([type]), input[type=email], input[type=tel], input[type=date], input[type=password], input[type=number], input[type=search] {
  width: 100%; min-height: 50px; padding: 10px 14px; font: 400 1.05rem/1.3 var(--texte); color: var(--encre);
  background: var(--surface); border: 1.5px solid var(--trait); border-radius: 10px; }
input:focus { border-color: var(--encre); outline: 3px solid color-mix(in srgb, var(--focus) 35%, transparent); outline-offset: 0; }
.choix-ligne { display: flex; gap: 12px; flex-wrap: wrap; }
.choix { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border: 1.5px solid var(--trait); border-radius: 10px; background: var(--surface); cursor: pointer; font-weight: 700; }
.choix:has(input:checked) { border-color: var(--encre); background: var(--teinte); }
input[type=radio], input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--encre); margin: 0; flex: none; }
.cas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cas-choix { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1.5px solid var(--trait); border-radius: 12px; background: var(--surface); cursor: pointer; }
.cas-choix input { margin-top: 3px; }
.cas-choix span { display: grid; gap: 2px; color: var(--doux); font-size: .95rem; }
.cas-choix strong { color: var(--encre); font-size: 1.02rem; }
.cas-choix:has(input:checked) { border-color: var(--encre); background: var(--teinte); }
.situation:not(:has(input[name=cas][value="2"]:checked)) .si-infraction { display: none; }
.situation:not(:has(input[name=cas][value="3"]:checked, input[name=cas][value="4"]:checked)) .si-jugement { display: none; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.valider { display: grid; gap: 14px; justify-items: start; padding-top: 22px; border-top: 1px solid var(--trait); }
.accord { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; }
.accord input { margin-top: 4px; }
.alerte { background: var(--rouge-fond); color: var(--rouge); font-weight: 700; padding: 14px 18px; border-radius: 12px; margin: 0; }
.accuse { background: var(--vert-fond); color: var(--vert); font-weight: 700; padding: 14px 18px; border-radius: 12px; }

/* --- L'espace ---------------------------------------------------- */
.bienvenue { background: var(--surface); border: 2px solid var(--vert); border-radius: 14px; padding: 18px 20px; margin-bottom: 16px; }
.bienvenue p { margin: 0 0 8px; }
.bienvenue-lien { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .85rem; color: var(--doux); overflow-wrap: anywhere; }
.espace { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 8px; }
.carte-bloc { background: var(--surface); border: 1px solid var(--trait); border-radius: 16px; padding: 24px; }
.carte-bloc.large { grid-column: 1 / -1; }
.carte-bloc h2 { font-size: 1.35rem; }
.gros { font-family: var(--titre); font-weight: 800; font-size: 1.45rem; line-height: 1.2; }
.liste-dl { margin: 0 0 16px; display: grid; gap: 8px; }
.liste-dl div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; }
.liste-dl dt { color: var(--doux); }
.liste-dl dd { margin: 0; font-weight: 700; }
.etat { font-weight: 700; padding: 10px 14px; border-radius: 10px; display: inline-block; }
.etat-ok { background: var(--vert-fond); color: var(--vert); }
.pieces { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; }
.pieces li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding-top: 14px; border-top: 1px solid var(--trait); }
.piece-nom { font-weight: 700; margin: 0; }
.piece-faces { display: flex; flex-wrap: wrap; gap: 10px; }
.piece-faces form { margin: 0; }
.face { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 10px; font-weight: 700; font-size: .95rem; }
.face-ok { background: var(--vert-fond); color: var(--vert); }
.face-envoyer { position: relative; border: 1.5px dashed var(--encre); cursor: pointer; }
.face-envoyer:hover { background: var(--teinte); }
.face-envoyer input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.face-envoyer.envoi { border-style: solid; color: var(--doux); }
.docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.doc { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--trait); border-radius: 12px; text-decoration: none; }
a.doc:hover { border-color: var(--encre); }
a.doc strong::after { content: " ↓"; color: var(--doux); }
.doc span { color: var(--doux); font-size: .92rem; }
.doc-attente { background: var(--teinte); border-style: dashed; }

/* --- Textes longs ------------------------------------------------ */
.texte-long h2 { font-size: 1.35rem; margin-top: 1.8em; }
.texte-long p { max-width: 42em; }

/* --- Le pied ---------------------------------------------------- */
.pied { background: var(--surface); border-top: 1px solid var(--trait); padding: 40px 0 28px; font-size: .95rem; color: var(--doux); }
.pied-grille { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 28px; }
.pied p { margin: 0 0 6px; }
.logo-pied { color: var(--encre); font-size: 1.3rem; margin-bottom: 8px !important; }
.pied-titre { font-weight: 700; color: var(--encre); }
.pied-liens { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 18px; border-top: 1px solid var(--trait); }

/* --- Petits écrans ---------------------------------------------- */
@media (max-width: 960px) {
  .une-grille { grid-template-columns: 1fr; gap: 20px; }
  .une-carte { max-width: 620px; margin: 0 auto; width: 100%; }
  .date-ligne { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "cal quoi prix" "cal places places" "action action action"; gap: 8px 14px; }
  .date-cal { grid-area: cal; align-self: start; }
  .date-quoi { grid-area: quoi; }
  .date-places { grid-area: places; }
  .date-prix { grid-area: prix; align-self: start; }
  .date-action { grid-area: action; text-align: left; margin-top: 6px !important; }
  .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reserver { grid-template-columns: 1fr; }
  .recap { position: static; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .entete-ligne { flex-wrap: wrap; gap: 4px 16px; padding-top: 10px; }
  .logo { margin-right: auto; }
  .menu { order: 3; width: 100%; overflow-x: auto; gap: 18px; padding-bottom: 6px; margin: 0; }
  .menu a { white-space: nowrap; }
  .bouton-tel { padding: 7px 12px; font-size: .95rem; }
  .bouton-tel-dit { display: none; }
  .une { padding-top: 28px; }
  .bande { padding: 48px 0; }
  .bande-haut { padding-top: 28px; }
  .date-ligne { padding: 14px 16px; }
  .etapes, .venir, .espace, .cas, .champs.deux, .pied-grille, .partage { grid-template-columns: 1fr; }
  .logo-img { height: 22px; }
  .logo-nom { font-size: 1.15rem; }
  .carte-bloc { padding: 20px; }
  .liste-dl div { grid-template-columns: 90px minmax(0, 1fr); }
  .prochain { padding: 18px; }
}

/* --- Connexion, fiches, paiement (19/09/2026) --------------------- */
.lien-bouton { background: none; border: 0; padding: 6px 0; font: 700 .98rem var(--texte); color: var(--doux); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.lien-bouton:hover { color: var(--encre); }
.onglets-fiches { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.onglets-fiches a { text-decoration: none; font-weight: 700; font-size: .95rem; padding: 8px 14px; border: 1.5px solid var(--trait); border-radius: 999px; background: var(--surface); }
.onglets-fiches a[aria-current="page"] { border-color: var(--encre); background: var(--teinte); }
.formulaire-court .champs label { max-width: 480px; }

/* Nous écrire (20/09/2026) : la discussion avec le bureau. Le visiteur à
   droite, sur l'encre ; le centre à gauche, sur la teinte. */
.bulle-ecrire { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 5;
  display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 10px 18px; border-radius: 999px;
  background: var(--marque); color: var(--marque-texte); font-weight: 700; text-decoration: none; box-shadow: var(--ombre); }
.bulle-ecrire:hover { transform: translateY(-1px); }
@media print { .bulle-ecrire { display: none; } }
.fil { display: flex; flex-direction: column; gap: 12px; max-height: 60vh; overflow-y: auto; padding: 16px;
  background: var(--surface); border: 1px solid var(--trait); border-radius: 16px; margin-bottom: 20px; }
.bulle { max-width: 85%; padding: 10px 14px 12px; border-radius: 14px; }
.bulle-moi { align-self: flex-end; background: var(--marque); color: var(--marque-texte); border-bottom-right-radius: 4px; }
.bulle-centre { align-self: flex-start; background: var(--teinte); border-bottom-left-radius: 4px; }
.bulle-qui { font-size: .82rem; font-weight: 700; margin: 0 0 4px; opacity: .85; }
.bulle-qui span { font-weight: 400; margin-left: 6px; }
.bulle-texte { margin: 0; overflow-wrap: anywhere; }
.fil-attente { align-self: center; text-align: center; color: var(--doux); font-size: .9rem; margin: 4px 0 0; }
.formulaire-discussion { gap: 16px; }
.champ-message { display: block; font-weight: 700; }
.champ-message textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: 400 1.05rem/1.45 var(--texte); color: var(--encre);
  background: var(--surface); border: 1.5px solid var(--trait); border-radius: 10px; resize: vertical; min-height: 96px; }
.champ-message textarea:focus { border-color: var(--encre); outline: 3px solid color-mix(in srgb, var(--focus) 35%, transparent); outline-offset: 0; }
@media (max-width: 640px) { .champs.deux { grid-template-columns: 1fr; } .bulle { max-width: 92%; } }
.pied { padding-bottom: 96px; }

/* Le numéro de permis, avec son schéma à côté (20/09/2026). */
.champ-illustre { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 20px; align-items: start; }
.champ-illustre > label { display: block; font-weight: 700; font-size: .98rem; }
.champ-illustre > label input { margin-top: 6px; letter-spacing: .06em; font-family: "Courier New", ui-monospace, monospace; font-weight: 700; }
.champ-illustre > label .aide { display: block; margin-top: 6px; }
.illustration-permis { margin: 0; }
.illustration-permis img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: var(--ombre); }
.illustration-permis figcaption { font-size: .85rem; color: var(--doux); margin-top: 6px; }
@media (max-width: 720px) { .champ-illustre { grid-template-columns: 1fr; } .illustration-permis { max-width: 340px; } }

/* Le règlement intérieur, à faire défiler avant de l'accepter (20/09/2026). */
.reglement-defile { max-height: 320px; overflow-y: auto; padding: 16px 20px; background: var(--surface); border: 1.5px solid var(--trait); border-radius: 12px; }
.reglement-defile:focus-visible { outline: 3px solid var(--focus); }
.reglement-defile h3, .texte-reglement h3 { font-size: 1.05rem; margin: 18px 0 6px; }
.reglement-defile p, .reglement-defile li { font-size: .95rem; }
.reglement-defile ul, .texte-reglement ul { padding-left: 1.2em; }
.valider .accord + .accord { margin-top: -8px; }
label.en-attente { opacity: .55; }

/* ==================================================================
   L'HABIT DE LYON — posé par-dessus l'ossature.
   ================================================================== */

/* Le bandeau du haut : le centre est agréé, le stage dure deux jours,
   le téléphone est à portée de pouce. */
.bandeau { background: var(--sombre); color: var(--sur-sombre); font-size: .9rem; }
.bandeau-ligne { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.bandeau p { margin: 0; color: var(--sur-sombre-doux); }
.bandeau b { color: var(--sur-sombre); }
.bandeau a { color: var(--sur-sombre); font-weight: 700; text-decoration: none; white-space: nowrap; }
.bandeau a:hover { text-decoration: underline; }
.bandeau-or { color: var(--or); }

/* La marque : un pictogramme original (un point de permis dans un rond rouge,
   barré d'une coche) et le nom en deux temps. */
.marque { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; color: var(--encre); }
.marque-pict { width: 44px; height: 44px; flex: none; }
.marque-nom { display: grid; line-height: 1.02; }
.marque-nom b { font-family: var(--titre); font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; }
.marque-nom span { font-family: var(--titre); font-weight: 800; font-size: 1.62rem; letter-spacing: .02em; color: var(--rouge); text-transform: uppercase; }
.entete { border-bottom: 3px solid var(--rouge); }
.entete-ligne { min-height: 76px; }
.menu a { color: var(--encre); }
.menu a:hover, .menu a[aria-current="page"] { color: var(--rouge); border-bottom-color: var(--rouge); }
.menu-espace { margin-left: 6px; }
.menu a.menu-espace { border: 1.5px solid var(--bleu); color: var(--bleu); border-radius: 999px; padding: 6px 14px; border-bottom-width: 1.5px; }
.menu a.menu-espace:hover { background: var(--bleu-fond); border-bottom-color: var(--bleu); color: var(--bleu); }
.bouton-tel { border-color: var(--rouge); color: var(--rouge); }
.bouton-tel:hover { background: var(--rouge-fond); }

/* Les boutons : rouge de Lyon, pilule. */
.bouton { border-radius: 999px; }
.bouton:hover { background: #A60D26; }
.lien-fort { color: var(--bleu); }
.questions summary::after { color: var(--rouge); }
.etapes li::before { border-color: var(--rouge); color: var(--rouge); background: var(--rouge-fond); }
.choix:has(input:checked), .cas-choix:has(input:checked) { border-color: var(--bleu); background: var(--bleu-fond); }
input[type=radio], input[type=checkbox] { accent-color: var(--rouge); }
input:focus { border-color: var(--bleu); }
.face-envoyer { border-color: var(--bleu); }
.pastille-libre { background: var(--bleu-fond); color: var(--bleu); }
.date-cal { background: var(--rouge); color: #fff; }
.date-cal .date-mois { color: #FCE3E7; }
.date-ligne:hover { background: var(--bleu-fond); }

/* La une : un grand aplat rouge, la silhouette de la ville en bas. */
.une-lyon { position: relative; background: linear-gradient(180deg, var(--rouge) 0%, #A60D26 100%); color: #fff; padding: 56px 0 0; overflow: hidden; }
.une-lyon .une-grille { align-items: end; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 36px; }
.une-lyon .surtitre { color: #FFD9DF; }
.une-lyon h1 { color: #fff; }
.une-lyon h1 .ici { color: var(--or-fond); }
.une-lyon .chapo { color: #FFEFF1; }
.une-lyon .prochain { background: #fff; color: var(--encre); border: 0; }
.une-lyon .prochain .bouton { background: var(--rouge); color: #fff; }
.une-lyon .lien-fort { color: var(--bleu); }
.une-lyon .une-texte { padding-bottom: 56px; }
.une-ville { margin: 0; align-self: end; }
.une-ville svg { display: block; width: 100%; height: auto; }
.une-ville figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.une-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 0; padding: 0; list-style: none; }
.une-points li { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; }
.une-points li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--or); flex: none; }
.filet-ville { height: 14px; background: linear-gradient(90deg, var(--bleu) 0 33.33%, #fff 33.33% 66.66%, var(--rouge) 66.66%); }

/* Bandes et teintes */
.bande-teinte { background: var(--teinte); }
.bande-sombre { background: var(--sombre); }
.bande-bleu { background: var(--bleu); color: #fff; }
.bande-bleu h2 { color: #fff; }
.bande-bleu p, .bande-bleu li { color: #E6ECFA; }
.bande-bleu a { color: #fff; }
.surtitre { color: var(--bleu); }
h2 { position: relative; }
.titre-rouge::after { content: ""; display: block; width: 56px; height: 5px; border-radius: 3px; background: var(--or); margin-top: 10px; }
.carte-bloc, .avis li, .prochain, .dates, .recap { border-radius: 18px; }

/* Les cas de figure (probatoire, lettre 48N, etc.) */
.cas-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 22px 0 0; padding: 0; list-style: none; }
.cas-carte { background: var(--surface); border: 1px solid var(--trait); border-top: 5px solid var(--bleu); border-radius: 14px; padding: 20px 22px; box-shadow: var(--ombre); }
.cas-carte:nth-child(2) { border-top-color: var(--rouge); }
.cas-carte:nth-child(3) { border-top-color: var(--or); }
.cas-carte h3 { margin-bottom: .3em; }
.cas-carte p { color: var(--doux); margin: 0 0 .6em; }
.cas-carte a { font-weight: 700; color: var(--bleu); }
.deroule { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 18px 0 0; }
.deroule > div { background: var(--surface); border: 1px solid var(--trait); border-left: 5px solid var(--rouge); border-radius: 14px; padding: 18px 22px; }
.deroule h3 { margin-bottom: .2em; }
.deroule p { margin: 0; color: var(--doux); }
.pied { background: var(--sombre); color: var(--sur-sombre-doux); border-top: 0; }
.pied a { color: var(--sur-sombre); }
.pied-titre { color: #fff; }
.pied .marque { color: #fff; }
.pied .marque-nom span { color: #FF8294; }
.pied-liens { border-top-color: #2B3C6B; }
.bulle-ecrire { background: var(--rouge); }
.bulle-moi { background: var(--bleu); }
.recap { border-top: 5px solid var(--rouge); }
.etat-ok { background: var(--bleu-fond); color: var(--bleu); }
.venir-tel a, .bande-sombre a { color: var(--sur-sombre); }

@media (max-width: 960px) {
  .une-lyon .une-grille { grid-template-columns: 1fr; gap: 0; }
  .une-lyon .une-texte { padding-bottom: 24px; }
  .cas-grille, .deroule { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .une-lyon { padding-top: 36px; }
  .bandeau-ligne p.long { display: none; }
  .marque-pict { width: 38px; height: 38px; }
  .marque-nom b { font-size: 1rem; }
  .marque-nom span { font-size: 1.35rem; }
}

/* La bulle ne doit pas couvrir les boutons « Réserver » : elle passe à gauche. */
.bulle-ecrire { right: auto; left: max(16px, env(safe-area-inset-left)); }
