/* =====================================================================
   ROZOY DANSE — FEUILLE DE STYLE (V2 de démonstration)
   ---------------------------------------------------------------------
   Charte PROVISOIRE en attendant le logo : pour changer les couleurs,
   modifiez uniquement les variables du bloc :root ci-dessous.

   Sommaire
   1. Polices et variables       8.  Accueil (intro, groupes, temps fort)
   2. Base                       9.  Agenda et événements
   3. Boutons, liens, puces      10. Actualités
   4. Signature « trajectoire »  11. Services en ligne, partenaires
   5. Header et menu mobile      12. Club, groupes, planning
   6. Photos et apparitions      13. Galerie et visionneuse
   7. Hero et bandeaux de pages  14. Contact, légal, footer, divers
   ===================================================================== */

/* ---------- 1. Polices (hébergées localement) ------------------------ */
@font-face {
  font-family: "Sofia Sans Extra Condensed";
  src: url("../assets/fonts/sofia-sans-extra-condensed-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sofia Sans Extra Condensed";
  src: url("../assets/fonts/sofia-sans-extra-condensed-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../assets/fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../assets/fonts/atkinson-hyperlegible-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../assets/fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---------------------------------------------------------------
     CHARTE — reprise du logo de l'association
     (silhouette à l'encre, halo pêche, boucle tracée à la main).
     Pour ajuster tout le site, modifiez uniquement ces variables.
     --------------------------------------------------------------- */
  --ink: #17120F;            /* l'encre du logo */
  --ink-soft: #2C2320;
  --peach: #FDE4CC;          /* le halo du logo */
  --peach-deep: #E9B98D;
  --cream: #FCF7F2;          /* fond clair, rosé comme leurs affiches */
  --accent: #C94E7C;         /* rose de leurs affiches, par petites touches */

  /* Rôles (utilisés partout dans la feuille de style) */
  --primary: var(--ink);
  --primary-deep: #000000;
  --secondary: var(--peach);
  --secondary-soft: #FFF1E5;
  --dark: var(--ink);
  --light: var(--cream);
  --stage: #0E0B09;          /* fond le plus sombre (visionneuse, scène) */
  --surface: #FFFFFF;
  --tint: #F7E8DC;
  --text: #17120F;
  --muted: #6C5A50;
  --line: rgba(23, 18, 15, 0.14);
  --on-dark: #FFF8F2;
  --on-dark-muted: #D7C4B6;
  --line-dark: rgba(253, 228, 204, 0.22);
  --glow: rgba(253, 228, 204, 0.34);
  --focus: #17120F;
  --success: #1F7A4D;
  --danger: #B3261E;

  /* Typographie */
  --font-display: "Sofia Sans Extra Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-xs: 0.8125rem;
  --fs-lead: clamp(1.125rem, 1.04rem + 0.4vw, 1.3125rem);
  --fs-hero: clamp(3.5rem, 1.1rem + 9.4vw, 9rem);
  --fs-page: clamp(3.1rem, 2rem + 4.6vw, 6.25rem);
  --fs-h2: clamp(2.35rem, 1.75rem + 2.6vw, 4.25rem);
  --fs-h3: clamp(1.6rem, 1.42rem + 0.7vw, 2.05rem);

  /* Espacements et gabarits */
  --gutter: clamp(1.15rem, 0.7rem + 2.4vw, 3rem);
  --container: 76rem;
  --section-y: clamp(4rem, 2.6rem + 6vw, 8.5rem);
  --header-h: 4.5rem;

  /* Formes : pilule pour les actions, arche pour les portraits,
     « galet » irrégulier repris de la boucle du logo */
  --r-sm: 0.375rem;
  --r-md: 0.875rem;
  --r-lg: 1.5rem;
  --r-pill: 999px;
  --r-arch: 999px 999px var(--r-md) var(--r-md);
  --r-blob: 62% 38% 45% 55% / 48% 55% 45% 52%;
  --shadow-lift: 0 22px 44px -24px rgba(23, 18, 15, 0.45);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Base --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
figure { margin: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 760;
  line-height: 0.95;
  letter-spacing: -0.005em;
  margin: 0 0 0.4em;
  text-wrap: balance;
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.theme-dark { --focus: var(--secondary); color: var(--on-dark); }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed;
  top: 0.75rem; left: 0.75rem;
  z-index: 300;
  padding: 0.75rem 1rem;
  background: var(--peach);
  color: var(--ink);
  font-weight: 700;
  border-radius: var(--r-sm);
  transform: translateY(-250%);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(44rem + var(--gutter) * 2); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--tint); }
.section--dark { background: var(--dark); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 38rem; }
.theme-dark .lead { color: var(--on-dark-muted); }

.section-head { display: grid; gap: 1.1rem 2rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head h2 { margin: 0; }
.section-head .lead { margin: 0.8rem 0 0; }
.section-head > .btn, .section-head > .quick-cats { justify-self: start; }
@media (min-width: 56em) {
  .section-head { grid-template-columns: 1fr auto; align-items: end; }
}
.section-foot { margin: clamp(2rem, 4vw, 3rem) 0 0; display: flex; justify-content: center; }
.section-foot--start { justify-content: flex-start; }

/* ---------- 3. Boutons, liens, puces ---------------------------------- */
.btn {
  --btn-bg: var(--primary);
  --btn-fg: #fff;
  --btn-bd: var(--btn-bg);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.7rem 1.4rem;
  border: 2px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background-color 0.2s, color 0.2s, border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn:active { transform: translateY(0) scale(0.98); box-shadow: none; }
.btn svg { width: 1.05em; height: 1.05em; flex: none; transition: transform 0.3s var(--ease-out); }
.btn:hover .icon-ext { transform: translate(2px, -2px); }
.btn--primary { --btn-bg: var(--peach); --btn-fg: var(--ink); --btn-bd: var(--peach); }
.btn--primary:hover { --btn-bg: var(--secondary-soft); }
.btn--dark { --btn-bg: var(--primary); --btn-fg: #fff; }
.btn--dark:hover { --btn-bg: var(--primary-deep); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--primary); --btn-bd: currentColor; }
.btn--outline:hover { --btn-bg: var(--primary); --btn-fg: #fff; --btn-bd: var(--primary); }
.theme-dark .btn--outline { --btn-fg: #fff; }
.btn--ghost { --btn-bg: rgba(14, 11, 9, 0.35); --btn-fg: #fff; --btn-bd: rgba(248, 223, 198, 0.6); }
.btn--ghost:hover { --btn-bg: var(--peach); --btn-fg: var(--ink); --btn-bd: var(--peach); }
.btn--sm { min-height: 2.625rem; padding: 0.5rem 1.05rem; font-size: 0.9375rem; }
.btn--lg { min-height: 3.375rem; padding: 0.8rem 1.7rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat,
              linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 2px no-repeat;
  padding-bottom: 0.15em;
  transition: background-size 0.35s var(--ease-out), color 0.2s;
}
.text-link:hover { background-size: 100% 2px, 100% 2px; }
.theme-dark .text-link { color: var(--on-dark); }
.prose .text-link, p .text-link { display: inline; }
.icon-ext { width: 0.85em; height: 0.85em; flex: none; opacity: 0.8; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.45rem 1.05rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease-out);
}
.chip:hover { border-color: var(--primary); }
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip__count { font-size: var(--fs-xs); opacity: 0.7; }
.quick-cats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.results-count { margin: 0; color: var(--muted); font-size: var(--fs-small); font-weight: 700; }

.tag {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: var(--r-pill);
  background: var(--tint);
  color: var(--primary);
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.4;
}
.tag--gold { background: var(--accent); color: #fff; }
.theme-dark .tag { background: rgba(255, 255, 255, 0.12); color: var(--on-dark); }
.theme-dark .tag--gold { background: var(--peach); color: var(--ink); }

/* ---------- 4. Signature « trajectoire » ------------------------------ */
.trace { position: absolute; pointer-events: none; overflow: visible; }
.trace path { fill: none; stroke: var(--ink); stroke-linecap: round; vector-effect: non-scaling-stroke; }
.trace .trace__line { stroke-width: 1.5px; }
.trace .trace__echo { stroke-width: 1px; opacity: 0.35; }
.trace .trace__dot { fill: var(--accent); }
.theme-dark .trace path, .site-footer .trace path, .mobile-menu .trace path { stroke: var(--peach); }
.theme-dark .trace .trace__dot { fill: var(--peach); }

/* ---------- 5. Header et menu mobile ---------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: #fff;
  transition: background-color 0.35s, box-shadow 0.35s, transform 0.35s var(--ease-out);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -1.5rem 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(14, 11, 9, 0.66), rgba(14, 11, 9, 0));
  pointer-events: none;
  transition: opacity 0.35s;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  height: var(--header-h);
  transition: height 0.35s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(23, 18, 15, 0.97);
  box-shadow: 0 1px 0 var(--line-dark), 0 14px 30px -20px rgba(0, 0, 0, 0.6);
}
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-scrolled .site-header__inner { height: 3.75rem; }
.site-header.menu-open { background: var(--dark); box-shadow: none; }
.site-header.menu-open::before { opacity: 0; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; min-width: 0; text-decoration: none; color: inherit; }
.brand__mark {
  width: 2.75rem; height: 2.75rem;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  background: var(--peach);
  transition: transform 0.5s var(--ease-out);
}
.brand:hover .brand__mark { transform: rotate(-12deg); }
.brand__name {
  display: grid;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 0.95;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand__name small {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  opacity: 0.75;
}
.brand--footer { display: block; }
.footer-logo {
  width: clamp(8.5rem, 22vw, 11rem);
  height: auto;
  border-radius: var(--r-lg);
  background: var(--cream);
  border: 1px solid rgba(253, 228, 204, 0.34);
  padding: 0.7rem;
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.9);
}

.main-nav { display: none; }
.main-nav ul { display: flex; gap: 0.1rem; margin: 0; padding: 0; list-style: none; }
.main-nav a {
  position: relative;
  display: block;
  padding: 0.55rem 0.55rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  color: inherit;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.main-nav a:hover { opacity: 1; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0.55rem; right: 0.55rem; bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { font-weight: 800; opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 0.35rem; flex: none; }
.header-link {
  display: none;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.6rem;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--on-dark-muted);
  transition: color 0.2s, background-color 0.2s;
}
.header-link svg { width: 1.05rem; height: 1.05rem; color: var(--secondary); }
.header-link:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.header-cta { margin-left: 0.25rem; }

.burger {
  position: relative;
  width: 2.875rem; height: 2.875rem;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.burger__lines, .burger__lines::before, .burger__lines::after {
  display: block;
  width: 1.45rem; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.35s var(--ease-out), background-color 0.2s;
}
.burger__lines { position: relative; }
.burger__lines::before, .burger__lines::after { content: ""; position: absolute; left: 0; }
.burger__lines::before { transform: translateY(-7px); }
.burger__lines::after { transform: translateY(7px); width: 1rem; }
.burger[aria-expanded="true"] .burger__lines { background: transparent; }
.burger[aria-expanded="true"] .burger__lines::before { transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines::after { transform: rotate(-45deg); width: 1.45rem; }

@media (max-width: 22.5em) {
  .brand__name { font-size: 1.45rem; }
  .brand__mark { width: 2.2rem; height: 2.2rem; }
  .header-cta { padding-inline: 0.8rem; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) max(1.25rem, env(safe-area-inset-bottom));
  background: radial-gradient(85% 55% at 100% 0%, rgba(248, 223, 198, 0.14), transparent 62%), var(--ink);
  color: var(--on-dark);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0s linear 0.3s;
  --focus: var(--secondary);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.3s; }
.mobile-menu__trace { right: -10%; bottom: 8%; width: 90%; height: 45%; opacity: 0.5; }
.mobile-menu__nav ul { margin: 0; padding: 0; list-style: none; }
.mobile-menu__nav li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu__nav a {
  display: flex;
  align-items: center;
  min-height: 3.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.2rem + 3vw, 2.3rem);
  font-weight: 720;
  line-height: 1;
  text-decoration: none;
  color: inherit;
}
.mobile-menu__nav a[aria-current="page"] { color: var(--peach); }
.mobile-menu__nav a[aria-current="page"]::after {
  content: "";
  width: 0.45rem; height: 0.45rem;
  margin-left: 0.6rem;
  border-radius: 50%;
  background: var(--accent);
}
.mobile-menu__actions { position: relative; display: grid; gap: 0.6rem; margin-top: auto; }
.mobile-menu__pulse {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 3.5rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
}
.mobile-menu__pulse > svg:first-child { width: 1.4rem; height: 1.4rem; color: var(--secondary); flex: none; }
.mobile-menu__pulse span { display: grid; flex: 1; line-height: 1.25; }
.mobile-menu__pulse small { color: var(--on-dark-muted); font-size: var(--fs-xs); }
.mobile-menu__social { position: relative; display: flex; gap: 0.6rem; flex-wrap: wrap; }
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu__nav li { opacity: 0; transform: translateY(0.75rem); transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out); transition-delay: calc(var(--i, 0) * 35ms); }
  .mobile-menu.is-open .mobile-menu__nav li { opacity: 1; transform: none; }
}
@media (min-width: 75em) {
  .main-nav { display: block; }
  .header-link { display: inline-flex; }
  .burger, .mobile-menu { display: none; }
}

/* ---------- 6. Photos, secours et apparitions ------------------------- */
.media {
  display: block;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 25% 10%, var(--peach-deep), transparent 60%),
    linear-gradient(160deg, var(--ink-soft) 0%, var(--stage) 100%);
}
.media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out), opacity 0.4s;
}
.media.is-broken > img { opacity: 0; }
.media.is-broken::after {
  content: "Photo à venir";
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.75rem 1rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}
/* Lever de rideau : les photos se dévoilent du bas vers le haut */
.js [data-reveal] { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease-out); }
.js [data-reveal].is-visible { clip-path: inset(0 0 0 0); }
/* Apparition douce des listes générées (décalage limité à 3 éléments) */
@media (prefers-reduced-motion: no-preference) {
  .js .rise { animation: rise 0.7s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 80ms); }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- 7. Hero d'accueil ----------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}
.hero__stage { position: relative; }
.hero__photo { height: clamp(19rem, 54svh, 32rem); background: var(--stage); }
.hero__photo img { object-position: 50% 40%; }
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(14, 11, 9, 0.5) 0%, rgba(14, 11, 9, 0) 26%),
    linear-gradient(to top, var(--ink) 0%, rgba(23, 18, 15, 0.7) 22%, rgba(23, 18, 15, 0) 55%);
}
.hero__inset { display: none; }
.hero__trace { left: 0; top: 4%; width: 100%; height: 46%; z-index: 1; opacity: 0.7; }
.hero__inner { position: relative; z-index: 2; margin-top: clamp(-7rem, -18vw, -4.5rem); padding-bottom: clamp(2.25rem, 6vw, 3rem); }
.hero__content { max-width: 36rem; }
.hero__featured {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.85rem 0.35rem 0.5rem;
  border-radius: var(--r-pill);
  background: rgba(14, 11, 9, 0.6);
  border: 1px solid rgba(248, 223, 198, 0.3);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s;
}
.hero__featured:hover { background: rgba(14, 11, 9, 0.88); border-color: var(--peach); }
.hero__featured-dot { position: relative; width: 0.6rem; height: 0.6rem; flex: none; border-radius: 50%; background: var(--accent); }
.hero__featured-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0.45; }
.hero__title {
  font-size: var(--fs-hero);
  font-weight: 850;
  line-height: 0.84;
  letter-spacing: -0.012em;
  margin: 0 0 1rem;
  text-shadow: 0 2px 30px rgba(14, 11, 9, 0.5);
}
.hero__lead { max-width: 33rem; font-size: var(--fs-lead); line-height: 1.5; color: rgba(255, 255, 255, 0.88); margin-bottom: 1.5rem; }
.hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.hero__actions .btn--primary { grid-column: 1 / -1; }
@media (min-width: 36em) {
  .hero__actions { display: flex; flex-wrap: wrap; }
}
.hero__next {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.15rem 0.9rem;
  margin-top: 1.5rem;
  padding: 0.85rem 1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s;
}
.hero__next:hover { border-color: var(--peach); background: rgba(248, 223, 198, 0.12); }
.hero__next-date { grid-row: span 2; font-family: var(--font-display); font-weight: 850; font-size: 2.6rem; line-height: 0.8; color: var(--peach); text-align: center; }
.hero__next-date small { display: block; font-size: 1rem; font-weight: 700; margin-top: 0.2rem; }
.hero__next-label { font-size: var(--fs-xs); font-weight: 700; color: var(--on-dark-muted); }
.hero__next-title { font-weight: 700; line-height: 1.25; }

@media (min-width: 64em) {
  .hero { min-height: min(100svh, 58rem); display: flex; align-items: center; overflow: visible; z-index: 2; }
  .hero__stage { position: absolute; inset: 0 0 0 auto; width: 60%; }
  .hero__photo { height: 100%; }
  .hero__photo::after {
    background:
      linear-gradient(90deg, var(--ink) 0%, rgba(23, 18, 15, 0.76) 14%, rgba(23, 18, 15, 0.18) 40%, rgba(23, 18, 15, 0) 60%),
      linear-gradient(to bottom, rgba(14, 11, 9, 0.45) 0%, rgba(14, 11, 9, 0) 20%),
      linear-gradient(to top, rgba(23, 18, 15, 0.5) 0%, rgba(23, 18, 15, 0) 30%);
  }
  .hero__inset {
    display: block;
    position: absolute;
    z-index: 4;
    left: -3.5rem;
    bottom: 2.5rem;
    width: clamp(10rem, 13vw, 13.5rem);
    aspect-ratio: 4 / 5;
    border-radius: var(--r-arch);
    border: 6px solid var(--ink);
    box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.75);
    z-index: 3;
  }
  .hero__trace { left: 34%; top: 0; width: 66%; height: 100%; opacity: 0.8; }
  .hero__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: inherit;
    margin-top: 0;
    padding-top: calc(var(--header-h) + 3rem);
    padding-bottom: 4.5rem;
  }
  .hero__content { max-width: 34rem; }
  .hero__next { position: absolute; right: var(--gutter); bottom: 2rem; margin: 0; max-width: 22rem; background: rgba(14, 11, 9, 0.8); }
}
@media (min-width: 64em) and (max-height: 44em) {
  .hero__title { font-size: clamp(3.5rem, 12vh, 7rem); }
}
@media (prefers-reduced-motion: no-preference) {
  .js .hero__trace path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s var(--ease-out) 0.4s forwards; }
  .js .hero__trace .trace__echo { animation-delay: 0.7s; }
  .js .hero__trace .trace__dot { opacity: 0; animation: fade 0.6s ease 2.2s forwards; }
  .js .hero__photo img { animation: settle 2.6s var(--ease-out) both; }
  .js .hero__inset { animation: rise 1s var(--ease-out) 0.9s both; }
  .js .hero__content > * { animation: rise 0.9s var(--ease-out) both; }
  .js .hero__content > :nth-child(1) { animation-delay: 0.1s; }
  .js .hero__content > :nth-child(2) { animation-delay: 0.22s; }
  .js .hero__content > :nth-child(3) { animation-delay: 0.36s; }
  .js .hero__content > :nth-child(4) { animation-delay: 0.5s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes settle { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes fade { to { opacity: 1; } }

/* ---------- Bandeaux des pages intérieures ----------------------------- */
.page-hero {
  position: relative;
  isolation: isolate;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}
.page-hero__trace { left: 0; bottom: 0; width: 100%; height: 70%; z-index: 1; opacity: 0.55; }
.page-hero__grid { position: relative; display: grid; }
.page-hero__text { position: relative; z-index: 2; padding-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.page-hero h1 { font-size: var(--fs-page); font-weight: 850; line-height: 0.86; margin: 0 0 0.9rem; }
.page-hero .lead { color: rgba(255, 255, 255, 0.86); margin: 0; }
.page-hero__meta { margin: 1.1rem 0 0; font-weight: 700; color: var(--peach); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }

/* Mobile : la photo occupe le haut de l'écran, le titre la chevauche */
.page-hero__visual { order: -1; position: relative; margin-inline: calc(var(--gutter) * -1); }
.page-hero--split .page-hero__photo { height: clamp(15rem, 42svh, 22rem); }
.page-hero--split .page-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(14, 11, 9, 0.55) 0%, rgba(14, 11, 9, 0) 30%),
    linear-gradient(to top, var(--ink) 2%, rgba(23, 18, 15, 0) 55%);
  pointer-events: none;
}
.page-hero--split .page-hero__text { margin-top: -3.25rem; }

.page-hero--arch .page-hero__visual { margin: 0; padding: calc(var(--header-h) + 1.25rem) 0 1.5rem; display: flex; align-items: flex-end; gap: 0; }
.page-hero__arch { width: 62%; aspect-ratio: 4 / 5; border-radius: var(--r-arch); }
.page-hero__second { width: 42%; aspect-ratio: 1; margin-left: -8%; margin-bottom: -0.5rem; border-radius: var(--r-md); border: 5px solid var(--dark); }

.page-hero--collage .page-hero__visual { margin: 0; padding: calc(var(--header-h) + 1rem) 0 1.5rem; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: 0.6rem; }
.page-hero__tile { border-radius: var(--r-md); }
.page-hero__tile--1 { grid-row: span 2; aspect-ratio: 3 / 4.2; border-radius: var(--r-arch); }
.page-hero__tile--2, .page-hero__tile--3 { aspect-ratio: 1; }

.page-hero--plain .page-hero__text { padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.page-hero--plain h1 { font-size: clamp(2.8rem, 2rem + 3.6vw, 5rem); }

@media (min-width: 64em) {
  .page-hero__grid { grid-template-columns: 5fr 6fr; align-items: center; min-height: clamp(30rem, 70svh, 40rem); gap: 3rem; }
  .page-hero__text { padding: calc(var(--header-h) + 3rem) 0 3.5rem; }
  .page-hero__visual { order: 0; margin: 0; }
  .page-hero--split .page-hero__text { margin-top: 0; }
  .page-hero--split .page-hero__visual { position: absolute; inset: 0 calc((100vw - 100%) / -2) 0 auto; width: calc(55% + (100vw - 100%) / 2); }
  .page-hero--split .page-hero__photo { height: 100%; }
  .page-hero--split .page-hero__visual::after {
    background:
      linear-gradient(90deg, var(--ink) 0%, rgba(23, 18, 15, 0.5) 18%, rgba(23, 18, 15, 0) 48%),
      linear-gradient(to bottom, rgba(14, 11, 9, 0.5) 0%, rgba(14, 11, 9, 0) 22%);
  }
  .page-hero--split .page-hero__text { max-width: 30rem; }
  .page-hero--arch .page-hero__visual { padding: calc(var(--header-h) + 2.5rem) 0 3rem; justify-content: flex-end; }
  .page-hero__arch { width: min(24rem, 60%); }
  .page-hero__second { width: min(15rem, 38%); margin-left: -4rem; margin-bottom: -1.5rem; border-width: 7px; }
  .page-hero--collage .page-hero__visual { padding: calc(var(--header-h) + 2rem) 0 2.5rem; gap: 0.85rem; }
  .page-hero--plain .page-hero__grid { min-height: 0; grid-template-columns: 1fr; }
  .page-hero--plain .page-hero__text { padding: calc(var(--header-h) + 4rem) 0 3.5rem; }
}

/* Bandeau photo pleine largeur (appel à l'action) */
.photo-band {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(26rem, 70svh, 38rem);
  padding-block: clamp(3rem, 8vw, 5rem);
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}
.photo-band__photo { position: absolute; inset: 0; z-index: -2; }
.photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(14, 11, 9, 0.94) 0%, rgba(14, 11, 9, 0.5) 45%, rgba(14, 11, 9, 0.12) 100%);
}
.photo-band__trace { inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.6; }
.photo-band__inner { position: relative; z-index: 1; }
.photo-band h2 { font-size: clamp(2.6rem, 1.8rem + 3.4vw, 5rem); max-width: 14ch; margin-bottom: 0.6rem; }
.photo-band p { max-width: 32rem; color: rgba(255, 255, 255, 0.88); font-size: var(--fs-lead); }
.photo-band__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
@media (min-width: 56em) {
  .photo-band { align-items: center; }
  .photo-band::after { background: linear-gradient(90deg, rgba(14, 11, 9, 0.93) 0%, rgba(14, 11, 9, 0.55) 38%, rgba(14, 11, 9, 0.04) 70%); }
}

