/* =========================================================
   Sections ajoutées depuis l'administration (gabarits de admin-sections.php).
   Ce fichier ne contient que ce qui manquait à css/style.css : les composants du site
   (.s, .s__head, .display, .lead, .btn, .faq, .cta, .refs, .duo__card, .video, .num) sont réutilisés tels quels.
   Tout ce qui est nouveau est préfixé sx-. Mobile d'abord, aucune largeur fixe, aucun mot coupé.
   ========================================================= */

/* ---------- Tons : chaque section ajoutée porte .sx et un fond .s--ink / .s--moss / .s--paper / .s--gold ---------- */
.sx {
  --sx-fg: var(--text); --sx-dim: var(--text-dim); --sx-line: var(--line);
  --sx-card: rgba(244, 241, 232, .05); --sx-accent: var(--gold);
  --sx-btn-bg: var(--gold); --sx-btn-fg: var(--ink);
  color: var(--sx-fg);
}
.sx.s--ink { background: var(--ink); }
.sx.s--paper, .sx.s--gold {
  --sx-fg: var(--ink); --sx-dim: var(--ink-dim); --sx-line: var(--line-ink);
  --sx-card: rgba(12, 17, 13, .06); --sx-accent: var(--gold-3);
  --sx-btn-bg: var(--ink); --sx-btn-fg: var(--text);
}
.sx.s--gold { --sx-accent: var(--ink); --sx-dim: rgba(12, 17, 13, .78); }
/* Deux sections ajoutées de même fond qui se suivent : un seul souffle entre elles, pas deux */
.sx.s--ink + .sx.s--ink, .sx.s--moss + .sx.s--moss, .sx.s--paper + .sx.s--paper, .sx.s--gold + .sx.s--gold:not(.cta) { padding-top: 0; }

/* Titres saisis par les utilisateurs : de 2 à 90 caractères, un mot long ne déborde jamais */
.sx-h, .sx-full__title, .sx-event__title, .sx-cta h2 { overflow-wrap: break-word; text-wrap: balance; }
/* Un mot exceptionnellement long (16 lettres et plus) se coupe proprement, avec trait d'union, plutôt que de déborder */
@supports (hyphenate-limit-chars: 16 6 6) { .sx h2, .sx h3 { hyphens: auto; hyphenate-limit-chars: 16 6 6; } }
/* Aucune colonne ne peut s'élargir au-delà de l'écran à cause d'un mot ou d'un libellé long */
.sx-it__grid, .sx-it__txt, .sx-full__in, .sx-ed__cols, .sx-cards__grid, .sx-steps__list, .sx-event__card, .sx-event__body, .sx-quote__grid, .sx-quote__body { grid-template-columns: minmax(0, 1fr); }
.sx .faq > *, .sx .cta__grid > *, .sx .s__head > * { min-width: 0; }
.sx-full__in > *, .sx .btns, .sx .btn { min-width: 0; max-width: 100%; }
.sx .sx-h { font-size: min(var(--fs-h2), 8.6cqi); max-width: 22ch; }
/* Titre libre sur plusieurs lignes : l'interligne laisse la place au surlignage du mot accentué */
.sx h2.display { line-height: 1.02; }
.sx h2 .gold, .sx h2 .gold-ink { padding-block: 0; }
/* Section placée tout en haut de la page : elle passe sous la navigation fixe */
main > .sx.s:first-child { padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 90px)); }
body:has(main > .sx.s--paper:first-child, main > .sx.s--gold:first-child) .nav:not(.is-scrolled) .nav__bar { background: rgba(12, 17, 13, .86); border-color: var(--line); }
.sx .s__head { margin-bottom: clamp(30px, 4.6vw, 64px); }
.sx .s__head > *, .sx-ed__head, .sx-it__txt, .sx-quote__body, .sx-event__body, .sx-full__in { container-type: inline-size; min-width: 0; }
/* Sur fond jaune, le surlignage jaune ne se verrait pas : mot accentué en réserve sombre */
.sx.s--gold h2 .gold, .sx.s--gold h2 .gold-ink { background: var(--ink); color: var(--gold) !important; }
.sx .btn.sx-btn { --bg: var(--sx-btn-bg); --fg: var(--sx-btn-fg); --bd: var(--sx-btn-bg); }
.sx.s--gold .btn--ghost, .sx.s--paper .btn--ghost { --fg: var(--ink); --bd: rgba(12, 17, 13, .32); }
.sx .btns .btn { white-space: normal; }
.sx-foot { margin-top: clamp(28px, 4vw, 48px); }
.sx img { width: 100%; height: 100%; object-fit: cover; }
.sx figure { margin: 0; }

/* ---------- Image et texte ---------- */
.sx-it__grid { display: grid; gap: 30px; }
.sx-it__media { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--sx-card); }
.sx-it__txt { display: grid; gap: 20px; align-content: center; }
.sx-it__txt .lead { max-width: 46ch; color: var(--sx-dim); }
.sx-points { list-style: none; margin: 4px 0 0; padding: 0; display: grid; border-top: 1px solid var(--sx-line); }
.sx-points li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--sx-line); font-weight: 650; line-height: 1.35; }
.sx-points li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 1.5px var(--ink); }
.is-points-without .sx-points { display: none; }
.sx-it__txt .btns { margin-top: 6px; }
@media (min-width: 861px) {
  .sx-it__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
  .sx-it__media { aspect-ratio: 5 / 6; max-height: 78vh; width: 100%; }
  .sx-it.is-right .sx-it__media { order: 2; }
}

/* ---------- Grande photo et phrase forte ---------- */
.sx-full { position: relative; display: grid; align-items: end; min-height: clamp(480px, 88svh, 860px); padding-block: clamp(56px, 8vw, 110px); overflow: hidden; isolation: isolate; background: var(--ink); }
.sx-full__bg { position: absolute; inset: -12% 0; z-index: -2; }
.sx-full::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 17, 13, .5) 0%, rgba(12, 17, 13, .12) 34%, rgba(12, 17, 13, .9) 100%); }
.sx-full__in { display: grid; gap: 20px; justify-items: start; }
.sx-full__title { font-size: min(clamp(2.2rem, 9vw, 6.4rem), 10.4cqi); max-width: 16ch; }
.sx-full .lead { color: rgba(244, 241, 232, .9); max-width: 44ch; }
.sx-full.is-center { align-items: center; }
.sx-full.is-center::before { background: rgba(12, 17, 13, .62); }
.sx-full.is-center .sx-full__in { justify-items: center; text-align: center; }
.sx-full.is-center .sx-full__title { max-width: 18ch; }
.sx-full.is-center .btns { justify-content: center; width: 100%; }
@media (min-width: 600px) { .sx-full .btns .btn { width: auto; } }

/* ---------- Texte éditorial ---------- */
.sx-ed__head { margin-bottom: clamp(26px, 4vw, 52px); }
.sx .sx-ed__head .sx-h { font-size: min(var(--fs-h2), 9.2cqi); max-width: 20ch; }
.sx-ed__cols { display: grid; gap: 20px; font-size: var(--fs-lead); line-height: 1.6; color: var(--sx-dim); }
.sx-ed__cols p { max-width: 62ch; }
.sx-ed__cols p:first-child { color: var(--sx-fg); }
@media (min-width: 861px) {
  .sx-ed__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); padding-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--sx-line); }
  .sx-ed__cols p:only-child { grid-column: 1 / -1; font-size: clamp(1.2rem, 1.6vw, 1.5rem); }
}

/* ---------- Vidéo ou grande image ---------- */
/* Lecteur vidéo commun aux sections et aux articles : façade YouTube (affiche, grand bouton jaune, titre ;
   l'iframe youtube-nocookie n'est chargée qu'au clic par js/video.js) et lecteur <video> natif.
   Le ratio est réservé d'avance : aucun saut de mise en page au chargement ni au lancement. */
