/* Ski Club Fribourg : essai de design « uupm » (branche design-uupm). Valeurs : tokens.css.
   Lignes directrices : grandes photos du club, titres Khand très grands, crête de montagne (motif du logo) en
   transition, noir et blanc + un seul accent doré, aucune carte à icône, mouvement en CSS seulement. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body { margin: 0; font: 400 16px/1.65 var(--texte); color: var(--noir); background: var(--blanc); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--noir); color: var(--blanc); padding: .5rem 1rem; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--titre); font-weight: 600; line-height: 1; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
main { min-height: 50vh; }
::selection { background: var(--noir); color: var(--blanc); }

/* ---------------------------------------------------------------- en-tête */
.scf-top { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--filet); padding-top: env(safe-area-inset-top, 0px); transition: background-color var(--t-court) var(--ease), border-color var(--t-court) var(--ease); }
.scf-top__in { max-width: var(--wrap); margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); }
.scf-top__logo { display: block; flex: none; }
.scf-top__logo img { height: 52px; width: auto; }
.scf-top__nav { flex: 1; }
.scf-top__nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.scf-top__nav a { position: relative; display: block; padding: .6rem 1rem; font: 600 19px/1 var(--titre); letter-spacing: .02em; text-decoration: none; color: var(--noir); }
.scf-top__nav a::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .2rem; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--t-court) var(--ease); }
.scf-top__nav a:hover::after, .scf-top__nav a[aria-current="page"]::after { transform: scaleX(1); }
.scf-top__compte { margin-left: auto; }
.scf-top__nav .scf-top__compte a { border: 2px solid currentColor; border-radius: var(--r-pilule); padding: .55rem 1.2rem; }
.scf-top__nav .scf-top__compte a::after { display: none; }
.scf-top__nav .scf-top__compte a:hover { background: var(--noir); color: var(--blanc); }
.scf-logo-blanc { display: none; }

/* En-tête posé sur la photo de l'accueil (blanc), opaque au défilement (classe is-solid, site.js) */
.scf-top--photo { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.scf-top--photo:not(.is-solid) .scf-logo-noir { display: none; }
.scf-top--photo:not(.is-solid) .scf-logo-blanc { display: block; }
.scf-top--photo:not(.is-solid) .scf-top__nav a { color: var(--blanc); }
.scf-top--photo:not(.is-solid) .scf-top__nav .scf-top__compte a:hover { background: var(--blanc); color: var(--noir); }
.scf-top--photo:not(.is-solid) .scf-burger span, .scf-top--photo:not(.is-solid) .scf-burger span::before, .scf-top--photo:not(.is-solid) .scf-burger span::after { background: var(--blanc); }
.scf-top--photo.is-solid, .scf-top--photo.is-open { background: rgba(255,255,255,.96); border-color: var(--filet); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
.scf-top--photo.is-open .scf-logo-noir { display: block; } .scf-top--photo.is-open .scf-logo-blanc { display: none; }
.scf-top--photo.is-open .scf-burger span, .scf-top--photo.is-open .scf-burger span::before, .scf-top--photo.is-open .scf-burger span::after { background: var(--noir); }

.scf-burger { display: none; margin-left: auto; width: 48px; height: 48px; background: none; border: 0; padding: 0; cursor: pointer; }
.scf-burger span, .scf-burger span::before, .scf-burger span::after { display: block; width: 24px; height: 2px; background: var(--noir); margin: auto; position: relative; content: ""; transition: transform var(--t-court) var(--ease), background-color var(--t-court); }
.scf-burger span::before { position: absolute; top: -8px; } .scf-burger span::after { position: absolute; top: 8px; }
.scf-burger[aria-expanded="true"] span { background: transparent !important; }
.scf-burger[aria-expanded="true"] span::before { transform: translateY(8px) rotate(45deg); }
.scf-burger[aria-expanded="true"] span::after { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 1024px) {
  .scf-top__logo img { height: 44px; }
  .scf-burger { display: block; }
  .scf-top__nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--blanc); border-top: 1px solid var(--filet); box-shadow: 0 24px 40px rgba(13,17,20,.12); max-height: calc(100dvh - 70px); overflow-y: auto; }
  .scf-top__nav.is-open { display: block; }
  .scf-top__nav ul { flex-direction: column; align-items: stretch; padding: .5rem var(--gutter) 1.5rem; }
  .scf-top__nav a, .scf-top--photo:not(.is-solid) .scf-top__nav a { padding: 1rem 0; font-size: 26px; color: var(--noir); border-bottom: 1px solid var(--filet); }
  .scf-top__nav a::after { left: 0; right: auto; width: 2rem; bottom: -1px; }
  .scf-top__compte { margin: 1.2rem 0 0; }
  .scf-top__nav .scf-top__compte a, .scf-top--photo:not(.is-solid) .scf-top__nav .scf-top__compte a { text-align: center; color: var(--blanc); background: var(--noir); border-color: var(--noir); padding: 1rem; }
}

