/* Coach Sport Oise - feuille de style unique.
   Structure reprise d'informatiquecompiegne.fr (header a deux bandeaux,
   formulaire a retour :target, apparitions .reveal). Polices auto-hebergees
   (assets/fonts/), aucune ressource externe : CSP 'self' partout. */

/* ════════════ POLICES ════════════ */
@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo.woff2") format("woff2");
  font-weight: 500 800;
  font-stretch: 100% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ════════════ TOKENS ════════════ */
:root {
  /* Anthracite du logo (fond des bandeaux sombres) */
  --char: oklch(0.25 0.012 255);
  --char-2: oklch(0.31 0.014 255);
  /* Bleu du logo : --blue en decor, --blue-ink pour le texte et les actions
     (contraste AA sur fond clair et avec du blanc dessus). */
  --blue: oklch(0.64 0.15 250);
  --blue-ink: oklch(0.49 0.16 255);
  --blue-hover: oklch(0.43 0.15 255);
  --blue-soft: oklch(0.955 0.02 250);
  /* Bois des poutres de la salle : petits reperes (filets des surtitres) */
  --wood: oklch(0.72 0.12 62);
  /* Neutres teintes vers le bleu */
  --bg: oklch(0.985 0.003 250);
  --bg-soft: oklch(0.965 0.006 250);
  --surface: oklch(1 0 0);
  --ink: oklch(0.24 0.015 255);
  --ink-2: oklch(0.44 0.015 255);
  --line: oklch(0.89 0.01 250);
  --on-dark: oklch(0.97 0.005 250);
  --on-dark-2: oklch(0.82 0.012 250);
  --ok: oklch(0.52 0.12 150);
  --err: oklch(0.52 0.18 27);

  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;

  --radius: 14px;
  --radius-s: 8px;
  --gutter: clamp(16px, 4vw, 40px);
  --wrap: 1180px;
  --section: clamp(4rem, 9vw, 7rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --z-header: 50;
  --z-menu: 60;
  --z-skip: 100;
}

/* ════════════ BASE ════════════ */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-ink); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
/* Paragraphes justifies (demande du 2026-10-05, regle commune : skill
   sites-vitrines, front.md). Sans cesure automatique (refusee sur Aude).
   Lignes uniques et dernieres lignes restent alignees a gauche. */
main p { text-align: justify; }
/* Colonnes etroites (cartes, citations) : sans cesure, la justification y
   ouvre des trous (verifie en 375 px). Elles restent alignees a gauche. */
.kicker, .vision p, .carte p, .atouts p, .tarif-bloc p, .form-status, .note, .form-intro { text-align: left; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 700; }
address { font-style: normal; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); line-height: 1.15; }

.lead { font-size: clamp(1.12rem, 1.5vw, 1.28rem); color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }
.prose { max-width: 66ch; text-wrap: pretty; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.band-soft { background: var(--bg-soft); }
.band-dark { background: var(--char); color: var(--on-dark-2); }
.band-dark h2, .band-dark h3 { color: var(--on-dark); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: var(--z-skip);
  background: var(--char); color: var(--on-dark); padding: 10px 16px; border-radius: var(--radius-s);
}
.skip:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Surtitre : filet bois + capitales espacees. */
.kicker {
  display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.9rem;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-ink);
}
.kicker::before { content: ""; width: 2.4rem; height: 2px; background: var(--wood); flex: none; }
.band-dark .kicker, .hero .kicker { color: var(--blue); }

.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head .lead { margin-bottom: 0; }

