/* ==========================================================================
   Cool Kids ASBL — habillage du site (maquettes hi-fi HOME v3.3 et Desktop)
   Mobile d'abord ; ruptures 768px et 1024px. Les valeurs viennent des jetons
   du theme.json (charte V2) ; seules les nuances propres aux maquettes
   (dégradés, voiles) sont écrites ici.
   ========================================================================== */

:root {
  --ck-marge: 18px;
  --ck-conteneur: 1200px;
  --ck-section: 28px;
  /* ⚠️ Mesuré le 2026-09-23 : sur le fond Nuit, ces deux voiles donnaient
     1,06:1 et 1,14:1 — sous le seuil de perception d'un écran non calibré, et
     invisibles en plein jour. Sur un thème sombre, on sépare en ÉCLAIRCISSANT ;
     assombrir ne produit rien quand la base est déjà presque noire. */
  /* ⚠ .03 et non .05 — valeur de la CHARTE, et celle qui domine les maquettes
     (92 occurrences sur dix fichiers). Corrigé le 2026-09-24. */
  --ck-voile: rgba(255, 255, 255, .03);
  /* ⚠ .08 et non .14 — valeur de la CHARTE. Mesuré le 2026-09-24 : la bordure
     la plus marquée de TOUT le paquet de maquettes est .1 ; nous étions à .14,
     soit des filets plus visibles que nulle part dans le design. */
  --ck-filet: rgba(255, 255, 255, .08);
  /* Tout ce qui DÉLIMITE un contrôle (champ, case, bouton, pastille) : WCAG 2.2
     « 1.4.11 Non-text Contrast » exige 3:1. Sur Nuit, le seuil tombe à α=0,34 ;
     on prend 0,35 pour la marge — 3,18:1. */
  --ck-bord-actif: rgba(255, 255, 255, .35);
  --ck-attenue: var(--wp--preset--color--text-muted);
}

@media (min-width: 1024px) {
  :root { --ck-section: 72px; }
}

body {
  background: var(--wp--preset--color--base);
  color: var(--wp--preset--color--text);
  font-family: var(--wp--preset--font-family--body);
  font-size: 16px;
}

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* L'en-tête est collant (84px) et la barre d'inscription est fixe en bas sur
   mobile : sans cette réserve, un élément atteint au clavier ou par une ancre
   se retrouve CACHÉ dessous (WCAG 2.2 « 2.4.11 Focus Not Obscured »). */
html { scroll-padding-top: 96px; scroll-padding-bottom: 84px; }
@media (min-width: 1024px) { html { scroll-padding-bottom: 0; } }

/* Focus visible partout : anneau cyan (charte, WCAG AA). */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--wp--preset--color--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

.ck-or { color: var(--wp--preset--color--accent); }

/* ── Boutons ─────────────────────────────────────────────────────────── */
.ck-bouton {
  /* `gap` et non une espace dans le balisage : le bouton est en `inline-flex`,
     et l'espace entre un picto et son libellé y est AVALÉE — le calendrier
     collait au mot (constaté le 2026-09-23). */
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 6px;
  font-family: var(--wp--preset--font-family--heading);
  font-weight: 800; font-size: 15px; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
.ck-bouton--grand { min-height: 50px; font-size: 17px; }
.ck-bouton--or {
  background: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--on-accent);
  box-shadow: 0 4px 20px rgba(245, 196, 0, .28);
}
.ck-bouton--fantome {
  border: 1.5px solid var(--ck-bord-actif);
  color: rgba(255, 255, 255, .85);
  font-family: var(--wp--preset--font-family--body);
  font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 15px;
}
.ck-lien-fleche {
  display: inline-flex; align-items: center; min-height: 44px; padding-left: 12px;
  color: var(--wp--preset--color--cyan); font-weight: 600; font-size: 14px;
  text-decoration: none; white-space: nowrap;
}
.ck-badge {
  align-self: flex-start; padding: 4px 9px; border-radius: 3px;
  background: var(--wp--preset--color--accent); color: var(--wp--preset--color--on-accent);
  font-family: var(--wp--preset--font-family--heading);
  font-weight: 800; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}