/* ---------------------------------------------------------------- boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: 10px 28px; border-radius: var(--r-pilule);
  border: 2px solid var(--noir); font: 600 19px/1 var(--titre); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background-color var(--t-court) var(--ease), color var(--t-court) var(--ease), border-color var(--t-court) var(--ease), transform var(--t-court) var(--ease); }
.btn:active { transform: scale(.97); }
.btn--primary, .btn--light { background: var(--noir); color: var(--blanc); }
.btn--primary:hover, .btn--light:hover { background: #2b2f33; border-color: #2b2f33; }
.btn--secondary, .btn--ghost { background: transparent; color: var(--noir); }
.btn--secondary:hover, .btn--ghost:hover { background: var(--noir); color: var(--blanc); }
.btn--link { border: 0; padding-inline: 0; background: none; text-decoration: underline; }
.scf-boutons, .s-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.6rem 0 0; }

/* ---------------------------------------------------------------- accueil : ouverture plein écran */
.x-bienvenue { max-width: var(--wrap); margin: 0 auto; padding: clamp(5rem, 14vh, 10rem) var(--gutter) clamp(4rem, 10vh, 7rem); }
.x-bienvenue h1 { font-size: var(--t-display); line-height: 1.02; max-width: 16ch; margin: 0; }
.x-bienvenue__phrase { font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); margin: 1.4rem 0 0; max-width: 34ch; }
.x-bienvenue__sur { font: 600 1.05rem/1.4 var(--texte); margin: 0 0 1rem; }
.x-bienvenue.has-image { position: relative; max-width: none; min-height: min(82svh, 780px); padding: 0; display: grid; align-items: end; color: var(--blanc); background: var(--nuit); overflow: hidden; }
.x-bienvenue__photo, .x-bienvenue__photo picture { position: absolute; inset: 0; }
.x-bienvenue__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.x-bienvenue__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,17,20,.5) 0%, rgba(13,17,20,0) 65%), linear-gradient(180deg, rgba(13,17,20,.55) 0%, rgba(13,17,20,0) 22%, rgba(13,17,20,.05) 45%, rgba(13,17,20,.78) 100%); }
.x-bienvenue.has-image .x-bienvenue__txt { position: relative; z-index: 1; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 8rem var(--gutter) clamp(6rem, 12vh, 9rem); }
.x-bienvenue.has-image .scf-boutons .btn--primary { background: var(--blanc); color: var(--noir); border-color: var(--blanc); }
.x-bienvenue.has-image .scf-boutons .btn--primary:hover { background: #d9dde1; border-color: #d9dde1; }
.x-bienvenue.has-image .scf-boutons .btn--secondary { color: var(--blanc); border-color: var(--blanc); }
.x-bienvenue.has-image .scf-boutons .btn--secondary:hover { background: var(--blanc); color: var(--noir); }
.x-bienvenue__crete { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 7vw, 110px); color: var(--blanc); z-index: 1; }

/* Infos pratiques (x-reperes) : encadré clair, libellé au-dessus, valeur posée (passe « rassurante ») */
.x-reperes { max-width: var(--wrap); margin: 0 auto; padding: calc(var(--rythme) * .6) var(--gutter) 0; }
.x-reperes__list { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1px; background: var(--filet); border: 1px solid var(--filet); border-radius: var(--r-photo); overflow: hidden; }
.x-reperes__list > div { display: grid; gap: .35rem; align-content: start; padding: 1.2rem 1.4rem; background: var(--neige); }
.x-reperes dt { font-size: .875rem; color: var(--gris); line-height: 1.4; }
.x-reperes dd { margin: 0; font: 600 1.4rem/1.15 var(--titre); }

