/* Prisme, la vitrine (prismeclub.fr).
   Même ambiance que l'appli (direction C « Club premium ») : bandeau bleu coupé en diagonale avec son liseré jaune,
   titres en Barlow Condensed italique, texte en Manrope, cartes arrondies sur fond clair.
   Les couleurs viennent de style/tokens.css (copié depuis l'appli à la construction) ; ce fichier n'ajoute que les
   ombres et deux teintes claires pour les rayons du logo posés sur le bleu.
   Les écrans de téléphone (classes m-*) sont dessinés en em : la taille de police de .ecran règle tout l'écran. */

:root {
  --v-largeur: 1180px;
  --v-gouttiere: 16px;
  --v-cyan-clair: #67D7EE;
  --v-violet-clair: #B6A2FB;
  --v-bleu-vif: color-mix(in srgb, var(--club-principal) 72%, #2F5BFF);
  --v-ombre-1: 0 1px 2px rgb(14 21 48 / 0.05), 0 6px 20px rgb(14 21 48 / 0.06);
  --v-ombre-2: 0 2px 6px rgb(14 21 48 / 0.08), 0 18px 44px rgb(14 21 48 / 0.12);
  --v-ombre-tel: 0 42px 80px rgb(0 6 40 / 0.34), 0 12px 28px rgb(0 6 40 / 0.22);
  --v-coupe: 52px;
  --v-debord: 170px;
}
@media (min-width: 640px) { :root { --v-gouttiere: 24px; } }
@media (min-width: 1024px) { :root { --v-gouttiere: 32px; --v-coupe: 96px; --v-debord: 150px; } }

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--police-texte);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--encre);
  background: var(--surface);
}
@media (min-width: 1024px) { body { font-size: 1.0625rem; } }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--club-principal); outline-offset: 3px; border-radius: 6px; }
.entete :focus-visible, .heros :focus-visible, .section--bleu :focus-visible, .pied :focus-visible,
.carte--acces :focus-visible, .offre--test :focus-visible { outline-color: var(--club-accent); }

