/* =====================================================================
   RTPCM — feuille de style v11
   Design : couleurs du club (orange + anthracite), polices hébergées,
   mode clair / sombre, mobile d'abord. Les mêmes couleurs et polices
   sont utilisées par l'assistant IA (dossier ia/) pour une cohérence totale.
   ===================================================================== */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #faf7f3;
  --surface: #ffffff;
  --ink: #1f2937;
  --mute: #5b6676;
  --line: #e7e1d9;
  --brand: #bd531f;
  --brand-d: #9f4318;
  --brand-soft: #fbeee6;
  --navy: #12263f;
  --btn-bg: #bd531f;
  --btn-ink: #ffffff;
  --ok: #1f8a52;
  --tennis: #2f7d4f;
  --padel: #2f6db5;
  --r: 18px;
  --shadow: 0 10px 30px rgba(18, 38, 63, 0.1);
  --maxw: 1180px;
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body:
    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1623;
    --surface: #15233a;
    --ink: #e8eef5;
    --mute: #9db0c5;
    --line: #25384f;
    --brand: #e8894f;
    --brand-d: #f3a06c;
    --brand-soft: #2a1f1a;
    --btn-bg: #e8894f;
    --btn-ink: #1a0f08;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1623;
  --surface: #15233a;
  --ink: #e8eef5;
  --mute: #9db0c5;
  --line: #25384f;
  --brand: #e8894f;
  --brand-d: #f3a06c;
  --brand-soft: #2a1f1a;
  --btn-bg: #e8894f;
  --btn-ink: #1a0f08;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img,
video,
iframe {
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: var(--brand);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--brand-d);
}
h1,
h2,
h3,
h4 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  text-transform: uppercase;
}
h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  text-transform: uppercase;
}
h3 {
  font-size: 1.5rem;
}
p {
  margin: 0 0 1em;
}
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--surface);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 10px;
  z-index: 200;
  box-shadow: var(--shadow);
}
.skip:focus {
  top: 12px;
}
.container {
  width: min(100% - 2.5rem, var(--maxw));
  margin-inline: auto;
}
.center {
  text-align: center;
}
.muted {
  color: var(--mute);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 600 1rem var(--body);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s,
    background 0.15s,
    box-shadow 0.15s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-ink);
  box-shadow: 0 8px 20px rgba(189, 83, 31, 0.35);
}
.btn-primary:hover {
  background: var(--brand-d);
  color: var(--btn-ink);
}
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.btn-outline {
  border-color: var(--brand);
  color: var(--brand);
  background: transparent;
}
.btn-outline:hover {
  background: var(--brand);
  color: var(--btn-ink);
}
.btn-sm {
  padding: 0.55em 1.1em;
  font-size: 0.92rem;
}

