/* Le Temps des Familles — feuille de styles du site public.
   Reprend à l'identique le prototype Claude Design (couleurs, tailles, arrondis),
   avec un système d'animations discret regroupé en fin de fichier (« Mouvement »). */

/* ==========================================================================
   Jetons
   ========================================================================== */
:root {
  --ink: #1B1464;
  --ink-hover: #2D2591;
  --ink-soft: #46407F;
  --paper: #FFFCF7;
  --pink: #FFCCCC;
  --mint: #99FFCC;
  --yellow: #FFFF6B;
  --sky: #99CCFF;
  --error: #B0122F;
  --line: rgba(27, 20, 100, .1);
  --line-2: rgba(27, 20, 100, .12);
  --line-3: rgba(27, 20, 100, .14);
  --font: 'Barlow Semi Condensed', system-ui, sans-serif;
  --pad: clamp(24px, 3.6vw, 48px);
  --space: clamp(64px, 7vw, 104px);

  /* Mouvement : trois durées, trois courbes, partout les mêmes. */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-in: cubic-bezier(.55, 0, 1, .45);
  --t-fast: .18s;
  --t-base: .3s;
  --t-slow: .6s;
}

/* ==========================================================================
   Polices et icônes, servies par le site : aucun appel à Google Fonts ni à un CDN (RGPD)
   Barlow Semi Condensed (SIL Open Font License, assets/fonts/OFL.txt) ;
   Phosphor Bold (licence MIT, assets/icons/LICENSE.txt), seulement les icônes utilisées.
   ========================================================================== */
@font-face{font-family:'Barlow Semi Condensed';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/barlow-semi-condensed-500-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Barlow Semi Condensed';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/barlow-semi-condensed-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Barlow Semi Condensed';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/barlow-semi-condensed-600-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Barlow Semi Condensed';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/barlow-semi-condensed-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Barlow Semi Condensed';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/barlow-semi-condensed-700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Barlow Semi Condensed';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/barlow-semi-condensed-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Barlow Semi Condensed';font-style:normal;font-weight:800;font-display:swap;src:url(/assets/fonts/barlow-semi-condensed-800-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Barlow Semi Condensed';font-style:normal;font-weight:800;font-display:swap;src:url(/assets/fonts/barlow-semi-condensed-800-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face { font-family: 'Phosphor-Bold'; src: url(/assets/icons/Phosphor-Bold.woff2) format('woff2'); font-weight: normal; font-style: normal; font-display: block; }
.ph-bold {
  font-family: 'Phosphor-Bold' !important; speak: never; font-style: normal; font-weight: normal;
  font-variant: normal; text-transform: none; line-height: 1; letter-spacing: 0;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.ph-bold.ph-arrow-down::before { content: "\e03e"; }
.ph-bold.ph-bus::before { content: "\e106"; }
.ph-bold.ph-chats-circle::before { content: "\e17e"; }
.ph-bold.ph-coffee::before { content: "\e1c2"; }
.ph-bold.ph-confetti::before { content: "\e81a"; }
.ph-bold.ph-envelope-simple::before { content: "\e218"; }
.ph-bold.ph-hand-heart::before { content: "\e810"; }
.ph-bold.ph-handshake::before { content: "\e582"; }
.ph-bold.ph-house-line::before { content: "\e2c4"; }
.ph-bold.ph-map-pin::before { content: "\e316"; }
.ph-bold.ph-map-trifold::before { content: "\e31a"; }
.ph-bold.ph-palette::before { content: "\e6c8"; }
.ph-bold.ph-phone::before { content: "\e3b8"; }
.ph-bold.ph-puzzle-piece::before { content: "\e596"; }
.ph-bold.ph-ticket::before { content: "\e490"; }
.ph-bold.ph-users-three::before { content: "\e68e"; }

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; scroll-padding-top: 110px; }
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; }
a {
  color: var(--ink);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color var(--t-fast), text-underline-offset var(--t-fast) var(--ease-out);
}
a:hover { color: var(--ink-hover); text-underline-offset: 5px; }
input, select, textarea, button { font-family: inherit; }
button { color: inherit; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
[data-dark] :focus-visible { outline-color: var(--yellow); }

.sr-only {
  position: absolute; 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; left: 16px; top: 16px; z-index: 200;
  padding: 12px 20px; border-radius: 999px;
  background: var(--yellow); color: var(--ink); font-weight: 800; text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
[hidden]:not([hidden="until-found"]) { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Icônes (sprite SVG) */
.i {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: var(--sw, 2.6);
  stroke-linecap: round; stroke-linejoin: round;
}
.i-18 { width: 18px; height: 18px; }
.i-22 { width: 22px; height: 22px; }
.i-24 { width: 24px; height: 24px; }
.i-26 { width: 26px; height: 26px; }
.i-30 { width: 30px; height: 30px; }
.i-thin { --sw: 2.2; }
.i-heart { fill: var(--pink); }

/* Couleurs */
.bg-ink { background: var(--ink); color: #fff; }
.bg-pink { background: var(--pink); color: var(--ink); }
.bg-mint { background: var(--mint); color: var(--ink); }
.bg-yellow { background: var(--yellow); color: var(--ink); }
.bg-sky { background: var(--sky); color: var(--ink); }
.bg-white { background: #fff; color: var(--ink); }
.c-yellow { color: var(--yellow); }
.c-pink { color: var(--pink); }
.c-mint { color: var(--mint); }
.c-sky { color: var(--sky); }

.strong { font-weight: 700; }
.text-21 { font-size: 21px; line-height: 1.55; }
.nowrap { white-space: nowrap; }
.mt-18 { margin-top: 18px; }
.mt-28 { margin-top: 28px; }

/* ==========================================================================
   Mise en page
   ========================================================================== */
.section { padding: var(--space) 12px 0; }
.section--hero { padding-top: 112px; }
.section--tight { padding-top: 12px; }
.wrap { max-width: 1416px; margin: 0 auto; }
.inner { padding-left: var(--pad); padding-right: var(--pad); }
.panel { border-radius: 40px; padding: var(--pad); }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 420px)), 1fr));
  gap: var(--gap, clamp(32px, 4vw, 64px));
  align-items: var(--align, center);
}
.split--400 { --min: 400px; --gap: clamp(24px, 3.6vw, 56px); }
.split--380 { --min: 380px; }
.split--440 { --min: 440px; --align: stretch; }
.split--wide-gap { --gap: clamp(32px, 5vw, 88px); }
.split--top { --align: start; }
.visit { --gap: clamp(28px, 4vw, 56px); }

.stack { display: flex; flex-direction: column; align-items: flex-start; gap: var(--stack-gap, 18px); }
.stack--16 { --stack-gap: 16px; }
.stack--18 { --stack-gap: 18px; }
.stack--20 { --stack-gap: 20px; }
.stack__cta--8 { margin-top: 8px; }
.stack__cta--end { margin-top: auto; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--10 { gap: 10px; }
.btn-row--8 { gap: 8px; }

/* ==========================================================================
   Typographie
   ========================================================================== */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  font-size: 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  line-height: 1.55;
}
.kicker--sm { padding: 7px 15px; letter-spacing: .05em; }
.kicker__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); flex: none; }
.h2 { font-size: clamp(36px, 4vw, 56px); font-weight: 800; line-height: 1; text-wrap: balance; }
.eyebrow { font-size: 17px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.lead-strong { font-size: clamp(21px, 1.7vw, 24px); font-weight: 600; line-height: 1.5; text-wrap: pretty; }
.body-text { font-size: 20px; line-height: 1.6; text-wrap: pretty; }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 48px; }
.section-head--tight, .section-head--center { gap: 16px 40px; }
.section-head__main { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 720px; }
.section-head__main.stack--16 { gap: 16px; }
.section-head__aside { max-width: 460px; font-size: 20px; line-height: 1.55; text-wrap: pretty; }
.section-head__aside--wide { max-width: 520px; }
.section-head__aside--narrow { max-width: 440px; line-height: 1.5; }
.center-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; max-width: 760px; margin: 0 auto; }
.center-head p { font-size: 20px; line-height: 1.55; text-wrap: pretty; }
.hint { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 600; color: var(--ink-soft); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 18px; font-weight: 600; }
.breadcrumb a { color: var(--ink); }
.breadcrumb--light a, .breadcrumb--light a:hover { color: #fff; }

/* ==========================================================================
   Boutons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 58px; padding: 0 26px;
  border: 0; border-radius: 999px;
  font-size: 20px; font-weight: 800; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition:
    background-color var(--t-fast), color var(--t-fast), box-shadow var(--t-base) var(--ease-out),
    translate var(--t-base) var(--ease-out), scale var(--t-fast), transform .4s var(--ease-out);
}
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-hover); color: #fff; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--mint { background: var(--mint); color: var(--ink); }
.btn--yellow:hover, .btn--mint:hover { color: var(--ink); }
.btn--outline { border: 2px solid var(--ink); background: transparent; color: var(--ink); }
.btn--outline:hover { background: #fff; color: var(--ink); }
.btn--white { background: #fff; }
.btn--hover-yellow:hover { background: var(--yellow); }
.btn--hover-ink:hover { background: var(--ink); color: #fff; }
.btn--outline-light { border: 2px solid #fff; background: transparent; color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--ink); }
.btn--lg { min-height: 60px; padding: 0 28px; font-size: 21px; }
.btn--xl { min-height: 62px; padding: 0 34px; font-size: 22px; }
.btn--sm { min-height: 50px; padding: 0 20px; font-size: 18px; gap: 8px; }
.btn--pad-24 { padding: 0 24px; }
.btn--social { min-height: 56px; padding: 0 22px; font-size: 19px; }
.btn[disabled] { opacity: .7; cursor: progress; }

.btn-close {
  display: flex; align-items: center; gap: 8px;
  min-height: 50px; padding: 0 18px; margin-left: auto;
  border: 2px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink);
  font-size: 19px; font-weight: 700; cursor: pointer;
  transition: background-color var(--t-fast), scale var(--t-fast);
}
.btn-close:hover { background: var(--yellow); }
.btn-close--yellow { min-height: 54px; padding: 0 22px; border: 0; background: var(--yellow); font-size: 20px; font-weight: 800; }
.btn-close-round {
  position: absolute; top: 20px; right: 20px;
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid var(--ink); background: #fff; color: var(--ink);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background-color var(--t-fast), color var(--t-fast), scale var(--t-fast);
}
.btn-close-round:hover { background: var(--ink); color: #fff; }
.btn-ghost {
  display: flex; align-items: center; gap: 8px;
  min-height: 56px; padding: 0 24px;
  border: 2px solid #fff; border-radius: 999px; background: transparent; color: #fff;
  font-size: 20px; font-weight: 800; cursor: pointer;
  transition: background-color var(--t-fast), color var(--t-fast), scale var(--t-fast);
}
.btn-ghost:hover { background: #fff; color: var(--ink); }

/* ==========================================================================
   En-tête
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding: 12px clamp(8px, 1.4vw, 16px) 0;
  pointer-events: none;
}
.site-header__bar {
  pointer-events: auto;
  max-width: 1400px; margin: 0 auto;
  background: rgba(255, 252, 247, .84);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid var(--line-3);
  border-radius: 48px;
  box-shadow: 0 12px 32px -14px rgba(27, 20, 100, .35);
  transition: background-color .4s, box-shadow .4s;
}
/* Une fois la page défilée, le fond s'opacifie un peu : le menu reste lisible au-dessus des photos. */
.site-header.is-scrolled .site-header__bar {
  background: rgba(255, 252, 247, .93);
  box-shadow: 0 16px 40px -16px rgba(27, 20, 100, .42);
}
.site-header__row {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  padding: 8px 12px 8px 16px; min-height: 80px;
}
.site-header__logo { display: flex; justify-self: start; border-radius: 50%; }
.site-header__logo img { width: 64px; height: 64px; display: block; }
.site-header__actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 8px; }

