/* =================================================================
   VMA — Villepinte Marathon Athlétisme
   Feuille de styles partagée — charte graphique 2.0
   ================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Couleurs */
  --navy:    #13294A;
  --navy-d:  #0B1B30;
  --navy-x:  #060F1C;
  --field:   #0C1C33;
  --gold:    #EFA01E;
  --gold-l:  #F4B43E;
  --gold-d:  #C9821A;
  --cream:   #FAF7EE;
  --cream-w: #F2ECDD;
  --ink:     #0A0D14;
  --mute:    #5E6675;
  --line:    rgba(10, 13, 20, 0.12);
  --line-d:  rgba(255, 255, 255, 0.14);

  /* Typographie */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Mise en page */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 12px;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }

/* ---------- Utilitaires ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.display { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; line-height: 0.95; }
.mono { font-family: var(--font-mono); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-d);
  margin: 0 0 18px;
}
.eyebrow--light { color: var(--gold); }

.pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid currentColor;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold  { background: var(--gold); color: var(--navy-d); }
.btn-gold:hover { background: var(--gold-l); }
.btn-navy  { background: var(--field); color: var(--cream); }
.btn-navy:hover { background: var(--navy); }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--line-d); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost-dark { background: transparent; color: var(--navy-d); border-color: var(--line); }
.btn-ghost-dark:hover { border-color: var(--gold-d); color: var(--gold-d); }

/* ---------- En-tête / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--field);
  border-bottom: 1px solid var(--line-d);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  flex-shrink: 0;
}
.brand img { height: 46px; width: auto; }
.brand .wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--cream);
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--gold);
  margin-top: 4px;
  border-radius: 2px;
}
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--cream { background: var(--cream); }
.section--white { background: #fff; }
.section--navy  { background: var(--field); color: var(--cream); }
.section--navy-d { background: var(--navy-x); color: var(--cream); }

.section-head { max-width: 720px; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.98;
  font-size: clamp(34px, 5vw, 60px);
  color: var(--navy-d);
}
.section--navy .section-head h2,
.section--navy-d .section-head h2 { color: var(--cream); }
.section-head p {
  margin-top: 22px;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--mute);
  max-width: 620px;
}
.section--navy .section-head p,
.section--navy-d .section-head p { color: rgba(250,247,238,0.82); }

/* fond grille (sections sombres) */
.gridbg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(244,239,224,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244,239,224,0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

/* ---------- Héro ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--field);
  color: var(--cream);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  min-height: min(78vh, 720px);
  padding: clamp(56px, 8vw, 96px) 0;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.96;
  font-size: clamp(40px, 6.4vw, 80px);
  margin: 0;
}
.hero h1 .accent { color: var(--gold); }
.hero-lead {
  margin: 24px 0 34px;
  font-size: clamp(17px, 2vw, 21px);
  color: rgba(250,247,238,0.85);
  max-width: 540px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-ecusson {
  justify-self: center;
  height: clamp(280px, 38vw, 460px);
  width: auto;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5));
}
.hero-track {
  position: absolute;
  right: -16%;
  top: 50%;
  transform: translateY(-50%);
  width: 760px;
  max-width: 60%;
  opacity: 0.09;
  z-index: 1;
  pointer-events: none;
}
.hero-wave {
  position: absolute;
  right: -30px;
  bottom: -70px;
  top: auto;
  width: auto;
  height: clamp(420px, 92%, 760px);
  max-width: 46%;
  object-fit: contain;
  opacity: 0.45;
  z-index: 1;
  pointer-events: none;
}

/* bandeau de page (membres / contact) */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--field);
  color: var(--cream);
  padding: clamp(56px, 8vw, 92px) 0 clamp(48px, 6vw, 72px);
}
.page-hero .display {
  font-size: clamp(38px, 6vw, 68px);
  color: var(--cream);
  margin-top: 14px;
}
.page-hero p {
  margin-top: 18px;
  max-width: 600px;
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(250,247,238,0.82);
}
.page-hero .hero-wave { height: clamp(300px, 230%, 520px); right: -20px; bottom: -90px; opacity: 0.4; }