.sx-player { position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; background: #000; box-shadow: 0 0 0 1px var(--line); }
.is-ratio-vertical .sx-player, .sx-player.is-vertical { aspect-ratio: 9 / 16; }
.sx-player > button { position: absolute; inset: 0; display: block; width: 100%; height: 100%; cursor: pointer; color: var(--text); text-align: left; }
.sx-player img, .prose figure.video .sx-player img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; object-fit: cover; opacity: .8; transition: opacity .25s var(--ease-out), transform .8s var(--ease-out); }
.sx-player__play { position: absolute; left: 50%; top: 50%; width: clamp(68px, 9vw, 104px); aspect-ratio: 1; margin: 0; translate: -50% -50%; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230c110d'%3E%3Cpath d='M8.5 5.5l10 6.5-10 6.5z'/%3E%3C/svg%3E") center / 46% no-repeat; box-shadow: 0 18px 44px rgba(0, 0, 0, .45); transition: scale .2s var(--ease-out), background-color .2s var(--ease-out); }
.sx-player__title { position: absolute; inset: auto 0 0 0; padding: 48px clamp(16px, 2.4vw, 28px) clamp(14px, 2vw, 22px); background: linear-gradient(0deg, rgba(12, 17, 13, .88), rgba(12, 17, 13, 0)); font-weight: 750; font-size: clamp(.95rem, 1.4vw, 1.15rem); line-height: 1.25; overflow-wrap: break-word; }
.sx-player__title:empty { display: none; }
.sx-player > button:focus-visible { outline: 3px solid var(--gold); outline-offset: -6px; border-radius: var(--radius-lg); }
.sx-player > button:active .sx-player__play { scale: .95; }
@media (hover: hover) { .sx-player > button:hover img { opacity: .95; transform: scale(1.02); } .sx-player > button:hover .sx-player__play { scale: 1.06; background-color: #ffe066; } }
.sx-player iframe, .sx-player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sx-player video { object-fit: contain; background: #000; accent-color: var(--gold); }
.sx-player video:focus-visible, .sx-player iframe:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
/* Mode édition seulement, champ vidéo vide : emplacement cliquable « Ajouter une vidéo » (jamais rendu en public) */
.sx-player[data-e-empty] { aspect-ratio: auto; min-height: 120px; background: none; box-shadow: none; }

/* Vidéo ou grande image : la vidéo si elle existe, sinon l'image */
.sx-media__img { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); background: var(--sx-card); }
.sx-media__frame:has(.sx-player) > .sx-media__img { display: none; }
.sx-media__frame:has(.sx-player[data-e-empty]) > .sx-media__img { display: block; }
.sx-media__frame > .sx-player[data-e-empty] { margin-bottom: 12px; }
.sx-media.is-ratio-vertical .sx-media__frame:has(.sx-player) { width: min(100%, 400px, calc(82svh * 9 / 16)); margin-inline: auto; }
.sx-media.is-ratio-vertical .sx-media__cap { text-align: center; margin-inline: auto; }
.sx-media__cap { margin-top: 14px; max-width: 70ch; font-size: .95rem; color: var(--sx-dim); }
@media (min-width: 600px) { .sx-media__img { aspect-ratio: 16 / 9; } }

/* Vidéo et texte */
.sx-vt__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
.sx-vt__media:empty { display: none; }
.sx-vt__txt { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-content: center; container-type: inline-size; min-width: 0; }
.sx-vt__txt .lead { max-width: 46ch; color: var(--sx-dim); }
.sx-vt.is-ratio-vertical .sx-vt__media { width: min(100%, 360px, calc(82svh * 9 / 16)); margin-inline: auto; }
@media (min-width: 861px) {
  .sx-vt__grid:has(.sx-player) { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
  .sx-vt.is-ratio-vertical .sx-vt__grid:has(.sx-player) { grid-template-columns: minmax(0, .62fr) minmax(0, 1fr); }
  .sx-vt.is-right .sx-vt__media { order: 2; }
}

/* Vidéos dans les articles du blog (structures de SPEC « Vidéos ») : figure.video[data-yt] et figure.video > video */
figure.video > video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); background: #000; object-fit: contain; accent-color: var(--gold); }
figure.video[data-yt] > img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
figure.video .sx-player { border-radius: var(--radius); }
figure.video.is-vertical { width: min(100%, 380px); margin-inline: auto; }
figure.video.is-vertical > video { aspect-ratio: 9 / 16; }

/* ---------- Galerie : mosaïque qui se remplit toujours, de 3 à 8 photos ---------- */
.sx-gal__grid { display: flex; flex-wrap: wrap; gap: 8px; }
.sx-gal__grid figure { flex: 1 1 calc(50% - 8px); min-width: 0; height: clamp(150px, 42vw, 300px); border-radius: 14px; overflow: hidden; background: var(--sx-card); }
.sx-gal__grid figure:first-child { flex-basis: 100%; height: clamp(220px, 60vw, 420px); }
.sx-gal__grid img { transition: transform .8s var(--ease-out); }
@media (hover: hover) { .sx-gal__grid figure:hover img { transform: scale(1.05); } }
@media (min-width: 761px) {
  .sx-gal__grid { gap: 12px; }
  .sx-gal__grid figure { flex-basis: calc(25% - 12px); height: clamp(220px, 24vw, 380px); border-radius: var(--radius); }
  .sx-gal__grid figure:first-child { flex-basis: calc(50% - 12px); height: clamp(220px, 24vw, 380px); }
  .sx-gal__grid figure:nth-child(6) { flex-basis: calc(40% - 12px); }
}

/* ---------- Cartes avec photo (carte .duo__card du site, de 2 à 4) ---------- */
.sx-cards__grid { display: grid; gap: 12px; }
.sx-cards .duo__card { min-height: clamp(340px, 96vw, 440px); color: var(--text); }
.sx-cards .duo__card::before { background: linear-gradient(0deg, rgba(12, 17, 13, .95), rgba(12, 17, 13, .35) 55%, rgba(12, 17, 13, 0) 80%); }
.sx-cards .duo__card h3 { overflow-wrap: break-word; font-size: min(clamp(1.5rem, 6.6vw, 2.4rem), 8.6cqi); }
.sx-n { font-size: var(--fs-small); font-weight: 700; color: var(--gold); }
@media (min-width: 600px) { .sx-cards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sx-cards__grid > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1081px) {
  .sx-cards__grid { gap: 14px; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); grid-template-columns: none; }
  .sx-cards__grid > :last-child:nth-child(odd) { grid-column: auto; }
  .sx-cards .duo__card { min-height: clamp(440px, 36vw, 560px); padding: clamp(22px, 2.2vw, 36px); }
}

/* ---------- Chiffres clés ---------- */
.sx-nums__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--sx-line); }
.sx-num { min-width: 0; padding: 22px 14px 24px 0; border-bottom: 1px solid var(--sx-line); container-type: inline-size; }
.sx-num:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--sx-line); }
.sx-num:last-child:nth-child(odd) { grid-column: 1 / -1; }
.sx-num .num { font-size: min(clamp(2.6rem, 12vw, 6rem), 26cqi); color: var(--sx-accent); overflow-wrap: break-word; line-height: .92; }
.sx-num p { margin-top: 12px; color: var(--sx-dim); font-size: .95rem; line-height: 1.4; max-width: 28ch; }
@media (min-width: 861px) {
  .sx-nums__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .sx-num, .sx-num:nth-child(even) { padding: clamp(26px, 3.4vw, 46px) clamp(16px, 2vw, 28px); border-bottom: 0; border-left: 1px solid var(--sx-line); }
  .sx-num:first-child { padding-left: 0; border-left: 0; }
  .sx-num:last-child:nth-child(odd) { grid-column: auto; }
  .sx-num p { font-size: 1rem; }
}

/* ---------- Étapes numérotées ---------- */
.sx-steps__list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--sx-line); }
.sx-steps__list li { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 14px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--sx-line); min-width: 0; }
.sx-steps__list .num { white-space: nowrap; font-size: 2.3rem; color: var(--sx-accent); line-height: .9; }
.sx-steps__list h3 { font-size: clamp(1.2rem, 5vw, 1.5rem); font-weight: 780; font-variation-settings: "wdth" 104; line-height: 1.18; overflow-wrap: break-word; }
.sx-steps__list p { margin-top: 8px; color: var(--sx-dim); max-width: 46ch; }
@media (min-width: 961px) {
  .sx-steps__list { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: clamp(20px, 2.6vw, 44px); border-top: 0; }
  .sx-steps__list li { grid-template-columns: none; gap: 22px; padding: 26px 0 0; border-bottom: 0; border-top: 2px solid var(--sx-fg); }
  .sx-steps__list .num { font-size: clamp(3rem, 5vw, 4.6rem); }
}