.nav { position: relative; display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative; isolation: isolate;
  padding: 12px 16px; border-radius: 999px;
  font-size: 20px; font-weight: 700; color: var(--ink);
  text-decoration: none; white-space: nowrap;
  transition: background-color var(--t-fast), scale var(--t-fast);
}
.nav__link:hover { color: var(--ink); background: rgba(27, 20, 100, .07); }
.nav.has-pill .nav__link:hover { background: transparent; }
.nav__link.is-active::before {
  content: ""; position: absolute; inset: 4px; z-index: -1;
  border-radius: 999px; background: var(--yellow); border: 2px solid var(--ink);
}
.nav__toggle {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 14px 12px 16px;
  border: 0; background: none; line-height: inherit; cursor: pointer;
}
.nav__chevron { transition: transform var(--t-base) var(--ease-out); }
.nav__toggle[aria-expanded="true"] .nav__chevron { transform: rotate(180deg); }
/* Pastille de survol qui glisse d'un lien à l'autre (pilotée par site.js) */
.nav__pill {
  position: absolute; top: 0; left: 0; z-index: 0;
  border-radius: 999px; background: rgba(27, 20, 100, .07);
  opacity: 0; pointer-events: none;
  transition: transform .38s var(--ease-out), width .38s var(--ease-out), opacity var(--t-fast);
}
.nav__pill.is-visible { opacity: 1; }
.nav__pill.no-slide { transition: opacity var(--t-fast); }