/* ════════════ BOUTONS ════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 52px; padding: 0.7em 1.4em;
  border: 2px solid transparent; border-radius: 999px;
  font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: 1.05rem;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-main { background: var(--blue-ink); color: var(--surface); }
.btn-main:hover { background: var(--blue-hover); }
.btn-ghost { border-color: currentColor; color: var(--char); background: transparent; }
.btn-ghost:hover { background: var(--char); color: var(--on-dark); border-color: var(--char); }
.btn-ghost.light { color: var(--on-dark); }
.btn-ghost.light:hover { background: var(--on-dark); color: var(--char); border-color: var(--on-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ════════════ HEADER ════════════ */
/* Deux bandeaux : le premier (logo, telephone) reste visible ; le second
   (navigation) se replie au defilement vers le bas (.nav-hidden, app.js).
   Regle commune (skill sites-vitrines, header-defilement) : la barre est
   HORS du flux et glisse par transform, la hauteur de la page ne change
   jamais. margin-bottom reserve sa place en haut de page. */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  margin-bottom: 52px;
}
.header-top {
  position: relative; z-index: 1;
  background: color-mix(in oklch, var(--bg) 97%, transparent);
  border-bottom: 1px solid var(--line);
}
.header-nav {
  position: absolute; top: 100%; left: 0; right: 0;
  background: color-mix(in oklch, var(--bg) 97%, transparent);
  border-bottom: 1px solid var(--line);
  transition: transform 0.32s var(--ease), opacity 0.22s var(--ease);
}
.site-header.nav-hidden .header-nav { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.site-header.nav-hidden .header-nav:focus-within { transform: none; opacity: 1; pointer-events: auto; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }

/* Symbole seul (extrait du logo d'origine) + nom en HTML, comme
   informatiquecompiegne.fr : net a toute taille, lisible par les moteurs. */
.brand { display: flex; align-items: center; gap: 0.7rem; flex: none; text-decoration: none; }
.brand img { width: auto; height: 54px; }
.brand-text { display: flex; flex-direction: column; gap: 0.15rem; }
.brand-name {
  font-family: var(--font-display); font-stretch: 112%; font-weight: 780;
  font-size: 1.3rem; line-height: 1; color: var(--char);
}
.brand-sub { font-size: 0.92rem; font-weight: 400; font-style: italic; color: var(--blue-ink); }

.top-right { display: flex; align-items: center; gap: 1.8rem; }
.top-contact { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.top-contact .icon { width: 1.15rem; height: 1.15rem; color: var(--blue-ink); }
.tc-text { display: flex; flex-direction: column; line-height: 1.2; }
.tc-label { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-ink); }
.tc-value { font-size: 0.98rem; font-weight: 600; color: var(--ink); transition: color 0.2s var(--ease); }
.top-contact:hover .tc-value { color: var(--blue-ink); }

.tb-btn {
  display: inline-flex; align-items: center; gap: 0.45em; min-height: 42px; padding: 0 1.1rem;
  border-radius: var(--radius-s); text-decoration: none; white-space: nowrap;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease);
}
.tb-btn:hover { transform: translateY(-1px); }
.tb-btn .icon { width: 1.05em; height: 1.05em; }
.tb-btn-solid { color: var(--surface); background: var(--blue-ink); }
.tb-btn-solid:hover { background: var(--blue-hover); }

.nav-inner { display: flex; align-items: center; justify-content: center; height: 51px; }
.site-nav ul { display: flex; list-style: none; gap: 2.1rem; }
.site-nav a {
  position: relative; display: block; padding: 0.85rem 0;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem;
  transition: color 0.2s var(--ease);
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.45rem; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.site-nav a:hover { color: var(--blue-ink); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.top-call, .menu-toggle {
  display: none; align-items: center; justify-content: center; flex: none;
  width: 46px; height: 46px; border-radius: var(--radius-s); cursor: pointer;
}
.top-call { background: var(--blue-ink); color: var(--surface); }
.menu-toggle { border: 1px solid color-mix(in oklch, var(--char) 30%, transparent); background: var(--surface); color: var(--char); }
.top-call .icon, .menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

/* ════════════ ACCUEIL (hero) ════════════ */
/* Photo de la salle sous un voile anthracite : opaque a gauche sous le
   texte, la cage de musculation apparait a droite. */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--on-dark);
  background:
    linear-gradient(100deg,
      var(--char) 0%,
      color-mix(in oklch, var(--char) 94%, transparent) 40%,
      color-mix(in oklch, var(--char) 55%, transparent) 72%,
      color-mix(in oklch, var(--char) 25%, transparent) 100%),
    var(--char) url("assets/img/hero-salle-1200.webp") 70% 40% / cover no-repeat;
}
@media (max-width: 680px) {
  .hero {
    background:
      linear-gradient(180deg,
        color-mix(in oklch, var(--char) 92%, transparent) 0%,
        color-mix(in oklch, var(--char) 82%, transparent) 100%),
      var(--char) url("assets/img/hero-salle-900.webp") 70% center / cover no-repeat;
  }
}
.hero-inner { padding-block: clamp(4rem, 10vw, 7.5rem); }
.hero h1 { max-width: 19ch; color: var(--on-dark); }
/* Le nom de la ville ne se coupe pas aux traits d'union, sauf sur mobile (trop long). */
@media (min-width: 681px) { .hero h1 .ville { white-space: nowrap; } }
.hero h1 em { display: block; font-style: normal; color: var(--blue); }
.hero .lead { color: var(--on-dark-2); margin-bottom: 2rem; }