/* ---------- Questions fréquentes : l'accordéon .faq du site, sur tous les fonds ---------- */
.sx-faq .faq__head { display: grid; gap: 18px; }
.sx-faq .faq__list, .sx-faq details { border-color: var(--sx-line); }
.sx-faq summary span { min-width: 0; overflow-wrap: break-word; }
.sx-faq details p { color: var(--sx-dim); }
.sx-faq:not(.s--paper) summary i { background: var(--gold); }
.sx-faq:not(.s--paper) summary i::before, .sx-faq:not(.s--paper) summary i::after { background: var(--ink); }
@media (hover: hover) { .sx-faq:not(.s--paper) summary:hover i { background: #ffe066; } }

/* ---------- Annonce d'événement ---------- */
.sx-event__card { display: grid; border-radius: var(--radius-lg); overflow: hidden; background: var(--moss); color: var(--text); border: 1px solid var(--line); }
.sx.s--moss .sx-event__card { background: var(--ink); }
.sx-event__media { aspect-ratio: 16 / 10; background: var(--moss-2); }
.sx-event__body { display: grid; gap: 18px; align-content: center; padding: 24px 20px 26px; }
.sx-event__date span { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 800; font-variation-settings: "wdth" 106; line-height: 1.2; }
.sx-event__title { font-size: min(clamp(1.9rem, 8vw, 4rem), 8.4cqi); }
.sx-event__txt { color: var(--text-dim); max-width: 52ch; }
.sx-event__facts { margin: 0; display: grid; border-top: 1px solid var(--line); }
.sx-event__facts:empty { display: none; }
.sx-event__facts div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sx-event__facts dt { font-size: var(--fs-small); font-weight: 650; color: var(--text-dim); padding-top: .15em; }
.sx-event__facts dd { margin: 0; font-weight: 700; overflow-wrap: break-word; }
.sx-event .btn--ghost { --fg: var(--text); --bd: var(--line); }
@media (min-width: 861px) {
  .sx-event__card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .sx-event__media { aspect-ratio: auto; min-height: 100%; height: 100%; }
  .sx-event.is-right .sx-event__media { order: 2; }
  .sx-event.is-right .sx-event__card { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .sx-event__body { padding: clamp(32px, 4vw, 64px); gap: 22px; min-height: min(70vh, 560px); }
}

/* ---------- Résultats et palmarès : les lignes .ref du site, sur tous les fonds ---------- */
.sx-res .refs, .sx-res .ref { border-color: var(--sx-line); }
.sx-res .ref { min-width: 0; }
.sx-res .ref > * { min-width: 0; overflow-wrap: break-word; }
.sx-res .ref__when { color: var(--sx-accent); }
.sx-res .ref p { color: var(--sx-dim); }
.sx-res .ref__where { color: var(--sx-fg); font-size: 1rem; font-weight: 800; }
@media (min-width: 761px) { .sx-res .ref { grid-template-columns: minmax(0, 170px) minmax(0, 1fr) minmax(0, auto); } .sx-res .ref__where { max-width: 32ch; } }

/* ---------- Citation ou témoignage ---------- */
.sx-quote__grid { display: grid; gap: 28px; }
.sx-quote__media { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--sx-card); }
.sx-quote.is-photo-without .sx-quote__media { display: none; }
.sx-quote__body { display: grid; gap: 24px; align-content: center; }
.sx-quote blockquote { margin: 0; padding-left: clamp(16px, 2.4vw, 30px); border-left: 5px solid var(--sx-accent); }
.sx.s--paper.sx-quote blockquote { border-color: var(--gold); }
.sx-quote blockquote p { font-size: min(clamp(1.45rem, 5.6vw, 2.9rem), 8cqi); font-weight: 780; font-variation-settings: "wdth" 104; line-height: 1.14; letter-spacing: -.015em; text-wrap: balance; overflow-wrap: break-word; }
.sx-quote__who { display: grid; gap: 2px; padding-left: clamp(21px, calc(2.4vw + 5px), 35px); }
.sx-quote__who b { font-weight: 750; }
.sx-quote__who span { color: var(--sx-dim); font-size: .95rem; }
@media (min-width: 861px) {
  .sx-quote.is-photo-with .sx-quote__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
  .sx-quote.is-photo-with .sx-quote__media { aspect-ratio: 4 / 5; }
  .sx-quote.is-photo-without .sx-quote__body { max-width: 1100px; }
}

/* ---------- Logos de partenaires ---------- */
.sx-logos__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sx-logo { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; min-width: 0; border-radius: var(--radius); overflow: hidden; background: #fff; color: var(--ink); border: 1px solid var(--line-ink); transition: transform .25s var(--ease-out); }
.sx-logo__img { position: relative; aspect-ratio: 3 / 2; }
.sx-logo__img img { position: absolute; inset: 14% 12%; width: 76%; height: 72%; object-fit: contain; }
.sx-logo__name { padding: 12px 14px 14px; border-top: 1px solid var(--line-ink); font-weight: 720; font-size: .95rem; line-height: 1.25; overflow-wrap: break-word; }
.sx-logo__name::after { content: ""; position: absolute; inset: 0; }
.sx-logo:focus-within { outline: 3px solid var(--gold-2); outline-offset: 3px; }
@media (hover: hover) { .sx-logo:hover { transform: translateY(-3px); } }
@media (min-width: 761px) { .sx-logos__grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; } }
@media (min-width: 1081px) { .sx-logos__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Bandeau d'appel à l'action (.cta du site) ---------- */
.sx-cta.is-photo-without .cta__photo { display: none; }
.sx-cta.is-photo-without .cta__grid { grid-template-columns: minmax(0, 1fr); }
.sx-cta.is-photo-without .cta__text { max-width: 1100px; }
.sx-cta .cta__text h2 { max-width: 16ch; }

@media (prefers-reduced-motion: reduce) { .sx-logo, .sx-player img, .sx-player__play, .sx-gal__grid img { transition: none; } }

/* Tableaux dans les articles du blog (le moteur les autorise : table, caption, thead, tbody, tr, th, td) */
.prose table { width: 100%; border-collapse: collapse; margin-block: 1.6em; font-size: .95em; }
.prose caption { caption-side: top; text-align: left; font-weight: 750; padding-bottom: .6em; }
.prose th, .prose td { padding: .65em 1em .65em 0; text-align: left; vertical-align: top; overflow-wrap: anywhere; }


/* =========================================================
   Gabarits ajoutés le 22/11/2026 : équipe, agenda, programme, podium, frise, témoignages,
   formules, fiche parcours, coordonnées, atouts, tableau, liens, texte long, bandeau d'annonce.
   Même règle : mobile d'abord, colonnes en minmax(0, 1fr), titres dimensionnés sur leur colonne (cqi).
   Pictogrammes : SVG au trait du site, fixés ici (jamais saisis), appliqués en masque et colorés par --sx-accent.
   ========================================================= */
.sx-team, .sx-agenda, .sx-prog, .sx-podium, .sx-time, .sx-voices, .sx-plans, .sx-course, .sx-where, .sx-adv, .sx-table, .sx-links, .sx-long, .sx-note {
  --sx-i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E");
  --sx-i-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
  --sx-i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.6a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E");
  --sx-i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16v12H4z'/%3E%3Cpath d='M4 7l8 6 8-6'/%3E%3C/svg%3E");
  --sx-i-ig: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='.6'/%3E%3C/svg%3E");
  --sx-i-fb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 8h3V4h-3a4 4 0 0 0-4 4v2H7v4h3v7h4v-7h3l1-4h-4V8z'/%3E%3C/svg%3E");
  --sx-i-yt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5.5' width='19' height='13' rx='4'/%3E%3Cpath d='M10 9.5v5l4.5-2.5z'/%3E%3C/svg%3E");
  --sx-i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E");
  --sx-i-next: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --sx-i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
/* Mot accentué hors des grands titres (intertitre, carte, ligne) : lisible sur tous les fonds */
.sx:is(.sx-team, .sx-agenda, .sx-prog, .sx-podium, .sx-time, .sx-voices, .sx-plans, .sx-course, .sx-where, .sx-adv, .sx-table, .sx-links, .sx-long, .sx-note):is(.s--paper, .s--gold) .gold:not(h2 .gold) { color: var(--ink) !important; background: var(--gold); padding: 0 .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sx:is(.sx-team, .sx-agenda, .sx-prog, .sx-podium, .sx-time, .sx-voices, .sx-plans, .sx-course, .sx-where, .sx-adv, .sx-table, .sx-links, .sx-long, .sx-note).s--gold .gold:not(h2 .gold) { background: var(--ink); color: var(--gold) !important; }
.sx-course .gold:not(h2 .gold), .sx-plan .gold:not(h2 .gold) { color: inherit !important; background: none; padding: 0; font-weight: 850; }
/* Colonnes qui accueillent un titre libre : la taille du titre se calcule sur leur largeur */
.sx-prog__head, .sx-podium__head, .sx-where__head, .sx-links__head, .sx-long__head, .sx-course__body { container-type: inline-size; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
/* Intertitres et noms saisis : jamais de césure automatique, retour à la ligne entre les mots seulement */
.sx-team h3, .sx-agenda h3, .sx-prog h3, .sx-time h3, .sx-plan__name, .sx-adv h3, .sx-long h3 { overflow-wrap: break-word; hyphens: manual; }

/* ---------- Équipe ou bureau ---------- */
.sx-team__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
.sx-member { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 14px; }
.sx-member__ph { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--sx-card); }
.sx-member__ph img { transition: transform .8s var(--ease-out); }
.sx-member__txt { display: grid; gap: 5px; padding-top: 12px; border-top: 2px solid var(--sx-fg); container-type: inline-size; min-width: 0; }
.sx-member__name { font-size: min(clamp(1.06rem, 4.6vw, 1.5rem), 12.5cqi); font-weight: 820; font-variation-settings: "wdth" 104; line-height: 1.12; letter-spacing: -.01em; }
.sx-member__role { font-size: var(--fs-small); font-weight: 720; line-height: 1.3; color: var(--sx-accent); }
.sx.s--paper .sx-member__role { color: var(--gold-3); }
.sx-member__note { margin-top: 4px; font-size: .92rem; line-height: 1.45; color: var(--sx-dim); }
@media (hover: hover) { .sx-member:hover .sx-member__ph img { transform: scale(1.04); } }
@media (min-width: 761px) {
  .sx-team__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(14px, 1.6vw, 24px); }
  .sx-team.is-compact .sx-team__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sx-team.is-compact .sx-member__ph { aspect-ratio: 1; }
}
@media (min-width: 1281px) { .sx-team.is-compact .sx-team__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- Agenda : une tuile de date jaune par rendez-vous ---------- */
.sx-agenda__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sx-date { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 16px; border-radius: var(--radius); background: var(--sx-card); border: 1px solid var(--sx-line); min-width: 0; transition: border-color .2s var(--ease-out), background-color .2s var(--ease-out); }
.sx-date__when { justify-self: start; max-width: 100%; }
.sx-date__when span { display: inline-block; max-width: 100%; padding: 7px 13px; border-radius: 10px; background: var(--gold); color: var(--ink); font-weight: 820; font-variation-settings: "wdth" 106; font-size: .95rem; line-height: 1.2; overflow-wrap: break-word; }
.sx.s--gold .sx-date__when span { background: var(--ink); color: var(--gold); }
.sx-date__main { display: grid; gap: 4px; min-width: 0; container-type: inline-size; }
.sx-date h3 { font-size: min(clamp(1.2rem, 5vw, 1.75rem), 9.5cqi); font-weight: 800; font-variation-settings: "wdth" 104; line-height: 1.15; letter-spacing: -.01em; }
.sx-date__place { color: var(--sx-dim); font-size: .95rem; padding-left: 20px; position: relative; }
.sx-date__place::before { content: ""; position: absolute; left: 0; top: .2em; width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--sx-i-pin) center / contain no-repeat; mask: var(--sx-i-pin) center / contain no-repeat; }
.sx-date__go { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; max-width: 100%; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--sx-line); font-weight: 700; font-size: .92rem; line-height: 1.2; overflow-wrap: break-word; transition: border-color .2s var(--ease-out), background-color .2s var(--ease-out), color .2s var(--ease-out); }
.sx-date__go::after { content: ""; flex: 0 0 auto; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--sx-i-next) center / contain no-repeat; mask: var(--sx-i-next) center / contain no-repeat; transition: transform .2s var(--ease-out); }
.sx-date__go:active { transform: scale(.97); }
@media (hover: hover) { .sx-date__go:hover { border-color: var(--sx-fg); } .sx-date__go:hover::after { transform: translateX(3px); } }
@media (min-width: 761px) {
  .sx-date { grid-template-columns: minmax(0, 190px) minmax(0, 1fr); align-items: center; gap: 12px clamp(18px, 2.6vw, 40px); padding: clamp(16px, 1.8vw, 24px); }
  .sx-date__when span { font-size: 1.02rem; padding: 10px 15px; }
  .sx-date__go { grid-column: 2; }
}
@media (min-width: 1081px) {
  .sx-date { grid-template-columns: minmax(0, 220px) minmax(0, 1fr) minmax(0, auto); }
  .sx-date__go { grid-column: auto; justify-self: end; max-width: 280px; }
}

/* ---------- Programme horaire : rail vertical, heures en chiffres du site ---------- */
.sx-prog__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(30px, 5vw, 56px); }
.sx-prog__head { display: grid; gap: 18px; align-content: start; }
.sx-prog__head .lead { color: var(--sx-dim); }
.sx-prog__list { list-style: none; margin: 0; padding: 0; position: relative; }
.sx-prog__list li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 0 0 26px 30px; min-width: 0; }
.sx-prog__list li::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: -6px; width: 2px; background: var(--sx-line); }
.sx-prog__list li:last-child { padding-bottom: 0; }
.sx-prog__list li:last-child::before { display: none; }
.sx-prog__list li::after, .sx-prog__body::after { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 1.5px var(--ink); }
.sx-prog__time { font-weight: 900; font-variation-settings: "wdth" 116; font-variant-numeric: tabular-nums; font-size: 1.2rem; line-height: 1.05; color: var(--sx-accent); overflow-wrap: break-word; }
.sx-prog__body { min-width: 0; display: grid; gap: 6px; container-type: inline-size; }
.sx-prog h3 { font-size: min(clamp(1.15rem, 4.8vw, 1.5rem), 9cqi); font-weight: 780; font-variation-settings: "wdth" 104; line-height: 1.18; }
.sx-prog__body p { color: var(--sx-dim); max-width: 52ch; }
.sx.s--gold .sx-prog__list li::after { background: var(--ink); }
@media (min-width: 861px) {
  .sx-prog__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
  .sx-prog__head { position: sticky; top: calc(var(--nav-h) + 30px); }
  .sx-prog__list li { grid-template-columns: minmax(0, 130px) minmax(0, 1fr); gap: 0 22px; padding: 0; }
  .sx-prog__list li::before, .sx-prog__list li::after { display: none; }
  .sx-prog__time { font-size: clamp(1.35rem, 1.9vw, 1.9rem); text-align: right; }
  .sx-prog__body { position: relative; padding: 0 0 clamp(36px, 3.4vw, 48px) 34px; }
  .sx-prog__body::before { content: ""; position: absolute; left: 5px; top: 14px; bottom: -14px; width: 2px; background: var(--sx-line); }
  .sx-prog__body::after { top: 9px; }
  .sx-prog h3 { font-size: min(clamp(1.2rem, 1.7vw, 1.65rem), 9cqi); }
  .sx.s--gold .sx-prog__body::after { background: var(--ink); }
  .sx-prog__list li:last-child .sx-prog__body { padding-bottom: 0; }
  .sx-prog__list li:last-child .sx-prog__body::before { display: none; }
}