.conteneur { width: 100%; max-width: calc(var(--v-largeur) + 2 * var(--v-gouttiere)); margin-inline: auto; padding-inline: var(--v-gouttiere); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.evitement {
  position: absolute; left: 12px; top: -64px; z-index: 100;
  padding: 10px 14px; border-radius: 10px;
  background: var(--club-accent); color: var(--club-sur-accent); font-weight: 800; text-decoration: none;
}
.evitement:focus { top: 12px; }

.ic { width: 22px; height: 22px; flex: none; display: inline-block; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic--petite { width: 18px; height: 18px; stroke-width: 2.3; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Le logo de Prisme (symbole #glyphe), toujours posé sur le bleu, et le logo du club fictif des écrans */
.glyphe-prisme { fill: var(--sur-bandeau-trace); stroke: #FFFFFF; stroke-width: 2.4; stroke-linejoin: round; }
.glyphe-rayon, .glyphe-faisceau, .glyphe-jaune, .glyphe-cyan, .glyphe-violet { fill: none; stroke-width: 2.4; stroke-linecap: round; }
.glyphe-rayon { stroke: #FFFFFF; }
.glyphe-faisceau { stroke: var(--sur-bandeau-doux); stroke-width: 2; }
.glyphe-jaune { stroke: var(--club-accent); }
.glyphe-cyan { stroke: var(--v-cyan-clair); }
.glyphe-violet { stroke: var(--v-violet-clair); }
.logo-fond { fill: #FFFFFF; }
.logo-ecu { fill: var(--club-principal); }
.logo-bande { fill: none; stroke: var(--club-accent); stroke-width: 3; stroke-linecap: round; }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px;
  border: 0; border-radius: var(--r-bouton);
  font: italic 700 1.3rem/1 var(--police-titre); letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--duree-courte) var(--courbe), transform var(--duree-courte) var(--courbe), box-shadow var(--duree) var(--courbe);
}
.btn:active { transform: scale(0.98); }
.btn--jaune { background: var(--club-accent); color: var(--club-sur-accent); box-shadow: 0 6px 18px rgb(249 212 28 / 0.25); }
.btn--jaune:hover { background: color-mix(in srgb, var(--club-accent) 90%, #000); }
.btn--bleu { background: var(--club-principal); color: var(--club-sur-principal); }
.btn--bleu:hover { background: var(--club-principal-fonce); }
.btn--calque { background: var(--sur-bandeau-calque); color: var(--club-sur-principal); }
.btn--calque:hover { background: var(--sur-bandeau-piste); }
.btn--contour { background: transparent; color: var(--club-principal); box-shadow: inset 0 0 0 2px var(--club-principal); }
.btn--contour:hover { background: var(--club-principal-doux); }
.btn--petit { min-height: 42px; padding: 0 16px; font-size: 1.08rem; }
.btn--large { width: 100%; }
.btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }

/* ---------- En-tête ---------- */

.entete { position: sticky; top: 0; z-index: 50; background: var(--club-principal); color: var(--club-sur-principal); transition: box-shadow var(--duree) var(--courbe); }
.entete.est-defile { box-shadow: 0 8px 24px rgb(0 8 40 / 0.25); }
.entete__barre { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.marque { display: inline-flex; align-items: center; gap: 10px; color: var(--club-sur-principal); text-decoration: none; }
.marque__glyphe { width: 36px; height: 29px; flex: none; }
.marque__nom { font: italic 800 1.7rem/1 var(--police-titre); letter-spacing: 0.01em; }
.entete__nav { display: none; }
.entete__actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lien-connexion { padding: 10px 2px; font-weight: 700; font-size: 0.95rem; text-decoration: none; white-space: nowrap; }
.lien-connexion:hover { text-decoration: underline; text-underline-offset: 4px; }
.court { display: none; }
@media (max-width: 639px) {
  .long { display: none; }
  .court { display: inline; }
}
@media (max-width: 419px) {
  .marque__nom { font-size: 1.5rem; }
  .entete__actions { gap: 10px; }
}
@media (min-width: 1024px) {
  .entete__nav { display: flex; gap: 30px; margin-left: 48px; }
  .entete__nav a { color: var(--sur-bandeau-doux); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 8px 0; }
  .entete__nav a:hover { color: var(--club-sur-principal); }
}

/* ---------- Héros ---------- */

.heros { position: relative; color: var(--club-sur-principal); padding-top: 36px; }
.heros__fond { position: absolute; inset: 0 0 var(--v-debord) 0; pointer-events: none; }
.heros__lisere { position: absolute; inset: 0; background: var(--club-accent); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--v-coupe) + 14px), 0 100%); }
.heros__bleu {
  position: absolute; inset: 0 0 10px 0; overflow: hidden;
  background: radial-gradient(900px 520px at 88% 6%, var(--v-bleu-vif) 0%, transparent 62%), var(--club-principal);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--v-coupe)), 0 100%);
}
.heros__terrain { position: absolute; top: 0; right: -260px; height: 100%; width: auto; fill: none; stroke: var(--sur-bandeau-trace); stroke-width: 2; }
.heros__grille { position: relative; display: grid; gap: 44px; }
.heros__texte > * { animation: monte 0.7s var(--courbe) both; }
.heros__texte > :nth-child(2) { animation-delay: 0.06s; }
.heros__texte > :nth-child(3) { animation-delay: 0.12s; }
.heros__texte > :nth-child(4) { animation-delay: 0.18s; }
.heros__texte > :nth-child(5) { animation-delay: 0.24s; }
.surtitre {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  padding: 8px 14px; border-radius: var(--r-pastille);
  background: var(--sur-bandeau-calque); font: 700 0.85rem/1.3 var(--police-texte);
}
.surtitre__point { width: 8px; height: 8px; border-radius: 50%; background: var(--club-accent); flex: none; }
.heros h1 { margin-top: 18px; font: italic 800 clamp(2.9rem, 1.7rem + 4.6vw, 5.2rem)/0.94 var(--police-titre); letter-spacing: -0.005em; }
.jaune { color: var(--club-accent); }
.heros__chapo { margin: 22px 0 0; max-width: 34em; font-size: clamp(1.06rem, 1rem + 0.35vw, 1.25rem); line-height: 1.55; color: var(--sur-bandeau-doux); }
.heros__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.garanties { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font: 600 0.92rem/1.3 var(--police-texte); color: var(--sur-bandeau-doux); }
.garanties li { display: flex; align-items: center; gap: 8px; }
.garanties .ic { color: var(--club-accent); }
.heros__visuel { display: flex; justify-content: center; }
.heros__tel { position: relative; animation: monte 0.9s 0.15s var(--courbe) both; }
.heros__tel > .tel:not(.tel--arriere) { z-index: 1; }
.tel--arriere { display: none; }
@media (min-width: 720px) {
  .heros__tel { padding-left: 132px; }
  .heros__tel .tel--arriere { display: block; position: absolute; left: 0; top: 64px; transform: rotate(-6deg) scale(0.9); transform-origin: 50% 100%; }
}
@media (min-width: 1024px) {
  .heros { padding-top: 56px; }
  .heros__grille { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: center; gap: 32px; }
  /* Le texte reste dans le bleu : sous lui, la hauteur du débord, la moitié de la diagonale et un peu d'air */
  .heros__texte { align-self: stretch; padding-bottom: calc(var(--v-debord) + var(--v-coupe) / 2 + 56px); }
  .heros__terrain { right: -120px; }
}

@keyframes monte { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes apparait { from { opacity: 0; transform: translateY(10px) scale(0.99); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */

.section { padding-block: clamp(72px, 40px + 6vw, 120px); }
.section--alt { background: var(--fond); }
.section--bleu { position: relative; overflow: hidden; background: var(--club-principal); color: var(--club-sur-principal); }
.section--bleu::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 420px at 100% 0%, var(--v-bleu-vif) 0%, transparent 65%);
}
.section--bleu > * { position: relative; }
#constat { padding-top: clamp(64px, 40px + 4vw, 96px); }
/* Le constat et l'appli sont tous deux sur fond blanc : pas de double marge entre eux */
#appli { padding-top: clamp(24px, 12px + 2vw, 48px); }

.tete { max-width: 780px; margin-bottom: clamp(36px, 24px + 3vw, 56px); }
.etiquette {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px;
  padding: 7px 13px; border-radius: var(--r-pastille);
  background: var(--club-principal-doux); color: var(--club-principal);
  font: 800 0.8rem/1 var(--police-texte); letter-spacing: 0.02em;
}
.etiquette--clair { background: var(--sur-bandeau-calque); color: var(--club-accent); }
h2 { font: italic 800 clamp(2.1rem, 1.35rem + 2.6vw, 3.3rem)/1 var(--police-titre); letter-spacing: -0.003em; }
h3 { font: italic 700 1.45rem/1.1 var(--police-titre); }
.chapo { margin: 18px 0 0; max-width: 40em; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); line-height: 1.6; color: var(--encre-2); }
.section--bleu .chapo { color: var(--sur-bandeau-doux); }

.grille-3 { display: grid; gap: 20px; }
@media (min-width: 820px) { .grille-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.grille-4 { display: grid; gap: 16px; }
@media (min-width: 640px) { .grille-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grille-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Listes cochées (une coche dessinée, sans image) */
.coches { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.coches li { position: relative; padding-left: 28px; line-height: 1.45; }
.coches li::before {
  content: ""; position: absolute; left: 6px; top: 0.18em;
  width: 7px; height: 13px; border: solid var(--club-principal); border-width: 0 2.6px 2.6px 0; transform: rotate(45deg);
}

/* ---------- Le constat ---------- */

.carte-v { padding: 28px; border-radius: var(--r-carte); background: var(--fond); display: flex; flex-direction: column; gap: 12px; }
.carte-v p { margin: 0; color: var(--encre-2); line-height: 1.6; }
.pastille-icone { width: 50px; height: 50px; border-radius: var(--r-note); background: var(--club-principal); color: var(--club-accent); display: flex; align-items: center; justify-content: center; flex: none; margin-bottom: 6px; }
.pastille-icone .ic { width: 25px; height: 25px; }

.mention-fictive { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 36px 0 0; color: var(--encre-douce); font-size: 0.9rem; text-align: center; }

/* ---------- Le téléphone et ses écrans ---------- */

.tel {
  position: relative; flex: none; width: 300px; padding: 10px;
  border-radius: 46px;
  background: linear-gradient(150deg, #262E4F, #080C1C 55%);
  box-shadow: var(--v-ombre-tel), inset 0 0 0 1.5px rgb(255 255 255 / 0.09);
}
.tel::before { content: ""; position: absolute; z-index: 5; top: 19px; left: 50%; width: 82px; height: 24px; transform: translateX(-50%); border-radius: var(--r-pastille); background: #070A17; }
.ecran {
  position: relative; height: 630px; overflow: hidden; border-radius: 36px;
  display: flex; flex-direction: column;
  background: var(--fond); color: var(--encre);
  font-family: var(--police-texte); font-size: 12px; line-height: 1.4;
}
@media (max-width: 359px) { .tel { width: 276px; } .ecran { height: 580px; font-size: 11px; } }

.m-ic { width: 1.45em; height: 1.45em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.m-statut { position: absolute; z-index: 4; top: 0; left: 0; right: 0; height: 3.5em; padding: 0 2.3em 0 2.6em; display: flex; align-items: center; justify-content: space-between; color: #FFFFFF; font: 700 1.05em/1 var(--police-texte); }
.m-statut svg { width: 4.6em; height: 1em; fill: currentColor; }

/* Le contenu chevauche le bas du bandeau, comme dans l'appli : le bandeau remonte sous lui, et le contenu passe devant */
.m-bandeau { position: relative; flex: none; padding-bottom: 0.5em; margin-bottom: -1.9em; color: var(--club-sur-principal); }
.m-bandeau__lisere { position: absolute; inset: 0; background: var(--club-accent); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2.9em + 0.62em), 0 100%); }
.m-bandeau__corps {
  position: relative; overflow: hidden; background: var(--club-principal);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2.9em), 0 100%);
  padding: 4.3em 1.4em 4.2em; display: flex; flex-direction: column; gap: 0.75em;
}
.m-bandeau__motif { position: absolute; top: 0; right: 0; width: 15em; height: 100%; fill: none; stroke: var(--sur-bandeau-trace); stroke-width: 2; }
.m-bandeau__haut { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 0.6em; }
.m-rond { width: 3.1em; height: 3.1em; border-radius: var(--r-pastille); background: var(--sur-bandeau-calque); display: flex; align-items: center; justify-content: center; }
.m-titre { position: relative; margin: 0; font: italic 700 2em/1.04 var(--police-titre); }
.m-sous-titre { position: relative; margin: 0; font-size: 0.875em; color: var(--sur-bandeau-doux); }
.m-club { position: relative; display: flex; align-items: center; gap: 0.8em; font-weight: 700; font-size: 0.95em; }
.m-logo { width: 2.8em; height: 2.8em; flex: none; }
.m-heros { position: relative; display: flex; align-items: flex-end; gap: 0.6em; }
.m-heros__chiffre { font: italic 800 4.4em/0.84 var(--police-titre); color: var(--club-accent); font-variant-numeric: tabular-nums; }
.m-heros__libelle { padding-bottom: 0.25em; font: italic 700 1.3em/1.05 var(--police-titre); }
.m-progression { position: relative; display: flex; align-items: center; gap: 0.9em; }
.m-progression__chiffre { font: italic 800 1.8em/1 var(--police-titre); color: var(--club-accent); font-variant-numeric: tabular-nums; }
.m-progression__barre { flex: 1; height: 0.55em; border-radius: var(--r-pastille); background: var(--sur-bandeau-piste); overflow: hidden; }
.m-progression__barre span { display: block; height: 100%; width: var(--v); border-radius: inherit; background: var(--club-accent); }

.m-contenu { position: relative; z-index: 1; flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 0.75em; padding: 0 1em 1em; }
.m-carte { flex: none; display: flex; flex-direction: column; gap: 0.85em; padding: 1.15em; border-radius: 1.375em; background: var(--surface); }
.m-carte--chevauche { position: relative; }
.m-carte__titre { margin: 0; font: italic 700 1.375em/1.1 var(--police-titre); }
.m-carte__tete { display: flex; align-items: center; justify-content: space-between; gap: 0.6em; }
.m-legende { margin: 0; font-size: 0.8125em; color: var(--encre-douce); }
.m-libelle { margin: 0; font-weight: 700; font-size: 0.9em; }

.m-joueur { display: flex; align-items: center; gap: 0.9em; }
.m-avatar { flex: none; width: 2.6em; height: 2.6em; border-radius: 0.68em; background: var(--club-principal); color: var(--club-accent); display: flex; align-items: center; justify-content: center; font: italic 800 1.3em/1 var(--police-titre); }
.m-joueur__id { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0.35em; }
.m-nom { font-weight: 800; font-size: 1.25em; letter-spacing: -0.01em; }
.m-interrupteur { display: flex; flex-direction: column; align-items: center; gap: 0.3em; font-size: 0.75em; color: var(--encre-douce); }
.m-interrupteur__piste { position: relative; width: 5.4em; height: 3.1em; border-radius: var(--r-pastille); background: var(--controle); }
.m-interrupteur__piste::after { content: ""; position: absolute; top: 0.4em; left: 0.4em; width: 2.3em; height: 2.3em; border-radius: 50%; background: #FFFFFF; }

.m-pastilles { display: flex; flex-wrap: wrap; gap: 0.45em; }
.m-pastille { display: inline-flex; align-items: center; gap: 0.3em; padding: 0.45em 0.85em; border-radius: var(--r-pastille); background: var(--champ); color: var(--encre); font: 600 0.8125em/1.25 var(--police-texte); white-space: nowrap; }
.m-pastille .m-ic { width: 1.2em; height: 1.2em; }
.m-pastille--choisie { background: var(--club-principal); color: var(--club-sur-principal); }
.m-pastille--calque { background: var(--sur-bandeau-calque); color: var(--club-sur-principal); }
.m-pastille--calque .m-ic { color: var(--club-accent); }
.m-pastille--succes { background: var(--succes-fond); color: var(--succes); }
.m-pastille--attention { background: var(--attention-fond); color: var(--attention); }
.m-pastille--club { background: var(--club-principal); color: var(--club-accent-lisible); font-weight: 800; }
.m-pastille--categorie { background: var(--objectif-categorie-fond); color: var(--objectif-categorie-encre); font-weight: 700; }
.m-pastille--defi { background: var(--objectif-defi-fond); color: var(--objectif-defi-encre); font-weight: 700; }

.m-critere { display: flex; flex-direction: column; gap: 0.45em; }
.m-critere__entete { margin: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 0.5em; }
.m-critere__nom { font-weight: 700; }
.m-critere__portee { margin-left: 0.5em; font-size: 0.75em; color: var(--encre-douce); font-weight: 500; }
.m-critere__etat { font-size: 0.8125em; font-weight: 600; color: var(--attention); }
.m-notes { display: flex; gap: 0.4em; }
.m-note { flex: 1 1 0; height: 2.08em; border-radius: 0.5em; background: var(--champ); display: flex; align-items: center; justify-content: center; font: italic 700 1.5em/1 var(--police-titre); }
.m-note--choisie { background: var(--club-principal); color: var(--club-sur-principal); box-shadow: inset 0 -0.17em 0 var(--club-accent); }
.m-note--nv { flex: 1.7 1 0; height: 3.57em; border-radius: 0.86em; font: 600 0.875em/1 var(--police-texte); color: var(--encre-douce); }

.m-actions { flex: none; display: flex; gap: 0.7em; padding: 0.9em 1em 1.7em; border-top: 1px solid var(--ligne); background: var(--fond); }
.m-carre { width: 3.6em; height: 3.6em; flex: none; border-radius: 1em; background: var(--champ-appuye); color: var(--club-principal); display: flex; align-items: center; justify-content: center; }
.m-principal { flex: 1; height: 2.62em; border-radius: 0.73em; background: var(--club-principal); color: var(--club-sur-principal); display: flex; align-items: center; justify-content: center; font: italic 700 1.375em/1 var(--police-titre); }

.m-nav { flex: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); padding: 0 0.5em 1.5em; background: var(--surface); border-top: 1px solid var(--ligne); }
.m-nav__lien { display: flex; flex-direction: column; align-items: center; gap: 0.3em; padding: 0.75em 0 0.4em; border-top: 0.25em solid transparent; color: var(--encre-douce); font: 600 0.75em/1.1 var(--police-texte); }
.m-nav__lien .m-ic { width: 1.9em; height: 1.9em; }
.m-nav__lien--actif { border-top-color: var(--club-accent); color: var(--club-principal); font-weight: 800; }

.m-lignes { display: flex; flex-direction: column; }
.m-ligne { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 0.6em; padding: 0.6em 0; border-bottom: 1px solid var(--ligne); }
.m-ligne:last-child { border-bottom: 0; }
.m-ligne--tete { padding-top: 0; font-size: 0.85em; font-weight: 600; color: var(--encre-douce); }
.m-chiffre { font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.m-texte { margin: 0; padding: 0.85em 0.95em; border: 2px solid var(--controle); border-radius: 0.9em; line-height: 1.5; }
.m-choix { display: flex; gap: 0.45em; }

.m-tuiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6em; }
.m-tuile { display: flex; flex-direction: column; gap: 0.25em; padding: 0.95em; border-radius: 1.1em; background: var(--surface); }
.m-tuile__chiffre { font: italic 700 1.75em/1 var(--police-titre); font-variant-numeric: tabular-nums; }
.m-tuile__libelle { font-size: 0.75em; color: var(--encre-douce); }

.m-equipe { display: grid; grid-template-columns: 4.6em minmax(0, 1fr) 2.6em; align-items: center; gap: 0.7em; padding: 0.5em 0; }
.m-equipe__nom { font-weight: 700; font-size: 0.95em; }
.m-barre { height: 0.55em; border-radius: var(--r-pastille); background: var(--piste); overflow: hidden; }
.m-barre span { display: block; height: 100%; width: var(--v); border-radius: inherit; background: var(--club-principal); }
.m-barre--attention span { background: var(--attention-trait); }
.m-equipe__taux { font-weight: 800; font-size: 0.9em; text-align: right; font-variant-numeric: tabular-nums; }
.m-alerte { display: flex; align-items: center; gap: 0.6em; padding: 0.8em 0.9em; border-radius: 1em; background: var(--attention-fond); color: var(--attention-encre); font-size: 0.85em; font-weight: 600; }
.m-alerte .m-ic { color: var(--attention); }

.m-objectif { gap: 0.6em; border-left: 0.32em solid var(--objectif-coach); }
.m-objectif--categorie { border-left-color: var(--objectif-categorie); }
.m-objectif--defi { border-left-color: var(--objectif-defi); }
.m-objectif__texte { margin: 0; font-weight: 700; line-height: 1.35; }
.m-etapes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.35em; font-size: 0.7em; color: var(--encre-douce); }
.m-etapes span { display: flex; flex-direction: column; gap: 0.35em; }
.m-etapes span::before { content: ""; height: 0.5em; border-radius: var(--r-pastille); background: var(--piste); }
.m-etapes .fait { color: var(--club-principal); font-weight: 700; }
.m-etapes .fait::before { background: var(--club-principal); }
.m-etapes .encours { color: var(--encre); font-weight: 700; }
.m-etapes .encours::before { background: var(--club-accent); }

.m-graphique { display: block; width: 100%; height: auto; overflow: visible; }
.m-graphique .grille { fill: none; stroke: var(--ligne); stroke-width: 1; }
.m-graphique .axe { fill: none; stroke: var(--ligne); stroke-width: 1; }
.m-graphique .zone { fill: color-mix(in srgb, var(--club-principal) 16%, transparent); stroke: var(--club-principal); stroke-width: 2; stroke-linejoin: round; }
.m-graphique .trait { fill: none; stroke: var(--club-principal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.m-graphique .point { fill: var(--club-principal); stroke: #FFFFFF; stroke-width: 2; }
.m-graphique .etiquette-svg { font: 600 9px var(--police-texte); fill: var(--encre-douce); }
.m-graphique .valeur-svg { font: italic 800 13px var(--police-titre); fill: var(--club-principal); }
.m-degrade-haut { stop-color: var(--club-principal); stop-opacity: 0.22; }
.m-degrade-bas { stop-color: var(--club-principal); stop-opacity: 0; }

/* ---------- L'appli en vrai : un bloc par fonction, les écrans visibles sans clic ---------- */

.fonctions { display: flex; flex-direction: column; gap: clamp(72px, 48px + 5vw, 128px); }
.fonction { display: grid; gap: 36px; align-items: center; }
.fonction__texte { max-width: 34em; }
.fonction__etape { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 800 0.85rem/1 var(--police-texte); letter-spacing: 0.02em; color: var(--club-principal); }
.fonction__etape span { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--club-principal); color: var(--club-accent); font: italic 800 1.05rem/1 var(--police-titre); }
.fonction h3 { font: italic 800 clamp(1.85rem, 1.3rem + 1.6vw, 2.55rem)/1.02 var(--police-titre); }
.fonction__texte > p:not(.fonction__etape) { margin: 16px 0 0; color: var(--encre-2); line-height: 1.65; }
.fonction .coches { margin-top: 22px; }
.fonction__visuel { min-width: 0; display: flex; justify-content: center; }
@media (min-width: 1024px) {
  .fonction { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 56px; }
  .fonction--inverse { grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); }
  .fonction--inverse .fonction__texte { order: 2; }
}

/* Les repères numérotés posés sur un écran, et la liste qui les explique */
.reperes { list-style: none; counter-reset: repere; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.reperes li { counter-increment: repere; position: relative; padding-left: 44px; line-height: 1.5; color: var(--encre); }
.reperes li::before { content: counter(repere); position: absolute; left: 0; top: -3px; }
.reperes li::before, .repere {
  width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--club-accent); color: var(--club-sur-accent); font: italic 800 1.05rem/1 var(--police-titre);
  box-shadow: 0 0 0 3px var(--surface), var(--v-ombre-1);
}
.repere { position: absolute; z-index: 6; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }

/* Deux écrans côte à côte ; sur un téléphone, ils défilent de côté */
.duo {
  display: flex; gap: 16px; width: calc(100% + 2 * var(--v-gouttiere)); margin-inline: calc(-1 * var(--v-gouttiere));
  padding: 6px var(--v-gouttiere) 26px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--v-gouttiere);
  scrollbar-width: none;
}
.duo::-webkit-scrollbar { display: none; }
.duo > * { scroll-snap-align: start; }
/* Une bande qui défile coupe ce qui dépasse : sur téléphone, une ombre plus courte que la bande */
@media (max-width: 679px) {
  .duo { padding-block: 14px 34px; }
  .duo .tel { box-shadow: 0 12px 24px rgb(0 6 40 / 0.2), inset 0 0 0 1.5px rgb(255 255 255 / 0.09); }
}
@media (min-width: 680px) {
  .duo { width: auto; margin: 0; padding: 0 0 48px; overflow: visible; gap: 24px; justify-content: center; }
  .duo > :nth-child(2) { margin-top: 48px; }
}
@media (min-width: 1024px) {
  .duo { gap: 0; }
  .duo > :nth-child(2) { margin-left: -20px; z-index: 1; }
}

/* Un écran déjà défilé : la barre d'état passe sur le fond clair */
.m-statut--clair { color: var(--encre); }
.m-contenu--defile { padding-top: 4em; }
.m-objectif--court { padding-block: 0.95em; }
.m-phrase { margin: 0; font-weight: 700; line-height: 1.4; }
.m-graphique .separation { fill: none; stroke: var(--ligne); stroke-width: 1; stroke-dasharray: 3 3; }
.m-valeurs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35em 1.4em; font-size: 0.85em; }
.m-valeurs span { display: flex; justify-content: space-between; gap: 0.5em; }
.m-valeurs b { font-variant-numeric: tabular-nums; }
.m-tableau { width: 100%; border-collapse: collapse; font-size: 0.92em; }
.m-tableau th, .m-tableau td { padding: 0.5em 0; text-align: left; border-bottom: 1px solid var(--ligne); }
.m-tableau th { font-size: 0.85em; font-weight: 600; color: var(--encre-douce); }
.m-tableau th + th, .m-tableau td + td { text-align: right; }
.m-tableau tbody tr:last-child td { border-bottom: 0; }

/* La composition sur un demi-terrain de foot à 8, comme dans l'appli */
.m-terrain { position: relative; width: 84%; margin-inline: auto; aspect-ratio: 2 / 3; border-radius: 1.1em; overflow: hidden; background: var(--club-principal); }
.m-terrain__lignes { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--terrain-ligne); stroke-width: 1.5; }
.m-jeton {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.3em;
  color: var(--club-sur-principal); font-size: 0.7em; font-weight: 800; line-height: 1.1; white-space: nowrap;
}
.m-jeton b {
  width: 2.25em; height: 2.25em; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--club-principal); font: italic 700 1.4em/1 var(--police-titre);
  box-shadow: 0 0 0 0.12em var(--club-accent-lisible);
}
.m-bouton { display: flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 3em; border-radius: 0.8em; background: var(--champ-appuye); color: var(--club-principal); font-weight: 700; font-size: 0.95em; }

