/* ==========================================================================
   CS COURTRY HANDBALL — feuille de style
   Direction : "sport premium sombre". Vert gazon et or des lauriers du blason,
   typographie condensée façon tableau d'affichage, lignes de terrain en motif.
   ========================================================================== */

:root {
  color-scheme: dark;
  --ink: #090c0a;          /* fond : noir légèrement vert */
  --pitch: #101612;        /* surfaces */
  --pitch-2: #161e19;      /* surfaces relevées */
  --line: #223029;         /* filets / lignes de terrain */
  --text: #edf2ec;
  --mute: #8f9d94;
  --green: #2f9e52;        /* vert du ballon du blason */
  --green-hi: #49c26d;     /* vert lisible sur fond sombre */
  --gold: #c9a44c;         /* or des lauriers */
  --win: #49c26d;
  --draw: #c9a44c;
  --loss: #e0654b;

  --display: "Big Shoulders Display", "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: .95; margin: 0; text-wrap: balance; letter-spacing: .005em; text-transform: uppercase; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.tabular { font-variant-numeric: tabular-nums; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow {
  font: 600 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.muted { color: var(--mute); }

/* ------------------------------------------------------------ Bandeau démo */
.demo-bar {
  background: var(--gold); color: #1b1606; font: 600 12px/1.3 var(--body); letter-spacing: .04em;
  text-align: center; padding: 7px var(--gutter);
}

/* ------------------------------------------------------------ En-tête */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--ink) 86%, transparent);
  backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 44px; height: auto; }
.brand-name { font: 800 22px/0.9 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.brand-name small { display: block; font: 600 10px/1.4 var(--body); letter-spacing: .22em; color: var(--mute); }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a {
  text-decoration: none; font: 600 13px/1 var(--body); letter-spacing: .08em; text-transform: uppercase;
  padding: 10px 12px; color: var(--mute); border-radius: var(--radius); transition: color .15s;
}
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--green-hi); border-radius: 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 13px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  padding: 14px 20px; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-hi); color: #06120a; }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--mute); }
.btn-gold { background: var(--gold); color: #1b1606; }
.btn-gold:hover { background: #dbb95f; }
.nav .btn { margin-left: 8px; padding: 12px 16px; color: #fff; }
.nav .btn:hover { color: #06120a; }
.burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 44px; height: 44px; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: var(--text); margin: 4px auto; }

@media (max-width: 980px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--ink); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 24px; gap: 0;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--green-hi); }
  .nav .btn { margin: 16px 0 0; }
}