/* ---------- En-tête ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition:
    background 0.25s,
    box-shadow 0.25s,
    color 0.25s;
  color: #fff;
}
.site-header.is-solid {
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  color: var(--ink);
}
.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  margin-right: auto;
}
.brand img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
}
.brand span {
  font: 700 1.25rem/1 var(--head);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.brand small {
  display: block;
  font: 500 0.7rem var(--body);
  letter-spacing: 0.14em;
  opacity: 0.8;
  margin-top: 3px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav > li {
  position: relative;
}
.nav a,
.nav button.sub-btn {
  display: flex;
  align-items: center;
  gap: 0.35em;
  color: inherit;
  text-decoration: none;
  font: 500 0.95rem var(--body);
  padding: 0.6em 0.8em;
  border-radius: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav a:hover,
.nav button.sub-btn:hover {
  background: rgba(127, 127, 127, 0.18);
  color: inherit;
}
.nav [aria-current="page"] {
  color: var(--brand-light, #ffb184);
  font-weight: 700;
}
.site-header.is-solid .nav [aria-current="page"] {
  color: var(--brand);
}
.nav .nav-ia {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
}
.site-header:not(.is-solid) .nav .nav-ia {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 0.4rem;
  list-style: none;
  margin: 6px 0 0;
  display: none;
}
.has-sub:hover > .sub,
.has-sub:focus-within > .sub,
.has-sub.open > .sub {
  display: block;
}
.sub a {
  color: var(--ink);
}
.sub a:hover {
  background: var(--brand-soft);
  color: var(--brand);
}
.sub [aria-current="page"] {
  color: var(--brand);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.icon-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(127, 127, 127, 0.18);
  color: inherit;
  cursor: pointer;
}
.icon-btn:hover {
  background: rgba(127, 127, 127, 0.3);
}
.icon-btn svg {
  width: 20px;
  height: 20px;
}
.nav-toggle {
  display: none;
}
.nav-cta {
  display: inline-flex;
}
@media (max-width: 1180px) {
  .nav-toggle {
    display: grid;
  }
  .nav-cta {
    display: none;
  }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 86vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
    background: var(--surface);
    color: var(--ink);
    padding: 90px 1rem 2rem;
    transform: translateX(105%);
    transition: transform 0.3s;
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    z-index: 99;
  }
  .nav-open .nav {
    transform: none;
  }
  .nav a,
  .nav button.sub-btn {
    width: 100%;
    font-size: 1.05rem;
    padding: 0.8em 1em;
    color: var(--ink);
  }
  .nav [aria-current="page"],
  .site-header:not(.is-solid) .nav [aria-current="page"] {
    color: var(--brand);
  }
  .site-header:not(.is-solid) .nav .nav-ia {
    background: var(--brand-soft);
    color: var(--brand);
  }
  .sub {
    position: static;
    display: block;
    box-shadow: none;
    border: 0;
    background: none;
    margin: 0 0 0.4rem 1rem;
    padding: 0;
    min-width: 0;
  }
  .sub a {
    color: var(--mute);
    font-size: 0.98rem;
  }
  .nav-open .site-header {
    background: var(--surface);
    color: var(--ink);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  }
  .nav-open {
    overflow: hidden;
  }
  .nav-open .nav-toggle {
    position: relative;
    z-index: 101;
  }
}

/* ---------- Héros ---------- */
.hero,
.page-hero {
  position: relative;
  display: grid;
  align-items: end;
  color: #fff;
  background: #0d1623 center/cover no-repeat;
  isolation: isolate;
}
.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(13, 22, 35, 0.55) 0%,
    rgba(13, 22, 35, 0.35) 38%,
    rgba(13, 22, 35, 0.82) 100%
  );
}
.hero {
  min-height: min(100svh, 880px);
  background-image: url("img/hero.jpg");
}
.hero .container {
  padding: 140px 0 120px;
}
.hero h1 {
  max-width: 15ch;
  margin-bottom: 0.35em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}
.hero .lead {
  max-width: 56ch;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  opacity: 0.95;
}
.hero .addr {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.2rem 0 1.8rem;
  opacity: 0.9;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.page-hero {
  min-height: clamp(300px, 46vh, 440px);
  background-image: var(--img, url("img/panorama.jpg"));
}
.page-hero .container {
  padding: 130px 0 56px;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin: 0 0 0.2em;
}
.page-hero p {
  max-width: 60ch;
  margin: 0;
  opacity: 0.92;
  font-size: 1.1rem;
}
.eyebrow {
  display: inline-block;
  font: 600 0.8rem var(--body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.8rem;
}
.hero .eyebrow,
.page-hero .eyebrow {
  color: #ffcaa8;
}

/* ---------- Bandeau chiffres ---------- */
.stats {
  position: relative;
  z-index: 2;
  margin-top: -64px;
}
.stats ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.stats li {
  background: var(--surface);
  padding: 1.4rem 1rem;
  text-align: center;
}
.stats b {
  display: block;
  font: 700 clamp(2rem, 4vw, 2.9rem)/1 var(--head);
  color: var(--brand);
}
.stats span {
  font-size: 0.92rem;
  color: var(--mute);
}
@media (max-width: 720px) {
  .stats ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(56px, 8vw, 100px) 0;
}
.section.alt {
  background: var(--surface);
}
.section-head {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.section-head.left {
  margin-left: 0;
  text-align: left;
}
.grid {
  display: grid;
  gap: 1.4rem;
}
.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}
.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.6rem;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.02);
}
.section.alt .card {
  background: var(--bg);
}
.card h3 {
  margin-bottom: 0.4em;
}
.feature .ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
}
.checks li {
  position: relative;
  padding: 0.45em 0 0.45em 2rem;
  border-bottom: 1px solid var(--line);
}
.checks li:last-child {
  border-bottom: 0;
}
.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 1.4rem;
  height: 1.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.chips li {
  padding: 0.55em 1.1em;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
  font-size: 0.95rem;
}
.media {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}
.media img,
.media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.1));
  color: #fff;
}
.play span {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-size: 2rem;
  padding-left: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s;
}
.play:hover span {
  transform: scale(1.08);
}

/* ---------- Chronologie ---------- */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.6rem;
  border-left: 3px solid var(--brand-soft);
}
.timeline li {
  position: relative;
  padding: 0 0 1.8rem 1.4rem;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -2.1rem;
  top: 0.35rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px var(--brand-soft);
}
.timeline b {
  font: 700 1.7rem/1 var(--head);
  color: var(--brand);
  display: block;
  margin-bottom: 0.2rem;
}