/* ---------------------------------------------------------------- bandeau des pages */
.scf-tete { padding: 0; }
.scf-tete__photo { position: relative; color: var(--blanc); background: var(--nuit); overflow: hidden; }
.scf-tete__photo img, .scf-tete__photo picture { width: 100%; height: clamp(20rem, 12rem + 26vw, 34rem); object-fit: cover; object-position: 50% 35%; }
.scf-tete__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,17,20,.35) 0%, rgba(13,17,20,0) 30%, rgba(13,17,20,.7) 100%); }
.scf-tete__sur-photo { position: absolute; left: 0; right: 0; bottom: clamp(3rem, 2rem + 4vw, 6rem); z-index: 1; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.scf-tete__crete { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(28px, 5vw, 72px); z-index: 1; color: var(--blanc); }
.scf-tete__txt { max-width: var(--wrap); margin: 0 auto; padding: 1.2rem var(--gutter) 0; }
.scf-tete:not(.has-image) .scf-tete__txt { padding-top: clamp(3rem, 2rem + 4vw, 6rem); }
.s-page-hero__title, .s-title--page { font-size: var(--t-h1); line-height: 1.02; margin: 0 0 .8rem; }
.scf-tete__photo .s-page-hero__title { margin: 0; color: var(--blanc); }
.scf-tete__sur { font: 600 1.05rem/1.4 var(--texte); margin: 0 0 .6rem; }   /* sans capitales espacées (retour n° 4, partout) */
.scf-tete__lead { font-size: 1.2rem; margin: 1rem 0 0; max-width: 46rem; }
.crumbs ol { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; font-size: 13px; color: var(--gris); }
.crumbs li + li::before { content: "/"; margin: 0 .5rem; color: var(--filet); }
.crumbs a { color: var(--noir); font-weight: 600; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- sections du catalogue */
.s-texte, .s-galerie, .s-faq, .s-tarifs, .s-equipe, .s-logos, .s-contact, .s-module, .s-bandeau-cta, .s-legal, .s-etapes, .s-cartes { padding-block: calc(var(--rythme) / 2); }
.s-head { max-width: 46rem; margin: 0 0 1.5rem; }
.s-title { font-size: var(--f16-h2-size); }
.s-eyebrow { color: var(--gris); }
.s-eyebrow::before { display: none; }
.s-lead { font-size: var(--f16-lead-size); color: var(--gris); }
.s-texte__body, .prose { font-size: 16px; max-width: 46rem; }
.s-texte__body p, .prose p { margin: 0 0 1em; }
.s-texte__body a, .prose a { font-weight: 600; }
.tone-alt { background: var(--neige); }

/* Texte et image : photo haute, texte aéré ; l'image déborde légèrement de la grille */
.s-texte-image { padding-block: var(--rythme); }
.s-texte-image + .s-texte-image { padding-top: 0; }
.s-texte-image__grid { gap: clamp(2rem, 1rem + 4vw, 6rem); }
@media (min-width: 960px) { .s-texte-image__grid { grid-template-columns: 5fr 7fr; } .s-texte-image.is-image-left .s-texte-image__grid { grid-template-columns: 7fr 5fr; } .s-texte-image.is-image-left .s-texte-image__media { order: -1; } .s-texte-image.is-image-left .s-texte-image__body { order: 2; } }
.s-texte-image__media img { aspect-ratio: 4 / 3; width: 100%; height: auto; object-fit: cover; border-radius: var(--r-photo); }
.s-texte-image .s-title { font-size: var(--t-h2); line-height: 1; }

/* Image à gauche : encadré clair dans la largeur du contenu, photo collée au bord gauche de l'encadré, texte posé à
   droite (passe « rassurante » : plus de bande noire). */
.s-texte-image.is-image-left { padding-block: var(--rythme); }
.s-texte-image.is-image-left .s-texte-image__grid { max-width: calc(var(--wrap) - 2 * var(--gutter)); margin-inline: auto; padding: 0; gap: 0; background: var(--neige); border-radius: var(--r-photo); overflow: hidden; }
@media (max-width: 959px) { .s-texte-image.is-image-left .s-texte-image__grid { margin-inline: var(--gutter); } }
.s-texte-image.is-image-left .s-texte-image__media img { aspect-ratio: auto; height: 100%; min-height: 22rem; border-radius: 0; }
.s-texte-image.is-image-left .s-texte-image__body { padding: var(--rythme) var(--gutter); max-width: 40rem; }
@media (min-width: 960px) {
  .s-texte-image.is-image-left .s-texte-image__grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .s-texte-image.is-image-left .s-texte-image__body { align-self: center; padding-inline: clamp(2.5rem, 5vw, 5rem); }
  .s-texte-image.is-image-left .s-texte-image__media { position: relative; min-height: 26rem; }   /* la photo suit la hauteur du texte, même en portrait */
  .s-texte-image.is-image-left .s-texte-image__media img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 50% 30%; }
}

/* Sponsors : logos en niveaux de gris, couleur au survol */
.s-logos { border-top: 1px solid var(--filet); margin-top: 0; padding-block: calc(var(--rythme) * .75); }
.s-logos .s-head { margin-bottom: 1.5rem; }
.s-logos .s-title { font: 600 var(--t-h3)/1.1 var(--titre); color: var(--noir); }
.s-logos__list, .s-logos ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.6rem 2rem; }
.s-logos li { flex: 0 1 auto; min-width: 0; }
.s-logos img { height: 40px; max-width: 150px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter var(--t-court) var(--ease), opacity var(--t-court) var(--ease); }   /* même hauteur pour tous les logos */
.s-logos li { display: flex; align-items: center; min-height: 48px; }
.s-logos li:hover img { filter: none; opacity: 1; }
@media (max-width: 760px) { .s-logos__list, .s-logos ul { justify-content: flex-start; gap: 1.5rem 2rem; } }

/* ---------------------------------------------------------------- prix (lignes à points) */
.x-prix { max-width: var(--wrap); margin: 0 auto; padding: var(--rythme) var(--gutter) 0; }
.x-prix h2 { font-size: var(--t-h2); max-width: 22ch; }
.x-prix > p:not(.scf-boutons) { max-width: 46rem; }
.x-prix .scf-boutons { margin: 1rem 0 1.4rem; }
.x-prix__ligne { display: flex; align-items: baseline; gap: .8rem; margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--filet); }
.x-prix__ligne span { font: 600 20px/1.2 var(--titre); white-space: nowrap; }
.x-prix__ligne i { flex: 1; border-bottom: 1px dotted var(--gris); transform: translateY(-5px); }
.x-prix__ligne b { font: 600 clamp(2rem, 1.4rem + 2vw, 3rem)/1 var(--titre); white-space: nowrap; }
.x-prix__notes { list-style: none; margin: .4rem 0 0; padding: 0; font-size: 13px; line-height: 1.6; color: var(--gris); }
.x-prix__notes li::before { content: "– "; }
.x-alerte { max-width: var(--wrap); margin: 0 auto; padding: 1rem var(--gutter) clamp(2rem, 1.5rem + 3vw, 4rem); }