.nav__drop { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: 50%;
  width: 380px; padding-top: 12px;
  transform: translateX(-50%);
  visibility: hidden; opacity: 0; pointer-events: none;
  transition: opacity .2s var(--ease-out), visibility 0s .2s;
}
.dropdown.is-open {
  visibility: visible; opacity: 1; pointer-events: auto;
  transition: opacity .2s var(--ease-out), visibility 0s;
}
.dropdown__panel {
  display: flex; flex-direction: column; gap: 6px; padding: 10px;
  background: var(--paper); border: 1px solid var(--line-3); border-radius: 24px;
  box-shadow: 0 24px 48px -18px rgba(27, 20, 100, .4);
  transform-origin: 50% 0;
  transform: translateY(-8px) scale(.97);
  transition: transform .32s var(--ease-out);
}
.dropdown.is-open .dropdown__panel { transform: none; }
.dropdown__item {
  display: flex; align-items: center; gap: 16px;
  padding: 14px; border-radius: 18px;
  color: var(--ink); text-decoration: none;
  transition: background-color var(--t-fast), scale var(--t-fast);
}
.dropdown__item:hover { color: var(--ink); }
.dropdown__item--pink:hover { background: var(--pink); }
.dropdown__item--sky:hover { background: var(--sky); }
.dropdown__icon {
  flex: none; width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: background-color var(--t-fast), transform .45s var(--ease-spring);
}
.dropdown__item--pink .dropdown__icon { background: var(--pink); }
.dropdown__item--sky .dropdown__icon { background: var(--sky); }
.dropdown__item:hover .dropdown__icon { background: #fff; }
.dropdown__text { display: flex; flex-direction: column; }
.dropdown__title { font-size: 21px; font-weight: 800; line-height: 1.15; }
.dropdown__desc { font-size: 17px; font-weight: 500; color: var(--ink-soft); }

.btn-support {
  display: flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 0 22px 0 18px;
  border: 2px solid var(--ink); border-radius: 999px;
  background: var(--yellow); color: var(--ink);
  font-size: 20px; font-weight: 800; white-space: nowrap; cursor: pointer;
  transition: translate .2s var(--ease-out), scale var(--t-fast), transform .4s var(--ease-out);
}
.social {
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid var(--ink); background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background-color .15s, color .15s, scale .15s;
}
.social:hover { background: var(--yellow); color: var(--ink); }
.btn-support-round {
  display: none; align-items: center; justify-content: center;
  width: 54px; height: 54px; border: 2px solid var(--ink); border-radius: 50%;
  background: var(--yellow); color: var(--ink); cursor: pointer;
  transition: scale var(--t-fast);
}
.menu-toggle {
  display: none; align-items: center; gap: 10px;
  min-height: 54px; padding: 0 20px;
  border: 0; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 20px; font-weight: 800; cursor: pointer;
  transition: scale var(--t-fast);
}
/* Les trois traits du menu se croisent en « × » à l'ouverture */
.menu-toggle__icon { position: relative; width: 22px; height: 22px; flex: none; }
.menu-toggle__icon span {
  position: absolute; left: 3.7px; right: 3.7px; height: 2.4px; margin-top: -1.2px;
  border-radius: 2px; background: currentColor;
  transition: transform var(--t-base) var(--ease-out), opacity var(--t-fast);
}
.menu-toggle__icon span:nth-child(1) { top: 5.5px; }
.menu-toggle__icon span:nth-child(2) { top: 11px; }
.menu-toggle__icon span:nth-child(3) { top: 16.5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(2) { opacity: 0; transform: scaleX(.3); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-nav {
  display: grid; grid-template-rows: 0fr; visibility: hidden;
  transition: grid-template-rows .4s var(--ease-out), visibility 0s .4s;
}
.mobile-nav.is-open {
  grid-template-rows: 1fr; visibility: visible;
  transition: grid-template-rows .4s var(--ease-out), visibility 0s;
}
.mobile-nav__clip { min-height: 0; overflow: hidden; }
.mobile-nav__inner {
  display: flex; flex-direction: column; gap: 4px;
  border-top: 1px solid var(--line-3);
  padding: 10px 18px 24px;
  max-height: calc(100vh - 124px); max-height: calc(100dvh - 124px); overflow: auto;
}
.mobile-nav__link {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 62px; padding: 0 14px; border-radius: 16px;
  font-size: 26px; font-weight: 800; color: var(--ink); text-decoration: none;
  transition: background-color var(--t-fast);
}
.mobile-nav__link[aria-current="page"] { background: var(--yellow); }
.mobile-nav__link--gap { margin-top: 6px; }
.mobile-nav__label { padding: 12px 14px 4px; font-size: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.mobile-nav__sub {
  display: flex; align-items: center; gap: 14px;
  min-height: 62px; padding: 0 14px; border-radius: 16px;
  font-size: 24px; font-weight: 700; color: var(--ink); text-decoration: none;
  transition: scale var(--t-fast);
}
.mobile-nav__sub:hover { color: var(--ink); }
.mobile-nav__sub--pink { background: var(--pink); }
.mobile-nav__sub--sky { background: var(--sky); }
.mobile-nav__sub[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--ink); }
.mobile-nav__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.mobile-nav__btn {
  flex: 1 1 220px; display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; border: 2px solid var(--ink); border-radius: 999px;
  background: transparent; color: var(--ink);
  font-size: 21px; font-weight: 800; text-decoration: none; cursor: pointer;
  transition: scale var(--t-fast);
}
.mobile-nav__btn:hover { color: var(--ink); }
.mobile-nav__btn--support { background: var(--yellow); }
.mobile-nav__socials { display: flex; gap: 10px; margin-top: 6px; }
.mobile-nav__socials a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 19px; font-weight: 700; text-decoration: none;
  transition: scale var(--t-fast);
}
.mobile-nav__socials a:hover { color: #fff; background: var(--ink-hover); }

@media (max-width: 1120px) {
  .nav, .btn-support, .social { display: none; }
  .btn-support-round, .menu-toggle { display: flex; }
}
@media (min-width: 1121px) {
  .mobile-nav { display: none; }
}

/* ==========================================================================
   Accueil
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(32px, 4vw, 64px); align-items: center;
}
.hero__text { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero__title { font-size: clamp(46px, 5.6vw, 88px); font-weight: 800; line-height: .94; letter-spacing: -.01em; text-wrap: balance; }
.hero__slogan { font-size: clamp(26px, 2.6vw, 38px); font-weight: 700; line-height: 1.1; color: var(--yellow); }
.hero__lead { font-size: clamp(20px, 1.6vw, 23px); line-height: 1.55; max-width: 560px; text-wrap: pretty; }
.hero__ctas { margin-top: 6px; }
.hero__media { position: relative; min-height: clamp(360px, 40vw, 580px); }
.hero__blob { position: absolute; top: -70px; right: -70px; width: 220px; height: 220px; border-radius: 50%; background: var(--pink); }
.hero__img-main { position: absolute; top: 0; right: 0; width: 84%; height: 70%; object-fit: cover; border-radius: 32px; }
.hero__img-small {
  position: absolute; left: 0; bottom: 0; width: 54%; height: 52%;
  object-fit: cover; object-position: 60% center;
  border-radius: 28px; border: 6px solid var(--ink); box-sizing: content-box;
}
.hero__badge {
  position: absolute; right: 0; bottom: 4%; max-width: 48%;
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; border-radius: 24px;
  background: var(--mint); color: var(--ink);
  font-size: 20px; font-weight: 800; line-height: 1.15;
}

/* Héros sur une colonne : le disque rose ne passe plus derrière les boutons (lisibilité)
   et l'étiquette verte s'élargit un peu sur les petits écrans. */
@media (max-width: 1019px) {
  .hero__blob { top: -24px; }
}
@media (max-width: 520px) {
  .hero__badge { max-width: 62%; padding: 14px 16px; font-size: 18px; }
}

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 12px; }
.stats__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stat {
  min-height: 210px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  padding: 28px clamp(20px, 2.4vw, 32px); border-radius: 32px;
}
.stat__pre, .stat__post { font-size: 23px; font-weight: 700; line-height: 1.1; }
.stat__value { font-size: clamp(64px, 6.4vw, 104px); font-weight: 800; line-height: .9; letter-spacing: -.02em; }

.photo-caption { position: relative; padding-bottom: 28px; }
.photo-caption img { display: block; width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: 36px; }
.photo-caption__label {
  position: absolute; left: 24px; bottom: 0; max-width: 78%;
  padding: 16px 22px; border-radius: 22px;
  background: var(--yellow); border: 3px solid var(--ink);
  font-size: 20px; font-weight: 800; line-height: 1.2;
}
.generations { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 16px; border-radius: 999px; border: 2px solid var(--ink); font-size: 19px; font-weight: 700; }

.axes {
  margin-top: 40px;
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(clamp(calc((100% - 42px) / 4), calc((1100px - 100%) * 999), clamp(calc((100% - 14px) / 2), calc((640px - 100%) * 999), 100%)), 1fr));
}
.axes > li { display: flex; min-width: 0; }
.axis-card {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: 28px; border: none; border-radius: 30px;
  font: inherit; text-align: left; cursor: pointer;
  transition: translate .25s var(--ease-out), box-shadow .25s var(--ease-out), scale var(--t-fast);
}
.axis-card:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.axis-card__icon {
  width: 62px; height: 62px; border-radius: 50%;
  background: #fff; border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: transform .5s var(--ease-spring);
}
.axis-card__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.axis-card__title { display: block; font-size: 27px; font-weight: 800; line-height: 1.08; text-wrap: balance; hyphens: auto; overflow-wrap: break-word; }
.axis-card__more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; white-space: nowrap; }

.prog-teaser__month { font-size: clamp(30px, 3vw, 42px); font-weight: 800; line-height: 1; color: var(--yellow); }
.prog-teaser__text { font-size: 20px; line-height: 1.55; max-width: 560px; text-wrap: pretty; }
.prog-teaser .stack__cta { margin-top: 6px; }
.prog-teaser__preview { display: block; width: 100%; border-radius: 24px; overflow: hidden; background: #fff; aspect-ratio: 1.414 / 1; transition: scale var(--t-fast); }
.prog-teaser__preview img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: scale .7s var(--ease-out); }