/* ════════════ EN BREF ════════════ */
.presentation { background: var(--surface); border-bottom: 1px solid var(--line); }
.atouts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; }
.atouts li {
  display: flex; gap: 0.9rem; align-items: flex-start;
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1rem, 2vw, 1.6rem);
  border-left: 1px solid var(--line);
}
.atouts li:first-child { border-left: 0; padding-left: 0; }
.atouts .icon { width: 2rem; height: 2rem; color: var(--blue-ink); }
.atouts p { margin: 0; color: var(--ink-2); font-size: 1.02rem; }
.atouts strong { display: block; color: var(--ink); font-family: var(--font-display); font-stretch: 108%; font-size: 1.08rem; }

/* ════════════ LA SALLE ════════════ */
.galerie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.8rem, 2vw, 1.4rem); list-style: none; }
.galerie img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }

/* ════════════ LE COACH ════════════ */
.coach { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
/* Portrait detoure (fond transparent), en niveaux de gris sauf la pochette bleue,
   sans fond, format 3:4 sans recadrage, carte du nom en surimpression. */
.coach-media { position: relative; }
.coach-media img.portrait {
  width: 90%; aspect-ratio: 3 / 4; object-fit: contain; object-position: center bottom;
  border-radius: var(--radius);
}
.coach-quote {
  margin: -3.5rem 0 0 clamp(1rem, 4vw, 2.5rem); position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.4rem; max-width: 30ch; font-size: 1.02rem; color: var(--ink-2);
  text-align: left; /* carte etroite : voir main p */
}
.coach-quote strong { display: block; font-family: var(--font-display); font-stretch: 110%; font-size: 1.2rem; color: var(--char); }
.vision {
  margin: 1.8rem 0; padding: 0.2rem 0 0.2rem 1.3rem; border-left: 3px solid var(--blue);
  font-family: var(--font-display); font-stretch: 108%; font-weight: 700;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.25; color: var(--char);
}
.vision p { margin: 0; }

/* ════════════ LA SEANCE ════════════ */
.seance { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.objectifs { display: grid; gap: 0.8rem; list-style: none; }
.objectifs li {
  display: flex; align-items: center; gap: 0.9rem; padding: 1.1rem 1.3rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: 1.1rem;
}
.objectifs .icon { width: 1.6rem; height: 1.6rem; color: var(--blue-ink); }

/* ════════════ COMPETENCES ════════════ */
.competences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2rem); }
.comp-bloc { padding: clamp(1.4rem, 3vw, 2rem); border: 1px solid color-mix(in oklch, var(--on-dark) 16%, transparent); border-radius: var(--radius); background: var(--char-2); }
.comp-bloc h3 { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.comp-bloc h3 .icon { color: var(--blue); width: 1.5rem; height: 1.5rem; }

.liste-check { list-style: none; display: grid; gap: 0.55rem; }
.liste-check li { position: relative; padding-left: 1.6rem; }
.liste-check li::before {
  content: ""; position: absolute; left: 0.1rem; top: 0.5em; width: 0.7rem; height: 0.4rem;
  border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg);
}