/* ---------------------------------------------------------------- prochaines sorties */
.x-sorties { max-width: var(--wrap); margin: 0 auto; padding: var(--rythme) var(--gutter) 0; }
.x-sorties > h2 { font-size: var(--t-h2); margin-bottom: 1.5rem; }
.x-sorties ol { list-style: none; margin: 0; padding: 0; }
.x-sorties li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem 2rem; border-bottom: 1px solid var(--filet); padding: 1.4rem 0; }
.x-sorties__pave { margin: 0; width: 4.5rem; display: grid; justify-items: center; line-height: 1; }
.x-sorties__pave b { font: 600 2.6rem/1 var(--titre); }
.x-sorties__pave span { font: 700 .75rem/1 var(--texte); letter-spacing: .12em; text-transform: uppercase; color: var(--gris); }
.x-sorties h3 { font-size: var(--t-h3); }
.x-sorties h3 a { text-decoration: none; }
.x-sorties h3 a:hover { text-decoration: underline; }
.x-sorties__date { font-size: 14px; color: var(--gris); margin: .35rem 0 0; }
.x-sorties__moniteur { font-size: 14px; margin: .2rem 0 0; }
.x-sorties__moniteur a { font-weight: 600; }
.x-sorties__etat { font-size: 13px; font-weight: 700; margin: .3rem 0 0; color: var(--orange); }
.x-sorties__vide { color: var(--gris); font-size: 1.1rem; }
@media (max-width: 640px) { .x-sorties li { grid-template-columns: auto 1fr; } .x-sorties li .btn { grid-column: 1 / -1; } }

/* Fiche d'une sortie ou du camp (module sessions, vue « date » du thème) : sans bandeau photo (retour n° 26) */
.scf-fiche { max-width: var(--wrap); margin: 0 auto; padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) var(--gutter) 0; display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3rem); }
.scf-fiche__tete h1 { font-size: var(--t-h1); line-height: 1.02; margin: .2rem 0 .6rem; }
.scf-fiche__quand { font-size: 1.15rem; margin: 0; }
.scf-fiche__tete .scf-boutons { margin-top: 1.2rem; }
.wrap .scf-fiche { padding-inline: 0; }   /* dans la section du module : une seule marge, alignée sur l'en-tête */
.scf-fiche__faits { margin: 0; }
.scf-fiche__faits > div { display: grid; gap: .35rem; align-content: start; padding: 1.2rem 1.4rem; background: var(--neige); }
.scf-fiche__faits dt { font-size: .875rem; color: var(--gris); line-height: 1.4; }
.scf-fiche__faits dd { margin: 0; font: 600 1.3rem/1.2 var(--titre); }
.scf-fiche .s-tarifs__group { padding: 1.6rem 1.8rem; background: var(--neige); border-radius: var(--r-photo); }
.scf-fiche .s-tarifs__group h3 { font-size: var(--t-h3); margin: 0 0 .6rem; }
.scf-fiche .s-tarifs__group dl div { align-items: baseline; padding: .9rem 0; border-bottom: 1px solid var(--filet); }
.scf-fiche .s-tarifs__group dl div:last-child { border-bottom: 0; }
.scf-fiche .s-tarifs__group dd { margin: 0; font: 600 1.6rem/1 var(--titre); white-space: nowrap; }
.scf-fiche .s-tarifs__foot { margin: 1rem 0 0; color: var(--gris); font-size: .9rem; }
.scf-fiche__faits dd a { text-decoration: underline; text-underline-offset: .2em; }
.scf-fiche__texte { max-width: 46rem; }
.scf-fiche h2 { font-size: var(--t-h2); margin-bottom: 1rem; }
.scf-fiche .s-tarifs__groups { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.scf-fiche .s-tarifs__group dl { margin: 0; }
.scf-fiche .s-tarifs__group dl div { display: flex; justify-content: space-between; gap: 1rem; }
.scf-fiche .s-tarifs__group dt { display: inline-flex; align-items: center; gap: .4rem; }
.scf-fiche__inscription { padding: clamp(1.4rem, 1rem + 2vw, 2.4rem); background: var(--neige); border-radius: 12px; }
.scf-mp { display: inline-flex; align-items: center; font-weight: 600; }
.scf-mp img { height: 1.2em; width: auto; }
.scf-mp-ok { font-weight: 700; margin-right: .15em; }   /* retour n° 30 : « ✓ » + logo, sans répéter « Avec » */
/* Lot 80 : interrupteur « Mon enfant a un Magic Pass » des prix du camp (role switch ; sans JavaScript, caché et les deux
   prix visibles). « Magic Pass » en texte dans une pastille, sans le logo. */
.scf-mp-pastille { display: inline-flex; align-items: center; min-height: 26px; padding: 0 .7rem; border: 1px solid currentColor; border-radius: var(--r-pilule);
  font: 600 .9rem/1 var(--texte); white-space: nowrap; }
.scf-mp-choix { margin: 0 0 1.2rem; }
.scf-switch { display: inline-flex; align-items: center; gap: .8rem; min-height: 44px; padding: 0; border: 0; background: none; color: inherit;
  font: 500 1rem/1.3 var(--texte); text-align: left; cursor: pointer; }
.scf-switch__rail { position: relative; flex: none; width: 46px; height: 28px; border-radius: 14px; background: var(--gris); transition: background .15s; }
.scf-switch__rail::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--blanc);
  box-shadow: 0 1px 2px rgb(0 0 0 / .25); transition: transform .15s; }