.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 12px; }
.duo p { font-size: 20px; line-height: 1.55; text-wrap: pretty; }
.event-list { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.event-row {
  display: flex; align-items: center; gap: 16px;
  padding: 10px 16px 10px 10px; border-radius: 22px;
  background: #fff; color: var(--ink); text-decoration: none;
  transition: box-shadow var(--t-fast), scale var(--t-fast);
}
.event-row__thumb {
  flex: none; width: 76px; height: 76px; border-radius: 14px; overflow: hidden;
  background: var(--paper); display: flex; align-items: center; justify-content: center;
}
.event-row__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: scale .5s var(--ease-out); }
.event-row__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.event-row__date { font-size: 16px; font-weight: 800; color: var(--ink-soft); }
.event-row__title { font-size: 21px; font-weight: 800; line-height: 1.15; overflow-wrap: break-word; }
.price-list { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.price-list li { display: flex; align-items: center; gap: 20px; padding: 16px 22px; border-radius: 22px; background: #fff; }
.price-list__price { flex: none; min-width: 96px; font-size: 44px; font-weight: 800; line-height: 1; }
.price-list__who { font-size: 20px; font-weight: 600; line-height: 1.3; }
.price-list--lg { margin-top: 6px; }
.price-list--lg li { padding: 18px 24px; border-radius: 24px; }
.price-list--lg .price-list__price { min-width: 100px; font-size: 46px; }
.duo .strong { font-weight: 700; }

.partners { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.partners li {
  flex: 0 1 calc((100% - 70px) / 6); min-width: 150px; height: 132px;
  display: flex; align-items: center; justify-content: center;
  padding: 16px 20px; background: #fff; border: 2px solid var(--line); border-radius: 24px;
}
.partners img { max-width: 100%; max-height: 92px; object-fit: contain; }

.contact-rows { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.contact-row {
  display: flex; align-items: center; gap: 16px;
  min-height: 76px; padding: 12px 20px; border-radius: 22px;
  background: #fff; color: var(--ink); text-decoration: none;
  transition: box-shadow var(--t-fast), scale var(--t-fast);
}
.contact-row--break { word-break: break-word; }
.contact-row__icon {
  flex: none; width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: transform .5s var(--ease-spring);
}
.contact-row__text { display: flex; flex-direction: column; }
.contact-row__label { font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.contact-row__value { font-size: 21px; font-weight: 700; line-height: 1.25; }
.visit p { font-size: 20px; line-height: 1.55; text-wrap: pretty; }
.visit__img { display: block; width: 100%; aspect-ratio: 4 / 3.6; object-fit: cover; object-position: 45% center; border-radius: 32px; }
/* Sur deux colonnes, les photos prennent le format portrait du prototype. */
@media (min-width: 1000px) {
  .photo-caption img { aspect-ratio: 3 / 5; }
  .visit__img { aspect-ratio: 4 / 5; }
}

/* Encarts d'actions (fenêtres des 4 axes) */
.modal--axe .modal__box {
  width: min(100%, 680px); max-height: calc(100vh - 40px); overflow: auto;
  background: #fff; border-radius: 32px; color: var(--ink);
  box-shadow: 0 30px 80px rgba(27, 20, 100, .35);
}
.axe__head {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 32px 88px 28px 32px; border-radius: 32px 32px 0 0;
}
.axe__title { font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; line-height: 1.05; text-wrap: balance; }
.axe__body { display: flex; flex-direction: column; gap: 16px; padding: 28px 32px 32px; }
.axe__subtitle { font-size: 22px; font-weight: 800; }
.axe__list { display: flex; flex-direction: column; gap: 10px; }
.axe__list li {
  display: flex; align-items: center; gap: 14px;
  min-height: 60px; padding: 12px 18px; border-radius: 20px;
  background: #FFFDF7; border: 2px solid var(--line);
  font-size: 20px; font-weight: 700; line-height: 1.3;
}
.axe__dot { flex: none; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); }
.axe__body .btn { margin-top: 6px; }

/* ==========================================================================
   Pages intérieures
   ========================================================================== */
.page-hero {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 400px)), 1fr));
  gap: clamp(24px, 3vw, 40px); align-items: center;
}
.page-hero--440 { --min: 440px; }
.page-hero--end { align-items: end; }
.page-hero__title { font-size: clamp(42px, 4.6vw, 72px); font-weight: 800; line-height: .94; letter-spacing: -.01em; text-wrap: balance; }
.page-hero__title--nobalance { text-wrap: wrap; }
.page-hero__title--tight { line-height: .92; }
.page-hero__title--legal { line-height: .95; letter-spacing: 0; }
.page-association .page-hero__title { line-height: .95; }
.page-hero__text { font-size: clamp(19px, 1.6vw, 22px); font-weight: 600; line-height: 1.45; max-width: 580px; text-wrap: pretty; }
.page-hero__text--lg { font-size: clamp(21px, 1.9vw, 26px); max-width: none; }
.page-hero__text--600 { max-width: 600px; line-height: 1.4; }
.page-hero__media { position: relative; }
.page-hero__media img { display: block; width: 100%; aspect-ratio: 3 / 2; max-height: 380px; object-fit: cover; border-radius: 28px; }
.page-hero__dot { position: absolute; right: -14px; top: -14px; width: 72px; height: 72px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); }

/* L'association */
.quote-box {
  margin-top: 8px; padding: 26px 28px; border-radius: 28px;
  background: var(--ink); color: #fff;
  font-size: clamp(23px, 2vw, 28px); font-weight: 700; line-height: 1.3; text-wrap: pretty;
}
.prose { display: flex; flex-direction: column; gap: 20px; font-size: 21px; line-height: 1.6; }
.prose p { text-wrap: pretty; }