/* ---------- 8. Accueil ------------------------------------------------- */
/* Présentation du club : composition éditoriale */
.intro__grid { display: grid; gap: 2.5rem; }
.intro__text h2 { max-width: 13ch; }
.intro__lead { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem); line-height: 1.4; color: var(--text); max-width: 34rem; }
.intro__text p:not(.intro__lead) { color: var(--muted); max-width: 36rem; }
.intro__facts { font-weight: 700; color: var(--primary) !important; }
.intro__visual { position: relative; display: grid; grid-template-columns: 1fr 0.62fr; align-items: end; max-width: 30rem; }
.intro__main { aspect-ratio: 4 / 5; border-radius: var(--r-arch); }
.intro__detail { aspect-ratio: 1; margin-left: -28%; margin-bottom: -1.25rem; border-radius: var(--r-md); border: 6px solid var(--light); }
.intro__trace { right: -1rem; top: -1.5rem; width: 55%; height: 80%; opacity: 0.8; }
.intro__trace path { stroke: var(--ink); }
.intro__trace .trace__dot { fill: var(--accent); }
.intro__wide { display: none; }
.intro__statement {
  margin: 0.5rem 0 0;
  -webkit-text-stroke: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 1.5rem + 4vw, 5.5rem);
  line-height: 0.9;
  color: var(--primary);
  max-width: 12ch;
}
@media (min-width: 56em) {
  .intro__grid { grid-template-columns: 6fr 5fr; grid-template-areas: "text visual" "wide visual" "statement statement"; gap: 3rem 5rem; align-items: start; }
  .intro__text { grid-area: text; }
  .intro__visual { grid-area: visual; justify-self: end; width: 100%; margin-top: 1rem; }
  .intro__wide { grid-area: wide; display: block; }
  .intro__wide-photo { aspect-ratio: 16 / 10; border-radius: var(--r-md); }
  .intro__statement { grid-area: statement; justify-self: end; text-align: right; margin-top: 1rem; }
}