.scf-switch[aria-checked="true"] .scf-switch__rail { background: var(--noir); }
.scf-switch[aria-checked="true"] .scf-switch__rail::after { transform: translateX(18px); }
.scf-switch:focus-visible { outline: 2px solid var(--noir); outline-offset: 4px; border-radius: 4px; }
.s-tarifs.a-mp-choix [data-mp="1"], .s-tarifs.a-mp-choix.avec-mp [data-mp="0"] { display: none; }
.s-tarifs.a-mp-choix.avec-mp [data-mp="1"] { display: flex; }
.s-tarifs.a-mp-choix dl div:not([hidden]) { border-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .scf-switch__rail, .scf-switch__rail::after { transition: none; } }

/* ---------------------------------------------------------------- souvenirs (retour n° 13 : mise en page revue)
   Années en pastilles collées sous l'en-tête ; une section par année : titre, nombre de photos, grille dont la première
   photo est grande ; 9 photos puis « Voir les N photos » (site.js) ; « Tout » montre l'aperçu de chaque année. */
.x-onglets { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 77px); z-index: 15; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding: .8rem max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); border-bottom: 1px solid var(--filet); }
.x-onglets::-webkit-scrollbar { display: none; }
.x-onglets a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 1.1rem; border: 1px solid var(--filet); border-radius: var(--r-pilule);
  font: 600 18px/1 var(--titre); letter-spacing: .02em; text-decoration: none; color: var(--noir); transition: background-color var(--t-court), color var(--t-court), border-color var(--t-court); }
.x-onglets a:hover { border-color: var(--noir); }
.x-onglets a[aria-current="true"] { background: var(--noir); border-color: var(--noir); color: var(--blanc); }
.s-galerie { padding-block: calc(var(--rythme) * .6); scroll-margin-top: 150px; }
.s-galerie .s-head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.2rem; }
.s-galerie .s-title { font-size: var(--t-h2); }
.scf-compte { margin: 0; color: var(--gris); font-size: .95rem; }
.s-galerie .s-galerie__grid, .gallery-justified { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 8px !important; }
.gallery-justified > li { flex: none !important; width: auto !important; min-width: 0; margin: 0 !important; }
.gallery-justified > li:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-justified a.gv-item { display: block; width: 100% !important; aspect-ratio: 1 !important; height: 100%; overflow: hidden; border-radius: var(--r-photo); }
.gallery-justified > li:first-child a.gv-item { aspect-ratio: auto !important; }
.s-galerie .s-galerie__grid img, .gallery-justified img, .gallery-justified picture { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform var(--t-long) var(--ease); }
.gallery-justified a.gv-item:hover img { transform: scale(1.04); }
.s-galerie.is-court .gallery-justified > li:nth-child(n+10) { display: none !important; }
.scf-plus { margin: 1.2rem 0 0; }
@media (max-width: 767px) { .s-galerie .s-galerie__grid, .gallery-justified { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 6px !important; } }
@media (max-width: 1024px) { .x-onglets { top: calc(env(safe-area-inset-top, 0px) + 69px); } }
@media (max-width: 767px) { .gallery-justified > li:first-child a.gv-item { aspect-ratio: 1 !important; } }

/* ---------------------------------------------------------------- formulaires (module formulaire) */
.hp { position: absolute; left: -9999px; }
.fields { display: grid; gap: 1.2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; max-width: 46rem; }
.fields .field-message, .fields .field-email, .fields .choices, .fields .field-adresse { grid-column: 1 / -1; }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } }
.field label, .choices legend { display: block; margin-bottom: .4rem; font: 600 13px/1.3 var(--texte); letter-spacing: .02em; }
.field input:not([type=radio]):not([type=checkbox]), .field textarea, .field select { width: 100%; min-width: 0; height: 52px; padding: 0 1rem; border: 1px solid #9aa2a8; border-radius: 4px; -webkit-appearance: none; appearance: none;
  font: 400 16px var(--texte); color: var(--noir); background: var(--blanc); transition: border-color var(--t-court), box-shadow var(--t-court); }