/* ---------- Galerie / images zoomables ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.2rem;
}
.shot {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.shot button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  position: relative;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s;
}
.shot button:hover img {
  transform: scale(1.02);
}
.shot button::after {
  content: "🔍 Agrandir";
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 0.35em 0.8em;
  border-radius: 999px;
  background: rgba(13, 22, 35, 0.8);
  color: #fff;
  font-size: 0.8rem;
  opacity: 0;
  transition: opacity 0.2s;
}
.shot button:hover::after,
.shot button:focus-visible::after {
  opacity: 1;
}
.shot figcaption {
  padding: 0.9rem 1.1rem;
  font-size: 0.94rem;
  color: var(--mute);
}
.shot figcaption b {
  display: block;
  color: var(--ink);
}
.steps {
  counter-reset: s;
}
.steps .shot {
  counter-increment: s;
}
.steps .shot figcaption b::before {
  content: counter(s);
  display: inline-grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: var(--brand);
  color: var(--btn-ink);
  font-size: 0.85rem;
}
dialog {
  border: 0;
  padding: 0;
  background: none;
  max-width: 100vw;
  max-height: 100vh;
  width: 100%;
  height: 100%;
}
dialog::backdrop {
  background: rgba(5, 10, 18, 0.88);
}
.lb {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 1rem;
}
.lb img,
.lb video {
  max-width: min(96vw, 1200px);
  max-height: 88vh;
  border-radius: 12px;
  background: #000;
}
.lb p {
  color: #fff;
  margin: 0.8rem 0 0;
  text-align: center;
  font-size: 0.95rem;
}
.lb .close {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* ---------- Accordéons (tournois, stages) ---------- */
.acc-list {
  display: grid;
  gap: 1rem;
}
.acc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.acc summary {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.2rem 1.4rem;
  cursor: pointer;
  list-style: none;
}
.acc summary::-webkit-details-marker {
  display: none;
}
.acc .date {
  flex: none;
  min-width: 84px;
  text-align: center;
  padding: 0.5rem 0.6rem;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  font: 700 1.3rem/1.05 var(--head);
  text-transform: uppercase;
}
.acc .date small {
  display: block;
  font: 600 0.72rem var(--body);
  letter-spacing: 0.1em;
}
.acc .ttl {
  flex: 1;
}
.acc .ttl b {
  display: block;
  font: 700 1.35rem/1.15 var(--head);
}
.acc .ttl span {
  color: var(--mute);
  font-size: 0.94rem;
}
.acc summary::after {
  content: "+";
  font: 700 1.6rem/1 var(--body);
  color: var(--brand);
  transition: transform 0.2s;
}
.acc[open] summary::after {
  transform: rotate(45deg);
}
.acc-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: 1.5rem;
  padding: 0 1.4rem 1.4rem;
  align-items: start;
}
.acc-body .shot {
  box-shadow: none;
}
@media (max-width: 760px) {
  .acc-body {
    grid-template-columns: 1fr;
  }
  .acc summary {
    padding: 1rem;
  }
}
.tag {
  display: inline-block;
  padding: 0.2em 0.7em;
  border-radius: 999px;
  font: 600 0.75rem var(--body);
  background: var(--line);
  color: var(--mute);
  margin-left: 0.5rem;
  vertical-align: middle;
}
.is-past {
  opacity: 0.72;
}
.is-past .date {
  background: var(--line);
  color: var(--mute);
}
.next-badge {
  background: var(--ok);
  color: #fff;
}

/* ---------- Calendrier ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1.4rem;
}
.filters button {
  padding: 0.55em 1.2em;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: 600 0.95rem var(--body);
  cursor: pointer;
}
.filters button[aria-pressed="true"] {
  background: var(--btn-bg);
  border-color: var(--btn-bg);
  color: var(--btn-ink);
}
.events {
  display: grid;
  gap: 0.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.event {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 1rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 6px solid var(--tennis);
  border-radius: 14px;
  padding: 1rem 1.3rem;
}
.event[data-disc="padel"] {
  border-left-color: var(--padel);
}
.event .when {
  font: 700 1.3rem/1.1 var(--head);
  text-transform: uppercase;
}
.event .what b {
  display: block;
  font-size: 1.05rem;
}
.badge {
  display: inline-block;
  padding: 0.25em 0.8em;
  border-radius: 999px;
  font: 600 0.78rem var(--body);
  color: #fff;
  background: var(--tennis);
}
.badge.padel {
  background: var(--padel);
}
@media (max-width: 640px) {
  .event {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}
.season-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.season-cards .card b {
  display: block;
  font: 700 1.25rem var(--head);
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

/* ---------- Comité ---------- */
.member {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--btn-ink);
  font: 700 1.4rem var(--head);
}
.member h3 {
  margin: 0 0 0.15em;
  font-size: 1.35rem;
}
.member .role {
  font-weight: 600;
  color: var(--brand);
  margin: 0 0 0.4em;
}
.member p {
  margin: 0 0 0.4em;
  color: var(--mute);
  font-size: 0.96rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
.info {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.info:last-child {
  border-bottom: 0;
}
.info .ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-soft);
  font-size: 1.3rem;
}
.info b {
  display: block;
}
.mapbox {
  position: relative;
  min-height: 340px;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--line);
}
.mapbox img,
.mapbox iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  object-fit: cover;
}
.mapbox .map-load {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
}
form.contact {
  display: grid;
  gap: 1rem;
}
.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-size: 0.94rem;
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.8em 1em;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--brand);
  outline: 0;
}
.field textarea {
  min-height: 150px;
  resize: vertical;
}