/* Aperçu des groupes */
.group-tiles {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(80%, 19rem);
  gap: 0.85rem;
  margin-inline: calc(var(--gutter) * -1);
  padding: 0.25rem var(--gutter) 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.group-tiles::-webkit-scrollbar { display: none; }
.group-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  scroll-snap-align: start;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
  background: var(--dark);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.group-tile .media { position: absolute; inset: 0; z-index: -2; }
.group-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(14, 11, 9, 0.95) 0%, rgba(14, 11, 9, 0.5) 38%, rgba(14, 11, 9, 0) 65%);
  transition: opacity 0.4s;
}
.group-tile__body { display: block; padding: 1.25rem 1.25rem 1.35rem; }
.group-tile__age { display: inline-block; margin-bottom: 0.55rem; padding: 0.2rem 0.65rem; border-radius: var(--r-pill); background: var(--peach); color: var(--ink); font-size: 0.875rem; font-weight: 700; }
.group-tile__name { display: block; font-family: var(--font-display); font-weight: 760; font-size: clamp(2.2rem, 1.9rem + 1.2vw, 2.8rem); line-height: 1; margin: 0 0 0.3rem; }
.group-tile__slot { display: block; margin: 0; font-weight: 700; font-size: var(--fs-small); color: rgba(255, 255, 255, 0.92); }
.group-tile__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease-out); }
.group-tile__more > span { overflow: hidden; color: var(--on-dark-muted); font-size: var(--fs-small); }
.group-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.group-tile:hover .media > img { transform: scale(1.06); }
.group-tile:hover .group-tile__more, .group-tile:focus-visible .group-tile__more { grid-template-rows: 1fr; }
.group-tile:hover .group-tile__more > span { padding-top: 0.5rem; }
.group-tile--all { justify-content: center; align-items: flex-start; padding: 1.5rem; background: var(--ink); }
.group-tile--all::after { display: none; }
.group-tile--all strong { font-family: var(--font-display); font-size: 2.4rem; line-height: 0.95; }
.group-tile--all span { margin-top: 0.75rem; color: var(--on-dark-muted); }
@media (min-width: 48em) {
  .group-tiles { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; overflow: visible; gap: 1.25rem; }
  .group-tile--all { display: none; }
}
@media (min-width: 64em) {
  .group-tiles { gap: 1.5rem; padding-bottom: 3rem; }
  .group-tile:nth-child(3n + 2) { transform: translateY(3rem); }
  .group-tile:nth-child(3n + 2):hover { transform: translateY(calc(3rem - 6px)); }
}

/* Temps fort : bandeau photo du gala */
.stage-band {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(30rem, 88svh, 46rem);
  padding-block: clamp(3rem, 8vw, 5.5rem);
  background: var(--stage);
  color: #fff;
  overflow: hidden;
}
.stage-band__photo { position: absolute; inset: 0; z-index: -2; }
.stage-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 70% 30%, rgba(248, 223, 198, 0.14), transparent 70%),
    linear-gradient(to top, rgba(14, 11, 9, 0.95) 0%, rgba(14, 11, 9, 0.45) 45%, rgba(14, 11, 9, 0.08) 100%);
}
.stage-band__trace { inset: 0; width: 100%; height: 100%; opacity: 0.7; }
.stage-band__inner { position: relative; z-index: 1; }
.stage-band__type { margin: 0 0 1rem; }
.stage-band h2 { font-size: clamp(3rem, 1.8rem + 5.4vw, 7.5rem); font-weight: 850; line-height: 0.85; max-width: 11ch; margin-bottom: 1rem; }
.stage-band__when { margin: 0 0 0.75rem; font-family: var(--font-display); font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.4rem); font-weight: 700; line-height: 1.05; color: var(--peach); }
.stage-band__desc { max-width: 32rem; color: rgba(255, 255, 255, 0.88); }
.stage-band__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }

/* ---------- 9. Agenda et événements ----------------------------------- */
.agenda-rows { display: grid; }
.agenda-row {
  position: relative;
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.25rem 1.1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}
.agenda-row:last-child { border-bottom: 1px solid var(--line); }
.agenda-row__date { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; color: var(--ink); }
.agenda-row__day { font-family: var(--font-display); font-weight: 850; font-size: 3.6rem; line-height: 0.82; letter-spacing: -0.02em; }
.agenda-row__month { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; margin-top: 0.2rem; }
.agenda-row__weekday { font-size: var(--fs-xs); font-weight: 700; color: var(--muted); margin-top: 0.3rem; }
.agenda-row__body { min-width: 0; }
.agenda-row__body .tag { margin-bottom: 0.5rem; }
.agenda-row h3 { font-size: clamp(1.8rem, 1.5rem + 1.1vw, 2.5rem); margin: 0 0 0.5rem; }
.agenda-row p { color: var(--muted); margin-bottom: 0; max-width: 40rem; }
.agenda-row__side { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 0.85rem; }
.agenda-row__thumb { display: none; }
.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  margin: 0 0 0.6rem;
  padding: 0;
  list-style: none;
  font-size: var(--fs-small);
  font-weight: 700;
}
.event-meta li { display: inline-flex; align-items: center; gap: 0.4rem; }
.event-meta svg { width: 1rem; height: 1rem; flex: none; color: var(--accent); }
.theme-dark .event-meta svg { color: var(--peach); }
@media (min-width: 48em) {
  .agenda-row { grid-template-columns: 7rem 1fr auto; align-items: start; gap: 1.5rem 2rem; padding: 2rem 0; }
  .agenda-row__day { font-size: 5.2rem; }
  .agenda-row__month { font-size: 1.75rem; }
  .agenda-row__side { grid-column: 3; flex-direction: column; align-items: flex-end; margin-top: 0; }
  .agenda-row__thumb { display: block; width: 13rem; aspect-ratio: 4 / 3; border-radius: var(--r-md); }
  .agenda-row:hover .agenda-row__thumb img { transform: scale(1.05); }
}

.agenda-month { display: flex; align-items: baseline; gap: 1rem; margin: 3.5rem 0 0.5rem; font-size: clamp(1.7rem, 1.45rem + 1vw, 2.3rem); color: var(--muted); }
.agenda-month:first-child { margin-top: 0; }

.next-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.1rem 1rem;
  align-items: center;
  max-width: 26rem;
  margin-top: 1.5rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-dark);
  color: #fff;
  text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s;
}
.next-card:hover { border-color: var(--peach); background: rgba(248, 223, 198, 0.12); }
.next-card__date { grid-row: span 3; font-family: var(--font-display); font-size: 3rem; font-weight: 850; line-height: 0.8; color: var(--peach); text-align: center; }
.next-card__date small { display: block; font-size: 1.05rem; font-weight: 700; margin-top: 0.2rem; }
.next-card__label { font-size: var(--fs-xs); font-weight: 700; color: var(--on-dark-muted); }
.next-card strong { line-height: 1.2; }
.next-card__when { font-size: var(--fs-small); color: var(--on-dark-muted); }

.highlight-card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(26rem, 60svh, 34rem);
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--stage);
  color: #fff;
  --focus: var(--secondary);
}
.highlight-card__photo { position: absolute; inset: 0; z-index: -2; }
.highlight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(14, 11, 9, 0.94) 0%, rgba(14, 11, 9, 0.5) 45%, rgba(14, 11, 9, 0.04) 100%);
}
.highlight-card__label { margin: 0 0 0.9rem; }
.highlight-card h2 { font-size: clamp(2.6rem, 1.8rem + 3.4vw, 5.25rem); font-weight: 850; line-height: 0.86; margin-bottom: 0.7rem; }
.highlight-card__when { margin: 0 0 0.6rem; font-family: var(--font-display); font-size: clamp(1.5rem, 1.25rem + 1vw, 2.1rem); font-weight: 700; line-height: 1.05; color: var(--peach); }
.highlight-card p { max-width: 34rem; color: rgba(255, 255, 255, 0.88); }
.highlight-card .btn { margin-top: 1.1rem; }
@media (min-width: 56em) {
  .highlight-card::after { background: linear-gradient(90deg, rgba(14, 11, 9, 0.93) 0%, rgba(14, 11, 9, 0.55) 40%, rgba(14, 11, 9, 0) 72%); }
  .highlight-card { align-items: center; }
  .highlight-card__body { max-width: 34rem; }
}

