/* ==========================================================================
   Family Fit — feuille de style unique (site public, espace client, espace coach)
   Style « Studio », inspiré des grands studios de fitness : le rose comme seule
   couleur signature, sur noir et blanc ; titres en capitales condensées
   (Barlow Condensed), texte en Barlow ; angles droits sur la page d'accueil.
   ========================================================================== */

@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-700-normal.e1180918b873.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-800-normal.b1b7dd5dbcea.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-400-normal.81419bf5abb5.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-400-italic.f47df445d5cb.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-500-normal.8e986e86d57e.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-600-normal.a1e2a2d7d4c0.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-700-normal.15481e4eab6d.woff2") format("woff2");
  font-weight: 700 900; font-style: normal; font-display: swap; }

:root {
  --blanc: #FFFFFF;
  --noir: #0B0B0C;
  --gris: #F3F1EE;
  --gris-2: #E7E4DF;
  --rose: #FF4D7D;
  --rose-titre: #E0115A;
  --rose-fonce: #C20F4E;
  --rose-pale: #FFE3EA;
  --lagon: #17B3A3;
  --lagon-fonce: #0A766C;
  --lagon-pale: #D7F5F1;
  --soleil: #FFB938;
  --soleil-fonce: #8A5600;
  --soleil-pale: #FFF0CF;
  --lilas: #8B7CF6;
  --lilas-fonce: #5440D4;
  --lilas-pale: #ECE9FF;
  --encre: #17171A;
  --encre-doux: #5A5A60;
  --trait: #E2DED8;

  --f-titre: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --f-texte: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ombre: 0 14px 34px -18px rgba(11, 11, 12, .3), 0 2px 6px -2px rgba(11, 11, 12, .08);
  --largeur: 1120px;
  --hauteur-onglets: 74px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--gris); color: var(--encre);
  font-family: var(--f-texte); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-fonce); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-titre); font-weight: 800; line-height: 1.05; margin: 0 0 .5em; letter-spacing: 0; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--lilas); outline-offset: 3px; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Sur-titre : petites capitales espacées, en rose */
