:root{color-scheme:light;
  --encre:#141B33; --bleu:#2F4590; --jaune:#F5C518;
  --papier:#fff; --tatami:#EEF0F6; --gris:#5C6480; --trait:#D8DCE8;
}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:Barlow,system-ui,sans-serif;color:var(--encre);background:var(--papier);line-height:1.6}
h1,h2,h3{font-family:"Barlow Condensed",Barlow,sans-serif;font-weight:700;line-height:1.05}
a{color:inherit}
.wrap{max-width:1120px;margin:0 auto;padding:0 24px}
:focus-visible{outline:3px solid var(--jaune);outline-offset:3px}
.bouton{display:inline-block;background:var(--bleu);color:#fff;text-decoration:none;font-weight:600;
  padding:12px 22px;border:2px solid var(--bleu);border-radius:2px;cursor:pointer;font-size:1rem;
  white-space:nowrap}
.bouton:hover{background:var(--encre);border-color:var(--encre)}
.bouton.creux{background:transparent;color:var(--encre);border-color:var(--encre)}
.bouton.clair{background:var(--jaune);color:var(--encre);border-color:var(--jaune)}

/* --- site public --- */
header{border-bottom:1px solid var(--trait);position:sticky;top:var(--haut-ferme,0px);z-index:40;
  background:rgba(255,255,255,.97);backdrop-filter:blur(8px)}
/* Le menu se cale sur la hauteur du blason : pas de blanc au-dessus. */
.barre{display:flex;align-items:center;gap:24px;min-height:62px;flex-wrap:nowrap}
.marque{display:flex;align-items:center;gap:11px;text-decoration:none;flex:0 0 auto}
.marque img{width:42px;height:auto;display:block}
.marque b{font-family:"Barlow Condensed",sans-serif;font-size:1.18rem;display:block;line-height:1.05}
.marque span{font-size:.74rem;color:var(--gris);display:block;line-height:1.2}
nav{margin-left:auto;display:flex;gap:17px;align-items:center;flex-wrap:wrap;
  justify-content:flex-end;row-gap:4px}
nav a{text-decoration:none;font-weight:500;font-size:.96rem;padding:3px 0;
  border-bottom:2px solid transparent;white-space:nowrap}