.field textarea { height: auto; min-height: 9rem; padding: .85rem 1rem; resize: vertical; }
.field input:not([type=radio]):not([type=checkbox]):hover, .field textarea:hover, .field select:hover { border-color: var(--noir); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--noir); box-shadow: 0 0 0 1px var(--noir); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--rouge); }
.choices { border: 0; padding: 0; margin: 0; display: flex; gap: 1.2rem; flex-wrap: wrap; } .choices legend { width: 100%; }
.choices label { display: inline-flex; gap: .5rem; align-items: center; font-size: 15px; min-height: 44px; }
.choices input[type=radio], .choices input[type=checkbox], .field input[type=radio], .field input[type=checkbox] { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--noir); }   /* boutons ronds et cases à leur taille (retour n° 25) */
.field-error { margin: .35rem 0 0; color: var(--rouge); font-size: .875rem; font-weight: 600; }
.form-note { font-size: 13px; color: var(--gris); }
.form-actions { margin-top: 1.4rem; }
.form-status.is-ok { color: var(--vert); font-weight: 600; } .form-status.is-error { color: var(--rouge); font-weight: 600; }
.s-contact__grid { gap: clamp(2rem, 1rem + 4vw, 6rem); }
@media (min-width: 960px) { .s-contact__grid:has(.s-contact__form) { grid-template-columns: 5fr 7fr; } }
.s-contact__list:empty { display: none; }
.s-contact__form .fields { grid-template-columns: 1fr; }
.s-contact__info .prose { color: var(--gris); }
.s-contact__info .prose a { color: var(--noir); white-space: nowrap; }

/* ---------------------------------------------------------------- pied de page : clair, logo noir et menu */
.scf-pied { background: var(--neige); color: var(--noir); margin-top: var(--rythme); padding: clamp(2.5rem, 2rem + 2vw, 3.5rem) var(--gutter) calc(1.5rem + env(safe-area-inset-bottom, 0px)); }
.scf-pied__in { max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--filet); }
.scf-pied__logo img { height: 64px; width: auto; }
.scf-pied__nav { display: flex; flex-wrap: wrap; gap: .5rem 2rem; }
.scf-pied__nav a { font: 600 20px/1.2 var(--titre); letter-spacing: .02em; text-decoration: none; padding: .4rem 0; }
.scf-pied__nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.scf-pied__legal { max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 1.4rem auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; font-size: 13px; color: var(--gris); }
.scf-pied__legal a { text-decoration: none; color: var(--gris); } .scf-pied__legal a:hover { color: var(--noir); text-decoration: underline; }
.f16-credit { display: inline-flex; align-items: center; gap: .35rem; color: inherit; text-decoration: none; }
.f16-logo { height: .7em; width: auto; }

/* Avertissement (« Pour des questions autres que le camp ») */
.scf-alerte { color: var(--rouge); font-weight: 700; font-size: 14px; }
.scf-alerte a { color: var(--noir); }

/* ---------------------------------------------------------------- annonce, pastille, sponsors, prix, étapes, bandeau (lot 4)
   Ton calme et clair pour les parents : encadrés clairs, infos pratiques visibles, boutons d'inscription nets. */
.scf-pastille { display: inline-flex; align-items: center; gap: .5rem; min-height: 32px; padding: 0 .9rem; border-radius: var(--r-pilule); background: var(--noir); color: var(--blanc);
  font: 600 .875rem/1 var(--texte); text-decoration: none; }
.scf-pastille::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.x-bienvenue__annonce { margin: 0 0 1.2rem; }
.x-bienvenue__annonce .scf-pastille::before { display: none; }   /* le texte commence par un émoji */
.x-bienvenue__annonce .scf-pastille { min-height: 0; padding: 0; border-radius: 0; background: none; color: inherit; font: 600 1.05rem/1.4 var(--texte); text-decoration: underline; text-underline-offset: .25em; }   /* simple lien, plus de pastille (retour n° 20) */
.x-bienvenue__annonce .scf-pastille:hover { text-decoration-thickness: 2px; }
.x-annonce { max-width: var(--wrap); margin: 0 auto; padding: var(--rythme) var(--gutter) 0; }
.x-annonce__in { display: grid; gap: 1rem; justify-items: start; padding: clamp(1.8rem, 1rem + 3vw, 3.5rem); border: 1px solid var(--filet); border-radius: 12px; background: var(--blanc); box-shadow: 0 10px 30px rgba(13,17,20,.06); }
.x-annonce h2 { font-size: var(--t-h2); }
.x-annonce__texte { margin: 0; font-size: 1.1rem; max-width: 40rem; }
.x-annonce__infos { width: 100%; margin: .5rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 1rem 2rem; padding: 1.2rem 0; border-block: 1px solid var(--filet); }
.x-annonce__infos dt { font-size: .875rem; color: var(--gris); }
.x-annonce__infos dd { margin: .2rem 0 0; font: 600 1.3rem/1.15 var(--titre); }
.x-annonce .scf-boutons { margin-top: .4rem; }

