/* École fermée ou pas : base v6 (polices, boule à neige, faits, pied) reprise à la main, puis accueil v7 (section plus bas). */

@font-face { font-family: "Lilita One"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/polices-lilita-one-400.356fe06b0e.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/polices-rubik-400.510c415013.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/polices-rubik-500.da994e68bb.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/polices-rubik-600.f85b8274a4.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* École fermée ou pas v6 : « boule à neige » — réponse directe en probabilité, illustrée, avec de la neige qui tourbillonne. */
:root{
  --rose:#ffe4da; --framboise:#d6336c; --framboise2:#a8234f; --sapin:#128a74; --prune:#2b1730; --citron:#ffd23f; --verre:#c8efe9; --orange:#ff9f43;
  --titre:"Lilita One","Arial Rounded MT Bold",system-ui,sans-serif;
  --texte:"Rubik","Segoe UI",system-ui,sans-serif;
  --marge:clamp(1rem,4.5vw,3.5rem);
}
*{box-sizing:border-box}
body{margin:0;color:var(--prune);font:400 clamp(1rem,.96rem + .25vw,1.14rem)/1.5 var(--texte);background:var(--rose) url(/assets/themes-commun-grain-papier-v6.3bac60e723.png)}
a{color:inherit}
.cache{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

.bandeau{position:sticky;top:0;z-index:30;background:var(--prune);color:#fff;padding:.5rem var(--marge);font-size:.9rem;display:flex;flex-wrap:wrap;gap:.2rem .8rem}
.bandeau span{color:var(--citron)}

.marque{display:flex;align-items:center;gap:.6rem;text-decoration:none}
.marque img{border-radius:12px;box-shadow:0 4px 0 rgba(43,23,48,.18)}
.marque span{font:400 clamp(1.45rem,1.2rem + 1vw,2rem)/1 var(--titre);color:var(--prune)}


.globe svg{display:block;width:100%;height:auto;overflow:visible}
.plaque{font:400 40px var(--titre);fill:var(--prune)}
.tourbillon circle{animation:tourbillon 6s ease-in-out infinite alternate;transform-box:fill-box}
@keyframes tourbillon{0%{transform:translate(0,-30px)}50%{transform:translate(18px,40px)}100%{transform:translate(-14px,110px)}}

.boules{display:flex;flex-wrap:wrap;gap:.25rem;margin-top:1rem}
.boules .b{width:clamp(26px,2.2vw + 14px,42px);height:clamp(26px,2.2vw + 14px,42px)}
.boules .b--pleine{filter:drop-shadow(0 3px 0 rgba(43,23,48,.18))}
.boules__lib{margin:.3rem 0 0;font-size:.85rem;color:#6d5772}

/* Faits en pastilles découpées */
.faits{padding:clamp(1.5rem,4vw,3rem) var(--marge);max-width:80rem;margin:0 auto}
.faits h2,.distinct h2{margin:0 0 1rem;font:400 clamp(1.8rem,1.3rem + 2vw,3rem)/1.05 var(--titre);color:var(--prune)}
.faits h2 small{display:block;margin-top:.25rem;font:500 1rem var(--texte);color:#6d5772}
.jour h3{margin:1rem 0 .6rem;font:400 1.35rem var(--titre);color:var(--sapin)}
.jour ul{list-style:none;margin:0;padding:0;display:grid;gap:1rem;grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:760px){.jour ul{grid-template-columns:repeat(4,1fr)}}
.pastille{position:relative;padding:1.1rem 1rem 1rem;color:#fff;border-radius:58% 42% 52% 48%/46% 56% 44% 54%;aspect-ratio:1.15/1;width:100%;min-width:0;max-width:15rem;justify-self:center;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;filter:drop-shadow(0 5px 0 rgba(43,23,48,.2))}
.pastille.c1{background:var(--sapin)}
.pastille.c2{background:#3a9fd8;border-radius:44% 56% 46% 54%/56% 44% 56% 44%}
.pastille.c3{background:var(--framboise);border-radius:52% 48% 60% 40%/44% 52% 48% 56%}
.pastille.c4{background:var(--prune);border-radius:46% 54% 42% 58%/52% 46% 54% 48%}
.pastille svg{width:34px;height:34px;color:var(--citron);margin-bottom:.2rem}
.pastille b{font:400 clamp(1.5rem,1.2rem + 1vw,2.1rem)/1 var(--titre)}
.pastille span{font-size:.85rem;opacity:.92}
.jour--2 ul{gap:.6rem}
.jour--2 .pastille{max-width:11rem;padding:.7rem}
.jour--2 .pastille b{font-size:1.35rem}
.jour--2 .pastille svg{width:24px;height:24px}
.note{font-size:.82rem;color:#5a3d62;margin:.8rem 0 0}

.distinct{display:grid;grid-template-columns:1fr;gap:1.5rem;align-items:center;margin:clamp(1rem,3vw,2rem) var(--marge);padding:clamp(1.4rem,4vw,2.6rem);background:var(--citron);border-radius:36px 28px 40px 24px;box-shadow:0 6px 0 rgba(43,23,48,.18);max-width:76rem}
@media (min-width:820px){.distinct{grid-template-columns:minmax(260px,.8fr) 1.2fr;margin-left:auto;margin-right:auto}}
.distinct__illu{display:flex;align-items:center;justify-content:center;gap:.4rem}
.distinct__illu svg{width:clamp(90px,14vw,150px);height:auto;filter:drop-shadow(0 4px 0 rgba(43,23,48,.18))}
.distinct__illu .diff{width:clamp(34px,4vw,50px)}
.distinct p{max-width:50ch}
.btn{display:inline-block;margin-top:.4rem;font:400 clamp(1.1rem,1rem + .5vw,1.4rem)/1.1 var(--titre);background:var(--framboise);color:#fff;text-decoration:none;padding:.85rem 1.4rem;border:3px solid var(--prune);border-radius:999px;box-shadow:4px 5px 0 var(--prune)}
.btn:hover,.btn:focus-visible{background:var(--sapin)}

.pied{margin-top:2.5rem;color:#eadcef;font-size:.86rem}
.pied__vague{display:block;width:100%;height:clamp(24px,4vw,60px);margin-bottom:-1px}
.pied__contenu{background:var(--prune);padding:1rem var(--marge) 2rem}
.pied__contenu p{max-width:76ch;margin:0 auto .6rem}

:focus-visible{outline:3px solid var(--sapin);outline-offset:2px}

/* Flocons du globe (38), sans style en ligne */

.tourbillon circle:nth-child(1) { animation-delay: 0.0s; animation-duration: 5s; }
.tourbillon circle:nth-child(2) { animation-delay: 5.3s; animation-duration: 6s; }
.tourbillon circle:nth-child(3) { animation-delay: 4.6s; animation-duration: 7s; }
.tourbillon circle:nth-child(4) { animation-delay: 3.9s; animation-duration: 8s; }
.tourbillon circle:nth-child(5) { animation-delay: 3.2s; animation-duration: 5s; }
.tourbillon circle:nth-child(6) { animation-delay: 2.5s; animation-duration: 6s; }
.tourbillon circle:nth-child(7) { animation-delay: 1.8s; animation-duration: 7s; }
.tourbillon circle:nth-child(8) { animation-delay: 1.1s; animation-duration: 8s; }
.tourbillon circle:nth-child(9) { animation-delay: 0.4s; animation-duration: 5s; }
.tourbillon circle:nth-child(10) { animation-delay: 5.7s; animation-duration: 6s; }
.tourbillon circle:nth-child(11) { animation-delay: 5.0s; animation-duration: 7s; }
.tourbillon circle:nth-child(12) { animation-delay: 4.3s; animation-duration: 8s; }
.tourbillon circle:nth-child(13) { animation-delay: 3.6s; animation-duration: 5s; }
.tourbillon circle:nth-child(14) { animation-delay: 2.9s; animation-duration: 6s; }
.tourbillon circle:nth-child(15) { animation-delay: 2.2s; animation-duration: 7s; }
.tourbillon circle:nth-child(16) { animation-delay: 1.5s; animation-duration: 8s; }
.tourbillon circle:nth-child(17) { animation-delay: 0.8s; animation-duration: 5s; }
.tourbillon circle:nth-child(18) { animation-delay: 0.1s; animation-duration: 6s; }
.tourbillon circle:nth-child(19) { animation-delay: 5.4s; animation-duration: 7s; }
.tourbillon circle:nth-child(20) { animation-delay: 4.7s; animation-duration: 8s; }
.tourbillon circle:nth-child(21) { animation-delay: 4.0s; animation-duration: 5s; }
.tourbillon circle:nth-child(22) { animation-delay: 3.3s; animation-duration: 6s; }
.tourbillon circle:nth-child(23) { animation-delay: 2.6s; animation-duration: 7s; }
.tourbillon circle:nth-child(24) { animation-delay: 1.9s; animation-duration: 8s; }
.tourbillon circle:nth-child(25) { animation-delay: 1.2s; animation-duration: 5s; }
.tourbillon circle:nth-child(26) { animation-delay: 0.5s; animation-duration: 6s; }
.tourbillon circle:nth-child(27) { animation-delay: 5.8s; animation-duration: 7s; }
.tourbillon circle:nth-child(28) { animation-delay: 5.1s; animation-duration: 8s; }
.tourbillon circle:nth-child(29) { animation-delay: 4.4s; animation-duration: 5s; }
.tourbillon circle:nth-child(30) { animation-delay: 3.7s; animation-duration: 6s; }
.tourbillon circle:nth-child(31) { animation-delay: 3.0s; animation-duration: 7s; }
.tourbillon circle:nth-child(32) { animation-delay: 2.3s; animation-duration: 8s; }
.tourbillon circle:nth-child(33) { animation-delay: 1.6s; animation-duration: 5s; }
.tourbillon circle:nth-child(34) { animation-delay: 0.9s; animation-duration: 6s; }
.tourbillon circle:nth-child(35) { animation-delay: 0.2s; animation-duration: 7s; }
.tourbillon circle:nth-child(36) { animation-delay: 5.5s; animation-duration: 8s; }
.tourbillon circle:nth-child(37) { animation-delay: 4.8s; animation-duration: 5s; }
.tourbillon circle:nth-child(38) { animation-delay: 4.1s; animation-duration: 6s; }

/* Compléments DEV : formulaire sans JS, tableau, pages de texte, fin de semaine, état sans-js. */
:root { --encre: var(--prune); --encre-douce: #5a3d62; --filet: #f0b9c8; --police-titre: var(--titre); --accent-avert: var(--framboise); --papier: var(--rose); }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.saut { position: absolute; left: -9999px; top: 0; z-index: 100; padding: .6rem 1rem; background: var(--prune); color: #fff; }
.saut:focus { left: .5rem; top: .5rem; }
a.marque { color: inherit; text-decoration: none; width: fit-content; max-width: 100%; }
.seulement-js { display: none; }
html.js .seulement-js { display: block; }
.fin-semaine { margin: .4rem 0 0; font-weight: 700; max-width: 36rem; }
.pourquoi { margin: .45rem 0 0; font-weight: 700; }
.apres { margin: .35rem 0 0; font-size: .95rem; color: var(--encre-douce); }
.apres strong, .apres a { color: var(--encre); }
.partielle { font-style: italic; font-weight: 400; }
.alerte p { font-weight: 700; margin: 0; }
.avert { border-left: 4px solid var(--accent-avert); padding-left: 1rem; margin: 1rem var(--marge); }
.avert ul { margin: .4rem 0 0; padding-left: 1.1rem; }
.avert li { margin: .2rem 0; overflow-wrap: anywhere; }
.centres { margin: 2rem var(--marge); }
.centres h2 { margin-bottom: .8rem; font: 400 clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem) var(--titre); }
.tableau-defile { max-width: 100%; overflow-x: auto; }
.centres table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.centres th, .centres td { text-align: left; padding: .45rem .4rem; border-bottom: 1px solid var(--filet); vertical-align: top; }
.centres td { text-align: right; white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.centres thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--encre-douce); }
.centres thead th + th { text-align: right; }
.centres tr.region th { padding-top: 1rem; font-family: var(--police-titre); font-size: 1.1rem; border-bottom: 1.5px solid var(--encre); }
.centres tbody th { font-weight: 400; overflow-wrap: anywhere; }
.centres td.vide { color: var(--encre-douce); font-weight: 400; }
.liens-pied a { white-space: nowrap; }
.preprod { font-weight: 700; }
.texte { margin-top: 2.4rem; overflow-wrap: break-word; padding: 0 var(--marge); }
.texte h1 { font-family: var(--police-titre); font-weight: 400; font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); line-height: 1.1; margin: 0 0 1rem; }
.texte h2 { margin-top: 2rem; font-family: var(--police-titre); font-weight: 400; }
.texte h3 { font-family: var(--police-titre); font-weight: 400; font-size: 1.2rem; margin: 0 0 .3rem; }
.texte ul, .texte ol { padding-left: 1.3rem; }
.texte li { margin: .3rem 0; }
.texte .grand { font-size: 1.12em; font-weight: 600; }
.texte .fil { margin: 0 0 1rem; }
.texte a { overflow-wrap: anywhere; }
.analogues { list-style: none; padding: 0 !important; }
.analogues > li { border-top: 1px solid var(--filet); padding: 1rem 0; }
.analogues .resume { margin: 0 0 .4rem; color: var(--encre-douce); }
.analogues .ferme { margin: .2rem 0; font-weight: 700; }
.analogues details { margin-top: .4rem; }
.analogues summary { cursor: pointer; }
.a-verifier { font-weight: 700; font-style: italic; }
.bientot { padding: 3rem 0; }
.bientot img { margin-bottom: 1rem; }
.sous { margin: .4rem 0 0; }
.btn { max-width: 100%; }
optgroup { font-style: normal; font-weight: 700; }
select { max-width: 100%; text-overflow: ellipsis; }
img, svg { max-width: 100%; }
#contenu, main { overflow-x: clip; }

/* Contraste WCAG AA 4,5:1 : quelques teintes de la maquette étaient trop claires. */
:root { --sapin: #0c6b5b; }
.mot { color: #b01f54; }
.pastille.c2 { background: #15608e; }

html.js .seulement-sans-js { display: none; }


select{display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box}

/* ---------------------------------------------------------------------------------------------------------------------------
   École fermée ou pas : accueil v7 « la réponse d'abord » (même disposition que École demain ; go d'Alexandre, approbations.md l. 464).
   La boule à neige (pourcentage, ou « Pas d'école » sur le socle) est le premier contenu sous l'en-tête ; la localisation tient dans
   une pastille et une fenêtre modale ; le H1 reste dans le HTML, mais petit. Palette et polices de ce site conservées.
   Ce fichier est maintenu à la main : ne pas le régénérer avec scripts/preparer_visuels_v6.py.
   --------------------------------------------------------------------------------------------------------------------------- */
html.fige{overflow:hidden}
button{font-family:inherit}
.bandeau{padding:.4rem var(--marge);line-height:1.25}
@media (max-width:420px){.bandeau{font-size:.72rem;padding:.35rem .6rem;text-align:center}}

/* En-tête : marque + pastille de localisation */
.tete{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.35rem .8rem;padding:.5rem var(--marge) .1rem}
.pastille-css{display:inline-flex;align-items:center;gap:.4rem;max-width:100%;min-height:44px;padding:.3rem .5rem .3rem .75rem;background:#fff;color:var(--prune);border:3px solid var(--prune);border-radius:999px;font:600 .92rem/1.1 var(--texte);cursor:pointer;text-decoration:none;box-shadow:3px 3px 0 var(--framboise)}
.pastille-css:hover{background:#fff6f2}
.pastille-css>svg{width:18px;height:18px;flex:none;color:var(--framboise2)}
.pastille-css__lieu{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pastille-css__action{flex:none;background:var(--prune);color:#fff;border-radius:999px;padding:.28rem .7rem;font-size:.82rem}
.pastille-css__a,.pastille-css__b,.pastille-css__c{display:none}
html[data-geo-etat=detection] .pastille-css__a{display:inline}
html[data-geo-etat=choisi] .pastille-css__b{display:inline}
html[data-geo-etat=refus] .pastille-css__c,html[data-geo-etat=sans-js] .pastille-css__c{display:inline}
html[data-geo-etat=detection] .pastille-css__action,html[data-geo-etat=refus] .pastille-css__action,html[data-geo-etat=sans-js] .pastille-css__action{display:none}
html[data-geo-etat=detection] .pastille-css{padding-right:.8rem}
@media (max-width:640px){
  .tete{justify-content:flex-start}
  .pastille-css{flex:1 1 100%;justify-content:center;min-height:40px}
  .pastille-css__lieu{flex:0 1 auto}
}

/* H1 : petit et discret, mais bien présent dans le HTML (SEO, GEO, AEO) ; jamais display:none */
.h1-discret{margin:0;padding:.1rem var(--marge) .2rem;font:500 clamp(.74rem,.7rem + .2vw,.88rem)/1.3 var(--texte);color:#6d5772;text-align:center;text-wrap:balance}

/* Réponse : la boule à neige, dimensionnée par la hauteur de l'écran pour que le socle (le pourcentage) reste visible sans défiler. */
.hero{display:flex;flex-direction:column;align-items:center;gap:.2rem;padding:.2rem var(--marge) 1rem;max-width:80rem;margin:0 auto}
.globe{width:min(100%,24rem,calc((100svh - 17.5rem) * .8333));min-width:9rem;margin:0 auto}
.globe svg{display:block;width:100%;height:auto;overflow:visible}
.plaque{font:400 40px var(--titre);fill:var(--prune)}
.plaque--raison{font-size:22px}
.plaque__precis{font:500 16px var(--texte);fill:var(--prune)}
.tourbillon circle{animation:tourbillon 6s ease-in-out infinite alternate;transform-box:fill-box}
@keyframes tourbillon{0%{transform:translate(0,-30px)}50%{transform:translate(18px,40px)}100%{transform:translate(-14px,110px)}}
@media (prefers-reduced-motion:reduce){.tourbillon circle{animation:none}}

.reponse{width:100%;text-align:center}
.bloc{display:none;flex-direction:column;align-items:center;width:100%}
html[data-geo-etat=detection] .bloc--detection,
html[data-geo-etat=refus] .bloc--vide,
html[data-geo-etat=sans-js] .reponse.soleil--sans-reponse .bloc--vide,
html[data-geo-etat=choisi] .bloc--pct,html[data-geo-etat=choisi] .bloc--sans-ecole,html[data-geo-etat=sans-js] .bloc--sans-ecole{display:flex}
html[data-geo-etat=sans-js] .bloc--pct{display:flex}
.bloc p{margin:0}
.mot{position:relative;display:inline-block;font:400 clamp(1.7rem,1.3rem + 1.6vw,2.8rem)/1 var(--titre);color:#b01f54;text-shadow:3px 3px 0 var(--prune)}
.mot span{position:relative;z-index:1}
.mot__trait{position:absolute;left:-2%;bottom:-.08em;width:104%;height:.28em;z-index:0}
.proba{margin:.45rem 0 0;font-size:clamp(.92rem,.88rem + .3vw,1.12rem);line-height:1.3;max-width:34ch}
.proba b{font:400 clamp(1.5rem,1.2rem + 1vw,2rem)/1 var(--titre);color:var(--prune);display:inline-block;margin-right:.25rem;vertical-align:-.08em}
.soleil__titre{font:400 clamp(1.3rem,1.1rem + 1vw,2rem)/1.05 var(--titre);color:var(--prune);text-wrap:balance}
.soleil__sous{font:500 clamp(.9rem,.86rem + .25vw,1.05rem)/1.25 var(--texte);color:var(--prune);margin-top:.35rem!important;text-wrap:balance}
.bloc--detection .soleil__titre{color:#6d5772}
.bloc--vide .t-refus,.bloc--vide .t-impossible,.bloc--vide .t-hors{display:none}
html[data-geo-raison=refus] .bloc--vide .t-defaut,html[data-geo-raison=indisponible] .bloc--vide .t-defaut,html[data-geo-raison=hors] .bloc--vide .t-defaut{display:none}
html[data-geo-raison=refus] .bloc--vide .t-refus,html[data-geo-raison=indisponible] .bloc--vide .t-impossible,html[data-geo-raison=hors] .bloc--vide .t-hors{display:inline}
.bouton-papier{display:inline-block;max-width:100%;margin-top:.5rem;font:400 clamp(1.05rem,1rem + .35vw,1.25rem)/1.1 var(--titre);background:var(--framboise2);color:#fff;text-decoration:none;border:3px solid var(--prune);border-radius:999px;padding:.6rem 1.3rem;cursor:pointer;box-shadow:3px 3px 0 var(--prune)}
.bouton-papier.petit{margin-top:.2rem;font-size:1rem;padding:.45rem 1rem;box-shadow:2px 2px 0 var(--prune)}
.bouton-papier:hover,.bouton-papier:focus-visible{background:var(--sapin)}
.bouton-papier svg{width:1em;height:1em;vertical-align:-.1em}
/* Sans réponse (accueil, position refusée ou en cours) : le socle n'affiche pas de pourcentage qui ne serait celui d'aucun centre. */
html[data-geo-etat=detection] .plaque,html[data-geo-etat=refus] .plaque,html[data-geo-etat=detection] .plaque__precis,html[data-geo-etat=refus] .plaque__precis{fill:#e0b020}
.reponse .chiffre{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* Sous le pli */
.niveau-bloc{padding:.4rem var(--marge) 0;max-width:44rem;margin:0 auto}
.niveau-bloc .boules{justify-content:center}
.niveau-bloc p{margin:.4rem 0 0}
.niveau-bloc .lien{display:block;margin:.7rem auto 0}
.lien{background:none;border:0;padding:0;font:600 .95rem var(--texte);color:var(--sapin);text-decoration:underline wavy var(--framboise);text-underline-offset:4px;cursor:pointer}
.choisir{padding:.4rem var(--marge) 1rem;max-width:44rem;margin:0 auto}
.choisir form{max-width:30rem}
.choisir label{display:block;font-weight:600;margin-bottom:.3rem}
.choisir select{display:block;width:100%;min-width:0;padding:.55rem .8rem;min-height:44px;border:2.5px solid var(--prune);border-radius:999px;background:#fff;margin-bottom:.5rem;font:inherit}
.choisir button[type=submit]{font:400 1.05rem var(--titre);background:var(--framboise);color:#fff;border:2.5px solid var(--prune);border-radius:999px;padding:.35rem 1rem;min-height:44px;cursor:pointer}

/* Fenêtre modale (<dialog>) : localisation, choix du CSS et détails des 2 prochains jours */
.modal{border:3px solid var(--prune);border-radius:28px;padding:0;width:min(34rem,calc(100vw - 1.5rem));max-height:min(40rem,calc(100dvh - 1.5rem));background:#fff;color:var(--prune);box-shadow:6px 7px 0 var(--framboise);overflow:hidden}
.modal[open]{display:flex;flex-direction:column}
.modal::backdrop{background:rgba(43,23,48,.6)}
.modal__tete{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.8rem .8rem .5rem 1.2rem;flex:none}
.modal__tete h2{margin:0;font:400 1.4rem/1.05 var(--titre)}
.modal__fermer{flex:none;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:var(--citron);border:2.5px solid var(--prune);color:var(--prune);cursor:pointer}
.modal__fermer svg{width:20px;height:20px}
.modal__corps{overflow:auto;padding:.4rem 1.2rem 1.2rem;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.modal__corps:focus{outline:none}
.modal__corps h3{margin:0 0 .45rem;font:600 .8rem/1.2 var(--texte);text-transform:uppercase;letter-spacing:.08em;color:var(--framboise2)}
.modal__msg{margin:0 0 .8rem;padding:.6rem .8rem;border-radius:12px;background:#fff6d6;border-left:5px solid var(--citron);font-size:.94rem}
.modal__msg:empty{display:none}
.actuel{margin-bottom:.9rem}
.actuel p{margin:0}
.actuel__nom strong{font:400 1.3rem/1.15 var(--titre)}
html[data-geo-etat=refus] [data-actuel],html[data-geo-etat=refus] [data-jours],html[data-geo-etat=detection] [data-actuel],html[data-geo-etat=detection] [data-jours]{display:none}
.jours{margin-bottom:1.1rem;padding:.8rem .9rem;background:var(--rose);border-radius:18px}
.jours__liste{margin:0}
.jours__liste>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.1rem .8rem;padding:.35rem 0;border-bottom:2px dotted #f0b9c8}
.jours__liste>div:last-child{border-bottom:0}
.jours__liste dt{font-weight:600}
.jours__liste dd{margin:0}
.jours__liste b{font:400 1.2rem/1 var(--titre);color:var(--prune)}
.jours__maj{margin:.5rem 0 0;font-size:.8rem;color:#5a3d62}
.changer>label,.lieu label{display:block;margin:.9rem 0 .3rem;font-weight:600;font-size:.92rem}
.champ{display:flex;gap:.4rem}
.champ input,.changer input[type=search]{flex:1;min-width:0;width:100%;font:inherit;padding:.6rem .9rem;min-height:44px;border:2.5px solid var(--prune);border-radius:999px;background:#fff}
.champ button{font:400 1.05rem var(--titre);background:var(--framboise);color:#fff;border:2.5px solid var(--prune);border-radius:999px;padding:.35rem 1rem;min-height:44px;cursor:pointer}
.erreur{margin:.4rem 0 0;color:var(--framboise2);font-size:.9rem}
.erreur:empty{display:none}
.liste__compte{margin:.4rem 0 .3rem;font-size:.8rem;color:#5a3d62}
.liste{list-style:none;margin:0;padding:0;max-height:11rem;overflow:auto;border-radius:18px;background:var(--rose)}
.liste a{display:block;width:100%;text-align:left;border-bottom:2px dotted #f0b9c8;padding:.55rem 1rem;min-height:44px;color:var(--prune);text-decoration:none}
.liste a:hover,.liste a:focus-visible{background:var(--citron)}
.liste strong{display:block;font:400 1.05rem var(--titre)}
.liste span{font-size:.8rem;color:#5a3d62}
.prive{margin:1rem 0 0;padding-top:.6rem;border-top:2px dotted #f0b9c8;font-size:.8rem;color:#5a3d62}
@media (max-width:600px){
  .modal{width:100%;max-width:none;margin:auto 0 0;max-height:88dvh;border-radius:24px 24px 0 0;border-bottom:0}
  .modal__tete h2{font-size:1.2rem}
  .liste{max-height:9rem}
}

/* Visibilité JavaScript : sans JS, la pastille et le bouton mènent au formulaire (#choisir-css). */
.seulement-js{display:none}
html.js .seulement-js{display:block}
html.js .seulement-sans-js{display:none}
html.js .pastille-css.seulement-js{display:inline-flex}
html.js .bloc--vide .bouton-papier.seulement-js{display:inline-block}
.cles{list-style:none;margin:.6rem 0 0;padding:0;display:grid;gap:.15rem}
.cles li{margin:0}
.cles__calcul{margin:.35rem 0 0;font-size:.9rem}
/* Les blocs propres au centre choisi disparaissent quand la localisation est refusée ou en cours : ils parleraient d'un autre centre. */
html[data-geo-etat=refus] .propre-centre,html[data-geo-etat=detection] .propre-centre{display:none}
html:not([data-geo-etat=choisi]) [data-details]{display:none}
.centres{margin:.45rem var(--marge) 0}
.centres h2{margin-bottom:.25rem;font-size:clamp(1.15rem,1rem + .8vw,1.6rem)}
.centres tr.region th{padding-top:.45rem}
@media (max-width:600px){
  .tableau-defile{width:100%;max-width:100%;overflow-x:auto}
  .centres{margin:.3rem var(--marge) 0}
  .centres h2{margin-bottom:.15rem;font-size:1.1rem}
  .centres table{width:100%;table-layout:fixed}
  .centres th,.centres td{padding:.28rem .3rem}
  .centres thead th{padding:.2rem .3rem}
  .centres tr.region th{padding-top:.3rem;font-size:1rem}
  .centres tbody th{font-size:.9rem;line-height:1.25;overflow-wrap:break-word}
  .centres td{white-space:normal;overflow-wrap:break-word;font-size:.8rem;line-height:1.2}
  .fin-semaine{margin:.25rem 0 0;font-size:.9rem;line-height:1.3}
}
select{display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.hero,.reponse,form{min-width:0;max-width:100%}