/* ---------- Sponsors ---------- */
.logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 1rem;
}
.logos figure {
  margin: 0;
  display: grid;
  place-items: center;
  aspect-ratio: 3/2;
  padding: 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.logos figure:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.logos img {
  max-height: 100%;
  object-fit: contain;
}

/* ---------- Bandeau d'appel ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand-d), var(--brand));
  color: #fff;
  text-align: center;
  padding: clamp(48px, 7vw, 80px) 0;
}

.cta-band h2 {
  margin-bottom: 0.4em;
}
.cta-band p {
  max-width: 52ch;
  margin: 0 auto 1.6rem;
  opacity: 0.95;
}
.cta-band .btn-primary {
  background: #fff;
  color: var(--brand-d);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.cta-band .btn-primary:hover {
  background: #fff4ec;
  color: var(--brand-d);
}
.cta-band .btn-ghost {
  border-color: rgba(255, 255, 255, 0.8);
}

/* ---------- Évènement à venir ---------- */
.event-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 760px) {
  .event-box {
    grid-template-columns: 1fr;
  }
}
.countdown {
  display: flex;
  gap: 0.8rem;
  margin: 1rem 0;
}
.countdown div {
  min-width: 78px;
  padding: 0.8rem 0.5rem;
  text-align: center;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
}
.countdown b {
  display: block;
  font: 700 2.2rem/1 var(--head);
}
.countdown span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Assistant IA ---------- */
.ia-frame {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow);
}
.ia-frame iframe {
  display: block;
  width: 100%;
  height: 1200px;
  border: 0;
}
.ia-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}
.ia-steps li {
  background: var(--brand-soft);
  border-radius: var(--r);
  padding: 1.2rem 1.4rem;
}
.ia-steps b {
  display: block;
  font: 700 1.35rem var(--head);
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

/* ---------- Pied de page ---------- */
.site-footer {
  background: #0d1623;
  color: #c7d2e0;
  padding: 64px 0 28px;
}
.site-footer a {
  color: #e7edf5;
  text-decoration: none;
}
.site-footer a:hover {
  color: #ffb184;
  text-decoration: underline;
}
.foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 860px) {
  .foot {
    grid-template-columns: 1fr;
  }
}
.foot h2 {
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
}
.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.foot li {
  padding: 0.2rem 0;
}
.foot .brand {
  margin-bottom: 1rem;
  color: #fff;
}
.foot .legal {
  grid-column: 1/-1;
  border-top: 1px solid #25384f;
  padding-top: 1.4rem;
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #8ea2ba;
}
.foot .legal button {
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

/* ---------- Cookies ---------- */
.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 150;
  max-width: 560px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  padding: 1.2rem 1.3rem;
}
.consent[hidden] {
  display: none;
}
.consent p {
  margin: 0 0 0.9rem;
  font-size: 0.94rem;
}
.consent .row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* ---------- Apparition au défilement ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s,
    transform 0.7s;
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
@media print {
  .site-header,
  .site-footer,
  .consent,
  .cta-band {
    display: none;
  }
  .page-hero,
  .hero {
    min-height: 0;
    color: #000;
    background: none;
  }
  .page-hero::before,
  .hero::before {
    display: none;
  }
}

/* ---------- Compléments ---------- */
.lb-body {
  display: grid;
  justify-items: center;
  text-align: center;
}
.noscript-nav {
  background: #fff;
  color: #1f2937;
  padding: 1rem;
  text-align: center;
  line-height: 2;
}
.noscript-nav a {
  margin: 0 0.6rem;
}
.hero-cta .btn-ghost {
  cursor: pointer;
}
.js [data-status].next-badge {
  background: var(--ok);
  color: #fff;
}