/* Sponsors qui défilent (site.js double la liste) ; immobiles si l'on réduit les animations */
.s-logos { border-top: 0; padding-block: calc(var(--rythme) * .6); overflow: hidden; }
.s-logos .s-head { margin-bottom: 1.2rem; }
.s-logos.is-defile .s-logos__list, .s-logos.is-defile ul { flex-wrap: nowrap; justify-content: flex-start; gap: 0; width: max-content; }
.s-logos.is-defile li { padding-inline: clamp(1.5rem, 3vw, 3rem); }
@media (prefers-reduced-motion: no-preference) {
  .s-logos.is-defile ul { animation: scf-defile 40s linear infinite; }
  .s-logos.is-defile:hover ul { animation-play-state: paused; }
}
@keyframes scf-defile { to { transform: translateX(-50%); } }

.x-soutiens__nom { display: inline-block; font: 600 1.35rem/1 var(--titre); color: var(--gris); white-space: nowrap; }   /* en attendant le logo */

/* Prix (section tarifs du catalogue) : deux cartes claires côte à côte */
.s-tarifs { padding-block: var(--rythme) 0; }
.s-tarifs__groups { gap: 1.2rem; }
.s-tarifs__group { padding: 1.6rem 1.8rem; background: var(--neige); border-radius: var(--r-photo); }
.s-tarifs__group h3 { font-size: var(--t-h3); margin-bottom: .6rem; }
.s-tarifs dl div { align-items: baseline; padding: .9rem 0; border-bottom: 1px solid var(--filet); }
.s-tarifs dl div:last-child { border-bottom: 0; }
.s-tarifs dt { font-size: 1rem; }
.s-tarifs dd { font: 600 1.6rem/1 var(--titre); }
.s-tarifs__foot, .s-tarifs__note { margin-top: 1rem; color: var(--gris); font-size: .9rem; }

/* Étapes et bandeau final */
.s-etapes { padding-block: var(--rythme) 0; }
.s-etapes__list { gap: 1.2rem; }
.s-etapes__list li { padding: 1.4rem; background: var(--neige); border-radius: var(--r-photo); }
.s-etapes__n { background: var(--noir); color: var(--blanc); font-family: var(--titre); font-weight: 600; }
.s-etapes__list h3 { font-size: 1.3rem; }
.s-bandeau-cta { padding-block: var(--rythme) 0; }
.s-bandeau-cta__in { width: min(calc(100% - 2 * var(--gutter)), calc(var(--wrap) - 2 * var(--gutter))); padding: clamp(1.6rem, 1rem + 2vw, 2.5rem) !important; border: 1px solid var(--filet); border-radius: 12px; }   /* aligné sur le contenu */
.s-bandeau-cta__in > * { border: 0; padding: 0; }
.s-bandeau-cta .s-title { font-size: var(--t-h2); }

/* Mon compte (noyau, /mon-compte/ et ses vues) : contenu calé sur le bord gauche des pages, même largeur (46rem) ;
   le noyau le centre. Demande de Stéphane, 09.11.2026. Sans effet au téléphone (le contenu y prend toute la largeur). */
.s-comptes .cm-account { margin-inline: 0; }

/* Compte famille : formulaire dans un encadré clair (retour n° 19) */
.ss-account .ss-card { padding: clamp(1.4rem, 1rem + 2vw, 2.4rem); background: var(--neige); border-radius: 12px; }
.ss-account .ss-card h2 { font-size: var(--t-h2); }
.ss-account input:not([type=checkbox]):not([type=radio]), .ss-account select, .ss-account textarea { background: var(--blanc); }