.main {
  display: inline-flex; align-items: center; gap: .6rem; font-family: var(--f-titre); font-weight: 700; font-size: 1rem;
  text-transform: uppercase; letter-spacing: .16em; color: var(--rose-titre); line-height: 1.2;
}
.doux { color: var(--encre-doux); }
.insecable { white-space: nowrap; }
.petit { font-size: .88rem; }
.centre { text-align: center; }
.conteneur { width: min(100% - 2.5rem, var(--largeur)); margin-inline: auto; }
.pile > * + * { margin-top: 1rem; }
.ligne { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.ligne-entre { display: flex; gap: .75rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.grille-2 { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ------------------------------------------------------------------ icônes (balise {% icone %}) */
.svg-icone { width: 1.2em; height: 1.2em; flex: none; vertical-align: -.22em; }
.svg-grande { width: 2rem; height: 2rem; }

/* ------------------------------------------------------------------ boutons */
.bouton {
  --fond: var(--rose-titre);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 50px; padding: .7rem 1.5rem; border: 0; border-radius: 0;
  background: var(--fond); color: #fff; font-family: var(--f-titre); font-weight: 800; font-size: 1.15rem;
  text-transform: uppercase; letter-spacing: .04em;
  text-decoration: none; cursor: pointer;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.bouton:hover { background: var(--noir); color: #fff; }
.bouton:active { transform: translateY(1px); }
.bouton-plein { width: 100%; }
.bouton-secondaire { background: var(--blanc); color: var(--noir); box-shadow: inset 0 0 0 2px var(--noir); }
.bouton-secondaire:hover { background: var(--noir); color: var(--blanc); }
.bouton-contour { background: transparent; color: var(--noir); box-shadow: inset 0 0 0 2px var(--noir); }
.bouton-contour:hover { background: var(--noir); color: var(--blanc); }
.bouton-noir { --fond: var(--noir); }
.bouton-noir:hover { background: var(--rose-titre); }
.bouton-discret { background: transparent; color: var(--encre-doux); min-height: 42px; padding: .4rem .9rem; font-size: .95rem; }
.bouton-discret:hover { background: transparent; color: var(--rose-titre); }
.bouton-danger { background: var(--blanc); color: #B3261E; box-shadow: inset 0 0 0 2px #B3261E; }
.bouton-danger:hover { background: #B3261E; color: var(--blanc); }
.bouton-petit { min-height: 40px; padding: .4rem 1rem; font-size: .95rem; }
.bouton[disabled] { opacity: .5; pointer-events: none; }
.lien-bouton { background: none; border: 0; padding: 0; font: inherit; color: var(--rose-fonce); text-decoration: underline; cursor: pointer; }

/* ------------------------------------------------------------------ cartes */
.carte { background: var(--blanc); padding: 1.25rem 1.3rem; position: relative; }
.carte-titre { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .9rem; }
.carte-titre h2, .carte-titre h3 { margin: 0; font-size: 1.45rem; text-transform: uppercase; line-height: 1; }
.carte-titre a { font-weight: 700; }
.carte-vide { text-align: center; padding: 2rem 1.25rem; color: var(--encre-doux); background: transparent; border: 2px dashed var(--trait); }
/* Encart gris dans une carte (IBAN, référence, note) */
.encart { background: var(--gris); padding: .6rem .9rem; }
.note-interne { margin: .6rem 0 0; background: var(--soleil-pale); border-left: 4px solid var(--soleil); }

/* ------------------------------------------------------------------ pastilles, étiquettes, avatars */
.pastille {
  display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .6rem;
  font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap;
}
.pastille::before { content: ""; width: .5rem; height: .5rem; background: currentColor; }
.pastille-ok { background: var(--lagon-pale); color: var(--lagon-fonce); }
.pastille-attention { background: var(--soleil-pale); color: var(--soleil-fonce); }
.pastille-retard { background: var(--rose-titre); color: var(--blanc); }
.etiquette {
  display: inline-block; padding: .15rem .55rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  background: var(--gris-2); color: var(--encre);
}
.etiquette-lilas { background: var(--noir); color: var(--blanc); }
.etiquette-rose { background: var(--rose-titre); color: var(--blanc); }
.etiquette-lagon { background: var(--lagon-pale); color: var(--lagon-fonce); }
/* Initiales sur fond noir, comme les portraits des coachs de l'accueil */
.avatar {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--noir); color: var(--rose); font-family: var(--f-titre); font-weight: 800; font-size: 1.15rem; text-transform: uppercase;
}
.avatar-grand { width: 64px; height: 64px; font-size: 1.7rem; }

/* ------------------------------------------------------------------ formulaires */
.formulaire { display: grid; gap: 1.05rem; }
.champ { display: grid; gap: .35rem; }
.champ label, .champ > .libelle { font-weight: 700; font-size: .95rem; }
.champ .aide, .helptext { color: var(--encre-doux); font-size: .85rem; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel],
input[type=date], input[type=time], input[type=search], select, textarea {
  width: 100%; min-height: 52px; padding: .75rem 1rem; border: 2px solid var(--trait); border-radius: 0;
  background: var(--blanc); color: var(--encre); font: inherit; font-size: 1.05rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--noir); box-shadow: 0 0 0 3px var(--rose-pale); }
input.champ-code { text-align: center; font-family: var(--f-titre); font-weight: 800; font-size: 2rem !important; letter-spacing: .45em; }
input.champ-montant { font-family: var(--f-titre); font-weight: 800; font-size: 2rem !important; text-align: center; }
.erreurs, .errorlist { list-style: none; margin: 0; padding: .6rem .9rem; border-left: 4px solid #B3261E; background: #FDECEA; color: #8C1D18; font-weight: 600; font-size: .92rem; }
.case { display: flex; gap: .65rem; align-items: flex-start; font-weight: 600; cursor: pointer; }
.case input { width: 22px; height: 22px; margin-top: .15rem; accent-color: var(--rose-titre); flex: none; }

/* Choix « Espèces / Virement » en grosses tuiles */
.choix-tuiles ul, .choix-tuiles > div { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.choix-tuiles label {
  display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: 1rem .5rem;
  background: var(--blanc); border: 2px solid var(--trait); font-family: var(--f-titre); font-weight: 800; font-size: 1.15rem;
  text-transform: uppercase; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.choix-tuiles input { position: absolute; opacity: 0; pointer-events: none; }
.choix-tuiles label:has(input:checked) { border-color: var(--noir); background: var(--noir); color: var(--blanc); }
.choix-tuiles label:has(input:checked) .svg-icone { color: var(--rose); }
.choix-tuiles label:has(input:focus-visible) { outline: 3px solid var(--lilas); outline-offset: 2px; }

.puces { display: flex; gap: .5rem; flex-wrap: wrap; }
.puce {
  border: 0; padding: .45rem .9rem; background: var(--blanc); box-shadow: inset 0 0 0 2px var(--trait);
  font: inherit; font-weight: 700; font-size: .9rem; color: var(--encre); cursor: pointer; text-decoration: none;
}
.puce:hover { box-shadow: inset 0 0 0 2px var(--noir); }
.puce.active { background: var(--noir); color: var(--blanc); box-shadow: none; }

/* Interrupteur « j'y serai » */
.interrupteur { position: relative; display: inline-flex; align-items: center; gap: .6rem; cursor: pointer; font-weight: 700; border: 0; background: none; padding: 0; font: inherit; color: inherit; }
.interrupteur .piste { width: 54px; height: 30px; background: var(--gris-2); position: relative; transition: background .2s ease; flex: none; }
.interrupteur .piste::after {
  content: ""; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s ease;
}
.interrupteur[aria-pressed="true"] .piste { background: var(--rose-titre); }
.interrupteur[aria-pressed="true"] .piste::after { transform: translateX(24px); }

/* ------------------------------------------------------------------ messages */
.messages { position: fixed; top: 1rem; left: 50%; transform: translateX(-50%); z-index: 100; display: grid; gap: .5rem; width: min(92vw, 520px); }
.message {
  padding: .9rem 1.1rem; border-left: 6px solid var(--rose); background: var(--noir); color: #fff; font-weight: 700;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .5); animation: arrivee .35s ease both;
}
.message-success { border-left-color: #3BD3C1; }
.message-error { border-left-color: #FF6B5E; }
.message.sortie { animation: depart .4s ease both; }
@keyframes arrivee { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes depart { to { opacity: 0; transform: translateY(-10px); } }

/* ==========================================================================
   SITE PUBLIC
   ========================================================================== */
#contenu { overflow-x: clip; }
.entete-site { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 12, .94); backdrop-filter: blur(10px); color: var(--blanc); }
.entete-site .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.marque { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: inherit; }
.marque img { width: 40px; height: 40px; object-fit: contain; }
.marque span { font-family: var(--f-titre); font-weight: 800; text-transform: uppercase; font-size: 1.65rem; line-height: 1; }
.nav-site { display: flex; align-items: center; gap: 1.6rem; }
.nav-site a:not(.bouton) { color: var(--blanc); text-decoration: none; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; }
.nav-site a:not(.bouton):hover { color: var(--rose); }
@media (max-width: 760px) { .nav-site a:not(.bouton) { display: none; } }
.public { background: var(--blanc); }

.coches { list-style: none; padding: 0; margin: 1.3rem 0 2rem; display: grid; gap: .8rem; }
.coches li { display: flex; gap: .75rem; align-items: flex-start; font-weight: 600; font-size: 1.1rem; }
.coches li::before {
  content: "✓"; flex: none; width: 28px; height: 28px; display: grid; place-items: center;
  background: var(--rose-titre); color: var(--blanc); font-weight: 800;
}

.galerie { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.galerie a { overflow: hidden; aspect-ratio: 1; display: block; box-shadow: var(--ombre); }
.carte .galerie { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .5rem; }
.carte .galerie a { box-shadow: none; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.galerie a:hover img { transform: scale(1.06); }

.contact { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.contact a.carte { display: flex; gap: .9rem; align-items: center; color: var(--encre); text-decoration: none; }
.contact .icone { flex: none; width: 54px; height: 54px; display: grid; place-items: center; font-size: 1.7rem; background: var(--rose-pale); }

.pied-site { background: var(--noir); color: rgba(255, 255, 255, .85); padding: 3rem 0 4rem; }
.pied-site a { color: #FFC2D1; }
.pied-site .conteneur { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; }
.pied-site img { width: 120px; background: var(--blanc); border-radius: 14px; padding: .6rem; }

.page-texte { max-width: 46rem; margin: 0 auto; padding: 3rem 0 4rem; }
.page-texte h2 { font-size: 1.6rem; margin-top: 2rem; }

/* Page d'accueil (classes st-*) : photo plein écran, slogan géant, angles droits */
.st-surtitre {
  margin: 0 0 .8rem; font-family: var(--f-titre); font-weight: 700; font-size: 1rem;
  text-transform: uppercase; letter-spacing: .16em; color: var(--rose-titre);
}
.st-bouton {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: .8rem 1.7rem;
  background: var(--rose-titre); color: #fff; text-decoration: none; border: 0;
  font-family: var(--f-titre); font-weight: 800; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .05em;
  transition: background .2s ease, color .2s ease;
}
.st-bouton:hover { background: var(--noir); color: #fff; }
.st-bouton-contour { background: transparent; box-shadow: inset 0 0 0 2px #fff; }
.st-bouton-contour:hover { background: #fff; color: var(--noir); }
.st-bouton-noir { background: var(--noir); }
.st-bouton-noir:hover { background: var(--rose-titre); }

/* Haut de page : photo plein écran, voile sombre, slogan géant */
.st-heros { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; overflow: hidden; background: var(--noir); color: #fff; }
.st-heros-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; }
.st-heros::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11, 11, 12, .9) 0%, rgba(11, 11, 12, .6) 42%, rgba(11, 11, 12, .1) 78%),
              linear-gradient(0deg, rgba(11, 11, 12, .75), transparent 50%);
}
.st-heros-contenu { position: relative; z-index: 1; padding: 7rem 0 clamp(3rem, 7vw, 5rem); }
.st-heros .st-surtitre { color: var(--rose); }
.st-heros h1 {
  margin: 0 0 1.4rem; font-family: var(--f-titre); font-weight: 800; text-transform: uppercase;
  font-size: clamp(3.6rem, 10vw, 8.4rem); line-height: .86; letter-spacing: -.005em; color: #fff;
}
.st-heros h1 em { font-style: normal; color: var(--rose); }
.st-intro { max-width: 33em; margin-bottom: 2rem; font-size: 1.2rem; color: rgba(255, 255, 255, .88); }
@media (max-width: 760px) {
  .st-heros-photo { object-position: 28% 30%; }
  .st-heros::after { background: linear-gradient(0deg, rgba(11, 11, 12, .95) 0%, rgba(11, 11, 12, .75) 45%, rgba(11, 11, 12, .2) 100%); }
}

.st-defile { overflow: hidden; padding: .8rem 0; background: var(--rose-titre); color: #fff; }
.st-defile-piste {
  display: flex; width: max-content; gap: 1.5rem; white-space: nowrap; animation: defile 30s linear infinite;
  font-family: var(--f-titre); font-weight: 800; font-size: clamp(1.3rem, 2.6vw, 1.8rem); text-transform: uppercase; letter-spacing: .04em;
}
.st-defile-piste i { font-style: normal; color: var(--noir); }

/* Sections */
.st-section { padding: clamp(4rem, 9vw, 7rem) 0; }
.st-noir { background: var(--noir); color: #fff; }
.st-gris { background: var(--gris); }
.st-titre { max-width: 52rem; margin-bottom: 2.8rem; }
.st-titre h2, .st-premier h2, .st-espace h2, .st-final h2 {
  margin: 0; font-family: var(--f-titre); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: .92; color: inherit;
}
.st-titre h2 em, .st-premier h2 em, .st-espace h2 em, .st-final h2 em { font-style: normal; color: var(--rose-titre); }
.st-noir .st-surtitre, .st-noir h2 em { color: var(--rose) !important; }
.st-exemple { display: inline-block; margin: 1rem 0 0; padding: .3rem .7rem; border: 1px dashed rgba(255, 255, 255, .5); font-size: .9rem; color: rgba(255, 255, 255, .85); }

/* Le concept en trois piliers */
.st-piliers { display: grid; gap: 1.6rem; grid-template-columns: repeat(3, 1fr); }
.st-piliers img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.st-num { display: block; margin: 1.1rem 0 .2rem; font-family: var(--f-titre); font-weight: 800; font-size: 1.1rem; letter-spacing: .1em; color: var(--rose-titre); }
.st-piliers h3 { margin: 0 0 .4rem; font-family: var(--f-titre); font-size: 2rem; text-transform: uppercase; }
.st-piliers p { margin: 0; color: var(--encre-doux); font-size: 1.05rem; }

/* Premier cours */
.st-premier { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.st-premier img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.st-liste { list-style: none; padding: 0; margin: 1.8rem 0 2.2rem; display: grid; gap: 1rem; }
.st-liste li { position: relative; padding-left: 2.2rem; font-size: 1.1rem; line-height: 1.45; }
.st-liste li::before {
  content: ""; position: absolute; left: .15rem; top: .3em; width: 1rem; height: .55rem;
  border-left: 3px solid var(--rose-titre); border-bottom: 3px solid var(--rose-titre); rotate: -45deg;
}
.st-noir .st-liste li::before { border-color: var(--rose); }
.st-noir .st-liste li { color: rgba(255, 255, 255, .85); }
.st-noir .st-liste strong { color: #fff; }

/* Planning */
.st-cours { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.st-cours article { padding: 1.3rem 1.4rem 1.5rem; background: #fff; border-top: 4px solid var(--noir); transition: background .2s ease, color .2s ease; }
.st-cours article:hover { background: var(--noir); color: #fff; border-top-color: var(--rose-titre); }
.st-jour { font-family: var(--f-titre); font-weight: 700; font-size: .95rem; text-transform: uppercase; letter-spacing: .14em; color: var(--rose-titre); }
.st-cours article:hover .st-jour { color: var(--rose); }
.st-heure { margin: .3rem 0; font-family: var(--f-titre); font-weight: 800; font-size: 3.2rem; line-height: 1; }
.st-cours h3 { margin: 0 0 .3rem; font-family: var(--f-titre); font-size: 1.4rem; text-transform: uppercase; }
.st-detail { margin: 0; font-size: .95rem; color: var(--encre-doux); }
.st-cours article:hover .st-detail { color: rgba(255, 255, 255, .75); }

/* Coachs */
.st-coachs { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.st-portrait { aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; background: var(--noir); }
.st-portrait span { font-family: var(--f-titre); font-weight: 800; font-size: 6rem; color: var(--rose-titre); }
.st-portrait img { width: 100%; height: 100%; object-fit: cover; }
.st-coachs h3 { margin: 1rem 0 .2rem; font-family: var(--f-titre); font-size: 1.8rem; text-transform: uppercase; }
.st-coachs p { margin: 0; color: var(--encre-doux); }

/* Témoignages */
.st-avis { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.st-avis blockquote { margin: 0; padding: 2rem 1.8rem; background: #1A1A1C; border-top: 4px solid var(--rose-titre); }
.st-avis p { margin: 0 0 1.4rem; font-size: 1.25rem; line-height: 1.45; font-weight: 500; }
.st-avis footer { font-family: var(--f-titre); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--rose); }

/* Espace adhérent */
.st-espace { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.st-telephone { width: 290px; margin-inline: auto; padding: 11px; border-radius: 40px; background: var(--noir); box-shadow: 18px 18px 0 var(--rose-titre); }
.st-ecran { display: grid; gap: .8rem; align-content: start; min-height: 400px; padding: 1.5rem 1.1rem; border-radius: 30px; background: #fff; }
.st-salut { margin: 0; font-family: var(--f-titre); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; }
.st-solde { display: grid; padding: 1.1rem; background: var(--noir); color: #fff; }
.st-solde strong { font-family: var(--f-titre); font-weight: 800; font-size: 3.4rem; line-height: 1; color: var(--rose); }
.st-prochain { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .85rem; background: var(--gris); }
.st-prochain small { display: block; color: var(--encre-doux); }
.st-prochain strong { display: block; font-family: var(--f-titre); font-size: 1.15rem; text-transform: uppercase; }
.st-prochain b { padding: .4rem .7rem; background: var(--rose-titre); color: #fff; font-family: var(--f-titre); font-size: .9rem; text-transform: uppercase; }

/* Bandeau final */
.st-final { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--rose-titre); color: #fff; }
.st-final h2 { max-width: 14em; margin-bottom: 1.2rem; }
.st-final h2 em { color: var(--noir); }
.st-final .conteneur > p { font-size: 1.15rem; }
.st-final .contact { margin-top: 2rem; }
.st-final-pied { margin: 2.2rem 0 0; }

@media (max-width: 860px) {
  .st-piliers, .st-premier, .st-espace { grid-template-columns: 1fr; }
  .st-premier img { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .st-coachs { grid-template-columns: 1fr 1fr; gap: 1.2rem .8rem; }
  .st-portrait span { font-size: 4rem; }
  .st-coachs h3 { font-size: 1.4rem; }
  .st-cours { grid-template-columns: 1fr 1fr; gap: 8px; }
  .st-cours article { padding: 1rem .9rem 1.1rem; }
  .st-heure { font-size: 2.3rem; }
  .st-cours h3 { font-size: 1.1rem; }
  .st-detail { font-size: .85rem; }
}

/* ==========================================================================
   APPLICATION (espace client et espace coach) : même style « Studio » que l'accueil.
   Barre noire en haut, onglets noirs en bas, cartes blanches à angles droits sur fond gris.
   ========================================================================== */
.app { min-height: 100vh; padding-bottom: calc(var(--hauteur-onglets) + 1.5rem + env(safe-area-inset-bottom)); }
.barre-app { position: sticky; top: 0; z-index: 40; background: rgba(11, 11, 12, .96); backdrop-filter: blur(10px); color: var(--blanc); }
.barre-app .conteneur { min-height: 60px; display: flex; align-items: center; gap: .75rem; justify-content: space-between; }
.barre-app .marque img { width: 34px; height: 34px; }
.barre-app .marque span { font-size: 1.5rem; }
.barre-app .bouton-discret { color: rgba(255, 255, 255, .8); }
.barre-app .bouton-discret:hover { color: var(--rose); }
.barre-app .role { padding: .25rem .6rem; background: var(--rose-titre); color: var(--blanc); font-family: var(--f-titre); font-weight: 800; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.contenu-app { width: min(100% - 2rem, 760px); margin: 1.5rem auto 0; }
.contenu-app > * + * { margin-top: 1rem; }
.titre-page { display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.titre-page h1 { font-size: clamp(2.1rem, 9vw, 3rem); line-height: .92; text-transform: uppercase; margin: 0; color: var(--noir); }
.titre-page .main { margin-bottom: .35rem !important; }
.retour { display: inline-flex; align-items: center; gap: .3rem; color: var(--encre-doux); text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.retour:hover { color: var(--rose-titre); }

/* Onglets du bas : barre noire, onglet actif en rose */
.onglets {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--noir);
  padding-bottom: env(safe-area-inset-bottom);
}
.onglets ul { list-style: none; margin: 0 auto; padding: 0 .5rem; display: grid; grid-template-columns: repeat(5, 1fr); max-width: 620px; height: var(--hauteur-onglets); align-items: center; }
.onglets a {
  display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: .3rem 0; text-decoration: none;
  color: rgba(255, 255, 255, .62); font-family: var(--f-titre); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em;
}
.onglets a .ico { display: grid; place-items: center; }
.onglets a .svg-icone { width: 24px; height: 24px; }
.onglets a:hover { color: var(--blanc); }
.onglets a[aria-current="page"] { color: var(--rose); }
.onglets a.central .ico { width: 56px; height: 56px; margin-top: -30px; background: var(--rose-titre); color: var(--blanc); box-shadow: 0 0 0 4px var(--noir); }
.onglets a.central .svg-icone { width: 30px; height: 30px; stroke-width: 2.5; }
.onglets a.central[aria-current="page"] { color: var(--blanc); }

/* Carte du solde : rose s'il reste à payer, noire si tout est réglé (comme l'aperçu de l'accueil) */
.solde { overflow: hidden; }
.solde p { margin: 0; }
.solde > p:first-of-type strong { font-family: var(--f-titre); font-weight: 800; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .06em; }
.solde .montant { font-family: var(--f-titre); font-size: clamp(3.2rem, 15vw, 4.4rem); font-weight: 800; line-height: .95; margin: .3rem 0 .5rem; }
.solde a { color: inherit; font-weight: 800; }
.solde-du { background: var(--rose-titre); color: var(--blanc); }
.solde-ok { background: var(--noir); color: var(--blanc); }
.solde-ok .montant { color: var(--rose); }
.confettis { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confettis i { position: absolute; top: -12px; width: 7px; height: 12px; opacity: .9; animation: tombe 3.2s linear infinite; }
@keyframes tombe { to { transform: translateY(260px) rotate(540deg); } }

/* Statistiques */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat { background: var(--blanc); border-top: 4px solid var(--noir); padding: .9rem 1.1rem 1rem; }
.stat .valeur { font-family: var(--f-titre); font-size: 2.8rem; font-weight: 800; line-height: 1; }
.stat .libelle { color: var(--encre-doux); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.badges { display: flex; gap: .5rem; flex-wrap: wrap; }
.badge-obtenu { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .7rem; background: var(--noir); color: var(--blanc); font-weight: 700; font-size: .85rem; }
.jauge { height: 8px; background: var(--gris-2); overflow: hidden; margin-top: .6rem; }
.jauge span { display: block; height: 100%; background: var(--rose-titre); }

/* Abonnement annuel : échéancier, reconduction, progression du passage à l'annuel */
.echeancier-total { margin: 0; font-family: var(--f-titre); font-size: 1.15rem; text-transform: uppercase; }
.echeancier-total strong { font-size: 2.2rem; font-weight: 800; }
.echeances { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: .4rem; }
.echeances li { display: grid; grid-template-columns: 2rem 1fr auto auto; gap: .7rem; align-items: center; padding: .6rem .7rem; background: var(--gris); }
.echeance-rang { display: grid; place-items: center; width: 2rem; height: 2rem; background: var(--noir); color: var(--blanc); font-family: var(--f-titre); font-weight: 800; }
.echeance-date { white-space: nowrap; }
.echeance-montant { font-family: var(--f-titre); font-weight: 800; font-size: 1.25rem; }
.echeance-reglee .echeance-statut { background: var(--lagon-pale); color: var(--lagon-fonce); }
.echeance-a_regler .echeance-statut { background: var(--rose-titre); color: var(--blanc); }
.echeance-annulee { opacity: .55; }
.echeance-annulee .echeance-montant { text-decoration: line-through; }
.reconduction { display: grid; gap: .6rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--trait); }
.bloc-annuel { display: grid; gap: 1rem; margin: 0; padding: 1rem; border: 2px solid var(--noir); }
.bloc-annuel[hidden] { display: none; }
.bloc-annuel legend { padding: 0 .4rem; font-family: var(--f-titre); font-weight: 800; font-size: 1.1rem; text-transform: uppercase; }
.choix-tuiles-3 > div { grid-template-columns: repeat(3, 1fr); }
.grille-3 { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
[data-date-paiement][hidden] { display: none; }
.progression-chiffre { margin: 0; font-family: var(--f-titre); font-size: 1.6rem; }
.progression-chiffre strong { font-size: 3.2rem; font-weight: 800; color: var(--rose-titre); }
.progression .libelle, .progression-chiffre .libelle { color: var(--encre-doux); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
a.carte-raccourci { display: block; color: inherit; text-decoration: none; border-left: 4px solid var(--rose-titre); }
a.carte-raccourci:hover h2 { color: var(--rose-titre); }

/* Pictogramme carré devant une ligne (icône au trait) */
.pictogramme { flex: none; width: 40px; height: 40px; display: grid; place-items: center; background: var(--gris); color: var(--noir); }
.pictogramme .svg-icone { width: 22px; height: 22px; }

/* Listes */
.liste { list-style: none; margin: 0; padding: 0; }
.liste > li + li { border-top: 1px solid var(--trait); }
.liste-ligne { display: flex; align-items: center; gap: .85rem; padding: .8rem 0; color: inherit; text-decoration: none; }
a.liste-ligne:hover .nom { color: var(--rose-titre); }
.liste-ligne .corps { flex: 1; min-width: 0; }
.liste-ligne .nom, .liste-ligne .sous { display: block; }
.liste-ligne .nom { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.liste-ligne .sous { color: var(--encre-doux); font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.liste-ligne .droite { text-align: right; flex: none; display: grid; justify-items: end; gap: .25rem; }
.liste-ligne .somme { font-family: var(--f-titre); font-weight: 800; font-size: 1.3rem; line-height: 1; }

/* Historique (dus et paiements) */
.historique { list-style: none; margin: 0; padding: 0; position: relative; }
.historique li { display: grid; grid-template-columns: 40px 1fr auto; gap: .75rem; align-items: center; padding: .7rem 0; }
.historique li + li { border-top: 1px solid var(--trait); }
.historique .paiement .pictogramme { background: var(--lagon-pale); color: var(--lagon-fonce); }
.historique .titre { font-weight: 800; line-height: 1.25; }
.historique .detail { color: var(--encre-doux); font-size: .85rem; }
.historique .valeur { font-family: var(--f-titre); font-weight: 800; font-size: 1.25rem; white-space: nowrap; }
.historique .paiement .valeur { color: var(--lagon-fonce); }
.historique .annule .titre, .historique .annule .valeur { text-decoration: line-through; opacity: .55; }
.historique form { display: inline; }

/* Planning : l'heure en très gros à gauche, comme le planning de l'accueil */
.jour-app h2 { font-size: 1.3rem; text-transform: uppercase; margin: 1.4rem 0 .6rem; display: flex; align-items: center; gap: .5rem; }
.jour-app h2 .aujourdhui { font-family: var(--f-texte); }
.seance {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: .9rem 1rem;
  background: var(--blanc); border-left: 4px solid var(--rose-titre); color: inherit; text-decoration: none; position: relative;
  transition: background .2s ease, color .2s ease;
}
.carte .seance { background: var(--gris); }
.seance + .seance { margin-top: .6rem; }
a.seance:hover { background: var(--noir); color: var(--blanc); }
a.seance:hover .infos { color: rgba(255, 255, 255, .75); }
.seance-heure { font-family: var(--f-titre); font-weight: 800; font-size: 1.8rem; line-height: 1; }
.seance .etiquette { white-space: nowrap; }
@media (max-width: 480px) {
  .seance { gap: .7rem; padding: .8rem .75rem; }
  .seance-heure { font-size: 1.45rem; }
  .seance .titre { font-size: 1.1rem; }
  .carte:has(> .seance) { padding-inline: .9rem; }
}
.seance .titre { font-family: var(--f-titre); font-weight: 800; font-size: 1.25rem; text-transform: uppercase; line-height: 1.1; }
.seance .infos { color: var(--encre-doux); font-size: .87rem; }
.seance .infos .svg-icone { width: 1em; height: 1em; vertical-align: -.12em; }
.seance.annulee { opacity: .6; border-left-color: var(--trait); }
.seance.annulee .titre { text-decoration: line-through; }
.seance.passee { opacity: .6; border-left-color: var(--trait); }
.compteur { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .55rem; background: var(--gris-2); color: var(--noir); font-family: var(--f-titre); font-weight: 800; font-size: 1.05rem; }
.compteur.alerte { background: var(--rose-titre); color: #fff; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(224, 17, 90, .2); } }

/* Navigation de semaine */
.semaine { display: flex; align-items: center; justify-content: space-between; gap: .5rem; background: var(--blanc); padding: .35rem; }
.semaine a { width: 44px; height: 44px; display: grid; place-items: center; text-decoration: none; font-size: 1.4rem; color: var(--blanc); background: var(--noir); }
.semaine a:hover { background: var(--rose-titre); }
.semaine a[aria-disabled="true"] { opacity: .2; pointer-events: none; }
.semaine strong { font-family: var(--f-titre); font-weight: 800; font-size: 1.2rem; text-transform: uppercase; }

/* Pointage */
.pointage { list-style: none; margin: 0; padding: 0; }
.pointage li + li { border-top: 1px solid var(--trait); }
.pointage label { display: flex; align-items: center; gap: .8rem; padding: .7rem .2rem; cursor: pointer; }
.pointage input[type=checkbox] { appearance: none; width: 30px; height: 30px; border: 2px solid var(--trait); display: grid; place-items: center; flex: none; transition: all .15s ease; margin: 0; }
.pointage input[type=checkbox]:checked { background: var(--rose-titre); border-color: var(--rose-titre); }
.pointage input[type=checkbox]:checked::after { content: "✓"; color: #fff; font-weight: 900; font-size: 1.1rem; }
.pointage .nom { flex: 1; font-weight: 700; }
.pointage .autres[hidden] { display: none; }
.barre-collante { position: sticky; bottom: calc(var(--hauteur-onglets) + .75rem); z-index: 30; }

/* Mur de photos */
.publication { padding: 0; overflow: hidden; }
.publication .entete { display: flex; align-items: center; gap: .7rem; padding: 1rem 1.1rem .6rem; }
.publication .texte { padding: 0 1.1rem .8rem; white-space: pre-line; }
.publication .photos { display: grid; gap: 3px; grid-template-columns: repeat(2, 1fr); }
.publication .photos.une { grid-template-columns: 1fr; }
.publication .photos a { display: block; aspect-ratio: 1; overflow: hidden; background: var(--gris-2); }
.publication .photos.une a { aspect-ratio: auto; max-height: 520px; }
.publication .photos img { width: 100%; height: 100%; object-fit: cover; }
.publication .actions { display: flex; align-items: center; justify-content: space-between; padding: .6rem 1.1rem .9rem; }
.coeur { display: inline-flex; align-items: center; gap: .4rem; border: 0; background: var(--gris); padding: .45rem .9rem; font: inherit; font-weight: 800; cursor: pointer; color: var(--encre); }
.coeur .ico { display: inline-flex; transition: transform .3s ease; }
.coeur[aria-pressed="true"] { background: var(--rose-titre); color: var(--blanc); }
.coeur[aria-pressed="true"] .svg-icone { fill: currentColor; }
.coeur[aria-pressed="true"] .ico { transform: scale(1.15); }
.zone-photos { position: relative; display: block; padding: 1.4rem; border: 2px dashed var(--noir); background: var(--gris); text-align: center; cursor: pointer; }
.zone-photos:hover { border-color: var(--rose-titre); }
.zone-photos input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.apercus { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: .5rem; margin-top: .75rem; }
.apercus img { aspect-ratio: 1; object-fit: cover; }

/* Visionneuse */
.visionneuse { position: fixed; inset: 0; z-index: 200; background: rgba(11, 11, 12, .94); display: grid; place-items: center; padding: 1rem; }
.visionneuse img { max-height: 90vh; max-width: 96vw; }
.visionneuse button { position: absolute; top: 1rem; right: 1rem; width: 48px; height: 48px; border: 0; background: var(--blanc); font-size: 1.4rem; cursor: pointer; }

/* Écrans de connexion */
.page-connexion { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1rem; position: relative; overflow: hidden; }
.boite-connexion { width: min(100%, 440px); }
.boite-connexion .logo { width: 150px; margin: 0 auto 1rem; }
.boite-connexion > .carte { border-top: 5px solid var(--rose-titre); padding: 1.6rem 1.4rem; }
.boite-connexion h1 { text-transform: uppercase; }
.bascule { display: grid; grid-template-columns: 1fr 1fr; background: var(--gris-2); padding: .25rem; margin-bottom: 1.25rem; }
.bascule button { border: 0; background: none; min-height: 44px; font: inherit; font-weight: 800; color: var(--encre-doux); cursor: pointer; }
.bascule button[aria-selected="true"] { background: var(--noir); color: var(--blanc); }

/* Accessibilité : mouvements réduits */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .confettis { display: none; }
}