.history { margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.history summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4rem;
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.55rem + 1vw, 2.4rem);
  font-weight: 760;
}
.history summary::-webkit-details-marker { display: none; }
.history__count { display: inline-grid; place-items: center; min-width: 2rem; height: 2rem; padding: 0 0.5rem; border-radius: var(--r-pill); background: var(--tint); font-family: var(--font-body); font-size: var(--fs-small); color: var(--ink); }
.history summary::after {
  content: "";
  margin-left: auto;
  width: 0.8rem; height: 0.8rem;
  border-right: 2.5px solid var(--primary);
  border-bottom: 2.5px solid var(--primary);
  transform: rotate(45deg) translateY(-25%);
  transition: transform 0.35s var(--ease-out);
}
.history[open] summary::after { transform: rotate(-135deg); }
.history__list { display: grid; margin: 0; padding: 0 0 1rem; list-style: none; }
.history__item { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.history__date { font-weight: 700; color: var(--muted); font-size: var(--fs-small); }
.history__item h3 { font-size: 1.5rem; margin: 0 0 0.2rem; }
.history__item p { margin: 0; color: var(--muted); font-size: var(--fs-small); }
.history__item .text-link { margin-top: 0.4rem; font-size: var(--fs-small); }

/* ---------- 10. Actualités -------------------------------------------- */
.news-card { position: relative; }
.news-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.news-card__media { aspect-ratio: 3 / 2; border-radius: var(--r-md); margin-bottom: 1rem; }
.news-card__body { display: flex; flex-direction: column; flex: 1; }
.news-card time { display: block; margin-bottom: 0.35rem; font-size: var(--fs-xs); font-weight: 700; color: var(--muted); }
.news-card h3 { font-size: clamp(1.7rem, 1.5rem + 0.6vw, 2rem); margin-bottom: 0.5rem; transition: color 0.2s; }
.news-card p { color: var(--muted); font-size: var(--fs-small); margin: 0; }
.news-card__link:hover .media > img { transform: scale(1.05); }
.news-card__link:hover h3 { color: var(--accent); }
.news-card__more { display: block; margin-top: 0.9rem; font-weight: 700; font-size: var(--fs-small); color: var(--accent); }
.news-card--row .news-card__link { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; align-items: start; }
.news-card--row .news-card__media { aspect-ratio: 1; margin: 0; border-radius: var(--r-sm); }
.news-card--row h3 { font-size: 1.5rem; }
.news-card--row p { display: none; }
.news-card--lead h3 { font-size: clamp(2.1rem, 1.7rem + 1.8vw, 3.2rem); }
.news-card--lead p { font-size: var(--fs-body); }
.news-card--lead .news-card__media { aspect-ratio: 16 / 10; border-radius: var(--r-lg); }

.news-trio { display: grid; gap: 2rem; }
.news-trio__side { display: grid; gap: 1.25rem; align-content: start; }
@media (min-width: 56em) {
  .news-trio { grid-template-columns: 7fr 5fr; gap: 3rem; }
  .news-trio__side { gap: 0; }
  .news-trio__side .news-card { padding: 1.5rem 0; border-top: 1px solid var(--line); }
  .news-trio__side .news-card:first-child { border-top: 0; padding-top: 0; }
  .news-card--row .news-card__link { grid-template-columns: 9.5rem 1fr; gap: 1.25rem; }
  .news-card--row .news-card__media { aspect-ratio: 4 / 3.4; }
  .news-card--row h3 { font-size: 1.75rem; }
  .news-card--row p { display: block; }
}

.news-grid { display: grid; gap: 2.5rem 1.75rem; }
@media (min-width: 40em) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64em) { .news-grid { grid-template-columns: repeat(3, 1fr); } }

.news-feature {
  display: grid;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  --focus: var(--peach);
}
.news-feature__media { aspect-ratio: 16 / 10; }
.news-feature__body { position: relative; padding: clamp(1.5rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.news-feature__label { display: inline-block; margin-bottom: 1rem; align-self: flex-start; }
.news-feature time { font-size: var(--fs-small); font-weight: 700; color: var(--on-dark-muted); }
.news-feature h2 { font-size: clamp(2.3rem, 1.7rem + 2.6vw, 3.9rem); margin: 0.4rem 0 1rem; }
.news-feature p { color: var(--on-dark-muted); font-size: var(--fs-lead); }
.news-feature .text-link { margin-top: 1.25rem; align-self: flex-start; color: #fff; }
.news-feature:hover .media > img { transform: scale(1.04); }
@media (min-width: 56em) {
  .news-feature { grid-template-columns: 7fr 5fr; }
  .news-feature__media { aspect-ratio: auto; min-height: 28rem; }
}

.article__head { padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)); padding-bottom: 2rem; }
.article__back { margin-bottom: 2rem; }
.article time { display: block; font-weight: 700; font-size: var(--fs-small); color: var(--muted); }
.article h1 { font-size: clamp(2.8rem, 1.9rem + 4vw, 5.25rem); margin: 0.5rem 0 1rem; }
.article__excerpt { font-size: var(--fs-lead); color: var(--muted); }
.article__media { aspect-ratio: 16 / 9; border-radius: var(--r-lg); }
.article__media-wrap { max-width: calc(64rem + var(--gutter) * 2); }
.article__body { padding-block: clamp(2.5rem, 5vw, 3.5rem) var(--section-y); font-size: 1.125rem; line-height: 1.75; }
.article__body p { margin-bottom: 1.35em; }
.article__body p:first-child::first-letter { font-family: var(--font-display); font-weight: 850; float: left; font-size: 4.2em; line-height: 0.78; margin: 0.08em 0.1em 0 0; color: var(--accent); }

/* ---------- 11. Services en ligne et partenaires ----------------------- */
.services { display: grid; gap: 1rem; }
.service-feature {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 24rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--r-lg);
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: var(--ink);
}
.service-feature .media { position: absolute; inset: 0; z-index: -2; }
.service-feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(14, 11, 9, 0.94) 5%, rgba(14, 11, 9, 0.35) 55%, rgba(14, 11, 9, 0.08) 100%); }
.service-feature__label { display: inline-block; margin-bottom: 0.9rem; }
.service-feature h3 { font-size: clamp(2.5rem, 2rem + 2vw, 3.75rem); font-weight: 850; margin-bottom: 0.5rem; }
.service-feature p { max-width: 28rem; color: rgba(255, 255, 255, 0.88); }
.service-feature__cta { margin-top: 1.25rem; }
.service-feature:hover .media > img { transform: scale(1.05); }
.service-feature:hover .btn { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.service-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.service-row {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: 5rem;
  padding: 1rem 0.25rem;
  border-bottom: 1px solid var(--line-dark);
  color: inherit;
  text-decoration: none;
  transition: background-color 0.25s, padding 0.35s var(--ease-out);
}
.service-row:hover { background: rgba(255, 255, 255, 0.04); padding-left: 0.75rem; }
.service-row__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: rgba(248, 223, 198, 0.16); color: var(--peach); }
.service-row__icon svg { width: 1.35rem; height: 1.35rem; }
.service-row strong { display: block; font-family: var(--font-display); font-size: 1.75rem; font-weight: 760; line-height: 1; }
.service-row small { display: block; margin-top: 0.25rem; color: var(--on-dark-muted); font-size: var(--fs-small); line-height: 1.4; }
.service-row > .icon-ext { width: 1.1rem; height: 1.1rem; color: var(--on-dark-muted); }
.service-row--pulse { margin-top: 1rem; border: 1px solid var(--line-dark); border-radius: var(--r-md); padding-inline: 1rem; }
.service-row--pulse:hover { padding-left: 1.25rem; }
@media (min-width: 56em) {
  .services { grid-template-columns: 7fr 5fr; gap: 3rem; align-items: stretch; }
  .service-feature { min-height: 30rem; }
}

.logo-wall { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.logo-tile {
  display: grid;
  place-items: center;
  height: 6.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  text-decoration: none;
  transition: box-shadow 0.3s, transform 0.3s var(--ease-out);
}
.logo-tile img { max-height: 4.25rem; width: auto; filter: grayscale(1); opacity: 0.72; transition: filter 0.35s, opacity 0.35s; }
.logo-tile:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--ink); }
.logo-tile:hover img { filter: none; opacity: 1; }
@media (min-width: 40em) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 64em) { .logo-wall { grid-template-columns: repeat(6, 1fr); } .logo-tile { height: 7.5rem; } }

.partners-main { display: grid; gap: 1.25rem; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.partner-main {
  display: grid;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.35s, transform 0.35s var(--ease-out);
}
a.partner-main:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--primary), var(--shadow-lift); }
.partner-main__logo { position: relative; display: grid; place-items: center; min-height: 12rem; padding: 2rem; background: radial-gradient(80% 90% at 50% 100%, var(--glow), transparent 70%), var(--tint); }
.partner-main__logo img { max-height: 8rem; width: auto; }
.partner-main__body { padding: clamp(1.5rem, 3.5vw, 2.25rem); }
.partner-main__body .tag { margin-bottom: 0.8rem; }
.partner-main h3 { font-size: clamp(2.2rem, 1.9rem + 1.4vw, 3rem); margin-bottom: 0.2rem; }
.partner-main__cat { color: var(--muted); font-weight: 700; margin-bottom: 0.75rem; }
.partner-main__desc { color: var(--text); }
@media (min-width: 48em) { .partner-main { grid-template-columns: 5fr 6fr; } }
@media (min-width: 64em) { .partners-main { grid-template-columns: 1fr 1fr; } .partner-main { grid-template-columns: 1fr; } }