/* ════════════ COURS ════════════ */
.cours { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(1rem, 2.4vw, 1.5rem); list-style: none; }
.carte { padding: clamp(1.4rem, 3vw, 1.8rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.carte > .icon { width: 2.2rem; height: 2.2rem; margin-bottom: 0.9rem; color: var(--blue-ink); }
.carte h3 { margin-bottom: 0.6rem; }
.carte p, .carte li { color: var(--ink-2); font-size: 1.02rem; }
.carte p:last-child { margin-bottom: 0; }
.carte ul { padding-left: 1.1rem; display: grid; gap: 0.2rem; }

/* Bandeaux photo (« Venez avec », « Trouver la salle ») : technique du hero
   d'informatiquecompiegne.fr (skill sites-vitrines, front.md). Voile clair
   --blue-soft en degrade : opaque sous le texte (a gauche), de plus en plus
   transparent vers la droite ou la photo apparait (sujet recadre vers 65 %).
   Mobile : voile vertical presque opaque, le texte occupe toute la largeur.
   1600 px / 900 px, WebP q55 recadres au format affiche. */
.band-photo {
  --voile: var(--blue-soft);
  background-color: var(--voile);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
}
.band-photo > .wrap { position: relative; }
.fond-materiel {
  background-image:
    linear-gradient(100deg,
      var(--voile) 0%,
      color-mix(in oklch, var(--voile) 96%, transparent) 38%,
      color-mix(in oklch, var(--voile) 70%, transparent) 58%,
      color-mix(in oklch, var(--voile) 25%, transparent) 80%,
      color-mix(in oklch, var(--voile) 10%, transparent) 100%),
    url("assets/img/fond-materiel-1600.webp");
}
.fond-acces {
  background-image:
    linear-gradient(100deg,
      var(--voile) 0%,
      color-mix(in oklch, var(--voile) 96%, transparent) 38%,
      color-mix(in oklch, var(--voile) 70%, transparent) 58%,
      color-mix(in oklch, var(--voile) 25%, transparent) 80%,
      color-mix(in oklch, var(--voile) 10%, transparent) 100%),
    url("assets/img/fond-acces-1600.webp");
}
/* Competences : meme technique, voile anthracite (bande sombre). */
.fond-diplome {
  --voile: var(--char);
  background-image:
    linear-gradient(100deg,
      var(--voile) 0%,
      color-mix(in oklch, var(--voile) 96%, transparent) 45%,
      color-mix(in oklch, var(--voile) 70%, transparent) 64%,
      color-mix(in oklch, var(--voile) 30%, transparent) 82%,
      color-mix(in oklch, var(--voile) 15%, transparent) 100%),
    url("assets/img/fond-diplome-1600.webp");
}
.fond-diplome .wrap > * { max-width: 760px; }
/* Le texte reste dans la partie opaque du voile. */
.band-photo .materiel { max-width: 760px; margin-left: max(var(--gutter), (100% - var(--wrap)) / 2); }
.band-photo .acces .btn { margin-left: 0; }
/* « Trouver la salle » : plus haute que .section-tight pour laisser voir la photo. */
#trouver.fond-acces { padding-block: clamp(4.5rem, 9vw, 7rem); }
/* Photo entiere (3:2) calee a droite sur 70 % de la largeur : la partie gauche
   est sous le voile opaque, inutile d'y etirer l'image. Vue moins zoomee qu'en cover. */
#trouver.fond-acces {
  background-image:
    linear-gradient(100deg,
      var(--voile) 0%,
      var(--voile) 40%,
      color-mix(in oklch, var(--voile) 80%, transparent) 50%,
      color-mix(in oklch, var(--voile) 45%, transparent) 64%,
      color-mix(in oklch, var(--voile) 15%, transparent) 82%,
      color-mix(in oklch, var(--voile) 5%, transparent) 100%),
    url("assets/img/fond-acces-1600.webp");
  background-size: 100% 100%, 62% auto;
  background-position: 0 0, right center;
}
@media (max-width: 680px) {
  #trouver.fond-acces {
    background-image:
      linear-gradient(180deg, var(--voile) 0%, color-mix(in oklch, var(--voile) 92%, transparent) 55%, color-mix(in oklch, var(--voile) 60%, transparent) 100%),
      url("assets/img/fond-acces-900.webp");
    background-size: cover;
    background-position: center bottom;
  }
}
@media (max-width: 680px) {
  .fond-materiel {
    background-image:
      linear-gradient(180deg, var(--voile) 0%, color-mix(in oklch, var(--voile) 92%, transparent) 55%, color-mix(in oklch, var(--voile) 60%, transparent) 100%),
      url("assets/img/fond-materiel-900.webp");
  }
  .fond-acces {
    background-image:
      linear-gradient(180deg, var(--voile) 0%, color-mix(in oklch, var(--voile) 92%, transparent) 55%, color-mix(in oklch, var(--voile) 60%, transparent) 100%),
      url("assets/img/fond-acces-900.webp");
  }
  .fond-diplome {
    background-image:
      linear-gradient(180deg, var(--voile) 0%, color-mix(in oklch, var(--voile) 92%, transparent) 60%, color-mix(in oklch, var(--voile) 55%, transparent) 100%),
      url("assets/img/fond-diplome-900.webp");
  }
  .band-photo { background-position: center bottom; }
}
/* ════════════ MATERIEL ════════════ */
.materiel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 5vw, 4rem); }
.h-small { display: flex; align-items: center; gap: 0.6rem; font-size: 1.35rem; margin: 0 0 1rem; }
.h-small .icon { color: var(--blue-ink); }