/* ---------- Présentation + stats ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.about-grid p + p { margin-top: 18px; }
.lead {
  font-size: clamp(18px, 2.1vw, 22px);
  color: var(--ink);
  font-weight: 500;
}
.muted { color: var(--mute); }
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 36px;
}
.stat { border-top: 3px solid var(--gold); padding-top: 14px; }
.stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 58px);
  line-height: 1;
  color: var(--navy-d);
}
.stat .label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 8px;
}

/* ---------- Valeurs ---------- */
.values-grid {
  margin-top: clamp(40px, 5vw, 60px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-d);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, transform .2s ease;
}
.value-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.value-card .vnum {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.value-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--cream);
  margin-top: auto;
}
.value-card p {
  margin-top: 8px;
  font-size: 14.5px;
  color: rgba(250,247,238,0.7);
}
.values-statement {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  padding: 22px 26px;
  border-left: 3px solid var(--gold);
  background: rgba(239,160,30,0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.values-statement p {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 500;
  color: var(--cream);
}

/* ---------- Disciplines ---------- */
.disc-list {
  margin-top: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--line);
}
.disc-row {
  display: grid;
  grid-template-columns: 56px minmax(190px, 300px) minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 24px;
  padding: 26px 8px;
  border-bottom: 1px solid var(--line);
  transition: background .15s ease, padding .15s ease;
}
/* texte de détail : aligné à gauche, sur la 1re ligne du nom de la discipline */
.disc-row .ddesc { align-self: baseline; line-height: 1.5; text-align: left; }
.disc-row:hover { background: rgba(19,41,74,0.03); }
.disc-row .dnum {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-d);
}
.disc-row .dname {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--navy-d);
}
.disc-row .ddesc { color: var(--mute); font-size: 16px; }
.disc-row .dmeta {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-d);
}

/* ---------- Bande CTA ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--gold);
  color: var(--navy-d);
}
.cta-band .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-block: clamp(56px, 8vw, 88px);
}
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.95;
  font-size: clamp(36px, 5.5vw, 64px);
}
.cta-band p { margin-top: 14px; font-size: clamp(17px, 2vw, 20px); max-width: 440px; }
.cta-wave {
  position: absolute;
  left: -50px;
  bottom: -50px;
  top: auto;
  width: auto;
  height: clamp(280px, 200%, 460px);
  opacity: 0.16;
  z-index: 1;
  filter: brightness(0) saturate(100%);
}

/* ---------- Cartes membres ---------- */
.member-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.member-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.member-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.member-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(12,28,51,0.12); }
.member-photo { aspect-ratio: 4 / 5; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.member-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.member-role {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-d);
  margin-bottom: 8px;
}
.member-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 23px;
  color: var(--navy-d);
}
.member-bio { margin-top: 12px; font-size: 15px; color: var(--mute); }

/* placeholder rayé photo */
.ph {
  position: relative;
  background-color: var(--cream-w);
  background-image: repeating-linear-gradient(135deg, rgba(19,41,74,0.07) 0 11px, transparent 11px 22px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px;
}
.ph span { opacity: 0.6; max-width: 80%; }

/* ---------- Adhésion (widget HelloAsso) ---------- */
.ha-embed {
  max-width: 760px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(12,28,51,0.06);
}
.ha-embed iframe { display: block; width: 100%; min-height: 750px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
}
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 9px;
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-d);
  box-shadow: 0 0 0 3px rgba(239,160,30,0.18);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 140px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.required { color: var(--gold-d); }
#formNote.is-error { color: #c0392b !important; }

.info-card {
  background: var(--field);
  color: var(--cream);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 40px);
  position: relative;
  overflow: hidden;
}
.info-item { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line-d); }
.info-item:first-of-type { border-top: 0; }
.info-item .ico {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 9px;
  background: rgba(239,160,30,0.16);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.info-item .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 5px;
}
.info-item .v { font-size: 16px; color: var(--cream); line-height: 1.5; }
.info-item .v a:hover { color: var(--gold); }
.map-ph {
  margin-top: 26px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  border: 1px solid var(--line-d);
  overflow: hidden;
}
.map-ph .ph { height: 100%; color: var(--cream); }
.map-ph .ph { background-color: rgba(255,255,255,0.03); background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 11px, transparent 11px 22px); }

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--navy-x);
  color: rgba(250,247,238,0.75);
  position: relative;
  overflow: hidden;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding: clamp(56px, 7vw, 84px) 0 48px;
  position: relative;
  z-index: 2;
}
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand img { height: 72px; }
.footer-brand .wordmark { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--cream); }
.footer-brand .baseline { color: var(--gold); font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-top: 4px; }
.footer-brand p { margin-top: 12px; font-size: 14.5px; max-width: 300px; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--line-d);
  padding: 22px 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  position: relative;
  z-index: 2;
}

