/* Catalogue des formations (26/11/2026, pré-production) : proposition A de la toile https://claude.ai/artifact/69jBP8VSJYH2ySPG7LZ7Bu
   (catalogue en cartes, fiche aux trois actions) et premier écran de B (guide par profil). Couleurs et tailles du design
   system ; mêmes repères que les ateliers d'exception (public/hors-cursus.css). */
.ct { --ct-rouge: #8c3c39; --ct-rouge-fonce: #5e2624; --ct-or: #8a6638; --ct-or-action: #94703f; --ct-or-clair: #e4c9a6; --ct-encre: #000;
  --ct-texte: #3a3431; --ct-gris-t: #5c5550; --ct-discret: #736b66; --ct-beige: #f5f2ef; --ct-rose: #f6edec; --ct-trait: #e5e0db; --ct-trait-fort: #8c847e;
  --ct-ombre: 0 10px 30px rgba(58, 52, 49, .08); color: var(--ct-texte); font-size: 16px; line-height: 1.6; }
.ct h1, .ct h2, .ct h3 { color: var(--ct-encre); text-wrap: balance; }
.ct h1 { font-family: Buda, Georgia, serif; font-weight: 300; font-size: clamp(34px, 4.4vw, 48px); line-height: 1.08; }
.ct h2 { font-family: Buda, Georgia, serif; font-weight: 700; font-size: clamp(24px, 2.4vw, 28px); line-height: 1.2; color: var(--ct-rouge); }
.ct h3 { font-size: 18px; line-height: 24px; }
.ct-largeur { max-width: 1200px; margin: 0 auto; padding-left: clamp(16px, 4vw, 32px); padding-right: clamp(16px, 4vw, 32px); box-sizing: border-box; }
.ct-sur { font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ct-or); }
.ct-sur-clair { color: var(--ct-or-clair); }
.ct-gris { font-size: 14px; line-height: 1.5; color: var(--ct-gris-t); }
.ct-masque { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ct-chapeau { max-width: 680px; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; color: var(--ct-gris-t); }
.ct-prix { font-family: Buda, Georgia, serif; font-weight: 700; font-size: 28px; line-height: 1.15; color: var(--ct-encre); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ct-prix small { font-family: Inter, sans-serif; font-weight: 400; font-size: 15px; }
.ct-prix-grand { font-size: clamp(32px, 3.4vw, 40px); }
#content.cx-refonte .ct-retour { align-self: flex-start; font-size: 14px; color: var(--ct-gris-t); text-decoration: none; }
#content.cx-refonte .ct-retour:hover { color: var(--ct-rouge); text-decoration: underline; }

/* Boutons : survol du design system (règle H, public/refonte.css .rb). */
#content.cx-refonte .ct-bouton, #content.cx-refonte .ct-bouton-second, #content.cx-refonte .ct-bouton-or, #content.cx-refonte .ct-bouton-blanc {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 4px;
  font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; box-sizing: border-box; }
#content.cx-refonte .ct-bouton { --rb: #8c3c39; background: var(--rb); color: #fff; }
#content.cx-refonte .ct-bouton-second { --rb: #8c3c39; background: #fff; color: var(--ct-encre); box-shadow: inset 0 0 0 1px var(--ct-trait-fort); }
#content.cx-refonte .ct-bouton-or { --rb: #94703f; background: var(--rb); color: #fff; }
#content.cx-refonte .ct-bouton-blanc { --rb: #ffffff; background: var(--rb); color: var(--ct-rouge); }
#content.cx-refonte .ct-petit { min-height: 44px; padding: 0 16px; font-size: 15px; }
#content.cx-refonte .ct-bouton:disabled { opacity: .7; cursor: progress; }

/* Haut des pages */
.ct-haut { background: var(--ct-beige); }
.ct-haut-texte { display: flex; flex-direction: column; gap: 14px; padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(28px, 4vw, 40px); }
.ct-haut-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; }
.ct-filtres { display: flex; flex-wrap: wrap; gap: 8px; }
#content.cx-refonte .ct-filtres button { min-height: 44px; padding: 0 18px; border-radius: 4px; border: 1px solid var(--ct-trait-fort); background: #fff; color: var(--ct-encre); font-size: 15px; font-weight: 700; cursor: pointer; }
#content.cx-refonte .ct-filtres button[aria-pressed="true"] { border-color: var(--ct-rouge); background: var(--ct-rouge); color: #fff; }
#content.cx-refonte .ct-lien-guide { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }

/* Catalogue : les cartes */
.ct-liste { padding-top: 40px; padding-bottom: 24px; }
.ct-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
#content.cx-refonte .ct-cartes[data-discipline="Médecine chinoise"] .ct-carte:not([data-discipline="Médecine chinoise"]):not([data-discipline="*"]),
#content.cx-refonte .ct-cartes[data-discipline="Tui Na"] .ct-carte:not([data-discipline="Tui Na"]):not([data-discipline="*"]),
#content.cx-refonte .ct-cartes[data-discipline="Qigong"] .ct-carte:not([data-discipline="Qigong"]):not([data-discipline="*"]),
#content.cx-refonte .ct-cartes[data-discipline="Étude du Corps Humain"] .ct-carte:not([data-discipline="Étude du Corps Humain"]):not([data-discipline="*"]) { display: none; }
#content.cx-refonte .ct-carte { display: flex; flex-direction: column; min-width: 0; border-radius: 4px; overflow: hidden; background: #fff; box-shadow: var(--ct-ombre); color: var(--ct-encre); text-decoration: none; transition: box-shadow .18s ease, transform .18s ease; }
@media (hover: hover) { #content.cx-refonte .ct-carte:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.08); } }
.ct-carte img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ct-carte-corps { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.ct-carte-titre { font-size: 19px; line-height: 25px; font-weight: 700; }
.ct-infos { display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 20px; color: var(--ct-gris-t); }
.ct-infos > span { display: flex; align-items: center; gap: 8px; }
.ct-infos .cx-ph { color: #c59b6c; flex: none; }
.ct-carte-pied { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--ct-trait); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.ct-prix-bloc { display: flex; flex-direction: column; gap: 2px; }
.ct-voir { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ct-rouge); white-space: nowrap; }
#content.cx-refonte .ct-carte-autre { justify-content: center; gap: 14px; padding: 32px; background: var(--ct-beige); box-shadow: none; border: 2px dashed var(--ct-trait-fort); }
.ct-carte-autre > .cx-ph { color: var(--ct-rouge); }
.ct-note { margin-top: 24px; }
.ct-bas { padding-top: 24px; padding-bottom: 64px; }
.ct-encart { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 32px; border-radius: 4px; background: var(--ct-beige); }
.ct-encart > div { flex: 1 1 420px; display: flex; flex-direction: column; gap: 6px; }

/* Fiche */
.ct-bandeau { display: block; width: 100%; height: clamp(200px, 26vw, 360px); object-fit: cover; }
.ct-entete { position: relative; margin-top: clamp(-120px, -8vw, -60px); background: #fff; box-shadow: var(--ct-ombre); border-radius: 4px; padding: clamp(22px, 3vw, 36px) clamp(20px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 18px; }
.ct-entete-ligne { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-end; justify-content: space-between; }
.ct-entete-texte { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.ct-entete-prix { flex: 0 0 auto; display: flex; flex-direction: column; gap: 2px; align-items: flex-end; text-align: right; }
.ct-faits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px 24px; margin: 0; padding-top: 18px; border-top: 1px solid var(--ct-trait); }
.ct-faits > div { display: flex; gap: 12px; align-items: flex-start; }
.ct-faits .cx-ph { color: #c59b6c; flex: none; margin-top: 2px; }
.ct-faits dt { font-size: 13px; color: var(--ct-discret); }
.ct-faits dd { margin: 0; font-weight: 700; font-size: 15px; line-height: 22px; color: var(--ct-encre); }
.ct-bloc { padding-top: clamp(40px, 5vw, 64px); display: flex; flex-direction: column; gap: 18px; }
.ct-portes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.ct-porte { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 4px; background: var(--ct-beige); }
.ct-porte p { flex: 1; color: var(--ct-gris-t); }
.ct-porte-forte { background: #fff; box-shadow: inset 0 0 0 2px var(--ct-rouge); }
.ct-rond { width: 44px; height: 44px; border-radius: 999px; background: #fff; color: var(--ct-rouge); display: inline-flex; align-items: center; justify-content: center; }
.ct-rond-plein { background: var(--ct-rouge); color: #fff; }
/* Trois cartes « Votre prochaine étape » (2/12/2026, maquette A https://claude.ai/artifact/41DPPm7K8bHGE2XqchSskq). */
.ct-pour { font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ct-or); }
.ct-porte .ct-porte-court { flex: none; }
.ct-porte-liste { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.45; color: var(--ct-texte); }
.ct-porte-liste li { display: flex; gap: 8px; align-items: flex-start; }
.ct-porte-liste .cx-ph { color: var(--ct-rouge); flex: none; margin-top: 3px; }
.ct-porte-boutons { display: flex; flex-direction: column; gap: 10px; }
/* Boutons alignés (2/12/2026, maquette A) : le bloc des boutons tombe en bas de chaque carte, une phrase courte d'une ligne dessous. */
.ct-porte-sous { min-height: 21px; font-size: 14px; line-height: 21px; color: var(--ct-gris-t); text-align: center; }
.ct-porte-sous a { color: var(--ct-rouge); font-weight: 700; }
/* La session choisie dans le formulaire « Être rappelé » (composants/RappelSession.tsx). */
.ct-session { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 1px var(--ct-or); }
.ct-session > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; color: var(--ct-encre); }
#content.cx-refonte .ct-session-retirer { flex: none; min-height: 44px; padding: 0 6px; border: 0; background: none; font: inherit; font-size: 14px; color: var(--ct-gris-t); text-decoration: underline; cursor: pointer; }
#content.cx-refonte .ct-porte-boutons .rb { width: 100%; }
.ct-parcours { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.ct-un-parcours { display: flex; flex-direction: column; gap: 12px; padding: 26px; border: 1px solid var(--ct-trait); border-radius: 4px; }
.ct-un-parcours-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; }
.ct-un-parcours > p { color: var(--ct-gris-t); }
.ct-infos-liste { margin: 0; display: flex; flex-direction: column; }
.ct-infos-liste > div { display: grid; grid-template-columns: minmax(96px, 34%) 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--ct-trait); font-size: 15px; line-height: 22px; }
.ct-infos-liste dt { color: var(--ct-gris-t); }
.ct-infos-liste dd { margin: 0; color: var(--ct-encre); }
.ct-offre { padding: 12px 14px; border-radius: 4px; background: #e9f3ec; color: #2f6b46; font-size: 14px; line-height: 20px; font-weight: 700; }
.ct-a-relire { padding: 10px 14px; border-radius: 4px; background: #fbf2df; color: #8a5700; font-size: 14px; font-weight: 700; }
.ct-rentrees { display: flex; flex-direction: column; border: 1px solid var(--ct-trait); border-radius: 4px; }
.ct-rentree { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; align-items: center; gap: 12px 20px; padding: 14px 20px; }
.ct-rentree + .ct-rentree { border-top: 1px solid var(--ct-trait); }
.ct-rentree > span:first-child { display: flex; flex-direction: column; }
.ct-rentree-date { font-weight: 700; color: var(--ct-encre); }
.ct-rentrees-pre { font-size: 15px; color: var(--ct-gris-t); }
#content.cx-refonte .ct-rentrees-pre a { color: #8c3c39; font-weight: 700; }
.ct-programme { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px 48px; align-items: start; }
.ct-programme > div { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ct-volets details { border-top: 1px solid var(--ct-trait); }
.ct-volets details:last-child { border-bottom: 1px solid var(--ct-trait); }
.ct-volets summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; cursor: pointer; font-weight: 700; color: var(--ct-encre); list-style: none; }
.ct-volets summary::-webkit-details-marker { display: none; }
.ct-volets summary small { font-weight: 400; font-size: 14px; color: var(--ct-discret); }
.ct-volets details[open] summary .cx-ph { transform: rotate(180deg); }
.ct-volets ul { margin: 0 0 16px; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; color: var(--ct-gris-t); }
.ct-pratique { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 4px; background: var(--ct-beige); }
.ct-rappel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px 48px; align-items: start; scroll-margin-top: 90px; }
.ct-rappel-texte { display: flex; flex-direction: column; gap: 12px; }
.ct-formulaire { display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 3vw, 32px); border-radius: 4px; background: var(--ct-rose); }
.ct-formulaire h2 { margin-top: 4px; }
.ct-champs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px 16px; }
.ct-formulaire label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 15px; color: var(--ct-encre); }
#content.cx-refonte .ct-formulaire :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { min-height: 48px; padding: 10px 12px; border: 1px solid var(--ct-trait-fort); border-radius: 4px; background: #fff; font-size: 16px; font-weight: 400; color: var(--ct-encre); box-sizing: border-box; width: 100%; }
#content.cx-refonte .ct-formulaire textarea { min-height: 96px; resize: vertical; }
.ct-formulaire .ct-case { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; min-height: 44px; }
.ct-case input { width: 20px; height: 20px; margin-top: 2px; accent-color: #8c3c39; flex: none; }
.ct-choix { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ct-choix legend { margin-bottom: 8px; font-weight: 700; font-size: 15px; color: var(--ct-encre); }
.ct-choix label { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; min-height: 44px; }
.ct-choix input { width: 20px; height: 20px; accent-color: #8c3c39; }
.ct-piege { position: absolute; left: -9999px; }
.ct-formulaire > .rb { align-self: flex-start; }
.ct-ailleurs { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin: clamp(40px, 5vw, 64px) 0; padding: clamp(24px, 3vw, 36px); border-radius: 4px; background: var(--ct-rouge); color: #fff; }
.ct-ailleurs > div { flex: 1 1 480px; display: flex; flex-direction: column; gap: 6px; }
.ct-ailleurs h2 { color: #fff; }

/* Guide par profil */
.ct-haut-rouge { background: var(--ct-rouge); }
.ct-haut-rouge h1 { color: #fff; }
.ct-haut-rouge .ct-sur { color: var(--ct-or-clair); }
#content.cx-refonte .ct-haut-rouge .ct-retour { color: #fff; }
.ct-guide { padding-bottom: 64px; }
.ct-profils { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; margin-top: -32px; }
#content.cx-refonte .ct-profils button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 72px; padding: 14px 20px; border-radius: 4px; border: 2px solid var(--ct-trait); background: #fff; box-shadow: var(--ct-ombre); color: var(--ct-encre); text-align: left; cursor: pointer; }
#content.cx-refonte .ct-profils button b { font-size: 17px; }
#content.cx-refonte .ct-profils button span { font-size: 14px; color: var(--ct-gris-t); }
#content.cx-refonte .ct-profils button[aria-pressed="true"] { border-color: var(--ct-rouge); background: var(--ct-rose); }
.ct-guide-corps { display: flex; flex-direction: column; gap: 16px; padding-top: 32px; }
.ct-guide-tete { display: flex; flex-direction: column; gap: 6px; }
.ct-tableau { overflow-x: auto; border: 1px solid var(--ct-trait); border-radius: 4px; }
.ct-tableau table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; line-height: 22px; }
/* Le tableau du site (bordures et fonds des pages Elementor) ne s'applique pas ici. */
#content.cx-refonte .ct-tableau :where(table, tr, th, td) { border: 0; background: transparent; }
#content.cx-refonte .ct-tableau thead th { padding: 12px 18px; background: var(--ct-beige); text-align: left; font-size: 11px; line-height: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--ct-gris-t); }
#content.cx-refonte .ct-tableau tbody th, #content.cx-refonte .ct-tableau td { padding: 16px 18px; border-top: 1px solid var(--ct-trait); text-align: left; vertical-align: middle; font-weight: 400; }
.ct-tableau tbody th a { font-weight: 700; color: var(--ct-encre); text-decoration: none; }
.ct-tableau tbody span { display: block; font-size: 13px; color: var(--ct-discret); }
.ct-tableau .ct-droite { text-align: right; }
.ct-encart-petit { padding: 14px 18px; border-radius: 4px; background: var(--ct-beige); }

/* Rejoindre en cours de cursus */
.ct-rejoindre { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px 48px; align-items: start; padding-top: 40px; padding-bottom: 64px; }
.ct-etapes ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.ct-etapes li { display: flex; gap: 14px; }
.ct-etapes li > span:first-child { flex: 0 0 32px; height: 32px; border-radius: 999px; background: #c59b6c; color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.ct-etapes li > span:last-child { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--ct-gris-t); }
.ct-etapes li b { font-size: 16px; color: var(--ct-encre); }

/* Téléphone : le tableau du guide en fiches empilées */
@media (max-width: 699px) {
  .ct-tableau { border: 0; overflow: visible; }
  .ct-tableau table { min-width: 0; }
  .ct-tableau thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  #content.cx-refonte .ct-tableau tr { display: flex; flex-direction: column; margin-bottom: 14px; padding: 16px; border: 1px solid var(--ct-trait); border-radius: 4px; }
  #content.cx-refonte .ct-tableau tbody th, #content.cx-refonte .ct-tableau td { padding: 6px 0; border-top: 0; }
  .ct-tableau td[data-l] { display: grid; grid-template-columns: 84px 1fr; gap: 0 12px; text-align: left; }
  .ct-tableau td[data-l]::before { content: attr(data-l); grid-row: span 2; font-size: 13px; color: var(--ct-discret); }
  .ct-tableau .ct-droite { text-align: left; }
  .ct-tableau td:last-child { padding-top: 10px; }
}

/* Téléphone : barre fixe des deux actions sous la fiche */
.ct-barre { display: none; }
/* Une colonne de grille ne s'élargit jamais au-delà de l'écran (formulaires sur téléphone). */
.ct-programme > *, .ct-rappel > *, .ct-rejoindre > * { min-width: 0; }
@media (max-width: 899px) {
  .ct-programme, .ct-rappel, .ct-rejoindre { grid-template-columns: 1fr; }
  #content.cx-refonte :is(.ct-bouton, .ct-bouton-second, .ct-bouton-or, .ct-bouton-blanc) { white-space: normal; text-align: center; }
  .ct-entete-prix { align-items: flex-start; text-align: left; }
  .ct-rentree { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  /* Les prochaines rentrées juste sous l'en-tête (4/12/2026, demande de Nicolas). */
  .ct-fiche > .ct-largeur { display: flex; flex-direction: column; }
  .ct-fiche > .ct-largeur > .ct-entete { order: -2; }
  .ct-fiche > .ct-largeur > .ct-bloc-rentrees { order: -1; }
  .ct-rentree > a { grid-column: 1 / -1; }
  .ct-fiche { padding-bottom: 84px; }
  .ct-barre { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: #fff; box-shadow: 0 -8px 24px rgba(0,0,0,.12); }
  #content.cx-refonte .ct-barre a { min-height: 48px; padding: 0 12px; }
  /* Le bouton rond « retour en haut » du site passe au-dessus de la barre (comme sur les pages de campagne). */
  body:has(.ct-barre) .cx-haut { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); right: 16px; }
}

/* Préinscription, merci et suivi (26/11/2026) */
.ct-etroit { max-width: 820px; padding-top: 32px; padding-bottom: 64px; }
.ct-etapes-ligne { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; font-size: 13px; font-weight: 700; color: var(--ct-gris-t); }
.ct-etapes-ligne li { padding-top: 8px; border-top: 4px solid var(--ct-trait); }
.ct-etapes-ligne li:first-child { border-top-color: var(--ct-rouge); color: var(--ct-rouge); }
.ct-choix-cartes { flex-direction: column; gap: 8px; }
.ct-choix-cartes label { align-items: flex-start; padding: 12px 14px; border: 1px solid var(--ct-trait-fort); border-radius: 4px; background: #fff; }
.ct-choix-cartes label.ct-choisi { border: 2px solid var(--ct-rouge); padding: 11px 13px; }
.ct-choix-cartes label > span { display: flex; flex-direction: column; gap: 2px; }
.ct-choix-cartes label > span > span { font-weight: 400; font-size: 14px; color: var(--ct-gris-t); }
.ct-choix-cartes input { margin-top: 3px; }
.ct-recap { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 4px; background: #fff; }
.ct-recap-ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ct-recap > .rb { align-self: stretch; }
.ct-merci { gap: 12px; }
.ct-page-merci { padding-top: 48px; }
.ct-page-suivi { padding-top: 32px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 16px; }
.ct-suivi, .ct-suivi-connexion { display: flex; flex-direction: column; gap: 16px; }
.ct-suivi-connexion { max-width: 420px; }
.ct-suivi-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.ct-pastille { display: inline-flex; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.ct-p-ok { background: #e9f3ec; color: #2f6b46; }
.ct-p-info { background: #eef3f6; color: #2f5566; }
.ct-p-attention { background: #fbf2df; color: #8a5700; }
.ct-p-neutre { background: var(--ct-beige); color: var(--ct-gris-t); }

/* Préinscription gratuite (2/12/2026, maquette A https://claude.ai/artifact/41DPPm7K8bHGE2XqchSskq) : un formulaire blanc
   sur fond beige, une colonne « Comment ça se passe » à droite (dessous sur téléphone). */
.ct-pre-fond { background: var(--ct-beige); padding-bottom: 64px; }
.ct-pre-grille { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; padding-top: 8px; }
.ct-pre-carte { background: #fff; box-shadow: var(--ct-ombre); gap: 22px; }
.ct-pre-cote { display: flex; flex-direction: column; gap: 16px; }
.ct-pre-bloc { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 4px; background: #fff; }
.ct .ct-pre-bloc h2 { font-family: Inter, sans-serif; font-weight: 700; font-size: 18px; line-height: 24px; color: var(--ct-encre); }
.ct-pre-bloc ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.5; }
#content.cx-refonte .ct-pre-bloc .rb { width: 100%; }
.ct-pre-docs { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 6px; }
.ct-pre-docs legend { font-weight: 700; font-size: 16px; color: var(--ct-encre); margin-bottom: 2px; }
.ct-pre-docs > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.ct-formulaire .ct-pre-docs label { flex-direction: row; align-items: flex-start; gap: 10px; padding: 14px; border: 1px solid var(--ct-trait-fort); border-radius: 4px; background: #fff; cursor: pointer; }
.ct-formulaire .ct-pre-docs label.ct-choisi { border: 2px solid var(--ct-rouge); padding: 13px; background: var(--ct-rose); }
.ct-formulaire .ct-pre-docs label.ct-pre-indispo { cursor: default; background: var(--ct-beige); border-style: dashed; }
.ct-pre-docs label > span { display: flex; flex-direction: column; gap: 4px; }
.ct-pre-docs label > span > span { font-weight: 400; font-size: 13px; line-height: 1.4; color: var(--ct-gris-t); }
.ct-pre-docs input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: #8c3c39; flex: none; }
.ct-pre-colonne { flex-direction: column; gap: 2px; }
.ct-formulaire .ct-choix label.ct-pre-retrait { flex-direction: column; align-items: stretch; gap: 6px; margin: 0 0 8px 28px; font-size: 14px; font-weight: 700; }
.ct-pre-carte .ct-case, .ct-pre-colonne label { line-height: 1.45; }
.ct-pre-aide { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 4px; background: var(--ct-beige); }
.ct .ct-pre-aide h3 { font-size: 16px; line-height: 22px; }
.ct-pre-aide .ct-case b { color: var(--ct-encre); }
.ct-pre-aide .ct-case > span { line-height: 1.5; }
.ct-pre-suite { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 14px 16px; border-radius: 4px; background: #e9f3ec; color: #1f4a30; font-size: 15px; line-height: 1.45; }
.ct-pre-suite b { display: block; }
.ct-pre-suite .cx-ph { flex: none; margin-top: 2px; }
.ct-pre-suite-48 { background: #fbf2df; color: #5c3b00; }
.ct-pre-rond { width: 56px; height: 56px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: #e9f3ec; color: #2f6b46; }
.ct-pre-rond-48 { background: #fbf2df; color: #8a5700; }
#content.cx-refonte .ct-pre-carte > .rb { align-self: stretch; }
@media (max-width: 899px) {
  .ct-pre-grille { grid-template-columns: 1fr; gap: 20px; }
  .ct-pre-docs > div { grid-template-columns: 1fr; }
}

/* Ateliers d'exception mis en avant (4/12/2026, proposition B de la toile https://claude.ai/artifact/8WMtRwdd5omTLbPkLo3ajD) :
   filtre noir à étincelle or, carte vedette noire dans la grille (deux colonnes à côté de l'ECH sur ordinateur, après le
   Tui Na sur téléphone), « Vous suivez déjà un cursus ailleurs ? » en bandeau sous la grille. */
#content.cx-refonte .ct-filtres button.ct-filtre-ateliers { display: inline-flex; align-items: center; gap: 8px; border-color: #000; background: #000; color: #fff; }
.ct-filtre-ateliers .cx-ph { color: #c59b6c; }
#content.cx-refonte .ct-filtres button.ct-filtre-ateliers[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #c59b6c; }
#content.cx-refonte .ct-cartes[data-discipline="Ateliers d’exception"] .ct-carte:not(.ct-vedette) { display: none; }
#content.cx-refonte .ct-cartes:not([data-discipline=""]):not([data-discipline="Ateliers d’exception"]) .ct-vedette { display: none; }
#content.cx-refonte .ct-vedette { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); background: #000; color: #f5f1ed; transform: none; }
#content.cx-refonte .ct-vedette-photos { position: relative; display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 2px; }
#content.cx-refonte .ct-vedette-photos picture { position: relative; display: block; min-height: 0; overflow: hidden; }
#content.cx-refonte .ct-vedette-photos img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.ct-vedette-corps { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 3vw, 32px); min-width: 0; }
.ct-vedette .ct-sur { color: #c59b6c; }
#content.cx-refonte .ct-vedette h2 { margin: 0; font-weight: 300; font-size: clamp(30px, 3.2vw, 40px); line-height: 1.1; color: #fff; }
.ct-vedette-corps > p { margin: 0; font-size: 15px; line-height: 1.6; color: #bdb4ad; }
.ct-vedette-liste { list-style: none; margin: 0; padding: 0; }
#content.cx-refonte .ct-vedette-liste a { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid #2e2926; color: #f5f1ed; text-decoration: none; }
#content.cx-refonte .ct-vedette-liste a:hover .ct-vedette-titre, #content.cx-refonte .ct-vedette-liste a:focus-visible .ct-vedette-titre { text-decoration: underline; text-underline-offset: 3px; }
#content.cx-refonte .ct-vedette-liste a:focus-visible { outline: 3px solid #c59b6c; outline-offset: 2px; }
.ct-vedette-date { font-size: 14px; font-weight: 700; color: #c59b6c; }
.ct-vedette-titre { display: flex; flex-direction: column; font-size: 15px; line-height: 1.4; }
.ct-vedette-titre small { font-size: 13px; color: #958c85; }
.ct-vedette-prix { font-family: Buda, Georgia, serif; font-weight: 700; font-size: 20px; line-height: 1.2; white-space: nowrap; font-variant-numeric: tabular-nums; }
#content.cx-refonte .ct-bouton-vedette { --rb: #c59b6c; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 4px;
  background: var(--rb); color: #000; font-size: 16px; font-weight: 700; text-decoration: none; }
@media (hover: hover) { #content.cx-refonte .ct-bouton-vedette:hover { background: transparent; color: #c59b6c; box-shadow: inset 0 0 0 2px #c59b6c; transform: translateY(-2px); } }
#content.cx-refonte .ct-bouton-vedette:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
#content.cx-refonte a.ct-autre { text-decoration: none; }
#content.cx-refonte a.ct-autre:hover b { text-decoration: underline; text-underline-offset: 3px; }
.ct-autre { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; text-decoration: none; color: var(--ct-texte); }
.ct-autre > .cx-ph { color: var(--ct-rouge); flex: none; }
.ct-autre > span:nth-child(2) { flex: 1 1 360px; display: flex; flex-direction: column; gap: 2px; }
.ct-autre b { color: var(--ct-encre); }
@media (min-width: 740px) { .ct-vedette { grid-column: span 2; } }
@media (min-width: 1072px) { .ct-vedette { order: 1; } }
@media (max-width: 739px) {
  #content.cx-refonte .ct-vedette { grid-template-columns: minmax(0, 1fr); }
  #content.cx-refonte .ct-vedette-photos { grid-template-rows: none; }
  #content.cx-refonte .ct-vedette-photos picture:nth-child(2) { display: none; }
  #content.cx-refonte .ct-vedette-photos img { position: static; aspect-ratio: 3 / 2; height: auto; }
  #content.cx-refonte .ct-vedette-liste a { grid-template-columns: minmax(0, 1fr) auto; }
  .ct-vedette-date { grid-column: 1; }
  .ct-vedette-prix { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
  .ct-vedette-titre { grid-column: 1; }
  #content.cx-refonte .ct-bouton-vedette { align-self: stretch; justify-content: center; }
  .ct-filtres button { order: 2; }
  .ct-filtres button:first-child { order: 0; }
  #content.cx-refonte .ct-filtres button.ct-filtre-ateliers { order: 1; }
}
@media (hover: hover) { #content.cx-refonte .ct-vedette:hover { transform: none; } }
