/* Les 4'S — maquette. Palette tirée du judogi vert et des couleurs de ceinture. */
:root {
  --green: #0b6b3a;
  --green-deep: #064528;
  --green-soft: #e6f4ea;
  --sun: #ffc61a;
  --sun-soft: #fff4cc;
  --ink: #12261c;
  --ink-soft: #33473c;
  --paper: #ffffff;
  --line: #c9d8ce;

  --judo: #0b6b3a;
  --natation: #1565c0;
  --cross: #c2410c;
  --football: #ffc61a;
  --tennis: #c62828;

  --focus: #ffc61a;
  --focus-ring: #12261c;

  --display: "Baloo 2", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --body: "Lexend", "Verdana", system-ui, sans-serif;

  --wrap: 72rem;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
  --radius-photo: 2rem;
  --radius-ui: 0.9rem;
}

html { font-size: 100%; scroll-behavior: smooth; }
html[data-text="l"] { font-size: 112.5%; }
html[data-text="xl"] { font-size: 125%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
p { margin: 0 0 1em; max-width: 38em; }
h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.05;
  margin: 0 0 0.4em;
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 1.85rem); line-height: 1.15; }
a { color: var(--green); text-decoration-thickness: 0.12em; text-underline-offset: 0.18em; }
a:hover { color: var(--green-deep); text-decoration-thickness: 0.2em; }
strong { font-weight: 600; }

:focus-visible {
  outline: 4px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 7px var(--focus-ring);
  border-radius: 6px;
}

.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Lien d'évitement */
.skip {
  position: absolute; left: 1rem; top: -10rem; z-index: 100;
  background: var(--sun); color: var(--ink); font-weight: 600;
  padding: 1rem 1.5rem; border-radius: var(--radius-ui); text-decoration: none;
}
.skip:focus { top: 1rem; }