/* Les jongles : les tests face aux objectifs de la catégorie, un repère tous les 5 jongles */
.m-jongle { display: flex; flex-direction: column; gap: 0.4em; }
.m-jongle .m-legende { font-size: 0.78em; }
.m-jongle__entete { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5em; }
.m-jongle__entete b { font-size: 0.95em; }
.m-jongle__entete small { font-size: 1em; font-weight: 600; color: var(--encre-douce); }
.m-jongle__valeur { font-size: 0.85em; color: var(--encre-douce); }
.m-jongle__valeur strong { margin-right: 0.15em; font: italic 700 1.65em/1 var(--police-titre); color: var(--encre); }
.m-jongle__piste { position: relative; height: 0.85em; border-radius: 0.43em; background: var(--piste); }
.m-jongle__piste > span { display: block; height: 100%; width: var(--v); border-radius: inherit; background: var(--club-principal); }
.m-palier { position: absolute; top: -0.15em; left: var(--p); width: 0.17em; height: 1.15em; transform: translateX(-50%); background: var(--surface); }
.m-palier--avenir { background: var(--controle); }
.m-palier--prochain { top: -0.25em; width: 0.34em; height: 1.35em; border-radius: 0.17em; background: var(--club-accent); box-shadow: 0 0 0 0.1em var(--club-principal); }
.m-badges { display: flex; justify-content: space-between; gap: 0.4em; }
.m-badge { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.5em; text-align: center; font-size: 0.78em; font-weight: 700; line-height: 1.2; }
.m-badge__medaille {
  width: 3.8em; height: 3.8em; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--club-principal); color: var(--club-accent-lisible);
  box-shadow: 0 0 0 0.2em var(--surface), 0 0 0 0.38em var(--club-accent);
}
.m-badge__medaille .m-ic { width: 1.8em; height: 1.8em; }
.m-badge--a-gagner { color: var(--encre-douce); font-weight: 600; }
.m-badge--a-gagner .m-badge__medaille { background: var(--champ); color: var(--encre-douce); box-shadow: inset 0 0 0 0.15em var(--controle); }