/* ---------------------------------------------------------------- mouvement (CSS seulement, désactivé si l'on réduit les animations) */
@media (prefers-reduced-motion: no-preference) {
  .x-bienvenue.has-image .x-bienvenue__photo img { animation: scf-zoom 2.4s var(--ease) both; }
  .x-bienvenue.has-image .x-bienvenue__txt > * { animation: scf-monte .9s var(--ease) both; }
  .x-bienvenue.has-image .x-bienvenue__txt > :nth-child(2) { animation-delay: .08s; }
  .x-bienvenue.has-image .x-bienvenue__txt > :nth-child(3) { animation-delay: .16s; }
  .x-bienvenue.has-image .x-bienvenue__txt > :nth-child(4) { animation-delay: .24s; }
  @supports (animation-timeline: view()) {
    .s-texte-image__media img, .x-reperes__list > div, .x-sorties li, .x-prix__ligne { animation: scf-apparait linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  }
}
@keyframes scf-zoom { from { transform: scale(1.08); } to { transform: none; } }
@keyframes scf-monte { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes scf-apparait { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- module sessions (compte famille), au style du site */
html:root { --ss-accent: var(--noir); --ss-accent-ink: var(--blanc); --ss-border: var(--noir); --ss-muted: var(--gris); --ss-error: var(--rouge); --ss-ok: var(--vert); --ss-radius: 4px; }
.ss-btn, .scf-cadre .ss-btn, a.ss-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 28px; border-radius: var(--r-pilule);
  border: 2px solid var(--noir); background: var(--noir); color: var(--blanc); font: 600 19px/1 var(--titre); letter-spacing: .02em; text-decoration: none; cursor: pointer; }
.ss-btn-secondary { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 22px; border-radius: var(--r-pilule); border: 2px solid var(--noir);
  background: var(--blanc); color: var(--noir); font: 600 18px/1 var(--titre); text-decoration: none; cursor: pointer; }
.ss-btn-link { background: none; border: 0; padding: .3rem 0; color: var(--noir); font: 600 14px var(--texte); text-decoration: underline; cursor: pointer; }
.ss-family-cta { margin: 0 0 .6rem; }
.ss-help, .ss-muted { color: var(--gris); font-size: 13px; }
.ss-account { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 2.2rem; }
.wrap .ss-account { padding-inline: 0; }   /* dans une section : aligné sur le titre de la page (retour n° 10) */
.ss-account .ss-card { display: grid; gap: .9rem; max-width: 46rem; }
.ss-account .ss-card h2 { font-size: var(--t-h2); }
.ss-account .ss-card p { margin: 0; }
.ss-account .ss-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 640px) { .ss-account .ss-grid { grid-template-columns: 1fr; } }
.ss-account .ss-wide { grid-column: 1 / -1; }
.ss-account .ss-field label, .ss-account legend { display: block; margin-bottom: .4rem; font: 600 13px/1.3 var(--texte); }
.ss-account input:not([type=checkbox]):not([type=radio]), .ss-account select, .ss-account textarea {
  width: 100%; min-width: 0; height: 52px; padding: 0 1rem; border: 1px solid #9aa2a8; border-radius: 4px; -webkit-appearance: none; appearance: none; font: 400 16px var(--texte); color: var(--noir); background: var(--blanc); }
.ss-account textarea { height: auto; min-height: 6rem; padding: .85rem 1rem; }
.ss-account .ss-yesno { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }
.ss-account .ss-yesno legend { width: 100%; }
.ss-account .ss-yesno label, .ss-account .ss-check { display: inline-flex; align-items: flex-start; gap: .5rem; font-size: 15px; cursor: pointer; }
.ss-account input[type=checkbox], .ss-account input[type=radio] { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--noir); flex: none; }
.ss-account .ss-has-error input, .ss-account .ss-has-error select, .ss-account .ss-has-error textarea { border-color: var(--rouge); }
.ss-account .ss-error { color: var(--rouge); font-weight: 700; margin: 0; } .ss-account .ss-ok { color: var(--vert); font-weight: 700; margin: 0; }
.ss-account .ss-note { font-weight: 600; }
.ss-for-date { font-size: 13px; color: var(--gris); }
/* Fiche d'une sortie, connexion unique (sessions 1.28) : pas de carte intérieure dans l'encadré « Inscrire mon enfant »,
   un seul titre et un seul retrait ; « Qui vient ? » reste lu par les lecteurs d'écran (décision de Stéphane, 08.11.2026) */
.scf-fiche__inscription .ss-account .ss-card { padding: 0; background: none; border-radius: 0; }
.scf-fiche__inscription .ss-register > h2 { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ss-pick { border: 0; border-bottom: 1px solid var(--filet); padding: 1rem 0 1.2rem; margin: 0; display: grid; gap: .9rem; }
.ss-pick.is-done { opacity: .55; }
.ss-pick__name span { display: grid; } .ss-pick__name strong { font: 600 1.5rem/1.1 var(--titre); }
.ss-total { font: 600 2rem/1 var(--titre); margin: 0; }
.ss-kids, .ss-regs { list-style: none; margin: 0; padding: 0; }
.ss-kids li, .ss-regs li { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; padding: .9rem 0; border-bottom: 1px solid var(--filet); }
.ss-kid__av { display: none; }
.ss-kid__txt, .ss-reg__txt { display: grid; flex: 1; min-width: 0; }
.ss-kid__txt strong, .ss-reg__txt strong { font: 600 1.4rem/1.1 var(--titre); }
.ss-reg__cancel { display: flex; align-items: center; gap: .8rem; flex-basis: 100%; justify-content: space-between; }
.ss-badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--r-pilule); border: 1px solid currentColor; font: 600 12px/1 var(--texte); white-space: nowrap; }
.ss-badge.s-confirmed { color: var(--vert); } .ss-badge.s-pending { color: var(--orange); } .ss-badge.s-waiting { color: var(--noir); } .ss-badge.s-cancelled, .ss-badge.s-expired { color: var(--gris); }
.ss-logout { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.ss-closed { color: var(--gris); }

/* Personnes (retours n° 32 et 33) : photo ronde, ou icône par défaut (silhouette noire sur gris clair). Comité, cartes des
   moniteurs et fiche d'un moniteur. */
.scf-avatar { display: grid; place-items: center; width: 96px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--neige); color: var(--noir); margin-bottom: .9rem; }
.scf-avatar svg { width: 62%; height: 62%; }
.scf-avatar img { width: 100%; height: 100%; object-fit: cover; }
.s-cartes .scf-avatar { width: 72px; }
.scf-tete__txt > .scf-avatar { width: 120px; margin-bottom: 1.25rem; }