.partners-sub { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.25rem; font-size: clamp(1.7rem, 1.5rem + 0.8vw, 2.2rem); }
.partners-sub::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.partners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: 1rem; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.partner-card { display: flex; flex-direction: column; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; text-decoration: none; color: inherit; transition: transform 0.35s var(--ease-out), box-shadow 0.35s; }
a.partner-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--primary), var(--shadow-lift); }
.partner-card__logo { display: grid; place-items: center; height: 8rem; padding: 1.25rem; background: var(--tint); }
.partner-card__logo img { max-height: 4.5rem; width: auto; }
.partner-card__body { padding: 0.9rem 1.1rem 1.1rem; }
.partner-card h3 { font-size: 1.55rem; margin: 0 0 0.15rem; }
.partner-card__cat { font-size: var(--fs-small); color: var(--muted); margin: 0; }
.partner-link { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.6rem; font-weight: 700; font-size: var(--fs-small); color: var(--primary); }
.support-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: 0.25rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.support-list li { padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.support-list small { display: block; font-weight: 400; color: var(--muted); }

.become { position: relative; display: grid; background: var(--dark); color: #fff; }
.become__photo { aspect-ratio: 16 / 10; height: 100%; }
.become__inner { padding: clamp(2.5rem, 7vw, 5rem) var(--gutter); max-width: 44rem; }
.become h2 { font-size: clamp(2.6rem, 1.9rem + 3vw, 4.5rem); }
.reasons { display: grid; gap: 1.25rem; margin: 2rem 0; padding: 0; list-style: none; }
.reasons li { padding-top: 1rem; border-top: 1px solid var(--line-dark); }
.reasons h3 { font-size: 1.65rem; margin: 0 0 0.3rem; color: #fff; }
.reasons p { margin: 0; color: var(--on-dark-muted); }
@media (min-width: 56em) {
  .become { grid-template-columns: 1fr 1fr; }
  .become__photo { aspect-ratio: auto; min-height: 100%; }
  .become__inner { padding-left: clamp(2.5rem, 5vw, 5rem); }
}

/* ---------- 12. Club, groupes, planning -------------------------------- */
.club-about__grid { display: grid; gap: 2rem 4rem; }
.club-about__lead { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); line-height: 1.02; color: var(--ink); max-width: 20ch; margin-top: 1rem; }
.club-about__cols p { color: var(--muted); max-width: 38rem; }
.club-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1rem; }
.club-strip__a { grid-column: 1 / -1; aspect-ratio: 16 / 9; border-radius: var(--r-md); }
.club-strip__b { aspect-ratio: 3 / 4; border-radius: var(--r-arch); }
.club-strip__c { aspect-ratio: 3 / 4; border-radius: var(--r-md); margin-top: 2rem; }
@media (min-width: 56em) {
  .club-about__grid { grid-template-columns: 5fr 6fr; }
  .club-about__cols { padding-top: 5.5rem; }
  .club-strip { grid-column: 1 / -1; grid-template-columns: 5fr 3fr 3.4fr; align-items: end; gap: 1.25rem; margin-top: 2rem; }
  .club-strip__a { grid-column: auto; aspect-ratio: 4 / 3; }
  .club-strip__b { aspect-ratio: 3 / 4.4; }
  .club-strip__c { aspect-ratio: 1; margin: 0 0 3rem; }
}

.story { position: relative; display: grid; gap: 2.5rem; margin: 0; padding: 0 0 0 1.75rem; list-style: none; counter-reset: story; }
.story::before { content: ""; position: absolute; left: 0.35rem; top: 0.5rem; bottom: 0.5rem; width: 1.5px; background: linear-gradient(var(--peach), rgba(248, 223, 198, 0.15)); }
.story__trace { display: none; }
.story__step { position: relative; counter-increment: story; }
.story__step::before { content: ""; position: absolute; left: -1.75rem; top: 0.35rem; width: 0.85rem; height: 0.85rem; border-radius: 50%; background: var(--peach); box-shadow: 0 0 0 5px var(--ink); }
.story__photo { aspect-ratio: 16 / 10; border-radius: var(--r-md); margin-bottom: 1rem; }
.story__step h3 { font-size: 1.9rem; margin-bottom: 0.35rem; }
.story__step h3::before { content: counter(story) ". "; color: var(--peach); }
.story__step p { color: var(--on-dark-muted); margin: 0; }
@media (min-width: 56em) {
  .story { grid-template-columns: repeat(4, 1fr); gap: 1.75rem; padding: 3.5rem 0 0; }
  .story::before { display: none; }
  .story__trace { display: block; left: 0; right: 0; top: 0; width: 100%; height: 3rem; }
  .story__step::before { left: 0; top: -2.6rem; }
  .story__step:nth-child(even) { margin-top: 2.5rem; }
  .story__photo { aspect-ratio: 4 / 5; }
}

.club-values__grid { display: grid; gap: 2.5rem 5rem; align-items: start; }
.club-values__photo { aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
.values { margin: 1.5rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.values li { display: grid; gap: 0.35rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.values h3 { font-size: clamp(2rem, 1.7rem + 1.4vw, 3rem); margin: 0; transition: color 0.3s; }
.values li:hover h3 { color: var(--accent); }
.values p { margin: 0; color: var(--muted); max-width: 34rem; }
@media (min-width: 56em) {
  .club-values__grid { grid-template-columns: 5fr 6fr; }
  .club-values__visual { position: sticky; top: calc(var(--header-h) + 2rem); }
  .club-values__photo { aspect-ratio: 4 / 5; border-radius: var(--r-arch); }
}

.team-grid { display: grid; gap: 1.25rem; }
.team-card {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 0.85rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.team-card__media { aspect-ratio: 3 / 4; border-radius: var(--r-arch); }
.team-card__initial { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 3.4rem; font-weight: 850; color: var(--ink); }
/* Fiche sans portrait : pastille à l'initiale, en attendant la photo du club */
.team-card--plain { grid-template-columns: 4.75rem 1fr; align-items: center; gap: 1rem; }
.team-card--plain .team-card__media { aspect-ratio: 1; border-radius: 50%; background: var(--peach); }
.team-card--plain .team-card__body { padding: 0; }
.team-card--plain h3 { font-size: 2rem; }
.team-card__body { padding: 0.35rem 0.25rem 0.25rem 0; min-width: 0; }
.team-card h3 { font-size: clamp(2.1rem, 1.8rem + 1.4vw, 3rem); margin: 0 0 0.25rem; }
.team-card__role { font-weight: 700; color: var(--accent); margin: 0 0 0.5rem; line-height: 1.35; font-size: var(--fs-small); }
.team-card__bio { color: var(--muted); font-size: var(--fs-small); margin: 0 0 0.75rem; }
.team-card__groups { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; list-style: none; }
.team-card__groups a { display: inline-block; padding: 0.2rem 0.65rem; border-radius: var(--r-pill); background: var(--tint); color: var(--ink); font-size: var(--fs-xs); font-weight: 700; text-decoration: none; transition: background-color 0.2s, color 0.2s; }
.team-card__groups a:hover { background: var(--ink); color: var(--peach); }
.team-card:hover .media > img { transform: scale(1.05); }
@media (max-width: 26em) { .team-card__bio { display: none; } }
@media (min-width: 56em) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .team-card { grid-template-columns: 42% 1fr; gap: 1.75rem; padding: 1rem; }
  .team-card--plain { grid-template-columns: 5.5rem 1fr; gap: 1.25rem; }
  .team-card--plain .team-card__body { padding-top: 0; }
  .team-card__body { padding-top: 1.25rem; }
}

.life-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 9rem; gap: 0.6rem; }
.life-item { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; }
.life-item .media { position: absolute; inset: 0; }
.life-item:first-child { grid-column: span 2; grid-row: span 2; }
.life-item:hover .media > img { transform: scale(1.05); }
@media (min-width: 48em) {
  .life-mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 12rem; gap: 0.85rem; }
  .life-item:nth-child(4) { grid-row: span 2; }
}
@media (min-width: 64em) { .life-mosaic { grid-auto-rows: 14rem; } }

/* Barre de filtres collante */
.filter-bar {
  position: sticky;
  top: calc(3.75rem - 1px);
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin: 0 calc(var(--gutter) * -1) 1.5rem;
  padding: 0.75rem var(--gutter);
  background: rgba(251, 243, 237, 0.96);
  box-shadow: 0 1px 0 var(--line);
}
.filter-bar .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: -0.25rem; padding: 0.25rem; }
.filter-bar .chips::-webkit-scrollbar { display: none; }
.filter-bar .chip { white-space: nowrap; }
@media (max-width: 34em) { .filter-bar .results-count { display: none; } }

/* Fiches groupes : lecture en quelques secondes */
.groups-grid { display: grid; gap: 0.9rem; }
.group-card {
  display: grid;
  grid-template-columns: 7.25rem 1fr;
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
  scroll-margin-top: calc(var(--header-h) + 5rem);
  transition: box-shadow 0.35s, transform 0.35s var(--ease-out);
}
.group-card.is-target { animation: target 2s var(--ease-out); }
@keyframes target { 0%, 40% { box-shadow: inset 0 0 0 3px var(--accent); } 100% { box-shadow: inset 0 0 0 1px var(--line); } }
.group-card__media { position: relative; min-height: 100%; }
.group-card__age { display: none; position: absolute; left: 0.5rem; bottom: 0.5rem; padding: 0.15rem 0.5rem; border-radius: var(--r-pill); background: var(--peach); color: var(--ink); font-size: var(--fs-xs); font-weight: 700; line-height: 1.4; white-space: nowrap; }
.group-card__body { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.9rem 1rem 1rem; min-width: 0; }
.group-card__cat { margin: 0; font-size: var(--fs-xs); font-weight: 700; color: var(--muted); }
.group-card__age-inline { color: var(--ink); }
.group-card__name { font-size: 2rem; margin: 0; line-height: 0.95; }
.group-card__desc { display: none; margin: 0; color: var(--muted); font-size: var(--fs-small); }
.group-card__slot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.5rem; margin: 0; padding: 0.45rem 0.7rem; border-radius: var(--r-sm); background: var(--tint); font-family: var(--font-display); line-height: 1.05; }
.group-card__day { font-size: 1.45rem; font-weight: 800; color: var(--accent); }
.group-card__time { font-size: 1.45rem; font-weight: 600; }
.group-card__facts { display: grid; gap: 0.2rem; margin: 0; padding: 0; list-style: none; font-size: var(--fs-small); }
.group-card__facts li { display: flex; align-items: center; gap: 0.45rem; min-width: 0; }
.group-card__facts svg { width: 1rem; height: 1rem; flex: none; color: var(--muted); }
.group-card__facts strong { font-weight: 700; }
@media (min-width: 30em) {
  .group-card__age-inline { display: none; }
  .group-card { grid-template-columns: 1fr; }
  .group-card__media { aspect-ratio: 16 / 10; min-height: 0; }
  .group-card__age { display: block; left: 1rem; bottom: 1rem; padding: 0.25rem 0.75rem; font-size: 0.9375rem; }
  .group-card__body { padding: 1.15rem 1.25rem 1.35rem; gap: 0.65rem; }
  .group-card__name { font-size: clamp(2.2rem, 1.9rem + 1.2vw, 2.8rem); }
  .group-card__desc { display: block; }
  .group-card__slot { padding: 0.6rem 0.85rem; border-left: 4px solid var(--accent); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
  .group-card__day, .group-card__time { font-size: 1.7rem; }
  .group-card__facts { grid-template-columns: 1fr 1fr; gap: 0.35rem 0.75rem; }
  .group-card__facts li:last-child { grid-column: 1 / -1; }
  .group-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--primary), var(--shadow-lift); }
  .group-card:hover .media > img { transform: scale(1.05); }
}
@media (min-width: 44em) { .groups-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
@media (min-width: 72em) { .groups-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.groups-grid.is-filtering .group-card:not([hidden]) { animation: rise 0.5s var(--ease-out) both; }

/* Planning de la semaine */
.planning { position: relative; overflow: hidden; }
.planning__trace { left: 0; top: 0; width: 100%; height: 11rem; opacity: 0.45; }
.week__tabs { display: flex; gap: 0.35rem; margin: 0 calc(var(--gutter) * -1) 1.25rem; padding: 0.25rem var(--gutter); overflow-x: auto; scrollbar-width: none; }
.week__tabs::-webkit-scrollbar { display: none; }
.week__tab {
  flex: 1 0 auto;
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  min-width: 3.6rem;
  min-height: 4rem;
  padding: 0.5rem 0.4rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  background: transparent;
  color: var(--on-dark);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.week__tab-day { font-family: var(--font-display); font-size: 1.45rem; font-weight: 760; line-height: 1; }
.week__tab-count { font-size: 0.75rem; font-weight: 700; color: var(--on-dark-muted); }
.week__tab:disabled { opacity: 0.35; cursor: default; }
.week__tab[aria-pressed="true"] { background: var(--peach); border-color: var(--peach); color: var(--ink); }
.week__tab[aria-pressed="true"] .week__tab-count { color: var(--ink); }
.week__tab.is-today:not([aria-pressed="true"]) { border-color: var(--peach); }
.week__day { display: none; }
.week__day.is-active { display: block; animation: rise 0.45s var(--ease-out) both; }
.week__title { display: flex; align-items: center; gap: 0.75rem; font-size: 2.3rem; margin: 0 0 0.75rem; color: #fff; }
.week__today { padding: 0.15rem 0.6rem; border-radius: var(--r-pill); background: var(--peach); color: var(--ink); font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; }
.week__slots { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.week__slot {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-dark);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s, transform 0.3s var(--ease-out);
}
.week__slot:hover { border-color: var(--peach); background: rgba(248, 223, 198, 0.1); transform: translateX(3px); }
.week__time { display: grid; font-family: var(--font-display); line-height: 1; }
.week__start { font-size: 2rem; font-weight: 850; color: var(--peach); }
.week__end { font-size: 1.05rem; font-weight: 600; color: var(--on-dark-muted); margin-top: 0.15rem; }
.week__info { min-width: 0; }
.week__name { display: block; font-family: var(--font-display); font-size: 1.65rem; font-weight: 760; line-height: 1; }
.week__details { display: block; margin-top: 0.3rem; font-size: var(--fs-small); color: var(--on-dark-muted); }
@media (min-width: 56em) {
  .week__tabs { display: none; }
  .week__days { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; }
  .week__day { display: block; padding: 1.25rem; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark); }
  .week__day.is-active { animation: none; }
  .week__day.is-today { border-color: rgba(248, 223, 198, 0.55); }
  .week__title { font-size: 2rem; color: var(--peach); }
  .week__slot { grid-template-columns: 1fr; gap: 0.5rem; padding: 0.9rem; }
  .week__time { display: flex; align-items: baseline; gap: 0.4rem; }
  .week__start { font-size: 1.8rem; }
}

.steps { display: grid; gap: 1.75rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 1.5rem 0 0; border-top: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step); display: block; margin-bottom: 0.75rem; font-family: var(--font-display); font-size: 4rem; font-weight: 850; line-height: 0.8; color: var(--peach); -webkit-text-stroke: 1.5px var(--ink); }
.steps h3 { font-size: 1.9rem; margin-bottom: 0.35rem; }
.steps p { color: var(--muted); }
@media (min-width: 56em) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }

/* ---------- 13. Galerie et visionneuse ---------------------------------- */
.gallery-page__title { font-size: clamp(2rem, 1.7rem + 1.2vw, 2.8rem); }
.albums {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(46%, 13rem);
  gap: 0.75rem;
  margin: 0 calc(var(--gutter) * -1) clamp(2.5rem, 5vw, 3.5rem);
  padding: 0.25rem var(--gutter) 0.75rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.albums::-webkit-scrollbar { display: none; }
.albums li { scroll-snap-align: start; }
.album {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0.9rem;
  border: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  background: var(--dark);
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.album .media { position: absolute; inset: 0; z-index: -2; }
.album::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(14, 11, 9, 0.9) 0%, rgba(14, 11, 9, 0.18) 60%, rgba(14, 11, 9, 0.04) 100%); }
.album::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; box-shadow: inset 0 0 0 0 var(--peach); transition: box-shadow 0.3s; pointer-events: none; }
.album strong { font-family: var(--font-display); font-size: 1.75rem; line-height: 0.95; }
.album small { margin-top: 0.3rem; font-size: var(--fs-xs); color: var(--on-dark-muted); line-height: 1.35; }
.album:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.album:hover .media > img { transform: scale(1.06); }
.album[aria-pressed="true"]::before { box-shadow: inset 0 0 0 3px var(--peach); }
.album--all { background: var(--ink); }
.album--all::after { background: radial-gradient(90% 70% at 100% 0%, rgba(248, 223, 198, 0.3), transparent 60%); }
.album--all strong { font-size: 2.1rem; }
@media (min-width: 48em) {
  .albums { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); margin-inline: 0; padding: 0; overflow: visible; }
}
.gallery-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1rem; margin-bottom: 1.25rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.gallery-head__title { margin: 0; font-size: clamp(2rem, 1.7rem + 1.2vw, 2.8rem); }

