/* ============================================================
   USMA Saint-Ouen, maquette Meriova
   Direction : affiche de club omnisports municipal.
   Système de couleurs : le club a quatre couleurs officielles
   (jaune, noir, bleu, rouge). Règle appliquée sur toute la page :
     - noir  = encre (texte, surfaces sombres)
     - jaune = accent d'interface UNIQUE (CTA, filets, focus, puces)
     - bleu et rouge = uniquement le codage des familles de sports
       et le filet de marque à quatre bandes. Jamais un bouton.
   Formes : boutons et pastilles en pilule, cartes 14 px, médias 12 px.
   ============================================================ */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('assets/fonts/bricolage-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('assets/fonts/bricolage-latin-ext.woff2') format('woff2');
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Chivo';
  src: url('assets/fonts/chivo-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Chivo';
  src: url('assets/fonts/chivo-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #F1F1EE;
  --surface: #FFFFFF;
  --surface-2: #F8F8F5;
  --ink: #15171B;
  --ink-2: #434952;
  --ink-3: #676E78;
  --line: rgba(21, 23, 27, 0.13);
  --line-soft: rgba(21, 23, 27, 0.08);
  --or: #FFC61A;
  --or-2: #EFAE00;
  --or-ink: #74521F;
  --bleu: #12379B;
  --rouge: #C3302A;
  --shadow-s: 0 1px 2px rgba(21, 23, 27, 0.05), 0 6px 18px -10px rgba(21, 23, 27, 0.18);
  --shadow-m: 0 2px 4px rgba(21, 23, 27, 0.05), 0 22px 46px -26px rgba(21, 23, 27, 0.35);
  --r-card: 14px;
  --r-inner: 10px;
  --r-media: 12px;
  --r-pill: 999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shell: min(1180px, 100% - 3rem);
  /* surfaces qui restent sombres dans les deux thèmes */
  --panel: #15171B;
  --panel-fg: #F1F1EE;
  --panel-dim: rgba(241, 241, 238, 0.7);
  --panel-line: rgba(241, 241, 238, 0.16);
  /* couleurs de famille en aplat : valeurs fixes, contraste AA avec le blanc */
  --bleu-solid: #12379B;
  --rouge-solid: #B92A24;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #101216;
    --surface: #181B21;
    --surface-2: #1E222A;
    --ink: #F0F1F3;
    --ink-2: #B3BAC4;
    --ink-3: #8C939E;
    --line: rgba(240, 241, 243, 0.16);
    --line-soft: rgba(240, 241, 243, 0.09);
    --or: #FFC61A;
    --or-2: #FFD764;
    --or-ink: #FFD764;
    --bleu: #4468DE;
    --rouge: #E15A50;
    --shadow-s: 0 1px 2px rgba(0, 0, 0, 0.4), 0 6px 18px -10px rgba(0, 0, 0, 0.6);
    --shadow-m: 0 2px 4px rgba(0, 0, 0, 0.4), 0 22px 46px -26px rgba(0, 0, 0, 0.8);
    --panel: #1B1F27;
    --panel-fg: #F0F1F3;
    --panel-dim: rgba(240, 241, 243, 0.68);
    --panel-line: rgba(240, 241, 243, 0.15);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Chivo', ui-sans-serif, system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display {
  font-family: 'Bricolage Grotesque', 'Chivo', ui-sans-serif, sans-serif;
  font-variation-settings: 'opsz' 40;
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }

a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--or);
  outline-offset: 3px;
  border-radius: 4px;
}

.shell { width: var(--shell); margin-inline: auto; }
@media (max-width: 640px) { :root { --shell: min(1180px, 100% - 2rem); } }

.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;
}

.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ---------- bandeau aperçu ---------- */
.preview {
  background: var(--panel);
  color: var(--panel-fg);
  font-size: 0.8125rem;
  line-height: 1.35;
}
.preview-inner {
  width: var(--shell); margin-inline: auto;
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.5rem 0; flex-wrap: nowrap;
}
.preview-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--or); flex: none;
}
.preview p { min-width: 0; }
.preview strong { font-weight: 700; }
.preview-short { display: none; }
.preview a {
  margin-left: auto; flex: none; color: var(--or);
  text-decoration: underline; text-underline-offset: 3px; font-weight: 600;
}
@media (max-width: 720px) {
  .preview-full { display: none; }
  .preview-short { display: inline; }
  .preview-inner { padding: 0.4rem 0; gap: 0.5rem; font-size: 0.75rem; }
}