/* ════════════ TARIFS ════════════ */
.tarifs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.5rem); align-items: stretch; }
.tarif-bloc { display: flex; flex-direction: column; padding: clamp(1.4rem, 3vw, 2rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.tarif-bloc h3 { margin-bottom: 1.2rem; }
.prix { margin: 0; display: grid; gap: 1rem; }
.prix div { padding-top: 1rem; border-top: 1px solid var(--line); }
.prix dt { color: var(--ink-2); font-size: 1rem; }
.prix dd { margin: 0.2rem 0 0; font-size: 1rem; color: var(--ink-2); }
.prix strong, .essai-prix strong {
  font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 2rem;
  color: var(--char); font-variant-numeric: tabular-nums; margin-right: 0.15em;
}
.essai { background: var(--char); border-color: var(--char); color: var(--on-dark-2); }
.essai h3, .essai .essai-prix strong { color: var(--on-dark); }
.essai .btn { margin-top: auto; align-self: flex-start; }

/* ════════════ HORAIRES + CONTACT ════════════ */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-grid .h-small { margin-top: 2.4rem; }
.hours { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.hours th, .hours td { padding: 0.6rem 0; border-bottom: 1px solid var(--line); text-align: left; }
.hours th { font-weight: 600; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.call-number {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-family: var(--font-display); font-stretch: 115%; font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--char); text-decoration: none; white-space: nowrap;
}
.call-number .icon { color: var(--blue-ink); width: 0.8em; height: 0.8em; }
.call-number:hover { color: var(--blue-ink); }
.note { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.4rem; color: var(--ink-2); font-size: 1rem; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.6rem); }
.form-card h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 0.3rem; }
.form-intro { color: var(--ink-2); margin-bottom: 1.5rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
.form-grid .wide { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 1rem; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 0.7rem 0.9rem;
  font: inherit; font-size: 1.05rem; color: var(--ink);
  background: var(--bg); border: 1.5px solid color-mix(in oklch, var(--ink-2) 45%, transparent); border-radius: var(--radius-s);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-ink); background: var(--surface); box-shadow: 0 0 0 3px color-mix(in oklch, var(--blue) 25%, transparent); }
/* Champ refuse : :user-invalid apres saisie ou envoi ; .est-invalide (app.js)
   pour les navigateurs qui ne le connaissent pas. */
.field input:user-invalid, .field textarea:user-invalid,
.field input.est-invalide, .field textarea.est-invalide {
  border-color: var(--err);
  background: color-mix(in oklch, var(--err) 5%, var(--surface));
}
.field input:user-invalid:focus, .field textarea:user-invalid:focus,
.field input.est-invalide:focus, .field textarea.est-invalide:focus {
  border-color: var(--err);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--err) 18%, transparent);
}
.field:has(input:user-invalid) > label, .field:has(textarea:user-invalid) > label,
.field:has(.est-invalide) > label { color: var(--err); }
.field .hint { font-size: 0.9rem; color: var(--ink-2); }
.field label.consent { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.98rem; font-weight: 400; }
.consent input { width: 22px; height: 22px; min-height: 0; margin-top: 0.15em; accent-color: var(--blue-ink); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.4rem; }
.form-foot p { margin: 0; font-size: 0.92rem; color: var(--ink-2); }

/* Retours du formulaire : envoi-contact.php redirige vers ./#<etat>,
   affiche ici via :target, sans JavaScript. */
.form-status { display: none; margin-bottom: 1.5rem; padding: 1rem 1.2rem; border-radius: var(--radius-s); font-weight: 600; }
.form-status:target { display: flex; gap: 0.7rem; }
.form-status.ok { background: color-mix(in oklch, var(--ok) 14%, var(--surface)); color: oklch(0.36 0.1 150); }
.form-status.ko { background: color-mix(in oklch, var(--err) 12%, var(--surface)); color: oklch(0.42 0.16 27); }
.form-status .icon { margin-top: 0.15em; }

/* ════════════ ACCES ════════════ */
.acces { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; }
.acces h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 0.3rem; }
.acces address { color: var(--ink-2); line-height: 1.5; }
.acces address strong { color: var(--ink); }
.acces-icone { width: 3rem; height: 3rem; color: var(--blue-ink); }
.acces .btn { margin-left: auto; }