/* ------------------------------------------------------------ Héros */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; filter: saturate(.85) contrast(1.05); }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(9,12,10,.92) 34%, rgba(9,12,10,.18) 70%, rgba(9,12,10,.55) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 40%);
}
.court-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .55; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: end; padding-block: clamp(56px, 9vw, 120px) clamp(40px, 6vw, 72px); }
.hero h1 { font-size: clamp(56px, 9.5vw, 132px); font-weight: 900; line-height: .86; margin: 18px 0 22px; }
.hero h1 .green { color: var(--green-hi); }
.hero-lede { max-width: 46ch; color: #c9d3cb; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Tableau d'affichage — prochain match (reprend le "LOCAUX / VISITEURS" du gymnase) */
.scoreboard {
  background: linear-gradient(180deg, #0d120f, #080a09); border: 1px solid var(--line); border-radius: 10px;
  padding: 20px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
}
.sb-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 600 11px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.sb-live { color: var(--gold); display: inline-flex; gap: 8px; align-items: center; }
.sb-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.sb-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 22px 0 18px; text-align: center; }
.sb-side small { display: block; font: 600 10px/1 var(--body); letter-spacing: .2em; color: var(--mute); margin-bottom: 8px; }
.sb-side strong { font: 800 clamp(24px, 3vw, 32px)/1 var(--display); text-transform: uppercase; display: block; }
.sb-side.home strong { color: var(--green-hi); }
.sb-vs { font: 800 16px/1 var(--display); color: var(--mute); }
.sb-clock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sb-clock div { background: #050706; border: 1px solid #1a241e; border-radius: 6px; padding: 10px 4px 8px; text-align: center; }
.sb-clock b { display: block; font: 800 34px/1 var(--display); color: var(--gold); font-variant-numeric: tabular-nums; letter-spacing: .04em; text-shadow: 0 0 18px rgba(201,164,76,.35); }
.sb-clock span { font: 600 9px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.sb-meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--mute); }
.sb-meta b { color: var(--text); font-weight: 600; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero-media::after { background: linear-gradient(0deg, var(--ink) 10%, rgba(9,12,10,.75) 60%, rgba(9,12,10,.5) 100%); }
}

/* ------------------------------------------------------------ Bande résultats */
.ticker { border-bottom: 1px solid var(--line); background: var(--pitch); }
.ticker .wrap { display: flex; align-items: stretch; gap: 0; overflow-x: auto; scrollbar-width: none; }
.ticker .wrap::-webkit-scrollbar { display: none; }
.ticker-label { flex-shrink: 0; display: flex; align-items: center; padding-right: 20px; margin-right: 4px; border-right: 1px solid var(--line); font: 800 18px/1 var(--display); text-transform: uppercase; color: var(--gold); }
.tick { flex-shrink: 0; display: grid; grid-template-columns: auto auto; gap: 2px 14px; padding: 14px 20px; border-right: 1px solid var(--line); text-decoration: none; font-size: 13px; }
.tick:hover { background: var(--pitch-2); }
.tick .t-team { grid-column: 1 / -1; font: 600 10px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.tick .t-opp { white-space: nowrap; }
.tick .t-score { font: 800 18px/1.1 var(--display); text-align: right; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ Sections */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(40px, 5.5vw, 72px); margin-top: 14px; }
.link-more { font: 700 13px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--green-hi); text-decoration: none; white-space: nowrap; }
.link-more:hover { color: var(--text); }
.link-more::after { content: " →"; }

/* ------------------------------------------------------------ Actus */
.news-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.news-side { display: grid; gap: 24px; }
.news-card { position: relative; text-decoration: none; display: grid; gap: 14px; }
.news-card .ph { overflow: hidden; border-radius: var(--radius); background: var(--pitch); aspect-ratio: 16 / 10; }
.news-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .ph img { transform: scale(1.04); }
.news-card h3 { font-size: 26px; line-height: 1; }
.news-card:hover h3 { color: var(--green-hi); }
.news-card p { color: var(--mute); font-size: 15px; }
.meta { display: flex; gap: 12px; align-items: center; font: 600 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.tag { color: var(--gold); }
.news-card.feature .ph { aspect-ratio: 4 / 3; }
.news-card.feature h3 { font-size: clamp(32px, 3.6vw, 46px); }
.news-card.row { grid-template-columns: 160px 1fr; align-items: start; }
.news-card.row .ph { aspect-ratio: 1; }
.news-card.row h3 { font-size: 22px; }
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
@media (max-width: 900px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .news-list { grid-template-columns: 1fr; }
  .news-card.row { grid-template-columns: 104px 1fr; }
  .news-card.row p { display: none; }
}

/* ------------------------------------------------------------ Filtres / onglets */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 9px 16px; cursor: pointer;
  font: 600 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--mute);
}
.chip:hover { color: var(--text); border-color: var(--mute); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--ink); border-color: var(--text); }