/* ---------- Aux couleurs du club : le même écran, trois clubs ---------- */

.couleurs {
  margin-top: clamp(72px, 48px + 5vw, 128px); display: grid; gap: 28px; align-items: center;
  padding: clamp(28px, 18px + 2.6vw, 48px); border-radius: 28px; background: var(--fond);
}
.couleurs h3 { font: italic 800 clamp(1.85rem, 1.3rem + 1.6vw, 2.55rem)/1.02 var(--police-titre); }
.couleurs p { margin: 14px 0 0; color: var(--encre-2); line-height: 1.65; max-width: 30em; }
.couleurs__tels { display: flex; justify-content: center; align-items: flex-end; padding-top: 10px; }
.couleurs__tels .tel:nth-child(1) { transform: rotate(-5deg); margin-right: -26px; }
.couleurs__tels .tel:nth-child(2) { z-index: 1; margin-bottom: 16px; }
.couleurs__tels .tel:nth-child(3) { transform: rotate(5deg); margin-left: -26px; }
@media (min-width: 1024px) { .couleurs { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }

.tel--mini { width: 128px; padding: 5px; border-radius: 22px; }
.tel--mini::before { top: 9px; width: 34px; height: 10px; }
.tel--mini .ecran { height: 200px; border-radius: 18px; font-size: 5.2px; }
@media (min-width: 480px) {
  .tel--mini { width: 172px; padding: 7px; border-radius: 30px; }
  .tel--mini::before { top: 12px; width: 48px; height: 14px; }
  .tel--mini .ecran { height: 268px; border-radius: 24px; font-size: 7.1px; }
}
@media (min-width: 1100px) {
  .tel--mini { width: 196px; }
  .tel--mini .ecran { height: 300px; font-size: 8.1px; }
}

/* Les couleurs d'un autre club : les couleurs dérivées se recalculent sur l'élément même */
.palette {
  --club-principal-fonce: color-mix(in srgb, var(--club-principal) 78%, #000000);
  --club-principal-doux: color-mix(in srgb, var(--club-principal) 9%, #FFFFFF);
  --sur-bandeau-doux: color-mix(in srgb, var(--club-sur-principal) 78%, var(--club-principal));
  --sur-bandeau-trace: color-mix(in srgb, var(--club-sur-principal) 8%, transparent);
  --sur-bandeau-calque: color-mix(in srgb, var(--club-sur-principal) 13%, transparent);
  --sur-bandeau-piste: color-mix(in srgb, var(--club-sur-principal) 20%, transparent);
  --objectif-coach: var(--club-principal);
}
.palette--vert { --club-principal: #0F5E3C; --club-accent: #F2C230; --club-accent-lisible: #F2C230; --club-sur-principal: #FFFFFF; --club-sur-accent: #0F5E3C; }
.palette--rouge { --club-principal: #B3121F; --club-accent: #FFFFFF; --club-accent-lisible: #FFFFFF; --club-sur-principal: #FFFFFF; --club-sur-accent: #B3121F; }

/* ---------- Pour le bureau du club ---------- */

.carte-bureau { display: flex; flex-direction: column; gap: 12px; padding: 28px 26px; border-radius: var(--r-carte); background: var(--surface); box-shadow: var(--v-ombre-1); }
.carte-bureau h3 { font-size: 1.4rem; }
.carte-bureau p { margin: 0; color: var(--encre-2); line-height: 1.6; }

/* ---------- La fiche A4 de transmission ---------- */

.feuilles { position: relative; width: 300px; padding: 8px 14px 18px 0; }
.a4 {
  position: relative; width: 286px; aspect-ratio: 210 / 297; overflow: hidden;
  display: flex; flex-direction: column; gap: 1.15em; padding: 0 2.3em 2em;
  border-radius: 4px; background: var(--pdf-fond); color: var(--pdf-texte); box-shadow: var(--v-ombre-2);
  font-family: var(--police-texte); font-size: 7.2px; line-height: 1.4;
}
.a4--dessous { position: absolute; top: 22px; left: 22px; transform: rotate(3.5deg); box-shadow: var(--v-ombre-1); }
.a4--dessous .a4__lignes { display: flex; flex-direction: column; gap: 1.2em; margin-top: 3em; }
.a4--dessous .a4__lignes span { height: 0.9em; border-radius: 2px; background: var(--champ); }
.a4--dessous .a4__lignes span:nth-child(3n) { width: 70%; }
.a4__bandeau { margin: 0 -2.3em; height: 2.2em; background: var(--club-principal); box-shadow: 0 0.55em 0 var(--club-accent); }
.a4__tete { display: flex; align-items: center; justify-content: space-between; gap: 1em; margin-top: 0.8em; }
.a4__titre { margin: 0; font: italic 800 2.5em/1 var(--police-titre); color: var(--club-principal); }
.a4__club { display: flex; align-items: center; gap: 0.6em; font-weight: 700; font-size: 1.05em; }
.a4__club svg { width: 2.8em; height: 2.8em; }
.a4__nom { margin: 0; font: italic 800 2.1em/1 var(--police-titre); }
.a4__id { margin: 0.35em 0 0; color: var(--pdf-texte); }
.a4__bloc { display: flex; flex-direction: column; gap: 0.5em; padding-top: 0.7em; border-top: 1px solid var(--pdf-trait); }
.a4__soustitre { margin: 0; font: italic 700 1.45em/1.1 var(--police-titre); color: var(--club-principal); }
.a4__avis { margin: 0; padding-left: 0.9em; border-left: 0.35em solid var(--club-principal); font-size: 1.12em; }
.a4__puces { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 0.3em; }
.a4__legende { display: flex; flex-wrap: wrap; gap: 0.4em 1.2em; font-size: 0.95em; }
.a4__legende span { display: inline-flex; align-items: center; gap: 0.4em; }
.a4__legende i { width: 1.6em; height: 0.35em; border-radius: 1px; background: var(--c); }
.a4__legende i.tirets { background: repeating-linear-gradient(90deg, var(--c) 0 0.45em, transparent 0.45em 0.75em); }
.a4__pied { margin-top: auto; display: flex; justify-content: space-between; padding-top: 0.7em; border-top: 1px solid var(--pdf-trait); font-size: 0.9em; color: var(--pdf-texte); }
.a4 .m-graphique .etiquette-svg { font-size: 8px; fill: var(--pdf-texte); }

/* ---------- Sans Prisme, avec Prisme ---------- */

.comparaison { border-radius: var(--r-carte); background: var(--surface); box-shadow: var(--v-ombre-1); overflow: hidden; border: 1px solid var(--ligne); }
.comparaison table { width: 100%; border-collapse: collapse; }
.comparaison th, .comparaison td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ligne); line-height: 1.45; }
.comparaison tbody tr:last-child > * { border-bottom: 0; }
.comparaison thead th { font: italic 700 1.3rem/1.1 var(--police-titre); background: var(--fond); }
.comparaison thead th.avec { background: var(--club-principal); color: var(--club-sur-principal); }
.comparaison tbody th { font-weight: 700; width: 30%; }
.comparaison .sans { color: var(--encre-douce); }
.comparaison .avec { font-weight: 700; color: var(--encre); background: color-mix(in srgb, var(--club-principal) 4%, transparent); }
.comparaison td.avec { padding-left: 50px; position: relative; }
.comparaison td.avec::before {
  content: ""; position: absolute; left: 26px; top: 21px;
  width: 6px; height: 12px; border: solid var(--succes); border-width: 0 2.6px 2.6px 0; transform: rotate(45deg);
}
@media (max-width: 719px) {
  .comparaison thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .comparaison table, .comparaison tbody, .comparaison tr, .comparaison th, .comparaison td { display: block; width: 100%; }
  .comparaison tr { padding: 18px 20px; border-bottom: 1px solid var(--ligne); }
  .comparaison tbody tr:last-child { border-bottom: 0; }
  .comparaison th, .comparaison td { padding: 0; border: 0; }
  .comparaison tbody th { font: italic 700 1.3rem/1.1 var(--police-titre); margin-bottom: 10px; }
  .comparaison td::before { display: block; font-size: 0.8rem; font-weight: 700; color: var(--encre-douce); }
  .comparaison td.sans::before { content: "Sans Prisme"; }
  .comparaison td.sans { margin-bottom: 10px; }
  .comparaison td.avec { padding: 10px 12px 10px 38px; border-radius: 12px; }
  .comparaison td.avec::before { content: ""; top: 13px; left: 16px; }
}

/* ---------- Données de jeunes (section bleue) ---------- */

.garanties-donnees { list-style: none; margin: 0; padding: 0; }
.garantie { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; border-radius: 20px; background: var(--sur-bandeau-trace); box-shadow: inset 0 0 0 1px var(--sur-bandeau-calque); }
.garantie .ic { width: 28px; height: 28px; color: var(--club-accent); }
.garantie h3 { font-size: 1.3rem; }
.garantie p { margin: 0; color: var(--sur-bandeau-doux); font-size: 0.97rem; line-height: 1.55; }

/* ---------- L'offre : la saison test, puis un prix par équipe ---------- */

.offres { display: grid; gap: 22px; }
@media (min-width: 960px) { .offres { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: stretch; } }
.offre { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px 30px; border-radius: 26px; }
.offre--test { overflow: hidden; background: var(--club-principal); color: var(--club-sur-principal); box-shadow: var(--v-ombre-2); }
.offre--test::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 10px; background: var(--club-accent); }
.offre--saison { background: var(--surface); box-shadow: inset 0 0 0 1px var(--ligne); }
.offre__badge { align-self: flex-start; margin: 0; padding: 7px 13px; border-radius: var(--r-pastille); background: var(--club-accent); color: var(--club-sur-accent); font: 800 0.82rem/1 var(--police-texte); }
.offre h3 { font-size: 2rem; }
.offre--saison h3 { color: var(--club-principal); }
.offre__prix { margin: 2px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.offre__montant { font: italic 800 3.4rem/1 var(--police-titre); font-variant-numeric: tabular-nums; }
.offre--test .offre__montant { color: var(--club-accent); }
.offre__unite { font-weight: 700; }
.offre--test .offre__unite { color: var(--sur-bandeau-doux); }
.offre--saison .offre__unite { color: var(--encre-douce); }
.offre__soit { margin: -6px 0 0; font-size: 0.92rem; color: var(--encre-douce); }
.offre .coches { flex: 1; padding-top: 16px; border-top: 1px solid var(--ligne); font-size: 0.98rem; }
.offre--test .coches { border-top-color: var(--sur-bandeau-calque); color: var(--sur-bandeau-doux); }
.offre--test .coches b { color: var(--club-sur-principal); }
.offre--test .coches li::before { border-color: var(--club-accent); }
.offre .btn { width: 100%; margin-top: 6px; }
.exemples { margin: 0; padding: 14px 16px; border-radius: 16px; background: var(--fond); display: grid; gap: 6px; font-size: 0.93rem; }
.exemples div { display: flex; justify-content: space-between; gap: 12px; }
.exemples dt { color: var(--encre-2); }
.exemples dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; }


.inclus { margin-top: 32px; padding: 26px 28px; border-radius: var(--r-carte); background: var(--fond); }
.inclus h3 { font-size: 1.35rem; }
.inclus .coches { margin-top: 16px; display: grid; gap: 12px 28px; }
@media (min-width: 640px) { .inclus .coches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .inclus .coches { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.note-prix { margin: 18px 0 0; font-size: 0.9rem; color: var(--encre-douce); }

/* ---------- Démarrer ---------- */

.parcours { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 720px) { .parcours { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .parcours { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.parcours li { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; border-radius: var(--r-carte); background: var(--surface); box-shadow: var(--v-ombre-1); }
.parcours__num { width: 44px; height: 44px; border-radius: 50%; background: var(--club-principal); color: var(--club-accent); display: flex; align-items: center; justify-content: center; font: italic 800 1.5rem/1 var(--police-titre); margin-bottom: 4px; }
.parcours h3 { font-size: 1.35rem; }
.parcours p { margin: 0; color: var(--encre-2); line-height: 1.55; font-size: 0.97rem; }

.fondateur { margin-top: 28px; display: grid; gap: 18px 24px; align-items: start; padding: 28px; border-radius: var(--r-carte); background: var(--surface); box-shadow: var(--v-ombre-1); }
@media (min-width: 720px) { .fondateur { grid-template-columns: auto minmax(0, 1fr); padding: 32px 36px; } }
.fondateur__avatar { width: 72px; height: 72px; border-radius: 20px; background: var(--club-principal); color: var(--club-accent); display: flex; align-items: center; justify-content: center; font: italic 800 2.4rem/1 var(--police-titre); }
.fondateur p { margin: 10px 0 0; color: var(--encre-2); line-height: 1.65; max-width: 52em; }

/* ---------- Questions fréquentes ---------- */

.questions { max-width: 880px; border-top: 1px solid var(--ligne); }
@media (min-width: 1024px) {
  .faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
  .faq .tete { position: sticky; top: 104px; margin-bottom: 0; }
}
.question { border-bottom: 1px solid var(--ligne); }
.question summary { position: relative; padding: 22px 48px 22px 0; list-style: none; cursor: pointer; font: 700 1.08rem/1.4 var(--police-texte); }
.question summary::-webkit-details-marker { display: none; }
.question summary::after {
  content: ""; position: absolute; right: 10px; top: 50%; width: 10px; height: 10px;
  border: solid var(--club-principal); border-width: 0 2.6px 2.6px 0; transform: translateY(-70%) rotate(45deg);
  transition: transform var(--duree) var(--courbe);
}
.question[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.question summary:hover { color: var(--club-principal); }
.question__reponse { padding: 0 0 22px; color: var(--encre-2); line-height: 1.65; max-width: 46em; }
.question__reponse p { margin: 0; }
.question__reponse p + p { margin-top: 10px; }

/* ---------- Inscrire mon club ---------- */

.inscription { display: grid; gap: 24px; }
@media (min-width: 1024px) { .inscription { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; gap: 32px; } }
.carte { padding: clamp(22px, 14px + 2.4vw, 40px); border-radius: 24px; background: var(--surface); box-shadow: var(--v-ombre-1); }
.carte h2 { font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); }
.carte .chapo { margin-top: 12px; }
.formulaire { display: flex; flex-direction: column; gap: 20px; margin-top: 26px; }
.formulaire__aide { margin: -6px 0 0; font-size: 0.88rem; color: var(--encre-douce); }
.champs-2 { display: grid; gap: 20px; }
@media (min-width: 640px) { .champs-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.champ { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.champ > label, .champ > legend { padding: 0; font-weight: 700; font-size: 0.97rem; color: var(--encre); }
.champ > legend { margin-bottom: 8px; }
.facultatif { margin-left: 4px; font-weight: 500; font-size: 0.86rem; color: var(--encre-douce); }
.formulaire input:not([type="radio"]):not([type="checkbox"]), .formulaire select, .formulaire textarea {
  width: 100%; min-height: 54px; padding: 13px 15px;
  border: 2px solid var(--controle); border-radius: 14px; background: var(--surface); color: var(--encre);
  font: 500 1rem/1.4 var(--police-texte);
  transition: border-color var(--duree-courte) var(--courbe), box-shadow var(--duree-courte) var(--courbe);
}
.formulaire textarea { min-height: 120px; resize: vertical; }
.formulaire select {
  appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23011873' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px;
}
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus {
  outline: none; border-color: var(--club-principal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--club-principal) 18%, transparent);
}
.formulaire [aria-invalid="true"] { border-color: var(--erreur) !important; }
.champ__aide { margin: 0; font-size: 0.86rem; color: var(--encre-douce); }
.champ__erreur { margin: 0; font-size: 0.9rem; font-weight: 600; color: var(--erreur); }
.choix { display: flex; flex-wrap: wrap; gap: 8px; }
.choix__option { position: relative; display: inline-flex; }
.choix__option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choix__option span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 17px;
  border-radius: var(--r-pastille); background: var(--champ); color: var(--encre);
  font: 700 0.93rem/1 var(--police-texte); transition: background-color var(--duree-courte) var(--courbe);
}
.choix__option input:hover + span { background: var(--champ-appuye); }
.choix__option input:checked + span { background: var(--club-principal); color: var(--club-sur-principal); }
.choix__option input:checked + span::before {
  content: ""; width: 5px; height: 10px; margin: -3px 2px 0 0;
  border: solid var(--club-accent); border-width: 0 2.4px 2.4px 0; transform: rotate(45deg);
}
.choix__option input:focus-visible + span { outline: 3px solid var(--club-principal); outline-offset: 2px; }
.choix--erreur .choix__option span { box-shadow: inset 0 0 0 2px var(--erreur); }
.piege { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.formulaire__erreur { margin: 0; padding: 13px 15px; border-radius: 14px; background: var(--erreur-fond); color: var(--erreur); font-weight: 600; }
.mention-rgpd { margin: 0; font-size: 0.84rem; color: var(--encre-douce); line-height: 1.5; }
.mention-rgpd a { color: var(--club-principal); font-weight: 600; }
.succes { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 8px; }
.succes:focus { outline: none; }
.succes__icone { width: 60px; height: 60px; border-radius: 50%; background: var(--succes-fond); color: var(--succes); display: flex; align-items: center; justify-content: center; }
.succes__icone .ic { width: 30px; height: 30px; stroke-width: 2.6; }
.succes p { margin: 0; color: var(--encre-2); line-height: 1.6; }

.inscription__acces { display: flex; flex-direction: column; gap: 20px; }
.carte--acces { position: relative; overflow: hidden; background: var(--club-principal); color: var(--club-sur-principal); box-shadow: var(--v-ombre-2); }
.carte--acces::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--club-accent); }
.carte--acces h3 { font-size: 1.7rem; }
.carte--acces p { margin: 10px 0 20px; color: var(--sur-bandeau-doux); line-height: 1.55; }
.carte--acces .btn { width: 100%; }
.liens-acces { list-style: none; margin: 18px 0 6px; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.liens-acces a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; padding: 0 2px; color: var(--club-sur-principal); text-decoration: none; font-weight: 600; font-size: 0.95rem; border-bottom: 1px solid var(--sur-bandeau-calque); }
.liens-acces li:last-child a { border-bottom: 0; }
.liens-acces a:hover { color: var(--club-accent); }
.carte--contact h3 { font-size: 1.35rem; }
.carte--contact p { margin: 8px 0 0; color: var(--encre-2); line-height: 1.55; }
.carte--contact a { color: var(--club-principal); font-weight: 700; }

/* ---------- Pied de page ---------- */

.pied { padding: 56px 0 28px; background: var(--club-principal-fonce); color: var(--sur-bandeau-doux); font-size: 0.95rem; }
.pied__grille { display: grid; gap: 32px; }
@media (min-width: 820px) { .pied__grille { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); } }
.pied .marque { margin-bottom: 14px; color: var(--club-sur-principal); }
.pied .marque:hover { text-decoration: none; }
.pied p { margin: 0; line-height: 1.6; max-width: 26em; }
.pied__titre { margin: 0 0 12px; font: italic 700 1.2rem/1 var(--police-titre); color: var(--club-sur-principal); }
.pied ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pied a { color: var(--sur-bandeau-doux); text-decoration: none; }
.pied a:hover { color: var(--club-sur-principal); text-decoration: underline; text-underline-offset: 3px; }
.pied__bas { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--sur-bandeau-calque); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 0.85rem; }

/* ---------- Pages annexes (mentions légales, confidentialité, 404) ---------- */

.page-bandeau { position: relative; color: var(--club-sur-principal); padding-bottom: 10px; }
.page-bandeau__lisere { position: absolute; inset: 0; background: var(--club-accent); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 46px + 14px), 0 100%); }
.page-bandeau__corps { position: relative; background: var(--club-principal); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 46px), 0 100%); padding: 48px 0 92px; }
.page-bandeau h1 { font: italic 800 clamp(2.4rem, 1.6rem + 3vw, 3.6rem)/1 var(--police-titre); }
.page-bandeau p { margin: 12px 0 0; color: var(--sur-bandeau-doux); }
.texte-legal { max-width: 820px; padding-block: 48px 88px; }
.texte-legal h2 { margin: 40px 0 12px; font-size: 1.9rem; }
.texte-legal h2:first-child { margin-top: 0; }
.texte-legal p, .texte-legal li { line-height: 1.7; color: var(--encre-2); }
.texte-legal ul { padding-left: 1.3em; }
.texte-legal a { color: var(--club-principal); font-weight: 600; }
.texte-legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 0.95rem; }
.texte-legal th, .texte-legal td { padding: 10px 12px; border-bottom: 1px solid var(--ligne); text-align: left; vertical-align: top; }
.texte-legal th { width: 32%; color: var(--encre); }
.a-completer { padding: 1px 4px; border-radius: 4px; background: #FFF2A8; color: var(--encre); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