/* ---------- barre de navigation ---------- */
.nav-wrap { position: sticky; top: 0; z-index: 40; padding-top: 0.7rem; }
.nav {
  width: var(--shell); margin-inline: auto;
  height: 66px;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0 0.55rem 0 0.9rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-soft);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: var(--shadow-s);
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand img { height: 42px; width: auto; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800;
  font-size: 1.05rem; letter-spacing: -0.02em;
}
.brand-sub { font-size: 0.6875rem; color: var(--ink-3); letter-spacing: 0.04em; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 1.35rem; margin-left: auto; }
.nav-links a {
  text-decoration: none; font-size: 0.9375rem; font-weight: 500; color: var(--ink-2);
  white-space: nowrap; transition: color 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: 1rem; }
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .nav { height: 60px; }
  .brand img { height: 36px; }
}
@media (max-width: 430px) {
  .brand-sub { display: none; }
  .brand-name { font-size: 1.15rem; }
  .nav { padding-left: 0.7rem; }
  .btn-sm { padding: 0.5rem 0.45rem 0.5rem 0.85rem; font-size: 0.8125rem; }
}

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.72rem 0.72rem 0.72rem 1.25rem;
  border-radius: var(--r-pill);
  font-family: 'Chivo', sans-serif; font-size: 0.9375rem; font-weight: 700;
  text-decoration: none; white-space: nowrap; border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background-color 0.4s var(--ease),
              border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.btn-round {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  transition: transform 0.45s var(--ease), background-color 0.45s var(--ease);
}
.btn-round .icon { width: 15px; height: 15px; }
.btn-primary { background: var(--or); color: #15171B; box-shadow: var(--shadow-s); }
.btn-primary .btn-round { background: rgba(21, 23, 27, 0.12); }
.btn-primary:hover { background: var(--or-2); }
.btn-primary:hover .btn-round { transform: translate(2px, -2px); background: rgba(21, 23, 27, 0.2); }
.btn-primary:active { transform: scale(0.98); }
.btn-ghost { border-color: var(--line); color: var(--ink); padding-left: 1.15rem; }
.btn-ghost .btn-round { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost:hover .btn-round { transform: translate(2px, -2px); }
.btn-ghost:active { transform: scale(0.98); }
.btn-sm { padding: 0.5rem 0.5rem 0.5rem 1rem; font-size: 0.875rem; }
.btn-dark { background: #15171B; color: #F1F1EE; }
.btn-dark .btn-round { background: rgba(241, 241, 238, 0.16); }
.btn-dark:hover { background: #24272E; }
.btn-dark:hover .btn-round { transform: translate(2px, -2px); }
.btn-dark:active { transform: scale(0.98); }
.btn-sm .btn-round { width: 26px; height: 26px; }

/* ---------- filet de marque 4 couleurs ---------- */
.rule4 { display: flex; height: 5px; width: 92px; border-radius: 3px; overflow: hidden; }
.rule4 i { flex: 1; }
.rule4 i:nth-child(1) { background: var(--or); }
.rule4 i:nth-child(2) { background: var(--ink); }
.rule4 i:nth-child(3) { background: var(--bleu); }
.rule4 i:nth-child(4) { background: var(--rouge); }

/* ---------- typo utilitaires ---------- */
.kicker {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--or-ink);
}
.lead { font-size: 1.125rem; color: var(--ink-2); line-height: 1.62; max-width: 62ch; }
.muted { color: var(--ink-3); }
.h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); max-width: 22ch; }
.h3 { font-size: clamp(1.25rem, 1.9vw, 1.5rem); letter-spacing: -0.018em; }

section { padding-block: clamp(4rem, 8vw, 7.5rem); }

/* ---------- reveal ---------- */
.rise { opacity: 0; transform: translateY(22px); }
.js .rise { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.rise.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rise, .js .rise { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, .btn-round, .fam, .lieu { transition: none !important; }
}

/* ============================ HÉROS ============================ */
.hero { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero-grid {
  display: grid; grid-template-columns: 1.24fr 0.76fr; gap: clamp(2rem, 4vw, 3.5rem);
  align-items: end;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.35rem);
  font-variation-settings: 'opsz' 96, 'wdth' 92;
  letter-spacing: -0.032em; line-height: 0.96;
  margin: 1.4rem 0 0;
  max-width: 13ch;
}
.hero h1 .or { color: var(--or-ink); }
.hero-sub { margin-top: 1.5rem; font-size: 1.1875rem; color: var(--ink-2); max-width: 46ch; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.hero-media { display: grid; gap: 0.85rem; }
.bezel {
  padding: 7px; border-radius: calc(var(--r-media) + 7px);
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  border: 1px solid var(--line-soft);
}
.bezel > * { border-radius: var(--r-media); }
.hero-media img {
  width: 100%; height: 300px; object-fit: cover;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.hero-card {
  background: var(--panel); color: var(--panel-fg); border-radius: var(--r-card);
  border: 1px solid var(--panel-line);
  padding: 1.15rem 1.25rem; display: flex; gap: 0.9rem; align-items: flex-start;
}
.hero-card .icon { width: 20px; height: 20px; color: var(--or); margin-top: 2px; }
.hero-card b { display: block; font-size: 0.9375rem; font-weight: 700; }
.hero-card span { font-size: 0.875rem; color: var(--panel-dim); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; align-items: stretch; }
  .hero h1 { max-width: 100%; font-size: clamp(2.35rem, 9.5vw, 3.3rem); }
  .hero-media img { height: 210px; }
}

/* ============================ REPÈRES ============================ */
.reperes { padding-block: 0; }
.reperes-in {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--line);
}
.repere { padding: 1.5rem 1.25rem 1.6rem 0; }
.repere + .repere { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.repere b {
  display: block; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800;
  font-size: clamp(1.6rem, 2.8vw, 2.35rem); letter-spacing: -0.03em; line-height: 1;
}
.repere span { display: block; margin-top: 0.5rem; font-size: 0.875rem; color: var(--ink-3); }
@media (max-width: 860px) {
  .reperes-in { grid-template-columns: repeat(2, 1fr); }
  .repere { padding: 1.1rem 1rem 1.1rem 0; border-top: 1px solid var(--line); }
  .repere:nth-child(-n+2) { border-top: 0; }
  .repere + .repere { border-left: 0; padding-left: 0; }
  .repere:nth-child(even) { padding-left: 1.1rem; border-left: 1px solid var(--line); }
  .repere:last-child { grid-column: 1 / -1; }
}

/* ============================ FAMILLES ============================ */
.sect-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.sect-head p { max-width: 60ch; color: var(--ink-2); }

.fams { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0.85rem; }
.fam {
  grid-column: span 4;
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--r-card); padding: 1.35rem 1.4rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.9rem;
  position: relative; overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.fam::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--fc, var(--or));
}
.fam:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.fam-top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.fam h3 { font-size: 1.1875rem; letter-spacing: -0.02em; }
.fam-n {
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 0.9375rem;
  color: var(--ink-3); font-variant-numeric: tabular-nums;
}
.fam ul { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.fam li {
  font-size: 0.875rem; font-weight: 500; padding: 0.28rem 0.68rem;
  border-radius: var(--r-pill); background: color-mix(in srgb, var(--ink) 6%, transparent);
  color: var(--ink-2);
}
.fam.span5 { grid-column: span 5; }
.fam.span3 { grid-column: span 3; }
.fam.span4 { grid-column: span 4; }

.fam.solid { border-color: transparent; }
.fam.solid h3, .fam.solid .fam-n { color: #FFF; }
.fam.solid li { background: rgba(255, 255, 255, 0.16); color: rgba(255, 255, 255, 0.94); }
.fam.solid::before { display: none; }
.fam.ink { background: var(--panel); }
.fam.rouge { background: var(--rouge-solid); }
.fam.bleu { background: var(--bleu-solid); }

.fam.wide {
  grid-column: span 12; background: var(--or); border-color: transparent;
  flex-direction: row; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.25rem; padding: 1.6rem 1.75rem;
}
.fam.wide::before { display: none; }
.fam.wide h3, .fam.wide .fam-n { color: #15171B; }
.fam.wide p { color: rgba(21, 23, 27, 0.78); font-size: 0.9375rem; max-width: 46ch; margin-top: 0.35rem; }
.fam.wide li { background: rgba(21, 23, 27, 0.13); color: #15171B; }
.fam-wide-l { display: flex; flex-direction: column; }

@media (max-width: 880px) {
  .fams { grid-template-columns: 1fr; }
  .fam, .fam.span5, .fam.span3, .fam.span4, .fam.wide { grid-column: span 1; }
  .fam.wide { flex-direction: column; align-items: flex-start; }
}

/* ============================ PUBLICS ============================ */
.publics { background: var(--surface); border-block: 1px solid var(--line-soft); }
.echelle { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 2.5rem; }
.age { padding: 0 1.25rem 0 0; position: relative; }
.age + .age { padding-left: 1.25rem; }
.age-bar { height: 8px; border-radius: 4px; background: var(--or); margin-bottom: 1.1rem; }
.age:nth-child(1) .age-bar { opacity: 0.35; }
.age:nth-child(2) .age-bar { opacity: 0.55; }
.age:nth-child(3) .age-bar { opacity: 0.72; }
.age:nth-child(4) .age-bar { opacity: 1; }
.age:nth-child(5) .age-bar { opacity: 0.85; }
.age b {
  display: block; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800;
  font-size: 1.0625rem; letter-spacing: -0.02em;
}
.age .n {
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1; letter-spacing: -0.035em;
  display: block; margin: 0.55rem 0 0.3rem;
}
.age span.lbl { font-size: 0.875rem; color: var(--ink-3); display: block; }
@media (max-width: 860px) {
  .echelle { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1.25rem; }
  .age, .age + .age { padding: 0; }
  .age:last-child { grid-column: 1 / -1; }
}

/* ============================ CLUB ============================ */
.club-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.club-txt p + p { margin-top: 1.1rem; }
.club-quote {
  margin-top: 2rem; padding: 1.4rem 1.5rem;
  border-left: 4px solid var(--or); background: var(--surface);
  border-radius: 0 var(--r-card) var(--r-card) 0;
}
.club-quote p { font-size: 1.0625rem; font-style: italic; color: var(--ink); line-height: 1.55; }
.club-quote cite { display: block; margin-top: 0.7rem; font-size: 0.8125rem; font-style: normal; color: var(--ink-3); }

.chrono { display: grid; gap: 0; }
.chrono li {
  display: grid; grid-template-columns: 84px 1fr; gap: 1.25rem;
  padding: 1.05rem 0; border-top: 1px solid var(--line);
}
.chrono li:last-child { border-bottom: 1px solid var(--line); }
.chrono b {
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 1.1875rem;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.chrono span { font-size: 0.9375rem; color: var(--ink-2); }
.affil { margin-top: 2rem; display: grid; gap: 0.6rem; }
.affil li { display: flex; gap: 0.7rem; font-size: 0.9375rem; color: var(--ink-2); align-items: flex-start; }
.affil .icon { width: 17px; height: 17px; color: var(--or-ink); margin-top: 4px; }
@media (max-width: 900px) { .club-grid { grid-template-columns: 1fr; } }

/* ============================ LIEUX ============================ */
.lieux { background: var(--panel); color: var(--panel-fg); }
.lieux .h2 { color: var(--panel-fg); }
.lieux .kicker { color: var(--or); }
.lieux .sect-head p { color: var(--panel-dim); }
.bande {
  position: relative; border-radius: var(--r-card); overflow: hidden;
  margin-bottom: 2.25rem; background: #0C0D10;
}
.bande img { width: 100%; height: auto; aspect-ratio: 1900 / 863; object-fit: cover; opacity: 0.9; }
.bande figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 4rem 1.5rem 1.15rem;
  background: linear-gradient(to top, rgba(6, 7, 9, 0.95) 0%, rgba(6, 7, 9, 0.82) 35%, rgba(6, 7, 9, 0.4) 70%, transparent 100%);
  font-size: 0.8125rem; color: #F1F1EE; font-weight: 500;
}
.lieux-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.lieu {
  border: 1px solid var(--panel-line); border-radius: var(--r-inner);
  padding: 0.95rem 1.05rem; transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}
.lieu:hover { border-color: var(--or); background: rgba(255, 198, 26, 0.07); }
.lieu b { display: block; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 0.9375rem; }
.lieu span { font-size: 0.8125rem; color: var(--panel-dim); }
.lieu.note {
  border-color: var(--or); background: rgba(255, 198, 26, 0.08);
  display: flex; gap: 0.7rem; align-items: flex-start;
}
.lieu.note:hover { background: rgba(255, 198, 26, 0.08); }
.lieu.note .icon { width: 18px; height: 18px; color: var(--or); margin-top: 3px; }
.lieu.note span { color: var(--panel-fg); font-size: 0.875rem; }
@media (max-width: 860px) { .lieux-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .bande img { aspect-ratio: auto; height: 210px; } }

/* ============================ HORAIRES ============================ */
.creneaux { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
.creneau {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-card);
  padding: 1.5rem 1.6rem; display: grid; gap: 0.9rem;
}
.creneau-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.creneau h3 { font-size: 1.125rem; }
.creneau .tag {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.25rem 0.65rem; border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink-3);
}
.creneau dl { display: grid; grid-template-columns: auto 1fr; gap: 0.45rem 1rem; margin: 0; }
.creneau dt { font-size: 0.8125rem; font-weight: 700; color: var(--ink-3); white-space: nowrap; padding-top: 2px; }
.creneau dd { margin: 0; font-size: 0.9375rem; color: var(--ink-2); }
.creneau .ou { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.875rem; color: var(--ink-3); }
.creneau .ou .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--or-ink); }
@media (max-width: 860px) { .creneaux { grid-template-columns: 1fr; } }

/* ============================ INSCRIPTION ============================ */
.inscription { background: var(--surface); border-block: 1px solid var(--line-soft); }
.forum {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center;
  background: var(--or); color: #15171B; border-radius: var(--r-card);
  padding: 1.5rem 1.75rem; margin-bottom: 2.5rem;
}
.forum-date {
  text-align: center; padding-right: 1.5rem; border-right: 1.5px solid rgba(21, 23, 27, 0.22);
}
.forum-date b {
  display: block; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800;
  font-size: 2.6rem; line-height: 0.9; letter-spacing: -0.04em;
}
.forum-date span { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.forum h3 { font-size: 1.35rem; }
.forum p { font-size: 0.9375rem; color: rgba(21, 23, 27, 0.8); margin-top: 0.35rem; }
@media (max-width: 820px) {
  .forum { grid-template-columns: 1fr; gap: 1.1rem; }
  .forum-date { text-align: left; padding-right: 0; padding-bottom: 1rem; border-right: 0; border-bottom: 1.5px solid rgba(21, 23, 27, 0.22); display: flex; align-items: baseline; gap: 0.6rem; }
  .forum-date b { font-size: 2rem; }
}

.insc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); }
.etapes { counter-reset: e; display: grid; gap: 1.1rem; }
.etapes li { display: grid; grid-template-columns: 34px 1fr; gap: 1rem; align-items: start; }
.etapes li::before {
  counter-increment: e; content: counter(e);
  width: 30px; height: 30px; border-radius: 50%; background: var(--or); color: #15171B;
  display: grid; place-items: center; font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800; font-size: 0.875rem;
}
.etapes b { display: block; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 1rem; }
.etapes span { font-size: 0.9375rem; color: var(--ink-2); }

.tarifs { display: grid; gap: 0; }
.tarifs li { padding: 0.95rem 0; border-bottom: 1px solid var(--line); display: grid; gap: 0.2rem; }
.tarifs li:first-child { border-top: 1px solid var(--line); }
.tarifs b { font-size: 0.9375rem; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; }
.tarifs span { font-size: 0.875rem; color: var(--ink-2); }
.aides { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.25rem; }
.aides li {
  font-size: 0.8125rem; font-weight: 600; padding: 0.3rem 0.7rem; border-radius: var(--r-pill);
  border: 1px solid var(--line); color: var(--ink-2);
}
@media (max-width: 860px) { .insc-grid { grid-template-columns: 1fr; } }

/* ============================ CONTACT ============================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.coord { display: grid; gap: 0.6rem; margin-top: 2rem; }
.coord a, .coord div {
  display: flex; gap: 0.85rem; align-items: flex-start; text-decoration: none;
  padding: 0.9rem 1.1rem; border-radius: var(--r-inner);
  border: 1px solid var(--line-soft); background: var(--surface);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.coord a:hover { border-color: var(--ink); transform: translateX(3px); }
.coord .icon { width: 19px; height: 19px; color: var(--or-ink); margin-top: 3px; }
.coord b { display: block; font-size: 1rem; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; }
.coord span { font-size: 0.875rem; color: var(--ink-3); }

.horaires-bur { border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.5rem 1.6rem; background: var(--surface); }
.horaires-bur h3 { font-size: 1.0625rem; }
.horaires-bur ul { margin-top: 1rem; }
.horaires-bur li {
  display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0;
  font-size: 0.9375rem; color: var(--ink-2);
}
.horaires-bur li + li { border-top: 1px solid var(--line-soft); }
.horaires-bur li.off { color: var(--ink-3); }
.horaires-bur li b { color: var(--ink); font-weight: 700; }
.contact-note { margin-top: 1.25rem; font-size: 0.8125rem; color: var(--ink-3); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ============================ PIED ============================ */
footer { background: var(--panel); color: var(--panel-dim); padding-block: 3.5rem 2.25rem; }
.foot-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.25rem; }
.foot-brand { display: flex; align-items: center; gap: 0.8rem; }
.foot-brand img { height: 46px; }
.foot-brand b { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; color: var(--panel-fg); font-size: 1.05rem; display: block; }
.foot-brand span { font-size: 0.8125rem; }
footer h4 { color: var(--panel-fg); font-size: 0.9375rem; margin-bottom: 0.85rem; }
footer li { font-size: 0.875rem; padding: 0.22rem 0; }
footer a { text-decoration: none; }
footer a:hover { color: var(--or); }
.foot-bot {
  border-top: 1px solid var(--panel-line); padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between;
  font-size: 0.8125rem;
}
.foot-bot a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 780px) { .foot-top { grid-template-columns: 1fr; gap: 1.75rem; } }