/* ---------- Horaires d'entraînement ---------- */
.sched-grid {
  margin-top: clamp(40px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.sched-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-d);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 36px);
  display: flex;
  flex-direction: column;
}
.sched-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
}
.sched-card-head h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 30px);
  color: var(--cream);
}
.sched-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.sched-row { padding: 20px 0; border-top: 1px solid var(--line-d); }
.sched-row:last-child { padding-bottom: 0; }
.sched-row-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.sched-days {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.sched-time {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--cream);
  white-space: nowrap;
}
.sched-lieu {
  margin-top: 8px;
  font-size: 15px;
  color: rgba(250,247,238,0.7);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sched-lieu svg { flex-shrink: 0; color: var(--gold); }
.sched-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 18px 22px;
  border-left: 3px solid var(--gold);
  background: rgba(239,160,30,0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 15px;
  color: rgba(250,247,238,0.82);
}

/* ---------- Calendrier des courses ---------- */
.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.cal-legend .pill { color: var(--navy); border-color: var(--line); }
.cal-legend .pill.is-club { background: var(--gold); border-color: var(--gold); color: var(--navy-d); }

.cal-empty {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: clamp(30px, 4vw, 44px);
  padding: 22px 26px;
  border-left: 3px solid var(--gold-d);
  background: rgba(239,160,30,0.08);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.cal-empty .k {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--navy-d);
}
.cal-empty p { margin-top: 4px; color: var(--mute); font-size: 15px; }

.cal-month { margin-top: clamp(40px, 5vw, 56px); }
.cal-month-label { display: flex; align-items: baseline; gap: 14px; }
.cal-month-label .m {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: clamp(26px, 3.4vw, 38px);
  color: var(--navy-d);
}
.cal-month-label .y {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--gold-d);
}
.cal-list { margin-top: 20px; border-top: 1px solid var(--line); }
.cal-row {
  display: grid;
  /* colonne "type" (pill) à largeur fixe : la colonne "lieu" garde ainsi le
     même bord gauche d'une ligne à l'autre (alignement à gauche cohérent). */
  grid-template-columns: 92px 1.5fr 1fr 184px;
  gap: 24px;
  align-items: center;
  padding: 22px 8px;
  border-bottom: 1px solid var(--line);
  transition: background .15s ease;
}
.cal-row .pill { justify-self: end; }
.cal-row:hover { background: rgba(19,41,74,0.03); }
.cal-date { text-align: center; line-height: 1.15; }
.cal-date .cal-dow {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-d);
}
.cal-date .cal-day {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: var(--navy-d);
}
.cal-date .cal-mon {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.cal-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 2.2vw, 24px);
  color: var(--navy-d);
}
.cal-lieu { color: var(--mute); font-size: 15px; text-align: left; }
.cal-row.is-ghost .cal-date .cal-day,
.cal-row.is-ghost .cal-name { color: var(--mute); }
.cal-row.is-ghost { opacity: 0.7; }
.cal-row.is-ghost .cal-date {
  background-image: repeating-linear-gradient(135deg, rgba(19,41,74,0.08) 0 9px, transparent 9px 18px);
  border-radius: 8px;
  padding: 6px 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .member-grid, .member-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
/* Menu : bascule en burger plus tôt (6 liens + Adhérer ne tiennent pas sous ~1024px) */
@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--field);
    border-bottom: 1px solid var(--line-d);
    padding: 10px var(--gutter) 22px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav.open .nav-links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--line-d); }
  .nav-links a.active::after { display: none; }
  .nav-cta { margin: 14px 0 0; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 8px; min-height: 0; }
  .hero-actions { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-ecusson { grid-row: 1; height: clamp(200px, 40vw, 300px); margin-bottom: 12px; }
  .hero-track { display: none; }
  /* La vague gênerait le texte centré sur mobile : on la masque dans le héro
     et on l'atténue dans les bandeaux de page. */
  .hero .hero-wave { display: none; }
  .page-hero .hero-wave { opacity: 0.2; height: clamp(220px, 150%, 360px); right: -40px; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .disc-row { grid-template-columns: 44px 1fr; row-gap: 6px; }
  .disc-row .ddesc { grid-column: 2; }
  .disc-row .dmeta { grid-column: 2; }

  .sched-grid { grid-template-columns: 1fr; }
  .cal-row { grid-template-columns: 72px 1fr; row-gap: 6px; }
  .cal-row .cal-lieu { grid-column: 2; }
  .cal-row .pill { grid-column: 2; justify-self: start; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .values-grid { grid-template-columns: 1fr; }
  .member-grid, .member-grid.cols-4 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
}

/* ---------- Pages légales (prose) ---------- */
.legal { max-width: 760px; }
.legal h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--navy-d);
  letter-spacing: -0.01em;
  margin: 40px 0 14px;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy-d);
  margin: 24px 0 8px;
}
.legal p { margin: 0 0 14px; line-height: 1.7; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 8px; line-height: 1.6; }
.legal a { color: var(--navy-d); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--gold-d, #b9781a); }
.legal .legal-updated {
  margin-top: 36px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--mute);
}

/* ---------- Liens légaux du pied de page ---------- */
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-legal a:hover { color: var(--gold); }

/* ---------- FAQ ---------- */
.faq-item { padding: 26px 0; border-bottom: 1px solid rgba(11, 27, 48, 0.10); }
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; }
.faq .faq-item h2 { margin: 0 0 10px; font-size: clamp(19px, 2.2vw, 24px); }
.faq .faq-item p { margin: 0; }
.faq .faq-item a { color: var(--navy-d); text-decoration: underline; text-underline-offset: 2px; }
.faq .faq-item a:hover { color: var(--gold-d, #b9781a); }
