/* Feuille de style commune : maquette 3, direction « Plan de lignes ». Les couleurs et la police sont des variables : la direction visuelle se règle ici, en tête. */
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/polices/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/polices/public-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/polices/public-sans-latin-800-normal.woff2") format("woff2"); }

:root {
  --bg: #F2F4F7;
  --ink: #14213D;
  --mut: #4A566E;
  --trait: #8590A8;
  --bleu: #0A5BD3;
  --vert: #00A36C;
  --orange: #F26B1D;
  --magenta: #C2185B;
  --jaune: #F2B705;
  --cyan: #00A0C6;
  --f: "Public Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--f); }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-weight: 800; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
summary::-webkit-details-marker { display: none; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.evitement { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 60; font-weight: 700; }
.evitement:focus { left: 8px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border: 2px solid var(--ink); background: var(--c, var(--bleu)); color: var(--on, #fff); font: 700 16px/1.2 var(--f); padding: 10px 20px; border-radius: 3px; text-decoration: none; cursor: pointer; text-align: center; }
.btn:hover { background: var(--ink); color: #fff; }
.btn.wa { --c: var(--vert); --on: var(--ink); }
.btn.petit { min-height: 44px; padding: 8px 14px; font-size: 15px; }
.btn.gros { min-height: 54px; font-size: 18px; width: 100%; }
.lien { font-weight: 700; color: var(--bleu); text-underline-offset: 3px; }
.lien:hover { color: var(--ink); }

/* En-tête : le bandeau des six couleurs, puis le logo, le menu et les boutons */
.bandeau { height: 8px; background: linear-gradient(90deg, var(--bleu) 0 16.66%, var(--vert) 16.66% 33.33%, var(--orange) 33.33% 50%, var(--jaune) 50% 66.66%, var(--cyan) 66.66% 83.33%, var(--magenta) 83.33% 100%); }
.entete { background: #fff; border-bottom: 2px solid var(--ink); position: relative; z-index: 40; }
.entete-interieur { display: flex; align-items: center; gap: 12px; min-height: 66px; position: relative; }
/* Le lien du logo disparaît tant que l'accueil n'est pas produit : la classe est sur l'enveloppe. */
.logo { display: block; line-height: 0; margin-right: auto; min-width: 0; }
.logo a { display: block; }
.logo img { height: 34px; width: auto; display: block; }
.nav-d { display: flex; align-items: center; gap: 2px; }
.nav-d > li > a, .nav-d summary { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 11px; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; list-style: none; border-bottom: 3px solid transparent; }
.nav-d > li > a:hover, .nav-d summary:hover, .nav-d details[open] summary { border-bottom-color: var(--orange); }
.nav-d summary::after { content: ""; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid var(--ink); }
.nav-d details[open] summary::after { transform: rotate(180deg); }
.mega { position: absolute; left: 24px; right: 24px; top: 100%; background: #fff; border: 2px solid var(--ink); padding: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 18px; z-index: 45; }
.stop { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 10px; font-weight: 700; font-size: 15.5px; line-height: 1.25; text-decoration: none; border: 2px solid transparent; }
.stop::before { content: ""; flex: none; width: 14px; height: 14px; border: 4px solid var(--c, var(--ink)); border-radius: 50%; background: #fff; }
.stop:hover { border-color: var(--ink); }
.stop:hover::before { background: var(--c, var(--ink)); }
.entete-cta { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.tel { font-weight: 800; font-size: 17px; text-decoration: none; white-space: nowrap; margin-right: 6px; }
.tel:hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; }
.m-menu { display: none; }
.m-menu summary { display: flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 3px; font-weight: 700; cursor: pointer; list-style: none; }
.m-menu[open] summary { background: var(--ink); color: #fff; }
.m-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); max-height: calc(100vh - 150px); overflow: auto; padding: 8px 18px 20px; }
.m-panel .g { font-weight: 800; margin: 14px 0 2px; font-size: 15px; }
.m-panel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.m-panel li > a:not(.stop) { display: flex; align-items: center; min-height: 44px; padding: 6px 10px; font-weight: 700; font-size: 15.5px; line-height: 1.25; text-decoration: none; }

/* Fil d'Ariane */
.ariane { padding-top: 18px; }
.ariane ol { display: flex; flex-wrap: wrap; gap: 0 4px; font-size: 15px; }
.ariane li { display: flex; align-items: center; }
.ariane li + li::before { content: ""; width: 8px; height: 8px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: rotate(45deg); margin: 0 10px 0 4px; }
.ariane a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.ariane [aria-current] { font-weight: 800; }

/* Mise en page des pages de contenu : titre, fiche de devis à droite, corps. Une colonne sans fiche. */
.pg { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 0 56px; align-items: start; padding-top: 12px; padding-bottom: 72px; }
.pg-seul { grid-template-columns: minmax(0, 860px); }
.pg h1 { font-size: clamp(30px, 3.3vw, 47px); }
.pg-t { grid-column: 1; grid-row: 1; }
.pg-c { grid-column: 1; grid-row: 2; padding-top: 28px; }
.pg-a { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 16px; }
/* La photo de tête de page (3:2 sur téléphone, 2:1 dès 700 px) et celle du corps de la flotte (3:2 entière) */
.pg-v { margin: 0 0 24px; }
.pg-v img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 50%; background: var(--ink); border: 2px solid var(--ink); border-radius: 6px; }
.prose > .pg-v + h2 { margin-top: 28px; }
@media (min-width: 700px) { .pg-v img { aspect-ratio: 2 / 1; } }
.pg-v.pg-v-corps { margin: 0 0 20px; }
.pg-v.pg-v-corps img { aspect-ratio: 3 / 2; }
.accroche { margin-top: 20px; font-size: 21px; font-weight: 700; line-height: 1.35; border-left: 8px solid var(--orange); padding-left: 16px; }

/* Fiche de devis */
.fiche-card { background: #fff; border: 2px solid var(--ink); border-radius: 6px; overflow: hidden; }
.fiche-card .bandeau { height: 12px; }
/* L'ancre #devis ne s'arrête ni contre le haut de l'écran ni sous la barre du bas. */
#devis { scroll-margin: 16px 0 72px; }
.fiche { padding: 22px 24px 18px; }
.fiche fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.fiche fieldset:disabled { opacity: .55; }
.f-titre { font-weight: 800; font-size: 23px; line-height: 1.2; }
.f-sous { color: var(--mut); font-size: 15.5px; margin: 4px 0 16px; }
.grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.grille .pleine { grid-column: 1 / -1; }
label { display: block; font-weight: 700; font-size: 15px; line-height: 22px; margin-bottom: 5px; }
input { width: 100%; height: 50px; border: 2px solid var(--ink); border-radius: 3px; background: #fff; color: var(--ink); font: 400 16.5px var(--f); padding: 0 14px; }
input::placeholder { color: #5F6B84; opacity: 1; }
input:focus-visible { outline: 3px solid var(--bleu); outline-offset: 2px; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-bas { margin-top: 16px; }
.f-aide { display: block; margin-top: 4px; color: var(--mut); font-size: 14px; line-height: 1.35; }
/* Un champ invalide se voit à la couleur et à un trait épais, pas à la couleur seule. */
.fiche input:user-invalid, .fiche select:user-invalid, .fiche textarea:user-invalid { border-color: #B3261E; box-shadow: inset 0 -4px 0 #B3261E; }
.f-note { margin-top: 10px; color: var(--mut); font-size: 14.5px; text-align: center; }
.f-wa { border-top: 3px dashed var(--ink); background: #EAEFF6; padding: 14px 24px 16px; }
.f-wa a { font-size: 15px; }

/* Bloc ligne : les arrêts de la ligne de la page */
.badge { flex: none; width: 44px; height: 44px; display: grid; place-items: center; background: var(--c); color: var(--on); font-weight: 800; font-size: 22px; border-radius: 3px; }
.ligne-mini { margin: 0 0 24px; background: #fff; border: 2px solid var(--ink); border-radius: 4px; padding: 18px 22px 22px; }
.ligne-mini .lm-t { display: flex; align-items: center; gap: 12px; font-weight: 800; margin: 0 0 6px; max-width: none; }
.ligne-mini .badge { width: 34px; height: 34px; font-size: 18px; }
.rail { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
.rail li { position: relative; padding: 42px 22px 0 0; margin: 0; }
.rail li::before { content: ""; position: absolute; top: 12px; left: 0; right: 0; height: 12px; background: var(--c); }
.rail li:first-child::before { left: 12px; }
.rail li:last-child::before { right: auto; width: 12px; }
.rail li::after { content: ""; position: absolute; top: 6px; left: 0; width: 24px; height: 24px; border: 6px solid var(--c); background: #fff; border-radius: 50%; pointer-events: none; }
.rail li:hover::after, .rail li.ici::after { background: var(--c); }
.rail strong { display: block; font-size: 18.5px; font-weight: 700; line-height: 1.25; margin-bottom: 6px; }
.rail span { display: block; font-size: 15px; color: var(--mut); }
.arrets a { text-decoration: none; display: block; }
.arrets a::after { content: ""; position: absolute; inset: 0; }
.arrets a:hover strong { text-decoration: underline; text-decoration-color: var(--c); text-decoration-thickness: 4px; text-underline-offset: 3px; }
.arrets a:focus-visible { outline-offset: -3px; }

/* Le texte des pages */
.prose h2 { font-size: clamp(26px, 2.6vw, 33px); margin: 52px 0 14px; }
.prose > h2:first-child, .prose > .ligne-mini + h2 { margin-top: 28px; }
.prose h3 { font-size: 21px; margin: 26px 0 8px; }
.prose p { margin: 0 0 16px; max-width: 68ch; }
.prose ul:not(.rail), .prose ol:not(.rail) { margin: 0 0 16px; padding-left: 1.4em; max-width: 68ch; }
.prose ul:not(.rail) { list-style: disc; }
.prose ol:not(.rail) { list-style: decimal; }
/* :where() garde cette règle au poids d'un « .prose .liste li » : celui d'une liste qui remet margin et padding à 0 l'emporte */
.prose :where(ul, ol):not(.rail) li { margin: 4px 0; padding-left: 4px; }
.prose a { font-weight: 700; color: var(--bleu); text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose .arrets a { color: var(--ink); font-weight: 400; }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 16px; background: #fff; }
.prose caption { caption-side: top; text-align: left; color: var(--mut); font-size: 15px; padding: 0 0 8px; }
.prose th, .prose td { border: 2px solid var(--trait); padding: 10px 12px; text-align: left; vertical-align: top; }
.tableau-defile { overflow-x: auto; margin: 20px 0; }
.tableau-defile:focus-visible { outline-offset: 0; }
.tableau-defile > table { margin: 0; }
.prose th { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }
.prose details { max-width: 68ch; border-top: 2px solid var(--ink); }
.prose details:last-of-type { border-bottom: 2px solid var(--ink); }
.prose summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 19px; padding: 16px 52px 16px 0; position: relative; line-height: 1.3; min-height: 44px; }
/* Le chevron du résumé : il pointe vers le bas, et vers le haut quand le bloc est ouvert. */
.prose summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border: solid var(--ink); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.prose details[open] > summary::after { margin-top: -3px; transform: rotate(-135deg); }
.prose details p { padding: 0 0 18px; margin: 0; color: var(--mut); }

/* Pied de page */
.pied { background: var(--ink); color: #fff; }
.pied .bandeau { height: 10px; }
.pied :focus-visible { outline-color: #fff; }
.pied-interieur { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 32px; padding-top: 48px; padding-bottom: 40px; align-items: start; }
.pied-marque { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px 56px; }
.pied-marque img { height: 36px; width: auto; display: block; }
.pied-coordonnees p { color: #C9D2E4; margin-bottom: 4px; }
.pied-coordonnees a { color: #fff; font-weight: 700; }
.pied-coordonnees .pied-nom { font-weight: 800; color: #fff; }
.pied-titre { font-weight: 800; margin-bottom: 6px; }
.pied ul a { display: block; padding: 9px 0; font-weight: 700; font-size: 15.5px; text-decoration: none; line-height: 1.3; }
.pied ul a:hover { text-decoration: underline; text-decoration-color: var(--jaune); text-decoration-thickness: 3px; }

/* Barre fixe en bas, sur téléphone */
.barre { display: none; }

/* Adaptation */
@media (max-width: 1100px) {
  .nav-d, .entete-cta { display: none; }
  .m-menu { display: block; }
}
@media (max-width: 959px) {
  .pg { grid-template-columns: minmax(0, 1fr); }
  .pg-t, .pg-c, .pg-a { grid-column: 1; grid-row: auto; }
  .pg-a { position: static; margin-top: 24px; order: 2; }
  .pg-t { order: 1; }
  .pg-c { order: 3; }
  .pg .accroche { font-size: 18px; }
}
/* Même seuil que l'en-tête : dès que ses boutons disparaissent, la barre les remplace. */
@media (max-width: 1100px) {
  .barre { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 2px solid var(--ink); }
  .barre a { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 4px 6px; font-weight: 700; font-size: 15px; text-decoration: none; text-align: center; border-left: 2px solid var(--ink); line-height: 1.15; }
  .barre a:first-child { border-left: 0; }
  .b-appel { background: var(--ink); color: #fff; }
  .b-whatsapp { background: var(--vert); color: var(--ink); }
  .b-devis { background: var(--bleu); color: #fff; }
  .barre:has(.b-devis:only-child) .b-devis { font-size: 17px; }
  /* Clavier ouvert (un champ a le focus) : la barre laisse la place au formulaire. */
  body:has(form :is(input, select, textarea):focus) .barre { display: none; }
  body:has(.barre) { padding-bottom: 58px; }
}
@media (max-width: 699px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 18px; }
  .logo img { height: 28px; }
  .entete-interieur { gap: 10px; }
  .mega { left: 18px; right: 18px; }
  .m-panel ul { grid-template-columns: 1fr; }
  .pg h1 { font-size: 29px; }
  .fiche { padding: 18px 16px 14px; }
  .f-wa { padding: 14px 16px 16px; }
  .f-titre { font-size: 21px; }
  .grille { gap: 12px; }
  .fiche input { padding: 0 10px; font-size: 16px; }
  .f-sous { margin-bottom: 12px; }
  .rail { grid-template-columns: 1fr; }
  .rail li { padding: 0 0 26px 50px; }
  .rail li::before { top: 0; bottom: 0; left: 6px; right: auto; width: 12px; height: auto; }
  .rail li:first-child::before { left: 6px; top: 12px; }
  .rail li:last-child::before { top: 0; height: 12px; width: 12px; bottom: auto; }
  .rail li::after { top: 0; }
  .rail li:last-child { padding-bottom: 0; }
  .prose :not(.tableau-defile) > table { display: block; overflow-x: auto; }
  .prose summary { font-size: 18px; }
  .ariane ol { font-size: 14.5px; }
  .pied-interieur { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
}

/* Accueil */
.acc-origine { display: inline-block; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 3px; margin: 4px 0 6px; }
.prose .acc-origine strong { color: var(--jaune); margin-right: 10px; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.acc-ligne { margin: 18px 0 0; padding: 18px 22px 24px; background: #fff; border: 2px solid var(--ink); border-top: 12px solid var(--c); border-radius: 4px; }
.acc-ligne .rail { --n: 3; }
.acc-ligne.n2 .rail { --n: 2; }
.acc-ligne.n4 .rail { --n: 4; }
.acc-ligne.n5 .rail { --n: 5; }
@media (min-width: 700px) and (max-width: 959px) {
  .acc-ligne.n5 .rail, .acc-ligne.n4 .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.l-a { --c: var(--bleu); --on: #fff; }
.l-b { --c: var(--vert); --on: var(--ink); }
.l-c { --c: var(--orange); --on: var(--ink); }
.l-d { --c: var(--magenta); --on: #fff; }
.l-e { --c: var(--jaune); --on: var(--ink); }
.l-f { --c: var(--cyan); --on: var(--ink); }
.prose .acc-ligne h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 4px; font-size: 21px; }
.acc-ligne .badge { width: 34px; height: 34px; font-size: 18px; }
.prose ul.acc-departs { list-style: none; padding: 0; max-width: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px 12px; }
.prose .acc-departs li { margin: 0; padding: 0; }
.prose .acc-departs a { background: #fff; border: 2px solid var(--ink); border-radius: 3px; color: var(--ink); }
.prose .acc-departs a:hover { background: var(--ink); color: #fff; }
.prose .acc-departs a:hover::before { background: #fff; }
.acc-devis { margin: 8px 0 0; }
.prose .acc-devis a.btn { color: var(--on, #fff); }
.prose .acc-devis a.btn:hover { color: #fff; }

/* Formulaire de devis */
.fiche select, .fiche textarea { width: 100%; border: 2px solid var(--ink); border-radius: 3px; background: #fff; color: var(--ink); font: 400 16.5px var(--f); }
.fiche select { height: 50px; padding: 0 12px; }
.fiche textarea { min-height: 140px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.fiche select:focus-visible, .fiche textarea:focus-visible { outline: 3px solid var(--bleu); outline-offset: 2px; }
.fiche textarea::placeholder { color: #5F6B84; opacity: 1; }
.fiche-large { max-width: 860px; margin: 8px 0 40px; }
.fiche-large .grille { grid-template-columns: minmax(0, 1fr); }
.prose .fiche-large p { max-width: none; }
.prose .fiche-large .f-sous { margin: 4px 0 18px; }
.prose .fiche-large .f-note { margin: 10px 0 0; }
.prose .fiche-large .f-wa a { font-size: 16px; }
.prose a.btn { text-decoration: none; color: var(--on, #fff); }
.prose a.btn:hover { color: #fff; }
.contact-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 0 0 8px; max-width: 860px; }
.contact-bloc { background: #fff; border: 2px solid var(--ink); border-radius: 4px; padding: 16px 20px 6px; }
.prose .contact-bloc h2 { font-size: 20px; margin: 0 0 6px; }
.prose .contact-bloc p { margin: 0 0 12px; overflow-wrap: anywhere; }
@media (min-width: 700px) {
  .fiche-large .fiche { padding: 28px 32px 24px; }
  .fiche-large .grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
  .fiche-large .f-wa { padding: 16px 32px 18px; }
}

/* Bas de page : le plan des lignes (départs et guides), le tableau des départs (besoins et destinations) */
.bloc-bas { padding-bottom: 72px; }
.prose.bloc-bas h2 { margin-top: 0; }
.plan { margin-top: 18px; background: #fff; border: 2px solid var(--ink); border-radius: 6px; padding: 8px 10px 6px; }
.plan svg { display: block; width: 100%; height: auto; }
.plan-zones { opacity: .55; }
.plan-zones circle { fill: none; stroke: var(--trait); stroke-width: 2; stroke-dasharray: 3 9; stroke-linecap: round; }
.plan-trait { fill: none; stroke: var(--c); stroke-width: 14; stroke-linejoin: round; stroke-linecap: round; }
.plan text { font-family: var(--f); fill: var(--ink); font-weight: 700; }
.plan-b { fill: var(--c); stroke: var(--ink); stroke-width: 3; }
.plan .plan-bl { font-size: 20px; font-weight: 800; fill: var(--on); }
.plan-t { font-size: 18px; }
.plan-s { fill: #fff; stroke: var(--ink); stroke-width: 6; }
.plan a { cursor: pointer; }
.plan a:hover .plan-s, .plan a:focus-visible .plan-s, .plan-ici .plan-s { fill: var(--c); }
.plan a:hover .plan-t, .plan a:focus-visible .plan-t { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.plan a:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.plan .plan-ici .plan-t { font-weight: 800; }
.plan-hub circle { fill: #fff; stroke: var(--ink); stroke-width: 9; }
g.plan-hub circle, a.plan-hub:hover circle, a.plan-hub:focus-visible circle { fill: var(--jaune); }
.plan .plan-hd { font-size: 13px; letter-spacing: .12em; fill: var(--mut); }
.plan-hn { font-size: 21px; font-weight: 800; }
.prose ul.plan-legende { list-style: none; padding: 0; margin: 14px 0 0; max-width: none; display: flex; flex-wrap: wrap; gap: 8px 26px; }
.prose .plan-legende li { margin: 0; padding: 0; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; }
.plan-legende .badge { width: 32px; height: 32px; font-size: 17px; }
.plan-liste { display: none; }
.tableau-mini { background: #0F192E; color: #fff; border: 3px solid var(--ink); border-radius: 6px; padding: 18px 22px 16px; }
.tableau-mini :focus-visible { outline-color: #fff; }
.tm-entete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px; padding-bottom: 10px; border-bottom: 3px solid var(--jaune); }
.prose .tm-entete h2 { color: var(--jaune); font-size: clamp(22px, 2.2vw, 28px); text-transform: uppercase; letter-spacing: .08em; }
.prose .tm-entete a { color: #fff; }
.prose ul.tm-liste { list-style: none; margin: 4px 0 0; padding: 0; max-width: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 0 28px; }
.prose ul.tm-liste li { display: flex; align-items: center; gap: 12px; margin: 0; padding: 2px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.tm-lettre { flex: none; display: grid; place-items: center; width: 30px; height: 30px; font-weight: 800; font-size: 16px; color: var(--on); background: var(--c); border-radius: 3px; }
.prose .tm-liste a { display: flex; align-items: center; min-height: 44px; color: var(--jaune); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.prose .tm-liste a:hover { color: #fff; }
.tm-liste .ici { min-height: 48px; }
.tm-ici { margin-left: auto; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #C9D2E4; }
@media (max-width: 959px) {
  .plan, .prose ul.plan-legende { display: none; }
  .plan-liste { display: block; }
}
@media (max-width: 699px) {
  .tableau-mini { padding: 14px 14px 12px; }
}

/* Date de mise à jour d'un guide, sous le titre */
.maj { margin-top: 14px; color: var(--mut); font-size: 15px; }

/* Sommaire « Sur cette page » : replié, sauf où le navigateur sait garder le contenu d'un <details> visible (ordinateur) */
.prose .sommaire { margin: 28px 0 8px; }
.prose .sommaire details { max-width: none; background: #fff; border: 2px solid var(--ink); border-radius: 4px; padding: 0 22px; }
.prose .sommaire summary { font-size: 18px; padding: 12px 40px 12px 0; }
.prose .sommaire ol { margin: 0 0 16px; padding-left: 1.4em; max-width: none; }
.prose .sommaire a { font-weight: 400; }
@media (min-width: 960px) {
  @supports selector(::details-content) {
    .sommaire details::details-content { content-visibility: visible; }
    .prose .sommaire summary { pointer-events: none; cursor: default; }
    .prose .sommaire summary::after { display: none; }
    .prose .sommaire ol { columns: 2; column-gap: 40px; }
    .prose .sommaire li { break-inside: avoid; }
  }
}

/* /devis/ : les champs facultatifs, regroupés sous un résumé */
.prose .f-plus { max-width: none; margin-top: 18px; border-top: 2px solid var(--trait); }
.prose .f-plus:last-of-type { border-bottom: 0; }
.prose .f-plus summary { font-size: 17px; padding: 14px 40px 14px 0; }
.f-plus .grille { padding: 4px 0 6px; }