/* ============================ PAGES SECONDAIRES ============================ */
.page-head { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
.prose { max-width: 74ch; padding-bottom: 5rem; }
.prose h2 { font-size: 1.3rem; margin-top: 2.5rem; }
.prose h3 { font-size: 1.0625rem; margin-top: 1.75rem; }
.prose p, .prose li { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.7; }
.prose p { margin-top: 0.75rem; }
.prose ul { margin-top: 0.75rem; display: grid; gap: 0.4rem; }
.prose li { padding-left: 1.1rem; position: relative; }
.prose li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--or); }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* avant / après */
.ab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.ab-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-s); }
.ab-card header { padding: 1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line-soft); }
.ab-card h2 { font-size: 1.0625rem; }
.ab-tag { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.24rem 0.6rem; border-radius: var(--r-pill); }
.ab-tag.old { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink-3); }
.ab-tag.new { background: var(--or); color: #15171B; }
.ab-card .shot { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--line-soft); }
.ab-card p { padding: 1rem 1.25rem; font-size: 0.875rem; color: var(--ink-3); }
.gains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.gain { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-card); padding: 1.35rem 1.4rem; }
.gain .num {
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 0.875rem;
  color: #15171B; background: var(--or); width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 0.85rem;
}
.gain h3 { font-size: 1.0625rem; }
.gain p { margin-top: 0.5rem; font-size: 0.9375rem; color: var(--ink-2); }
@media (max-width: 860px) {
  .ab-grid { grid-template-columns: 1fr; }
  .gains { grid-template-columns: 1fr; }
}

/* ---------- paire d'images ---------- */
.duo { display: grid; grid-template-columns: 1.35fr 1fr; gap: 0.85rem; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.duo img { width: 100%; height: clamp(180px, 21vw, 260px); object-fit: cover; border-radius: var(--r-media); }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } .duo img { height: 190px; } }

/* ---------- détails coordonnées ---------- */
.coord a > span, .coord div > span { display: block; }
.coord b + span { margin-top: 0.15rem; }