/* ---------- Podium : trois marches, 2 / 1 / 3 ---------- */
.sx-podium__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(30px, 5vw, 60px); }
.sx-podium__main { display: grid; gap: clamp(30px, 5vw, 56px); min-width: 0; }
.sx-podium__head { display: grid; gap: 16px; }
.sx-podium__head .lead { color: var(--sx-dim); }
.sx-podium__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 8px; }
.sx-step { min-width: 0; display: grid; gap: 12px; container-type: inline-size; }
.sx-step.is-1 { order: 2; } .sx-step.is-2 { order: 1; } .sx-step.is-3 { order: 3; }
.sx-step__who { display: grid; gap: 3px; text-align: center; padding-inline: 2px; }
.sx-step__who b { font-size: min(clamp(.92rem, 3.6vw, 1.35rem), 13.5cqi); font-weight: 820; font-variation-settings: "wdth" 102; line-height: 1.15; overflow-wrap: break-word; }
.sx-step__info { font-size: min(.86rem, 11cqi); line-height: 1.3; color: var(--sx-dim); overflow-wrap: break-word; }
.sx-step__block { display: grid; place-items: start center; padding-top: 10px; border-radius: 16px 16px 0 0; background: var(--moss-2); color: var(--text); overflow: hidden; }
.sx-step.is-1 .sx-step__block { height: clamp(150px, 40vw, 300px); background: var(--gold); color: var(--ink); }
.sx-step.is-2 .sx-step__block { height: clamp(110px, 29vw, 220px); }
.sx-step.is-3 .sx-step__block { height: clamp(80px, 21vw, 160px); background: var(--moss); border: 1px solid var(--line); border-bottom: 0; }
.sx.s--moss .sx-step.is-3 .sx-step__block { background: var(--ink); }
.sx.s--paper .sx-step.is-2 .sx-step__block { background: var(--ink); }
.sx.s--paper .sx-step.is-3 .sx-step__block { background: var(--paper-2); color: var(--ink); border-color: var(--line-ink); }
.sx-step__block .num { font-size: min(clamp(3rem, 15vw, 7.5rem), 56cqi); line-height: .9; }
.sx-podium__steps::after { content: ""; grid-column: 1 / -1; order: 4; height: 2px; margin-top: -8px; background: var(--sx-fg); opacity: .25; }
.sx-podium__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sx-card); }
.sx-podium.is-photo-without .sx-podium__media { display: none; }
@media (min-width: 861px) {
  .sx-podium.is-photo-with .sx-podium__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: clamp(40px, 6vw, 96px); }
  .sx-podium.is-photo-with .sx-podium__media { order: -1; aspect-ratio: 4 / 5; max-height: 80vh; }
  .sx-podium.is-photo-without .sx-podium__main { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: end; gap: clamp(40px, 6vw, 96px); }
  .sx-podium__steps { gap: 12px; }
}

