/* Heritage v1 : regles des pages pas encore refaites en v2. Ce fichier se vide a chaque etape de la refonte
   (docs/design/gabarits.md) et disparait a la fin. Charge apres site.css. */

body.v1 /* Une */
.une{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:0;border-bottom:4px solid var(--nuit)}
body.v1 .une .texte{padding:44px 40px 44px max(28px,calc((100vw - 1240px)/2 + 28px))}
body.v1 .une h1{font-size:54px;font-weight:900;letter-spacing:-.025em;line-height:1;max-width:13ch}
body.v1 .une .chapo{font-size:19px;margin:16px 0 22px;max-width:44ch;color:var(--gris)}
body.v1 .filtres{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}
body.v1 .filtres button{border:2px solid var(--relief);border-radius:999px;padding:5px 14px;font-weight:600;font-size:15px}
body.v1 .filtres button[aria-pressed=true]{background:var(--nuit);border-color:var(--nuit);color:#fff}
body.v1 .jours{display:flex;gap:0;margin:16px 0 10px;border-bottom:2px solid var(--relief)}
body.v1 .jours button{padding:8px 16px 9px;font-weight:700;margin-bottom:-2px;border-bottom:4px solid transparent}
body.v1 .jours button[aria-pressed=true]{border-bottom-color:var(--jaune)}
body.v1 .panneaux{display:grid;gap:7px}
body.v1 .panneau{display:grid;grid-template-columns:76px 1fr auto;align-items:stretch;background:var(--bleu);color:#fff;border-radius:var(--rayon);overflow:hidden;font-weight:700;transition:transform .12s}
body.v1 .panneau:hover{text-decoration:none;transform:translateX(4px)}
body.v1 .panneau time{background:var(--jaune);color:var(--nuit);font-weight:900;display:grid;place-items:center;white-space:nowrap}
body.v1 .panneau span{padding:11px 14px;line-height:1.25}
body.v1 .panneau span small{display:block;font-weight:400;font-size:14px;opacity:.9}
body.v1 .panneau em{font-style:normal;font-weight:600;font-size:14px;align-self:center;margin-right:12px;background:rgba(255,255,255,.16);border-radius:999px;padding:3px 10px;white-space:nowrap}
body.v1 .une .apres{margin-top:18px}
body.v1 .vue{position:relative;min-height:560px;background:var(--relief)}
body.v1 .vue img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
body.v1 .plaque{position:absolute;left:24px;bottom:24px;right:24px;max-width:380px;background:#fff;border-radius:var(--rayon);border-left:10px solid var(--jaune);padding:16px 18px}
body.v1 .plaque b{display:block;font-size:22px;font-weight:900;line-height:1.1;margin:2px 0 6px}
body.v1 .plaque p{font-size:15px;color:var(--gris)}
body.v1 .credit{position:absolute;right:8px;top:8px;background:rgba(20,33,61,.7);color:#fff;font-size:11px;padding:2px 7px;border-radius:3px}

body.v1 /* Départements */
.departements{background:var(--brume)}
body.v1 .departements ul{display:grid;grid-template-columns:repeat(6,1fr)}
body.v1 .departements li+li{border-left:2px solid #fff}
body.v1 .departements a{display:block;padding:18px 16px}
body.v1 .departements a:hover{background:var(--relief);text-decoration:none}
body.v1 .departements b{display:block;font-weight:800;line-height:1.15}
body.v1 .departements small{color:var(--gris);font-size:14px}

body.v1 section{padding:64px 0}

body.v1 /* Palmarès */
.palmares{background:var(--nuit);color:#fff;padding-bottom:0}
body.v1 .palmares>.cadre{display:grid;grid-template-columns:1fr 1.25fr;gap:48px;align-items:end}
body.v1 .palmares h2{font-size:44px;max-width:14ch}
body.v1 .palmares p{font-size:18px;opacity:.88;margin:14px 0 22px;max-width:42ch}
body.v1 .palmares .methode{display:inline-block;margin:18px 0 44px;color:#fff;border-bottom:2px solid var(--jaune);font-weight:600}
body.v1 .podium{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;align-items:end}
body.v1 .marche{background:var(--bleu);border-radius:var(--rayon) var(--rayon) 0 0;padding:16px 16px 22px}
body.v1 .marche.un{background:var(--jaune);color:var(--nuit);height:300px}
body.v1 .marche.deux{height:226px}body.v1 .marche.trois{height:176px}
body.v1 .marche b{display:block;font-size:76px;font-weight:900;line-height:.85}
body.v1 .marche strong{display:block;font-size:22px;font-weight:900;margin-top:10px;line-height:1.1}
body.v1 .marche small{font-size:14px}
body.v1 .suivants{background:var(--bleu);color:#fff}
body.v1 .suivants ol{display:grid;grid-template-columns:repeat(5,1fr);padding:0;margin:0;list-style:none}
body.v1 .suivants li{padding:14px 12px;font-weight:700}
body.v1 .suivants li+li{border-left:1px solid rgba(255,255,255,.25)}
body.v1 .suivants li span{display:inline-block;min-width:26px;text-align:center;background:#fff;color:var(--nuit);border-radius:4px;font-weight:900;margin-right:8px}

body.v1 /* Magazine */
.tete{display:flex;align-items:baseline;gap:20px;margin-bottom:26px}
body.v1 .tete p{color:var(--gris);margin-right:auto}
body.v1 .magazine .grille{display:grid;grid-template-columns:1.45fr 1fr;gap:40px}
body.v1 .grand img{aspect-ratio:16/9;object-fit:cover;width:100%;border-radius:var(--rayon)}
body.v1 .grand h3{font-size:38px;font-weight:900;margin:18px 0 10px;max-width:20ch}
body.v1 .grand p{font-size:18px;color:var(--gris);max-width:58ch}
body.v1 .signe{display:flex;align-items:center;gap:10px;margin-top:14px;font-size:15px}
body.v1 .signe i{flex:none;width:38px;height:38px;border-radius:50%;background:var(--jaune);display:grid;place-items:center;font-style:normal;font-weight:900;font-size:14px}
body.v1 .signe b{display:block;line-height:1.1}
body.v1 .petits li{display:grid;grid-template-columns:128px 1fr;gap:16px;padding:16px 0;border-top:2px solid var(--relief)}
body.v1 .petits li:first-child{border-top:0;padding-top:0}
body.v1 .petits img{aspect-ratio:4/3;object-fit:cover;width:100%;border-radius:var(--rayon)}
body.v1 .petits h3{font-size:20px;font-weight:800;line-height:1.15}
body.v1 .petits small{display:block;color:var(--gris);font-size:14px;margin-top:6px}
body.v1 .rubrique{display:inline-block;font-size:13px;font-weight:700;color:var(--bleu);background:var(--brume);border-radius:999px;padding:2px 10px;margin-bottom:6px}

body.v1 /* Sport-santé */
.observatoire{background:var(--brume)}
body.v1 .dispositifs{display:grid;grid-template-columns:repeat(3,1fr);gap:0;background:#fff;border-radius:var(--rayon);overflow:hidden}
body.v1 .dispositifs article{padding:26px 26px 28px}
body.v1 .dispositifs article+article{border-left:2px solid var(--brume)}
body.v1 .dispositifs .nombre{font-size:60px;font-weight:900;line-height:.9;color:var(--bleu)}
body.v1 .dispositifs h3{font-size:21px;font-weight:900;margin:10px 0 8px}
body.v1 .dispositifs p{color:var(--gris);font-size:16px;margin-bottom:12px}

body.v1 /* Actualités et données */
.actus .grille{display:grid;grid-template-columns:1.6fr 1fr;gap:48px}
body.v1 .fil li{display:grid;grid-template-columns:70px 1fr;gap:14px;padding:14px 0;border-top:2px solid var(--relief)}
body.v1 .fil time{font-weight:800;color:var(--bleu)}
body.v1 .fil h3{font-size:19px;font-weight:800;line-height:1.2}
body.v1 .fil small{color:var(--gris);font-size:14px}
body.v1 .jour{border:2px solid var(--nuit);border-radius:var(--rayon);overflow:hidden}
body.v1 .jour h3{background:var(--nuit);color:#fff;padding:12px 16px;font-size:18px;font-weight:800}
body.v1 .jour dl{margin:0}
body.v1 .jour div{display:grid;grid-template-columns:1fr auto;gap:10px;padding:13px 16px;align-items:center}
body.v1 .jour div+div{border-top:2px solid var(--relief)}
body.v1 .jour dt{font-weight:700}
body.v1 .jour dt small{display:block;font-weight:400;color:var(--gris);font-size:13px}
body.v1 .jour dd{margin:0;font-weight:800;padding:3px 12px;border-radius:999px;background:#DDF0E3;color:#1D5A37}
body.v1 .jour dd.moyen{background:#FFF1B8;color:#6B5200}
body.v1 .jour .source{font-size:13px;color:var(--gris);padding:10px 16px;border-top:2px solid var(--relief)}

body.v1 /* Annuaire */
.annuaire{background:var(--bleu);color:#fff}
body.v1 .annuaire .tete p{color:#fff;opacity:.85}
body.v1 .annuaire .suite{color:#fff}
body.v1 .familles{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
body.v1 .familles a{display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:baseline;background:#fff;color:var(--nuit);border-radius:var(--rayon);padding:16px 18px}
body.v1 .familles a:hover{text-decoration:none;background:var(--jaune)}
body.v1 .familles b{font-size:30px;font-weight:900;line-height:1;min-width:86px}
body.v1 .familles span{font-weight:700;line-height:1.2}

body.v1 /* Auteurs */
.auteurs .grille{display:grid;grid-template-columns:1fr 1fr 1.1fr;gap:36px;align-items:start}
body.v1 .auteur{display:grid;grid-template-columns:64px 1fr;gap:16px}
body.v1 .auteur i{width:64px;height:64px;border-radius:50%;background:var(--jaune);display:grid;place-items:center;font-style:normal;font-weight:900;font-size:22px}
body.v1 .auteur h3{font-size:21px;font-weight:900}
body.v1 .auteur p{color:var(--gris);font-size:16px;margin-top:4px}
body.v1 .note{border-left:10px solid var(--jaune);background:var(--brume);border-radius:var(--rayon);padding:18px 20px;font-size:16px}
body.v1 .note b{display:block;margin-bottom:4px}

body.v1 /* Appel aux clubs */
.appel{background:var(--jaune);padding:44px 0}
body.v1 .appel .cadre{display:flex;align-items:center;gap:28px;flex-wrap:wrap}
body.v1 .appel h2{font-size:30px;max-width:22ch;margin-right:auto}
body.v1 .appel .bouton{background:var(--nuit);color:#fff}
body.v1 .appel .bouton.clair{background:#fff;color:var(--nuit)}


@media (max-width:1080px){
 body.v1 .une{grid-template-columns:1fr}body.v1 .une .texte{padding:32px 28px}body.v1 .vue{min-height:320px}
 body.v1 .departements ul{grid-template-columns:repeat(3,1fr)}body.v1 .departements li:nth-child(4){border-left:0}
 body.v1 .palmares>.cadre,body.v1 .magazine .grille,body.v1 .actus .grille,body.v1 .auteurs .grille{grid-template-columns:1fr}
 body.v1 .dispositifs{grid-template-columns:1fr}body.v1 .dispositifs article+article{border-left:0;border-top:2px solid var(--brume)}
 body.v1 .familles{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
 body.v1 .une .texte{padding:26px 18px}body.v1 .une h1{font-size:38px}body.v1 h2,body.v1 .palmares h2{font-size:30px}
 body.v1 section{padding:44px 0}body.v1 .palmares{padding-bottom:0}
 body.v1 .panneau{grid-template-columns:64px 1fr}body.v1 .panneau em{display:none}
 body.v1 .departements ul{grid-template-columns:1fr 1fr}body.v1 .departements li:nth-child(odd){border-left:0}
 body.v1 .marche b{font-size:52px}body.v1 .marche strong{font-size:17px}body.v1 .marche{padding:12px 10px 16px}
 body.v1 .suivants ol{grid-template-columns:1fr}body.v1 .suivants li+li{border-left:0;border-top:1px solid rgba(255,255,255,.25)}
 body.v1 .grand h3{font-size:28px}body.v1 .petits li{grid-template-columns:96px 1fr}
 body.v1 .familles{grid-template-columns:1fr}body.v1 .tete{flex-wrap:wrap;gap:6px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto}}

body.v1 /* ===== Pages intérieures ===== */
.fil-ariane{font-size:14px;color:var(--gris);padding:16px 0 0}
body.v1 .fil-ariane a{font-weight:600;color:var(--bleu)}
body.v1 .fil-ariane li{display:inline}
body.v1 .fil-ariane li+li::before{content:"›";margin:0 8px;color:var(--gris)}
body.v1 .titre-page{padding:26px 0 34px;border-bottom:4px solid var(--nuit)}
body.v1 .titre-page h1{font-size:46px;font-weight:900;letter-spacing:-.025em;line-height:1.02;max-width:22ch}
body.v1 .titre-page .chapo{font-size:19px;color:var(--gris);margin-top:14px;max-width:62ch}
body.v1 .chiffres{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));background:var(--brume);border-radius:var(--rayon);overflow:hidden;margin:28px 0 0}
body.v1 .chiffres div{padding:18px 20px}
body.v1 .chiffres div+div{border-left:2px solid #fff}
body.v1 .chiffres b{display:block;font-size:38px;font-weight:900;line-height:1;color:var(--bleu)}
body.v1 .chiffres span{font-size:15px;color:var(--gris)}
body.v1 .bloc{padding:44px 0}
body.v1 .bloc+.bloc{border-top:2px solid var(--relief)}
body.v1 .bloc h2{font-size:30px;margin-bottom:6px}
body.v1 .bloc .sous{color:var(--gris);margin-bottom:20px}
body.v1 .adresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.v1 .adresse{border:2px solid var(--relief);border-left:10px solid var(--bleu);border-radius:var(--rayon);padding:13px 16px}
body.v1 .adresse h3{font-size:18px;font-weight:800;line-height:1.2}
body.v1 .adresse p{font-size:15px;color:var(--gris);margin-top:3px}
body.v1 .adresse .liens{display:flex;gap:16px;flex-wrap:wrap;margin-top:8px;font-size:15px;font-weight:700;color:var(--bleu)}
body.v1 .etiquettes{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}
body.v1 .etiquettes span{font-size:13px;font-weight:700;color:var(--bleu);background:var(--brume);border-radius:999px;padding:2px 10px}
body.v1 .villes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.v1 .villes a{display:flex;justify-content:space-between;gap:10px;align-items:baseline;background:var(--bleu);color:#fff;border-radius:var(--rayon);padding:11px 14px;font-weight:700}
body.v1 .villes a:hover{text-decoration:none;background:var(--nuit)}
body.v1 .villes small{font-weight:600;opacity:.9;white-space:nowrap}
body.v1 .familles.clair a{border:2px solid var(--relief)}
body.v1 .tableau{width:100%;border-collapse:collapse;font-size:16px}
body.v1 .tableau th,body.v1 .tableau td{text-align:left;padding:9px 12px;border-bottom:2px solid var(--relief)}
body.v1 .tableau td:last-child,body.v1 .tableau th:last-child,body.v1 .tableau td.n,body.v1 .tableau th.n{text-align:right;font-variant-numeric:tabular-nums}
body.v1 .tableau th{font-weight:800}
body.v1 .pages{display:flex;gap:6px;flex-wrap:wrap;margin-top:24px}
body.v1 .pages a,body.v1 .pages b{padding:7px 13px;border-radius:var(--rayon);border:2px solid var(--relief);font-weight:700}
body.v1 .pages b{background:var(--nuit);color:#fff;border-color:var(--nuit)}
body.v1 .prose{max-width:70ch;font-size:18px}
body.v1 .prose h2{font-size:28px;margin:36px 0 10px}
body.v1 .prose h3{font-size:21px;font-weight:800;margin:26px 0 8px}
body.v1 .prose p,body.v1 .prose ul,body.v1 .prose ol{margin:0 0 16px}
body.v1 .prose ul{list-style:disc;padding-left:22px}body.v1 .prose ol{padding-left:22px}
body.v1 .prose li{margin-bottom:6px}
body.v1 .prose a{color:var(--bleu);font-weight:600;border-bottom:2px solid var(--jaune)}
body.v1 .prose a:hover{text-decoration:none;border-bottom-color:var(--bleu)}
body.v1 .source-note{font-size:14px;color:var(--gris);margin-top:22px}
body.v1 .vide{border-left:10px solid var(--jaune);background:var(--brume);border-radius:var(--rayon);padding:18px 20px;max-width:70ch}
body.v1 .article-tete{padding:26px 0 0}
body.v1 .article-tete h1{font-size:44px;font-weight:900;letter-spacing:-.02em;line-height:1.05;max-width:24ch}
body.v1 .article-tete .chapo{font-size:20px;color:var(--gris);margin:14px 0;max-width:62ch}
body.v1 .article-tete time{font-size:15px;color:var(--gris)}
body.v1 .sources{border-top:2px solid var(--relief);margin-top:30px;padding-top:16px;font-size:15px;color:var(--gris)}
body.v1 .une-recherche{margin-top:22px}

body.v1 .menu.ouvert{display:flex}
@media (max-width:1080px){
 body.v1 .entete .cadre{flex-wrap:wrap}
 body.v1 .menu.ouvert{flex-basis:100%;flex-direction:column;margin:0;padding:0 0 14px}
 body.v1 .villes{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.v1 .titre-page h1,body.v1 .article-tete h1{font-size:36px}
}
@media (max-width:640px){
 body.v1 .adresses,body.v1 .villes{grid-template-columns:1fr}
 body.v1 .titre-page h1,body.v1 .article-tete h1{font-size:30px}
 body.v1 .chiffres div+div{border-left:0;border-top:2px solid #fff}
}
body.v1 .fil-ariane ol{padding:0;list-style:none;margin:0}

body.v1 /* Corrections apres relecture */
.invisible{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
body.v1 .une .titre-une{font-size:54px;font-weight:900;letter-spacing:-.025em;line-height:1;max-width:13ch}
body.v1 .defile{overflow-x:auto;-webkit-overflow-scrolling:touch}
@media (max-width:640px){body.v1 .une .titre-une{font-size:38px}body.v1 .tableau{font-size:15px}body.v1 .tableau th,body.v1 .tableau td{padding:8px 8px}}

body.v1 .dispositif{border-left-color:var(--jaune)}
body.v1 .dispositif p b{color:var(--nuit);font-weight:700}

body.v1 /* ===== Annuaire refondu : disciplines, body.v1 filtres, body.v1 page ville ===== */
.pastilles{display:flex;flex-wrap:wrap;gap:8px}
body.v1 .pastilles a,body.v1 .pastilles b{display:inline-flex;align-items:baseline;gap:8px;border:2px solid var(--nuit);border-radius:var(--rayon);padding:7px 12px;font-weight:700;line-height:1.2}
body.v1 .pastilles a:hover{background:var(--jaune);border-color:var(--jaune);text-decoration:none}
body.v1 .pastilles b{background:var(--nuit);color:#fff}
body.v1 .pastilles small{font-weight:600;font-size:14px;color:var(--gris)}
body.v1 .pastilles b small{color:#fff;opacity:.85}
body.v1 .pastilles.grandes a{background:var(--bleu);border-color:var(--bleu);color:#fff;padding:11px 16px}
body.v1 .pastilles.grandes a small{color:#fff;opacity:.9}
body.v1 .pastilles.grandes a:hover{background:var(--nuit);border-color:var(--nuit)}
body.v1 .petit-titre{font-size:20px;font-weight:800;margin:26px 0 12px}
body.v1 .filtre{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:16px}
body.v1 .filtre[hidden]{display:none}
body.v1 .filtre span{font-weight:700;margin-right:4px}
body.v1 .filtre button{border:2px solid var(--relief);border-radius:999px;padding:5px 14px;font-weight:600;font-size:15px}
body.v1 .filtre button small{color:var(--gris);font-weight:600}
body.v1 .filtre button[aria-pressed=true]{background:var(--nuit);border-color:var(--nuit);color:#fff}
body.v1 .filtre button[aria-pressed=true] small{color:#fff}
body.v1 .adresse[hidden]{display:none}
body.v1 .etiquettes .libre{background:#DDF0E3;color:#1D5A37}
body.v1 .equipement{border-left-color:var(--nuit)}
body.v1 .sommaire{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:18px;font-weight:700}
body.v1 .sommaire a{color:var(--bleu);border-bottom:2px solid var(--jaune)}
body.v1 .sommaire a:hover{text-decoration:none;border-bottom-color:var(--bleu)}
body.v1 .parcours-liste{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.v1 .parcours{display:grid;grid-template-columns:96px 1fr;background:var(--bleu);color:#fff;border-radius:var(--rayon);overflow:hidden}
body.v1 .parcours .repere{background:var(--jaune);color:var(--nuit);font-weight:900;font-size:20px;display:grid;place-items:center;text-align:center;padding:8px;line-height:1.05}
body.v1 .parcours div{padding:13px 16px}
body.v1 .parcours h3{font-size:18px;font-weight:800;line-height:1.2}
body.v1 .parcours p{font-size:15px;opacity:.92;margin-top:4px}
body.v1 .parcours .ou{font-weight:600}
body.v1 .parcours .suite{color:#fff;font-size:15px;display:inline-block;margin-top:8px}
body.v1 .agenda li{display:grid;grid-template-columns:96px 1fr;gap:14px;padding:12px 0;border-top:2px solid var(--relief)}
body.v1 .agenda time{font-weight:900;color:var(--bleu);line-height:1.15}
body.v1 .agenda h3{font-size:18px;font-weight:800}
body.v1 .agenda p{font-size:15px;color:var(--gris)}
body.v1 .repli summary{cursor:pointer;font-weight:700;color:var(--bleu);margin-top:18px}
body.v1 .repli[open] summary{margin-bottom:12px}
body.v1 .resultats{display:grid;gap:8px;margin-top:24px;max-width:760px}
body.v1 .resultats a{display:flex;justify-content:space-between;gap:14px;align-items:baseline;border:2px solid var(--relief);border-left:10px solid var(--bleu);border-radius:var(--rayon);padding:12px 16px;font-weight:800}
body.v1 .resultats a:hover{text-decoration:none;border-color:var(--nuit)}
body.v1 .resultats small{font-weight:600;color:var(--gris);white-space:nowrap}
body.v1 .titre-page .cherche{margin-top:22px;max-width:560px}

@media (max-width:1080px){body.v1 .parcours-liste{grid-template-columns:1fr}}
@media (max-width:640px){body.v1 .parcours{grid-template-columns:78px 1fr}body.v1 .parcours .repere{font-size:17px}body.v1 .agenda li{grid-template-columns:76px 1fr}}
body.v1 [id]{scroll-margin-top:96px}
body.v1 .adresses{align-items:start}
body.v1 .adresses.trois{grid-template-columns:repeat(3,minmax(0,1fr))}
body.v1 .adresses.quatre{grid-template-columns:repeat(4,minmax(0,1fr))}
body.v1 .compact .adresse{padding:10px 14px}
body.v1 .compact .adresse h3{font-size:16px}
body.v1 .compact .adresse p{font-size:14px}
@media (max-width:1080px){body.v1 .adresses.trois,body.v1 .adresses.quatre{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){body.v1 .adresses.trois,body.v1 .adresses.quatre{grid-template-columns:1fr}}
body.v1 .adresse,body.v1 .parcours,body.v1 .resultats a{overflow-wrap:anywhere}
body.v1 .detail summary{cursor:pointer;font-weight:700;color:var(--bleu);font-size:15px;margin-top:8px}
body.v1 .detail[open] summary{margin-bottom:4px}
@media (max-width:640px){body.v1 .compact .adresse p{display:none}body.v1 .titre-page .chapo{font-size:17px}body.v1 .sommaire{gap:6px 14px;font-size:15px}}
@media (max-width:640px){body.v1 .chiffres{grid-template-columns:1fr 1fr}body.v1 .chiffres div{padding:14px 14px}body.v1 .chiffres div+div{border-top:0;border-left:0}body.v1 .chiffres div{border-top:2px solid #fff;border-left:2px solid #fff}body.v1 .chiffres b{font-size:30px}body.v1 .chiffres span{font-size:14px}}

body.v1 /* Palmarès (page) */
.avertissement{background:var(--jaune);color:var(--nuit);border-radius:var(--rayon);padding:12px 16px;margin-top:8px;font-size:16px}
body.v1 .note-ville{display:grid;grid-template-columns:120px 1fr;gap:20px;align-items:start;margin-top:22px;padding:18px;border:2px solid var(--relief);border-radius:var(--rayon)}
body.v1 .note-ville h3{font-size:22px;font-weight:900}
body.v1 .note-ville p+p{margin-top:8px}
body.v1 .note{display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--nuit);color:#fff;border-radius:var(--rayon);padding:12px 8px;line-height:1}
body.v1 .note b{font-size:44px;font-weight:900}body.v1 .note span{font-size:13px;margin-top:4px;opacity:.85}
body.v1 .classement{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
body.v1 .classement li{border:2px solid var(--relief);border-radius:var(--rayon);padding:14px;min-width:0}
body.v1 .classement li:first-child{border-color:var(--jaune)}
body.v1 .tete-note{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;margin-bottom:10px}
body.v1 .tete-note .rang{font-size:34px;font-weight:900;color:var(--bleu);line-height:1}
body.v1 .tete-note h3{font-size:20px;font-weight:900;line-height:1.15}
body.v1 .tete-note .note{padding:8px 10px}body.v1 .tete-note .note b{font-size:28px}
body.v1 .composantes td{font-size:14px;padding:6px 4px;vertical-align:top}
body.v1 .composantes td:first-child{font-weight:700}
body.v1 .podium-tranches{margin:0 0 44px;color:#fff;font-size:15px;opacity:.9}
body.v1 .palmares .marche a{color:inherit}
@media (max-width:900px){body.v1 .classement{grid-template-columns:1fr}}
@media (max-width:640px){body.v1 .note-ville{grid-template-columns:1fr}body.v1 .note-ville .note{flex-direction:row;gap:8px;justify-content:flex-start;padding:10px 14px}body.v1 .note-ville .note b{font-size:34px}}
body.v1 .suivants ol.premieres{grid-template-columns:repeat(3,1fr)}
body.v1 .suivants .premieres a{color:#fff}
body.v1 .suivants .premieres small{display:block;font-weight:400;font-size:13px;opacity:.85;margin-top:4px}
@media (max-width:640px){body.v1 .suivants ol.premieres{grid-template-columns:1fr}body.v1 .suivants .premieres li+li{border-left:0;border-top:1px solid rgba(255,255,255,.25)}}
body.v1 .note-ville.sans-note{grid-template-columns:1fr}
body.v1 .composantes tr.total td{font-weight:900;border-top:2px solid var(--nuit)}
body.v1 .agenda .cycle{color:var(--bleu);font-weight:700}


body.v1 /* Index alphabetique des communes */
.tri{font-size:15px;margin-bottom:14px;color:var(--gris)}
body.v1 .tri a,body.v1 .tri b{margin-left:8px}body.v1 .tri a{color:var(--bleu);font-weight:700;border-bottom:2px solid var(--jaune)}
body.v1 .tri b{color:var(--nuit)}
body.v1 /* Barre de lettres : une seule ligne a toutes les largeurs (defilement horizontal si besoin), body.v1 collee sous l'en-tete.
   Les hauteurs reelles de l'en-tete et de la barre sont mesurees par le script de page (variables ci-dessous) ;
   les valeurs par defaut valent pour un navigateur sans JavaScript. */
:root{--haut-entete:80px;--haut-alpha:52px}
body.v1 .alphabet{display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;gap:4px;margin-bottom:18px;position:sticky;top:var(--haut-entete);background:#fff;padding:8px 0;z-index:5}
body.v1 .alphabet a,body.v1 .alphabet span{flex:0 0 auto}
body.v1 .alphabet a,body.v1 .alphabet span{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;border-radius:var(--rayon);font-weight:800}
body.v1 .alphabet a{background:var(--bleu);color:#fff}body.v1 .alphabet a:hover{background:var(--nuit);text-decoration:none}
body.v1 .alphabet span{background:var(--brume);color:#9AA5B8}
body.v1 .lettre{display:grid;grid-template-columns:48px 1fr;gap:12px;padding:12px 0;border-top:2px solid var(--relief);scroll-margin-top:calc(var(--haut-entete) + var(--haut-alpha) + 12px)}
body.v1 .lettre h3{font-size:28px;font-weight:900;color:var(--bleu)}
body.v1 .lettre ul{columns:4 200px;column-gap:24px}
body.v1 .lettre li{break-inside:avoid;padding:3px 0}
body.v1 .lettre li a{font-weight:700}body.v1 .lettre small{color:var(--gris)}
body.v1 .sorties .villes{margin-top:10px}
body.v1 /* Retour en haut */
.retour-haut{margin:36px auto 0;font-size:15px}body.v1 .retour-haut a{color:var(--bleu);font-weight:700}
body.v1 .vers-haut{position:fixed;right:16px;bottom:16px;background:var(--nuit);color:#fff;font-weight:800;border-radius:999px;padding:10px 16px;z-index:30;box-shadow:0 2px 8px rgba(0,0,0,.2)}
body.v1 .vers-haut:hover{text-decoration:none;background:var(--bleu)}
@media (max-width:640px){:root{--haut-entete:0px;--haut-alpha:46px}body.v1 .alphabet a,body.v1 .alphabet span{min-width:30px;height:30px;font-size:14px}body.v1 .lettre{grid-template-columns:32px 1fr}body.v1 .lettre h3{font-size:22px}body.v1 .lettre ul{columns:1}}
body.v1 .note-google{font-weight:700;color:var(--nuit);font-size:15px}body.v1 .note-google small{font-weight:400;color:var(--gris)}
body.v1 .etiquettes .mairie{background:var(--vert);color:#fff}
body.v1 /* Mode admin */
.barre-admin{background:#FFF4C2;border-bottom:2px solid var(--jaune);font-size:14px;padding:6px 0}
body.v1 .barre-admin a{color:var(--bleu);font-weight:700;margin:0 4px}body.v1 .barre-admin b{margin:0 4px}
body.v1 .admin-note{font-size:14px;background:#FFF4C2;border-radius:4px;padding:2px 6px}
body.v1 .admin-note .peu{color:#B00020;font-weight:700}
body.v1 .admin-resume{background:#FFF4C2;padding:14px 18px;border-radius:var(--rayon)}
body.v1 /* Lien d'evitement, body.v1 visible au clavier */
.evitement{position:absolute;left:-9999px;top:0;background:var(--jaune);color:var(--nuit);font-weight:800;padding:10px 16px;z-index:100}
body.v1 .evitement:focus{left:12px;top:12px}
body.v1 main:focus{outline:none}
body.v1 .bloc .cherche,body.v1 .titre-page .cherche{max-width:640px}
body.v1 .une>*{min-width:0}
