/* www.cer-v-permisapoints.fr — la feuille de style du site CER-V
   (24/09/2026). Née de celle d'icistages.com, même ossature, mais aux
   couleurs du logo CER : le noir de ses lettres, le rouge de sa coche.
   Le rouge revient sur le point de la carte, sur « à Vénissieux », sur
   les étoiles des avis et quand il ne reste presque plus de places ;
   nulle part ailleurs. */

@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: #F6F5F3;
  --surface: #FFFFFF;
  --teinte: #ECEAE6;
  --encre: #1B1B1F;
  --doux: #5B5A60;
  --trait: #DBD9D4;
  --rouge: #D7262F;
  --rouge-fond: #FBE9EA;
  --vert: #1D7349;
  --vert-fond: #E5F3EB;
  --ambre: #8F5400;
  --ambre-fond: #FFF2D9;
  --marque: #1B1B1F;
  --marque-texte: #FFFFFF;
  --sombre: #1B1B1F;
  --sur-sombre: #F3F2EF;
  --sur-sombre-doux: #B9B7B1;
  --carte-dep: #E6E4DF;
  --carte-dep-survol: #D9D6CF;
  --carte-trait: #F6F5F3;
  --carte-region: #1B1B1F;
  --focus: #2F6FEB;
  --ombre: 0 1px 2px rgba(27, 27, 31, .06), 0 8px 24px rgba(27, 27, 31, .07);
  --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: #131316; --surface: #1D1D21; --teinte: #232327; --encre: #F3F2EF; --doux: #B0AEA8; --trait: #35353B;
    --rouge: #FF5A62; --rouge-fond: #3A1A1C; --vert: #63D69F; --vert-fond: #123023; --ambre: #F3B75E; --ambre-fond: #33260F;
    --marque: #F3F2EF; --marque-texte: #131316; --sombre: #0C0C0E; --sur-sombre: #F3F2EF; --sur-sombre-doux: #A09E98;
    --carte-dep: #26262B; --carte-dep-survol: #313137; --carte-trait: #131316; --carte-region: #D6D4CE;
    --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: #131316; --surface: #1D1D21; --teinte: #232327; --encre: #F3F2EF; --doux: #B0AEA8; --trait: #35353B;
  --rouge: #FF5A62; --rouge-fond: #3A1A1C; --vert: #63D69F; --vert-fond: #123023; --ambre: #F3B75E; --ambre-fond: #33260F;
  --marque: #F3F2EF; --marque-texte: #131316; --sombre: #0C0C0E; --sur-sombre: #F3F2EF; --sur-sombre-doux: #A09E98;
  --carte-dep: #26262B; --carte-dep-survol: #313137; --carte-trait: #131316; --carte-region: #D6D4CE;
  --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 { 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; }

/* ==================================================================
   LA CHARTE DE WWW.CER-V.FR (29/09/2026) — Riadh : « la même charte
   graphique que www.cer-v.fr ». Montserrat, rouge CER #D0363C, corail
   #EC624B, noir #2F2F2D, fond crème #F4F4ED ; boutons en pilule,
   cartes blanches arrondies, titres en ExtraBold italique, pied sombre.
   Posé par-dessus l'ossature : les pages et les formulaires ne changent
   pas, seul l'habit change. Pas de thème sombre : www.cer-v.fr n'en a pas.
   ================================================================== */