.facts { margin-top: clamp(28px, 3.4vw, 44px); display: flex; flex-wrap: wrap; gap: 12px; }
.fact {
  --fp: clamp(24px, 3vw, 32px);
  position: relative; flex: 1 1 260px; min-height: 260px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--fp) + 88px) var(--fp) var(--fp);
  border-radius: 30px; color: var(--ink);
}
.fact--wide { --fp: clamp(24px, 3vw, 36px); flex: 2 1 520px; }
.fact dt { font-size: 17px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.fact__icon {
  position: absolute; top: var(--fp); left: var(--fp);
  width: 64px; height: 64px; border-radius: 20px;
  background: #fff; border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 32px;
}
.fact__value { margin-top: 8px; font-size: clamp(26px, 2.4vw, 32px); font-weight: 800; line-height: 1.08; }
.fact__value--xl { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.02; text-wrap: balance; }
.fact--offer { min-height: 0; justify-content: flex-start; gap: 18px; padding: var(--fp); }
.fact__row {
  display: flex; align-items: center; gap: 16px;
  font-size: clamp(26px, 2.4vw, 32px) !important; font-weight: 800 !important; line-height: 1.05;
  letter-spacing: 0 !important; text-transform: none !important;
}
.fact__icon--inline { position: static; flex: none; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: 19px; font-weight: 700; }
.fact--link { transition: translate .25s var(--ease-out), scale var(--t-fast); }
.fact__stretched { color: inherit; text-decoration: none; }
.fact__stretched:hover { color: inherit; }
.fact__stretched::after { content: ""; position: absolute; inset: 0; border-radius: 30px; }
.fact__stretched:focus-visible { outline: none; }
.fact__stretched:focus-visible::after { outline: 3px solid var(--yellow); outline-offset: 3px; }
.fact__price { margin-top: 8px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.fact__price-value { font-size: clamp(40px, 3.6vw, 52px); font-weight: 800; line-height: 1; }
.fact__price-unit { font-size: 20px; font-weight: 700; }
.fact__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 19px; font-weight: 800; }
.fact__more i { transition: translate var(--t-base) var(--ease-out); }

.fact-contacts { flex: 1 1 100%; display: flex; padding: 10px; border-radius: 30px; border: 2px solid rgba(255, 255, 255, .28); }
.fact-contacts dd { width: 100%; display: flex; flex-wrap: wrap; gap: 10px; }
.fact-contact {
  flex: 1 1 300px; display: flex; align-items: center; gap: 16px;
  min-height: 84px; padding: 12px 20px; border-radius: 22px;
  color: #fff; text-decoration: none;
  transition: background-color var(--t-fast), scale var(--t-fast);
}
.fact-contact--narrow { flex-basis: 240px; }
.fact-contact:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.fact-contact__icon {
  flex: none; width: 52px; height: 52px; border-radius: 50%; color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  transition: transform .5s var(--ease-spring);
}
.fact-contact__text { display: flex; flex-direction: column; min-width: 0; }
.fact-contact__label { font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.fact-contact__value { font-size: 20px; font-weight: 700; line-height: 1.25; }
.fact-contact__value--break { overflow-wrap: anywhere; }

.reasons { display: flex; flex-direction: column; gap: 12px; }
.reasons__title { margin-bottom: 6px; font-size: clamp(30px, 3vw, 40px); font-weight: 800; line-height: 1.05; }
.reason { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: 26px; background: var(--paper); }
.reason__icon { flex: none; width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; }
.reason p { font-size: 20px; line-height: 1.5; }

.team { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(calc(50% - 5px), 150px), 1fr)); gap: 10px; }
.member { display: flex; flex-direction: column; gap: 8px; padding: 8px 8px 14px; border-radius: 20px; background: #fff; border: 2px solid var(--line); min-width: 0; }
.member__photo { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: var(--pink); }
.member__photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.member__initial { width: 100%; aspect-ratio: 1 / 1; border-radius: 14px; background: var(--sky); display: flex; align-items: center; justify-content: center; font-size: 52px; font-weight: 800; }
.member__text { padding: 0 6px; min-width: 0; }
.member__name { font-size: 20px; font-weight: 800; line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; overflow-wrap: anywhere; }
.member__role { margin-top: 2px; font-size: 17px; font-weight: 600; line-height: 1.25; color: var(--ink-soft); }

.more-title { margin-bottom: 24px; }
.more { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 12px; }
.more > div { display: flex; }
.more-card {
  flex: 1; display: flex; flex-direction: column; gap: 14px;
  padding: 32px; border-radius: 32px; text-decoration: none;
  transition: translate .25s var(--ease-out), scale var(--t-fast);
}
.more-card:hover { color: var(--ink); }
.more-card--ink, .more-card--ink:hover { color: #fff; }
.more-card__title { font-size: 34px; font-weight: 800; line-height: 1; }
.more-card__text { font-size: 19px; line-height: 1.5; flex: 1; }
.more-card__cta { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; }

/* Ateliers & programme */
.count-pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 20px; font-weight: 800; }
.next-box { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(22px, 2.6vw, 34px); border-radius: 28px; }
.next-box__label { font-size: 17px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); }
.next-box__title { font-size: clamp(34px, 3.4vw, 52px); font-weight: 800; line-height: 1; color: var(--yellow); text-wrap: balance; }
.next-box__title--empty { font-size: clamp(30px, 3vw, 44px); line-height: 1.05; }
.next-box__month { font-size: clamp(46px, 5vw, 76px); font-weight: 800; line-height: .95; color: var(--yellow); }
.next-box__meta { font-size: 20px; line-height: 1.5; }
.next-box .btn-row { margin-top: 6px; }