/* ---------- Frise chronologique ---------- */
.sx-time__list { list-style: none; margin: 0; padding: 0; position: relative; }
.sx-time__list li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 0 0 clamp(34px, 6vw, 56px) 30px; min-width: 0; }
.sx-time__list li::before { content: ""; position: absolute; left: 5px; top: 12px; bottom: 0; width: 1.5px; background: var(--sx-line); }
.sx-time__list li:last-child { padding-bottom: 0; }
.sx-time__list li:last-child::before { display: none; }
.sx-time__list li::after { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--gold); background: var(--gold); }
.sx-time__when { font-weight: 900; font-variation-settings: "wdth" 118; font-variant-numeric: tabular-nums; font-size: clamp(1.7rem, 8vw, 2.6rem); line-height: .95; color: var(--sx-accent); overflow-wrap: break-word; }
.sx-time__body { min-width: 0; display: grid; gap: 8px; container-type: inline-size; }
.sx-time h3 { font-size: min(clamp(1.25rem, 5.4vw, 2rem), 9.5cqi); font-weight: 800; font-variation-settings: "wdth" 104; line-height: 1.15; letter-spacing: -.01em; }
.sx-time__body p { color: var(--sx-dim); max-width: 56ch; }
.sx.s--gold .sx-time__list li::after { border-color: var(--ink); background: var(--ink); }
@media (min-width: 861px) {
  .sx-time__list li { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 0 clamp(24px, 3vw, 48px); padding: 0; }
  .sx-time__list li::before, .sx-time__list li::after { display: none; }
  .sx-time__when { font-size: clamp(2.6rem, 5vw, 4.6rem); text-align: right; }
  .sx-time__body { position: relative; padding: .55em 0 clamp(56px, 6vw, 88px) clamp(34px, 3.4vw, 56px); }
  .sx-time__body::before { content: ""; position: absolute; left: 6px; top: calc(.55em + 14px); bottom: calc(-.55em - 2px); width: 1.5px; background: var(--sx-line); }
  .sx-time__body::after { content: ""; position: absolute; left: 0; top: calc(.55em + 4px); width: 13px; height: 13px; border-radius: 50%; background: var(--gold); }
  .sx.s--gold .sx-time__body::after { background: var(--ink); }
  .sx-time__list li:last-child .sx-time__body { padding-bottom: 0; }
  .sx-time__list li:last-child .sx-time__body::before { display: none; }
}