/* ---------- Barre confort ---------- */
.comfort {
  background: var(--green-deep);
  color: #fff;
  font-size: 1rem;
}
.comfort .wrap {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem;
  padding-block: 0.6rem;
}
.comfort__title { font-weight: 600; margin: 0; }
.comfort__group { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.comfort__label { margin: 0; }
.comfort button {
  font: inherit; font-weight: 600; cursor: pointer;
  min-height: 2.75rem; min-width: 2.75rem; padding: 0.35rem 0.9rem;
  border-radius: 999px; border: 2px solid #fff;
  background: transparent; color: #fff;
}
.comfort button[aria-pressed="true"] { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.comfort button:hover { background: #fff; color: var(--green-deep); }
.comfort__panel { display: contents; }
.comfort .comfort__toggle { display: none; }
.comfort .speak { margin-left: auto; }
@media (max-width: 48rem) {
  .comfort__title { display: none; }
  .comfort .comfort__toggle { display: flex; align-items: center; width: 100%; justify-content: center; text-align: center; }
  .comfort .comfort__toggle[aria-expanded="true"] { background: #fff; color: var(--green-deep); }
  .comfort__panel { display: none; }
  .comfort__panel.is-open { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; width: 100%; padding-bottom: 0.5rem; }
  .comfort .speak { margin-left: 0; }
}
.comfort .speak[aria-pressed="true"] { background: var(--sun); color: var(--ink); }

/* ---------- En-tête & navigation ---------- */
.site-header {
  background: #fff;
  border-bottom: 3px solid var(--green);
  position: sticky; top: 0; z-index: 50;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 0.7rem;
}
.brand {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none; color: var(--ink);
}
.brand svg { width: 3.6rem; height: 3.6rem; flex: none; }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1; display: block; }
.brand__sub { font-size: 0.85rem; display: block; color: var(--ink-soft); }

.menu-toggle {
  display: none;
  font: inherit; font-weight: 600; cursor: pointer;
  min-height: 3rem; padding: 0.4rem 1.1rem;
  border: 2px solid var(--green); border-radius: 999px;
  background: var(--green); color: #fff;
  align-items: center; gap: 0.6rem;
}
.menu-toggle__bars { display: inline-grid; gap: 4px; }
.menu-toggle__bars span { display: block; width: 20px; height: 3px; background: currentColor; border-radius: 2px; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.nav a {
  display: flex; align-items: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 1.02rem; font-weight: 500;
  color: var(--ink); text-decoration: none;
}
.nav a::before {
  content: ""; width: 0.75rem; height: 0.75rem; border-radius: 50%;
  background: var(--dot, var(--ink-soft)); flex: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(18, 38, 28, 0.25);
}
.nav a:hover { background: var(--green-soft); }
.nav a[aria-current="page"] { background: var(--green); color: #fff; font-weight: 600; }
.nav a[aria-current="page"]::before { box-shadow: 0 0 0 2px var(--green), 0 0 0 3px #fff; }
.nav .nav-contact a { background: var(--sun); color: var(--ink); font-weight: 600; }
.nav .nav-contact a:hover { background: #ffd54f; }
.nav .nav-contact a::before { display: none; }
.nav .nav-contact a[aria-current="page"] { background: var(--ink); color: #fff; }

@media (max-width: 68rem) {
  .menu-toggle { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 3px solid var(--green); display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; padding: 0.75rem var(--gap) 1.25rem; gap: 0.4rem; }
  .nav a { font-size: 1.2rem; min-height: 3.4rem; }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.5rem; padding: 0.75rem 1.6rem;
  border-radius: 999px; border: 3px solid transparent;
  font-family: var(--body); font-size: 1.15rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.4em; height: 1.4em; flex: none; }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: #ffd54f; color: var(--ink); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-deep); color: #fff; }
.btn--line { background: transparent; color: inherit; border-color: currentColor; }
.btn--line:hover { background: rgba(255, 255, 255, 0.12); color: inherit; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover { transition: none; transform: none; } }

/* ---------- Hero accueil ---------- */
.hero { background: var(--green); color: #fff; position: relative; overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--gap); align-items: center;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(4rem, 8vw, 6rem);
}
.hero__logo { width: clamp(6rem, 11vw, 8.5rem); margin-bottom: 1.25rem; }
.hero h1 { margin-bottom: 0.35em; }
.hero h1 span { display: block; }
.hero__lead { font-size: clamp(1.25rem, 2vw, 1.5rem); max-width: 30em; margin-bottom: 1.75rem; }
.hero__photo { position: relative; }
.hero__photo img {
  border-radius: var(--radius-photo);
  aspect-ratio: 4 / 3.3; object-fit: cover; width: 100%;
  border: 6px solid #fff;
}
.hero__photo figcaption {
  position: absolute; left: -1rem; bottom: -1.2rem;
  background: var(--sun); color: var(--ink);
  font-size: 1rem; font-weight: 600;
  padding: 0.6rem 1.1rem; border-radius: 999px; max-width: 90%;
}
@media (max-width: 52rem) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo figcaption { left: 0.75rem; }
}

/* ---------- La ceinture (élément signature) ---------- */
.belt {
  position: relative;
  background: var(--ink);
  padding: 0;
}
.belt__inner { display: grid; grid-template-columns: auto 1fr; }
.belt__knot-cell {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1rem 1.5rem 1rem var(--gap);
  background: var(--ink); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1.05;
}
.belt__knot-cell svg { width: 4rem; height: 4rem; flex: none; }
.belt__band {
  display: grid; grid-template-columns: repeat(5, 1fr);
  list-style: none; margin: 0; padding: 0;
}
.belt__band li { display: flex; }
@media (max-width: 52rem) {
  .belt__inner { grid-template-columns: 1fr; }
}
.belt__band a {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center; gap: 0.1rem;
  min-height: 7rem; padding: 1rem 1.25rem;
  background: var(--c); color: var(--t, #fff);
  text-decoration: none;
  position: relative;
  transform-origin: left center;
}
.belt__band a:hover { filter: brightness(1.08); }
.belt__band a:hover .belt__go { text-decoration: underline; }
.belt__name { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1; }
.belt__go { font-size: 1rem; font-weight: 500; }
.belt__knot {
  position: absolute; left: 50%; top: 50%; width: 5.5rem; height: 5.5rem;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
@media (max-width: 52rem) {
  .belt__band { grid-template-columns: 1fr; }
  .belt__band a { min-height: 5rem; }
  .belt__knot { display: none; }
}
/* Animation unique : la ceinture se noue au chargement */
.js .belt--animate .belt__band a { animation: tie 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.js .belt--animate .belt__band li:nth-child(2) a { animation-delay: 0.08s; }
.js .belt--animate .belt__band li:nth-child(3) a { animation-delay: 0.16s; }
.js .belt--animate .belt__band li:nth-child(4) a { animation-delay: 0.24s; }
.js .belt--animate .belt__band li:nth-child(5) a { animation-delay: 0.32s; }
.js .belt--animate .belt__knot { animation: knot 0.6s 0.75s cubic-bezier(0.3, 1.4, 0.5, 1) both; }
@keyframes tie { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes knot { from { transform: translate(-50%, -50%) scale(0) rotate(-40deg); } to { transform: translate(-50%, -50%) scale(1) rotate(0); } }
html[data-motion="off"] .belt__band a, html[data-motion="off"] .belt__knot { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .belt__band a, .belt__knot { animation: none !important; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--soft { background: var(--green-soft); }
.section--sun { background: var(--sun-soft); }
.section__intro { max-width: 40rem; margin-bottom: 2.5rem; }
.section__intro p { font-size: 1.3rem; }

/* Les quatre S */
.four-s { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; list-style: none; padding: 0; margin: 2.5rem 0 0; }
.four-s li { border-top: 6px solid var(--green); padding-top: 1rem; }
.four-s b { display: block; font-family: var(--display); font-size: 2rem; font-weight: 800; line-height: 1.1; color: var(--green); }
.four-s span { font-size: 1.05rem; display: block; }
@media (max-width: 52rem) { .four-s { grid-template-columns: 1fr 1fr; } }

.story { display: grid; grid-template-columns: 1.2fr 1fr; gap: calc(var(--gap) * 1.5); align-items: start; }
@media (max-width: 52rem) { .story { grid-template-columns: 1fr; } }

/* Frise chronologique (vraie séquence) */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 6px solid var(--green); }
.timeline li { position: relative; padding: 0 0 1.6rem 1.75rem; }
.timeline li::before {
  content: ""; position: absolute; left: -0.95rem; top: 0.35rem;
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--sun); border: 4px solid var(--green);
}
.timeline time { font-family: var(--display); font-weight: 800; font-size: 1.7rem; line-height: 1; display: block; color: var(--green); }
.timeline p { margin: 0.2rem 0 0; font-size: 1.1rem; }

/* Grille activités */
.acts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem; list-style: none; padding: 0; margin: 0; }
.act { grid-column: span 2; }
.act--lead { grid-column: span 4; grid-row: span 2; }
.act:nth-child(2) { grid-column: span 2; }
.act:nth-child(4), .act:nth-child(5) { grid-column: span 3; }
.act:nth-child(4) img, .act:nth-child(5) img { aspect-ratio: 16 / 8; }
.act a {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; color: var(--ink); text-decoration: none;
  border-radius: 1.5rem; overflow: hidden;
  border: 3px solid var(--ink);
}
.act a:hover { box-shadow: 8px 8px 0 var(--c); transform: translate(-3px, -3px); }
.act a:hover .act__cta { text-decoration: underline; }
.act img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.act--lead img { aspect-ratio: auto; flex: 1; min-height: 18rem; }
.act__body { padding: 1.1rem 1.35rem 1.35rem; border-top: 10px solid var(--c); }
.act__body h3 { margin-bottom: 0.2em; }
.act__body p { font-size: 1.05rem; margin-bottom: 0.6rem; }
.act__cta { font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.act a { transition: transform 0.15s ease, box-shadow 0.15s ease; }
@media (prefers-reduced-motion: reduce) { .act a, .act a:hover { transition: none; transform: none; } }
@media (max-width: 60rem) {
  .acts { grid-template-columns: 1fr 1fr; }
  .act, .act--lead, .act:nth-child(2) { grid-column: span 1; grid-row: auto; }
  .act--lead { grid-column: span 2; }
}
@media (max-width: 40rem) {
  .acts { grid-template-columns: 1fr; }
  .act--lead { grid-column: span 1; }
}

/* Vidéo (façade, chargée au clic) */
.video { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--gap); align-items: center; }
.video__frame { position: relative; border-radius: var(--radius-photo); overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink); border: 4px solid var(--ink); }
.video__frame img, .video__frame iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.video__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  white-space: nowrap;
}
@media (max-width: 52rem) { .video { grid-template-columns: 1fr; } }

/* Mot du président */
.president { display: grid; grid-template-columns: minmax(14rem, 0.8fr) 1.4fr; gap: calc(var(--gap) * 1.5); align-items: center; }
.president__photo img { border-radius: 50% 50% var(--radius-photo) var(--radius-photo); aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 20%; border: 6px solid var(--green); }
.president blockquote { margin: 0; }
.president blockquote p { font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.5; max-width: 34em; }
.president blockquote p.big {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; color: var(--green-deep);
}
.president footer { font-size: 1.1rem; }
.president footer b { font-family: var(--display); font-size: 1.5rem; display: block; font-weight: 800; }
@media (max-width: 52rem) { .president { grid-template-columns: 1fr; } .president__photo { max-width: 20rem; } }

/* Bandeau d'appel */
.cta-band { background: var(--ink); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-band h2 { margin: 0; max-width: 16em; }
.cta-band p { margin: 0.5rem 0 0; font-size: 1.2rem; }

/* ---------- Pages activité ---------- */
.crumbs { font-size: 1rem; padding-block: 1rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.crumbs li + li::before { content: "›"; margin-right: 0.5rem; color: var(--ink-soft); }

.act-hero { position: relative; }
.act-hero__img { width: 100%; height: clamp(18rem, 48vw, 34rem); object-fit: cover; border-radius: var(--radius-photo); }
.act-hero__card {
  position: relative; margin: -5rem 0 0 clamp(0rem, 3vw, 2.5rem);
  max-width: 44rem;
  background: var(--c); color: var(--t, #fff);
  border-radius: 1.75rem; padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 4px solid #fff;
}
.act-hero__card h1 { margin-bottom: 0.2em; }
.act-hero__card p { font-size: clamp(1.25rem, 2vw, 1.5rem); margin: 0; }
.act-hero__credit { font-size: 0.95rem; color: var(--ink-soft); margin: 0.75rem 0 0; text-align: right; max-width: none; }

.falc {
  background: var(--sun-soft); border: 4px solid var(--ink); border-radius: 1.75rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.falc h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.falc__badge {
  font-family: var(--body); font-size: 0.95rem; font-weight: 600;
  background: var(--ink); color: #fff; border-radius: 999px; padding: 0.3rem 0.9rem;
}
.falc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.falc li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; align-items: center; font-size: 1.3rem; line-height: 1.45; }
.falc svg { width: 3.5rem; height: 3.5rem; }

.cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: calc(var(--gap) * 1.5); align-items: start; }
@media (max-width: 56rem) { .cols { grid-template-columns: 1fr; } }

.ticks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.8rem; }
.ticks li { position: relative; padding-left: 2.4rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.35rem;
  width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--c, var(--green));
  -webkit-mask: none;
}
.ticks li::after {
  content: ""; position: absolute; left: 0.5rem; top: 0.62rem;
  width: 0.45rem; height: 0.8rem; border: solid var(--t, #fff); border-width: 0 3px 3px 0; transform: rotate(45deg);
}

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; list-style: none; padding: 0; margin: 0; }
.values li { border-left: 8px solid var(--c); padding: 0.25rem 0 0.25rem 1.25rem; }
.values h3 { margin-bottom: 0.25em; }
.values p { font-size: 1.1rem; margin: 0; }
@media (max-width: 52rem) { .values { grid-template-columns: 1fr; } }

.infos { background: #fff; border: 3px solid var(--ink); border-radius: 1.5rem; padding: 1.5rem 1.75rem; }
.infos h2 { font-size: 1.9rem; }
.infos dl { margin: 0; display: grid; gap: 0.9rem; }
.infos dt { font-weight: 600; font-size: 1rem; color: var(--ink-soft); }
.infos dd { margin: 0; font-size: 1.2rem; }
.infos .btn { margin-top: 1.25rem; width: 100%; }

.gallery { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.gallery li:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 1.25rem; min-height: 12rem; }
@media (max-width: 52rem) { .gallery { grid-template-columns: 1fr 1fr; } .gallery li:first-child { grid-column: span 2; grid-row: auto; } }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pager a {
  display: block; padding: 1.25rem 1.5rem; border-radius: 1.25rem;
  border: 3px solid var(--ink); text-decoration: none; color: var(--ink);
  border-left: 14px solid var(--c);
}
.pager a:hover { background: var(--green-soft); }
.pager small { display: block; font-size: 1rem; color: var(--ink-soft); }
.pager b { font-family: var(--display); font-size: 1.6rem; font-weight: 800; }
.pager .next { text-align: right; border-left: 3px solid var(--ink); border-right: 14px solid var(--c); }
@media (max-width: 40rem) { .pager { grid-template-columns: 1fr; } }

.note {
  font-size: 1.05rem; background: var(--green-soft); border-radius: 1rem; padding: 1rem 1.25rem; max-width: 44rem;
}

/* ---------- Contact ---------- */
.contact-hero { background: var(--sun); color: var(--ink); }
.contact-hero .wrap { padding-block: clamp(3rem, 7vw, 5rem); }
.contact-hero p { font-size: clamp(1.3rem, 2vw, 1.55rem); max-width: 32em; }
.big-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.big-action {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1.5rem 1.75rem; border-radius: 1.5rem;
  text-decoration: none; min-height: 7rem;
  border: 4px solid var(--ink);
}
.big-action svg { width: 3.25rem; height: 3.25rem; flex: none; }
.big-action small { display: block; font-size: 1.05rem; font-weight: 500; }
.big-action b { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.1; display: block; word-break: break-word; }
.big-action--call { background: var(--green); color: #fff; }
.big-action--call:hover { background: var(--green-deep); color: #fff; }
.big-action--mail { background: #fff; color: var(--ink); }
.big-action--mail:hover { background: var(--green-soft); color: var(--ink); }
@media (max-width: 52rem) { .big-actions { grid-template-columns: 1fr; } }

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.steps li { counter-increment: s; background: #fff; border-radius: 1.5rem; padding: 1.5rem; border: 3px solid var(--ink); }
.steps li::before {
  content: counter(s); display: grid; place-items: center;
  width: 3rem; height: 3rem; border-radius: 50%; margin-bottom: 0.75rem;
  background: var(--green); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.6rem;
}
.steps h3 { margin-bottom: 0.3em; }
.steps p { font-size: 1.1rem; margin: 0; }
@media (max-width: 52rem) { .steps { grid-template-columns: 1fr; } }

.address { font-style: normal; font-size: 1.25rem; line-height: 1.7; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--green-deep); color: #fff; font-size: 1.05rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--sun); }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--gap); padding-block: 3.5rem 2rem; }
.site-footer h2 { font-size: 1.5rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.site-footer ul a { display: inline-block; padding-block: 0.3rem; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.35); padding-top: 1.5rem; font-size: 0.95rem; }
.site-footer .legal p { max-width: none; margin-bottom: 0.4rem; }
.site-footer .legal details summary { cursor: pointer; font-weight: 600; min-height: 2.75rem; display: flex; align-items: center; }
@media (max-width: 52rem) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* ---------- Contraste renforcé ---------- */
html[data-contrast="high"] {
  --green: #004d25;
  --green-deep: #000;
  --green-soft: #fff;
  --sun-soft: #fff;
  --ink: #000;
  --ink-soft: #000;
  --natation: #0a3d91;
  --cross: #8a2a00;
  --tennis: #8e0000;
}
html[data-contrast="high"] body { background: #fff; }
html[data-contrast="high"] a:not(.btn):not(.big-action) { text-decoration-thickness: 0.18em; }
html[data-contrast="high"] .section--soft,
html[data-contrast="high"] .section--sun { border-block: 4px solid #000; }
html[data-contrast="high"] .act a,
html[data-contrast="high"] .pager a,
html[data-contrast="high"] .steps li { border-width: 4px; }

/* Lecture en cours */
.is-speaking { background: var(--sun) !important; color: var(--ink) !important; border-radius: 6px; box-shadow: 0 0 0 6px var(--sun); }