/* Le bouton d'appel a l'action ne se coupe jamais et reste en bout de ligne. */
nav .bouton{padding:9px 18px;font-size:.94rem;border-bottom-width:2px;margin-left:6px}
nav a:hover{border-bottom-color:var(--jaune)}
.hero{background:var(--encre);color:#fff;padding:72px 0}
.hero .wrap{display:grid;grid-template-columns:260px 1fr;gap:56px;align-items:center}
.hero img{width:100%}
.hero h1{font-size:clamp(2.4rem,5vw,4rem);max-width:15ch}
.hero p{margin-top:20px;color:#C9CFE4;max-width:54ch}
.depuis{display:inline-flex;align-items:center;gap:10px;font-family:"Barlow Condensed",sans-serif;
  letter-spacing:.14em;color:var(--jaune);margin-bottom:14px}
.depuis::after{content:"";width:64px;height:2px;background:var(--jaune)}
.actions{margin-top:30px;display:flex;gap:14px;flex-wrap:wrap}
section{padding:72px 0}
.tete{margin-bottom:36px;max-width:62ch}
.tete h1,.tete h2{font-size:clamp(1.9rem,3.5vw,2.6rem)}
.tete p{margin-top:12px;color:var(--gris)}
/* Bordures portees par les cartes, pas par le conteneur : une case vide
   en fin de grille ne laisse plus voir un aplat gris. */
.grille-cours{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px}
.cours-c{background:#fff;padding:22px 22px 26px;border:1px solid var(--trait);
  border-top:5px solid var(--bleu)}
.picto{display:block;height:76px;width:76px;margin:0 0 10px;object-fit:contain}
.cours-baby{border-top-color:#F5C518}
.cours-prepoussins{border-top-color:#E07B12}
.cours-poussins{border-top-color:#2C8A48}
.cours-ados{border-top-color:#2F4590}
.cours-competition{border-top-color:#9A3291}
.cours-kata{border-top-color:#08BFBC}
.cours-taiso{border-top-color:#141B33}
.cours-c h3{font-size:1.3rem}
.cours-c .cat{font-weight:500;margin-top:4px}
.cours-c .an{color:var(--gris);font-size:.9rem}
.resume-cours{color:var(--gris);font-size:.87rem;line-height:1.5;margin-top:9px}
.note-cours{margin-top:10px;font-size:.86rem;color:var(--bleu);background:var(--tatami);padding:7px 10px;border-left:3px solid var(--jaune)}
.cours-c dl{margin-top:16px;display:grid;grid-template-columns:auto 1fr;gap:6px 14px}
.cours-c dt{color:var(--gris)}
.cours-c dd{font-weight:500;font-variant-numeric:tabular-nums}
.ruban{display:flex;flex-wrap:wrap;gap:1px;background:var(--trait);border:1px solid var(--trait)}
.ruban div{flex:1 1 118px;min-width:118px;background:#fff;display:flex;flex-direction:column}
.ruban .bande{height:22px}
.ruban p{font-family:"Barlow Condensed",sans-serif;font-weight:600;padding:11px 6px 3px;
  text-align:center;line-height:1.15}
.ruban small{text-align:center;color:var(--gris);font-size:.78rem;padding:0 5px 13px;margin-top:auto}
.grades h3{font-size:1.18rem;margin:32px 0 12px;color:var(--gris)}
.grades h3:first-child{margin-top:0}
footer{background:var(--encre);color:#AEB6D0;padding:56px 0 28px}
footer a{text-decoration:none}

/* --- back-office --- */
.bo{background:#F4F6FA;min-height:100vh}
.bo-barre{background:var(--encre);color:#fff}
.bo-barre .wrap{display:flex;align-items:center;gap:26px;min-height:62px}
.bo-barre a{color:#C9CFE4;text-decoration:none;font-weight:500}
.bo-barre a.actif,.bo-barre a:hover{color:#fff}
.bo-barre .titre{font-family:"Barlow Condensed",sans-serif;font-size:1.2rem;color:#fff;font-weight:700}
.bo-barre form{margin-left:auto}
.bo-barre button{background:none;border:0;color:#C9CFE4;cursor:pointer;font:inherit}
.bo main{padding:34px 0 60px}
.chiffres{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px;margin-bottom:30px}
.chiffre{background:#fff;border:1px solid var(--trait);padding:20px 22px}
.chiffre b{font-family:"Barlow Condensed",sans-serif;font-size:2.4rem;display:block;line-height:1}
.chiffre span{color:var(--gris);font-size:.92rem}
.carte{background:#fff;border:1px solid var(--trait);padding:26px}
table{width:100%;border-collapse:collapse;background:#fff}
th,td{text-align:left;padding:11px 14px;border-bottom:1px solid var(--trait)}
th{font-family:"Barlow Condensed",sans-serif;font-size:1rem;color:var(--gris);font-weight:600}
tbody tr:hover{background:var(--tatami)}
.pastille{display:inline-block;width:14px;height:14px;border-radius:50%;vertical-align:-2px;
  margin-right:7px;border:1px solid var(--trait)}
.etiquette{display:inline-block;padding:2px 9px;font-size:.8rem;border:1px solid var(--trait);border-radius:2px}
.vide{padding:44px 26px;text-align:center;color:var(--gris);background:#fff;border:1px dashed var(--trait)}
.champ{display:block;margin-bottom:16px}
.champ span{display:block;font-weight:500;margin-bottom:5px}
.champ input,.champ select{width:100%;padding:10px 12px;border:1px solid var(--trait);
  font:inherit;background:#fff;border-radius:2px}
.erreur{color:#C0272D;font-size:.9rem;margin-top:5px}
.message{background:#E7F3EA;border-left:4px solid #2C8A48;padding:13px 18px;margin-bottom:22px}

/* Un avertissement se distingue du vert : il dit que l'action demandée
   n'a pas eu lieu telle quelle, ce qui mérite d'être lu. */
.message.avertissement{background:#FFF8E1;border-left-color:#E0A200;color:#6B5A1E;
  font-weight:500}
.message.avertissement::before{content:"⚠ ";font-weight:700}
.connexion{max-width:400px;margin:8vh auto;background:#fff;border:1px solid var(--trait);padding:34px 32px}
.connexion h1{font-size:1.7rem;margin-bottom:6px}
.connexion p.sous{color:var(--gris);margin-bottom:24px;font-size:.95rem}
.pagination{margin-top:22px;display:flex;gap:6px;flex-wrap:wrap}
@media(max-width:1280px){
  .barre{gap:14px}
  nav{gap:13px}
  nav a{font-size:.9rem}
  nav .bouton{padding:8px 13px;font-size:.88rem}
}
@media(max-width:1080px){
  .marque span{display:none}
  nav{gap:11px}
  nav a{font-size:.87rem}
  nav .bouton{padding:7px 11px;font-size:.85rem}
}
@media(max-width:900px){
  /* En colonne, le blason et le titre se retrouvent separes par les 56 px
     de la grille a deux colonnes, devenus 32 px d'ecart vertical : le
     blason flotte seul en haut et le premier appel a l'action descend sous
     le pli. On resserre, et on reduit le rembourrage du bandeau. */
  .hero{padding:40px 0}
  .hero .wrap{grid-template-columns:1fr;gap:18px}
  .hero img{width:150px}
  .barre{flex-wrap:wrap;padding-top:10px;padding-bottom:10px;min-height:0;gap:12px}
  nav{width:100%;margin-left:0;justify-content:flex-start;gap:14px}
  .marque img{width:38px}
}


/* ===== pages publiques ===== */
/* bandeau d'alerte, present sur toutes les pages */
.alerte{font-size:.88rem;border-bottom:1px solid rgba(0,0,0,.08)}
/* Une seule ligne, toujours : le bandeau ne doit jamais pousser la page vers le bas. */
.alerte .wrap{display:flex;align-items:center;gap:10px;padding:7px 24px;
  min-height:34px;flex-wrap:nowrap;overflow:hidden}
.alerte b{font-weight:600;white-space:nowrap}
.alerte .texte{opacity:.8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.alerte a{margin-left:auto;font-weight:600;text-decoration:none;white-space:nowrap;
  border-bottom:1px solid currentColor;flex:0 0 auto}
.alerte .fermer{background:none;border:0;font-size:1.25rem;line-height:1;cursor:pointer;
  color:inherit;opacity:.45;padding:0 2px;flex:0 0 auto}
.alerte .fermer:hover{opacity:1}
.pastille-alerte{color:#fff;font-family:"Barlow Condensed",sans-serif;font-weight:600;
  font-size:.74rem;padding:2px 8px;border-radius:2px;white-space:nowrap;flex:0 0 auto}
.alerte.actualite{background:var(--jaune);color:var(--encre)}
/* Annulation ou fermeture : on ne peut pas passer a cote. */
/* Sur mobile, on garde le titre et la date : le bandeau occupe de la hauteur,
   autant qu'il porte l'information utile. Le lieu et le lien s'effacent. */
@media(max-width:700px){
  .alerte .wrap{padding:6px 14px;gap:8px;flex-wrap:wrap}
  .alerte .texte{font-size:.82rem}
  .alerte .texte .ou,.alerte a{display:none}
}
@media(max-width:700px){.alerte a{margin-left:0}}
.vide-public{padding:36px 26px;background:#fff;border:1px dashed var(--trait);color:var(--gris);text-align:center}
.sous-titre{font-size:1.35rem;margin:38px 0 14px}
.sous-titre:first-of-type{margin-top:0}
.gris{color:var(--gris);font-weight:400}

/* agenda */
.agenda-grille{display:grid;grid-template-columns:repeat(auto-fit,minmax(272px,1fr));gap:2px;
  background:var(--trait);border:1px solid var(--trait)}
.agenda-grille article{background:#fff;padding:0 0 22px}
.agenda-grille .etiq{font-family:"Barlow Condensed",sans-serif;font-weight:600;
  color:#fff;padding:8px 20px}
.agenda-grille .corps{padding:18px 20px 0}
.agenda-grille h3{font-size:1.25rem}
.agenda-grille .quand{color:var(--bleu);font-weight:600;margin-top:5px}
.agenda-grille p:not(.etiq):not(.quand){color:var(--gris);font-size:.96rem;margin-top:7px}
.agenda-liste article{display:flex;gap:20px;padding:20px 0;border-top:1px solid var(--trait)}
.agenda-liste article:last-child{border-bottom:1px solid var(--trait)}
.date-bloc{flex:0 0 64px;text-align:center;background:var(--encre);color:#fff;padding:9px 0 7px;height:fit-content}
.date-bloc b{display:block;font-family:"Barlow Condensed",sans-serif;font-size:1.7rem;line-height:1}
.date-bloc span{display:block;font-size:.7rem;letter-spacing:.08em;color:var(--jaune)}
.etiq-ligne{font-family:"Barlow Condensed",sans-serif;font-weight:600;font-size:.95rem}
.agenda-liste h3{font-size:1.2rem;margin-top:2px}
.agenda-liste .meta{color:var(--gris);font-size:.94rem;margin-top:3px}
.agenda-liste .desc{margin-top:8px;max-width:70ch}
.agenda-liste.passe{opacity:.62}

/* tarifs et inscription */
.duo{display:grid;grid-template-columns:1.05fr .95fr;gap:52px;align-items:start}
.prix{border:1px solid var(--trait);background:#fff}
.prix .ligne{display:flex;justify-content:space-between;align-items:baseline;gap:16px;
  padding:15px 20px;border-bottom:1px solid var(--trait)}
.prix .ligne:last-of-type{border-bottom:0}
.prix b{font-family:"Barlow Condensed",sans-serif;font-size:1.5rem;white-space:nowrap}
.prix b.etape{font-family:Barlow,sans-serif;font-size:1.04rem}
.prix small{color:var(--gris)}
.prix .pied{background:var(--tatami);padding:17px 20px;font-size:.93rem;color:var(--gris);
  border-top:1px solid var(--trait)}

/* documents */
.docs{margin-top:24px;border:1px solid var(--trait);background:#fff}
.docs h3{font-size:1.2rem;padding:17px 20px 11px}
.docs ul{list-style:none}
.docs li{border-top:1px solid var(--trait);padding:13px 20px;display:flex;
  justify-content:space-between;align-items:baseline;gap:16px;flex-wrap:wrap}
.docs li a{font-weight:600;text-decoration:none;border-bottom:2px solid var(--jaune)}
.docs li span{color:var(--gris);font-size:.86rem}
.docs li .bientot{color:var(--gris);font-weight:600;font-size:1rem}

/* partenaires */
.dons{display:grid;grid-template-columns:repeat(auto-fit,minmax(176px,1fr));gap:2px;
  background:var(--trait);border:1px solid var(--trait)}
.don{background:#fff;min-height:122px;display:flex;flex-direction:column;align-items:center;
  justify-content:center;gap:10px;padding:18px 14px;text-decoration:none}
.don img{max-width:146px;max-height:62px;width:auto;height:auto;object-fit:contain}
.don span{font-size:.81rem;color:var(--gris);text-align:center;line-height:1.25}
.don.sans-lien{cursor:default}
a.don:hover{background:var(--tatami)}
a.don:hover span{color:var(--encre)}
.merci{margin-top:24px;padding:22px 24px;background:#fff;border-left:5px solid var(--jaune);max-width:76ch}

/* code moral */
#code{background:var(--encre);color:#fff}
#code .tete h2{color:#fff}
#code .tete p{color:#B6BEDA}
.moral{display:grid;grid-template-columns:repeat(auto-fit,minmax(244px,1fr));gap:1px;
  background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.14)}
.moral article{background:var(--encre);padding:22px 20px 24px;display:flex;gap:16px;align-items:flex-start}
.kanji{flex:0 0 42px;width:42px;height:auto;margin-top:3px;opacity:.92}
.moral h2{font-size:1.3rem;color:var(--jaune)}
.moral .enf{margin-top:8px;color:#fff}
.moral .ad{margin-top:8px;font-size:.92rem;color:#9AA3C4;padding-top:8px;
  border-top:1px solid rgba(255,255,255,.14)}

/* blocs a deux colonnes */
.deux{display:grid;grid-template-columns:1fr 1fr;gap:2px;background:var(--trait);border:1px solid var(--trait)}
.deux article{background:#fff;padding:26px 24px 28px}
.deux h3{font-size:1.35rem;margin-bottom:10px}
.deux p{max-width:52ch}

/* bureau */
.grille-membres{display:grid;grid-template-columns:repeat(auto-fit,minmax(224px,1fr));gap:2px;
  background:var(--trait);border:1px solid var(--trait)}
.grille-membres article{background:#fff;padding:22px 20px 24px}
.fonction{font-family:"Barlow Condensed",sans-serif;font-weight:600;color:var(--bleu);
  text-transform:lowercase}
.fonction::first-letter{text-transform:uppercase}
.grille-membres h2{font-size:1.22rem;margin-top:3px}
.liste-contacts{list-style:none;margin-top:8px}
.liste-contacts li{padding:9px 0;border-bottom:1px solid var(--trait)}

/* palmares */
table.palmares{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--trait)}
table.palmares td{padding:11px 14px;border-bottom:1px solid var(--trait)}
.rang{font-family:"Barlow Condensed",sans-serif;font-weight:700;width:90px}
.rang.or{color:#C9971B}.rang.argent{color:#8C939E}.rang.bronze{color:#A56A3A}
.rang.classe{color:var(--gris);font-weight:500}

/* techniques */
.grille-tech{display:grid;grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:2px;
  background:var(--trait);border:1px solid var(--trait);margin-bottom:8px}
.grille-tech article{background:#fff;padding:14px 10px;text-align:center}
.grille-tech img{width:100%;height:96px;object-fit:contain;display:block}
.grille-tech p{font-size:.88rem;margin-top:8px;line-height:1.25}
.grille-tech small{display:block;color:var(--gris);font-size:.78rem;margin-top:2px}

/* pied de page */
.pied-grille{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:42px}
/* Des intitules, pas des titres : en h4 apres un h1 ou un h2, ils faisaient
   sauter des niveaux aux lecteurs d'ecran (contre-recette, C02). */
footer .pied-titre{font-family:"Barlow Condensed",sans-serif;color:#fff;font-size:1.16rem;font-weight:700;
  margin-bottom:11px;line-height:1.2}
footer ul{list-style:none}
footer li{margin-bottom:7px}
.pied-bas{margin-top:40px;padding-top:20px;border-top:1px solid rgba(255,255,255,.14);
  display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:.88rem;color:#8891B0}

@media(max-width:900px){
  .duo{grid-template-columns:1fr;gap:40px}
  .deux{grid-template-columns:1fr}
  .pied-grille{grid-template-columns:1fr;gap:30px}
}


/* ===== bandeau defilant des partenaires ===== */
.ruban-part{background:#fff;border-top:1px solid var(--trait);padding:26px 0 24px;overflow:hidden}
.titre-ruban{font-family:"Barlow Condensed",sans-serif;font-weight:600;color:var(--gris);
  text-align:center;letter-spacing:.06em;margin-bottom:16px}
.defile{display:flex;width:max-content;animation:glisse 46s linear infinite}
.ruban-part:hover .defile{animation-play-state:paused}
.train{display:flex;align-items:center}
.jeton{flex:0 0 auto;padding:0 30px;display:grid;place-items:center}
.jeton img{height:50px;width:auto;max-width:150px;object-fit:contain;
  filter:grayscale(1);opacity:.62;transition:filter .2s,opacity .2s}
.jeton img:hover{filter:none;opacity:1}
.lien-ruban{display:inline-block;margin-top:18px;font-size:.92rem;color:var(--gris);
  text-decoration:none;border-bottom:1px solid var(--trait)}
.lien-ruban:hover{color:var(--encre);border-bottom-color:var(--jaune)}
@keyframes glisse{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.defile{animation:none}}

/* ===== page des partenaires ===== */
.fiches-part{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:2px;
  background:var(--trait);border:1px solid var(--trait)}
.fiches-part article{background:#fff;padding:22px;display:flex;gap:18px;align-items:center}
/* Fond blanc : la plupart des logos en ont un, et le gris se voyait comme
   un rectangle autour d'eux. Un trait fin suffit a poser le cadre. */
.logo-part{flex:0 0 106px;height:76px;display:grid;place-items:center;
  background:#fff;border:1px solid var(--trait);border-radius:3px;padding:6px}
.logo-part img{max-width:92px;max-height:62px;object-fit:contain}
.initiale{font-family:"Barlow Condensed",sans-serif;font-size:2rem;color:var(--gris)}
.texte-part h3{font-size:1.14rem;line-height:1.2}
.texte-part .metier{color:var(--gris);font-size:.92rem;margin-top:3px}
.lien-part{font-size:.9rem;text-decoration:none;border-bottom:2px solid var(--jaune);
  display:inline-block;margin-top:7px}
.appel-part{margin-top:34px;padding:28px 30px;background:var(--encre);color:#fff}
.appel-part h3{font-size:1.45rem;color:var(--jaune)}
.appel-part p{margin-top:10px;color:#C9CFE4;max-width:64ch}
.boutons-part{margin-top:16px;display:flex;gap:12px;flex-wrap:wrap}
.boutons-part small{display:block;font-weight:400;font-size:.76rem;opacity:.7;margin-top:1px}


/* ===== pastille des evenements a venir, sur toutes les pages ===== */
.pastille-evt{position:fixed;right:20px;bottom:20px;z-index:60;display:flex;align-items:center;gap:12px;
  background:var(--encre);color:#fff;text-decoration:none;padding:13px 18px 13px 15px;
  border-radius:44px;box-shadow:0 8px 28px rgba(20,27,51,.32);max-width:min(340px,calc(100vw - 40px))}
.pastille-evt:hover{background:var(--bleu)}

/* Le rouleau : les evenements se relaient dans la meme bulle. La hauteur
   est fixe, sinon la bulle grandirait a chaque passage. */
.rouleau-evt{flex:1 1 auto;min-width:0;height:46px;overflow:hidden;
  /* la place de l'onde a gauche, sans decaler le texte */
  margin-left:-8px;padding-left:8px}
.rouleau-evt .pile{display:flex;flex-direction:column;transition:transform .5s ease}
.passage-evt{display:flex;align-items:center;gap:12px;height:46px;
  text-decoration:none;color:inherit;min-width:0}
.passage-evt .detail{min-width:0}

.pastille-evt .point{flex:0 0 auto;width:12px;height:12px;border-radius:50%;position:relative}
/* L'onde bat pour le passage qui la merite, pas pour la bulle entiere.
   Elle deborde de la pastille : le rouleau lui laisse la place, sinon
   elle se retrouve tronquee sur la gauche. */
.passage-evt.imminent .point::after{content:"";position:absolute;inset:-5px;
  border-radius:50%;border:2px solid currentColor;color:inherit;opacity:.6;
  animation:pulse 1.9s ease-out infinite}
.pastille-evt .detail{display:flex;flex-direction:column;min-width:0;line-height:1.25}
.pastille-evt .detail b{font-family:"Barlow Condensed",sans-serif;font-size:.8rem;
  letter-spacing:.07em;text-transform:uppercase;color:var(--jaune)}
.pastille-evt .detail .quoi{font-size:.95rem;font-weight:500;display:block;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pastille-evt .quand{font-size:.84rem;color:#AEB6D0}
.pastille-evt .compte{flex:0 0 auto;background:var(--jaune);color:var(--encre);font-weight:700;
  font-size:.82rem;padding:3px 10px;border-radius:12px;text-decoration:none;cursor:help}
.pastille-evt .compte:hover{background:#FFD447}
@keyframes pulse{0%{transform:scale(1);opacity:.6}70%{transform:scale(1.9);opacity:0}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.pastille-evt .point::after{animation:none}}

/* La page se termine au-dessus de la bulle, a toutes les tailles d'ecran.
   La marge n'etait reservee que sur telephone : sur ordinateur, la bulle
   fixee en bas a droite recouvrait la fin du pied de page, et avec elle les
   liens Mentions legales et Confidentialite, qu'on ne pouvait plus cliquer.
   Environ 80 px de bulle, poses a 20 px du bas : 110 px laissent de l'air.
   Le telephone garde sa propre valeur, plus bas dans la feuille. */
body.avec-pastille{padding-bottom:110px}
@media(max-width:600px){
  .pastille-evt{right:12px;bottom:12px;padding:11px 15px 11px 13px;gap:10px}
  .pastille-evt .detail > span:not(.quand){max-width:150px}
}
@media print{.pastille-evt{display:none}}


/* ===== le club en chiffres ===== */
.onglets-saison{display:flex;gap:2px;margin-bottom:24px;flex-wrap:wrap;
  background:var(--trait);border:1px solid var(--trait)}
.onglets-saison a{background:#fff;padding:12px 20px;text-decoration:none;font-weight:500;
  display:flex;align-items:center;gap:8px}
.onglets-saison a:hover{background:var(--tatami)}
.onglets-saison a.actif{background:var(--encre);color:#fff}
.onglets-saison em{font-style:normal;font-size:.76rem;color:var(--jaune)}
.onglets-saison a:not(.actif) em{color:var(--gris)}
.rappel-saison{color:var(--gris);margin-bottom:24px}
.cles{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:2px;
  background:var(--trait);border:1px solid var(--trait);margin-bottom:26px}
.cles div{background:var(--encre);color:#fff;padding:24px 18px;text-align:center}
.cles b{display:block;font-family:"Barlow Condensed",sans-serif;font-size:2.7rem;line-height:1;
  color:var(--jaune)}
.cles span{display:block;margin-top:7px;font-size:.88rem;color:#C9CFE4;line-height:1.3}
/* Trois cartes de front : sexes, ages, communes. Les deux premieres se
   resserrent pour laisser la place a la troisieme. */
.duo-stat{display:grid;grid-template-columns:0.85fr 1fr 1fr;gap:14px}
@media(max-width:1020px){.duo-stat{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.duo-stat{grid-template-columns:1fr}}
.carte-stat{background:#fff;border:1px solid var(--trait);padding:20px 20px 22px}
.carte-stat h2{font-size:1.2rem;margin-bottom:4px}
.carte-stat .sous{color:var(--gris);font-size:.9rem;margin-bottom:16px}
.anneau-bloc{display:flex;gap:24px;align-items:center;flex-wrap:wrap;margin-top:14px}
.anneau{width:180px;height:180px;flex:0 0 auto}
.anneau-gros{font-family:"Barlow Condensed",sans-serif;font-size:2.4rem;font-weight:700;fill:var(--encre)}
.anneau-petit{font-size:.78rem;fill:var(--gris)}
.legende-stat{list-style:none;flex:1}
.legende-stat li{padding:7px 0;display:flex;align-items:center;gap:9px;border-top:1px solid var(--trait)}
.legende-stat li:first-child{border-top:0}
.legende-stat i{width:16px;height:16px;border-radius:3px;flex:0 0 auto}
.legende-stat b{font-family:"Barlow Condensed",sans-serif;font-size:1.3rem;min-width:56px}
.legende-stat em{margin-left:auto;font-style:normal;color:var(--gris);font-size:.86rem}
.barre-stat{display:grid;grid-template-columns:160px 1fr 56px;gap:14px;align-items:center;
  padding:6px 0;border-top:1px solid var(--trait)}
.barre-stat:first-of-type{border-top:0}
.barre-stat .etiq{font-size:.93rem;display:flex;align-items:center;gap:8px;
  color:var(--encre);font-family:Barlow,sans-serif;font-weight:400;padding:0}
.barre-stat .puce{width:15px;height:15px;border-radius:3px;border:1px solid var(--trait);flex:0 0 auto}
.barre-stat .piste{height:16px;background:var(--tatami);border-radius:2px;overflow:hidden}
.barre-stat .piste i{display:block;height:100%;border-radius:2px}
.barre-stat .chiffre-stat{text-align:right;font-variant-numeric:tabular-nums;font-weight:600;font-size:.94rem}
.note-stat{margin-top:22px;color:var(--gris);font-size:.88rem}
@media(max-width:820px){
  .barre-stat{grid-template-columns:120px 1fr 48px;gap:9px}
  .barre-stat .etiq{font-size:.85rem}
}


/* ===== total des dons, page partenaires ===== */
.total-dons{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:2px;
  background:var(--trait);border:1px solid var(--trait);margin-bottom:26px}
.total-dons > div{background:var(--encre);color:#fff;padding:26px 24px;text-align:center}
.total-dons .cumul{background:var(--bleu)}
.total-dons b{display:block;font-family:"Barlow Condensed",sans-serif;font-size:2.9rem;
  line-height:1;color:var(--jaune)}
.total-dons .cumul b{color:#fff}
.total-dons span{display:block;margin-top:8px;font-size:.92rem;color:#C9CFE4;line-height:1.35}


/* ===== boutique ===== */
/* 380 px et non 300 : avec la photo a droite, il ne restait que cent vingt
   pixels de texte, ou « de 62 a 73 € » se coupait et ou les tailles
   tombaient une par ligne. */
.boutique{display:grid;grid-template-columns:repeat(auto-fit,minmax(380px,1fr));gap:2px;
  background:var(--trait);border:1px solid var(--trait)}
.boutique article{background:#fff;padding:24px 26px 26px}
/* Le texte à gauche, la photo à droite : on lit le nom et le prix, l'image
   confirme. En tête de carte, une photo de 190 px repoussait le prix et les
   tailles sous le pli. */
.corps-article{display:flex;gap:18px;align-items:flex-start}
.texte-article{flex:1 1 auto;min-width:0}
.photo-article{flex:0 0 150px;height:150px;display:grid;place-items:center;
  background:var(--tatami);border-radius:8px;overflow:hidden}
.photo-article img{max-width:100%;max-height:150px;object-fit:contain}

/* Sur téléphone, la photo repasse au-dessus : côte à côte, il ne resterait
   ni assez de place pour l'une ni pour l'autre. */
@media (max-width:560px){
  .corps-article{flex-direction:column-reverse}
  .photo-article{flex:0 0 auto;width:100%;height:170px}
  .photo-article img{max-height:170px}
}
/* Le titre et le prix peuvent passer a la ligne : cote a cote sans
   retour, le prix debordait de la carte et se retrouvait coupe. */
.entete-article{display:flex;align-items:baseline;gap:8px 14px;flex-wrap:wrap;
  margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid var(--trait)}
.entete-article h3{font-size:1.35rem;min-width:0;flex:1 1 auto;line-height:1.25}
/* Marque, modele et couleur se suivent sur une meme ligne sous le nom :
   empiles en blocs, ils faisaient un titre de quatre lignes. */
.entete-article h3 .marque,
.entete-article h3 .modele{display:inline;font-family:Barlow,sans-serif;
  font-size:.82rem;font-weight:400;color:var(--gris);letter-spacing:.03em}
.entete-article h3 small + small::before{content:' · ';color:var(--trait)}
.entete-article h3 small:first-of-type{display:block;margin-top:3px}
.prix-article{margin-left:auto;font-family:"Barlow Condensed",sans-serif;font-size:1.3rem;
  color:var(--bleu);white-space:nowrap;flex:0 0 auto}
/* L'etiquette en bloc au-dessus, et non en colonne de 78 px a gauche :
   dans une carte etroite, la valeur n'avait plus la place de tenir et les
   tailles tombaient une par ligne. */
.carac{padding:6px 0;font-size:.94rem}
.carac span{display:block;color:var(--gris);font-size:.82rem;margin-bottom:2px;
  text-transform:uppercase;letter-spacing:.04em}
.detail-prix{margin-top:14px;border-top:1px solid var(--trait);padding-top:12px}
.detail-prix summary{cursor:pointer;color:var(--bleu);font-size:.9rem}
.detail-prix table{width:100%;border-collapse:collapse;margin-top:10px}
.detail-prix td{padding:6px 0;border-bottom:1px solid var(--trait);font-size:.9rem}
.detail-prix td.p{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}


/* ===== questions frequentes ===== */
.faq{border:1px solid var(--trait);background:#fff}
.faq details{border-bottom:1px solid var(--trait)}
.faq details:last-child{border-bottom:0}
.faq summary{cursor:pointer;padding:18px 22px;list-style:none;display:flex;align-items:center;gap:14px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";margin-left:auto;flex:0 0 auto;width:10px;height:10px;
  border:solid var(--bleu);border-width:0 2px 2px 0;transform:rotate(45deg) translateY(-3px);
  transition:transform .15s}
.faq details[open] summary::after{transform:rotate(-135deg) translateY(-1px)}
.faq summary:hover{background:var(--tatami)}
.faq summary h3{font-size:1.14rem;display:inline;font-family:Barlow,sans-serif;font-weight:600}
.faq .reponse{padding:0 22px 20px;color:var(--gris);max-width:78ch;line-height:1.65}


/* ===== couleur des noms, convention commune a tout le back-office ===== */
.nom-adherent.h,.bo .h{color:#2F5FA0}
.nom-adherent.f,.bo .f{color:#B03A72}
.pour.h{background:#E8EEF8;color:#2F5FA0}
.pour.f{background:#FBEAF1;color:#B03A72}


/* ===== remises familiales, section cotisation ===== */
.remises{border-top:2px solid var(--encre);margin-top:20px;padding-top:20px}
.titre-remise{font-size:1.25rem;font-weight:600}
.sous-remise{color:var(--gris);font-size:.92rem;margin:4px 0 16px}

/* Des jetons plutot qu'un tableau : on lit le barème d'un coup d'oeil. */
.jetons{display:grid;grid-template-columns:repeat(auto-fit,minmax(104px,1fr));gap:10px}
.jeton-remise{background:#E7F3EA;border:1px solid #BFE0C9;border-radius:8px;
  padding:13px 10px;text-align:center;display:flex;flex-direction:column;gap:2px}
.jeton-remise .rang{font-family:"Barlow Condensed",sans-serif;font-size:.94rem;
  color:#1F6B36;letter-spacing:.05em}
.jeton-remise .rang sup{font-size:.68em}
.jeton-remise b{font-family:"Barlow Condensed",sans-serif;font-size:1.6rem;color:#1F6B36;line-height:1}
.jeton-remise small{color:#4C8A62;font-size:.72rem}
.jeton-remise.suite{background:var(--tatami);border-color:var(--trait)}
.jeton-remise.suite .rang,.jeton-remise.suite b{color:var(--gris)}
.jeton-remise.suite small{color:var(--gris)}

.plancher{margin-top:14px;color:var(--gris);font-size:.9rem}
.plancher b{color:var(--encre)}

/* Le dépliant des exemples ressemble à un bouton, pas à un lien perdu. */
.exemples{margin-top:18px;border:0;padding:0}
.exemples summary{display:block;text-align:center;padding:13px 18px;border:2px solid var(--bleu);
  border-radius:3px;color:var(--bleu);font-weight:600;cursor:pointer;font-size:.95rem;
  list-style:none;transition:background .15s}
.exemples summary::-webkit-details-marker{display:none}
.exemples summary::before{content:"▾ ";font-size:.8em}
.exemples[open] summary::before{content:"▴ "}
.exemples summary:hover{background:var(--bleu);color:#fff}

.bloc-benevole.discret{margin:22px 0 0;padding:13px 15px;background:#FAFBFD}
.bloc-benevole.discret b{font-size:.96rem}
.bloc-benevole.discret p{font-size:.83rem}
.bloc-benevole.discret .montant-benevole{font-size:1.1rem}


/* ===== exemples chiffres de cotisation ===== */
.exemples{margin-top:14px;border-top:1px solid var(--trait);padding-top:12px}
.exemples summary{cursor:pointer;color:var(--bleu);font-weight:500;font-size:.94rem}
.cas{margin-top:18px;padding:14px 16px;background:var(--tatami)}
.cas-titre{font-weight:600;margin-bottom:9px}
.cas-titre small{display:block;font-weight:400;color:var(--gris);font-size:.84rem;margin-top:2px}
.cas ul{list-style:none}
.cas li{display:flex;justify-content:space-between;align-items:baseline;gap:12px;
  padding:5px 0;font-size:.92rem;flex-wrap:wrap}
.chiffres-cas{display:flex;align-items:baseline;gap:8px;white-space:nowrap}
.chiffres-cas s{color:var(--gris);font-size:.85rem}
.chiffres-cas em{font-style:normal;color:#2C8A48;font-size:.85rem}
.chiffres-cas b{font-family:"Barlow Condensed",sans-serif;font-size:1.1rem;min-width:56px;text-align:right}
.note-plancher{width:100%;color:#8A5A00;font-size:.8rem;margin-top:-2px}
.cas-total{border-top:2px solid var(--encre);margin-top:7px;padding-top:9px!important;font-weight:600}
.cas-total b{font-family:"Barlow Condensed",sans-serif;font-size:1.3rem;color:var(--bleu)}
.ordre-neutre{margin-top:16px;color:var(--gris);font-size:.86rem}


/* ===== cotisation par discipline ===== */
.sous-cotisation{color:var(--gris);font-size:.92rem;margin-top:6px}
.bloc-discipline{margin-bottom:22px}
.bandeau-discipline{display:flex;align-items:stretch;justify-content:space-between;
  background:var(--encre);color:#fff;padding-left:16px}
.bandeau-discipline span{font-family:"Barlow Condensed",sans-serif;font-size:1.02rem;
  letter-spacing:.11em;text-transform:uppercase;font-weight:600;
  display:flex;align-items:center;padding:9px 0}
.bandeau-discipline b{background:var(--jaune);color:var(--encre);padding:0 14px;
  font-family:"Barlow Condensed",sans-serif;font-size:1.15rem;
  display:flex;align-items:center}
.formule{display:flex;align-items:flex-start;gap:16px;padding:13px 16px;
  border-bottom:1px solid var(--trait)}
.formule:last-child{border-bottom:0}
.formule-texte{flex:1;min-width:0}
.formule-texte b{display:block;font-weight:600}
.formule-texte span{display:block;color:var(--gris);font-size:.86rem;margin-top:2px}
.formule-texte .annees{color:var(--bleu);font-weight:500}
.prix-exception{flex:0 0 auto;font-family:"Barlow Condensed",sans-serif;font-size:1.15rem;
  color:var(--bleu);background:var(--tatami);padding:4px 12px;white-space:nowrap}
.bloc-benevole{display:flex;align-items:flex-start;gap:18px;background:#FAFBFD;
  border:1px solid var(--trait);padding:15px 16px;margin-bottom:22px}
.bloc-benevole > div{flex:1;min-width:0}
.bloc-benevole b{font-weight:600}
.bloc-benevole p{color:var(--gris);font-size:.86rem;margin-top:5px;line-height:1.5}
.montant-benevole{flex:0 0 auto;font-family:"Barlow Condensed",sans-serif;font-size:1.3rem;
  color:var(--bleu);white-space:nowrap}
@media(max-width:520px){
  .bandeau-discipline b{font-size:1.05rem;padding:0 11px}
  .formule{padding:11px 12px}
}


/* ===== projets du club ===== */
.projets{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2px;
  background:var(--trait);border:1px solid var(--trait)}
.projets article{background:#fff;display:flex;flex-direction:column}
.projets .visuel{display:block;height:180px;overflow:hidden;background:var(--tatami)}
.projets .visuel img{width:100%;height:100%;object-fit:cover}
.corps-projet{padding:20px 22px 22px;flex:1;display:flex;flex-direction:column}
.corps-projet h2,.corps-projet h3{font-size:1.24rem;margin:9px 0 8px;line-height:1.28}
.corps-projet h2 a,.corps-projet h3 a{text-decoration:none;color:var(--encre)}
.corps-projet h2 a:hover,.corps-projet h3 a:hover{color:var(--bleu)}
.corps-projet p{color:var(--gris);font-size:.92rem;line-height:1.55}
.corps-projet .avec{font-size:.85rem;margin-top:9px;color:var(--bleu)}
.corps-projet .lire{margin-top:auto;padding-top:14px;font-size:.9rem;font-weight:600;
  text-decoration:none;color:var(--bleu)}
.ligne-etat{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.periode{color:var(--gris);font-size:.85rem}
/* Une frise pour l'historique : la date a gauche, le projet a droite. */
.frise{border-left:2px solid var(--trait);margin-left:9px}
.jalon{display:flex;gap:22px;padding:16px 0 16px 26px;position:relative;flex-wrap:wrap}
.jalon::before{content:"";position:absolute;left:-7px;top:24px;width:12px;height:12px;
  border-radius:50%;background:#2C8A48;border:2px solid #fff}
.date-jalon{flex:0 0 96px;font-family:"Barlow Condensed",sans-serif;font-size:1.02rem;
  color:#1F6B36;text-transform:uppercase;letter-spacing:.05em;padding-top:2px}
.contenu-jalon{flex:1;min-width:220px}
.contenu-jalon h3{font-size:1.15rem;line-height:1.3}
.contenu-jalon h3 a{text-decoration:none;color:var(--encre)}
.contenu-jalon h3 a:hover{color:var(--bleu)}
.contenu-jalon p{color:var(--gris);font-size:.9rem;margin-top:5px;line-height:1.55}
.contenu-jalon .avec{color:var(--bleu);font-size:.84rem}
.etat{display:inline-block;align-self:flex-start;padding:3px 11px;border-radius:2px;
  font-family:"Barlow Condensed",sans-serif;font-size:.84rem;letter-spacing:.06em;
  text-transform:uppercase;font-weight:600}
.etat-idee{background:var(--tatami);color:var(--gris)}
.etat-en_cours{background:var(--jaune);color:var(--encre)}
.etat-realise{background:#E7F3EA;color:#1F6B36}
.etat-abandonne{background:#FDECEA;color:#8A1C13}
.cause-abandon{background:#FDECEA;border-left:4px solid #C0272D;padding:13px 17px;
  margin-bottom:24px;color:#8A1C13;max-width:78ch;line-height:1.6}
.soutien{margin-top:20px;padding-top:18px;border-top:1px solid var(--trait)}
.soutien button{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;
  padding:13px;border:2px solid #B03A72;background:#fff;color:#B03A72;font:inherit;
  font-weight:600;border-radius:3px;cursor:pointer;font-size:.98rem}
.soutien button:hover{background:#B03A72;color:#fff}
.soutien button.deja{background:#FBEAF1;border-color:#E3BCCF;color:#B03A72;cursor:default}
.soutien .coeur{font-size:1.1rem}
.compte-soutien{margin-top:10px;text-align:center;color:var(--gris);font-size:.86rem}
.compte-soutien b{font-family:"Barlow Condensed",sans-serif;font-size:1.3rem;color:#B03A72}
.partage{margin-top:18px;padding-top:16px;border-top:1px solid var(--trait)}
.titre-partage{font-size:.86rem;color:var(--gris);margin-bottom:11px}
.boutons-partage{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
/* Nom distinct : « .rond » sert deja aux pastilles de ceinture. */
.bouton-rs{display:flex;flex-direction:column;align-items:center;gap:5px;padding:11px 4px;
  border:1px solid var(--trait);border-radius:6px;background:#fff;text-decoration:none;
  color:var(--encre);font:inherit;cursor:pointer;transition:background .15s,border-color .15s}
/* Sans « flex:0 0 auto », le rond se comprime dans une colonne etroite
   et la lettre deborde sur son bord. */
.bouton-rs span{flex:0 0 auto;display:grid;place-content:center;
  width:30px;height:30px;min-width:30px;border-radius:50%;background:var(--tatami);
  font-size:.95rem;line-height:30px;text-align:center;font-family:Barlow,sans-serif}
.bouton-rs em{font-style:normal;font-size:.74rem;color:var(--gris);text-align:center}
.bouton-rs:hover{border-color:var(--encre)}
.bouton-rs.fb:hover span{background:#1877F2;color:#fff}
.bouton-rs.wa:hover span{background:#25D366;color:#fff}
.bouton-rs.ml:hover span{background:var(--bleu);color:#fff}
.bouton-rs.cp:hover span{background:var(--encre);color:#fff}
.rond.fait{border-color:#2C8A48}
.rond.fait span{background:#2C8A48;color:#fff}
.rond.fait em{color:#1F6B36;font-weight:600}
.rond.fb span{font-family:Georgia,serif;font-weight:700}
.note-partage{margin-top:10px;color:var(--gris);font-size:.78rem;line-height:1.45}
.visuel-projet{width:100%;max-height:420px;object-fit:cover;margin-bottom:26px;display:block}
.texte-projet{line-height:1.75;font-size:1.02rem}
/* Mise en page propre a la fiche : « .deux » a un fond gris et colle ses colonnes,
   ce qui laissait un grand aplat vide sous la plus courte. */
.corps-fiche{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);
  gap:30px;align-items:start}
.fiche-projet{background:var(--tatami);padding:20px 22px;position:sticky;top:86px}
@media(max-width:860px){
  .corps-fiche{grid-template-columns:1fr;gap:24px}
  .fiche-projet{position:static}
}
.fiche-projet p{padding:8px 0;border-bottom:1px solid var(--trait);font-weight:500}
.fiche-projet p:last-of-type{border-bottom:0}
.fiche-projet span{display:block;color:var(--gris);font-size:.8rem;font-weight:400;
  text-transform:uppercase;letter-spacing:.06em}
.fiche-projet em{display:block;font-style:normal;color:var(--gris);font-size:.86rem;font-weight:400}
.fil{margin-bottom:14px;font-size:.9rem}


/* ===== grilles : le fond passe aux cartes =====
   Ces grilles portaient un fond gris et un écart de 2 pixels, ce qui simulait
   des séparateurs. Dès que la dernière rangée est incomplète, la case vide
   laisse voir un aplat gris. Les bordures passent donc sur les cartes. */
.agenda-grille,.dons,.grille-membres,.grille-tech,
.fiches-part,.boutique,.projets,.cles,.total-dons{
  background:transparent;border:0}

.agenda-grille > *,.dons > *,.grille-membres > *,.grille-tech > *,
.fiches-part > *,.boutique > *,.projets > *,.cles > *,.total-dons > *{
  border:1px solid var(--trait)}

/* Les blocs sombres gardent leur teinte : une bordure grise s'y verrait mal. */
.cles > *,.total-dons > *{border-color:rgba(255,255,255,.12)}


/* ===== accessibilite ===== */
.evitement{position:absolute;left:-9999px;top:0;z-index:200;background:var(--encre);color:#fff;
  padding:12px 20px;text-decoration:none;font-weight:600}
.evitement:focus{left:0}
nav a[aria-current="page"]{border-bottom:2px solid var(--jaune)}


/* ===== pastille evenements =====
   Sur mobile elle disparait : le bandeau du haut porte deja l'evenement,
   et une vignette fixe sur un ecran de 390 px masque forcement du texte.
   Elle reste utile sur grand ecran, ou la place ne manque pas. */
@media(max-width:820px){
  body{padding-bottom:0}
}


/* ===== pages d'erreur ===== */
.erreur-page{max-width:760px;margin:0 auto;padding:30px 0 10px}
.erreur-page .code{font-family:"Barlow Condensed",sans-serif;font-size:5rem;line-height:.9;
  color:var(--trait);letter-spacing:-.02em}
.erreur-page h1{font-size:2.1rem;margin:10px 0 14px}
.erreur-page .explication{color:var(--gris);font-size:1.05rem;line-height:1.65;max-width:62ch}
.pistes{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-top:28px}
.pistes a{display:block;padding:16px 18px;border:1px solid var(--trait);text-decoration:none;
  color:var(--encre);background:#fff;transition:border-color .15s,transform .15s}
.pistes a:hover{border-color:var(--bleu);transform:translateY(-2px)}
.pistes a b{display:block;font-weight:600;margin-bottom:3px}
.pistes a span{display:block;color:var(--gris);font-size:.86rem;line-height:1.45}


/* ===== fenetres modales =====
   Le « *{margin:0} » du haut de feuille ecrase le margin:auto que le navigateur
   applique aux <dialog> ouvertes par showModal : sans cela elles se collent
   en haut a gauche au lieu d'etre centrees. */
dialog{margin:auto;display:block}
dialog:not([open]){display:none}


/* ===== tactile =====
   Deux appuis rapides sur un bouton declenchent le zoom d'iOS, ce qui gene
   toute saisie repetee. « manipulation » supprime cette interpretation
   sans empecher le pincement, qui reste disponible. */
button,a,select,input,label,summary{touch-action:manipulation}


/* ===== navigation mobile =====
   La navigation defilait horizontalement, « S'inscrire » colle a droite en
   « position: sticky ». Or un element sticky flotte AU-DESSUS du contenu qui
   defile : le bouton recouvrait « Projets » et « Boutique », et deux liens
   devenaient inatteignables. « Essayer » etait masque par-dessus le marche,
   donc une destination principale disparaissait du site sur mobile.

   Les liens reviennent a la ligne. On y perd de la hauteur, on y gagne que
   tout est visible et cliquable — ce que le defilement horizontal ne
   garantissait pas, puisque rien n'indiquait qu'il fallait faire glisser. */
/* Sur telephone, le bandeau d'accueil doit laisser voir un bouton sans
   defiler : sur 844 px de haut, il ne peut pas en prendre plus de la
   moitie. Le blason se reduit, le titre remonte. */
@media(max-width:560px){
  .hero{padding:26px 0}
  .hero .wrap{gap:12px}
  .hero img{width:104px}
  .hero h1{font-size:clamp(1.9rem,8vw,2.6rem)}
  .hero p{margin-top:12px}
}

@media(max-width:720px){
  /* Le bandeau ne doit jamais depasser la largeur de l'ecran : un defilement
     horizontal de la page entiere rend la lecture penible partout.
     « clip » plutot que « hidden » : il masque pareil, sans faire du corps
     de la page une zone de defilement a part — ce qui empechait tout
     element fige de tenir, les menus du site et du back-office compris.
     « hidden » reste pour les navigateurs qui ignorent « clip ». */
  html,body{overflow-x:hidden;overflow-x:clip}
  .barre{align-items:center;gap:8px;padding:8px 12px;max-width:100vw;flex-wrap:wrap}
  .marque img{height:34px}
  nav{width:100%;margin-left:0;flex-wrap:wrap;gap:4px 10px;
    justify-content:flex-start;overflow:visible}

  /* 44 px de haut, la recommandation d'ergonomie tactile. Le texte ne
     grandit pas : c'est la zone cliquable qu'on agrandit. */
  nav a{white-space:nowrap;font-size:.9rem;flex:0 0 auto;
    min-height:44px;display:inline-flex;align-items:center;padding:0 10px}
  nav .lien-essai{display:inline-flex}
  nav .bouton{position:static;padding:0 16px;min-height:44px;font-size:.9rem;
    box-shadow:none;margin-left:auto}
}

/* Les tres petits ecrans : le bouton prend toute la largeur plutot que de
   se serrer contre le dernier lien. */
@media(max-width:400px){
  nav{gap:2px 6px}
  nav a{padding:0 8px;font-size:.87rem}
  nav .bouton{width:100%;margin-left:0;justify-content:center}
}


/* ===== formulaire d'inscription ===== */
.formulaire-inscription .carte{background:#fff;border:1px solid var(--trait);
  padding:22px 24px;margin-bottom:18px}
.formulaire-inscription h2{font-size:1.3rem;margin-bottom:6px}
.formulaire-inscription .aide{color:var(--gris);font-size:.9rem;margin-bottom:16px;line-height:1.55}
.formulaire-inscription label{display:block;margin-bottom:14px}
.formulaire-inscription label span{display:block;font-size:.87rem;color:var(--gris);margin-bottom:5px}
.formulaire-inscription input,.formulaire-inscription select,.formulaire-inscription textarea{
  width:100%;padding:12px;border:1px solid var(--trait);font:inherit;font-size:1rem;
  background:#fff;min-height:46px}
.formulaire-inscription .rangee{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.personne{border:1px solid var(--trait);padding:16px 18px;margin-bottom:14px;background:#FCFCFE}
.personne legend{font-weight:600;padding:0 8px;font-size:.95rem}
.choix-image{border:1px solid var(--trait);padding:14px 16px;margin:16px 0}
.choix-image legend{font-weight:600;padding:0 8px}
/* Plus specifique que « .formulaire-inscription label », sinon le block
   l'emporte et le libelle passe sous la case au lieu d'etre a cote. */
.formulaire-inscription .radio,.formulaire-inscription .coche,
.radio,.coche{display:flex;gap:11px;align-items:flex-start;margin-bottom:10px;cursor:pointer}
.formulaire-inscription .radio input,.formulaire-inscription .coche input,
.radio input,.coche input{width:auto;min-height:0;margin-top:3px;flex:0 0 auto}
.formulaire-inscription .radio span,.formulaire-inscription .coche span,
.radio span,.coche span{display:block;font-size:.95rem;line-height:1.5}
.texte-legal{background:var(--tatami);padding:14px 16px;font-size:.92rem;line-height:1.6;
  color:var(--encre);margin-bottom:4px}
.carte-suite ol{padding-left:20px;line-height:1.85;margin-bottom:14px}
.bloc-erreurs{background:#FDECEA;border-left:4px solid #C0272D;padding:14px 18px;margin-bottom:20px}
.bloc-erreurs ul{padding-left:20px;margin-top:6px;line-height:1.6}
.piege{position:absolute;left:-9999px}
@media(max-width:620px){.formulaire-inscription .rangee{grid-template-columns:1fr}}

.avertissement{background:#FFF8E1;border-left:4px solid var(--jaune);padding:14px 16px;
  margin-bottom:14px;line-height:1.6;font-size:.94rem}
.avertissement b{display:block;margin-bottom:4px}
.formulaire-inscription label em{font-style:normal;color:var(--gris);font-weight:400}

.groupe-trouve{background:#E7F3EA;color:#1A5B30;padding:10px 13px;margin-top:6px;
  font-size:.92rem;line-height:1.55;border-radius:3px}
.groupe-trouve.rien{background:#FFF3DC;color:#8A5A00}
.groupe-trouve b{font-family:"Barlow Condensed",sans-serif;font-size:1.05rem}

/* « Essayer » precede « S'inscrire » : c'est le premier pas, il doit se voir
   sans concurrencer l'action principale. */
nav .lien-essai{font-weight:600}


/* Le bouton suit le texte, sans jamais depasser la largeur disponible :
   sur 375 px il partait hors de l'ecran et son libelle etait coupe. */
.etape-lien{flex:0 0 auto;margin-left:16px;white-space:nowrap;align-self:center;
  max-width:100%}
@media(max-width:720px){
  .prix .ligne{flex-wrap:wrap}
  .etape-lien{margin:12px 0 0;width:100%;max-width:none;text-align:center;
    white-space:normal}
}

.moyens-acceptes{background:var(--tatami);padding:12px 15px;margin-top:14px;
  font-size:.93rem;line-height:1.6}

/* ===== brouillon retrouve ===== */
.brouillon{background:#E7F3EA;border-left:4px solid #2C8A48;padding:13px 17px;
  margin-bottom:20px;line-height:1.6;color:#1A5B30}
.brouillon button{background:none;border:0;color:#1A5B30;font:inherit;
  text-decoration:underline;cursor:pointer;padding:0}
.brouillon .depuis{font-weight:600}

.retirer-personne{background:none;border:0;color:#C0272D;font:inherit;font-size:.86rem;
  text-decoration:underline;cursor:pointer;padding:6px 0 0}
.retirer-personne:hover{color:#8A1C13}

.pieces-sante{background:var(--tatami);padding:14px 16px;margin-top:16px;line-height:1.6}
.pieces-sante p{color:var(--gris);font-size:.9rem;margin:4px 0 10px}
.pieces-sante ul{padding-left:20px}
.pieces-sante li{margin-bottom:4px}

/* ===== bandeau des evenements =====
   Un rouleau plutot qu'une barre par evenement : quatre bandeaux empiles
   repoussaient le contenu hors de l'ecran. La couleur du type tient dans
   une puce, ce qui evite le grand aplat rouge. */
.alerte.evenements{background:var(--encre);color:#E7EBF6;border-bottom:0}
.alerte.evenements .wrap{align-items:stretch;padding:0 24px;gap:0}
.rouleau{flex:1 1 auto;min-width:0;height:38px;overflow:hidden;position:relative}
.rouleau .passage{display:flex;align-items:center;gap:10px;height:38px;
  text-decoration:none;color:inherit;white-space:nowrap}
.rouleau .puce{flex:0 0 auto;width:9px;height:9px;border-radius:50%}
.rouleau b{font-weight:600}
.rouleau .texte{opacity:.72;overflow:hidden;text-overflow:ellipsis;min-width:0}
.rouleau .passage:hover b{text-decoration:underline}

/* La pile glisse d'un palier a la fois ; le rouleau la recadre. */
.rouleau .pile{display:flex;flex-direction:column;transition:transform .5s ease}

.alerte.evenements .fermer{flex:0 0 auto;align-self:center;color:#E7EBF6;opacity:.6}
.alerte.evenements .fermer:hover{opacity:1}
@media(max-width:620px){
  .alerte.evenements .wrap{padding:0 14px}
  .rouleau .texte .ou{display:none}
}

/* « Je suis » : une ligne courte, les prénoms seulement. */
.champ-moi{max-width:280px}
.formulaire-inscription input.repris{background:var(--tatami);color:var(--gris)}

/* Une ancre ne doit pas se retrouver sous la barre fixe du back-office. */
/* Toute ancre d'action garde sa marge sous la barre fixe. */
[id^="jour-"],#participants,#affiche,#reglements,#presences,#lignes,
#contacts,#acces,#pieces,#depenses,#modes,#periodes,#taches,#grille,
#vote,#documents{scroll-margin-top:90px}

/* Une fermeture ou une annulation se distingue dans la bulle : c'est ce
   qui evite a une famille de se deplacer pour rien. */
.passage-evt.urgent b{color:#FFB3AD}

/* Une ancre ne doit pas se caler sous le bandeau du site. */
[id^="evt-"],[id^="stage-"]{scroll-margin-top:90px}

/* ===== bandeau de fermeture =====
   Fige en haut de toutes les pages : le voir defiler, c'est le manquer.
   Il n'apparait que les jours ou quelqu'un pourrait se deplacer pour rien. */
/* Le bandeau se cale en haut, et l'en-tete juste dessous : tous deux
   colles a top:0, ils se recouvraient et le menu disparaissait. */
.bandeau-ferme{position:sticky;top:0;z-index:41;display:flex;align-items:center;
  justify-content:center;gap:10px;flex-wrap:wrap;
  background:#8A1C13;color:#fff;padding:11px 18px;font-weight:600;
  font-size:.95rem;text-align:center;line-height:1.5}
.bandeau-ferme .pastille-ferme{font-size:.7rem;opacity:.8}
.bandeau-ferme a{color:#FFD9D5;text-decoration:underline;font-weight:400;
  font-size:.9rem}
.bandeau-ferme a:hover{color:#fff}
@media(max-width:620px){
  .bandeau-ferme{font-size:.88rem;padding:10px 14px;gap:7px}
}

/* La hauteur du bandeau, posee par le composant quand il s'affiche. */
body.a-bandeau{--haut-ferme:44px}
@media(max-width:620px){body.a-bandeau{--haut-ferme:58px}}

/* La bulle reste masquee sur telephone — une vignette fixe sur 390 px
   masque forcement du texte — sauf une fermeture ou un cours du jour :
   c'est la seule chose qu'on ait besoin de lire en chemin. */
@media(max-width:820px){
  .pastille-evt{display:none}
  .pastille-evt.imminent{display:flex;left:12px;right:12px;bottom:12px}
  .pastille-evt[hidden]{display:none}

  /* La page se termine au-dessus de la bulle : sans cette marge, le dernier
     champ d'un formulaire passe dessous et l'on tape sans voir. */
  body.avec-pastille{padding-bottom:92px}
}

/* La croix : discrète sur grand écran où la bulle ne gêne personne,
   franche sur téléphone où elle recouvre le contenu. */
.fermer-evt{background:none;border:0;color:#C9CFE4;font-size:1.3rem;line-height:1;
  cursor:pointer;padding:0 2px;flex:0 0 auto}
.fermer-evt:hover{color:#fff}

/* Le rappel du mode demonstration defile avec la page : c'est un rappel
   pour celui qui teste, pas une information du site. Le figer recouvrait
   le menu et le bandeau de fermeture, et rendait le test impossible. */
.bandeau-demo{background:#141B33;color:#F5C518;text-align:center;
  padding:7px 16px;font-size:.85rem;letter-spacing:.03em;font-weight:600}


/* ---------------------------------------------------------------- */
/* Le programme des ceintures. Toutes les classes sont prefixees     */
/* « prog- » : aucune ne peut en recouvrir une autre par accident.   */
/* ---------------------------------------------------------------- */

.prog-grille{display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  margin-bottom:26px}
.prog-carte{display:flex;flex-direction:column;gap:6px;padding:18px;border:1px solid #E3E6EF;
  border-radius:12px;background:#fff;text-decoration:none;color:inherit;
  transition:border-color .15s,transform .15s}
.prog-carte:hover{border-color:var(--encre,#141B33);transform:translateY(-2px)}
.prog-carte strong{font-size:1.1rem}
.prog-sous{color:var(--gris,#6B7280);font-size:.92rem}
.prog-valeurs{font-style:italic;color:var(--gris,#6B7280);font-size:.92rem}
.prog-meta{font-size:.85rem;color:var(--gris,#6B7280);margin-top:4px}

.prog-ceintures{display:inline-flex;align-items:center;gap:8px;margin-bottom:6px}
.prog-bande{display:inline-block;width:46px;height:12px;border-radius:3px;
  border:1px solid rgba(20,27,51,.25)}
.prog-ceintures.grand .prog-bande{width:74px;height:18px}
.prog-fleche{color:var(--gris,#6B7280);font-size:.9rem}

.prog-fil{margin-bottom:12px;font-size:.92rem}
.prog-entete{display:flex;align-items:flex-start;gap:20px;flex-wrap:wrap;margin-bottom:18px}
.prog-entete h1{font-size:2rem;line-height:1.2}
.prog-valeurs-grand{margin-top:6px;color:var(--gris,#6B7280)}

.prog-chiffres{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px}
.prog-chiffres div{flex:1 1 130px;padding:12px 14px;border:1px solid #E3E6EF;border-radius:10px;
  background:#FAFBFD;text-align:center}
.prog-chiffres b{display:block;font-size:1.5rem;line-height:1.1}
.prog-chiffres span{font-size:.82rem;color:var(--gris,#6B7280)}

.prog-affiche{display:flex;align-items:center;justify-content:space-between;gap:16px;
  flex-wrap:wrap;padding:16px 18px;border:1px solid #E3E6EF;border-radius:12px;
  background:#FAFBFD;margin-bottom:22px}
.prog-affiche strong{display:block}
.prog-affiche span{font-size:.86rem;color:var(--gris,#6B7280)}
.prog-affiche-boutons{display:flex;gap:8px;flex-wrap:wrap}

.prog-onglets{display:flex;gap:6px;flex-wrap:wrap;border-bottom:2px solid #E3E6EF;
  margin-bottom:20px}
.prog-onglet{background:none;border:0;border-bottom:3px solid transparent;margin-bottom:-2px;
  padding:10px 16px;font:inherit;font-weight:600;color:var(--gris,#6B7280);cursor:pointer;
  border-radius:6px 6px 0 0}
.prog-onglet:hover{color:var(--encre,#141B33);background:#F4F6FA}
.prog-onglet.actif{color:var(--encre,#141B33);border-bottom-color:var(--encre,#141B33)}

.prog-cache{display:none}
.prog-volet{margin-bottom:10px}
.prog-chapeau{color:var(--gris,#6B7280);max-width:70ch;margin-bottom:20px}
.prog-titre-bloc{font-size:1.15rem;margin:24px 0 10px}
.prog-texte{max-width:70ch;margin-bottom:14px;white-space:normal}

.prog-liste{list-style:none;padding:0;display:grid;gap:8px;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));margin-bottom:8px}
.prog-liste li{padding:10px 14px;border:1px solid #E9ECF3;border-radius:9px;background:#fff}
.prog-nom{display:block;font-weight:600}
.prog-trad{display:block;font-size:.88rem;color:var(--gris,#6B7280)}

.prog-encadre{border-left:4px solid var(--encre,#141B33);background:#F4F6FA;padding:14px 18px;
  border-radius:0 10px 10px 0;margin:18px 0;max-width:70ch}
.prog-encadre strong{display:block;margin-bottom:4px}

.prog-video{max-width:680px;margin:16px 0}
.prog-video iframe,.prog-video-lancer{width:100%;aspect-ratio:16/9;border:0;border-radius:10px;
  display:block}
.prog-video-lancer{position:relative;padding:0;cursor:pointer;background:#000;overflow:hidden}
.prog-video-lancer img{width:100%;height:100%;object-fit:cover;display:block;opacity:.85}
.prog-video-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  font-size:2.6rem;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.6)}
.prog-video-legende{font-size:.9rem;margin-top:6px}
.prog-video-legende span{display:block;color:var(--gris,#6B7280);font-size:.85rem}

.prog-attente{padding:16px 18px;border:1px dashed #C9CFE4;border-radius:10px;background:#FAFBFD;
  color:var(--gris,#6B7280);max-width:70ch;margin-bottom:16px}

.prog-voisins{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;
  margin:30px 0 16px;font-size:.95rem}
.prog-source{font-size:.85rem;color:var(--gris,#6B7280);margin-top:10px}

@media (max-width:640px){
  .prog-entete h1{font-size:1.6rem}
  .prog-onglet{padding:10px 12px;font-size:.95rem}
  .prog-liste{grid-template-columns:1fr}
}

/* La page « Comment ce site a été fait ». Une colonne, rien d'autre :
   c'est un texte qui se lit d'un bout à l'autre. */
.coulisses{max-width:62ch}
.coulisses p{margin-bottom:16px}
.coulisses .sous-titre{margin-top:26px}
.coulisses-signature{margin-top:30px;padding-top:18px;border-top:1px solid #E3E6EF;
  font-weight:500}
.coulisses-signature span{display:block;margin-top:6px;font-weight:400;font-size:.9rem;
  color:var(--gris)}

/* ---------------------------------------------------------------- */
/* La semaine au dojo, sur l'accueil. Le bloc au-dessus range par    */
/* groupe ; celui-ci range par jour, pour qui cherche ce qu'il y a   */
/* un soir donné.                                                    */
/* ---------------------------------------------------------------- */

.titre-semaine{font-size:1.4rem;margin:38px 0 4px;scroll-margin-top:90px}
.sous-semaine{color:var(--gris);margin-bottom:18px;max-width:60ch}
.semaine{display:grid;gap:12px;
  grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
.jour-semaine{background:#fff;border:1px solid #E3E6EF;border-radius:10px;
  padding:12px 14px}
.jour-semaine h4{font-size:1rem;margin-bottom:8px;padding-bottom:6px;
  border-bottom:1px solid #EEF1F7}
.seance{display:block;border-left:4px solid var(--trait);padding:5px 0 5px 10px;
  margin-bottom:8px}
.seance:last-child{margin-bottom:0}
.h-seance{display:block;font-weight:600;font-variant-numeric:tabular-nums}
.g-seance{display:block;font-size:.88rem;color:var(--gris)}

@media (max-width:640px){
  .semaine{grid-template-columns:1fr 1fr}
  .titre-semaine{font-size:1.2rem}
}

/* Le modele dans le titre d'une carte de boutique : plus discret que la
   marque, mais lisible — c'est lui qui distingue un Yusho d'un Keiko. */
.boutique .modele{display:inline-block;margin-left:8px;font-weight:400;
  font-size:.86rem;color:var(--gris)}

/* Sur une carte de boutique : le brodage et la reduction fratrie. Ce sont
   les deux questions qu'une famille pose avant d'acheter. */
.boutique .mention-brode{margin:6px 0 0;font-size:.88rem;color:#1F6B36}
.boutique .mention-fratrie{margin:4px 0 0;font-size:.88rem;color:#8A5A00}

/* ---------------------------------------------------------------- */
/* Les rayons de la boutique : kimonos blancs, kimonos bleus, le     */
/* reste. Repliés, pour qu'on ouvre ce qu'on cherche plutôt que de   */
/* faire défiler dix-huit modèles.                                   */
/* ---------------------------------------------------------------- */

.rayon{background:#fff;border:1px solid var(--trait);border-radius:10px;
  margin-bottom:12px;overflow:hidden}
.rayon > summary{cursor:pointer;padding:16px 22px;list-style:none;
  display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}
.rayon > summary::-webkit-details-marker{display:none}
.rayon > summary::before{content:'+';font-family:"Barlow Condensed",sans-serif;
  font-size:1.5rem;line-height:1;color:var(--bleu);width:18px}
.rayon[open] > summary::before{content:'\2212'}
.rayon > summary:hover{background:var(--tatami)}
.titre-rayon{font-family:"Barlow Condensed",sans-serif;font-size:1.4rem;
  font-weight:700;margin:0}
.compte-rayon{color:var(--gris);font-size:.9rem;margin-left:auto}
.rayon[open] > summary{border-bottom:1px solid var(--trait)}
/* Dans un rayon ouvert, les cartes n'ont plus besoin de leur propre cadre. */
.rayon .boutique{border:0;border-radius:0}

@media (max-width:560px){
  .compte-rayon{margin-left:0;flex:1 1 100%}
}

/* Un lien dans une description saisie : une adresse peut etre longue et
   sans espace, elle doit se couper plutot que deborder de la carte. */
.texte-evt a,.stage-texte a,.texte-tache a,.desc a,
.programme-tache a{overflow-wrap:anywhere}

/* Un filtre posé se voit — sur les adhérents comme sur les factures. Sans
   ce repérage, une liste courte laisse croire à une perte de données. */
select.pose,input.pose{border-color:#E0A200 !important;border-width:2px !important;
  background:#FFFCF3;font-weight:600}

/* ---------------------------------------------------------------- */
/* La composition du bureau                                          */
/*                                                                   */
/* La couleur ne porte jamais l'information seule : la civilité est   */
/* écrite devant chaque nom. Une couleur seule exclut ceux qui ne la  */
/* distinguent pas, et c'est exactement le contraire du propos.      */
/*                                                                   */
/* Les deux teintes sont assombries par rapport à celles du tatami :  */
/* sur fond blanc, elles passent ainsi le contraste de 4,5 contre 1.  */
/* ---------------------------------------------------------------- */

.grille-membres h2.h{color:#26538F}
.grille-membres h2.f{color:#9B2F61}
.grille-membres .civilite{font-weight:400;font-size:.8em;opacity:.75;
  margin-right:4px}

.mixite{background:var(--tatami);border-left:4px solid var(--jaune);
  padding:14px 18px;margin-top:22px;max-width:70ch;line-height:1.6}
.mixite b.h{color:#26538F}
.mixite b.f{color:#9B2F61}


/* ===== Contre-recette du 23 septembre : finitions sur telephone ===== */

/* C01 — la pastille des evenements ne flotte plus sur telephone : fixee en
   bas, elle recouvrait le bas du premier ecran, la ou commence le premier
   bouton. Elle prend sa place dans la page, apres le contenu. */
@media(max-width:600px){
  .pastille-evt{position:static;margin:0 12px 18px;border-radius:18px;max-width:none;
    box-shadow:0 4px 16px rgba(20,27,51,.18)}
}

/* R06 — le haut de l'accueil sur telephone : les boutons passent avant
   l'accroche, pour etre visibles sans defiler. */
@media(max-width:560px){
  .hero .wrap > div:last-child{display:flex;flex-direction:column}
  .hero .depuis{order:1}
  .hero h1{order:2}
  .hero .actions{order:3;margin-top:14px}
  .hero .wrap > div:last-child > p:not(.depuis){order:4;margin-top:14px}
}

/* C03 — des cibles d'au moins 24 px de haut sur telephone : les liens du
   pied de page, « Lire la suite » de l'agenda, et les documents. */
@media(max-width:720px){
  footer li a, .a-lire, .docs li > a{display:inline-block;padding:4px 0;min-height:24px;line-height:1.35}
  footer li{margin-bottom:4px}
}

/* ===== La pastille des evenements : en haut a droite, sous le menu ===== */

/* Partout, telephone compris : elle flotte en haut a droite, juste sous le
   menu — sa hauteur, posee par le composant, suit le bas reel du menu —,
   avec un pourtour blanc. Repliee, ce n'est plus qu'un petit rond : elle
   ne recouvre presque rien, et reste a portee. Ces regles remplacent la
   pastille posee dans la page sur telephone (contre-recette, C01) et la
   bulle masquee sur tablette hors evenement imminent. */
.pastille-evt,.pastille-evt.imminent{position:fixed;top:var(--sous-menu,96px);bottom:auto;left:auto;right:20px;
  margin:0;display:flex;border:2px solid #fff;border-radius:44px}
@media(max-width:600px){
  .pastille-evt,.pastille-evt.imminent{right:12px;max-width:calc(100vw - 24px)}
}
/* Rien ne flotte plus en bas : la marge reservee sous le pied de page part. */
body.avec-pastille{padding-bottom:0}
.pastille-evt[hidden]{display:none !important}

/* Le chevron replie, a la place de la croix qui la faisait disparaitre. */
.replier-evt{background:none;border:0;color:#C9CFE4;font-size:1.6rem;line-height:1;cursor:pointer;
  padding:0 2px;flex:0 0 auto}
.replier-evt:hover{color:#fff}

/* Repliee : le rond seul, avec le nombre d'evenements a venir. */
.rond-evt{display:none}
.pastille-evt.repliee{padding:0;gap:0;border-radius:50%}
.pastille-evt.repliee > :not(.rond-evt){display:none}
.pastille-evt.repliee .rond-evt{display:flex;align-items:center;justify-content:center;position:relative;
  width:46px;height:46px;border:0;border-radius:50%;background:var(--encre);color:#fff;cursor:pointer;
  font-family:"Barlow Condensed",sans-serif;font-weight:700;font-size:1.15rem}
.pastille-evt.repliee .rond-evt:hover{background:var(--bleu)}
.alerte-rond{position:absolute;top:1px;right:1px;width:12px;height:12px;border-radius:50%;
  background:#E5342B;border:2px solid #fff}


/* L'accueil : les donateurs, puis les institutions, chacun sous son titre. */
.titre-groupe-dons{font-size:1.05rem;text-transform:uppercase;letter-spacing:.05em;color:var(--gris);
  margin:26px 0 12px;text-align:center}
.titre-groupe-dons:first-of-type{margin-top:6px}


/* L'apercu d'un projet non publie, vu depuis le back-office. */
.bandeau-apercu{background:#C0272D;color:#fff;font-weight:700;padding:10px 14px;margin:0 0 18px;border-radius:4px}


/* « Soutenez-nous » : un bouton en forme de ceinture orange et verte, couleurs
   alternees par troncons comme la vraie — la bande et ses coutures, le noeud
   et ses deux pans qui tombent —, seule touche de ces
   couleurs dans le premier bloc de l'accueil, pour qu'elle ressorte. Texte bleu
   nuit cerne de blanc, lisible sur les deux couleurs. Meme hauteur que les
   autres boutons du bloc : 54 px. */
.ceinture-soutien{position:relative;display:inline-flex;align-items:center;height:54px;padding:0 66px 0 24px;
  align-self:center;isolation:isolate;text-decoration:none;border-radius:3px;font-size:1.08rem;font-weight:800;
  background:repeating-linear-gradient(to right,#F07A1A 0,#F07A1A 62px,#2C9A4B 62px,#2C9A4B 124px);
  box-shadow:inset 0 -3px 0 rgba(0,0,0,.12),inset 0 3px 0 rgba(255,255,255,.28)}
.ceinture-soutien::before{content:"";position:absolute;left:6px;right:6px;top:7px;bottom:7px;pointer-events:none;
  border-top:1px dashed rgba(255,255,255,.55);border-bottom:1px dashed rgba(255,255,255,.55)}
.ceinture-soutien span{position:relative;color:#141B33;-webkit-text-stroke:4px #fff;paint-order:stroke fill}
.ceinture-soutien .noeud{position:absolute;right:18px;top:-4px;width:24px;height:62px;border-radius:3px;
  background:#D9650C;box-shadow:0 2px 4px rgba(0,0,0,.25)}
.ceinture-soutien .noeud::before,.ceinture-soutien .noeud::after{content:"";position:absolute;top:50px;width:14px;height:30px;
  border-radius:0 0 2px 2px;box-shadow:inset 0 -3px 0 rgba(0,0,0,.12);z-index:-1}
.ceinture-soutien .noeud::before{left:-6px;background:#2C9A4B;transform:rotate(16deg);transform-origin:top center}
.ceinture-soutien .noeud::after{right:-6px;background:#F07A1A;transform:rotate(-16deg);transform-origin:top center}
.ceinture-soutien:hover{filter:brightness(1.08)}
/* Le tour de la ceinture bat comme la puce des evenements : un anneau jaune qui
   s'agrandit en s'effacant. Fixe pour qui a demande moins d'animations. */
.ceinture-soutien::after{content:"";position:absolute;inset:-3px;border:3px solid #FFD43A;border-radius:6px;
  box-shadow:0 0 10px 2px rgba(255,212,58,.6);
  pointer-events:none;z-index:-1;animation:halo-ceinture 1.9s ease-out infinite}
@keyframes halo-ceinture{0%{transform:scale(1);opacity:1}70%{transform:scale(1.1,1.5);opacity:0}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.ceinture-soutien::after{animation:none;opacity:.6}}
/* Sur telephone, seule sur sa ligne : de la place pour les pans du noeud, avant l'accroche. */
@media(max-width:600px){.ceinture-soutien{margin-bottom:24px}}


/* L'accueil, « Stages et competitions » : le graphisme de la page Agenda en
   quatre colonnes ; deux sur tablette, une sur telephone. */
.agenda-colonnes{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.agenda-colonnes article{background:#fff;border:1px solid var(--trait);display:flex;flex-direction:column}
.agenda-colonnes .haut{display:flex;gap:12px;align-items:flex-start;padding:14px 14px 0}
.agenda-colonnes .date-bloc{flex:0 0 58px}
.agenda-colonnes .etiq-ligne{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;margin-top:2px}
.agenda-colonnes h3{font-size:1.06rem;line-height:1.25;margin:4px 0 0}
.agenda-colonnes .meta{color:var(--gris);font-size:.88rem;padding:8px 14px 0;line-height:1.55}
.agenda-colonnes .lien{padding:10px 14px 14px;margin-top:auto;font-weight:700;font-size:.9rem}
@media(max-width:900px){.agenda-colonnes{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.agenda-colonnes{grid-template-columns:1fr}}

/* Le lieu d'un événement, cliquable vers l'itinéraire. */
.lien-lieu{color:inherit;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px}
.lien-lieu:hover{text-decoration-style:solid}