/* ── En-tête ─────────────────────────────────────────────────────────── */
.ck-entete {
  position: sticky; top: 0; z-index: 50;
  background: var(--wp--preset--color--base);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.ck-entete__barre {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: var(--ck-conteneur); margin: 0 auto;
  padding: 10px 16px 10px var(--ck-marge);
}
.ck-logo img { display: block; height: 64px; width: auto; transition: height .2s ease; }
.ck-entete.est-compact .ck-logo img { height: 44px; }
.ck-entete__actions { display: flex; align-items: center; gap: 10px; }
.ck-tel { display: none; }
.ck-burger {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; cursor: pointer;
}
.ck-burger__trait { display: block; width: 24px; height: 2px; border-radius: 1px; background: rgba(255, 255, 255, .6); }

/* Menu mobile : panneau sous l'en-tête, ouvert par le burger. */
.ck-nav { display: none; }
.ck-nav.est-ouvert {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  /* PLEIN ÉCRAN (maquette « Menu ouvert ») : `min-height` autant que
     `max-height`, sinon le panneau s'arrêtait à la hauteur de son contenu et
     la page se voyait dessous. `dvh` et non `vh` : sur mobile, la barre du
     navigateur se rétracte et `vh` laissait un liseré de page en bas. */
  min-height: calc(100dvh - 100%); max-height: calc(100dvh - 100%); overflow-y: auto;
  background: var(--wp--preset--color--base); border-bottom: 1px solid var(--ck-filet);
  padding: 8px var(--ck-marge) 24px;
}
/* La page ne défile plus derrière le menu ouvert. */
body:has(.ck-nav.est-ouvert) { overflow: hidden; }
.ck-nav__liste { list-style: none; margin: 0; padding: 0; }
.ck-nav__item { position: relative; border-bottom: 1px solid var(--ck-filet); }
.ck-nav__lien {
  display: flex; align-items: center; min-height: 52px;
  color: var(--wp--preset--color--text); font-weight: 600; font-size: 17px; text-decoration: none;
}
.ck-nav__item.est-courant > .ck-nav__lien { color: var(--wp--preset--color--accent); }
.ck-nav__deplier {
  position: absolute; right: 0; top: 4px; width: 44px; height: 44px;
  border: 0; background: transparent; cursor: pointer;
}
.ck-nav__deplier::before {
  content: ''; display: block; margin: auto; width: 0; height: 0;
  border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 6px solid var(--wp--preset--color--cyan); transition: transform .2s ease;
}
.ck-nav__deplier[aria-expanded="true"]::before { transform: rotate(180deg); }
.ck-sous-menu { display: none; padding: 0 0 12px; }
.ck-nav__deplier[aria-expanded="true"] + .ck-sous-menu { display: block; }
.ck-sous-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ck-sous-menu a {
  display: grid; gap: 2px; padding: 10px 12px; border-radius: 8px;
  color: var(--wp--preset--color--text); text-decoration: none;
}
/* Le survol valait rgba(255,255,255,.03) — 1,06:1, invisible. Voile relevé ET
   repère franc à gauche : on sait où l'on est sans compter sur la couleur. */
.ck-sous-menu a:hover, .ck-sous-menu a:focus-visible {
  background: rgba(255, 255, 255, .10);
  box-shadow: inset 3px 0 0 var(--wp--preset--color--cyan);
}
.ck-sous-menu strong { font-size: 15px; }
.ck-sous-menu span { font-size: 13px; color: var(--ck-attenue); }
.ck-sous-menu__tout a { color: var(--wp--preset--color--cyan); font-weight: 600; font-size: 14px; }
.ck-nav__tel { display: flex; align-items: center; gap: 6px; min-height: 52px; color: var(--wp--preset--color--cyan); text-decoration: none; }

@media (min-width: 1024px) {
  .ck-entete__barre { padding: 12px var(--ck-marge); gap: 24px; }
  .ck-logo img { height: 60px; }
  .ck-burger, .ck-nav__tel { display: none; }
  .ck-tel {
    display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
    color: var(--wp--preset--color--text); font-size: 14px; text-decoration: none;
  }
  .ck-nav, .ck-nav.est-ouvert {
    display: block; position: static; flex: 1; padding: 0; border: 0; background: none; overflow: visible; max-height: none;
  }
  .ck-nav__liste { display: flex; gap: 4px; }
  .ck-nav__item { border: 0; display: flex; align-items: center; }
  .ck-nav__lien { min-height: 44px; padding: 0 10px; font-size: 15px; font-weight: 500; border-radius: 6px; }
  .ck-nav__lien:hover { background: rgba(255, 255, 255, .10); }
  .ck-nav__item.a-sous-menu > .ck-nav__lien { padding-right: 4px; }
  /* 22px échouait à WCAG 2.2 « 2.5.8 Target Size (Minimum) » : 24px mini. */
  .ck-nav__deplier { position: static; width: 32px; height: 44px; }
  .ck-nav__deplier::before { border-top-color: var(--wp--preset--color--cyan); }
  /* Liste déroulante : au survol, au clavier (focus-within) ou au clic.
     ⚠️ Le panneau était posé à `100% + 6px` : ces 6 pixels n'appartenaient NI
     à l'onglet NI au panneau. En descendant lentement la souris, le survol se
     perdait dans ce vide et le menu se refermait avant qu'on atteigne un lien
     (mesuré le 2026-09-23). Le panneau part donc de `100%` et c'est sa marge
     intérieure HAUTE qui rend l'air — la surface survolable est continue.
     C'est ce qu'exige WCAG 2.2 « 1.4.13 Content on Hover or Focus » :
     le contenu apparu au survol doit rester atteignable à la souris. */
  .ck-sous-menu {
    position: absolute; top: 100%; left: 0; min-width: 380px;
    padding: 16px 10px 10px; border-radius: 12px;
    /* ⚠️ Le panneau valait #0D1220 sur un en-tête #0A0E1A : 1,03:1 de contraste,
       c'est-à-dire AUCUNE séparation visible (mesuré le 2026-09-23). Il flottait
       sans bord sur le hero. Surface relevée, et surtout une vraie bordure :
       WCAG 2.2 « 1.4.11 Non-text Contrast » exige 3:1 pour le pourtour d'un
       composant d'interface. Celle-ci est à 3,5:1. */
    background: #151C2B; border: 1px solid rgba(255, 255, 255, .40);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .6);
  }
  /* ⚠️ L'ouverture ne passe PLUS par `:hover` / `:focus-within` : le CSS
     ouvrait le panneau pendant que le bouton annonçait « fermé », et rien ne
     permettait de le refermer au clavier. C'est le JS qui pose désormais
     `aria-expanded`, et la règle unique ci-dessus (l. ~130) le suit. */
  .ck-sous-menu ul { grid-template-columns: 1fr 1fr; }
}

/* ── Sections communes ───────────────────────────────────────────────── */
.ck-section {
  padding: var(--ck-section) max(var(--ck-marge), calc((100% - var(--ck-conteneur)) / 2));
}
.ck-section--sombre { background: rgba(255, 255, 255, .05); }
.ck-section__entete { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ck-section__titre {
  margin: 0; font-family: var(--wp--preset--font-family--heading);
  font-weight: 800; font-size: var(--wp--preset--font-size--xxl); line-height: 1;
  text-transform: uppercase; color: #fff;
}
.ck-section__sous-titre { margin: 6px 0 0; color: var(--ck-attenue); font-size: 14px; display: none; }
@media (min-width: 768px) { .ck-section__sous-titre { display: block; } }

/* ── Hero ────────────────────────────────────────────────────────────── */
.ck-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #0C1828 0%, #0A0E1A 55%, #0D1A30 100%);
  padding: 26px var(--ck-marge) 24px;
}
.ck-hero__fond {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(0, 198, 255, .09) 1px, transparent 1px);
  background-size: 26px 26px;
}
.ck-hero__grille { position: relative; max-width: var(--ck-conteneur); margin: 0 auto; }
/* Mobile : la mascotte flotte à droite et le titre l'habille (shape-outside). */
.ck-hero__mascotte {
  /* Proportions de la maquette à 390px (170px, -18px), gardées à toute largeur :
     une mascotte fixe mangeait la place du titre sur les petits écrans. */
  /* ⚠ LE DÉBORD EST PROPORTIONNEL AU TIGRE, pas à la fenêtre. La maquette pose
     -18px pour 170px, soit 10,6 %. Avec `-4.6vw`, le débord grandissait avec la
     fenêtre alors que le tigre plafonne à 240px : 14,6 % à 768px, 20 % à 1023px
     — et comme l'image n'a aucune marge transparente, c'est la CAPE qui était
     coupée. Signalé par David le 2026-09-24, mesuré ensuite. */
  --ck-tigre-hero: min(43.6vw, 240px);
  float: right; width: var(--ck-tigre-hero); height: auto;
  margin: -6px calc(var(--ck-tigre-hero) * -0.106) 0 0;
  shape-image-threshold: .35; shape-margin: 8px;
  filter: drop-shadow(-4px 0 18px rgba(0, 0, 0, .5));
  position: relative; z-index: 1;
}
.ck-surtitre {
  margin: 0 0 8px; color: var(--wp--preset--color--cyan);
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.ck-hero__titre {
  margin: 0 0 10px; color: #fff; text-transform: uppercase;
  font-family: var(--wp--preset--font-family--heading); font-weight: 900;
  /* « TES LIMITES. » sur une ligne dès 360px (règle de la charte). Mesuré le
     2026-09-22, avec `ck_sans_orphelin` : 4 lignes sans trou de 320 à 830px.
     À 11,5vw, un trou apparaissait sous la mascotte à 330px ; à 12,6vw (l'ancienne
     valeur), 5 lignes jusqu'à 414px. */
  font-size: min(11.3vw, 92px); line-height: .9;
}
.ck-hero__sous-titre { clear: both; margin: 0 0 18px; color: var(--ck-attenue); font-size: 16px; line-height: 1.5; }
.ck-hero__actions { display: flex; gap: 10px; margin: 0; clear: both; }
.ck-hero__actions .ck-bouton { flex: 1; }
.ck-hero__reperes { display: none; }

@media (min-width: 1024px) {
  .ck-hero { padding: 64px var(--ck-marge); }
  .ck-hero__grille { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px; }
  .ck-hero__mascotte {
    float: none; order: 2; width: 100%; max-width: 360px; justify-self: center; margin: 0;
    shape-outside: none !important;
  }
  .ck-hero__texte { order: 1; }
  .ck-hero__titre { font-size: var(--wp--preset--font-size--xxxl); }
  .ck-hero__actions { max-width: 460px; }
  .ck-hero__actions .ck-bouton { flex: 0 1 auto; }
  .ck-hero__reperes {
    display: flex; gap: 24px; list-style: none; margin: 28px 0 0; padding: 0;
    color: var(--ck-attenue); font-size: 14px;
  }
  .ck-hero__reperes strong {
    color: var(--wp--preset--color--accent); font-family: var(--wp--preset--font-family--heading);
    font-weight: 800; font-size: 20px; margin-right: 4px;
  }
}

/* ── À venir ─────────────────────────────────────────────────────────── */
.ck-agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ck-agenda__item > a {
  display: grid; gap: 4px; padding: 14px; border-radius: 8px; text-decoration: none;
  background: var(--ck-voile); border: 1px solid var(--ck-filet);
  border-left: 3px solid var(--agenda-couleur);
}
.ck-agenda__titre { color: #fff; font-weight: 700; font-size: 16px; line-height: 1.3; }
.ck-agenda__meta { color: var(--ck-attenue); font-size: 14px; }

/* ── À VENIR : la date sur sa propre ligne, à la couleur du type ──────────
   Maquette DESKTOP (.dai-d). Sans elle, la date était noyée dans la méta grise
   et le bloc paraissait vide — signalé par David le 2026-09-24.
   ⚠ La maquette MOBILE (home-v3-3) garde la date dans la méta. On la sort ici
     aux deux tailles, en plus petit sur mobile : c'est un écart assumé, pour ne
     pas faire disparaître la couleur sur téléphone. */
.ck-agenda__date {
  color: var(--agenda-couleur, var(--wp--preset--color--accent));
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}


/* ── LIBELLÉS COURTS / LONGS ─────────────────────────────────────
   La maquette raccourcit délibérément sur mobile (« Tous », « Voir tout ») et
   donne le libellé entier sur desktop (« Tous les stages », « Voir le
   calendrier »). Notre intégration mélangeait les deux.
   ⚠ `display: none` retire aussi du lecteur d'écran : une seule version est
     annoncée, jamais les deux. */
.ck-long { display: none; }
@media (min-width: 1024px) {
  .ck-court { display: none; }
  .ck-long { display: inline; }
}

/* ── À VENIR, version DESKTOP ── trois colonnes (maquette desktop, .dagenda) */
@media (min-width: 1024px) {
  .ck-agenda { grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
  .ck-agenda__item > a { padding: 20px; border-radius: 12px; border-left-width: 5px; }
  .ck-agenda__date { font-size: 13px; margin-bottom: 4px; }
  .ck-agenda__titre { font-size: 19px; }
  .ck-agenda__meta { font-size: 15px; }
}
@media (min-width: 768px) { .ck-agenda { grid-template-columns: repeat(3, 1fr); } }

/* ── Cartes activité ─────────────────────────────────────────────────── */
.ck-activites { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
/* ⚠ LE <picture> DU SOCLE NE DOIT PAS PRENDRE LA PLACE DE L'IMAGE.
   Le socle enveloppe chaque image d'un `<picture>` pour proposer l'AVIF. Sans
   cette ligne, c'est le `<picture>` qui devient l'enfant du grid ou du flex :
   toutes les règles posées sur l'IMAGE (`order`, `flex`, `justify-self`,
   `align-items` du parent…) cessent d'agir sur l'élément réellement mis en page.
   Mesuré le 2026-09-24 : les éléments du hero d'accueil s'inversaient en
   desktop, parce que `order: 2` portait sur l'`<img>` devenue simple
   petite-fille de la grille.
   `display: contents` rend le `<picture>` transparent à la mise en page — les
   sélecteurs descendants (`.ck-activite__image img`…) continuent de fonctionner,
   et rien d'autre ne change. */
picture { display: contents; }
/* ⚠ Conséquence de la ligne précédente : avec `display: contents`, les ENFANTS
   du `<picture>` deviennent les éléments mis en page — `<source>` compris. Les
   navigateurs ne le rendent pas, mais on ne s'en remet pas à leur feuille par
   défaut : une case vide de plus dans une grille à deux colonnes casserait tout. */
picture > source { display: none; }

.ck-activite a {
  display: flex; align-items: stretch; overflow: hidden; border-radius: 10px; text-decoration: none;
  background: rgba(27, 79, 114, .18); border: 1px solid rgba(27, 79, 114, .32);
}
/* ⚠ ÉCART ASSUMÉ À LA MAQUETTE, décidé par David le 2026-09-24 après l'avoir
   vu à l'écran : « c'est très moche en vrai ».
   La maquette pose `align-items: flex-end` et `object-position: bottom center`
   — le tigre repose sur le bas de la vignette. Avec les tigres définitifs, qui
   n'ont plus de marge transparente sous les pattes, ça ne rend pas.
   Le tigre est donc CENTRÉ verticalement. Ne pas « corriger » vers la maquette
   en croyant réparer un oubli. */
.ck-activite__image {
  flex: 0 0 92px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, rgba(27, 79, 114, .45), rgba(10, 14, 26, .9));
}
.ck-activite__image img { width: 92px; height: 100px; object-fit: contain; object-position: center; }
.ck-activite__corps { flex: 1; display: grid; gap: 4px; padding: 14px 12px; }
.ck-activite__titre { color: #fff; font-weight: 700; font-size: 16px; line-height: 1.3; }
.ck-activite__meta { color: var(--ck-attenue); font-size: 14px; }
.ck-activite__prix {
  color: var(--wp--preset--color--cyan); font-family: var(--wp--preset--font-family--heading);
  font-weight: 800; font-size: 18px;
}
.ck-activite__prix small, .ck-stage__prix small {
  font-family: var(--wp--preset--font-family--body); font-weight: 400; font-size: 12px; color: var(--ck-attenue);
}
.ck-activite__fleche { display: flex; align-items: center; padding: 0 14px; font-size: 24px; color: rgba(255, 255, 255, .35); }

@media (min-width: 768px) { .ck-activites { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .ck-activites { grid-template-columns: repeat(5, 1fr); }
  .ck-activite a { flex-direction: column; }
  .ck-activite__image { flex-basis: auto; height: 150px; }
  .ck-activite__image img { width: 100%; height: 140px; }
  .ck-activite__fleche { display: none; }
}

/* ── Cartes stage ────────────────────────────────────────────────────── */
.ck-stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ck-stage {
  position: relative; overflow: hidden; padding: 18px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(27, 79, 114, .2), rgba(10, 14, 26, .7));
  border: 1px solid rgba(245, 196, 0, .3);
}
.ck-stage::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--wp--preset--color--accent), transparent);
}
.ck-stage__tete { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.ck-stage__titre {
  margin: 0; font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 22px;
  text-transform: uppercase; letter-spacing: .03em; line-height: 1.05;
}
.ck-stage__titre a { color: #fff; text-decoration: none; }
.ck-stage__date { margin: 0 0 12px; color: var(--ck-attenue); font-size: 14px; }
.ck-stage__pied { display: flex; align-items: center; justify-content: space-between; }
.ck-stage__prix {
  color: var(--wp--preset--color--accent); font-family: var(--wp--preset--font-family--heading);
  font-weight: 800; font-size: 24px;
}
@media (min-width: 768px) { .ck-stages { grid-template-columns: repeat(2, 1fr); } }

/* ── Pied de page ────────────────────────────────────────────────────── */
.ck-pied {
  background: #050710; border-top: 1px solid rgba(255, 255, 255, .14);
  padding: 28px max(var(--ck-marge), calc((100% - var(--ck-conteneur)) / 2));
  color: rgba(255, 255, 255, .55); font-size: 14px;
}
.ck-pied__colonnes { display: grid; gap: 24px; }
/* Logo à la hauteur de la colonne : à 48px, la 1re colonne restait presque vide
   à côté des trois listes. Source 400 × 299 : nette jusqu'à ~150px en écran HD. */
.ck-pied__marque img { height: 96px; width: auto; display: block; margin-bottom: 14px; }
.ck-pied__marque p { margin: 0; line-height: 1.6; max-width: 34ch; }
.ck-pied__titre {
  /* .4 donnait 3,74:1 sur le pied (#050710) : sous les 4,5:1 exigés. */
  margin: 0 0 8px; color: rgba(255, 255, 255, .46);
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.ck-pied ul { list-style: none; margin: 0; padding: 0; }
.ck-pied li { min-height: 36px; display: flex; align-items: center; }
.ck-pied a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.ck-pied a:hover { color: #fff; }
.ck-pied__bas {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  margin-top: 20px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 12px; color: rgba(255, 255, 255, .46);
}
.ck-pied__bas p { margin: 0; }
/* Crédit de l'agence : lisible sans tirer l'œil, il n'est pas le sujet du pied
   de page. Souligné au survol seulement, comme les autres liens du bas. */
.ck-pied__agence a { color: inherit; text-decoration: none; }
.ck-pied__agence a:hover, .ck-pied__agence a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 768px) {
  .ck-pied__colonnes { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .ck-pied__marque img { height: 140px; }
}

/* ── Fiche activité / stage (maquettes ACT_001, STG_001, Page Stage desktop) ── */
.ck-fil {
  padding: 12px max(var(--ck-marge), calc((100% - var(--ck-conteneur)) / 2));
  font-size: 13px; color: rgba(255, 255, 255, .5); border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.ck-fil a { color: inherit; text-decoration: none; }
.ck-fil a:hover { color: #fff; }
.ck-fil span { margin: 0 6px; color: rgba(255, 255, 255, .3); }
.ck-fil b { color: rgba(255, 255, 255, .85); font-weight: 600; }

.ck-phero {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #0C1828 0%, #0A0E1A 55%, #0D1A30 100%);
}
/* Mobile : texte + mascotte en haut, infos rapides et disponibilité en bandeaux
   pleine largeur dessous (la mascotte ne les recouvre jamais). */
.ck-phero__grille {
  position: relative; z-index: 1; display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "texte image" "faits faits" "dispo dispo";
  max-width: var(--ck-conteneur); margin: 0 auto;
}
.ck-phero__texte { grid-area: texte; min-width: 0; padding: 26px 0 26px var(--ck-marge); align-self: center; }
.ck-phero__tag {
  margin: 0 0 10px; color: var(--wp--preset--color--cyan);
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.ck-phero__titre {
  margin: 0 0 10px; color: #fff; text-transform: uppercase;
  font-family: var(--wp--preset--font-family--heading); font-weight: 900;
  font-size: min(10.8vw, 76px); line-height: .92;
  /* `break-word` et NON `anywhere` : avec `anywhere`, la colonne du titre peut
     se rétrécir sous la largeur du mot le plus long, et « MULTISPORTS » se
     coupait en « MULTISPORT / S » à 390px (mesuré le 2026-09-23). `break-word`
     ne casse un mot qu'en dernier recours, quand il ne tient seul sur aucune
     ligne. */
  overflow-wrap: break-word;
}
.ck-phero__sous-titre { margin: 0; color: var(--ck-attenue); font-size: 16px; line-height: 1.45; }
.ck-phero__sous-titre b { color: #fff; }
.ck-phero__image {
  grid-area: image; width: 140px; height: auto; align-self: end; margin: 16px 6px 0 6px;
  filter: drop-shadow(-4px 0 18px rgba(0, 0, 0, .5));
}

/* Infos rapides : sur mobile, bandeau pleine largeur sous le hero (3 cases). */
.ck-faits {
  grid-area: faits; display: grid; grid-template-columns: repeat(var(--ck-faits, 3), 1fr);
  margin: 0; padding: 0;
  background: rgba(27, 79, 114, .16); border-top: 1px solid rgba(255, 255, 255, .14);
}
.ck-fait { padding: 16px 8px; text-align: center; }
.ck-fait + .ck-fait { border-left: 1px solid rgba(255, 255, 255, .14); }
.ck-fait dt {
  margin-bottom: 6px; color: rgba(232, 232, 232, .55);
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.ck-fait dd {
  margin: 0; color: #fff; line-height: 1;
  font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 22px;
}
.ck-fait--bureau { display: none; }

/* Disponibilité : état « ouvert » (vert) tant que la plateforme ne donne pas les places. */
.ck-dispo {
  grid-area: dispo; display: flex; align-items: center; gap: 10px;
  margin: 0; padding: 14px var(--ck-marge);
  background: rgba(39, 174, 96, .08); border-block: 1px solid rgba(39, 174, 96, .2);
  color: var(--wp--preset--color--type-cours); font-size: 16px; font-weight: 700;
}
.ck-dispo__point {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
  background: currentColor; box-shadow: 0 0 0 4px rgba(39, 174, 96, .2);
}

.ck-fiche { max-width: var(--ck-conteneur); margin: 0 auto; }
.ck-bloc { padding: var(--ck-section) var(--ck-marge); }
.ck-bloc + .ck-bloc { border-top: 1px solid rgba(255, 255, 255, .14); }
.ck-bloc--sombre { background: rgba(255, 255, 255, .05); }
.ck-bloc .ck-section__titre { margin-bottom: 16px; }
.ck-texte { font-size: 16px; line-height: 1.6; color: rgba(232, 232, 232, .8); }
.ck-texte > :first-child { margin-top: 0; }

.ck-etiquettes { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ck-etiquettes li {
  padding: 7px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #fff;
  background: rgba(0, 198, 255, .08); border: 1px solid rgba(0, 198, 255, .25);
}

.ck-boite {
  list-style: none; margin: 0; padding: 0; overflow: hidden; border-radius: 10px;
  background: var(--ck-voile); border: 1px solid rgba(255, 255, 255, .14);
}
.ck-ligne { display: flex; gap: 14px; align-items: flex-start; padding: 16px; }
.ck-ligne + .ck-ligne { border-top: 1px solid var(--ck-filet); }
.ck-ligne__icone {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(0, 198, 255, .1); color: var(--wp--preset--color--cyan);
}
.ck-ligne__icone svg { width: 18px; height: 18px; }
.ck-ligne__titre { margin: 0 0 3px; color: #fff; font-size: 16px; font-weight: 700; }
.ck-ligne__detail { margin: 0; color: var(--ck-attenue); font-size: 14px; line-height: 1.45; }
.ck-gros-prix {
  margin: 0; color: var(--wp--preset--color--accent); line-height: 1;
  font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 34px;
}
.ck-gros-prix small { font-family: var(--wp--preset--font-family--body); font-size: 14px; font-weight: 400; color: var(--ck-attenue); }
.ck-puces { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ck-puces li {
  padding: 5px 9px; border-radius: 6px; font-size: 13px; font-weight: 700;
  color: var(--wp--preset--color--type-cours); background: rgba(39, 174, 96, .12);
}
.ck-puces li.ck-puces__info { color: var(--wp--preset--color--cyan); background: rgba(0, 198, 255, .1); }
.ck-note { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; color: var(--ck-attenue); font-size: 14px; }
.ck-note b, .ck-note strong { color: #fff; }

.ck-ages { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ck-age {
  display: flex; gap: 14px; padding: 16px; border-radius: 10px;
  background: var(--ck-voile); border: 1px solid rgba(255, 255, 255, .14);
}
.ck-age__badge {
  flex-shrink: 0; width: 58px; padding: 8px 0; border-radius: 8px; text-align: center; align-self: flex-start;
  font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 20px; line-height: 1;
  color: var(--wp--preset--color--base); background: var(--wp--preset--color--cyan);
}
.ck-age__badge--1 { background: var(--wp--preset--color--accent); }
.ck-age__badge--2 { background: var(--wp--preset--color--type-cours); }
.ck-age__badge small {
  display: block; margin-top: 3px; text-transform: uppercase;
  font-family: var(--wp--preset--font-family--body); font-size: 11px; font-weight: 700;
}
.ck-age__titre { margin: 0 0 4px; color: #fff; font-size: 16px; font-weight: 700; }
.ck-age__detail { margin: 0; color: var(--ck-attenue); font-size: 14px; line-height: 1.45; }
/* Places du groupe d'âge pour la semaine affichée (2026-10-30). */
.ck-age__places { margin: 4px 0 0; color: var(--wp--preset--color--text); font-size: 13px; font-weight: 600; }
.ck-age__places.est-limite { color: var(--wp--preset--color--accent); }
.ck-age__places.est-complet { color: #ff8a7d; }

.ck-sous-titre { margin: 20px 0 10px; color: #fff; font-size: 16px; font-weight: 700; }
a.ck-bouton-envoi { text-decoration: none; font-size: 17px; text-transform: none; letter-spacing: 0; }
.ck-prix__ligne { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px; }
.ck-prix__ligne + .ck-prix__ligne { border-top: 1px solid var(--ck-filet); }
.ck-prix__ligne.est-mis-en-avant { background: var(--wp--preset--color--accent-soft); }
.ck-prix__qui { color: #fff; font-size: 16px; font-weight: 600; }
.ck-prix__qui small { display: block; margin-top: 2px; color: var(--ck-attenue); font-size: 13px; font-weight: 400; }
.ck-prix__montant { color: #fff; font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 28px; }
.ck-prix__ligne.est-mis-en-avant .ck-prix__montant { color: var(--wp--preset--color--accent); }

.ck-agenda-boutons__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }

/* Formulaire (essai / inscription) — maquettes ACT_001, STG_001, « États à prévoir ». */
.ck-formulaire { padding: 0; }
.ck-formulaire .ck-section__titre { margin-bottom: 16px; }
.ck-carte-form {
  padding: 20px 16px; border-radius: 14px;
  background: linear-gradient(160deg, rgba(27, 79, 114, .28), rgba(10, 14, 26, .6));
  border: 1px solid rgba(0, 198, 255, .16);
}
.ck-carte-form--stage { border-color: rgba(245, 196, 0, .2); }
.ck-carte-form__intro { margin: 0 0 18px; color: var(--ck-attenue); font-size: 16px; line-height: 1.5; }
.ck-alerte {
  margin: 0 0 14px; padding: 12px 14px; border-radius: 8px; font-size: 14px;
  color: #ff8a7d; background: rgba(231, 76, 60, .1); border: 1px solid rgba(231, 76, 60, .25);
}
/* Sous le bouton d'envoi : « Rien n'est parti : il manque… » (coolkids.js). */
.ck-alerte--envoi { margin: 12px 0 0; }
.ck-alerte[hidden] { display: none; }
.ck-champs { display: flex; flex-direction: column; gap: 14px; }
.ck-champs__rangee { display: flex; gap: 10px; }
.ck-champs__rangee > * { flex: 1; min-width: 0; }
.ck-champs__rangee > .ck-champs__large { flex: 2; }
.ck-champ__libelle { display: block; margin-bottom: 6px; color: rgba(232, 232, 232, .85); font-size: 14px; font-weight: 600; }
.ck-champ__libelle i { color: var(--wp--preset--color--accent); font-style: normal; }
.ck-champ__saisie {
  box-sizing: border-box; width: 100%; height: 50px; padding: 0 14px; border-radius: 8px;
  border: 1.5px solid var(--ck-bord-actif); background: rgba(10, 14, 26, .7);
  color: #fff; font: inherit; font-size: 16px; /* 16px : pas de zoom automatique sur iPhone */
}
/* .4 = 3,32:1 ; un texte d'invite reste du texte. */
.ck-champ__saisie::placeholder { color: rgba(232, 232, 232, .55); }
select.ck-champ__saisie { appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, .5) 50%), linear-gradient(135deg, rgba(255, 255, 255, .5) 50%, transparent 50%); background-position: calc(100% - 19px) 22px, calc(100% - 14px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
select.ck-champ__saisie option { background: #0D1220; color: #fff; }
/* ⚠️ Cette règle portait `outline: none`. Sa spécificité (0,2,0) l'emportait sur
   l'anneau global écrit en `:where(...)` (0,1,0) : l'anneau cyan ne s'appliquait
   JAMAIS aux champs du formulaire d'inscription — vérifié au navigateur le
   2026-09-23 (`outlineStyle: none`). Il ne restait qu'un halo à 1,38:1, invisible.
   L'anneau revient ; le halo n'est plus qu'un renfort. */
.ck-champ__saisie:focus { border-color: var(--wp--preset--color--cyan); box-shadow: 0 0 0 3px rgba(0, 198, 255, .35); }
.ck-champ__saisie:focus-visible { outline: 3px solid var(--wp--preset--color--cyan); outline-offset: 2px; }
.ck-champ__saisie[aria-invalid="true"] { border-color: #ff6b5b; }
.ck-champ__aide { margin: 6px 0 0; color: var(--ck-attenue); font-size: 13px; }
.ck-champ__aide--seule { margin-top: -8px; }
/* « C'est Ezio ? » sous le prénom (2026-10-30) : deux boutons-liens cyan, cibles de 44px. */
.ck-suggestion { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; margin: -8px 0 8px; color: var(--wp--preset--color--text); font-size: 14px; }
.ck-suggestion[hidden] { display: none; }
.ck-suggestion button { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--wp--preset--color--cyan); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ck-suggestion .ck-suggestion__non { color: var(--ck-attenue); font-weight: 400; }
.ck-suggestion button:focus-visible { outline: 3px solid var(--wp--preset--color--cyan); outline-offset: 2px; }
/* Candidature (page Recrutement) : zone de texte et CV joint. */
.ck-champ__saisie--texte { height: auto; min-height: 120px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.ck-champ__fichier { box-sizing: border-box; width: 100%; min-height: 50px; padding: 10px; border-radius: 8px; border: 1.5px dashed var(--ck-bord-actif); background: rgba(10, 14, 26, .7); color: var(--wp--preset--color--text); font: inherit; font-size: 15px; }
.ck-champ__fichier::file-selector-button { margin-right: 12px; min-height: 36px; padding: 0 14px; border: 0; border-radius: 6px; background: var(--wp--preset--color--cyan); color: var(--wp--preset--color--base); font: inherit; font-weight: 600; cursor: pointer; }
.ck-champ__fichier:focus-visible { outline: 3px solid var(--wp--preset--color--cyan); outline-offset: 2px; }
.ck-champ__fichier[aria-invalid="true"] { border-color: #ff6b5b; }
.ck-requis { color: var(--wp--preset--color--accent); font-style: normal; }
.ck-champ__erreur { margin: 6px 0 0; color: #ff8a7d; font-size: 13px; }
.ck-accord {
  margin: 0; padding: 16px; border-radius: 10px;
  background: var(--ck-voile); border: 1px solid rgba(255, 255, 255, .08);
}
.ck-accord__titre { padding: 0; margin-bottom: 12px; color: #fff; font-size: 15px; font-weight: 700; float: left; width: 100%; }
.ck-case { clear: both; display: flex; gap: 12px; align-items: flex-start; min-height: 44px; font-size: 14px; line-height: 1.5; color: rgba(232, 232, 232, .8); cursor: pointer; }
.ck-case + .ck-case { margin-top: 10px; }
.ck-case b { color: #fff; }
/* Case de la maquette : sombre bordée, cyan cochée. Reste une vraie case à cocher (clavier, lecteur d'écran). */
.ck-case input {
  appearance: none; flex-shrink: 0; width: 24px; height: 24px; margin: 1px 0 0; cursor: pointer;
  border: 2px solid var(--ck-bord-actif); border-radius: 6px; background: transparent;
}
.ck-case input:checked {
  border-color: var(--wp--preset--color--cyan);
  background: var(--wp--preset--color--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0E1A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.ck-accord__note { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .14); color: var(--ck-attenue); font-size: 13px; line-height: 1.5; }
.ck-bouton-envoi {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 56px; margin-top: 4px;
  border: 0; border-radius: 8px; cursor: pointer;
  background: var(--wp--preset--color--accent); color: var(--wp--preset--color--on-accent);
  font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 19px; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 6px 24px rgba(245, 196, 0, .28);
}
.ck-rassure { margin: 12px 0 0; text-align: center; color: var(--ck-attenue); font-size: 13px; }
.ck-rassure b { color: var(--wp--preset--color--type-cours); }
.ck-rassure--discret { margin-top: 8px; font-size: 12px; color: var(--ck-attenue); }
.ck-rassure a { color: var(--wp--preset--color--cyan); text-decoration: underline; text-underline-offset: 2px; }
.ck-envoye { padding: 22px 2px; text-align: center; }
.ck-envoye__icone {
  display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin: 0 auto 12px;
  border-radius: 50%; background: rgba(39, 174, 96, .15); color: var(--wp--preset--color--type-cours); font-size: 26px; font-weight: 900;
}
/* ⚠ Le cercle vert de 52px convient à un caractère (✓), pas à une mascotte :
   elle y serait écrasée. Quand c'est un tigre, le cercle disparaît et
   l'illustration prend l'échelle ICÔNE de la charte (110-130px, jamais
   l'entre-deux — voir docs/design/regle-mascottes.md).
   L'ombre est celle de TOUS les tigres du site : une autre se verrait. */
.ck-envoye__icone.est-tigre {
  width: auto; height: auto; background: none; border-radius: 0;
}
.ck-envoye__tigre {
  display: block; width: 120px; height: auto;
  filter: drop-shadow(-4px 0 18px rgba(0, 0, 0, .5));
}
.ck-envoye__titre { margin: 0 0 6px; color: #fff; text-transform: uppercase; font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 26px; }
.ck-envoye__texte { margin: 0; color: var(--ck-attenue); font-size: 15px; line-height: 1.5; }
.agenda-piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* L'ancre #inscription (après envoi) ne doit pas finir sous l'en-tête collant. */
#inscription { scroll-margin-top: 100px; }
.ck-fiche__cote:empty { display: none; }
.ck-fiche__cote { padding: var(--ck-section) var(--ck-marge); }

/* Ordinateur : infos rapides en cartes sous le titre, formulaire en colonne collante. */
@media (min-width: 1024px) {
  .ck-phero__grille {
    grid-template-columns: minmax(0, 1fr) 360px; column-gap: 48px;
    grid-template-areas: "texte image" "faits image" "dispo image";
    grid-template-rows: auto auto 1fr;
    padding: 56px var(--ck-marge) 48px;
  }
  .ck-phero__texte { padding: 0; align-self: end; }
  .ck-phero__image { width: 100%; max-width: 330px; margin: 0; align-self: center; justify-self: center; }
  /* ⚠ Sans cette ligne, le tigre des pages de CONTENU reste à sa taille mobile
     (118px) sur un écran large, pendant que celui des pages activité et stage
     monte à 330px : presque trois fois plus petit, et ça se voit.
     La cause est la spécificité — `.ck-phero--petit .ck-phero__image` compte deux
     classes et l'emporte sur la règle desktop, même déclarée hors media query.
     ⚠ RÉSOLU LE 2026-09-25 — et la valeur 180px est SUPPRIMÉE. Les planches
     desktop ne montrent AUCUNE mascotte sur les pages sans sujet propre : un
     en-tête typographique, et on va droit au contenu. J'avais mesuré une seule
     planche et cru que la règle valait aussi pour le mobile — les planches
     mobiles, elles, en portent seize. La règle réelle du paquet :
     MASCOTTE PARTOUT EN MOBILE, EN-TÊTE TYPOGRAPHIQUE EN DESKTOP.
     Voir `docs/design/regle-mascottes.md`.
     180px était de toute façon la zone morte : 15 % de la largeur, trop gros
     pour une icône, trop petit pour une illustration.
     ⚠ SAUF une mascotte DÉDIÉE (`est-dedie`) : le tigre « inscription » de
     l'archive des stages dit quelque chose que le générique ne dit pas — il
     change avec la page. Lui reste, à l'échelle illustration. */
  .ck-phero--petit .ck-phero__image:not(.est-dedie) { display: none; }
  .ck-phero--petit .ck-phero__image.est-dedie { width: 100%; max-width: 260px; }
  /* Sans image, la colonne de 360px laisserait un vide à droite du titre. */
  .ck-phero--petit:not(:has(.est-dedie)) .ck-phero__grille {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "texte" "faits" "dispo";
  }
  .ck-faits { display: flex; gap: 12px; margin: 26px 0 0; background: none; border: 0; }
  .ck-fait { padding: 14px 20px; border-radius: 12px; text-align: left; background: rgba(27, 79, 114, .22); border: 1px solid rgba(255, 255, 255, .06); }
  .ck-fait + .ck-fait { border-left: 1px solid rgba(255, 255, 255, .06); }
  .ck-fait dt { font-size: 12px; margin-bottom: 4px; }
  .ck-fait dd { font-size: 26px; }
  .ck-fait--bureau { display: block; }
  .ck-dispo {
    justify-self: start; align-self: start; margin: 14px 0 0; padding: 12px 18px; border-radius: 10px; border: 1px solid rgba(39, 174, 96, .25);
  }
  .ck-fiche { display: grid; grid-template-columns: 1fr 440px; gap: 48px; align-items: start; padding: 0 var(--ck-marge); }
  .ck-fiche__corps .ck-bloc { padding-inline: 0; }
  .ck-bloc--sombre { background: none; }
  .ck-fiche__cote { position: sticky; top: 100px; padding: var(--ck-section) 0; }
  .ck-fiche:has(.ck-fiche__cote:empty) { grid-template-columns: 1fr; }
  /* Le formulaire d'un STAGE est sorti de la colonne : sans cette règle, la
     fiche garderait 440px de vide sur toute sa hauteur. */
  .ck-fiche--seule { grid-template-columns: 1fr; }
}

/* ═══ INSCRIPTION D'UN STAGE — planche « Formulaire d'inscription — desktop,
   récapitulatif collant » (paquet du 2026-09-24).

   « Deux colonnes : les champs à gauche en blocs numérotés, le récapitulatif
   du prix à droite, collant, qui se met à jour à chaque choix. Le bouton de
   confirmation vit dans le récapitulatif, jamais en bas d'une page de
   2000px. Fil d'étapes en haut. »

   ⚠️ Ce gabarit ne sert QU'AU STAGE. Un cours garde son formulaire compact
   dans la colonne de droite de la fiche — la planche « Fiche activité » le
   montre ainsi, et cinq blocs n'y tiendraient pas. */
.ck-inscription-large { max-width: var(--ck-conteneur); margin: 0 auto; }

/* FIL D'ÉTAPES — deux étapes, pas trois : voir le commentaire du gabarit.
   ⚠️ `ck-fil-etapes` et non `ck-etapes` : ce dernier NOM ÉTAIT DÉJÀ PRIS par
   le parcours d'inscription (maquette RES_001), une liste verticale à grosses
   pastilles. Le fil héritait donc de ses cartes pleine largeur ET de son
   `li::before` numéroté — d'où deux pastilles par étape, vu à la capture. */
.ck-fil-etapes {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px;
  margin: 0 0 24px; padding: 0;
  font-size: 14px; color: rgba(255, 255, 255, .45);
}
.ck-fil-etapes li { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; background: none; border: 0; }
.ck-fil-etapes li::before { content: none; }
.ck-fil-etapes i {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 13px; font-weight: 700;
  border: 1.5px solid rgba(255, 255, 255, .2);
}
.ck-fil-etapes .est-courante { color: #fff; font-weight: 600; }
.ck-fil-etapes .est-courante i {
  color: var(--wp--preset--color--nuit, #0A0E1A);
  background: var(--wp--preset--color--cyan); border-color: transparent;
}

/* BLOCS NUMÉROTÉS */
.ck-bloc-num { margin: 0 0 28px; }
.ck-bloc-num:last-child { margin-bottom: 0; }
.ck-bloc-num__titre {
  display: flex; align-items: center; gap: 12px; margin: 0 0 16px;
  font-size: 20px; color: #fff;
}
.ck-bloc-num__titre i {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 15px; font-weight: 800;
  color: var(--wp--preset--color--nuit, #0A0E1A);
  background: var(--wp--preset--color--accent);
}
/* ⚠️ Le formulaire est un `flex` en colonne avec 14px d'écart ; un bloc
   numéroté doit redevenir un bloc ordinaire, sinon ses champs héritent de
   l'écart du parent et le regroupement ne se voit plus. */
.ck-bloc-num > .ck-champ,
.ck-bloc-num > .ck-champs__rangee,
.ck-bloc-num > fieldset { margin-bottom: 14px; }
.ck-bloc-num > :last-child { margin-bottom: 0; }

/* RÉCAPITULATIF DE PRIX */
.ck-recap-prix {
  border-radius: 14px; padding: 22px;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--ck-filet);
}
.ck-recap-prix__titre { margin: 0 0 16px; font-size: 20px; color: #fff; }
.ck-recap-prix__lignes { margin: 0; }
/* ⚠️ ENCORE LE MÊME PIÈGE, et retombé dedans le jour où je l'ai documenté :
   `display: flex` l'emporte sur l'attribut `hidden`. Les lignes « Garderie »
   et « 2ᵉ enfant » s'affichaient dès le chargement, vides de montant, alors
   que le JavaScript les marquait bien masquées. ⚠️ Et ma mesure disait
   « caché » : elle lisait l'attribut, pas l'écran. */
.ck-recap-prix__ligne[hidden] { display: none !important; }
.ck-recap-prix__ligne {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.ck-recap-prix__ligne dt { margin: 0; color: #fff; font-size: 15px; font-weight: 600; }
.ck-recap-prix__ligne dt span { display: block; margin-top: 2px; color: var(--ck-attenue); font-size: 13px; font-weight: 400; }
.ck-recap-prix__ligne dd { margin: 0; color: #fff; font-size: 16px; font-weight: 700; white-space: nowrap; }
.ck-recap-prix__ligne dd.est-note { color: var(--ck-attenue); font-size: 14px; font-weight: 500; }
.ck-recap-prix__ligne.est-remise dd { color: var(--wp--preset--color--vert, #27AE60); }
.ck-recap-prix__total {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin: 16px 0 18px; color: #fff;
}
.ck-recap-prix__total span { font-size: 17px; font-weight: 600; }
.ck-recap-prix__total b { font-family: var(--wp--preset--font-family--heading); font-size: 30px; color: var(--wp--preset--color--accent); }
.ck-recap-prix__note { margin: 12px 0 0; text-align: center; font-size: 13px; line-height: 1.5; color: var(--ck-attenue); }
.ck-recap-prix__note--discret { font-size: 12px; opacity: .8; }

@media (min-width: 1024px) {
  /* ⚠️ La grille est portée par le `<form>` LUI-MÊME, et le récapitulatif vit
     dedans : le bouton de confirmation est dans le récapitulatif, et un bouton
     hors du formulaire n'envoie rien. */
  .ck-inscription {
    display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 44px;
    align-items: start; padding: 0 var(--ck-marge);
  }
  .ck-inscription__blocs { display: flex; flex-direction: column; }
  .ck-recap-prix { position: sticky; top: 100px; }
}

/* ── Pages (maquettes CAL_001, CON_001) ───────────────────────────────── */
.ck-phero--petit .ck-phero__titre { font-size: min(11.8vw, 64px); }
.ck-phero--petit .ck-phero__image { width: 118px; }
.ck-page { max-width: var(--ck-conteneur); margin: 0 auto; }
.ck-page > :not(.ck-cal) { padding: 0 var(--ck-marge); }

/* Filtre par commune : pastilles de 44px, défilables. */
.ck-pastilles {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding: 16px var(--ck-marge); border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.ck-pastille {
  flex-shrink: 0; display: flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--ck-bord-actif); color: rgba(255, 255, 255, .8);
  font-size: 15px; font-weight: 600; text-decoration: none;
}
.ck-pastille.est-active { background: var(--wp--preset--color--cyan); border-color: var(--wp--preset--color--cyan); color: var(--wp--preset--color--base); font-weight: 700; }

.ck-cal__tete { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ck-cal__titre { margin: 0; color: #fff; text-transform: uppercase; font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 24px; }
.ck-cal__nav { display: flex; gap: 8px; }
.ck-cal__fleche {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px;
  border: 1.5px solid var(--ck-bord-actif); color: #fff; font-size: 20px; text-decoration: none;
}
.ck-cal__grille { display: grid; gap: 4px; }
.ck-cal__semaine { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.ck-cal__jds {
  padding-bottom: 6px; text-align: center; color: rgba(232, 232, 232, .5);
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
@media (min-width: 1024px) { .ck-cal__jds { text-align: left; padding-left: 8px; } }
.ck-cal__jour {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  height: 48px; border-radius: 8px; background: var(--ck-voile);
  color: rgba(255, 255, 255, .75); font-size: 15px; font-weight: 600; text-decoration: none;
}
a.ck-cal__jour:hover { background: rgba(255, 255, 255, .08); }
.ck-cal__jour.est-vide { background: none; }
.ck-cal__jour.est-weekend { color: rgba(255, 255, 255, .55); }
.ck-cal__jour.est-conge { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .08) 0 4px, transparent 4px 8px); color: rgba(255, 255, 255, .55); }
.ck-cal__jour.est-aujourdhui { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.ck-cal__jour.est-choisi { background: var(--wp--preset--color--cyan); color: var(--wp--preset--color--base); font-weight: 800; }
.ck-cal__points { display: flex; gap: 3px; height: 5px; }
.ck-cal__points i, .ck-cal__legende i { display: block; width: 5px; height: 5px; border-radius: 50%; }
.ck-cal__jour.est-choisi .ck-cal__points i { background: var(--wp--preset--color--base) !important; }
.ck-cal__points i, .ck-cal__legende i[class^="agenda--"] { background: var(--agenda-couleur); } /* couleurs par type : module agenda */
.ck-cal__legende { display: flex; flex-wrap: wrap; gap: 16px; margin: 14px 0 0; color: var(--ck-attenue); font-size: 13px; }
.ck-cal__legende span { display: flex; align-items: center; gap: 7px; }
.ck-cal__legende i { width: 9px; height: 9px; }
.ck-cal__legende i.est-conge { border-radius: 2px; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .35) 0 2px, transparent 2px 4px); }

.ck-abonnement {
  margin-top: 18px; padding: 16px; border-radius: 12px;
  background: linear-gradient(160deg, rgba(0, 198, 255, .10), rgba(10, 14, 26, .4)); border: 1px solid rgba(0, 198, 255, .22);
}
.ck-abonnement__tete { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.ck-abonnement__icone { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: rgba(0, 198, 255, .15); color: var(--wp--preset--color--cyan); }
.ck-abonnement__icone svg { width: 20px; height: 20px; }
.ck-abonnement__titre { margin: 0 0 3px; color: #fff; font-size: 16px; font-weight: 700; }
.ck-abonnement__texte { margin: 0; color: var(--ck-attenue); font-size: 14px; line-height: 1.45; }
.ck-abonnement__boutons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ck-abonnement__bouton {
  display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 8px;
  border: 1.5px solid var(--ck-bord-actif); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none;
}
.ck-abonnement__bouton.est-principal { grid-column: 1 / -1; background: var(--wp--preset--color--cyan); border-color: var(--wp--preset--color--cyan); color: var(--wp--preset--color--base); font-size: 15px; }
.ck-abonnement__note { margin: 10px 0 0; color: var(--ck-attenue); font-size: 13px; }
.ck-abonnement__note a { color: var(--wp--preset--color--cyan); text-decoration: underline; text-underline-offset: 2px; }

.ck-cal__liste .ck-section__titre { margin-bottom: 12px; }
.ck-cal__jour-titre { margin: 4px 0 10px; color: var(--wp--preset--color--cyan); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ck-agenda--liste { grid-template-columns: 1fr !important; margin-bottom: 20px; }
.ck-agenda__corps {
  display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 8px;
  background: var(--ck-voile); border: 1px solid var(--ck-filet); border-left: 3px solid var(--agenda-couleur, var(--ck-filet));
}
.ck-agenda__corps .ck-agenda__titre { text-decoration: none; }
.ck-agenda__action { display: flex; align-items: center; min-height: 44px; margin-top: 2px; color: var(--wp--preset--color--cyan); font-size: 15px; font-weight: 700; text-decoration: none; }

@media (min-width: 1024px) {
  .ck-cal__corps .ck-bloc { padding-inline: 0; }
  .ck-pastilles { padding-inline: max(var(--ck-marge), calc((100% - var(--ck-conteneur)) / 2)); }
  .ck-cal__jour { height: 64px; }
}

/* ⚠️ LE JOUR CHOISI NE PEUT PLUS ÊTRE UN APLAT en desktop : depuis que la case
   NOMME ses événements, l'aplat cyan passait sous des étiquettes cyan et
   vertes — illisible, vu à la capture le 2026-09-25. Sur un téléphone la case
   ne porte que des points, et l'aplat reste le plus lisible : on ne change
   donc que le desktop, où l'anneau dit la même chose sans rien masquer. */
@media (min-width: 1024px) {
  .ck-cal__jour.est-choisi {
    background: rgba(0, 198, 255, .12);
    color: inherit;
    box-shadow: inset 0 0 0 2px var(--wp--preset--color--cyan);
  }
  .ck-cal__jour.est-choisi > [aria-hidden="true"]:first-child { color: var(--wp--preset--color--cyan); }
}

/* ═══ CALENDRIER — colonne de filtres, planche « Calendrier — desktop, vue
   mois avec filtres » (paquet du 2026-09-24).

   « Filtres en colonne de gauche (280px), collants au défilement. »

   ⚠️ LA COLONNE « À VENIR » PASSE SOUS LE CALENDRIER. Elle était à droite
   (CAL_001 v2) ; avec 280px pris à gauche, la grille du mois tombait à 69px
   par jour — impossible d'y NOMMER trois événements comme la planche le
   demande. La planche, elle, n'a pas de troisième colonne. */
/* Sur un téléphone, les filtres suivent la marge du reste de la page ; en
   desktop, c'est la grille qui l'apporte. */
.ck-cal__filtres { padding: 0 var(--ck-marge); }

.ck-cal__repli-titre {
  list-style: none; cursor: pointer; min-height: 44px; margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700; color: #fff;
}
.ck-cal__repli-titre::-webkit-details-marker { display: none; }
.ck-cal__repli-titre::after { content: '▾'; color: var(--wp--preset--color--cyan); }
.ck-cal__repli[open] > .ck-cal__repli-titre::after { content: '▴'; }
@media (min-width: 1024px) { .ck-cal__repli-titre { display: none; } }

.ck-cal__groupe { border: 0; margin: 0 0 22px; padding: 0; }
.ck-cal__groupe legend {
  padding: 0; margin: 0 0 10px; font-size: 12px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ck-attenue);
}
/* 44px de haut : la charte l'exige pour toute zone cliquable, et une case de
   16px seule ne se vise pas au doigt. */
.ck-case-filtre {
  display: flex; align-items: center; gap: 10px; min-height: 44px;
  cursor: pointer; font-size: 15px; color: rgba(232, 232, 232, .85);
}
.ck-case-filtre input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--wp--preset--color--cyan); }
.ck-case-filtre span { display: flex; align-items: center; gap: 8px; }
/* ⚠️ LA PASTILLE DE COULEUR, à côté de chaque type : sans elle, rien ne relie
   « Cours » au vert de la grille, et la légende du calendrier devient une
   énigme. Signalé comme l'une des deux causes du « incompréhensible ». */
.ck-case-filtre i {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
  background: var(--agenda-couleur, transparent);
}
/* Les congés ne sont pas un type : leur repère est le motif hachuré de la
   grille, pas un rond de couleur. */
.ck-case-filtre i.est-conge {
  border-radius: 2px;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .45) 0 2px, transparent 2px 4px);
}
.ck-case-filtre input:checked + span { color: #fff; }

/* ⚠️ Le piège du jour, pour la troisième fois : un `display` l'emporte sur
   l'attribut `hidden`. Sans cette ligne, le bouton « Filtrer » resterait
   visible alors que le JavaScript le retire. */
.ck-cal__appliquer[hidden] { display: none !important; }
.ck-cal__appliquer {
  width: 100%; min-height: 44px; margin-bottom: 12px; border-radius: 8px;
  border: 1.5px solid var(--ck-bord-actif); background: var(--ck-voile);
  color: #fff; font: inherit; font-weight: 600; cursor: pointer;
}
.ck-cal__tout { display: inline-block; font-size: 14px; color: var(--wp--preset--color--cyan); }

/* BASCULE MOIS / LISTE — deux liens dans un même cadre. */
.ck-cal__bascule { display: flex; border-radius: 8px; border: 1.5px solid rgba(255, 255, 255, .16); overflow: hidden; }
.ck-cal__vue {
  min-height: 40px; padding: 0 16px; display: flex; align-items: center;
  font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .7); text-decoration: none;
}
.ck-cal__vue.est-active { color: #fff; background: rgba(0, 198, 255, .14); }
.ck-cal__vue-liste { margin-top: 8px; }
.ck-cal__rien { margin: 18px 0; color: var(--ck-attenue); font-size: 15px; line-height: 1.6; }
.ck-cal__rien a { color: var(--wp--preset--color--cyan); }

@media (min-width: 1024px) {
  .ck-cal__avec-filtres {
    display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px;
    align-items: start; padding: 0 var(--ck-marge);
  }
  /* La colonne devient une CARTE, comme la planche : nue, elle flottait sans
     limite à gauche de la grille. */
  .ck-cal__filtres {
    position: sticky; top: 100px; padding: 20px;
    border-radius: 14px; border: 1px solid var(--ck-filet); background: var(--ck-voile);
  }
  .ck-cal__groupe + .ck-cal__groupe { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--ck-filet); }
  .ck-cal__corps { padding: 0; }
}

/* Contact : téléphone et e-mail touchables, lieux avec carte. */
.ck-contact { max-width: var(--ck-conteneur); margin: 0 auto; }
.ck-touche {
  display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 12px; text-decoration: none;
  background: var(--ck-voile); border: 1px solid rgba(255, 255, 255, .08);
}
.ck-touche + .ck-touche { margin-top: 10px; }
.ck-touche__icone {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px;
  background: rgba(0, 198, 255, .12); color: var(--wp--preset--color--cyan); font-size: 22px;
}
.ck-touche__icone--or { background: rgba(245, 196, 0, .14); color: var(--wp--preset--color--accent); }
.ck-touche__icone svg { width: 22px; height: 22px; }
.ck-touche__libelle { display: block; margin-bottom: 2px; color: var(--ck-attenue); font-size: 13px; }
.ck-touche__valeur { display: block; color: #fff; font-size: 18px; font-weight: 700; overflow-wrap: anywhere; }
.ck-touche__aller { margin-left: auto; color: rgba(255, 255, 255, .35); font-size: 24px; }
.ck-lieux { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ck-lieu { overflow: hidden; border-radius: 12px; background: var(--ck-voile); border: 1px solid rgba(255, 255, 255, .08); }
.ck-lieu__carte { display: block; width: 100%; height: 140px; border: 0; background: #0f1a2a; }
.ck-lieu__carte iframe { display: block; width: 100%; height: 100%; border: 0; }
.ck-lieu__afficher {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 100%; height: 100%; border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 15px; color: #fff;
  background: radial-gradient(circle, rgba(0, 198, 255, .08) 1px, transparent 1px) 0 0 / 18px 18px, #0f1a2a;
}
.ck-lieu__afficher small { font-weight: 400; font-size: 12px; color: var(--ck-attenue); }
.ck-lieu__corps { padding: 16px; }
.ck-lieu__titre { margin: 0 0 3px; color: #fff; font-size: 17px; font-weight: 700; }
.ck-lieu__adresse { margin: 0 0 4px; color: var(--ck-attenue); font-size: 14px; }
.ck-lieu__offres { margin: 0; color: rgba(232, 232, 232, .55); font-size: 13px; }
.ck-lieu__offres a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ck-lieu__actions { display: flex; gap: 8px; margin: 12px 0 0; }
.ck-lieu__bouton {
  flex: 1; display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 8px;
  border: 1.5px solid var(--ck-bord-actif); background: none; color: rgba(255, 255, 255, .85);
  font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer;
}
.ck-lieu__bouton--or { border: 0; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--on-accent); }
@media (min-width: 768px) { .ck-lieux { grid-template-columns: 1fr 1fr; } }

/* ── Pages secondaires (SPO_001, REC_001, TRO_001, GAL_001) ────────────── */
.ck-contenu { max-width: var(--ck-conteneur); margin: 0 auto; }
.ck-contenu .ck-bloc .ck-section__titre { margin: 0 0 14px; }
.ck-contenu .ck-bloc .ck-section__titre + * { margin-top: 0; }
.ck-contenu .ck-bloc .ck-texte + .ck-section__titre, .ck-contenu .ck-bloc .ck-raisons + .ck-section__titre { margin-top: 26px; }
.ck-chiffres {
  display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 0;
  background: rgba(27, 79, 114, .16); border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.ck-chiffres li { padding: 16px 8px; text-align: center; color: rgba(232, 232, 232, .55); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ck-chiffres li + li { border-left: 1px solid rgba(255, 255, 255, .14); }
.ck-chiffres strong { display: block; margin-bottom: 4px; color: #fff; font-family: var(--wp--preset--font-family--heading); font-size: 26px; font-weight: 800; letter-spacing: 0; }
.ck-raisons { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.ck-raisons li {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 10px;
  background: var(--ck-voile); border: 1px solid rgba(255, 255, 255, .14); color: rgba(232, 232, 232, .85); font-size: 15px; line-height: 1.5;
}
.ck-raisons li > span { font-size: 20px; line-height: 1.2; }
.ck-formules { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ck-formule { position: relative; padding: 18px; border-radius: 12px; background: var(--ck-voile); border: 1px solid rgba(255, 255, 255, .08); }
.ck-formule.est-conseillee { border-color: rgba(245, 196, 0, .45); background: rgba(245, 196, 0, .05); }
.ck-formule__badge { position: absolute; top: 14px; right: 14px; }
/* Deux badges possibles (« Nouveau » et « Populaire ») : empilés, alignés à
   droite, pour ne jamais recouvrir le nom de la formule. */
.ck-formule__badges { position: absolute; top: 14px; right: 14px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.ck-formule__nom { margin: 0; color: #fff; font-size: 17px; font-weight: 700; }
.ck-formule__prix { margin: 4px 0 10px; color: var(--wp--preset--color--accent); font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 34px; line-height: 1; }
.ck-formule__avantages { margin: 0 0 14px; padding-left: 18px; color: var(--ck-attenue); font-size: 14px; line-height: 1.6; }
.ck-formule__choisir {
  display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 8px;
  border: 1.5px solid var(--ck-bord-actif); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none;
}
.ck-formule.est-conseillee .ck-formule__choisir { border-color: var(--wp--preset--color--accent); color: var(--wp--preset--color--accent); }
.ck-etapes { list-style: none; counter-reset: etape; margin: 0; padding: 0; display: grid; gap: 10px; }
.ck-etapes li {
  counter-increment: etape; position: relative; padding: 14px 14px 14px 62px; border-radius: 10px;
  background: var(--ck-voile); border: 1px solid rgba(255, 255, 255, .14);
}
.ck-etapes li::before {
  content: counter(etape); position: absolute; left: 14px; top: 14px; width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--wp--preset--color--cyan); color: var(--wp--preset--color--base);
  font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 18px;
}
.ck-etapes b { display: block; margin-bottom: 3px; color: #fff; font-size: 16px; }
.ck-etapes span { color: var(--ck-attenue); font-size: 14px; line-height: 1.45; }
.ck-trooper { margin-top: 18px; padding: 18px; border-radius: 14px; background: linear-gradient(160deg, rgba(27, 79, 114, .28), rgba(10, 14, 26, .6)); border: 1px solid rgba(0, 198, 255, .16); }
.ck-trooper__texte { margin: 0 0 14px; color: #fff; font-size: 16px; line-height: 1.5; }
/* Horaires d'un jour à plusieurs créneaux (Aqua) : le jour, puis chaque étape dessous. */
.ck-horaires__jour { margin-bottom: 2px; }
.ck-horaires__suite { margin: 0 0 10px; color: #fff; font-size: 15px; line-height: 1.5; }
/* Galerie : grille de carrés (maquette GAL_001), 2 colonnes en mobile, 4 sur ordinateur. */
/* UNE seule grille pour la galerie : photos et vidéos y prennent la même case.
   ⚠️ `display: contents` fait disparaître le conteneur du bloc Galerie de la
   mise en page, pour que ses figures deviennent les cases de CETTE grille.
   Sans lui, la vidéo — qui est un bloc SŒUR du bloc Galerie, pas un de ses
   enfants — restait reléguée en dessous, seule et d'une autre taille. */
/* Filtres de la galerie (planche « Galerie — desktop », `.dgal-f`) : des
   boutons rectangulaires à coins de 8px, et non des pastilles.
   Elles n'existent dans la page que lorsque le thème en a assez à filtrer.
   ⚠ L'album choisi passe au CYAN, plus à l'or : la charte réserve l'or au
   bouton principal — « un seul par écran » — et donne le cyan aux liens, au
   focus ET aux filtres. Six pastilles dorées en haut d'une page en volaient
   la vedette au seul bouton qui compte.
   ⚠ 44px de haut et non les 42 de la planche : la charte exige 44 pour toute
   zone cliquable, et deux pixels ne se voient pas. */
.ck-filtres { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.ck-filtre {
  min-height: 44px; padding: 0 18px; border-radius: 8px; font: inherit; font-size: 14px; font-weight: 600;
  color: rgba(255, 255, 255, .75); cursor: pointer;
  display: inline-flex; align-items: center;
  background: none; border: 1.5px solid rgba(255, 255, 255, .16);
}
.ck-filtre span { opacity: .55; margin-left: 4px; }
.ck-filtre.est-actif {
  color: #fff;
  background: rgba(0, 198, 255, .14); border-color: var(--wp--preset--color--cyan);
}
.ck-galerie .est-cachee { display: none !important; }
/* Repliée = au-delà du paquet courant. ⚠️ Une classe à PART de `est-cachee` :
   l'une vient du filtre, l'autre du bouton « Voir plus ». Mélangées, déplier
   un paquet aurait ressuscité des photos que le filtre venait d'écarter. */
.ck-galerie .est-repliee { display: none !important; }

/* « CHARGER PLUS DE PHOTOS » — le bouton fantôme de la planche (`.db.g`) :
   58px de haut, filet à 25%, texte de 17px sans majuscules, centré, 28px sous
   la grille. Le visiteur garde la main, et le rappel du droit au retrait qui
   ferme la page reste atteignable.
   ⚠️ LE MÊME PIÈGE QU'À LA LIGNE DU DESSUS, retombé dedans le 2026-09-25 :
   un `display` l'emporte sur l'attribut `hidden`. Le bouton s'affichait sur
   une galerie de dix photos, alors que le JavaScript le marquait bien masqué.
   Vu à la CAPTURE — la mesure, elle, lisait l'attribut et le trouvait juste.
   Un attribut vrai ne prouve pas un écran juste. */
.ck-plus[hidden] { display: none !important; }
.ck-plus {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 58px; margin: 28px 0 0;
  border-radius: 8px; border: 1.5px solid rgba(255, 255, 255, .25);
  background: none; color: #fff;
  font: inherit; font-size: 17px; font-weight: 600; cursor: pointer;
}
@media (min-width: 768px) { .ck-plus { width: auto; padding: 0 30px; margin-inline: auto; } }

/* RAPPEL DU DROIT AU RETRAIT — la bande encadrée de la planche (`.dnote`) :
   « une obligation RGPD autant qu'une politesse ». Encadrée, justement, pour
   qu'elle se voie : en petit texte sous un filet, elle passait pour une note
   de bas de page. */
.ck-galerie__droit {
  display: flex; gap: 12px; margin: 28px 0 0;
  padding: 18px 20px; border-radius: 12px;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--ck-filet);
  font-size: 15px; line-height: 1.55; color: rgba(232, 232, 232, .85);
}
.ck-galerie__droit b { color: #fff; }
.ck-galerie__droit a { color: var(--wp--preset--color--cyan); }

/* PAGE CONTACT — le rappel de la photo dont on demande le retrait. */
/* ⚠️ Ce bloc vit HORS de `.ck-contact` (voir page-contact.twig) : il porte
   donc lui-même le conteneur, sinon il s'étale d'un bord à l'autre de l'écran
   pendant que tout le reste de la page reste à 1200px. */
.ck-retrait { max-width: var(--ck-conteneur); margin-inline: auto; border-left: 3px solid var(--wp--preset--color--cyan); }
.ck-retrait__photo { display: flex; align-items: center; gap: 14px; margin: 12px 0 0; }
.ck-retrait__photo img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.ck-retrait__photo p { margin: 0; }
.ck-retrait__photo strong { display: block; }
.ck-retrait__photo span { color: var(--ck-attenue); font-size: 13px; }
.ck-retrait__texte { margin: 12px 0 0; color: var(--ck-attenue); font-size: 14px; line-height: 1.6; }

.ck-galerie { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 0 0 16px; }
.ck-galerie > .wp-block-gallery { display: contents; }
/* ⚠️ Image en position absolue : les règles de la galerie de WordPress gardent
   sinon la hauteur naturelle des photos en paysage (mesuré : carrés à moitié vides). */
.ck-galerie .wp-block-image,
.ck-galerie .ck-video { position: relative; width: auto !important; margin: 0 !important; aspect-ratio: 1; overflow: hidden; border-radius: 8px; }
.ck-galerie .wp-block-image img,
.ck-galerie .ck-video img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; }
.ck-galerie .ck-video__ouvrir { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
/* Dans une case carrée, la légende n'a pas la place : elle reste dans la
   visionneuse, où on la lit vraiment. */
.ck-galerie figcaption { display: none; }
@media (min-width: 768px) { .ck-galerie { grid-template-columns: repeat(4, 1fr); } }
.ck-galerie__reseau { margin-top: 16px; }
@media (min-width: 768px) { .ck-formules { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .ck-formules { grid-template-columns: repeat(4, 1fr); }
  .ck-contenu .ck-bloc { padding-inline: var(--ck-marge); }
  .ck-contenu .ck-bloc--sombre { background: rgba(255, 255, 255, .05); }
}

/* Fluent Forms dans la carte de formulaire : mêmes champs que ceux du module
   (50px, texte 16px, libellés visibles, bouton or 56px). */
.ck-carte-form--ff .ff-el-group { margin-bottom: 14px; }
.ck-carte-form--ff .ff-el-input--label label { color: rgba(232, 232, 232, .85); font-size: 14px; font-weight: 600; }
.ck-carte-form--ff .ff-el-is-required.asterisk-right label::after { color: var(--wp--preset--color--accent); }
.ck-carte-form--ff .ff-el-form-control {
  box-sizing: border-box; min-height: 50px; padding: 0 14px; border-radius: 8px;
  border: 1.5px solid var(--ck-bord-actif); background: rgba(10, 14, 26, .7); color: #fff; font-size: 16px;
}
.ck-carte-form--ff textarea.ff-el-form-control { padding: 12px 14px; min-height: 110px; }
.ck-carte-form--ff .ff-el-form-control::placeholder { color: rgba(232, 232, 232, .55); }
.ck-carte-form--ff .ff-el-form-control:focus { border-color: var(--wp--preset--color--cyan); box-shadow: 0 0 0 3px rgba(0, 198, 255, .18); background: rgba(10, 14, 26, .7); color: #fff; }
.ck-carte-form--ff select.ff-el-form-control option { background: #0D1220; }
.ck-carte-form--ff .ff-el-help-message { color: var(--ck-attenue); font-size: 13px; }
.ck-carte-form--ff .error, .ck-carte-form--ff .text-danger { color: #ff8a7d; font-size: 13px; }
.ck-carte-form--ff .ff-el-form-check { min-height: 44px; display: inline-flex; align-items: center; margin-right: 14px; }
.ck-carte-form--ff .ff-el-form-check-label { display: inline-flex; gap: 8px; align-items: center; color: rgba(232, 232, 232, .85); font-size: 15px; }
.ck-carte-form--ff .ff-el-form-check-input { width: 22px; height: 22px; accent-color: var(--wp--preset--color--cyan); }
.ck-carte-form--ff .ff-btn-submit {
  width: 100%; height: 56px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--wp--preset--color--accent) !important; color: var(--wp--preset--color--on-accent) !important;
  font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 19px; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 6px 24px rgba(245, 196, 0, .28);
}
.ck-carte-form--ff .ff-message-success { border: 0; padding: 18px; border-radius: 10px; background: rgba(39, 174, 96, .12); color: #fff; font-size: 15px; }

/* ── Parcours d'inscription (maquette RES_001) ─────────────────────────── */
.ck-dispo__suite { margin-left: auto; color: var(--ck-attenue); font-size: 14px; font-weight: 400; }
.ck-dispo.est-limite { color: var(--wp--preset--color--accent); background: rgba(245, 196, 0, .08); border-color: rgba(245, 196, 0, .18); }
.ck-dispo.est-limite .ck-dispo__point { box-shadow: 0 0 0 4px rgba(245, 196, 0, .18); }
.ck-dispo.est-complet { color: #ff6b5b; background: rgba(231, 76, 60, .1); border-color: rgba(231, 76, 60, .25); }
.ck-dispo.est-complet .ck-dispo__point { box-shadow: 0 0 0 4px rgba(231, 76, 60, .2); }
.ck-tuiles { margin: 0; padding: 0; border: 0; }
.ck-tuiles__liste { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ck-tuile {
  position: relative; display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 10px; cursor: pointer;
  border: 1.5px solid var(--ck-bord-actif); background: rgba(10, 14, 26, .7);
}
.ck-tuile input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.ck-tuile:has(input:checked) { border-color: var(--wp--preset--color--cyan); background: rgba(0, 198, 255, .1); box-shadow: 0 0 0 3px rgba(0, 198, 255, .18); }
.ck-tuile:has(input:focus-visible) { outline: 3px solid var(--wp--preset--color--cyan); outline-offset: 2px; }
.ck-tuile__nom { color: #fff; font-size: 16px; font-weight: 700; }
.ck-tuile__detail { color: var(--ck-attenue); font-size: 13px; }
.ck-recap { margin: 16px 0 0; padding: 14px 16px; border-radius: 10px; background: var(--ck-voile); border: 1px solid rgba(255, 255, 255, .08); }
.ck-recap > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 15px; }
.ck-recap dt { color: var(--ck-attenue); }
.ck-recap dd { margin: 0; color: #fff; text-align: right; }
.ck-recap__total { border-top: 1px solid var(--ck-filet); margin-top: 4px; padding-top: 10px !important; }
.ck-recap__total dd { color: var(--wp--preset--color--accent); font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 22px; }
.ck-barre-inscription {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
  display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 56px; border-radius: 10px;
  background: var(--wp--preset--color--accent); color: var(--wp--preset--color--on-accent); text-decoration: none;
  font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 18px; letter-spacing: .05em; text-transform: uppercase;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .45); transition: transform .2s ease, opacity .2s ease;
}
.ck-barre-inscription small { font-family: var(--wp--preset--font-family--body); font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.ck-barre-inscription.est-masquee { transform: translateY(140%); opacity: 0; pointer-events: none; }
@media (min-width: 1024px) { .ck-barre-inscription { display: none; } }

/* Visionneuse de la galerie (maquette GAL_001, « photo ouverte »). */
.ck-galerie figure[role="button"] { cursor: zoom-in; }
/* ⚠️ PAS de `100vw` : cette unité INCLUT la largeur de la barre de défilement.
   Sur un écran large avec ascenseur classique, la fenêtre débordait de la page —
   d'où une barre horizontale, et la croix de fermeture qui passait derrière
   (signalé en 4K le 2026-09-23). `inset: 0` colle la fenêtre aux quatre bords
   du bloc de confinement, sans jamais dépasser. */
.ck-visionneuse {
  position: fixed; inset: 0;
  width: auto; max-width: none; height: auto; max-height: none;
  margin: 0; padding: 0; border: 0; overflow: hidden;
  background: rgba(5, 7, 16, .96); color: #fff;
}
/* La page derrière ne défile plus : son ascenseur disparaît, et avec lui le
   ruban vide qu'on voyait sous l'image. */
body:has(.ck-visionneuse[open]) { overflow: hidden; }
.ck-visionneuse[open] { display: flex; flex-direction: column; }
.ck-visionneuse::backdrop { background: rgba(5, 7, 16, .9); }
/* ⚠️ `display: flex` l'emporte sur l'attribut `hidden` : sans cette règle, la
   barre « ‹ Précédente · 1 / 1 · Suivante › » restait affichée sur une image
   seule, alors que le JS la marquait bien masquée. Constaté à la CAPTURE, pas
   au test : celui-ci lisait l'attribut, pas le rendu.
   La règle vaut maintenant pour TOUTE la visionneuse : téléchargement, retrait,
   flèches et ruban s'effacent tous par `hidden`. */
.ck-visionneuse [hidden] { display: none !important; }

/* BARRE DU HAUT — planche « Galerie — photo ouverte ». Sur un téléphone :
   ✕, compteur, ⎓. En desktop : compteur à gauche, outils à droite, ✕ au bout.
   Un seul ordre dans le HTML, l'ordre visuel se déplace au point de rupture. */
.ck-visionneuse__haut { display: flex; align-items: center; gap: 10px; padding: 14px 12px; }
.ck-visionneuse__compteur { flex: 1; text-align: center; color: var(--ck-attenue); font-size: 14px; }
.ck-visionneuse__outils { display: flex; gap: 10px; }
.ck-visionneuse__outil {
  min-height: 44px; min-width: 44px; padding: 0 14px; border-radius: 10px;
  border: 1.5px solid var(--ck-bord-actif); background: rgba(10, 14, 26, .7); color: #fff;
  font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.ck-visionneuse__fermer { order: -1; padding: 0; font-size: 18px; }
/* Le mot ne tient pas à côté du compteur sur un téléphone : l'icône parle
   seule, le mot revient en desktop. ⚠️ Le sens ne disparaît pas pour autant :
   il est porté par `aria-label`, pas par ce mot-là. */
.ck-visionneuse__mot { display: none; }
/* Le retrait vit en haut en desktop, en bas sur un téléphone (à portée de
   pouce) : chacun s'efface là où l'autre s'affiche. */
.ck-visionneuse__outil--haut { display: none; }

/* CORPS — flèches rondes de part et d'autre de la photo. */
/* ⚠️ `align-items: center` ici, et la photo DÉBORDE : centré, le cadre prend
   la hauteur de son contenu au lieu de celle de la rangée, donc le
   `max-height: 100%` de l'image n'a plus rien à quoi se mesurer. La photo
   passait alors par-dessus la barre du haut et par-dessus le ruban. Vu à la
   CAPTURE, pas au test — celui-ci lisait des attributs, pas une hauteur.
   `stretch` donne au cadre la hauteur de la rangée ; c'est LUI qui centre. */
.ck-visionneuse__corps { flex: 1; min-height: 0; display: flex; align-items: stretch; justify-content: center; gap: 12px; padding: 0 12px; }
.ck-visionneuse__fleche { align-self: center; }
.ck-visionneuse__fleche {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%;
  border: 1.5px solid var(--ck-bord-actif); background: rgba(10, 14, 26, .7);
  color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
}
.ck-visionneuse__cadre { flex: 1; min-width: 0; min-height: 0; margin: 0; padding: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ck-visionneuse__cadre img { max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain; border-radius: 12px; }

/* LÉGENDE — l'activité, puis la date et le lieu. */
.ck-visionneuse__legende { margin: 0; padding: 14px 18px 4px; text-align: center; }
.ck-visionneuse__legende b { display: block; color: #fff; font-size: 16px; margin-bottom: 4px; }
.ck-visionneuse__legende span { color: var(--ck-attenue); font-size: 14px; }

/* RUBAN — des points sur un téléphone, des vignettes en desktop : le même
   ruban, habillé autrement. */
.ck-visionneuse__vignettes { display: flex; gap: 6px; justify-content: center; align-items: center; padding: 6px 0 12px; }
.ck-visionneuse__vignette {
  width: 18px; height: 44px; padding: 0; border: 0; background: none; position: relative; cursor: pointer;
}
/* ⚠️ Le point est dessiné par un pseudo-élément, et le bouton garde 44px de
   haut : un rond de 7px serait invisible au doigt, et la charte exige 44×44
   pour toute zone cliquable. La cible est grande, la marque reste discrète. */
.ck-visionneuse__vignette::before {
  content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .25);
}
.ck-visionneuse__vignette.est-active::before { width: 18px; border-radius: 4px; background: var(--wp--preset--color--cyan); }

/* RETRAIT — pleine largeur sous le ruban, sur un téléphone seulement. */
.ck-visionneuse__retrait {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 0 18px 22px; min-height: 50px; border-radius: 10px;
  border: 1.5px solid var(--ck-bord-actif); color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 600;
}

@media (max-width: 767px) {
  /* ÉCART ASSUMÉ À LA MAQUETTE : elle ne met aucune flèche sur un téléphone,
     le balayage suffisant. On les garde — un balayage ne s'annonce pas, et
     tout le monde ne peut pas balayer — mais POSÉES SUR la photo : à côté,
     elles lui volaient 112px sur 390, et la photo devenait un timbre. */
  .ck-visionneuse__corps { position: relative; padding: 0; }
  .ck-visionneuse__fleche { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; background: rgba(10, 14, 26, .55); }
  .ck-visionneuse__fleche[data-ck-precedente] { left: 6px; }
  .ck-visionneuse__fleche[data-ck-suivante] { right: 6px; }
  /* Sur un téléphone le ruban est une série de POINTS : la photo posée en fond
     par le JavaScript n'a rien à y faire, elle ne serait qu'une tache de 7px.
     ⚠️ `!important` parce que ce fond est un style en ligne. */
  .ck-visionneuse__vignette { background-image: none !important; }
}

@media (min-width: 768px) {
  .ck-visionneuse__haut { padding: 16px 22px; }
  .ck-visionneuse__compteur { flex: 0 0 auto; text-align: left; }
  .ck-visionneuse__outils { margin-left: auto; }
  /* En desktop la croix ferme la rangée, après les deux outils (planche
     « photo ouverte »). ⚠️ `order: 0` ne suffisait pas : à égalité, l'ordre
     du HTML l'emporte, et la croix restait tout à gauche. */
  .ck-visionneuse__fermer { order: 3; }
  .ck-visionneuse__mot { display: inline; }
  .ck-visionneuse__outil--haut { display: inline-flex; }
  .ck-visionneuse__corps { gap: 22px; padding: 0 22px; }
  .ck-visionneuse__fleche { width: 56px; height: 56px; }
  .ck-visionneuse__vignettes { padding: 10px 0 20px; }
  .ck-visionneuse__vignette {
    width: 56px; height: 42px; border-radius: 6px;
    background-color: rgba(255, 255, 255, .07); background-size: cover; background-position: center;
    border: 1px solid var(--ck-filet);
  }
  .ck-visionneuse__vignette::before { content: none; }
  .ck-visionneuse__vignette.est-active { border-color: var(--wp--preset--color--cyan); box-shadow: 0 0 0 1px var(--wp--preset--color--cyan); }
  .ck-visionneuse__retrait { display: none; }
}

/* Mouvements réduits : pas d'animation (charte, WCAG). */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Pied de page — liens légaux et bouton cookies (pages légales, § 32) */
.ck-pied__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; }
.ck-pied__legal a { font-size: 13px; color: rgba(255, 255, 255, .55); min-height: 36px; display: inline-flex; align-items: center; }
.ck-pied__legal a:hover, .ck-pied__legal a:focus-visible { color: var(--wp--preset--color--cyan); }
.ck-pied__cookies { margin-top: 8px; font-size: 13px; }
.ck-pied__cookies a, .ck-pied__cookies button { color: rgba(255, 255, 255, .55); background: none; border: 0; cursor: pointer; font: inherit; min-height: 44px; }

/* Pages légales : tableaux lisibles, y compris sur un téléphone (ils défilent) */
.ck-page .wp-block-table,
.ck-contenu .wp-block-table { overflow-x: auto; width: 100%; max-width: 100%; margin: 22px 0; -webkit-overflow-scrolling: touch; }
.ck-page .wp-block-table table,
.ck-contenu .wp-block-table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; }
.ck-page .wp-block-table th, .ck-page .wp-block-table td,
.ck-contenu .wp-block-table th, .ck-contenu .wp-block-table td { padding: 12px 14px; text-align: left; vertical-align: top; border: 1px solid var(--wp--preset--color--border); }
.ck-page .wp-block-table thead th,
.ck-contenu .wp-block-table thead th { background: rgba(255, 255, 255, .04); font-family: 'Barlow Condensed', sans-serif; font-size: 16px; letter-spacing: .02em; text-transform: uppercase; }
.ck-page .wp-block-table tbody tr:nth-child(even),
.ck-contenu .wp-block-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, .02); }
.ck-page .wp-block-table td:first-child,
.ck-contenu .wp-block-table td:first-child { color: #fff; font-weight: 600; }

/* Compte dans l'en-tête (espace parent) — rond et silhouette de la maquette
   ACC_001. « S'inscrire » collé à une icône muette se lisait « créer un
   compte » (2026-09-28) : sur ordinateur, le mot « Espace parent » est écrit ;
   sur mobile, le rond reste seul mais s'écarte du bouton or, et le menu ouvert
   porte le lien en toutes lettres. Le mot reste lu par les lecteurs d'écran. */
.ck-compte { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-left: 6px; color: rgba(255, 255, 255, .85); text-decoration: none; }
.ck-compte__rond { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .22); }
.ck-compte__rond svg { width: 20px; height: 20px; }
.ck-compte.est-connecte .ck-compte__rond { border: 0; background: var(--wp--preset--color--cyan); color: var(--wp--preset--color--base); }
.ck-compte:hover .ck-compte__rond, .ck-compte:focus-visible .ck-compte__rond { border-color: var(--wp--preset--color--cyan); }
.ck-compte__libelle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ck-entete__cta-long { display: none; }
/* « Inscriptions » est plus long que « S'inscrire » : à 320px il écrasait le
   logo (mesuré le 2026-09-28). Le logo ne rétrécit jamais ; le bouton se
   resserre sous 375px, sans passer sous les 44px de hauteur. */
.ck-logo { flex-shrink: 0; }
@media (max-width: 374px) {
  .ck-entete__cta { padding: 0 12px; font-size: 14px; letter-spacing: .03em; }
  .ck-entete__actions { gap: 6px; }
  .ck-compte { margin-left: 0; }
}
.ck-nav__compte { display: flex; align-items: center; min-height: 52px; color: var(--wp--preset--color--cyan); font-weight: 600; text-decoration: none; }
@media (min-width: 1024px) {
  .ck-entete__cta-court { display: none; }
  .ck-entete__cta-long { display: inline; }
  .ck-nav__compte { display: none; }
  .ck-compte { margin-left: 0; }
  .ck-compte__libelle { position: static; width: auto; height: auto; overflow: visible; clip: auto; font-size: 14px; font-weight: 600; }
  .ck-compte:hover .ck-compte__libelle { color: var(--wp--preset--color--cyan); }
}

/* Page Inscriptions — deux choix : un stage (or, charte « stage ») ou un cours (vert). */
.ck-choix { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ck-choix__carte {
  display: flex; flex-direction: column; gap: 8px; height: 100%; box-sizing: border-box; padding: 22px 20px; border-radius: 14px;
  background: linear-gradient(160deg, rgba(27, 79, 114, .28), rgba(10, 14, 26, .6)); border: 1.5px solid var(--ck-filet);
  color: var(--wp--preset--color--text); text-decoration: none; transition: border-color .15s ease, transform .15s ease;
}
.ck-choix__carte--stage { border-color: rgba(245, 196, 0, .35); }
.ck-choix__carte--cours { border-color: rgba(39, 174, 96, .4); }
.ck-choix__carte:hover, .ck-choix__carte:focus-visible { border-color: var(--wp--preset--color--cyan); transform: translateY(-2px); }
.ck-choix__tag { color: var(--ck-attenue); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.ck-choix__titre { color: #fff; font-family: var(--wp--preset--font-family--heading); font-size: 30px; font-weight: 800; line-height: 1.1; text-transform: uppercase; }
.ck-choix__texte { font-size: 16px; line-height: 1.5; }
.ck-choix__action { margin-top: auto; padding-top: 6px; color: var(--wp--preset--color--cyan); font-weight: 600; }
@media (min-width: 768px) { .ck-choix { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .ck-choix__carte { transition: none; } .ck-choix__carte:hover { transform: none; } }

/* Bandeau du compte au-dessus des formulaires (espace parent) */
.ck-compte-bandeau { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 18px; padding: 12px 14px; border-radius: 10px; font-size: 15px; line-height: 1.5; background: rgba(39, 174, 96, .1); border: 1px solid rgba(39, 174, 96, .3); }
.ck-compte-bandeau--invite { background: rgba(0, 198, 255, .08); border-color: rgba(0, 198, 255, .28); }
.ck-compte-bandeau a { color: var(--wp--preset--color--cyan); text-decoration: underline; text-underline-offset: 2px; }

/* ═══════════════════════════════════════════════════════════════════════
   ÉTATS DES COMPOSANTS — planche « Composants & états »
   Repris un à un de la maquette : appuyé, focus, chargement, désactivé,
   messages, écran vide, 404, squelettes. Les valeurs (hauteurs, opacités,
   couleurs) sont celles de la planche, traduites en jetons du thème.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Boutons : les états qui manquaient ──────────────────────────────── */
/* Appuyé : la maquette assombrit l'or et enfonce le bouton d'1px. */
.ck-bouton--or:active { background: #d9ad00; transform: translateY(1px); box-shadow: none; }
.ck-bouton--fantome:active { background: rgba(255, 255, 255, .08); }
.ck-bouton-envoi:active { background: #d9ad00; transform: translateY(1px); box-shadow: none; }

/* Alternatif (cyan) : liste d'attente, abonnement à l'agenda. */
.ck-bouton--cyan {
  background: var(--wp--preset--color--cyan);
  color: var(--wp--preset--color--base);
  box-shadow: 0 4px 20px rgba(0, 198, 255, .24);
}
.ck-bouton--cyan:active { background: #00a8d8; transform: translateY(1px); box-shadow: none; }

/* Le bouton d'envoi passe au cyan quand l'action n'est PAS une inscription
   payante : la liste d'attente. Règle de la maquette — « or = s'inscrire /
   payer, cyan = actions alternatives (liste d'attente, s'abonner à l'agenda) ».
   Un seul bouton or par écran. */
.ck-bouton-envoi--cyan {
  background: var(--wp--preset--color--cyan);
  color: var(--wp--preset--color--base);
  box-shadow: 0 6px 24px rgba(0, 198, 255, .24);
}
.ck-bouton-envoi--cyan:active { background: #00a8d8; transform: translateY(1px); box-shadow: none; }

/* Désactivé : gris plat, plus d'ombre, plus de curseur. */
.ck-bouton[aria-disabled="true"],
.ck-bouton:disabled,
.ck-bouton-envoi:disabled {
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .35);
  box-shadow: none; cursor: not-allowed; pointer-events: none; transform: none;
}

/* Chargement : le libellé cède la place à « Envoi… » + une roue discrète.
   `aria-busy` porte l'information pour les lecteurs d'écran ; le CSS ne fait
   que la rendre visible. */
.ck-bouton[aria-busy="true"],
.ck-bouton-envoi[aria-busy="true"] { opacity: .9; cursor: progress; pointer-events: none; }
.ck-bouton[aria-busy="true"]::before,
.ck-bouton-envoi[aria-busy="true"]::before {
  content: ''; width: 16px; height: 16px; margin-right: 10px; border-radius: 50%;
  border: 2px solid currentColor; border-top-color: transparent;
  animation: ck-tourne .7s linear infinite;
}
@keyframes ck-tourne { to { transform: rotate(360deg); } }

/* ── Messages : succès, erreur, information ──────────────────────────── */
.ck-message {
  display: flex; gap: 12px; margin: 0 0 14px; padding: 14px 16px; border-radius: 12px;
  font-size: 14px; line-height: 1.5; color: rgba(232, 232, 232, .85);
}
.ck-message b { display: block; margin-bottom: 2px; color: #fff; font-size: 15px; }
.ck-message__icone {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%; font-size: 15px; font-weight: 900;
  color: var(--wp--preset--color--base);
}
.ck-message--succes { background: rgba(39, 174, 96, .1); border: 1px solid rgba(39, 174, 96, .3); }
.ck-message--succes .ck-message__icone { background: var(--wp--preset--color--type-cours); }
.ck-message--erreur { background: rgba(255, 107, 91, .1); border: 1px solid rgba(255, 107, 91, .3); }
.ck-message--erreur .ck-message__icone { background: var(--wp--preset--color--red); }
.ck-message--info { background: rgba(0, 198, 255, .08); border: 1px solid rgba(0, 198, 255, .25); }
.ck-message--info .ck-message__icone { background: var(--wp--preset--color--cyan); }

/* L'alerte des formulaires suit la palette (le rouge de la charte, pas un autre). */
.ck-alerte { color: var(--wp--preset--color--red); background: rgba(255, 107, 91, .1); border-color: rgba(255, 107, 91, .3); }

/* Rappel d'annulation en tête de fiche : aligné sur le conteneur de la page,
   au-dessus du hero, pour être lu AVANT la date mise en avant. */
.ck-fiche-avis {
  box-sizing: border-box; width: 100%; max-width: var(--ck-conteneur);
  margin: 0 auto; padding: 0 var(--ck-marge);
}
.ck-fiche-avis .ck-message { margin-bottom: 0; }
.ck-fiche-avis__ligne { margin: 4px 0 0; }
.ck-fiche-avis__ligne s { color: #fff; text-decoration-thickness: 2px; }

/* Une semaine annulée reste dans la liste, visiblement éteinte. */
.ck-ligne.est-annulee { opacity: .7; }
.ck-ligne.est-annulee .ck-ligne__detail { color: var(--wp--preset--color--red); }

/* ── Écran vide et 404 ───────────────────────────────────────────────────
   Même composition : mascotte, titre, explication, puis des SORTIES.
   Règle de la maquette — jamais d'écran vide sans message ni action. */
.ck-vide { padding: 28px 20px; text-align: center; }
.ck-vide__mascotte { display: block; width: 110px; height: auto; margin: 0 auto 10px; opacity: .9; }
.ck-vide__titre {
  margin: 0 0 6px; color: #fff; text-transform: uppercase;
  font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 24px;
}
.ck-vide__texte { margin: 0 0 16px; color: var(--ck-attenue); font-size: 15px; line-height: 1.5; }
.ck-vide__actions { display: flex; flex-direction: column; gap: 10px; max-width: 340px; margin: 0 auto; }

.ck-404 { padding: 30px 20px 34px; text-align: center; }
.ck-404__nombre {
  margin: 0; color: var(--wp--preset--color--accent); line-height: .9;
  font-family: var(--wp--preset--font-family--heading); font-weight: 900; font-size: 96px;
}
.ck-404__mascotte { display: block; width: 150px; height: auto; margin: 6px auto 10px; }
/* Le monogramme signe la page (charte : « ornement — page 404 »).
   Pleine opacité : la charte interdit de le recolorer ou de l'altérer, et à
   50 % il se lisait comme une tache. C'est la TAILLE qui le met en retrait. */
.ck-404__monogramme { display: block; width: 72px; height: auto; margin: 30px auto 0; }
@media (min-width: 1024px) {
  .ck-404 { padding: 64px 20px 72px; }
  .ck-404__nombre { font-size: 148px; }
  .ck-404__mascotte { width: 220px; }
  .ck-404__monogramme { width: 88px; }
  .ck-vide__actions { flex-direction: row; justify-content: center; }
  .ck-vide__actions .ck-bouton { flex: 0 1 auto; }
}

/* ── Squelettes de chargement ─────────────────────────────────────────────
   Des formes grises qui reprennent la carte attendue, plutôt qu'une roue. */
.ck-squelette {
  border-radius: 6px; background-size: 200% 100%;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .05) 0%, rgba(255, 255, 255, .11) 50%, rgba(255, 255, 255, .05) 100%);
  animation: ck-miroite 1.5s ease-in-out infinite;
}
@keyframes ck-miroite { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.ck-squelette--titre { height: 18px; width: 60%; margin-bottom: 10px; }
.ck-squelette--ligne { height: 12px; width: 100%; margin-bottom: 8px; }
.ck-squelette--ligne:last-child { width: 40%; }
.ck-squelette--vignette { height: 84px; width: 84px; border-radius: 10px; }

/* ── Menu mobile : la croix et le bas de panneau de la maquette ────────────
   La planche « Menu ouvert » montre : le burger devient ✕ AU MÊME ENDROIT,
   puis, sous les pages principales, les pages secondaires en petits boutons,
   le bouton d'inscription, l'appel direct et Facebook. */
.ck-burger__trait { transition: transform .18s ease, opacity .18s ease; }
@media (prefers-reduced-motion: reduce) { .ck-burger__trait { transition: none; } }
.ck-burger[aria-expanded="true"] .ck-burger__trait:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ck-burger[aria-expanded="true"] .ck-burger__trait:nth-child(2) { opacity: 0; }
.ck-burger[aria-expanded="true"] .ck-burger__trait:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Pages secondaires : petits boutons sur une ligne qui se replie. */
.ck-nav__secondaires { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.ck-nav__secondaires a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--wp--preset--color--border); border-radius: 999px;
  color: var(--ck-attenue); font-size: 14px; text-decoration: none;
}
.ck-nav__secondaires a:hover, .ck-nav__secondaires a:focus-visible { color: #fff; border-color: var(--wp--preset--color--cyan); }

/* Bas du panneau : inscription, appel, Facebook. */
.ck-nav__pied { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--ck-filet); }
.ck-nav__pied .ck-bouton { width: 100%; }
.ck-nav__reseau {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: var(--wp--preset--color--cyan); font-size: 15px; text-decoration: none;
}
@media (min-width: 1024px) {
  /* Sur desktop, ces blocs appartiennent à l'en-tête et au pied de page. */
  .ck-nav__secondaires, .ck-nav__pied { display: none; }
}

/* ── Très petits écrans : un titre ne se coupe JAMAIS en plein mot ─────────
   Mesuré le 2026-09-23 : à 320 et 360px, « Multisports » et « Calendrier »
   se coupaient en « MULTISPORT / S ». La colonne du titre vaut la largeur de
   l'écran moins les marges et la mascotte ; en dessous de 375px il n'y avait
   plus la place. On rend donc un peu de largeur à la colonne (mascotte plus
   petite) et on descend l'échelle du titre — uniquement là, pour ne pas
   toucher à l'échelle de textes de la charte au-dessus de 375px. */
@media (max-width: 374px) {
  .ck-phero__titre { font-size: min(9.6vw, 76px); }
  .ck-phero__image { width: 108px; }
  .ck-phero--petit .ck-phero__titre { font-size: min(10.4vw, 64px); }
  .ck-phero--petit .ck-phero__image { width: 96px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   SURVOL — absent de TOUTE la maquette
   ───────────────────────────────────────────────────────────────────────
   ⚠️ La planche « Composants & états » nomme normal, appuyé, focus clavier,
   chargement et désactivé. Elle ne dit RIEN du survol : elle a été dessinée
   mobile-first, où le survol n'existe pas. Le mot « survol » n'apparaît
   qu'une fois dans les 8 planches, pour l'ouverture du menu.
   Résultat mesuré le 2026-09-23 : 20 des 23 éléments cliquables du site
   n'avaient aucun retour au survol. Sur desktop, c'est le premier signal qui
   dit « ceci se clique ».

   Règle retenue, dans l'esprit de la charte : le survol est une version
   ATTÉNUÉE de l'appuyé. L'or s'éclaircit au lieu de s'assombrir, les contours
   se remplissent d'un voile, les cartes se soulèvent. Aucune couleur nouvelle.

   `@media (hover: hover)` : sur un écran tactile, un survol reste « collé »
   après le toucher et fait croire à une sélection. On ne le sert qu'aux
   appareils qui pointent vraiment.
   ═══════════════════════════════════════════════════════════════════════ */
@media (hover: hover) {
  /* ── Boutons ────────────────────────────────────────────────────────── */
  .ck-bouton, .ck-bouton-envoi, .ck-barre-inscription,
  .ck-pastille, .ck-cal__fleche, .ck-touche, .ck-lieu__bouton,
  .ck-abonnement__bouton, .ck-formule__choisir, .ck-agenda__action,
  .ck-lien-fleche, .ck-nav__reseau, .ck-nav__tel, .ck-tel,
  .ck-burger, .ck-nav__deplier, .ck-visionneuse__fermer, .ck-logo,
  .ck-activite a, .ck-stage, .ck-agenda__item, .ck-tuile, .ck-formule,
  .ck-lieu__afficher {
    transition: background-color .15s ease, border-color .15s ease,
                filter .15s ease, transform .15s ease, box-shadow .15s ease;
  }

  /* Principal (or) et son jumeau d'envoi : on ÉCLAIRCIT et on soulève.
     L'appuyé fait l'inverse (assombrir, enfoncer) — les deux se lisent. */
  .ck-bouton--or:hover, .ck-bouton-envoi:hover, .ck-barre-inscription:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 8px 26px rgba(245, 196, 0, .38);
  }
  .ck-bouton--cyan:hover, .ck-bouton-envoi--cyan:hover {
    filter: brightness(1.10);
    transform: translateY(-1px);
    box-shadow: 0 8px 26px rgba(0, 198, 255, .34);
  }
  /* Secondaire : le contour se remplit — même geste que l'appuyé, en plus doux. */
  .ck-bouton--fantome:hover {
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .5);
  }

  /* ── Petits contrôles : pastilles, flèches, tuiles de contact, burger ── */
  .ck-pastille:hover, .ck-cal__fleche:hover, .ck-touche:hover,
  .ck-lieu__bouton:hover, .ck-abonnement__bouton:hover,
  .ck-formule__choisir:hover, .ck-burger:hover, .ck-nav__deplier:hover,
  .ck-visionneuse__fermer:hover, .ck-lieu__afficher:hover {
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .5);
  }
  .ck-pastille.est-active:hover { filter: brightness(1.08); }
  .ck-lieu__bouton--or:hover { filter: brightness(1.08); background: var(--wp--preset--color--accent); }

  /* ── Liens d'action : le libellé s'éclaircit et la flèche avance ─────── */
  .ck-lien-fleche:hover, .ck-agenda__action:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .ck-nav__tel:hover, .ck-tel:hover, .ck-nav__reseau:hover { color: #fff; }
  .ck-logo:hover { filter: brightness(1.06); }

  /* ── Cartes : toute la carte réagit, pas seulement son lien ─────────── */
  .ck-activite a:hover {
    border-color: rgba(0, 198, 255, .55);
    background: rgba(27, 79, 114, .32);
    transform: translateY(-2px);
  }
  .ck-stage:hover, .ck-agenda__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
  }
  .ck-stage:hover { border-color: rgba(245, 196, 0, .6); }
  .ck-formule:hover, .ck-tuile:hover { border-color: rgba(255, 255, 255, .5); }
  .ck-galerie img:hover { filter: brightness(1.1); cursor: zoom-in; }
}

/* ── Cartes entièrement cliquables ────────────────────────────────────────
   Règle de la planche « Composants & états » : « Toute la carte est cliquable
   (pas seulement la flèche). » C'était vrai pour la carte Activité (son lien
   enveloppe tout) mais PAS pour la carte Stage ni pour la carte « À venir » :
   seuls le titre et la flèche répondaient (mesuré le 2026-09-23).
   Le lien du titre s'étire sur toute la carte ; la flèche repasse au-dessus
   pour garder sa propre destination (l'ancre d'inscription). Un seul lien
   couvre la surface, donc un seul arrêt au clavier : le lecteur d'écran
   n'annonce pas la carte deux fois. */
.ck-stage, .ck-agenda__item { position: relative; }
.ck-stage__titre a::after,
.ck-agenda__titre::after { content: ''; position: absolute; inset: 0; }
.ck-stage .ck-lien-fleche,
.ck-agenda__action { position: relative; z-index: 1; }

/* ── Squelettes en service ────────────────────────────────────────────────
   Le composant existait dans la charte sans emploi : le site est rendu côté
   serveur, il n'y a rien à meubler. Sauf deux attentes bien réelles, que le
   visiteur déclenche lui-même — la carte Google et l'agrandissement d'une
   photo. Les deux laissaient un vide (ou, pire, la photo précédente). */
.ck-lieu__carte.est-en-chargement {
  background-size: 200% 100%;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .05) 0%, rgba(255, 255, 255, .11) 50%, rgba(255, 255, 255, .05) 100%);
  animation: ck-miroite 1.5s ease-in-out infinite;
}
.ck-lieu__carte.est-en-chargement iframe { opacity: 0; }

.ck-visionneuse__cadre[aria-busy="true"] img { opacity: 0; }
.ck-visionneuse__cadre[aria-busy="true"]::before {
  content: ''; position: absolute; inset: 0; border-radius: 10px;
  background-size: 200% 100%;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .05) 0%, rgba(255, 255, 255, .11) 50%, rgba(255, 255, 255, .05) 100%);
  animation: ck-miroite 1.5s ease-in-out infinite;
}
.ck-visionneuse__cadre { position: relative; }
.ck-visionneuse__cadre img { transition: opacity .2s ease; }
@media (prefers-reduced-motion: reduce) {
  .ck-lieu__carte.est-en-chargement,
  .ck-visionneuse__cadre[aria-busy="true"]::before { animation: none; }
}

/* ── Espace parent : l'habillage Cool Kids par-dessus le module ───────────
   Les écrans du compte (`/fr/mon-compte/`) sont rendus par le MODULE agenda,
   avec ses propres classes `agenda-parent__*`. Il hérite déjà des couleurs et
   des polices du thème — son gabarit est donc juste. Restent deux écarts,
   mesurés le 2026-09-23 sur la planche `espace-parent.html` :

   1. La bordure des champs vaut rgba(255,255,255,.18), soit 1,68:1 : sous les
      3:1 que WCAG 2.2 « 1.4.11 » exige pour le pourtour d'un contrôle. Le
      jeton `--ck-bord-actif` du thème ne l'atteignait pas, ces champs n'ayant
      pas de classe. (L'anneau de focus, lui, fonctionne : vérifié au clavier.)
   2. Les titres de section ne sont pas en capitales, là où tout le site l'est.

   ⚠️ La feuille du module est chargée APRÈS celle du thème : il faut donc
   au moins autant de spécificité qu'elle, d'où les sélecteurs répétés. */
body .agenda-parent input[type="email"],
body .agenda-parent input[type="password"],
body .agenda-parent input[type="text"]:not(.agenda-piege),
body .agenda-parent input[type="number"],
body .agenda-parent input[type="date"],
body .agenda-parent input[type="tel"],
body .agenda-parent select,
body .agenda-parent textarea {
  border: 1.5px solid var(--ck-bord-actif);
}
body .agenda-parent h2 {
  font-family: var(--wp--preset--font-family--heading);
  font-weight: 800; text-transform: uppercase; color: #fff;
}

/* ── Les disciplines portent leur tigre ───────────────────────────────────
   Chaque sport pratiqué affiche son propre tigre en petit, à gauche du
   libellé. L'étiquette reste une pastille : même forme, même couleur, même
   place dans la page — on ajoute l'image, on ne refait pas le composant.
   Une discipline sans tigre garde son émoji et sa pastille d'origine :
   les deux cohabitent sur la même ligne sans décrochement. */
/* « À prévoir » : la liste de ce que l'enfant apporte, signée par le tigre du
   matériel — comme les tigres signent les sports. Sur un téléphone le tigre
   passe au-dessus, la liste garde toute la largeur. */
.ck-a-prevoir { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; margin-top: 16px; }
.ck-a-prevoir__tigre { width: 84px; height: 84px; flex: none; object-fit: contain; object-position: center bottom; }
.ck-a-prevoir__liste {
  list-style: none; margin: 0; padding: 0; flex: 1 1 220px;
  display: grid; grid-template-columns: 1fr; gap: 8px;
}
.ck-a-prevoir__liste li {
  padding: 10px 14px; border-radius: 10px; font-weight: 600; color: #fff;
  background: var(--ck-voile); border: 1px solid var(--ck-filet);
}
@media (min-width: 600px) {
  .ck-a-prevoir__liste { grid-template-columns: 1fr 1fr; }
  .ck-a-prevoir__tigre { width: 110px; height: 110px; }
}

.ck-etiquettes li.a-tigre {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px 5px 6px;
}
.ck-etiquettes li.a-tigre img {
  width: 38px; height: 38px; flex: none;
  object-fit: contain; object-position: center bottom;
}
@media (min-width: 768px) {
  .ck-etiquettes li.a-tigre { padding: 6px 16px 6px 7px; gap: 10px; }
  .ck-etiquettes li.a-tigre img { width: 46px; height: 46px; }
}

/* ── Contenu riche d'une fiche : images, légendes, sous-titres ────────────
   Le texte d'une offre n'avait de style QUE pour ses paragraphes : une image
   ou un titre posés par l'ASBL dans l'éditeur sortaient sans mise en forme.
   Premier cas réel : le guide « Dans quel groupe inscrire votre enfant ? »
   d'Aqua Cool Kids — une infographie haute, dense en texte. */
.ck-texte h2, .ck-texte h3 {
  margin: 28px 0 10px; color: #fff; text-transform: uppercase;
  font-family: var(--wp--preset--font-family--heading); font-weight: 800;
  font-size: 22px; line-height: 1.1;
}
.ck-texte figure { margin: 18px 0; }
.ck-texte img {
  max-width: 100%; height: auto; border-radius: 12px; display: block;
}
/* Une infographie haute ne doit pas manger toute la colonne : on la borne et
   on la centre. Elle reste lisible, et le texte garde son rythme. */
.ck-texte figure.wp-block-image { max-width: 460px; margin-inline: auto; }
.ck-texte figcaption {
  margin: 8px 0 0; color: var(--ck-attenue); font-size: 13px;
  line-height: 1.5; text-align: center;
}
/* Le lien vers l'image en grand : c'est la seule façon de lire une infographie
   dense sur un téléphone. On le dit par le curseur et par un léger retrait. */
.ck-texte figure a { display: block; cursor: zoom-in; }
@media (hover: hover) {
  .ck-texte figure a { transition: filter .15s ease, transform .15s ease; }
  .ck-texte figure a:hover { filter: brightness(1.06); transform: translateY(-2px); }
}

/* ═══════════════════════════════════════════════════════════════════════
   ANNONCES — maquette `annonces.html`
   Trois tons, du plus calme au plus rare : cyan = information, or = à ne pas
   rater, rouge = perturbation. Les valeurs (12/14px de marge, pastille de
   24px, croix de 44px) sont celles de la planche.
   ═══════════════════════════════════════════════════════════════════════ */
.ck-annonce {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px var(--ck-marge);
  background: rgba(0, 198, 255, .10);
  border-top: 1px solid rgba(0, 198, 255, .25);
  border-bottom: 1px solid rgba(0, 198, 255, .25);
}
.ck-annonce[hidden] { display: none; }
.ck-annonce__icone {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 24px; height: 24px; border-radius: 50%; margin-top: 1px;
  background: var(--wp--preset--color--cyan); color: var(--wp--preset--color--base);
  font-weight: 900; font-size: 14px;
}
.ck-annonce__corps { flex: 1; min-width: 0; font-size: 14px; line-height: 1.45; color: rgba(232, 232, 232, .92); }
.ck-annonce__corps b { display: block; margin-bottom: 1px; color: #fff; font-size: 15px; }
.ck-annonce__corps a {
  display: inline-flex; align-items: center; min-height: 24px; margin-top: 6px;
  color: var(--wp--preset--color--cyan); font-weight: 700; text-decoration: underline; text-underline-offset: 2px;
}
/* Croix de 44px, et des marges négatives pour qu'elle ne pousse pas le texte. */
.ck-annonce__fermer {
  flex: none; width: 44px; height: 44px; margin: -10px calc(var(--ck-marge) * -1 + 4px) -10px 0;
  display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 8px; background: none; cursor: pointer;
  color: rgba(255, 255, 255, .6); font-size: 18px; line-height: 1;
}
@media (hover: hover) {
  .ck-annonce__fermer:hover { background: rgba(255, 255, 255, .10); color: #fff; }
}
.ck-annonce--important {
  background: rgba(245, 196, 0, .12);
  border-top-color: rgba(245, 196, 0, .32); border-bottom-color: rgba(245, 196, 0, .32);
}
.ck-annonce--important .ck-annonce__icone { background: var(--wp--preset--color--accent); }
.ck-annonce--alerte {
  background: rgba(255, 107, 91, .12);
  border-top-color: rgba(255, 107, 91, .32); border-bottom-color: rgba(255, 107, 91, .32);
}
.ck-annonce--alerte .ck-annonce__icone { background: var(--wp--preset--color--red); }

@media (min-width: 768px) {
  /* Desktop : « texte sur une ou deux lignes », donc le titre revient en ligne. */
  .ck-annonce { padding: 12px max(var(--ck-marge), calc((100% - var(--ck-conteneur)) / 2)); align-items: center; }
  .ck-annonce__corps b { display: inline; margin-right: 6px; }
  .ck-annonce__corps a { margin-top: 0; margin-left: 10px; }
}

/* ── Modale de mise en avant ──────────────────────────────────────────────
   Mobile : une feuille qui monte du bas et laisse voir la page derrière.
   Desktop : une carte de 440px centrée, sur fond assombri. */
.ck-modale {
  width: 100%; max-width: 100%; margin: auto auto 0; padding: 26px var(--ck-marge) 22px;
  border: 0; border-radius: 18px 18px 0 0;
  background: var(--wp--preset--color--surface); color: var(--wp--preset--color--text);
  box-shadow: 0 -18px 48px rgba(0, 0, 0, .55);
}
.ck-modale::backdrop { background: rgba(5, 7, 16, .6); }
/* La fenêtre reçoit le focus à l'ouverture pour qu'Échap marche et que le
   lecteur d'écran y entre : ce n'est pas une cible cliquable, pas d'anneau. */
.ck-modale:focus { outline: none; }
.ck-modale__fermer {
  position: absolute; top: 10px; right: 10px; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 10px; background: none; cursor: pointer;
  color: rgba(255, 255, 255, .6); font-size: 18px;
}
@media (hover: hover) { .ck-modale__fermer:hover { background: rgba(255, 255, 255, .10); color: #fff; } }
.ck-modale__surtitre {
  margin: 0 0 6px; color: var(--wp--preset--color--cyan);
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.ck-modale--important .ck-modale__surtitre { color: var(--wp--preset--color--accent); }
.ck-modale--alerte .ck-modale__surtitre { color: var(--wp--preset--color--red); }
.ck-modale__titre {
  margin: 0 0 8px; color: #fff; text-transform: uppercase;
  font-family: var(--wp--preset--font-family--heading); font-weight: 800;
  font-size: 26px; line-height: 1.05;
}
.ck-modale__texte { margin: 0 0 18px; color: var(--ck-attenue); font-size: 16px; line-height: 1.5; }
/* Deux sorties TOUJOURS visibles : la croix et « Plus tard ».
   Une seule action principale — jamais deux boutons or (règle de la charte). */
.ck-modale__actions { display: flex; flex-direction: column; gap: 10px; }
.ck-modale__actions .ck-bouton { width: 100%; }

@media (min-width: 768px) {
  .ck-modale {
    width: 440px; max-width: calc(100vw - 36px); margin: auto;
    padding: 30px 28px 26px; border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .6);
  }
  .ck-modale__actions { flex-direction: row-reverse; justify-content: flex-start; }
  .ck-modale__actions .ck-bouton { width: auto; }
}

/* ── La vidéo se présente comme une photo ─────────────────────────────────
   Sa vignette occupe la même case que les photos, avec un bouton de lecture
   par-dessus. Elle ne démarre qu'au clic, en grand, dans la visionneuse. */
.ck-video { margin: 0; }
.ck-video__ouvrir {
  position: relative; display: block; width: 100%; padding: 0;
  border: 0; background: none; cursor: pointer; border-radius: 10px; overflow: hidden;
}
.ck-video__ouvrir img { display: block; width: 100%; height: auto; }
/* Le triangle est dessiné en CSS : pas de police, pas d'image de plus. */
.ck-video__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(10, 14, 26, .72); border: 2px solid rgba(255, 255, 255, .85);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .5);
}
.ck-video__play::before {
  content: ''; margin-left: 4px;
  border-style: solid; border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
}
@media (hover: hover) {
  .ck-video__ouvrir { transition: transform .15s ease; }
  .ck-video__ouvrir:hover { transform: translateY(-2px); }
  .ck-video__ouvrir:hover .ck-video__play { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); }
  .ck-video__ouvrir:hover .ck-video__play::before { border-left-color: var(--wp--preset--color--on-accent); }
}

/* Le lecteur dans la visionneuse : mêmes limites que l'image. */
.ck-visionneuse__video { max-width: 100%; max-height: 100%; min-height: 0; border-radius: 8px; background: #000; }
.ck-visionneuse__video[hidden] { display: none; }
.ck-visionneuse__cadre img[hidden] { display: none; }

/* ── Tons des badges ──────────────────────────────────────────────────────
   Valeurs de la planche « Composants & états ». L'or plein reste réservé aux
   DERNIÈRES PLACES : c'est l'information qui doit faire agir. Les autres sont
   des teintes posées sur le fond Nuit, plus calmes.
   Contrastes vérifiés : vert 6,7:1, rouge clair ≥ 6,9:1, cyan 9,7:1. */
.ck-badge--dispo { background: rgba(39, 174, 96, .18); color: var(--wp--preset--color--type-cours); }
.ck-badge--complet { background: rgba(255, 107, 91, .18); color: #ff8a7d; }
.ck-badge--nouveau { background: rgba(0, 198, 255, .14); color: var(--wp--preset--color--cyan); }

/* ⚠️ Le corps d'une carte d'activité est une GRILLE, pas un flex : `align-self`
   y joue sur la verticale et laissait le badge s'étirer sur toute la largeur.
   C'est `justify-self` qui le borne à son contenu. */
.ck-activite__corps .ck-badge { justify-self: start; align-self: start; margin: 2px 0 0; }

/* ═══ SPONSORS — desktop, maquette desktop-pages.html (paquet du 2026-09-24) ═══
   Jusqu'ici cette page n'avait AUCUNE maquette desktop : elle héritait des
   valeurs mobiles. Les trois cartes de formules et le mur de logos à cinq
   colonnes viennent de `.dpacks`, `.dpack` et `.dlogos`. */
@media (min-width: 1024px) {

  /* Le mur de logos : cinq par ligne, et chacun dans une case de hauteur fixe
     pour que des logos de proportions différentes s'alignent quand même.
     ⚠ Portée limitée à .ck-sponsors : la page Galerie partage `.ck-galerie`
       et reste, elle, à quatre colonnes. */
  .ck-sponsors .ck-galerie { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .ck-sponsors .ck-galerie figure,
  .ck-sponsors .ck-galerie img {
    height: 110px; width: 100%; object-fit: contain; border-radius: 12px;
  }
  .ck-sponsors .ck-galerie figure {
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--ck-filet); background: var(--ck-voile); padding: 12px;
  }

  /* Les formules : TROIS cartes, pas quatre. */
  .ck-formules { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
  .ck-formule { padding: 24px; border-radius: 14px; }
  .ck-formule__nom {
    font-family: var(--wp--preset--font-family--display, 'Barlow Condensed', sans-serif);
    font-weight: 800; font-size: 26px; text-transform: uppercase;
  }
  .ck-formule__prix { font-size: 34px; margin: 6px 0 14px; }

  /* Les avantages : une coche verte, pas une puce de liste. */
  .ck-formule__avantages { list-style: none; padding: 0; margin: 0 0 18px; }
  .ck-formule__avantages li {
    font-size: 14.5px; padding: 6px 0 6px 22px; position: relative;
  }
  .ck-formule__avantages li::before {
    content: '\2713'; position: absolute; left: 0;
    color: var(--wp--preset--color--type-cours); font-weight: 800;
  }
}

/* ═══ PAGES DE TEXTE — sommaire collant, maquette desktop-pages.html ═══════
   Planche « pages légales » : sommaire à gauche (260px, collant), texte à
   720px — « au-delà, la lecture décroche », dit la maquette. Couvre aussi
   Conditions d'inscription et Cookies.
   ⚠ Le sommaire est MASQUÉ sous 1024px : aucune maquette mobile n'en montre.
     Il reste dans le HTML — un lecteur d'écran y accède toujours. */
.ck-sommaire { display: none; }

@media (min-width: 1024px) {
  .ck-page--sommaire {
    display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start;
  }
  /* ⚠ Le padding horizontal de `.ck-page > *` casserait la gouttière de 48px :
     on le reprend sur le conteneur. */
  .ck-page--sommaire > :not(.ck-cal) { padding: 0; }
  .ck-page--sommaire { padding-inline: var(--ck-marge); }

  .ck-sommaire {
    display: grid; position: sticky; top: 24px;
    border-left: 2px solid rgba(255, 255, 255, .1); padding-left: 16px;
  }
  .ck-sommaire a {
    font-size: 14px; color: rgba(255, 255, 255, .6); padding: 7px 0;
    text-decoration: none; line-height: 1.35;
  }
  .ck-sommaire a:hover,
  .ck-sommaire a:focus-visible { color: #fff; }
  /* La section en cours de lecture, posée par le script. */
  .ck-sommaire a.est-courante {
    color: var(--wp--preset--color--cyan); font-weight: 700;
  }

  .ck-prose { max-width: 720px; }
}

/* ═══ GALERIE — colonnes de hauteur libre, maquette desktop-pages.html ═════
   « Colonnes de hauteur libre (4 colonnes ≥ 1200px, 3 en tablette, 2 en
   mobile), photos jamais recadrées. »

   La grille précédente alignait les photos par rangée : toutes celles d'une
   même ligne prenaient la hauteur de la plus grande, et le reste devenait du
   vide. Les colonnes CSS laissent chaque photo à sa hauteur.

   ⚠ Portée limitée à `[data-ck-galerie]` : la page Sponsors réutilise la
     classe `.ck-galerie` pour son mur de logos, qui doit rester une grille
     régulière de cases égales. */
/* Valeurs de la planche (`.dmas`) : `column-gap: 16px`, figure `margin: 0 0
   16px`, `border-radius: 12px`, `overflow: hidden`, filet 1px et fond bleuté.
   Une SEULE gouttière, 16px, à toutes les largeurs : horizontale et verticale
   égales, sinon la grille se lit de travers.

   ⚠️ CE BLOC N'AVAIT JAMAIS PRIS EFFET, mesuré le 2026-09-25. Les règles de
   la grille MOBILE (`.ck-galerie .wp-block-image`, plus haut) posent
   `aspect-ratio: 1`, `margin: 0 !important` et une image en position absolue
   en `width/height: 100% !important`. Un `!important` ne se bat pas à la
   spécificité : il faut la même arme. Résultat AVANT correction, sur les dix
   photos : toutes rendues en 279×279, donc TOUTES RECADRÉES alors que la
   planche exige « photos jamais recadrées », aucun espacement vertical, et la
   vidéo en `object-fit: fill` — écrasée d'un rapport 0,56 à 1.
   Les colonnes de hauteur libre annoncées le 2026-09-24 n'existaient que dans
   la feuille de style. */
.ck-galerie[data-ck-galerie] {
  display: block; columns: 2; column-gap: 16px;
}
.ck-galerie[data-ck-galerie] > .wp-block-gallery { display: contents; }
.ck-galerie[data-ck-galerie] figure.wp-block-image,
.ck-galerie[data-ck-galerie] figure.ck-video {
  /* `break-inside: avoid` retient la photo dans UNE colonne : sans lui, une
     image peut se couper en deux au changement de colonne. */
  break-inside: avoid;
  display: block; position: relative;
  width: 100% !important; margin: 0 0 16px !important;
  border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .07); background: rgba(27, 79, 114, .18);
}
/* LA PHOTO garde ses proportions : la hauteur suit la largeur. */
.ck-galerie[data-ck-galerie] figure.wp-block-image { aspect-ratio: auto; }
.ck-galerie[data-ck-galerie] figure.wp-block-image img {
  position: static; inset: auto;
  width: 100% !important; height: auto !important; max-width: none;
  object-fit: initial; display: block;
}
/* LA VIDÉO garde un cadre CARRÉ, et c'est voulu : sa vignette est un arrêt sur
   image en portrait (rapport 0,56 mesuré) — à hauteur libre, elle ferait une
   colonne à elle seule. Elle est donc RECADRÉE (`cover`), jamais déformée :
   c'est `fill` qui l'écrasait. */
.ck-galerie[data-ck-galerie] figure.ck-video { aspect-ratio: 1; }
.ck-galerie[data-ck-galerie] figure.ck-video img {
  position: absolute; inset: 0;
  width: 100% !important; height: 100% !important; max-width: none;
  object-fit: cover; display: block;
}
/* Vignette en portrait : on garde le HAUT, là où est le sujet — au centre,
   le carré ne montrait que le sol et coupait l'enfant au front (mesuré sur
   une vignette de 277×492, dont le carré ne retient que 56% de la hauteur).
   Vaut pour la grille carrée du téléphone comme pour les colonnes. */
.ck-video--portrait img { object-position: 50% 0 !important; }

@media (min-width: 768px) { .ck-galerie[data-ck-galerie] { columns: 3; } }
@media (min-width: 1200px) { .ck-galerie[data-ck-galerie] { columns: 4; } }

/* ═══ CONTACT — deux colonnes en desktop, maquette desktop-pages.html ══════
   « Formulaire à gauche, coordonnées et carte à droite » (`.dcontact` :
   1fr / 420px, gouttière 44px).

   La carte bloquée jusqu'au consentement existait déjà : l'iframe Google n'est
   créée qu'au clic sur « Charger la carte » (voir coolkids.js, [data-ck-carte]).

   ⚠ Placement par position et non par classe : le gabarit empile un bloc
     « formulaire », puis « Nos lieux », « Suivez-nous », et un bloc de contenu
     facultatif. Le PREMIER va à gauche, tout le reste s'empile à droite — la
     règle tient même si un bloc est ajouté ou retiré. */
@media (min-width: 1024px) {
  .ck-contact {
    display: grid; grid-template-columns: 1fr 420px; gap: 44px; align-items: start;
  }
  /* ⚠️ PLEINE LARGEUR PAR DÉFAUT, colonne de droite par exception. L'inverse
     — tout en colonne 2 — écrasait « Nos lieux » dans 420px pendant que la
     moitié gauche restait vide sous le formulaire, et les cartes de lieux s'y
     empilaient sur deux lignes illisibles. Signalé par David le 2026-09-25.
     ⚠️ AUCUNE MAQUETTE ne montre cette page en desktop (même constat que le
     hero des pages) : cette disposition est un choix, à juger à l'œil. */
  .ck-contact > * { grid-column: 1 / -1; }
  .ck-contact > :first-child { grid-column: 2; grid-row: 1; }
  /* Les réseaux rejoignent les coordonnées : même colonne, ligne suivante. */
  .ck-contact > .ck-contact__reseaux { grid-column: 2; grid-row: 2; align-self: start; }
  /* ⚠️ PLACÉ PAR LA GRILLE, plus par l'ordre du HTML. Le formulaire est le
     DERNIER bloc de la page (il vient du contenu), et la maquette desktop le
     veut à GAUCHE. L'inverser dans le HTML aurait repoussé le téléphone et
     l'e-mail sous le formulaire sur un téléphone — or c'est là qu'on appelle
     en premier. La grille déplace sans rien réordonner. */
  /* ⚠ `span 2` : sans lui, le formulaire occupe la ligne 1 À LUI SEUL et
     repousse les réseaux tout en bas de la colonne de droite — le vide qu'on
     voulait combler revenait, simplement déplacé. Le formulaire enjambe les
     deux lignes de droite (coordonnées, puis réseaux). */
  .ck-contact > .ck-contact__formulaire { grid-column: 1; grid-row: 1 / span 2; }
  /* Page sans formulaire : la colonne de gauche resterait vide. Le premier
     bloc la prend, comme avant. */
  .ck-contact:not(:has(.ck-contact__formulaire)) > :first-child { grid-column: 1; grid-row: 1; }
}

/* ═══ FICHE ACTIVITÉ / STAGE — finitions desktop, desktop-pages.html ═══════
   La structure était déjà conforme : contenu à gauche, colonne de droite
   collante (`.ck-fiche` en 1fr/440px, `.ck-fiche__cote` en sticky). Restaient
   les tailles du hero, que la maquette agrandit nettement en desktop. */
@media (min-width: 1024px) {
  /* Sur-titre (`.deb`) : plus grand et beaucoup plus espacé qu'en mobile. */
  .ck-phero__tag { font-size: 13px; letter-spacing: .22em; margin-bottom: 18px; }
  /* Accroche (`.dsub`) : 20px et une largeur de lecture bornée — une accroche
     qui court sur toute la colonne se lit mal. */
  .ck-phero__sous-titre { font-size: 20px; line-height: 1.55; max-width: 520px; }
}

/* ═══ CALENDRIER — desktop, planche « Calendrier — vue mois avec filtres »

   Repris le 2026-09-25 après le constat de David — « c'est incompréhensible,
   surtout qu'on ne voit pas l'heure ni le lieu » — et trois avis convergents.

   ⚠ La cause était dans les DONNÉES, pas dans le style : la case affichait une
   ligne par CRÉNEAU. « Aqua Cool Kids » y tenait trois lignes pour dire une
   seule chose, et il ne restait plus de place pour l'heure. Groupée par
   activité (voir ck_cal_grouper), une journée d'octobre n'a plus que trois
   lignes au maximum — mesuré — et chacune peut porter son heure et sa commune.

   ⚠ La case ne replie plus rien : David a tranché pour « tout visible ». Un
   jour exceptionnellement chargé fera grandir sa ligne, il ne cachera rien.

   Les libellés n'existent qu'à partir de 1024px : en mobile la case est trop
   petite, et les points par type y restent la bonne réponse. */
.ck-cal__evts { display: none; }
/* Sur un téléphone la case fait 48px : le nom d'un congé n'y tient pas. Il
   reste annoncé par le titre du jour choisi et par la vue Liste. */
.ck-cal__conge { display: none; }

@media (min-width: 1024px) {
  /* ⚠️ C'EST LE CONTENU QUI POUSSE LA LIGNE, jamais un plancher.
     J'avais d'abord posé `min-height: 200px` — la hauteur dont le jour le plus
     chargé a besoin. Un plancher réglé sur le maximum s'applique à TOUTES les
     semaines : celle du 19 au 25 octobre, qui ne porte qu'une activité par
     jour, réservait 200px pour en occuper cent. Signalé par David le
     2026-09-25. Le minimum ne vaut plus que pour une case SANS activité, où
     il n'y a rien à mesurer : numéro du jour (18) + marges (16), plus un peu
     d'air.
     ⚠️ `height: auto` — la règle mobile fixe `height: 48px`, et un
     `min-height` ne fait que relever ce plafond : le contenu d'un samedi à
     trois activités DÉBORDAIT par-dessus la semaine suivante. Vu à la
     capture, jamais par une mesure d'attribut. */
  .ck-cal__jour {
    height: auto; min-height: 88px; border-radius: 10px; padding: 8px;
    align-items: stretch; justify-content: flex-start; gap: 0;
  }
  /* Le numéro du jour s'aligne à GAUCHE, comme les pastilles : centré, il
     entrait en conflit d'axe avec elles. */
  .ck-cal__jour > [aria-hidden="true"]:first-child {
    align-self: flex-start; font-size: 13px; font-weight: 600;
    color: rgba(255, 255, 255, .55); margin-bottom: 6px;
  }
  /* Semaine sans activité : la hauteur d'une rangée de dates, pas celle des
     pastilles. La hachure d'un congé s'y voit tout aussi bien. */
  .ck-cal__semaine.est-creuse .ck-cal__jour { min-height: 64px; }

  .ck-cal__points { display: none; }
  .ck-cal__evts { display: grid; gap: 4px; align-content: start; }

  /* Le nom du congé : discret, il nomme la hachure sans voler la vedette aux
     activités — un stage se tient pendant les congés, et c'est LUI qu'on vient
     chercher. */
  /* ⚠️ PLUS de `margin-top: auto` : c'est lui qui collait le nom du congé au
     BAS de la case, à 200px du numéro. Il se lit maintenant sous le numéro,
     là où l'œil balaie la ligne des activités (David, 2026-09-25). */
  /* ⚠️ `min-height` de DEUX lignes : c'est ce qui aligne la rangée. Le libellé
     le plus long en prend deux (« Commémoration du 11 novembre », « Vacances
     d'automne »), le plus court une seule (« Fête des morts ») et la case sans
     congé rend une ligne vide. Sans ce plancher commun, les trois hauteurs
     diffèrent et les blocs d'activités de la semaine se décalent entre eux. */
  .ck-cal__conge {
    display: block; margin: 1px 0 5px; min-height: 2.5em;
    font-size: 11.5px; line-height: 1.25;
    font-weight: 600; letter-spacing: .02em; color: rgba(232, 232, 232, .62);
  }
  .ck-cal__evt {
    display: block; padding: 6px 8px 6px 7px; border-radius: 6px; text-align: left;
    border-left: 3px solid var(--agenda-couleur, var(--ck-bord-actif));
    background: color-mix(in srgb, var(--agenda-couleur, transparent) 13%, transparent);
  }
  /* ⚠ Le nom en 14px, la charte l'exige pour une information. Il ENVELOPPE
     plutôt que de se couper : « Multisports 3–5 a… » tronquait précisément là
     où le titre informe. L'âge, lui, est retiré par `ck_sans_age` — il est
     déjà dans le filtre latéral. */
  .ck-cal__evt b {
    display: block; font-size: 14px; line-height: 1.25; font-weight: 700;
    color: var(--wp--preset--color--text);
  }
  /* ⚠ L'heure et la commune en 13px CLAIR, pas dans la couleur du type : c'est
     l'information que le parent vient chercher, elle ne se met pas dans la
     teinte la plus faible. */
  .ck-cal__evt small {
    display: block; margin-top: 2px; font-size: 13px; line-height: 1.3;
    color: rgba(232, 232, 232, .78); font-weight: 500;
  }

  /* Titre du mois et flèches, aux tailles de la maquette. */
  .ck-cal__titre { font-size: 34px; }
  .ck-cal__fleche { width: 44px; height: 44px; border-radius: 8px; }

  /* La hachure d'un congé passe SOUS les pastilles : posée sur le fond de la
     case, elle traversait le texte. */
  .ck-cal__jour.est-conge { position: relative; background: var(--ck-voile); }
  .ck-cal__jour.est-conge::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 4px, transparent 4px 9px);
  }
  .ck-cal__jour > * { position: relative; }
}

/* ═══ TABLETTE (768–1023px) — les mascottes prennent la place disponible ═══
   Signalé par David le 2026-09-24, à l'écran : « la cape toujours trop collée
   au bord à droite, on a de la place, laisse respirer ; et par rapport au
   texte à côté on a plein de vide que la mascotte peut remplir. »

   Entre 768 et 1024px, les deux heros gardaient leurs tailles MOBILES pendant
   que la page s'élargissait : le tigre restait petit et le débord, lui,
   continuait de mordre la cape. Deux corrections :

   1. le débord passe à ZÉRO. Il a un sens sur un téléphone, où chaque pixel de
      largeur compte et où la mascotte doit mordre le bord pour laisser sa
      place au titre. Sur une tablette, il n'y a rien à gagner — seulement une
      cape coupée ;
   2. la mascotte grandit pour occuper le vide laissé à côté du texte. */
@media (min-width: 768px) {
  .ck-hero__mascotte {
    --ck-tigre-hero: min(38vw, 320px);
    margin-right: 0;
    /* La marge de forme s'élargit avec la mascotte : sans ça, le texte
       viendrait coller la silhouette. */
    shape-margin: 16px;
  }

}

/* ⚠️ BORNÉ À LA TABLETTE, et c'est tout l'enjeu. Ces deux règles vivaient dans
   le `min-width: 768px` ci-dessus, écrit APRÈS le bloc `min-width: 1024px`.
   Sur un écran de 1280px les DEUX media queries s'appliquent, et à spécificité
   égale c'est la dernière du fichier qui gagne : le tigre des fiches restait
   donc bridé à 200px au lieu des 330px de la maquette, avec du vide au-dessus
   et en dessous. Signalé par David le 2026-09-25 — « ils sont trop petits
   alors qu'il y a plein de place en hauteur ».
   Le hero de la page Contact, lui, était juste : il passe par une autre règle.
   Hero des pages : 140px sur un écran de 768px, c'était une vignette. */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .ck-phero__image { width: min(26vw, 200px); }
  .ck-phero--petit .ck-phero__image { width: min(22vw, 170px); }
}

/* PLUSIEURS ENFANTS (2026-10-31) : une carte par enfant ; seule, elle ne se voit
   pas (le formulaire d'un enfant reste celui de toujours). */
.ck-enfants { display: flex; flex-direction: column; gap: 16px; }
.ck-bloc-num > .ck-enfants,
.ck-bloc-num > .ck-enfants__ajouter { margin-bottom: 14px; }
.ck-enfant { display: flex; flex-direction: column; gap: 14px; min-width: 0; margin: 0; padding: 0; border: 0; }
.ck-enfant[hidden], .ck-enfant__titre[hidden], .ck-enfants__ajouter[hidden] { display: none; }
.ck-enfants.est-plusieurs .ck-enfant { padding: 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: var(--ck-voile); }
.ck-enfant__titre { float: left; width: 100%; margin: 0 0 4px; padding: 0; color: #fff; font-size: 18px; font-weight: 700; }
.ck-enfant__retirer {
  align-self: flex-end; min-height: 44px; padding: 0 14px; border: 1px solid var(--ck-bord-actif); border-radius: 8px;
  background: transparent; color: var(--wp--preset--color--text); font: inherit; font-size: 14px; cursor: pointer;
}
.ck-enfant__retirer:hover { border-color: #ff8a7d; color: #ff8a7d; }
.ck-enfant__retirer:focus-visible { outline: 3px solid var(--wp--preset--color--cyan); outline-offset: 2px; }
.ck-enfants__ajouter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0; }
.ck-recap__etat { color: var(--ck-attenue); font-size: 14px; }
.ck-recap--plusieurs > div { align-items: flex-start; }
/* `.ck-bouton--fantome` est écrit pour un lien : un vrai bouton gardait le fond gris du navigateur. */
.ck-enfants__ajouter .ck-bouton { background: transparent; cursor: pointer; }
.ck-enfants__ajouter .ck-bouton:hover { border-color: var(--wp--preset--color--cyan); color: var(--wp--preset--color--cyan); }

/* Date de naissance + semaine / créneau : l'un sous l'autre dès que la CARTE est
   étroite (2026-10-31). ⚠️ Pas la largeur de l'écran : le formulaire d'un cours est
   une colonne étroite même sur un ordinateur (capture de David, Aqua Cool Kids). La
   date n'a qu'un tiers de la rangée : sous ~600 px, « Date de naissance * » passait
   à la ligne et décalait le champ. */
.ck-enfant { container-type: inline-size; }
@container (max-width: 600px) {
  .ck-champs__rangee--naissance { flex-direction: column; gap: 14px; }
}