/* ------------------------------------------------------------ Classements */
.standings-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--pitch); }
table.standings { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 14px; min-width: 560px; }
.standings caption { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.standings caption strong { display: block; font: 800 20px/1 var(--display); text-transform: uppercase; }
.standings caption span { font-size: 12px; color: var(--mute); }
.standings th { font: 600 10px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); text-align: right; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.standings th:nth-child(2) { text-align: left; }
.standings td { padding: 11px 10px; text-align: right; border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.standings tr:last-child td { border-bottom: 0; }
.standings td:first-child { width: 44px; text-align: center; color: var(--mute); font-weight: 600; }
.standings td:nth-child(2) { text-align: left; font-weight: 500; }
.standings td.pts { font: 800 18px/1 var(--display); color: var(--text); }
.standings tr.us td { background: color-mix(in srgb, var(--green) 16%, transparent); }
.standings tr.us td:first-child { box-shadow: inset 3px 0 0 var(--green-hi); color: var(--green-hi); }
.standings tr.us td:nth-child(2) { font-weight: 700; color: var(--green-hi); }
.pos { color: var(--win); } .neg { color: var(--loss); }
.legend { font-size: 12px; color: var(--mute); margin-top: 12px; }

.form-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--pitch); }
.form-card h3 { font-size: 24px; margin-bottom: 16px; }
.big-rank { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.big-rank b { font: 900 88px/.8 var(--display); color: var(--green-hi); }
.big-rank span { color: var(--mute); font-size: 14px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; }
.stat-row div { background: var(--pitch); padding: 12px; text-align: center; }
.stat-row b { display: block; font: 800 26px/1 var(--display); font-variant-numeric: tabular-nums; }
.stat-row span { font: 600 10px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.form-dots { display: flex; gap: 6px; }
.dot { width: 30px; height: 30px; border-radius: 4px; display: grid; place-items: center; font: 800 14px/1 var(--display); color: var(--ink); }
.dot.V { background: var(--win); } .dot.N { background: var(--draw); } .dot.D { background: var(--loss); } .dot.O { background: transparent; border: 1px dashed var(--line); color: var(--mute); }
@media (max-width: 900px) { .standings-layout { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ Équipes */
.teams-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-card { position: relative; text-decoration: none; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--pitch); display: flex; align-items: flex-end; isolation: isolate; }
.team-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease, filter .3s; filter: saturate(.8); }
.team-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(9,12,10,.96) 8%, rgba(9,12,10,.2) 60%, rgba(9,12,10,.05)); }
.team-card:hover img { transform: scale(1.05); filter: saturate(1); }
.team-card .tc-body { padding: 22px; width: 100%; }
.team-card h3 { font-size: 44px; font-weight: 900; }
.team-card .tc-cat { font-size: 13px; color: #c7d0c9; margin-top: 6px; }
.team-card .tc-comp { font: 600 10px/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-top: 12px; }
@media (max-width: 900px) { .teams-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .teams-grid { grid-template-columns: 1fr; } .team-card { aspect-ratio: 16 / 11; } }

/* Page équipe */
.team-hero { position: relative; min-height: 380px; display: flex; align-items: flex-end; overflow: hidden; border-bottom: 1px solid var(--line); }
.team-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); }
.team-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink) 5%, rgba(9,12,10,.4)); }
.team-hero .wrap { position: relative; z-index: 1; padding-block: 48px; width: 100%; }
.team-hero h1 { font-size: clamp(64px, 11vw, 140px); font-weight: 900; margin-top: 12px; }
.team-info { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 48px; }
.team-info > div { background: var(--pitch); padding: 20px; }
.team-info dt { font: 600 10px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.team-info dd { margin: 0; font-weight: 500; }
@media (max-width: 760px) { .team-info { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ Matchs */
.match-list { display: grid; gap: 10px; }
.match-group-title { font: 800 22px/1 var(--display); text-transform: uppercase; color: var(--mute); margin: 28px 0 10px; }
.match {
  display: grid; grid-template-columns: 120px 1fr auto 1fr 110px; align-items: center; gap: 16px;
  padding: 16px 18px; background: var(--pitch); border: 1px solid var(--line); border-radius: var(--radius);
}
.m-date { font-size: 13px; color: var(--mute); line-height: 1.3; }
.m-date b { display: block; color: var(--text); font: 800 18px/1 var(--display); text-transform: uppercase; }
.m-team { font-weight: 600; }
.m-team.home { text-align: right; }
.m-team.us { color: var(--green-hi); }
.m-score { font: 800 26px/1 var(--display); font-variant-numeric: tabular-nums; min-width: 92px; text-align: center; padding: 8px 10px; background: #070908; border-radius: 4px; border: 1px solid var(--line); }
.m-score.later { font-size: 16px; color: var(--gold); letter-spacing: .06em; }
.m-res { justify-self: end; }
.pill { font: 700 10px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.pill.V { color: var(--win); } .pill.N { color: var(--draw); } .pill.D { color: var(--loss); } .pill.A { color: var(--mute); }
.m-sub { grid-column: 2 / 5; text-align: center; font-size: 12px; color: var(--mute); margin-top: -6px; }
@media (max-width: 760px) {
  .match { grid-template-columns: 1fr auto 1fr; gap: 10px 12px; padding: 14px; }
  .m-date { grid-column: 1 / -1; display: flex; gap: 10px; align-items: baseline; justify-content: space-between; }
  .m-date b { display: inline; }
  .m-res { grid-column: 1 / -1; justify-self: center; order: 9; }
  .m-sub { grid-column: 1 / -1; margin: 0; }
  .m-score { min-width: 76px; font-size: 22px; }
  .m-team { font-size: 14px; }
}

/* ------------------------------------------------------------ Rejoindre */
.join { position: relative; overflow: hidden; background: var(--green); color: #fff; }
.join .wrap { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding-block: clamp(56px, 8vw, 96px); }
.join h2 { font-size: clamp(48px, 7vw, 96px); font-weight: 900; }
.join h2 em { font-style: normal; color: #0b2a15; }
.join p { font-size: 18px; max-width: 44ch; margin-top: 18px; color: #e9f7ee; }
.join .facts { display: grid; gap: 1px; background: rgba(255,255,255,.25); border-radius: var(--radius); overflow: hidden; }
.join .facts div { background: #288c48; padding: 18px 20px; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.join .facts b { font: 800 30px/1 var(--display); text-transform: uppercase; }
.join .facts span { font-size: 14px; color: #dff3e6; text-align: right; }
.join .court-lines { opacity: .22; }
.join .btn-dark { background: var(--ink); color: #fff; margin-top: 28px; }
.join .btn-dark:hover { background: #000; }
@media (max-width: 860px) { .join .wrap { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ Partenaires */
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.partner { background: var(--pitch); min-height: 140px; display: grid; place-items: center; text-align: center; padding: 20px; }
.partner .pn { font: 800 24px/1 var(--display); text-transform: uppercase; }
.partner .pt { font: 600 10px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-top: 10px; }
.partner img { max-height: 60px; width: auto; border-radius: 4px; }
.partner.cta { background: transparent; border: 0; }
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.offer { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; }
.offer h3 { font-size: 28px; }
.offer .price { font: 800 36px/1 var(--display); color: var(--gold); }
.offer p { color: var(--mute); font-size: 15px; }
@media (max-width: 860px) { .partners { grid-template-columns: repeat(2, 1fr); } .offers { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ Club */
.page-head { padding-block: clamp(48px, 7vw, 88px) 32px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head h1 { font-size: clamp(56px, 9vw, 120px); font-weight: 900; margin-top: 16px; }
.page-head p { color: var(--mute); max-width: 60ch; margin-top: 16px; font-size: 18px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.prose p { color: #cfd8d1; margin-bottom: 1em; max-width: 64ch; font-size: 17px; }
.prose p:first-of-type { font-size: 20px; color: var(--text); }
.timeline { display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 8px; }
.timeline div { padding: 0 0 24px 24px; position: relative; }
.timeline div::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 2px solid var(--green-hi); }
.timeline b { font: 800 28px/1 var(--display); color: var(--green-hi); display: block; margin-bottom: 4px; }
.timeline span { color: var(--mute); }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person { display: grid; gap: 12px; }
.avatar { aspect-ratio: 1; border-radius: var(--radius); background: var(--pitch); border: 1px solid var(--line); display: grid; place-items: center; font: 900 44px/1 var(--display); color: var(--green-hi); }
.person b { font-weight: 600; display: block; }
.person span { font-size: 13px; color: var(--mute); }
.gym { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gym img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.gym .gym-body { padding: clamp(24px, 4vw, 44px); background: var(--pitch); display: grid; gap: 14px; align-content: center; }
.gym h3 { font-size: 40px; }
.gym dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 8px 0; }
.gym dt { color: var(--mute); font-size: 13px; }
.gym dd { margin: 0; }
.note { font-size: 13px; color: var(--mute); border-left: 2px solid var(--gold); padding-left: 12px; margin-top: 20px; }
@media (max-width: 860px) { .two-col, .gym { grid-template-columns: 1fr; } .people { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------------------ Article */
.article-hero { max-width: 900px; margin: 0 auto; padding-block: 56px 32px; }
.article-hero h1 { font-size: clamp(44px, 6.5vw, 84px); margin: 18px 0 20px; }
.article-hero .chapo { font-size: 20px; color: #cfd8d1; max-width: 60ch; }
.article-img { max-width: 1100px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; }
.article-img img { width: 100%; max-height: 620px; object-fit: cover; }
.article-body { max-width: 700px; margin: 0 auto; padding-block: 44px 72px; }
.article-body p { font-size: 18px; line-height: 1.7; color: #d7ded8; margin-bottom: 1.2em; }
.back { display: inline-block; margin-bottom: 8px; }

/* ------------------------------------------------------------ Formulaire */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font: 600 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--pitch); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; color: var(--text); font: 400 16px/1.4 var(--body);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-hi); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 30%, transparent); }
.field textarea { min-height: 140px; resize: vertical; }
.form-ok { border: 1px solid var(--green-hi); background: color-mix(in srgb, var(--green) 14%, transparent); padding: 16px; border-radius: var(--radius); }
.contact-lines { display: grid; gap: 22px; }
.contact-lines div small { display: block; font: 600 10px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.contact-lines div strong { font: 800 26px/1.1 var(--display); text-transform: uppercase; user-select: all; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ Pied de page */
.site-footer { border-top: 1px solid var(--line); background: #060807; padding-block: 56px 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { font: 600 11px/1 var(--body); letter-spacing: .16em; color: var(--mute); margin-bottom: 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { text-decoration: none; color: #cfd8d1; }
.foot-grid a:hover { color: var(--green-hi); }
.foot-brand img { width: 84px; margin-bottom: 16px; }
.foot-brand p { color: var(--mute); max-width: 34ch; font-size: 14px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--mute); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------ Animations */
.view { animation: rise .45s ease both; }
@keyframes rise { from { opacity: .6; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------ Formulaires reliés (inscription / contact) */
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #cfd8d1; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); flex-shrink: 0; }
.field-err { font-size: 13px; margin-top: 2px; }
.field [aria-invalid="true"] { border-color: var(--loss); }
.form button[disabled] { opacity: .6; cursor: wait; }