.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 9.5rem; grid-auto-flow: dense; gap: 0.5rem; }
.gallery-item {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  border-radius: var(--r-sm);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--tint);
  text-align: left;
}
.gallery-item .media { position: absolute; inset: 0; }
.gallery-item--portrait { grid-row: span 2; }
.gallery-item--large { grid-column: span 2; grid-row: span 2; }
.gallery-item__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem 0.85rem 0.7rem;
  background: linear-gradient(to top, rgba(14, 11, 9, 0.85), transparent);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.3s, transform 0.4s var(--ease-out);
}
.gallery-item:hover .gallery-item__caption, .gallery-item:focus-visible .gallery-item__caption { opacity: 1; transform: none; }
.gallery-item:hover .media > img { transform: scale(1.05); }
.gallery-item:focus-visible { outline-offset: 2px; }
@media (min-width: 40em) { .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 12rem; gap: 0.75rem; } }
@media (min-width: 64em) { .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 14rem; } }
.gallery-more { display: flex; justify-content: center; margin-top: 2rem; }
.gallery-notice { display: flex; gap: 0.85rem; align-items: flex-start; margin-top: 3rem; padding: 1.25rem 1.35rem; border-radius: var(--r-md); background: var(--tint); font-size: var(--fs-small); }
.gallery-notice svg { width: 1.4rem; height: 1.4rem; flex: none; color: var(--primary); margin-top: 0.1rem; }

.lightbox {
  width: 100vw; max-width: 100vw;
  height: 100vh; height: 100dvh;
  max-height: none;
  margin: 0; padding: 0; border: 0;
  background: var(--stage);
  color: #fff;
  --focus: var(--secondary);
}
.lightbox::backdrop { background: var(--stage); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: fade-in 0.3s ease both; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: max(0.75rem, env(safe-area-inset-top)) 1rem 0.5rem; }
.lightbox__counter { margin: 0; font-weight: 700; color: var(--on-dark-muted); font-size: var(--fs-small); }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 0.5rem; touch-action: pan-y; }
.lightbox__img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: var(--r-sm);
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 0.35s ease, transform 0.45s var(--ease-out);
}
.lightbox__img.is-loading { opacity: 0; transform: scale(0.985); }
.lightbox__fallback { display: none; padding: 2rem; color: var(--on-dark-muted); font-weight: 700; }
.lightbox.is-broken .lightbox__img { display: none; }
.lightbox.is-broken .lightbox__fallback { display: block; }
.lightbox__bottom { display: grid; justify-items: center; gap: 0.25rem; padding: 0.75rem 1rem max(1rem, env(safe-area-inset-bottom)); text-align: center; }
.lightbox__album { margin: 0; font-size: var(--fs-xs); font-weight: 700; color: var(--peach); }
.lightbox__caption { margin: 0; font-size: var(--fs-small); color: var(--on-dark); }
.lightbox__thumbs { display: none; }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 3rem; height: 3rem;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(14, 11, 9, 0.6);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.icon-btn:hover { background: var(--peach); color: var(--ink); border-color: var(--peach); }
.icon-btn svg { width: 1.3rem; height: 1.3rem; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 0.5rem; }
.lightbox__nav--next { right: 0.5rem; }
@media (min-width: 64em) {
  .lightbox__stage { padding: 0 5.5rem; }
  .lightbox__nav--prev { left: 1.5rem; }
  .lightbox__nav--next { right: 1.5rem; }
  .icon-btn { width: 3.5rem; height: 3.5rem; }
  .lightbox__thumbs { display: flex; gap: 0.4rem; margin-top: 0.6rem; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .lightbox__thumb { flex: none; width: 4rem; height: 2.75rem; padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden; background: var(--dark); opacity: 0.5; cursor: pointer; transition: opacity 0.2s, border-color 0.2s; }
  .lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .lightbox__thumb:hover { opacity: 0.85; }
  .lightbox__thumb.is-current { opacity: 1; border-color: var(--peach); }
}

/* ---------- 14. Contact ------------------------------------------------ */
.quick-actions { display: grid; gap: 0.6rem; margin: 0 0 clamp(2rem, 5vw, 3rem); padding: 0; list-style: none; }
.quick-action {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 4.25rem;
  padding: 0.75rem 1.1rem;
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text);
  text-decoration: none;
  transition: box-shadow 0.25s, transform 0.3s var(--ease-out);
}
.quick-action:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--ink), var(--shadow-lift); }
.quick-action > svg { width: 1.5rem; height: 1.5rem; color: var(--accent); flex: none; }
.quick-action span { display: grid; line-height: 1.3; min-width: 0; }
.quick-action small { color: var(--muted); overflow-wrap: anywhere; }
.quick-action--accent { background: var(--peach); box-shadow: none; }
.quick-action--accent > svg { color: var(--ink); }
.quick-action--accent small { color: rgba(23, 18, 15, 0.72); }
@media (min-width: 44em) { .quick-actions { grid-template-columns: repeat(3, 1fr); } }