/* ---------- Témoignages de joueurs ---------- */
.sx-voices__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.sx-voice { position: relative; margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 26px; min-width: 0; padding: 54px 22px 22px; border-radius: var(--radius-lg); background: var(--sx-card); border: 1px solid var(--sx-line); container-type: inline-size; }
.sx-voice::before { content: "\00AB"; position: absolute; left: 20px; top: 12px; font-size: 3.4rem; font-weight: 900; line-height: 1; color: var(--sx-accent); }
.sx.s--paper .sx-voice { background: #fbf9f3; }
.sx.s--paper .sx-voice::before { color: var(--gold-2); }
.sx-voice blockquote { margin: 0; }
.sx-voice blockquote p { font-size: min(clamp(1.1rem, 4.4vw, 1.4rem), 9cqi); font-weight: 650; line-height: 1.42; letter-spacing: -.005em; overflow-wrap: break-word; }
.sx-voice figcaption { display: flex; align-items: center; gap: 12px; min-width: 0; padding-top: 18px; border-top: 1px solid var(--sx-line); }
.sx .sx-voice__ph { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.sx-voice__who { display: grid; gap: 1px; min-width: 0; line-height: 1.3; }
.sx-voice__who b { font-weight: 780; overflow-wrap: break-word; }
.sx-voice__who span { font-size: .92rem; color: var(--sx-dim); overflow-wrap: break-word; }
@media (min-width: 700px) { .sx-voices__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .sx-voice { padding: 64px clamp(22px, 2.6vw, 36px) clamp(22px, 2.6vw, 32px); } .sx-voice::before { left: clamp(20px, 2.4vw, 34px); top: 14px; font-size: 4rem; } }
@media (min-width: 1081px) {
  .sx-voices__grid:has(> :nth-child(3):last-child), .sx-voices__grid:has(> :nth-child(5)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sx-voices__grid:has(> :nth-child(5):last-child) > :nth-child(n + 4) { grid-column: span 1; }
}

/* ---------- Adhésion et formules ---------- */
.sx-plans__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.sx-plan { display: flex; flex-direction: column; gap: 22px; min-width: 0; padding: 24px 22px; border-radius: var(--radius-lg); background: var(--sx-card); border: 1px solid var(--sx-line); container-type: inline-size; }
.sx.s--paper .sx-plan { background: #fbf9f3; }
.sx-plan__top { display: grid; gap: 6px; }
.sx-plan__name { font-size: min(clamp(1.3rem, 5.4vw, 1.75rem), 10cqi); font-weight: 820; font-variation-settings: "wdth" 104; line-height: 1.12; letter-spacing: -.01em; }
.sx-plan__desc { color: var(--sx-dim); font-size: .95rem; line-height: 1.45; }
.sx-plan__price { display: grid; gap: 4px; padding-block: 18px; border-block: 1px solid var(--sx-line); }
.sx-plan__price b { font-weight: 900; font-variation-settings: "wdth" 112; font-variant-numeric: tabular-nums; font-size: min(clamp(1.85rem, 8vw, 2.7rem), 13cqi); line-height: 1; letter-spacing: -.015em; overflow-wrap: break-word; }
.sx-plan__price span { color: var(--sx-dim); font-size: .92rem; font-weight: 600; }
.sx-plan__inc { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sx-plan__inc:empty { display: none; }
.sx-plan__inc li { position: relative; padding-left: 28px; font-weight: 600; line-height: 1.38; }
.sx-plan__inc li::before { content: ""; position: absolute; left: 0; top: .12em; width: 18px; height: 18px; background: var(--sx-accent); -webkit-mask: var(--sx-i-check) center / contain no-repeat; mask: var(--sx-i-check) center / contain no-repeat; }
.sx.s--paper .sx-plan__inc li::before { background: var(--gold-3); }
.sx-plan .btn.sx-plan__btn { margin-top: auto; width: 100%; white-space: normal; }
/* Formule mise en avant : la carte passe en jaune lion */
.is-feat-1 .sx-plan:nth-child(1), .is-feat-2 .sx-plan:nth-child(2), .is-feat-3 .sx-plan:nth-child(3), .is-feat-4 .sx-plan:nth-child(4) {
  --sx-fg: var(--ink); --sx-dim: rgba(12, 17, 13, .72); --sx-line: rgba(12, 17, 13, .2); --sx-accent: var(--ink); --sx-btn-bg: var(--ink); --sx-btn-fg: var(--text);
  background: var(--gold); border-color: var(--gold); color: var(--ink);
}
.sx.s--gold.is-feat-1 .sx-plan:nth-child(1), .sx.s--gold.is-feat-2 .sx-plan:nth-child(2), .sx.s--gold.is-feat-3 .sx-plan:nth-child(3), .sx.s--gold.is-feat-4 .sx-plan:nth-child(4) {
  --sx-fg: var(--text); --sx-dim: var(--text-dim); --sx-line: var(--line); --sx-accent: var(--gold); --sx-btn-bg: var(--gold); --sx-btn-fg: var(--ink);
  background: var(--ink); border-color: var(--ink); color: var(--text);
}
.sx.s--paper.is-feat-1 .sx-plan:nth-child(1) .sx-plan__inc li::before, .sx.s--paper.is-feat-2 .sx-plan:nth-child(2) .sx-plan__inc li::before, .sx.s--paper.is-feat-3 .sx-plan:nth-child(3) .sx-plan__inc li::before, .sx.s--paper.is-feat-4 .sx-plan:nth-child(4) .sx-plan__inc li::before { background: var(--ink); }
.sx-plans__note { margin-top: clamp(20px, 3vw, 32px); padding-left: 22px; position: relative; color: var(--sx-dim); font-weight: 600; max-width: 70ch; }
.sx-plans__note::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 1.5px var(--ink); }
@media (min-width: 700px) {
  .sx-plans__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .sx-plans__grid > :only-child { grid-column: 1 / -1; max-width: 560px; }
  .sx-plan { padding: clamp(26px, 2.6vw, 36px); }
}
@media (min-width: 1081px) {
  .sx-plans__grid:has(> :nth-child(3)) { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
}

/* ---------- Fiche parcours ---------- */
.sx-course__card { display: grid; grid-template-columns: minmax(0, 1fr); border-radius: var(--radius-lg); overflow: hidden; background: var(--moss); color: var(--text); border: 1px solid var(--line); }
.sx.s--moss .sx-course__card { background: var(--ink); }
.sx-course__media { position: relative; aspect-ratio: 4 / 3; background: var(--moss-2); }
.sx-course__media::after { content: ""; position: absolute; inset: 40% 0 0 0; background: linear-gradient(0deg, rgba(12, 17, 13, .78), rgba(12, 17, 13, 0)); pointer-events: none; }
.sx-course__holes { position: absolute; left: 16px; bottom: 14px; z-index: 1; display: flex; align-items: baseline; gap: 8px; max-width: calc(100% - 32px); color: var(--text); }
.sx-course__holes b { font-weight: 900; font-variation-settings: "wdth" 118; font-variant-numeric: tabular-nums; font-size: clamp(3.4rem, 18vw, 6.4rem); line-height: .82; color: var(--gold); overflow-wrap: anywhere; min-width: 0; }
.sx-course__holes span { font-weight: 750; font-size: 1rem; }
.sx-course__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-content: center; padding: 24px 20px 26px; }
.sx-course__city { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: var(--fs-small); color: var(--gold); }
.sx-course__city::before { content: ""; flex: 0 0 auto; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--sx-i-pin) center / contain no-repeat; mask: var(--sx-i-pin) center / contain no-repeat; }
.sx-course__title { font-size: min(clamp(1.9rem, 8vw, 4rem), 8.6cqi); overflow-wrap: break-word; text-wrap: balance; line-height: 1.02; }
.sx-course__txt { color: var(--text-dim); max-width: 52ch; }
.sx-course__facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.sx-course__facts:empty { display: none; }
.sx-course__facts div { min-width: 0; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.sx-course__facts div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.sx-course__facts div:only-child { grid-column: 1 / -1; }
.sx-course__facts dt { font-size: var(--fs-small); font-weight: 650; color: var(--text-dim); }
.sx-course__facts dd { margin: 2px 0 0; font-weight: 720; line-height: 1.3; overflow-wrap: break-word; }
.sx-course .btns:empty { display: none; }
.sx.sx-course .btn--ghost { --fg: var(--text); --bd: var(--line); }
@media (hover: hover) { .sx.sx-course .btn--ghost:hover { --bd: var(--text); } }
.sx-course__go::after { content: ""; flex: 0 0 auto; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--sx-i-arrow) center / contain no-repeat; mask: var(--sx-i-arrow) center / contain no-repeat; }
@media (min-width: 861px) {
  .sx-course__card { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .sx-course.is-right .sx-course__media { order: 2; }
  .sx-course__media { aspect-ratio: auto; min-height: min(72vh, 600px); }
  .sx-course__holes { left: clamp(22px, 2.6vw, 40px); bottom: clamp(20px, 2.4vw, 36px); }
  .sx-course__holes b { font-size: clamp(5rem, 8.6vw, 9rem); }
  .sx-course__body { padding: clamp(32px, 4vw, 64px); gap: 22px; }
}

/* ---------- Coordonnées et accès ---------- */
.sx-where__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
.sx-where__txt { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-content: center; }
.sx-where__head { gap: 20px; }
.sx-where__txt .lead { color: var(--sx-dim); max-width: 46ch; }
.sx-where__lines { list-style: none; margin: 4px 0 0; padding: 0; display: grid; border-top: 1px solid var(--sx-line); }
.sx-where__lines:empty { display: none; }
.sx-line { position: relative; display: grid; gap: 2px; min-width: 0; padding: 14px 0 14px 58px; min-height: 74px; align-content: center; border-bottom: 1px solid var(--sx-line); }
.sx-line::before { content: ""; position: absolute; left: 0; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 14px; background: rgba(255, 210, 31, .13); }
.sx-line::after { content: ""; position: absolute; left: 12px; top: 50%; width: 20px; height: 20px; margin-top: -10px; background: var(--gold); -webkit-mask: var(--sx-ico) center / contain no-repeat; mask: var(--sx-ico) center / contain no-repeat; }
.sx.s--paper .sx-line::before, .sx.s--gold .sx-line::before { background: var(--ink); }
.sx-line.is-pin { --sx-ico: var(--sx-i-pin); } .sx-line.is-clock { --sx-ico: var(--sx-i-clock); } .sx-line.is-phone { --sx-ico: var(--sx-i-phone); } .sx-line.is-mail { --sx-ico: var(--sx-i-mail); }
.sx-line small { font-size: var(--fs-small); font-weight: 650; color: var(--sx-dim); }
.sx-line p, .sx-line a { font-weight: 750; font-size: clamp(1rem, 4.2vw, 1.2rem); line-height: 1.3; overflow-wrap: anywhere; }
.sx-line a { justify-self: start; text-decoration: underline 2px transparent; text-underline-offset: .22em; transition: text-decoration-color .2s var(--ease-out); }
.sx-line.is-mail a { overflow-wrap: anywhere; font-size: clamp(.92rem, 3.9vw, 1.2rem); }
@media (hover: hover) { .sx-line a:hover { text-decoration-color: var(--gold); } }
.sx-where__acts { display: flex; flex-wrap: wrap; gap: 10px; }
.sx-where__acts:empty { display: none; }
.sx-where__acts .sx-where__route { width: 100%; }
.sx-where__route::after { content: ""; flex: 0 0 auto; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--sx-i-arrow) center / contain no-repeat; mask: var(--sx-i-arrow) center / contain no-repeat; }
.sx-soc { flex: 1 1 auto; min-width: 0; max-width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--sx-line); font-weight: 700; font-size: .95rem; line-height: 1.2; text-align: center; overflow-wrap: break-word; transition: border-color .2s var(--ease-out), transform .16s var(--ease-out); }
.sx-soc::before { content: ""; flex: 0 0 auto; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--sx-ico) center / contain no-repeat; mask: var(--sx-ico) center / contain no-repeat; }
.sx-soc.is-ig { --sx-ico: var(--sx-i-ig); } .sx-soc.is-fb { --sx-ico: var(--sx-i-fb); } .sx-soc.is-yt { --sx-ico: var(--sx-i-yt); }
.sx-soc:active { transform: scale(.97); }
@media (hover: hover) { .sx-soc:hover { border-color: var(--sx-fg); } }
.sx-where__media { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--sx-card); }
.sx-where.is-photo-without .sx-where__media { display: none; }
@media (min-width: 600px) { .sx-where__acts .sx-where__route { width: auto; } .sx-soc { flex: 0 1 auto; } }
@media (min-width: 861px) {
  .sx-where.is-photo-with .sx-where__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
  .sx-where.is-photo-with .sx-where__media { aspect-ratio: 4 / 5; max-height: 82vh; }
  .sx-where.is-photo-without .sx-where__txt { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(40px, 6vw, 96px); align-items: start; }
  .sx-where.is-photo-without .sx-where__head { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
  .sx-where.is-photo-without .sx-where__lines, .sx-where.is-photo-without .sx-where__acts { grid-column: 2; }
  .sx-where.is-photo-without .sx-where__lines { margin-top: 0; }
  .sx-line { min-height: 84px; }
}

/* ---------- Atouts avec pictogrammes (carte .benefit du site, sur tous les fonds) ---------- */
.sx-adv__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.sx-adv__item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; min-width: 0; padding: 22px; border-radius: var(--radius); background: var(--moss); border: 1px solid var(--line); color: var(--text); }
.sx.s--moss .sx-adv__item { background: var(--moss-2); }
.sx.s--paper .sx-adv__item { background: var(--paper-2); border-color: transparent; color: var(--ink); }
.sx.s--gold .sx-adv__item { background: rgba(12, 17, 13, .07); border-color: rgba(12, 17, 13, .12); color: var(--ink); }
.sx-ico { display: block; width: 44px; height: 44px; background: var(--gold); -webkit-mask: var(--sx-i) center / contain no-repeat; mask: var(--sx-i) center / contain no-repeat; }
.sx.s--paper .sx-ico, .sx.s--gold .sx-ico { background: var(--ink); }
.sx-adv__n { display: none; font-weight: 900; font-variation-settings: "wdth" 118; font-size: 2rem; line-height: .9; color: var(--gold); }
.sx.s--paper .sx-adv__n { color: var(--gold-3); }
.sx.s--gold .sx-adv__n { color: var(--ink); }
.sx-adv.is-set-numeros .sx-ico { display: none; }
.sx-adv.is-set-numeros .sx-adv__n { display: block; }
.sx-adv__txt { min-width: 0; display: grid; gap: 6px; container-type: inline-size; }
.sx-adv h3 { font-size: min(clamp(1.15rem, 4.8vw, 1.4rem), 10cqi); font-weight: 780; font-variation-settings: "wdth" 104; line-height: 1.2; }
.sx-adv__txt p { color: var(--text-dim); font-size: .95rem; line-height: 1.5; }
.sx.s--paper .sx-adv__txt p, .sx.s--gold .sx-adv__txt p { color: var(--ink-dim); }
@media (min-width: 600px) {
  .sx-adv__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-adv__item { grid-template-columns: minmax(0, 1fr); align-content: space-between; min-height: 230px; gap: 26px; }
  .sx-ico { width: 48px; height: 48px; }
}
@media (min-width: 1081px) {
  .sx-adv__grid { gap: 14px; }
  .sx-adv__grid:has(> :nth-child(3):last-child), .sx-adv__grid:has(> :nth-child(5)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sx-adv__grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sx-adv__item { padding: 26px; min-height: 260px; }
}
.sx-adv.is-set-jeu .sx-adv__item:nth-child(1) .sx-ico { --sx-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 34c6-14 26-14 32 0'/%3E%3Ccircle cx='24' cy='16' r='6'/%3E%3Cpath d='M14 40h20'/%3E%3C/svg%3E"); }
.sx-adv.is-set-jeu .sx-adv__item:nth-child(2) .sx-ico { --sx-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 6L12 22h7l-9 12h28l-9-12h7z'/%3E%3Cpath d='M24 34v8'/%3E%3C/svg%3E"); }
.sx-adv.is-set-jeu .sx-adv__item:nth-child(3) .sx-ico { --sx-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='24' cy='22' rx='18' ry='8'/%3E%3Cpath d='M6 22v3c0 4.4 8 8 18 8s18-3.6 18-8v-3'/%3E%3Cpath d='M16 21c2.5 1.2 13.5 1.2 16 0'/%3E%3C/svg%3E"); }
.sx-adv.is-set-jeu .sx-adv__item:nth-child(4) .sx-ico { --sx-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 6l5 10 11 2-8 8 2 11-10-5-10 5 2-11-8-8 11-2z'/%3E%3C/svg%3E"); }
.sx-adv.is-set-jeu .sx-adv__item:nth-child(5) .sx-ico { --sx-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 10h20M16 10l2 10h12l2-10'/%3E%3Cpath d='M24 20v22M16 42h16'/%3E%3Cpath d='M18 14l3 6M30 14l-3 6'/%3E%3C/svg%3E"); }
.sx-adv.is-set-jeu .sx-adv__item:nth-child(6) .sx-ico { --sx-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='18'/%3E%3Ccircle cx='24' cy='24' r='10'/%3E%3Ccircle cx='24' cy='24' r='2.5'/%3E%3C/svg%3E"); }
.sx-adv.is-set-club .sx-adv__item:nth-child(1) .sx-ico { --sx-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='16' cy='18' r='5'/%3E%3Ccircle cx='32' cy='18' r='5'/%3E%3Cpath d='M6 38c2-8 18-8 20 0M22 38c2-8 18-8 20 0'/%3E%3C/svg%3E"); }
.sx-adv.is-set-club .sx-adv__item:nth-child(2) .sx-ico { --sx-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 42h16M24 32v10M14 8h20v10a10 10 0 0 1-20 0z'/%3E%3Cpath d='M14 12H8a6 6 0 0 0 6 6M34 12h6a6 6 0 0 1-6 6'/%3E%3C/svg%3E"); }
.sx-adv.is-set-club .sx-adv__item:nth-child(3) .sx-ico { --sx-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='10' width='32' height='30' rx='4'/%3E%3Cpath d='M8 20h32M16 6v8M32 6v8'/%3E%3Cpath d='M16 28h4M28 28h4M16 34h4'/%3E%3C/svg%3E"); }
.sx-adv.is-set-club .sx-adv__item:nth-child(4) .sx-ico { --sx-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 40S8 30 8 18a8 8 0 0 1 16-3 8 8 0 0 1 16 3c0 12-16 22-16 22z'/%3E%3C/svg%3E"); }
.sx-adv.is-set-club .sx-adv__item:nth-child(5) .sx-ico { --sx-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 30c4-10 10-14 18-14'/%3E%3Cpath d='M24 12l6 4-6 4'/%3E%3Cpath d='M14 36c6 2 14 2 22-4'/%3E%3C/svg%3E"); }
.sx-adv.is-set-club .sx-adv__item:nth-child(6) .sx-ico { --sx-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 6l16 6v12c0 9-6.8 16.6-16 18-9.2-1.4-16-9-16-18V12z'/%3E%3Cpath d='M17 24l5 5 9-10'/%3E%3C/svg%3E"); }
.sx-adv.is-set-pratique .sx-adv__item:nth-child(1) .sx-ico { --sx-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='18'/%3E%3Cpath d='M24 14v10l7 4'/%3E%3C/svg%3E"); }
.sx-adv.is-set-pratique .sx-adv__item:nth-child(2) .sx-ico { --sx-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 42S10 29.6 10 19a14 14 0 0 1 28 0c0 10.6-14 23-14 23z'/%3E%3Ccircle cx='24' cy='19' r='5'/%3E%3C/svg%3E"); }
.sx-adv.is-set-pratique .sx-adv__item:nth-child(3) .sx-ico { --sx-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='10' width='32' height='30' rx='4'/%3E%3Cpath d='M8 20h32M16 6v8M32 6v8'/%3E%3Cpath d='M16 28h4M28 28h4M16 34h4'/%3E%3C/svg%3E"); }
.sx-adv.is-set-pratique .sx-adv__item:nth-child(4) .sx-ico { --sx-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='12' y='14' width='24' height='28' rx='5'/%3E%3Cpath d='M18 14v-3a6 6 0 0 1 12 0v3'/%3E%3Cpath d='M12 26h24M20 32h8'/%3E%3C/svg%3E"); }
.sx-adv.is-set-pratique .sx-adv__item:nth-child(5) .sx-ico { --sx-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 10h32v22H18l-10 8z'/%3E%3Cpath d='M16 19h16M16 25h10'/%3E%3C/svg%3E"); }
.sx-adv.is-set-pratique .sx-adv__item:nth-child(6) .sx-ico { --sx-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='12' y='8' width='24' height='34' rx='4'/%3E%3Cpath d='M19 8V5h10v3'/%3E%3Cpath d='M18 25l4 4 8-9'/%3E%3C/svg%3E"); }

/* ---------- Tableau simple : vrai tableau sur ordinateur, fiches empilées sur téléphone et tablette ---------- */
.sx-table__box { min-width: 0; }
.sx-tbl { width: 100%; border-collapse: collapse; text-align: left; line-height: 1.4; }
.sx-tbl, .sx-tbl tbody, .sx-tbl tr, .sx-tbl th, .sx-tbl td { display: block; }
.sx-tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sx-tbl tbody { border-top: 2px solid var(--sx-fg); }
.sx-tbl tbody tr { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--sx-line); }
.sx-tbl th[scope="row"] { font-weight: 800; font-size: 1.08rem; line-height: 1.25; overflow-wrap: break-word; }
.sx-tbl td { min-width: 0; color: var(--sx-dim); font-size: .96rem; overflow-wrap: break-word; }
.sx-tbl td[data-l]:not([data-l=""])::before { content: attr(data-l) " : "; font-weight: 700; color: var(--sx-fg); }
.sx-tbl td:empty { display: none; }
@media (min-width: 961px) {
  .sx-tbl { display: table; table-layout: fixed; }
  .sx-tbl thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; display: table-header-group; }
  .sx-tbl tbody { display: table-row-group; border-top: 0; }
  .sx-tbl tr, .sx-tbl tbody tr { display: table-row; padding: 0; }
  .sx-tbl th, .sx-tbl td { display: table-cell; vertical-align: top; padding: 18px 24px 18px 0; }
  .sx-tbl thead th { padding-block: 0 14px; border-bottom: 2px solid var(--sx-fg); font-size: var(--fs-small); font-weight: 750; color: var(--sx-dim); overflow-wrap: break-word; }
  .sx-tbl tbody th, .sx-tbl tbody td { border-bottom: 1px solid var(--sx-line); }
  .sx-tbl td { font-size: 1rem; color: var(--sx-fg); }
  .sx-tbl td[data-l]:not([data-l=""])::before { content: none; }
  .sx-tbl td:empty { display: table-cell; }
  .sx-tbl tbody tr { transition: background-color .2s var(--ease-out); }
}
@media (hover: hover) and (min-width: 961px) { .sx-tbl tbody tr:hover { background: var(--sx-card); } }

/* ---------- Liens et documents ---------- */
.sx-links__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); }
.sx-links__head { display: grid; gap: 18px; align-content: start; }
.sx-links__head .lead { color: var(--sx-dim); }
.sx-links__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sx-line); }
.sx-lnk { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 18px 46px 18px 0; border-bottom: 1px solid var(--sx-line); min-width: 0; transition: padding .25s var(--ease-out); }
.sx-lnk::after { content: ""; position: absolute; right: 4px; top: 50%; width: 22px; height: 22px; margin-top: -11px; background: var(--sx-fg); -webkit-mask: var(--sx-i-arrow) center / contain no-repeat; mask: var(--sx-i-arrow) center / contain no-repeat; transition: transform .2s var(--ease-out), background-color .2s var(--ease-out); }
.sx-lnk__a { justify-self: start; font-weight: 780; font-variation-settings: "wdth" 104; font-size: clamp(1.1rem, 4.6vw, 1.45rem); line-height: 1.22; overflow-wrap: break-word; }
html:not(.adm-edit) .sx-lnk__a::before { content: ""; position: absolute; inset: 0; }
.sx-lnk p { color: var(--sx-dim); font-size: .95rem; max-width: 60ch; }
.sx-lnk:focus-within { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 8px; }
.sx-lnk__a:focus-visible { outline: none; }
@media (hover: hover) { .sx-lnk:hover::after { transform: translate(3px, -3px); background: var(--sx-accent); } .sx.s--paper .sx-lnk:hover::after { background: var(--gold-3); } }
@media (hover: hover) and (min-width: 761px) { .sx-lnk:hover { padding-left: 10px; } }
@media (min-width: 861px) {
  .sx-links__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
  .sx-links__head { position: sticky; top: calc(var(--nav-h) + 30px); }
  .sx-lnk { padding-block: 22px; }
}

/* ---------- Texte long ---------- */
.sx-long__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vw, 44px); }
.sx-long__body { min-width: 0; max-width: 68ch; display: grid; gap: 1.4em; font-size: 1.06rem; line-height: 1.7; }
.sx-long__intro { font-size: var(--fs-lead); line-height: 1.5; font-weight: 600; color: var(--sx-fg); }
.sx-long__block { display: grid; gap: .5em; min-width: 0; }
.sx-long__block h3 { font-size: clamp(1.2rem, 4.6vw, 1.5rem); font-weight: 800; font-variation-settings: "wdth" 104; line-height: 1.2; letter-spacing: -.01em; margin-top: .4em; }
.sx-long__block p { color: var(--sx-dim); }
.sx-long__block p a { text-decoration: underline 2px var(--gold); text-underline-offset: .2em; color: var(--sx-fg); }
.sx.s--gold .sx-long__block p a { text-decoration-color: var(--ink); }
.sx-long.is-center .sx-long__grid { justify-items: center; }
.sx-long.is-center .sx-long__head { width: 100%; max-width: 68ch; }
.sx-long.is-center .sx-long__body { width: 100%; }
@media (min-width: 961px) {
  .sx-long.is-aside .sx-long__grid:has(> .sx-long__head) { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
  .sx-long.is-aside .sx-long__head { position: sticky; top: calc(var(--nav-h) + 30px); }
  .sx-long.is-center .sx-long__head .sx-h { max-width: none; }
  .sx-long__body { font-size: 1.1rem; }
}

/* ---------- Bandeau d'annonce : une ligne, un lien ---------- */
.sx.sx-note { padding-block: 16px; border-block: 1px solid var(--sx-line); }
.sx.sx-note.s--ink { background: var(--ink); }
.sx-note.s--gold { border-color: transparent; }
main > .sx.sx-note:first-child { padding-top: calc(var(--nav-h) + 16px); }
.sx-note__in { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.sx-note__txt { position: relative; min-width: 0; padding-left: 24px; font-weight: 750; font-variation-settings: "wdth" 102; font-size: clamp(1rem, 3.9vw, 1.15rem); line-height: 1.35; }
.sx-note__dot { position: absolute; left: 0; top: .42em; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(255, 210, 31, .5); animation: sx-pulse 2.2s var(--ease-out) infinite; }
.sx-note.s--gold .sx-note__dot, .sx-note.s--paper .sx-note__dot { background: var(--ink); box-shadow: 0 0 0 0 rgba(12, 17, 13, .4); animation-name: sx-pulse-ink; }
.sx-note__go { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; max-width: 100%; padding: 8px 16px; border-radius: 999px; background: var(--sx-btn-bg); color: var(--sx-btn-fg); font-weight: 720; font-size: .94rem; line-height: 1.2; overflow-wrap: break-word; transition: transform .16s var(--ease-out), background-color .2s var(--ease-out); }
.sx-note.s--ink .sx-note__go, .sx-note.s--moss .sx-note__go { background: var(--gold); color: var(--ink); }
.sx-note__go::after { content: ""; flex: 0 0 auto; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--sx-i-next) center / contain no-repeat; mask: var(--sx-i-next) center / contain no-repeat; transition: transform .2s var(--ease-out); }
.sx-note__go:active { transform: scale(.97); }
@media (hover: hover) { .sx-note__go:hover::after { transform: translateX(3px); } }
@keyframes sx-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 210, 31, .5); } 80%, 100% { box-shadow: 0 0 0 10px rgba(255, 210, 31, 0); } }
@keyframes sx-pulse-ink { 0% { box-shadow: 0 0 0 0 rgba(12, 17, 13, .4); } 80%, 100% { box-shadow: 0 0 0 10px rgba(12, 17, 13, 0); } }
@media (min-width: 761px) {
  .sx.sx-note { padding-block: 14px; }
  .sx-note__in { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
}

/* Mode édition : un champ vidé garde l'étiquette « Ajouter : … » de l'éditeur, jamais masquée par un pictogramme */
html.adm-edit .sx [data-e-empty]:is(.sx-date__place, .sx-plans__note, .sx-soc, .sx-course__city, .sx-plan__inc li)::before { position: static; display: inline; width: auto; height: auto; margin: 0; background: none; box-shadow: none; -webkit-mask: none; mask: none; }
html.adm-edit .sx [data-e-empty]:is(.sx-date__place, .sx-plans__note, .sx-plan__inc li) { padding-left: 0; }

@media (prefers-reduced-motion: reduce) { .sx-member__ph img, .sx-date, .sx-date__go, .sx-date__go::after, .sx-lnk, .sx-lnk::after, .sx-soc, .sx-note__go, .sx-note__go::after, .sx-tbl tbody tr { transition: none; } .sx-note__dot { animation: none; } }