/* ════════════ PAGES LEGALES ════════════ */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.2rem; margin-bottom: 1em; }

/* ════════════ FOOTER ════════════ */
.site-footer { background: var(--char); color: var(--on-dark-2); font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; }
.footer-brand { font-family: var(--font-display); font-stretch: 115%; font-weight: 780; font-size: 1.25rem; color: var(--on-dark); margin-bottom: 0.8rem; }
.site-footer .footer-title { font-family: var(--font-display); font-weight: 760; font-size: 1rem; font-stretch: 108%; color: var(--on-dark); margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; display: grid; gap: 0.5rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer address { line-height: 1.7; }
.footer-call { font-family: var(--font-display); font-stretch: 112%; font-weight: 780; font-size: 1.35rem; }
.social { display: flex; gap: 10px; margin-top: 1.2rem; }
.social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid color-mix(in oklch, var(--on-dark) 30%, transparent);
}
.social a:hover { background: color-mix(in oklch, var(--on-dark) 12%, transparent); }
.social .icon { width: 20px; height: 20px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 2rem;
  padding-block: 1.4rem; border-top: 1px solid color-mix(in oklch, var(--on-dark) 16%, transparent);
  font-size: 0.92rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }

/* ════════════ APPARITION AU DEFILEMENT ════════════ */
/* Contenu visible par defaut : .js-reveal n'est posee que par app.js,
   et seulement si l'utilisateur accepte les animations. */
.js-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
.js-reveal .reveal-group > * { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js-reveal .reveal-group.is-in > * { opacity: 1; transform: none; }
.js-reveal .reveal-group.is-in > :nth-child(2) { transition-delay: 0.08s; }
.js-reveal .reveal-group.is-in > :nth-child(3) { transition-delay: 0.16s; }
.js-reveal .reveal-group.is-in > :nth-child(4) { transition-delay: 0.24s; }
.js-reveal .reveal-group.is-in > :nth-child(5) { transition-delay: 0.32s; }
.js-reveal .reveal-group.is-in > :nth-child(n+6) { transition-delay: 0.4s; }

/* ════════════ RESPONSIVE ════════════ */
@media (max-width: 1080px) {
  .top-right .top-contact:nth-child(2) { display: none; }
  .site-nav ul { gap: 1.5rem; }
}

@media (max-width: 980px) {
  .top-right { display: none; }
  .top-call, .menu-toggle { display: inline-flex; }
  .top-inner { gap: 0.6rem; min-height: 70px; }
  .brand { margin-right: auto; }
  .brand img { height: 46px; }
  /* Mobile : pas de barre repliable, le menu est un deroulant sous le bandeau. */
  .site-header { margin-bottom: 0; }
  .header-nav, .site-header.nav-hidden .header-nav {
    top: 100%; background: none; border-bottom: 0;
    transform: none; opacity: 1; pointer-events: auto; transition: none;
  }
  .nav-inner { height: 0; }
  .site-nav {
    position: absolute; top: 0; left: 0; right: 0; z-index: var(--z-menu);
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 8px -6px color-mix(in oklch, var(--char) 18%, transparent);
    padding: 0.5rem var(--gutter) 1rem;
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav a { padding: 0.95rem 0.25rem; font-size: 1.1rem; }
  .site-nav a::after { bottom: 0.5rem; right: auto; width: 2.5rem; }
  html { scroll-padding-top: 90px; }

  .coach, .seance, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .coach-media { max-width: 420px; }
  .tarifs { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  body { font-size: 1.0625rem; }
  .top-inner { min-height: 64px; }
  .brand img { height: 40px; }
  .brand-name { font-size: 1.1rem; }
  .brand-sub { font-size: 0.8rem; }
  .atouts { grid-template-columns: minmax(0, 1fr); }
  .atouts li { border-left: 0; border-top: 1px solid var(--line); padding-inline: 0; }
  .atouts li:first-child { border-top: 0; }
  .galerie { grid-template-columns: minmax(0, 1fr); }
  .galerie img { aspect-ratio: 4 / 3; }
  .competences, .materiel, .form-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .btn-row .btn { flex: 1 1 100%; }
  .acces .btn { margin-left: 0; }
}

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

/* ════════════ IMPRESSION ════════════ */
@media print {
  .site-header, .site-footer, .btn, .menu-toggle, .top-call, .form-card { display: none !important; }
  .hero, .band-dark { background: none; color: var(--ink); }
}