.contact-layout { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 60em) { .contact-layout { grid-template-columns: 7fr 5fr; gap: 2.5rem; } }
.form-card { padding: clamp(1.35rem, 4vw, 2.75rem); border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.form-card h2 { font-size: clamp(2.2rem, 1.9rem + 1.4vw, 3.1rem); margin-bottom: 0.4rem; }
.form-hint { margin: 0; font-size: 0.875rem; color: var(--muted); }
.form-grid { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
@media (min-width: 40em) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 700; font-size: var(--fs-small); }
.field__opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid rgba(23, 18, 15, 0.26);
  border-radius: var(--r-sm);
  background: #fff;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { min-height: 9.5rem; resize: vertical; line-height: 1.5; }
.field input:hover, .field textarea:hover { border-color: rgba(23, 18, 15, 0.5); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(201, 78, 124, 0.25); }
.field [aria-invalid="true"] { border-color: var(--danger); background: #FFF8F7; }
.field [aria-invalid="false"]:not(:placeholder-shown):not([type="checkbox"]) { border-color: var(--success); }
.field__error { min-height: 0; margin: 0; font-size: 0.875rem; font-weight: 700; color: var(--danger); }
.field__error:empty { display: none; }
.field__meta { display: flex; justify-content: space-between; gap: 1rem; margin: 0; }
.field__count { margin-left: auto; font-size: var(--fs-xs); color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; font-size: var(--fs-small); }
.consent input { width: 1.4rem; height: 1.4rem; min-height: 0; margin: 0.1rem 0 0; accent-color: var(--accent); cursor: pointer; }
.consent label { font-weight: 400; }
.consent .field__error { grid-column: 2; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.form-status {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--r-md);
  font-size: var(--fs-small);
  line-height: 1.5;
}
.form-status:empty { display: none; }
.form-status::before { content: ""; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: currentColor; -webkit-mask: var(--status-icon) center / contain no-repeat; mask: var(--status-icon) center / contain no-repeat; }
.form-status strong { display: block; margin-bottom: 0.15rem; }
.form-status.is-demo { background: #FFF3D6; color: #5A4300; border: 1px solid #F0CF7A; --status-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm1 15h-2v-6h2v6Zm0-8h-2V7h2v2Z'/%3E%3C/svg%3E"); }
.form-status.is-success { background: #E3F4EA; color: var(--success); border: 1px solid #9FD3B4; --status-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.2 14.6L6.6 12.4 8 11l2.8 2.8L16 8.6 17.4 10l-6.6 6.6Z'/%3E%3C/svg%3E"); }
.form-status.is-error { background: #FBE7E6; color: var(--danger); border: 1px solid #F1B3AE; --status-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm1 15h-2v-2h2v2Zm0-4h-2V7h2v6Z'/%3E%3C/svg%3E"); }
@media (prefers-reduced-motion: no-preference) { .form-status:not(:empty) { animation: rise 0.45s var(--ease-out) both; } }

.contact-card { position: relative; isolation: isolate; overflow: hidden; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--r-lg); background: var(--ink); }
.contact-card__trace { right: -3rem; top: -1rem; width: 70%; height: 12rem; opacity: 0.5; z-index: -1; }
.contact-card h2 { font-size: clamp(2.1rem, 1.9rem + 1vw, 2.7rem); margin-bottom: 1.25rem; }
.contact-list { display: grid; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 0.85rem; align-items: center; padding: 0.85rem 0; border-top: 1px solid var(--line-dark); }
.contact-list li:first-child { border-top: 0; }
.contact-list__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: rgba(248, 223, 198, 0.16); color: var(--peach); }
.contact-list__icon svg { width: 1.2rem; height: 1.2rem; }
.contact-list__label { display: block; font-size: var(--fs-xs); font-weight: 700; color: var(--on-dark-muted); }
.contact-list a, .contact-list__value { font-weight: 700; color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.contact-card__pulse { margin-top: 1.5rem; padding: 1.1rem; border-radius: var(--r-md); background: rgba(248, 223, 198, 0.08); font-size: var(--fs-small); color: var(--on-dark-muted); }
.contact-card__pulse strong { color: #fff; }
.contact-card__pulse .btn { margin-top: 0.85rem; }
.contact-aside-note { margin-top: 1.25rem; color: var(--on-dark-muted); font-size: var(--fs-small); }

.social-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--r-pill);
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-small);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.social-btn:hover { background: var(--peach); color: var(--ink); border-color: var(--peach); }
.social-btn svg { width: 1.1rem; height: 1.1rem; }

/* ---------- Pages légales ------------------------------------------------ */
.legal { display: grid; gap: 2.5rem; }
@media (min-width: 64em) { .legal { grid-template-columns: 15rem 1fr; gap: 4rem; } }
.legal__toc { font-size: var(--fs-small); }
.legal__toc p { font-weight: 700; margin-bottom: 0.5rem; }
.legal__toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.35rem; }
.legal__toc a { color: var(--muted); text-decoration: none; }
.legal__toc a:hover { color: var(--accent); text-decoration: underline; }
@media (min-width: 64em) { .legal__toc { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
.prose { max-width: 44rem; }
.prose section { padding-block: 1.75rem; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1rem); }
.prose section:first-child, .prose .callout + section { border-top: 0; padding-top: 0; }
.prose h2 { font-size: clamp(2rem, 1.8rem + 1vw, 2.6rem); margin-bottom: 0.9rem; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1em; }
.prose li { margin-bottom: 0.35rem; }
.prose dl { display: grid; gap: 0.2rem 1.5rem; margin: 0; }
.prose dt { font-weight: 700; margin-top: 0.75rem; }
.prose dd { margin: 0; }
@media (min-width: 40em) { .prose dl { grid-template-columns: 13rem 1fr; } .prose dt { margin-top: 0; } .prose dt, .prose dd { padding: 0.55rem 0; border-top: 1px solid var(--line); } }
.prose a { color: var(--ink); font-weight: 700; text-underline-offset: 0.2em; }
.todo { display: inline; padding: 0.05rem 0.4rem; border-radius: 4px; background: #FFF0C7; color: #6A4B00; font-weight: 700; font-size: 0.92em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.callout { margin: 0 0 2rem; padding: 1.1rem 1.25rem; border-left: 4px solid var(--accent); border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--tint); font-size: var(--fs-small); }

/* ---------- Footer --------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; padding: clamp(4rem, 8vw, 6rem) 0 1.5rem; background: var(--ink); color: var(--on-dark); --focus: var(--peach); }
.site-footer__trace { left: 0; top: 0; width: 100%; height: 11rem; z-index: -1; opacity: 0.45; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 1.25rem; }
.footer-brand, .footer-contact { grid-column: 1 / -1; }
@media (min-width: 44em) { .footer-contact { grid-column: auto; } }
@media (min-width: 64em) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 3rem; } .footer-brand { grid-column: auto; } }
.footer-brand .brand { color: #fff; margin-bottom: 1.25rem; }
.footer-brand p { color: var(--on-dark-muted); max-width: 22rem; }
.site-footer h2 { font-size: 1.6rem; margin-bottom: 0.9rem; color: #fff; }
.footer-links { display: grid; gap: 0.1rem; margin: 0; padding: 0; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.25rem; color: var(--on-dark-muted); text-decoration: none; font-size: var(--fs-small); transition: color 0.2s; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 0.2em; }
.footer-links .footer-text { display: block; padding: 0.35rem 0; color: var(--on-dark-muted); font-size: var(--fs-small); line-height: 1.45; }
.footer-wordmark {
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: var(--font-display);
  font-weight: 850;
  font-size: clamp(4rem, 1rem + 15vw, 15rem);
  line-height: 0.8;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(248, 223, 198, 0.3);
  user-select: none;
}
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.875rem; color: var(--on-dark-muted); }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.footer-bottom a { color: inherit; text-underline-offset: 0.2em; }
.footer-bottom a:hover { color: #fff; }
.credit a { text-decoration: none; }
.credit a:hover { text-decoration: underline; }

/* ---------- Retour en haut, message, pastille démo ------------------------ */
.to-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 80;
  width: 3rem; height: 3rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--peach);
  box-shadow: var(--shadow-lift);
  cursor: pointer;
  opacity: 0;
  transform: translateY(1rem);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease-out), background-color 0.2s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent); color: #fff; }
.to-top svg { width: 1.25rem; height: 1.25rem; }
.toast {
  position: fixed;
  left: 50%;
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 300;
  width: min(32rem, calc(100% - 2rem));
  padding: 1rem 1.15rem;
  border-radius: var(--r-md);
  background: var(--ink);
  color: var(--on-dark);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line-dark);
  font-size: var(--fs-small);
  line-height: 1.45;
  transform: translate(-50%, 160%);
  transition: transform 0.45s var(--ease-out);
}
.toast.is-visible { transform: translate(-50%, 0); }
.toast strong { color: var(--peach); display: block; margin-bottom: 0.15rem; }
.demo-pill {
  position: fixed;
  left: max(0.75rem, env(safe-area-inset-left));
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  z-index: 85;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.25rem 0.25rem 0.75rem;
  border-radius: var(--r-pill);
  background: var(--peach);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 10px 25px -12px rgba(0, 0, 0, 0.45);
}
.demo-pill button { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.demo-pill button:hover { background: rgba(23, 18, 15, 0.12); }
.demo-pill svg { width: 0.9rem; height: 0.9rem; }
noscript .noscript-msg { display: block; padding: 1rem; background: var(--tint); color: var(--text); text-align: center; }
.empty-state { grid-column: 1 / -1; padding: 2.5rem 1.5rem; border: 2px dashed var(--line); border-radius: var(--r-lg); text-align: center; color: var(--muted); }
.empty-state strong { display: block; margin-bottom: 0.35rem; font-family: var(--font-display); font-size: 1.9rem; color: var(--text); }
.theme-dark .empty-state { border-color: rgba(255, 255, 255, 0.2); color: var(--on-dark-muted); }
.theme-dark .empty-state strong { color: #fff; }

/* ---------- Mouvement réduit ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { clip-path: none; }
}

/* =====================================================================
   V2.3 — Hero corrigé : photo distincte, aucun chevauchement des CTA
   ===================================================================== */

/* La petite photo arquée de la V2 est supprimée : elle masquait le bouton Agenda. */
.hero__inset { display: none !important; }

/* Mobile/tablette : photo puis contenu, sans chevauchement agressif. */
.hero__photo {
  height: clamp(20rem, 50svh, 31rem);
}
.hero__photo img {
  object-position: 54% 44% !important;
  filter: saturate(1.03) contrast(1.03);
}
.hero__photo::after {
  background:
    linear-gradient(to bottom, rgba(14, 11, 9, 0.22) 0%, rgba(14, 11, 9, 0) 24%),
    linear-gradient(to top, var(--ink) 0%, rgba(23, 18, 15, 0.40) 18%, rgba(23, 18, 15, 0) 46%);
}
.hero__inner {
  margin-top: clamp(-3.2rem, -8vw, -1.7rem);
}
.hero__content {
  max-width: 39rem;
}
.hero__title {
  font-size: clamp(3.35rem, 15vw, 6rem);
}
.hero__actions {
  position: relative;
  z-index: 5;
}
.hero__trace {
  opacity: 0.42;
}

/* Desktop large : vraie composition en deux zones. La photo reste à droite
   et ne passe jamais sous le texte ou les boutons. */
@media (min-width: 70em) {
  .hero {
    min-height: clamp(43rem, 88svh, 55rem);
    display: flex;
    align-items: stretch;
    overflow: hidden;
  }

  .hero__stage {
    position: absolute;
    z-index: 0;
    top: calc(var(--header-h) + 1.25rem);
    right: max(var(--gutter), calc((100vw - var(--container)) / 2));
    bottom: 2.4rem;
    width: min(46vw, 55rem);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 30px 80px -45px rgba(0, 0, 0, 0.9);
  }

  .hero__photo {
    height: 100%;
    border-radius: inherit;
  }

  .hero__photo img {
    object-position: 56% 44% !important;
  }

  .hero__photo::after {
    background:
      linear-gradient(90deg, rgba(23, 18, 15, 0.18) 0%, rgba(23, 18, 15, 0) 24%),
      linear-gradient(to bottom, rgba(14, 11, 9, 0.16) 0%, rgba(14, 11, 9, 0) 20%),
      linear-gradient(to top, rgba(14, 11, 9, 0.20) 0%, rgba(14, 11, 9, 0) 28%);
  }

  .hero__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: inherit;
    margin-top: 0;
    padding-top: calc(var(--header-h) + 3.2rem);
    padding-bottom: 5rem;
  }

  .hero__content {
    width: min(46%, 40rem);
    max-width: 40rem;
    padding-right: 1.25rem;
  }

  .hero__title {
    font-size: clamp(5.2rem, 7vw, 8.4rem);
    max-width: none;
  }

  .hero__lead {
    max-width: 38rem;
  }

  .hero__actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
  }

  .hero__actions .btn {
    white-space: nowrap;
  }

  .hero__trace {
    z-index: 1;
    left: 54%;
    top: calc(var(--header-h) + 1rem);
    width: 43%;
    height: calc(100% - var(--header-h) - 2rem);
    opacity: 0.34;
  }

  .hero__next {
    z-index: 4;
    right: calc(max(var(--gutter), (100vw - var(--container)) / 2) + 1.4rem);
    bottom: 4rem;
    max-width: min(22rem, 38vw);
    background: rgba(14, 11, 9, 0.84);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
  }
}

/* À des hauteurs d'écran plus faibles, le titre et l'espacement se resserrent. */
@media (min-width: 70em) and (max-height: 50em) {
  .hero {
    min-height: 44rem;
  }
  .hero__title {
    font-size: clamp(4.6rem, 8.5vh, 6.6rem);
  }
  .hero__inner {
    padding-top: calc(var(--header-h) + 2.3rem);
    padding-bottom: 3.5rem;
  }
  .hero__stage {
    top: calc(var(--header-h) + .75rem);
    bottom: 1.5rem;
  }
  .hero__next {
    bottom: 2.6rem;
  }
}

/* Téléphone étroit : boutons lisibles, aucun débordement. */
@media (max-width: 35.99em) {
  .hero__inner {
    margin-top: -1.9rem;
  }
  .hero__title {
    font-size: clamp(3.25rem, 16vw, 4.8rem);
  }
  .hero__actions {
    grid-template-columns: 1fr;
  }
  .hero__actions .btn--primary {
    grid-column: auto;
  }
}