@font-face { font-family: "Montserrat"; font-weight: 400; font-style: normal; font-display: swap; src: url("polices/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 400; font-style: italic; font-display: swap; src: url("polices/montserrat-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 500; font-style: normal; font-display: swap; src: url("polices/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-style: normal; font-display: swap; src: url("polices/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap; src: url("polices/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-style: normal; font-display: swap; src: url("polices/montserrat-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 900; font-style: normal; font-display: swap; src: url("polices/montserrat-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-style: italic; font-display: swap; src: url("polices/montserrat-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-style: italic; font-display: swap; src: url("polices/montserrat-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 900; font-style: italic; font-display: swap; src: url("polices/montserrat-latin-900-italic.woff2") format("woff2"); }

:root, :root[data-theme="dark"], :root:not([data-theme="light"]) {
  --fond: #F4F4ED; --surface: #FFFFFF; --teinte: #EBEBE2; --encre: #2F2F2D; --doux: #62625E; --trait: #DCDCD2;
  --rouge: #D0363C; --rouge-vif: #EC624B; --rouge-fond: #FBE8E7; --jaune: #F7D9A4; --jaune-fond: #FCF1DC;
  --vert: #1F6E47; --vert-fond: #E3F1E8; --ambre: #8F5400; --ambre-fond: #FFF2D9;
  --marque: #D0363C; --marque-texte: #FFFFFF; --sombre: #2F2F2D; --sur-sombre: #F4F4ED; --sur-sombre-doux: #C9C9C0;
  --carte-dep: #E6E6DC; --carte-dep-survol: #F7D9A4; --carte-trait: #FFFFFF; --carte-region: #2F2F2D;
  --focus: #1F5FD1; --rayon: 22px; --rayon-grand: 32px;
  --ombre: 0 1px 2px rgba(47, 47, 45, .06), 0 10px 30px rgba(47, 47, 45, .08);
  --titre: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --texte: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}
body { font-size: 17px; line-height: 1.6; }
a:hover { color: var(--rouge); }
h1, h2 { font-style: italic; font-weight: 800; letter-spacing: -.01em; }
h2 { color: var(--encre); }
h2 .ici, h1 .ici, .ici { color: var(--rouge-vif); }
h3 { font-weight: 800; }
.surtitre { color: var(--rouge); letter-spacing: .12em; }
.chapo { font-size: 1.08rem; }

/* Boutons en pilule, rouge CER */
.bouton { border-radius: 999px; background: var(--rouge); color: #fff; border: 2px solid var(--rouge); font-family: var(--texte); font-weight: 700; padding: 10px 22px; }
.bouton:hover { background: #B42A30; border-color: #B42A30; color: #fff; box-shadow: none; }
.bouton-eteint, .bouton-eteint:hover { background: var(--teinte); border-color: var(--teinte); color: var(--doux); }
.bouton-grand { padding: 14px 30px; }
.lien-fort { text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.lien-fort::after { content: "→"; color: var(--rouge); }

/* L'en-tête de www.cer-v.fr */
.entete { background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 0; box-shadow: 0 1px 0 var(--trait); z-index: 10; }
.entete-ligne { gap: 20px; min-height: 76px; }
.logo-img { height: 34px; background: transparent; padding: 0; border-radius: 0; }
.menu { margin-left: auto; margin-right: 0; gap: 2px; align-items: center; }
.menu a { color: var(--encre); font-weight: 600; font-size: .92rem; padding: .5em .7em; border: 0; border-radius: 999px; }
.menu a:hover { color: var(--rouge); }
.menu a[aria-current="page"] { background: var(--rouge); color: #fff; }
.menu a.menu-espace { background: var(--encre); color: #fff; }
.menu a.menu-espace:hover { background: var(--rouge); color: #fff; }
.pastille-agence { display: grid; line-height: 1.15; text-decoration: none; background: var(--encre); color: #fff; border-radius: 14px; padding: 8px 14px; text-align: center; flex: none; }
.pastille-agence span { font-size: .64rem; font-weight: 700; letter-spacing: .08em; }
.pastille-agence b { font-size: .95rem; }
.pastille-agence:hover { background: var(--rouge); color: #fff; }
.sous-menu { background: var(--encre); }
.sous-menu-ligne { display: flex; gap: 4px; overflow-x: auto; padding-top: 6px; padding-bottom: 6px; }
.sous-menu a { color: #F4F4ED; text-decoration: none; font-size: .86rem; font-weight: 600; padding: .35em .9em; border-radius: 999px; white-space: nowrap; }
.sous-menu a:hover { color: var(--jaune); }
.sous-menu a[aria-current="page"] { background: var(--rouge-vif); color: #fff; }
@media (max-width: 1240px) { .menu a { padding: .5em .5em; font-size: .88rem; } }
@media (max-width: 1100px) {
  .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; }
}

/* L'ouverture : la carte blanche arrondie de la maquette CER */
.une { padding: 18px 0 10px; }
.une-grille { background: var(--surface); border-radius: var(--rayon-grand); box-shadow: var(--ombre); padding: clamp(18px, 3vw, 40px); }
.une h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); }
.une-carte { background: var(--fond); border-radius: 26px; padding: 18px 18px 14px; }
.carte-villes text, .carte-ici .etiquette, .carte-ici .sous-etiquette { stroke: var(--fond); }
.carte-ici .sous-etiquette, .carte-ici .point { fill: var(--rouge-vif); }
.prochain { border: 0; background: var(--jaune-fond); border-radius: var(--rayon); box-shadow: none; }
.prochain-dit { color: var(--rouge); }
.prochain-date { font-style: italic; }

/* Les bandes, les listes, les cartes */
.bande { padding: 56px 0; }
.bande-teinte { background: transparent; }
.bande-teinte > .cadre { background: var(--surface); border-radius: var(--rayon-grand); box-shadow: var(--ombre); padding-top: clamp(22px, 3vw, 40px); padding-bottom: clamp(22px, 3vw, 40px); }
.bande-teinte > .cadre.etroit { max-width: 900px; }
.bande-sombre { background: var(--encre); margin: 0 14px; border-radius: var(--rayon-grand); }
.bande-sombre h2 { color: #fff; }
.bande-sombre .venir-tel a { color: var(--rouge-vif); }
.dates { border: 0; border-radius: var(--rayon); box-shadow: var(--ombre); }
.date-cal { background: var(--jaune); border-radius: 14px; }
.date-mois { color: var(--encre); }
.date-jours { font-weight: 900; }
.date-peu .date-cal { background: var(--rouge-vif); color: #fff; }
.date-peu .date-mois { color: #fff; }
.pastille-peu { background: var(--rouge-fond); color: #9E2227; }
.etapes li::before { border: 0; background: var(--rouge); color: #fff; }
.avis li { border: 0; border-radius: var(--rayon); }
.avis-note { color: #F5B100; }
.questions summary::after { color: var(--rouge); }
.recap, .vide, .cas-choix, .choix { border-radius: var(--rayon); }
.recap { border: 0; box-shadow: var(--ombre); top: 130px; }
.choix:has(input:checked), .cas-choix:has(input:checked) { border-color: var(--rouge); background: var(--rouge-fond); }
input:not([type=radio]):not([type=checkbox]), select, textarea { border-radius: 14px; font-family: var(--texte); }
input:focus { border-color: var(--rouge); }
input[type=radio], input[type=checkbox] { accent-color: var(--rouge); }
.bulle-ecrire { background: var(--encre); color: #fff; }
.bulle-ecrire:hover { background: var(--rouge); color: #fff; }

/* Les illustrations CER */
.illus-points { display: block; width: 100%; max-width: 760px; height: auto; margin: 10px auto 24px; border-radius: var(--rayon); }
.perso-coin { float: right; width: 120px; height: auto; margin: 0 0 12px 18px; }

/* Le pied de www.cer-v.fr */
.pied { background: var(--encre); color: #D8D8CF; border: 0; margin: 40px 14px 0; border-radius: var(--rayon-grand) var(--rayon-grand) 0 0; padding: 48px 0 96px; font-size: .92rem; }
.pied a { color: #F4F4ED; }
.pied a:hover { color: var(--jaune); }
.pied-grille { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.pied-titre { color: #fff; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; margin-bottom: .6em !important; }
.pied .logo-pied { background: #fff; border-radius: 16px; padding: 10px 14px; display: inline-flex; }
.pied .logo-pied .logo-img { height: 30px; }
.pied-liens { border-top-color: rgba(255, 255, 255, .14); font-size: .84rem; }
.reseaux a { color: #F4F4ED; }
.atouts-cer { text-align: center; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.atouts-cer .atouts-titre { font-style: italic; font-weight: 800; color: var(--rouge-vif); font-size: 1.5rem; margin-bottom: 14px; }
.atouts-liste { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 36px; }
.atouts-liste img { height: 120px; width: auto; }
@media (max-width: 860px) { .pied-grille { grid-template-columns: 1fr; } .bande-sombre, .pied { margin-left: 0; margin-right: 0; } }
.cadre { max-width: 1180px; }
@media (min-width: 1101px) { .entete-ligne { gap: 12px; } .menu a { padding-left: .45em; padding-right: .45em; font-size: .84rem; } .logo-img { width: 190px; height: auto; } .pastille-agence { padding: 8px 10px; } }