.workshops { display: flex; flex-direction: column; gap: 16px; }
.workshop {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(20px, 3vw, 48px); align-items: center;
  padding: clamp(14px, 1.6vw, 20px); border-radius: 36px;
  background: #fff; border: 2px solid var(--line-2);
}
.workshop__poster { aspect-ratio: 1 / 1; max-height: 560px; border-radius: 26px; overflow: hidden; background: var(--pink); display: flex; align-items: center; justify-content: center; }
.workshop__poster img { width: 100%; height: 100%; object-fit: contain; }
.workshop__body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: clamp(8px, 2vw, 24px) clamp(8px, 2vw, 28px) clamp(16px, 2vw, 28px); }
.workshop__title { font-size: clamp(34px, 3.6vw, 52px); font-weight: 800; line-height: 1; text-wrap: balance; }
.workshop__date { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px; border-radius: 18px; background: var(--yellow); font-size: clamp(21px, 1.8vw, 25px); font-weight: 800; line-height: 1.2; }
.workshop__text { font-size: 21px; line-height: 1.6; max-width: 640px; text-wrap: pretty; }
.workshop .btn-row { margin-top: 4px; }
.empty-box { padding: 48px; border-radius: 36px; background: #fff; border: 2px dashed rgba(27, 20, 100, .3); text-align: center; }
.empty-box__title { font-size: 30px; font-weight: 800; }
.empty-box p + p { margin-top: 10px; font-size: 20px; }

.banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.banner__text { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.banner__text--760 { max-width: 760px; }

.prog-pages { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.prog-page { padding: 14px; border-radius: 32px; background: #fff; border: 2px solid var(--line-2); }
.prog-page__zoom {
  position: relative; display: block; width: 100%; padding: 0;
  border: 0; border-radius: 22px; overflow: hidden; background: var(--paper); cursor: zoom-in;
  transition: scale var(--t-fast);
}
.prog-page__zoom img { display: block; width: 100%; height: auto; transition: scale .7s var(--ease-out); }
.prog-page__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 8px 4px; }
.prog-page__count { font-size: 20px; font-weight: 800; }
.zoom-badge {
  position: absolute; right: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 18px; font-weight: 800;
  opacity: 0; translate: 0 6px; pointer-events: none;
  transition: opacity var(--t-fast), translate var(--t-base) var(--ease-out);
}
.prog-page__zoom:focus-visible .zoom-badge, .gallery__btn:focus-visible .zoom-badge { opacity: 1; translate: none; }

.steps { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.step { display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: 30px; background: #fff; }
.step__num { width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; }
.step__title { font-size: 28px; font-weight: 800; line-height: 1.05; }
.step p { font-size: 19px; line-height: 1.5; }

/* Galerie */
.gallery-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  min-height: 52px; padding: 0 20px;
  border: 2px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink);
  font-size: 19px; font-weight: 800; cursor: pointer;
  transition: background-color var(--t-fast), color var(--t-fast), scale var(--t-fast);
}
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; }
.gallery {
  margin-top: 28px; display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  grid-auto-rows: clamp(220px, 22vw, 300px); grid-auto-flow: dense;
}
.gallery__item { min-width: 0; }
.gallery__item.is-big { grid-column: span 2; grid-row: span 2; }
@media (max-width: 640px) {
  .gallery__item.is-big { grid-column: auto; grid-row: auto; }
}
.gallery__btn {
  position: relative; display: block; width: 100%; height: 100%; padding: 0;
  border: 0; border-radius: 28px; overflow: hidden; cursor: zoom-in; background: var(--mint);
  transition: scale var(--t-fast);
}
.is-big .gallery__btn { background: var(--pink); }
.gallery__btn img { display: block; width: 100%; height: 100%; object-fit: cover; transition: scale .7s var(--ease-out); }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 12px; }
.video { padding: 12px 12px 18px; border-radius: 30px; background: #fff; border: 2px solid var(--line-2); }
.video video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 20px; background: var(--ink); }
.video__title { margin: 14px 8px 0; font-size: 22px; font-weight: 800; }

/* Vidéos (L'association, galerie) : couverture cliquable, le lecteur ne se charge qu'au clic (site.js) */
.split--video { grid-template-columns: minmax(0, 1fr); }
.split--video > :last-child { max-width: 760px; }
@media (min-width: 1000px) {
  .split--video { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
.video-credit { font-size: 18px; line-height: 1.5; color: var(--ink-soft); }
.video-credit a { font-weight: 800; }
.video-embed {
  position: relative; container-type: inline-size; aspect-ratio: 16 / 9;
  border-radius: 28px; overflow: hidden; background: var(--ink);
}
.video .video-embed { border-radius: 20px; }
.video-embed:has(:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.video-embed__poster, .video-embed__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed__poster { object-fit: cover; }
.video-embed__play {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 24px; padding: clamp(14px, 4cqi, 28px);
  color: #fff; text-decoration: none;
  background: linear-gradient(to top, rgba(27, 20, 100, .6), rgba(27, 20, 100, 0) 55%);
}
.video-embed__play:hover { color: #fff; }
.video-embed__play:focus-visible { outline: none; }
.video-embed__cta { display: flex; align-items: center; gap: 14px; }
.video-embed__icon {
  flex: none; width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--yellow); color: var(--ink); box-shadow: 0 16px 34px -12px rgba(14, 10, 52, .6);
  transition: scale var(--t-base) var(--ease-spring);
}
.video-embed__icon .i { width: 34px; height: 34px; translate: 3px 0; }
.video-embed__label { padding: 9px 18px; border-radius: 999px; background: var(--ink); font-size: 21px; font-weight: 800; }
/* Petite vidéo (mobile, cartes de la galerie) : bouton plus compact */
@container (max-width: 520px) {
  .video-embed__cta { gap: 10px; }
  .video-embed__icon { width: 60px; height: 60px; }
  .video-embed__icon .i { width: 26px; height: 26px; translate: 2px 0; }
  .video-embed__label { padding: 7px 14px; font-size: 18px; }
}
/* Très petite vidéo (téléphone) : le bouton rond seul, pour ne pas cacher la couverture */
@container (max-width: 420px) {
  .video-embed__icon { width: 56px; height: 56px; }
  .video-embed__icon .i { width: 24px; height: 24px; }
  .video-embed__label {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
}
@media (max-width: 640px) {
  .video-embed { border-radius: 22px; }
}

/* Contact */
.contact-cards { display: flex; flex-direction: column; gap: 10px; }
.contact-card {
  display: flex; align-items: center; gap: 18px;
  min-height: 96px; padding: 16px 24px; border-radius: 26px;
  background: #fff; color: var(--ink); text-decoration: none;
  transition: box-shadow var(--t-fast), scale var(--t-fast);
}
.contact-card--static { align-items: flex-start; padding: 18px 24px; min-height: 0; }
.contact-card__icon {
  flex: none; width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: transform .5s var(--ease-spring);
}
.contact-card__text { display: flex; flex-direction: column; min-width: 0; }
.contact-card__text--hours { flex: 1; gap: 8px; }
.contact-card__label { font-size: 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.contact-card__value { font-size: clamp(21px, 1.9vw, 25px); font-weight: 800; line-height: 1.2; }
.contact-card__value--xl { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; }
.contact-card__value--break { font-size: clamp(20px, 1.8vw, 24px); word-break: break-word; }
.contact-card__note { font-size: 16px; line-height: 1.45; color: var(--ink-soft); }

.hours { display: grid; grid-template-columns: auto minmax(0, 1fr); }
.hours__row { display: contents; }
.hours dt { font-weight: 800; }
.hours dd { font-weight: 600; }
.hours--dark { gap: 6px 16px; font-size: 19px; line-height: 1.35; }
.hours--dark .is-closed dd { color: #B9B5D6; }
.hours--dark .is-today dt, .hours--dark .is-today dd { color: var(--yellow); font-weight: 800; }
.hours--light { gap: 4px 16px; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.35; }
.hours--light dt { padding: 2px 8px; margin-left: -8px; border-radius: 8px; }
.hours--light dd { padding: 2px 0; }
.hours--light .is-closed dd { color: var(--ink-soft); }
.hours--light .is-today dt { background: var(--yellow); }
.hours--light .is-today dd { font-weight: 800; }

.contact-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 12px; align-items: start; }
.form-card { padding: var(--pad); border-radius: 40px; background: #fff; border: 2px solid var(--line-2); }
.form-card__hint { margin-top: 12px; font-size: 19px; color: var(--ink-soft); }
.form { position: relative; margin-top: 24px; display: flex; flex-direction: column; gap: 20px; }
.form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 20px; font-weight: 700; }
.field input, .field select, .field textarea {
  min-height: 60px; padding: 0 18px;
  border: 2px solid rgba(27, 20, 100, .35); border-radius: 16px;
  background: var(--paper); color: var(--ink); font-size: 20px;
  transition: border-color var(--t-fast), background-color var(--t-fast);
}
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 54px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%231B1464' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.field textarea { padding: 16px 18px; line-height: 1.5; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(27, 20, 100, .6); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid var(--yellow); outline-offset: 0; background-color: #fff; }
.field [aria-invalid="true"], .field [aria-invalid="true"]:hover, .field [aria-invalid="true"]:focus { border-color: var(--error); }
.field__error { font-size: 18px; font-weight: 700; color: var(--error); }
.field__error--consent { margin-top: -8px; }
.field--hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; align-items: flex-start; gap: 14px; font-size: 18px; line-height: 1.45; cursor: pointer; }
.consent input { flex: none; width: 28px; height: 28px; margin: 0; accent-color: var(--ink); cursor: pointer; }
.consent a { font-weight: 700; }
.form-notice { display: none; margin-top: 16px; padding: 16px 20px; border-radius: 18px; font-size: 19px; font-weight: 700; line-height: 1.45; }
.form-notice:target { display: block; }
.form-notice--ok { background: var(--mint); }
.form-notice--error { background: #FFE1E1; color: #9B1030; }
.form-notice--error a { color: #9B1030; }
.form__error { padding: 16px 20px; border-radius: 18px; background: #FFE1E1; color: #9B1030; font-size: 19px; font-weight: 700; line-height: 1.45; }
.form__error a { color: #9B1030; }
.form-success { margin-top: 24px; padding: 32px; border-radius: 28px; background: var(--mint); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.form-success__icon { width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; }
.form-success__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.form-success__title { font-size: 32px; font-weight: 800; line-height: 1.1; }
.contact-side { display: flex; flex-direction: column; gap: 12px; }
.map { display: block; width: 100%; height: clamp(320px, 34vw, 440px); border: 0; border-radius: 40px; background: var(--mint); }
.territory { padding: clamp(24px, 3.6vw, 44px); border-radius: 40px; font-size: 21px; line-height: 1.6; }
.territory p { text-wrap: pretty; }
.territory p + p { margin-top: 16px; }

/* Mentions légales */
.page-mentions { line-height: 1.6; }
.legal { max-width: 880px; margin: 0 auto; padding: 0 var(--pad); box-sizing: content-box; display: flex; flex-direction: column; gap: 20px; line-height: 1.6; }
.legal__card { padding: clamp(24px, 3.6vw, 40px); border-radius: 32px; background: #fff; border: 2px solid var(--line-2); }
.legal__card h2 { margin-bottom: 14px; font-size: clamp(28px, 3vw, 38px); font-weight: 800; line-height: 1.05; }
.legal__card p + p { margin-top: 12px; }

/* FAQ — le « + » devient « − » en pivotant */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: clamp(32px, 4vw, 64px); align-items: start; }
.faq__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.faq__lead { font-size: 21px; line-height: 1.55; max-width: 460px; text-wrap: pretty; }
.faq__lead a { font-weight: 700; }
.faq__list { display: flex; flex-direction: column; gap: 14px; }
.faq__item { background: #fff; border: 2px solid var(--line-3); border-radius: 24px; overflow: hidden; transition: border-color var(--t-base); }
.faq__item.is-open { border-color: rgba(27, 20, 100, .32); }
.faq__q { font-size: inherit; font-weight: inherit; }
.faq__q button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 22px 22px 26px; background: none; border: 0; text-align: left; cursor: pointer;
  color: var(--ink); font-size: clamp(21px, 1.9vw, 25px); font-weight: 700; line-height: 1.25;
}
.faq__q button:focus-visible { outline-offset: -6px; border-radius: 22px; }
.faq__icon {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--yellow); border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: rotate .4s var(--ease-out), scale .3s var(--ease-spring);
}
.faq__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.faq__vbar { transform-box: fill-box; transform-origin: center; transition: transform .35s var(--ease-out); }
[aria-expanded="true"] > .faq__icon { rotate: 180deg; }
[aria-expanded="true"] > .faq__icon .faq__vbar { transform: scaleY(0); }
.faq__a { overflow: hidden; }
.faq__a-inner { padding: 0 26px 26px; font-size: 20px; line-height: 1.6; text-wrap: pretty; }

/* Visuels manquants (affiche ou page de programme introuvable) */
.placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  padding: 8px; text-align: center;
  background: repeating-linear-gradient(135deg, #fff 0 14px, #E9E7F2 14px 16px);
  font-family: ui-monospace, Menlo, monospace; font-size: 15px; color: var(--ink-soft);
}
.placeholder--pink, .event-row__thumb .placeholder { background: repeating-linear-gradient(135deg, var(--paper) 0 10px, var(--pink) 10px 12px); }
.workshop__poster .placeholder { background: repeating-linear-gradient(135deg, var(--paper) 0 14px, var(--pink) 14px 16px); }
.prog-page .placeholder { aspect-ratio: 1.414 / 1; background: repeating-linear-gradient(135deg, var(--paper) 0 14px, var(--yellow) 14px 16px); }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.site-footer { padding: clamp(64px, 8vw, 120px) 12px 12px; }
.site-footer__box {
  max-width: 1416px; margin: 0 auto;
  background: var(--ink); color: #fff; border-radius: 40px;
  padding: clamp(36px, 5vw, 72px) clamp(24px, 5vw, 72px) 28px;
}
.site-footer__top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px;
  padding-bottom: clamp(32px, 4vw, 48px); border-bottom: 1px solid rgba(255, 255, 255, .18);
}
.site-footer__logo { display: flex; border-radius: 50%; }
.site-footer__logo img { width: 104px; height: 104px; display: block; }
.site-footer__slogan { flex: 1 1 360px; font-size: clamp(30px, 3.6vw, 52px); font-weight: 800; line-height: 1; color: var(--yellow); text-wrap: balance; }
.site-footer__cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(32px, 4vw, 56px); padding: clamp(32px, 4vw, 48px) 0;
}
.site-footer__title { margin-bottom: 18px; font-size: 26px; font-weight: 800; color: var(--yellow); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact__link {
  display: flex; align-items: center; gap: 14px;
  color: #fff; text-decoration: none; font-size: 20px; font-weight: 600;
}
.footer-contact__link:hover, .footer-contact__link:active { color: var(--yellow); }
.footer-contact__link--break { word-break: break-word; }
.footer-contact__icon {
  flex: none; width: 44px; height: 44px; border-radius: 50%; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: transform .5s var(--ease-spring);
}
.footer-contact__label { display: block; font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.footer-contact__socials { display: flex; gap: 10px; margin-top: 6px; }
.footer-social {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 50px; padding: 0 18px;
  border: 2px solid var(--sky); border-radius: 999px;
  color: #fff; text-decoration: none; font-size: 18px; font-weight: 700;
  transition: background-color var(--t-fast), color var(--t-fast), scale var(--t-fast);
}
.footer-social:hover { background: var(--sky); color: var(--ink); }
.site-footer__note { margin-top: 14px; font-size: 16px; line-height: 1.45; color: #D6D3F0; max-width: 340px; }
.site-footer__about { font-size: 20px; line-height: 1.55; max-width: 420px; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-links a {
  display: flex; align-items: center; gap: 12px; min-height: 48px;
  color: #fff; text-decoration: none; font-size: 21px; font-weight: 700;
}
.footer-links a:hover, .footer-links a:active { color: var(--yellow); }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
  padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 18px;
}
.site-footer__bottom a { color: #fff; font-weight: 800; }
.site-footer__bottom a:hover, .site-footer__bottom a:active { color: var(--yellow); }

/* ==========================================================================
   Fenêtres (dialog natif) : soutien, axes, visionneuses
   ========================================================================== */
.modal {
  width: 100%; height: 100%; max-width: none; max-height: none;
  padding: 16px; border: 0; background: transparent; color: var(--ink);
  overflow: auto; overscroll-behavior: contain;
}
.modal[open] { display: flex; align-items: center; justify-content: center; }
.modal::backdrop { background: rgba(27, 20, 100, .6); }
.modal.modal--axe { padding: 20px; }
.modal--support::backdrop { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

.support {
  position: relative; width: 100%; max-width: 840px; max-height: calc(100vh - 32px); overflow: auto;
  background: var(--paper); border-radius: 32px; padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .45);
}
.support__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap-reverse; }
.support__title { margin-top: 18px; font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; line-height: 1; text-wrap: balance; }
.support__text { margin-top: 14px; font-size: 21px; line-height: 1.5; max-width: 620px; }
.support__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; margin-top: 28px; }
.support__card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 26px; }
.support__brand { font-size: 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.support__card h3 { font-size: 30px; font-weight: 800; line-height: 1.05; }
.support__card p { font-size: 19px; line-height: 1.5; flex: 1; }
.support__card .btn { align-self: flex-start; min-height: 56px; padding: 0 24px; }
.support__foot { margin-top: 22px; font-size: 19px; line-height: 1.5; }
.support__foot a { font-weight: 700; }

.modal--lightbox { padding: 0; color: #fff; }
.modal--lightbox::backdrop { background: rgba(14, 10, 52, .95); }
.lightbox { width: 100%; height: 100%; display: flex; flex-direction: column; }
.lightbox__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px clamp(14px, 3vw, 28px); }
.lightbox__label { font-size: 21px; font-weight: 800; }
.lightbox__stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 clamp(10px, 3vw, 28px); touch-action: pan-y; }
.lightbox__img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 16px; user-select: none; }
.lightbox__stage--paper .lightbox__img { width: 100%; height: 100%; background: #fff; border-radius: 14px; }
.lightbox__caption { padding: 10px 20px 0; text-align: center; font-size: 19px; }
.lightbox__nav { display: flex; justify-content: center; gap: 12px; padding: 14px; }

.to-top {
  position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 55;
  width: 64px; height: 64px; border-radius: 50%;
  border: 3px solid var(--ink); background: var(--yellow); color: var(--ink);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 12px 26px -10px rgba(27, 20, 100, .55);
  opacity: 0; visibility: hidden; scale: .6;
  transition: opacity .25s, scale .35s var(--ease-out), visibility 0s .35s, translate .2s var(--ease-out), transform .4s var(--ease-out);
}
.to-top.is-visible {
  opacity: 1; visibility: visible; scale: 1;
  transition: opacity .25s, scale .5s var(--ease-spring), visibility 0s, translate .2s var(--ease-out), transform .4s var(--ease-out);
}

/* ==========================================================================
   Mouvement
   Règles : apparitions courtes et une seule fois ; survols réservés aux
   éléments cliquables ; rien ne bouge pour qui a choisi de réduire les
   animations ; pas d'effets de survol sur les écrans tactiles.
   ========================================================================== */

/* Apparition au défilement : masqué avant que site.js ne prenne le relais. Si le
   script ne se charge pas, tout réapparaît au bout de 2,5 s. */
.js [data-reveal]:not(.is-in) { opacity: 0; }
html.js:not(.js-ready) [data-reveal] { animation: reveal-failsafe .01s 2.5s forwards; }
@keyframes reveal-failsafe { to { opacity: 1; } }

/* Menu déroulant, menu mobile et fenêtres : le contenu arrive en léger décalé */
.dropdown.is-open .dropdown__item { animation: rise .4s var(--ease-out) both; }
.dropdown.is-open .dropdown__item:nth-child(2) { animation-delay: .05s; }
.mobile-nav.is-open .mobile-nav__inner > * { animation: rise .45s var(--ease-out) both; }
.mobile-nav.is-open .mobile-nav__inner > :nth-child(2) { animation-delay: .03s; }
.mobile-nav.is-open .mobile-nav__inner > :nth-child(3) { animation-delay: .06s; }
.mobile-nav.is-open .mobile-nav__inner > :nth-child(4) { animation-delay: .09s; }
.mobile-nav.is-open .mobile-nav__inner > :nth-child(5) { animation-delay: .12s; }
.mobile-nav.is-open .mobile-nav__inner > :nth-child(6) { animation-delay: .15s; }
.mobile-nav.is-open .mobile-nav__inner > :nth-child(7) { animation-delay: .18s; }
.mobile-nav.is-open .mobile-nav__inner > :nth-child(n+8) { animation-delay: .21s; }

.modal[open]::backdrop { animation: fade-in .3s ease both; }
.modal[open] .modal__box { animation: modal-in .42s var(--ease-out) both; }
.modal--lightbox[open] .lightbox { animation: fade-in .3s ease both; }
.modal.is-closing::backdrop { animation: fade-out .2s var(--ease-in) both; }
.modal.is-closing .modal__box, .modal.is-closing .lightbox { animation: modal-out .2s var(--ease-in) both; }
.modal[open] .support__card, .modal[open] .axe__list li { animation: rise .45s var(--ease-out) both; }
.modal[open] .support__card { animation-delay: .1s; }
.modal[open] .support__card + .support__card { animation-delay: .17s; }
.modal[open] .axe__list li:nth-child(1) { animation-delay: .08s; }
.modal[open] .axe__list li:nth-child(2) { animation-delay: .12s; }
.modal[open] .axe__list li:nth-child(3) { animation-delay: .16s; }
.modal[open] .axe__list li:nth-child(4) { animation-delay: .2s; }
.modal[open] .axe__list li:nth-child(n+5) { animation-delay: .24s; }


/* Merci : la coche se dessine */
.form-success:not([hidden]) { animation: modal-in .5s var(--ease-out) both; }
.form-success:not([hidden]) .form-success__icon { animation: pop .55s .1s var(--ease-spring) both; }
.form-success:not([hidden]) .form-success__icon path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .5s .35s var(--ease-out) forwards; }
.field__error:not([hidden]), .form__error:not([hidden]) { animation: rise .3s var(--ease-out) both; }

/* Liens fléchés : la flèche avance d'un pas au survol, toujours dans le sens où l'on va */
.i-arrow, .i-arrow-down, .i-external, .i-send { transition: translate var(--t-base) var(--ease-out); }
.mobile-nav__link .i, .footer-links .i { transition: translate var(--t-base) var(--ease-out); }

/* Parallaxe du héros : les calques suivent le curseur à des profondeurs différentes (site.js) */
.hero__blob, .hero__img-main, .hero__img-small, .hero__badge, .page-hero__media img, .page-hero__dot {
  translate: calc(var(--px, 0) * var(--depth, 0) * 1px) calc(var(--py, 0) * var(--depth, 0) * 1px);
}

/* Appui : tout ce qui se clique s'enfonce légèrement. Sur écran tactile, cet appui remplace
   le rectangle gris qu'iOS dessine au toucher (layout.html active :active pour les touchers). */
html.js { -webkit-tap-highlight-color: transparent; }
.btn:active, .filter:active, .btn-support:active, .to-top:active, .btn-ghost:active,
.btn-close:active, .btn-close-round:active, .menu-toggle:active, .btn-support-round:active, .mobile-nav__btn:active,
.nav__link:active, .social:active, .footer-social:active, .mobile-nav__socials a:active { scale: .97; }
.event-row:active, .contact-row:active, a.contact-card:active, .fact-contact:active,
.mobile-nav__sub:active, .dropdown__item:active { scale: .98; }
.axis-card:active, .more-card:active, .fact--link:active,
.gallery__btn:active, .prog-page__zoom:active, .prog-teaser__preview:active { scale: .99; }
.mobile-nav__link:active { background: var(--yellow); }
.faq__q button:active .faq__icon, .video-embed__play:active .video-embed__icon { scale: .9; }

@media (hover: hover) and (pointer: fine) {
  .mobile-nav__link:hover { background: var(--yellow); color: var(--ink); }
  .axis-card:hover { box-shadow: 0 0 0 3px var(--ink); }
  .event-row:hover { color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
  .contact-row:hover, a.contact-card:hover { color: var(--ink); box-shadow: inset 0 0 0 3px var(--ink); }
  .filter:hover { background: var(--yellow); }
  .faq__item:hover { border-color: rgba(27, 20, 100, .32); }

  .site-header__logo img { transition: rotate .6s var(--ease-spring); }
  .site-header__logo:hover img { rotate: -8deg; }

  .btn--yellow:hover, .btn--mint:hover, .btn-support:hover { translate: 0 -2px; }
  .btn-support:hover .i-heart { animation: heartbeat 1s var(--ease-out); }
  .social .i { transition: scale .35s var(--ease-spring); }
  .social:hover .i { scale: 1.12; }

  a:hover > .i-arrow, button:hover > .i-arrow, a:hover .i-arrow, button:hover .i-arrow { translate: 4px 0; }
  a:hover .i-arrow-down { translate: 0 3px; }
  a:hover .i-external { translate: 2px -2px; }
  button:hover .i-send { translate: 3px -3px; }
  .mobile-nav__link:hover .i, .footer-links a:hover .i { translate: 4px 0; }

  .dropdown__item:hover .dropdown__icon { transform: rotate(-6deg) scale(1.06); }
  .axis-card:hover { translate: 0 -4px; }
  .axis-card:hover .axis-card__icon { transform: rotate(-10deg) scale(1.08); }
  .more-card:hover, .fact--link:hover { translate: 0 -4px; }
  .fact--link:hover .fact__more i { translate: 0 3px; }

  .contact-row:hover .contact-row__icon,
  a.contact-card:hover .contact-card__icon,
  .fact-contact:hover .fact-contact__icon,
  .footer-contact__link:hover .footer-contact__icon { transform: rotate(-10deg) scale(1.08); }

  .event-row:hover .event-row__thumb img { scale: 1.08; }
  .prog-teaser__preview:hover img { scale: 1.03; }
  .prog-page__zoom:hover img { scale: 1.015; }
  .gallery__btn:hover img { scale: 1.04; }
  .prog-page__zoom:hover .zoom-badge, .gallery__btn:hover .zoom-badge { opacity: 1; translate: none; }

  .faq__q button:hover .faq__icon { scale: 1.08; }
  .video-embed__play:hover .video-embed__icon { scale: 1.08; }
  .btn-close .i, .btn-close-round .i { transition: rotate .35s var(--ease-out); }
  .btn-close:hover .i, .btn-close-round:hover .i { rotate: 90deg; }
  .to-top:hover { translate: 0 -4px; }
  .to-top:hover .i { animation: nudge-up .7s var(--ease-out); }
}

@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.97); } }
@keyframes modal-out { to { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.22); }
  28% { transform: scale(1); }
  42% { transform: scale(1.12); }
  60% { transform: scale(1); }
}
@keyframes nudge-up { 0%, 100% { transform: none; } 40% { transform: translateY(-4px); } }

@media print {
  .site-header, .to-top, .skip-link, .modal { display: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .section--hero { padding-top: 12px; }
  .stat__value [aria-hidden="true"] { display: none; }
  .stat__value .sr-only { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; }
}

/* Transition douce d'une page à l'autre (navigateurs compatibles) */
@view-transition { navigation: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; transition-delay: 0s !important;
  }
  .js [data-reveal]:not(.is-in) { opacity: 1; }
  @view-transition { navigation: none; }
}