/* ---------- V2.5 : planning Agenda clair et très lisible ---------------- */
.agenda-planning {
  background: var(--cream);
  color: var(--ink);
}
.agenda-planning .section-head h2 { color: var(--ink); }
.agenda-planning .section-head .lead { color: var(--muted); }
.agenda-planning .trace path { stroke: rgba(201, 78, 124, 0.45); }
.agenda-planning .trace .trace__dot { fill: var(--accent); }

.agenda-planning .week__tab {
  border-color: rgba(23, 18, 15, 0.18);
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
}
.agenda-planning .week__tab-count { color: #6C5A50; }
.agenda-planning .week__tab[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.agenda-planning .week__tab[aria-pressed="true"] .week__tab-count { color: var(--peach); }
.agenda-planning .week__tab.is-today:not([aria-pressed="true"]) { border-color: var(--accent); }

.agenda-planning .week__day {
  background: rgba(255, 255, 255, 0.46);
  border-color: rgba(23, 18, 15, 0.13);
}
.agenda-planning .week__day.is-today { border-color: rgba(201, 78, 124, 0.55); }
.agenda-planning .week__title {
  color: var(--ink);
  font-weight: 850;
}
.agenda-planning .week__today {
  background: var(--accent);
  color: #fff;
}
.agenda-planning .week__slot {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(23, 18, 15, 0.12);
  color: var(--ink);
}
.agenda-planning .week__slot:hover {
  border-color: rgba(23, 18, 15, 0.42);
  background: #fff;
}
.agenda-planning .week__start {
  color: var(--ink);
  font-weight: 900;
}
.agenda-planning .week__end {
  color: #5E4B42;
  font-weight: 700;
}
.agenda-planning .week__name {
  color: var(--ink);
}
.agenda-planning .week__details {
  color: #6C5A50;
  font-weight: 600;
}

/* V3 — contacts des groupes et nettoyage partenaires */
.group-card__contacts { grid-column: 1 / -1; align-items: flex-start !important; }
.group-card__contacts span { line-height: 1.45; }
.group-phone { color: var(--ink); font-weight: 800; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.group-phone:hover { color: var(--primary); }
.group-phone-sep { color: var(--muted); }
.partners-page .partner-card__body { display: flex; flex-direction: column; justify-content: center; min-height: 5rem; }
.partners-page .partner-card h3 { margin-bottom: 0; }
.partners-page .partner-card__logo { background: #fff; }
.partners-page .partner-card__logo img { max-width: 100%; object-fit: contain; }
#partners-summary { margin-top: 0.6rem; color: var(--muted); }

/* =====================================================================
   V3.1 — FINITION TECHNIQUE, ACCESSIBILITÉ, RESPONSIVE ET PERFORMANCE
   ===================================================================== */

/* Rendu et interactions plus robustes */
main > section,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}
.hero,
.page-hero { content-visibility: visible; contain-intrinsic-size: auto; }

@media (pointer: coarse) {
  .btn,
  .burger,
  .social-btn,
  .chip,
  .week__tab,
  .to-top,
  .lightbox__close,
  .lightbox__nav { min-height: 44px; }
}

/* Focus clavier plus visible sur les contrôles sombres et clairs */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline-width: 3px;
  outline-style: solid;
  outline-color: var(--focus);
  outline-offset: 4px;
}

/* Ne jamais masquer le focus derrière le header fixe */
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

/* Les liens de navigation actifs restent perceptibles autrement que par la couleur */
.main-nav a[aria-current="page"] { text-decoration-thickness: 2px; text-underline-offset: 0.42rem; }

/* Planning : hiérarchie renforcée et meilleure lecture sur fond clair */
.agenda-planning .week__title {
  color: #17120F;
  font-weight: 900;
}
.agenda-planning .week__start {
  color: #17120F;
  font-weight: 900;
}
.agenda-planning .week__end,
.agenda-planning .week__details {
  color: #4E4038;
}
.agenda-planning .week__name {
  color: #17120F;
  font-weight: 800;
}
.agenda-planning .week__slot {
  box-shadow: 0 1px 0 rgba(23, 18, 15, 0.04);
}

/* Groupes : informations essentielles compactes et contacts faciles à toucher */
.group-card__facts { row-gap: 0.4rem; }
.group-card__contacts {
  padding-top: 0.35rem;
  border-top: 1px solid var(--line);
}
.group-phone {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding-inline: 0.12rem;
}

/* Partenaires : cadre identique pour toutes les sources, même si le visuel d'origine est vertical */
.partners-page .partners-grid { align-items: stretch; }
.partners-page .partner-card { height: 100%; }
.partners-page .partner-card__logo {
  height: auto;
  aspect-ratio: 3 / 2;
  padding: clamp(0.8rem, 2vw, 1.25rem);
  background: #fff;
}
.partners-page .partner-card__logo img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
}
.partners-page .partner-card__body { min-height: 5.25rem; }

/* Galerie : navigation tactile et clavier plus explicite */
.lightbox__thumb[aria-current="true"] {
  outline: 3px solid var(--peach);
  outline-offset: 2px;
}
.lightbox__thumb:focus-visible { outline-color: #fff; }
.gallery-item { min-height: 7rem; }

/* Pages utilitaires (404 / hors connexion) */
.utility-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(1.25rem, 5vw, 3rem);
  background:
    radial-gradient(circle at 80% 15%, rgba(201, 78, 124, 0.13), transparent 32rem),
    var(--cream);
}
.utility-state {
  width: min(100%, 42rem);
  text-align: center;
  padding: clamp(2rem, 6vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-lift);
}
.utility-state > img { margin: 0 auto 1.25rem; border-radius: 50%; }
.utility-state h1 { font-size: clamp(3rem, 10vw, 5rem); }
.utility-state p { max-width: 34rem; margin-inline: auto; }
.utility-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 1.5rem; }

/* Petits écrans : éviter les effets de compression à 320–430 px */
@media (max-width: 29.99em) {
  :root {
    --gutter: 1rem;
    --fs-body: 1rem;
    --fs-hero: clamp(3.15rem, 18vw, 4.8rem);
    --fs-page: clamp(2.8rem, 15vw, 4.2rem);
  }
  .brand__name { font-size: 1.25rem; }
  .brand__mark { width: 42px; height: 42px; }
  .site-header__inner { gap: 0.5rem; }
  .header-cta { padding-inline: 0.85rem; }
  .hero__lead { font-size: 1rem; }
  .hero__actions { grid-template-columns: 1fr; }
  .hero__actions .btn,
  .hero__actions .btn--primary { grid-column: 1; width: 100%; }
  .page-hero__actions .btn { width: 100%; }
  .week__slot { grid-template-columns: 4.5rem 1fr; gap: 0.75rem; padding: 0.8rem; }
  .week__start { font-size: 1.75rem; }
  .week__name { font-size: 1.45rem; }
  .group-card__body { padding-inline: 0.85rem; }
  .partners-grid { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
  .partners-page .partner-card__body { padding: 0.75rem; min-height: 4.5rem; }
  .partners-page .partner-card h3 { font-size: 1.25rem; }
}

@media (min-width: 30em) and (max-width: 47.99em) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablettes : éviter les cartes trop larges et garder une lecture fluide */
@media (min-width: 48em) and (max-width: 71.99em) {
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .groups-grid { gap: 1rem; }
}

/* Grand écran : limiter la longueur des lignes */
@media (min-width: 90em) {
  :root { --container: 82rem; }
  .lead { max-width: 52rem; }
}

/* Réduction des animations réellement complète */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Impression : contenu utile sans navigation ni effets */
@media print {
  .site-header,
  .mobile-menu,
  .site-footer,
  .to-top,
  .demo-pill,
  .trace,
  .btn { display: none !important; }
  body { background: #fff; color: #000; }
  main > section { content-visibility: visible; }
  a { text-decoration: none; }
}
.utility-state .btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: rgba(23, 18, 15, 0.28);
}
.utility-state .btn--ghost:hover {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: var(--ink);
}


/* V3.2 — partenaires : cadres prêts pour les logos HD */
.partners-page .partner-card__logo,
.home-partners .logo-wall__logo {
  background: #fff;
}
.partners-page .partner-card__logo img,
.home-partners .logo-wall__logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Accueil / Nos groupes : fiches éditoriales claires en attendant les vraies photos du club.
   Le contenu se suffit à lui-même et ne crée plus de grands cadres noirs vides. */
.home-groups .group-tiles { align-items: stretch; }
.home-groups .group-tile.group-tile--editorial {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: auto;
  min-height: 20rem;
  padding: 0;
  border: 1px solid #ddcfc4;
  border-radius: 9px;
  background: #fffaf6;
  color: #28211d;
  isolation: auto;
  text-align: left;
  overflow: hidden;
  box-shadow: none;
  transform: none;
  transition: border-color .2s ease, transform .25s ease, box-shadow .25s ease;
}
.home-groups .group-tile--editorial:nth-child(3n+2) { background: #f7ede6; }
.home-groups .group-tile--editorial:nth-child(3n+3) { background: #faf2ec; }
.home-groups .group-tile--editorial::after { display: none; }
.home-groups .group-tile--editorial:hover,
.home-groups .group-tile--editorial:nth-child(3n+2):hover {
  transform: translateY(-3px);
  border-color: #ba957d;
  box-shadow: 0 9px 22px rgba(67, 38, 22, .07);
}
.home-groups .group-tile--editorial:focus-visible { outline: 3px solid #a77c62; outline-offset: 3px; }
.home-groups .group-tile__topline {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 1.05rem 1.3rem .85rem;
  gap: .75rem;
  border-bottom: 1px solid #e4d7ce;
  color: #736054;
  font-size: .73rem; font-weight: 750; letter-spacing: .045em;
}
.home-groups .group-tile__topsep { margin: 0 .3rem; color: #b59785; }
.home-groups .group-tile__index {
  font-family: var(--font-display);
  font-size: 1.6rem; line-height: 1;
  font-weight: 650; letter-spacing: -.025em;
  color: #bd8d74;
}
.home-groups .group-tile--editorial .group-tile__body {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: .45rem; padding: 1.3rem 1.3rem 1.25rem;
}
.home-groups .group-tile--editorial .group-tile__age {
  display: block; padding: 0; margin: 0 0 .2rem;
  background: none; border-radius: 0;
  font-size: .83rem; font-weight: 600; color: #75584a;
}
.home-groups .group-tile--editorial .group-tile__name {
  display: block; margin: 0 0 .55rem;
  font-size: clamp(2.2rem, 3vw, 2.9rem); font-weight: 720;
  line-height: 1; color: #27201c;
}
.home-groups .group-tile__teacher { display: flex; flex-direction: column; gap: .2rem; color: #352a25; }
.home-groups .group-tile__teacher > span { font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .045em; color: #876d5d; }
.home-groups .group-tile__teacher > strong { font-size: .99rem; font-weight: 650; line-height: 1.3; }
.home-groups .group-tile__footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: .8rem; padding: .85rem 1.3rem;
  border-top: 1px solid #e4d7ce;
  font-size: .88rem; font-weight: 700; color: #513b2f;
}
.home-groups .group-tile__arrow { display: grid; place-items: center; flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 1px solid #d9bca8; font-size: 1.1rem; line-height: 1; }
.home-groups .group-tile--editorial:hover .group-tile__arrow { background: #e9cbb6; }
@media (min-width: 64em) {
  .home-groups .group-tiles { padding-bottom: 0; }
  .home-groups .group-tile--editorial:nth-child(3n+2) { transform: none; }
  .home-groups .group-tile--editorial:nth-child(3n+2):hover { transform: translateY(-3px); }
}
@media (max-width: 47.99em) {
  .home-groups .group-tile.group-tile--editorial { min-height: 19rem; }
}
