/* ══════════════════════════════════════════════════════════════
   ECW — Espace Convivial de Waterloo
   Refonte 2026 : quatre chapitres colorés, illustrations détourées,
   une seule famille (Hanken Grotesk), rayons 4px, une seule courbe.
   ══════════════════════════════════════════════════════════════ */

/* Hanken Grotesk (police variable 300–600), hébergée sur le site : aucune requête vers Google */
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('/assets/fonts/hanken-grotesk-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: 'Hanken Grotesk'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('/assets/fonts/hanken-grotesk-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: 'Hanken Grotesk'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('/assets/fonts/hanken-grotesk-cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('/assets/fonts/hanken-grotesk-vietnamese.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }

:root {
  --white:  #ffffff;
  --ink:    #1f3038;   /* encre / marine */
  --ink-2:  #4a5a61;
  --ink-3:  #66757b;  /* 4.8:1 sur blanc (AA) */
  --ink-deep: #13232a; /* texte sur bleu canard et sur survols (AA) */
  --line:   #d7dede;
  --paper:  #f2f5f5;

  --coral:   #f26d5f;
  --coral-h: #ee5d4e;
  --coral-d: #d9503f;
  --err:     #c0402f;
  --teal:    #4d9aa8;
  --teal-d:  #3a7a87;  /* 4.9:1 sur blanc (AA) */
  --olive:   #aeb02b;
  --olive-d: #7d7f1d;
  --navy:    #1f3038;
  --navy-h:  #273c46;
  --deep:    #013349;  /* fond du footer = fond de l'illustration */
  --bot:     #0b4a46;  /* vert du chatbot = bulle du personnage */
  --paint:   #2286fd;
  --paint-d: #1a6fd6;
  --mist:    #c9d3d6;  /* texte secondaire sur marine */
  --mist-2:  #9fb0b6;

  --f: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --r: 4px;
  --gut: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--f); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:where(a):hover { color: var(--teal-d); }
button { font: inherit; color: inherit; }
b, strong { font-weight: 600; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
::selection { background: var(--teal); color: var(--white); }

.site { overflow-x: clip; }
/* Navigateurs sans overflow: clip (Safari < 16) : on coupe au niveau de la fenêtre */
@supports not (overflow-x: clip) { body { overflow-x: hidden; } }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.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 { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 16px; background: var(--ink); color: var(--white); border-radius: var(--r); }
.skip:focus { top: 16px; color: var(--white); }

/* ── Typographie ────────────────────────────────────────────── */
.h-chap { font-weight: 300; font-size: clamp(52px, 7vw, 104px); line-height: .92; letter-spacing: -.05em; }
.h-sec { font-weight: 300; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -.025em; }
.h-big { font-weight: 300; font-size: clamp(36px, 4vw, 56px); line-height: 1.02; letter-spacing: -.035em; }
.lead { font-weight: 300; font-size: 20px; line-height: 1.45; }
.lead--lg { font-size: clamp(20px, 1.9vw, 24px); }
.txt { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.txt-18 { font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.txt-16 { font-size: 16px; line-height: 1.55; color: var(--ink-2); }

/* ── Boutons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 22px; border: 0; border-radius: var(--r);
  font-family: var(--f); font-weight: 500; font-size: 16px; line-height: normal;
  cursor: pointer; text-align: center; transition: background .2s, color .2s, border-color .2s;
}
.btn--lg { padding: 17px 24px; font-size: 17px; }
.btn--dark, .btn--primary { background: var(--ink); color: var(--white); }
.btn--dark:hover, .btn--primary:hover { background: var(--teal-d); color: var(--white); }
.btn--line { border: 2px solid var(--ink); padding: 13px 20px; color: var(--ink); background: transparent; }
.btn--line.btn--lg { padding: 15px 22px; }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--line-light { border: 2px solid var(--white); padding: 14px 22px; color: var(--white); background: transparent; }
.btn--line-light:hover { background: var(--white); color: var(--ink); }
.btn--coral { background: var(--coral); color: var(--ink); font-weight: 600; }
.btn--coral:hover { background: var(--coral-h); color: var(--ink-deep); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn--dark:disabled:hover { background: var(--ink); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ══════════════════════════════════════════════════════════════
   HEADER — fixe, une ligne ; burger sous 900px
   ══════════════════════════════════════════════════════════════ */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: background .3s, box-shadow .3s;
}
.hdr__in {
  max-width: 1280px; margin: 0 auto; padding: 12px var(--gut);
  display: flex; align-items: center; gap: 24px; transition: padding .3s;
}
.hdr__logo { display: block; flex: none; }
.hdr__logo img { height: 40px; width: auto; transition: height .3s; }
.hdr__nav { flex: 1 1 auto; display: flex; justify-content: center; gap: 2px; white-space: nowrap; font-weight: 500; font-size: 15px; }
.hdr__nav a { padding: 10px 12px 8px; border-bottom: 3px solid transparent; transition: border-color .3s; }
.hdr__right { display: flex; align-items: center; gap: 18px; font-weight: 500; font-size: 15px; white-space: nowrap; }
.hdr__lang { color: var(--ink-2); }
.hdr__tel { font-variant-numeric: tabular-nums; }
.hdr__cta {
  background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: var(--r);
  min-width: 180px; text-align: center; font-size: 15px; transition: padding .3s, background .2s;
}
.hdr__cta:hover { background: var(--teal-d); color: var(--white); }
.hdr__burger { display: none; }
.hdr-space { height: 68px; }  /* hauteur du header (ajustée en JS) : le header compact ne fait pas bouger la page */
.hdr__bar { height: 4px; background: var(--line); transition: background .35s, height .3s; }

.hdr.is-compact { background: rgba(255,255,255,.88); box-shadow: 0 8px 24px -18px rgba(31,48,56,.35); }
.hdr.is-compact .hdr__in { padding: 6px var(--gut); }
.hdr.is-compact .hdr__logo img { height: 30px; }
.hdr.is-compact .hdr__cta { padding: 9px 14px; font-size: 14px; }
.hdr.is-compact .hdr__bar { height: 2px; }

/* Page courante : soulignement + barre de la couleur du chapitre */
.hdr[data-chapter="aide"] .hdr__bar { background: var(--coral); }
.hdr[data-chapter="etudiants"] .hdr__bar { background: var(--teal); }
.hdr[data-chapter="aider"] .hdr__bar { background: var(--olive); }
.hdr[data-chapter="asbl"] .hdr__bar { background: var(--navy); }
.hdr__nav [data-nav="aide"][aria-current] { border-bottom-color: var(--coral); }
.hdr__nav [data-nav="etudiants"][aria-current] { border-bottom-color: var(--teal); }
.hdr__nav [data-nav="aider"][aria-current] { border-bottom-color: var(--olive); }
.hdr__nav [data-nav="asbl"][aria-current] { border-bottom-color: var(--navy); }

@media (max-width: 1199.98px) { .hdr__lang, .hdr__tel { display: none; } }
@media (max-width: 1023.98px) { .hdr__cta { min-width: 0; } .hdr__nav a { padding-left: 9px; padding-right: 9px; } }

/* Sous 900px : logo + burger, tout le reste dans le menu */
@media (max-width: 899.98px) {
  .hdr__in { padding: 6px 4px 6px var(--gut); justify-content: space-between; }
  .hdr__logo img { height: 32px; }
  .hdr.is-compact .hdr__in { padding: 4px 4px 4px var(--gut); }
  .hdr.is-compact .hdr__logo img { height: 28px; }
  .hdr__nav, .hdr__right { display: none; }
  .hdr__burger {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px;
    width: 48px; height: 48px; border: 0; background: none; cursor: pointer; color: var(--ink);
  }
  .hdr__burger span { display: block; width: 24px; height: 2px; border-radius: 2px; background: currentColor; }
  .hdr-space { height: 64px; }
}

/* Menu plein écran : aplat marine, grands intitulés séparés par des filets */
.menu {
  position: fixed; inset: 0; z-index: 60; overflow-y: auto; overscroll-behavior: contain;
  background: var(--navy); color: var(--white); display: flex; flex-direction: column;
  padding: 0 var(--gut) 0;
}
.menu a { color: inherit; }
.menu a:hover { color: var(--white); }
.menu__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.menu__logo img { height: 32px; width: auto; }
.menu__close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--white); color: var(--navy); cursor: pointer; }
.menu__nav { display: flex; flex-direction: column; margin-top: clamp(8px, 3vh, 32px); border-top: 1px solid rgba(255,255,255,.18); }
.menu__item {
  display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.18);
  font-weight: 300; font-size: clamp(28px, 8.3vw, 40px); white-space: nowrap; line-height: 1.05; letter-spacing: -.04em;
}
.menu__dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.menu__label { flex: 1; }
.menu__arrow { flex: none; color: rgba(255,255,255,.55); transition: transform .35s var(--ease), color .2s; }
.menu__item:hover .menu__arrow, .menu__item:active .menu__arrow { transform: translate(3px, -3px); color: var(--white); }
.menu__item[aria-current] .menu__label { text-decoration: underline; text-decoration-color: var(--c); text-underline-offset: 7px; text-decoration-thickness: 2px; }
.menu__more { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; margin-top: 16px; font-size: 15px; color: var(--mist); }
.menu__more a { padding: 11px 0; }
.menu__info { display: flex; flex-direction: column; margin-top: auto; padding: 20px 0 16px; font-size: 15px; color: var(--mist-2); }
.menu__info a { padding: 6px 0; }
.menu__info a:not(:first-child) { padding: 11px 0; }
.menu__info a:first-child { font-weight: 300; font-size: 26px; letter-spacing: -.02em; color: var(--white); }
.menu__cta {
  position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between;
  margin: 0 calc(-1 * var(--gut)); padding: 20px var(--gut) calc(20px + env(safe-area-inset-bottom));
  background: var(--coral); color: var(--ink) !important; font-weight: 500; font-size: 18px;
  box-shadow: 0 -16px 24px -8px var(--navy);
}
.menu__cta span { font-size: 24px; }
@media (prefers-reduced-motion: no-preference) {
  .menu:not([hidden]) { animation: menu-in .4s var(--ease); }
  .menu:not([hidden]) .menu__item, .menu:not([hidden]) .menu__more, .menu:not([hidden]) .menu__info { animation: menu-item .6s var(--ease) backwards; }
  .menu:not([hidden]) .menu__item:nth-child(1) { animation-delay: .06s; }
  .menu:not([hidden]) .menu__item:nth-child(2) { animation-delay: .12s; }
  .menu:not([hidden]) .menu__item:nth-child(3) { animation-delay: .18s; }
  .menu:not([hidden]) .menu__item:nth-child(4) { animation-delay: .24s; }
  .menu:not([hidden]) .menu__more { animation-delay: .3s; }
  .menu:not([hidden]) .menu__info { animation-delay: .36s; }
  @keyframes menu-in { from { opacity: 0; } }
  @keyframes menu-item { from { opacity: 0; transform: translateY(14px); } }
}
@media (min-width: 900px) { .menu { display: none; } }

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.hero { max-width: 1440px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) clamp(12px, 2vw, 24px) 0; }
.hero__grid {
  max-width: 1184px; margin: 0 auto; padding: 0 clamp(8px, 2vw, 24px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 32px 72px; align-items: end;
}
.hero__title { font-weight: 300; font-size: clamp(48px, 6.4vw, 92px); line-height: .96; letter-spacing: -.05em; text-wrap: balance; }
.hero__side { display: flex; flex-direction: column; gap: 24px; padding-bottom: 8px; }
.hero__lead { font-weight: 300; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; color: var(--ink-2); max-width: 30em; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 4px; font-size: 15px; color: var(--ink-2); }
.hero__facts b { color: var(--ink); }
.hero__art { width: 100%; margin-top: clamp(24px, 4vw, 56px); }
@media (min-width: 900px) {
  .hero {
    display: flex; flex-direction: column;
    height: calc(100vh - var(--hdr-h, 72px)); height: calc(100svh - var(--hdr-h, 72px));
    min-height: 480px; max-height: 1040px; padding-top: clamp(20px, 5vh, 72px);
  }
  .hero__grid { flex: none; grid-template-columns: 1fr 1fr; gap: 24px clamp(32px, 5vw, 72px); }
  .hero__title { font-size: clamp(44px, min(5vw, 8vh), 84px); }
  .hero__side { gap: clamp(14px, 2.4vh, 24px); }
  /* le hamac occupe la hauteur restante, sans jamais être coupé */
  .hero__art { flex: 1 1 0; min-height: 0; height: 0; width: 100%; object-fit: contain; object-position: center bottom; margin-top: clamp(12px, 3vh, 40px); }
}
@media (min-width: 900px) and (max-width: 1199.98px) {
  .hero .btn--lg { padding: 14px 18px; font-size: 16px; }
  .hero .btn--line.btn--lg { padding: 12px 16px; }
}

/* ══════════════════════════════════════════════════════════════
   PORTES D'ENTRÉE — trois bandes pleine largeur
   ══════════════════════════════════════════════════════════════ */
.doors { display: flex; flex-direction: column; }
.door { position: relative; display: block; overflow: hidden; color: var(--ink-deep); transition: background .2s; }
.door:hover { color: var(--ink-deep); }
.door--coral { background: var(--coral); } .door--coral:hover { background: var(--coral-h); }
.door--teal { background: var(--teal); } .door--teal:hover { background: #4592a0; }
.door--olive { background: var(--olive); } .door--olive:hover { background: #a4a624; }
.door--navy { background: var(--navy); color: var(--white); } .door--navy:hover { background: var(--navy-h); color: var(--white); }
.door__in { max-width: 1280px; margin: 0 auto; padding: 30px var(--gut); display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; min-height: 150px; }
.door__title { flex: 1 1 360px; font-weight: 300; font-size: clamp(32px, 4.2vw, 56px); line-height: 1; letter-spacing: -.035em; }
.door__desc { flex: 1 1 240px; font-size: 18px; line-height: 1.45; }
/* Illustration et flèche centrées verticalement dans la bande, sans toucher les bords */
.door__end { flex: 0 0 auto; margin-left: auto; display: flex; align-items: center; gap: 24px; align-self: center; }
.door__arrow { font-weight: 300; font-size: 44px; line-height: 1; align-self: center; }
.door--coral .door__end img { width: clamp(110px, 14vw, 160px); }
.door--teal .door__end img { width: clamp(120px, 15vw, 170px); }
.door--olive .door__end img { width: clamp(130px, 16vw, 180px); }
.door--navy .door__end img { width: clamp(120px, 15vw, 170px); }

/* ══════════════════════════════════════════════════════════════
   BANDES DE CHAPITRE + CHIPS
   ══════════════════════════════════════════════════════════════ */
.chap { color: var(--ink); }
.chap--coral { background: var(--coral); }
.chap--olive { background: var(--olive); }
.chap--navy { background: var(--navy); color: var(--white); }
.chap__in {
  max-width: 1280px; margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--gut) clamp(40px, 5vw, 64px);
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 10px 14px; display: flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--ink); border-radius: var(--r); background: transparent; cursor: pointer;
  font-family: var(--f); font-weight: 500; font-size: 15px; line-height: normal; white-space: nowrap; color: var(--ink);
  transition: background .2s, color .2s;
}
.chip:hover { background: var(--ink); color: var(--white); }
.chip svg { flex: none; }
.chap--navy .chip { border-color: var(--white); color: var(--white); }
.chap--navy .chip:hover { background: var(--white); color: var(--ink); }

/* ══════════════════════════════════════════════════════════════
   BESOIN D'AIDE
   ══════════════════════════════════════════════════════════════ */
/* Titre puis texte, jamais de texte à droite d'un titre */
.epi { display: flex; flex-direction: column; gap: 24px; padding: clamp(56px, 7vw, 96px) 0 0; }
.epi__body { display: flex; flex-direction: column; gap: 16px; max-width: 42em; }
.epi__body .lead { font-size: 21px; }
.epi__key { font-size: 17px; line-height: 1.65; font-weight: 500; }

.svc { display: flex; flex-direction: column; gap: 16px; padding: 56px 0 40px; }
.svc p { max-width: 42em; }
.arches { position: relative; margin-top: 8px; }
.svc-art { width: 100%; }
/* Le sol sur lequel marchent les personnages continue jusqu'aux bords de l'écran (sans animation) */
.arches::before, .arches::after { content: ""; position: absolute; top: 98.58%; height: .9%; width: 100vw; background: #06111f; }
.arches::before { right: 99.9%; }
.arches::after { left: 99.9%; }
.domains { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 32px 20px; margin-top: 4px; }
.domains li { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 4px solid var(--c); }
.domains h3 { font-weight: 500; font-size: 20px; letter-spacing: -.015em; }
.domains p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.domains p + p { margin-top: 4px; }
.domains__end { max-width: 38em; margin-top: 56px; font-size: 21px; }
/* Textes plus longs : une seule colonne sur téléphone, pour une lecture confortable */
@media (min-width: 1100px) { .domains { grid-template-columns: repeat(6, 1fr); } }        /* un domaine sous chaque arche */
@media (min-width: 720px) and (max-width: 1099.98px) { .domains { grid-template-columns: repeat(3, 1fr); gap: 40px 28px; } }
@media (min-width: 560px) and (max-width: 719.98px) { .domains { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 559.98px) { .domains { grid-template-columns: 1fr; gap: 28px; } .domains p { font-size: 16px; } }

.flow { padding-top: clamp(72px, 8vw, 112px); }
.flow__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 48px 80px; align-items: start; }
.flow__head { position: sticky; top: 130px; display: flex; flex-direction: column; gap: 16px; }
.flow__head p { max-width: 26em; }
.flow__head img { width: min(100%, 420px); margin-top: 16px; }
/* Une seule colonne : plus de sticky (sinon les étapes glissent sous l'illustration) */
@media (max-width: 975px) { .flow__head { position: static; } }
.steps { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.steps li { display: flex; flex-wrap: wrap-reverse; gap: 16px 24px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); }
.steps__txt { flex: 1 1 260px; display: flex; flex-direction: column; gap: 8px; }
.steps h3 { font-weight: 400; font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.025em; line-height: 1.1; }
.steps__meta { font-size: 14px; color: var(--ink-3); }
.steps img { flex: 0 0 150px; width: 150px; max-height: 140px; object-fit: contain; object-position: left bottom; }
.note { margin-top: 32px; padding: 20px 24px; background: var(--paper); border-radius: var(--r); font-size: 18px; line-height: 1.5; }

.rdv { padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(48px, 6vw, 80px); }
/* Texte + illustration en haut, calendrier en pleine largeur dessous : Cal y affiche
   sa mise en page en colonnes (infos · mois · créneaux), compacte, sans rien couper */
.rdv__grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.rdv__txt { display: grid; grid-template-columns: minmax(0, 38em) auto; justify-content: space-between; align-content: start; gap: 16px 64px; }
.rdv__txt > :not(img) { grid-column: 1; }
.rdv__txt img { grid-column: 2; grid-row: 1 / span 4; align-self: end; }
.rdv__txt a { font-weight: 600; color: var(--ink); }
.rdv__txt a:hover { color: var(--teal-d); }
.rdv__addr { text-decoration: underline; text-underline-offset: 3px; }
.rdv__txt img { width: 220px; }
.rdv__cal { background: var(--white); }  /* Cal dessine son propre cadre */
.rdv__cal { min-height: 560px; }
/* Le script Cal ajuste lui-même la hauteur du calendrier à son contenu (date, créneaux, formulaire) */
.rdv__cal iframe { width: 100%; border: 0; display: block; }
.rdv__cal noscript iframe { height: 760px; }

/* ══════════════════════════════════════════════════════════════
   ÉTUDIANT·E
   ══════════════════════════════════════════════════════════════ */
.etu { background: var(--teal); color: var(--ink-deep); overflow: hidden; }
.etu__in { padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(72px, 9vw, 120px); }
.etu__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px 72px; align-items: center; }
.etu__main { display: flex; flex-direction: column; gap: 28px; }
.etu__main .lead { font-size: clamp(20px, 1.9vw, 24px); max-width: 28em; }
.etu__steps { display: flex; flex-direction: column; border-top: 1px solid rgba(31,48,56,.35); }
.etu__steps li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid rgba(31,48,56,.35); }
.etu__steps b { font-weight: 300; font-size: 34px; line-height: 1; }
.etu__steps div { display: flex; flex-direction: column; gap: 4px; }
.etu__steps div span:first-child { font-size: 20px; font-weight: 500; line-height: 1.3; }
.etu__steps div span:last-child { font-size: 16px; line-height: 1.45; }
.etu__side { display: flex; flex-direction: column; align-items: center; }
.etu__side > img { width: min(100%, 420px); position: relative; z-index: 1; margin-bottom: -14px; }
.etu__card { width: 100%; max-width: 480px; background: var(--white); border-radius: var(--r); padding: 32px; scroll-margin-top: 140px; display: flex; flex-direction: column; gap: 16px; }
.etu__date { font-weight: 300; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; letter-spacing: -.02em; }
.etu__date b { font-weight: 500; }
.etu__card .btn { margin-top: 6px; width: 100%; }
.etu__card .etu__share { margin-top: -6px; }
.etu__open { font-size: 15px; line-height: 1.5; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.etu__open b { font-weight: 500; color: var(--ink); }
.etu__rule { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.etu__note { font-size: 15px; font-weight: 500; color: var(--teal-d); margin-top: -8px; }
.etu__places { font-size: 15px; line-height: 1.5; padding: 10px 14px; border-radius: var(--r); background: #e8f2f4; }
.etu__places b { font-weight: 600; }
.etu__places.is-complet { background: #fbe1dc; }
.etu__annule { font-size: 14px; line-height: 1.5; color: var(--ink-2); padding-top: 12px; border-top: 1px solid var(--line); }
.sform__piege { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sform__agenda { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 20px; }

/* ══════════════════════════════════════════════════════════════
   ENVIE D'AIDER — bénévoles, dons, lutins
   ══════════════════════════════════════════════════════════════ */
.benev__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 40px 64px; padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 8vw, 112px); align-items: center; }
.benev__grid > img { width: min(100%, 440px); justify-self: center; }
.benev__txt { display: flex; flex-direction: column; gap: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { border: 1px solid var(--line); border-radius: var(--r); padding: 8px 12px; font-size: 15px; font-weight: 500; }
.benev__txt .btns { margin-top: 8px; }

.don { background: var(--navy); color: var(--white); }
.don__in { padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.don__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px 72px; align-items: stretch; }
.don__main { display: flex; flex-direction: column; gap: 20px; }
.don__main .lead { color: var(--mist); line-height: 1.5; max-width: 24em; }
.don__free { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 32px; align-items: flex-start; }
.don__free span { font-size: 14px; color: var(--mist-2); }
.amounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.18); border-radius: var(--r); overflow: hidden; }
.amount { background: var(--navy); padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; color: var(--white); min-height: 220px; transition: background .2s; }
.amount:hover { background: var(--navy-h); color: var(--white); }
.amount__sum { font-weight: 300; font-size: 56px; line-height: 1; letter-spacing: -.04em; color: var(--c); }
.amount__what { font-size: 16px; line-height: 1.5; color: var(--mist); flex: 1; }
.amount__cta { font-weight: 500; font-size: 16px; }
/* Le don en nature ferme la colonne de gauche, à hauteur de la grille des montants */
.don__nature { margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); display: flex; flex-direction: column; gap: 8px; max-width: 26em; }
.don__nature h3 { font-weight: 400; font-size: 22px; letter-spacing: -.02em; }
.don__nature p { font-size: 16px; line-height: 1.55; color: var(--mist); }
.don__nature a { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }

.lutins { padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(72px, 9vw, 120px); }
.lutins__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 40px 64px; align-items: center; }
.lutins__txt { display: flex; flex-direction: column; gap: 22px; }
.lutins__txt h2 { font-weight: 300; font-size: clamp(40px, 5vw, 68px); line-height: 1; letter-spacing: -.04em; }
.lutins__txt .lead { color: var(--ink-2); }
.lutins__steps { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.lutins__steps li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; line-height: 1.45; }
.lutins__steps b { font-weight: 300; font-size: 28px; line-height: 1; color: var(--coral-d); }
.lutins__txt .btn { align-self: flex-start; }
.ribbon-art { position: relative; width: min(100%, 560px); justify-self: center; container-type: inline-size; }
.ribbon-art img { position: relative; z-index: 1; width: 100%; }
/* Le ruban sort de derrière le cadeau rouge et file jusqu'au bord de l'écran (bande de largeur constante) */
.ribbon { position: absolute; z-index: 0; left: 91%; top: calc(89% - 15cqw); width: 100vw; height: 30cqw; overflow: visible; }
.ribbon path { fill: none; stroke-width: 7cqw; stroke-linecap: butt; vector-effect: non-scaling-stroke; }
.ribbon__band { stroke: #ef4a2c; }
.ribbon__back { stroke: #c22d1a; }

/* ══════════════════════════════════════════════════════════════
   QUI SOMMES-NOUS — histoire, frise, temps forts, gazette
   ══════════════════════════════════════════════════════════════ */

.paint { position: relative; width: min(88%, 760px); margin-top: 24px; }
.paint img { width: 100%; }
/* la ligne bleue du rouleau est prolongée jusqu'au bord de l'écran */
.paint__line { position: absolute; left: 99.5%; width: 100vw; top: 75.9%; height: 4%; background: var(--paint); }
.years { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); margin: 32px 0 clamp(72px, 8vw, 112px); }
.years li { padding: 0 16px 0 0; display: flex; flex-direction: column; gap: 6px; }
.years b { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 22px; letter-spacing: -.01em; color: var(--paint-d); }
.years b::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--paint); flex: none; }
.years span { font-size: 15px; line-height: 1.45; color: var(--ink-2); }

.moments { background: var(--paper); }
.moments__in { padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.moments__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.moments__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.moment { background: var(--white); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.moment__art { height: 280px; background: var(--c); display: flex; align-items: flex-end; justify-content: center; padding: 24px 24px 0; }
.moment__art img { width: auto; height: auto; max-width: 100%; max-height: 100%; }
.moment__body { flex: 1; padding: 24px 26px 30px; display: flex; flex-direction: column; gap: 10px; }
.moment__cta { align-self: flex-start; margin-top: 8px; }
.moment h3 { font-weight: 500; font-size: 22px; letter-spacing: -.015em; }

.gaz { padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(72px, 9vw, 120px); }
.gaz__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 48px 72px; align-items: center; }
.gaz__art { position: relative; display: flex; justify-content: flex-start; padding: 12px 0 0; }
/* Les deux numéros : le N°2 devant, le N°1 qui dépasse derrière */
.gaz__covers { position: relative; width: min(70%, 340px); }
.gaz__cover { position: relative; z-index: 1; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; transform: rotate(-3deg); transition: transform .5s var(--ease); }
.gaz__cover--back { position: absolute; z-index: 0; top: 0; left: 0; transform: translate(34%, -6px) rotate(5deg); }
.gaz__cover--back img { filter: brightness(.96); }
@media (hover: hover) {
  .gaz__cover:hover { transform: rotate(-2deg) translateY(-4px); }
  .gaz__cover--back:hover { transform: translate(36%, -12px) rotate(6deg); }
}
.gaz__cover img { width: 100%; border-radius: 2px; box-shadow: 0 30px 60px -30px rgba(31,48,56,.5); }
.gaz__hint { display: none; }
.gaz__reader { position: absolute; width: min(56%, 300px); right: 0; bottom: -24px; pointer-events: none; }
.gaz__txt { display: flex; flex-direction: column; gap: 20px; }
.gaz__txt .btns { margin-top: 4px; }

/* ══════════════════════════════════════════════════════════════
   CARTE QUESTION + FOOTER
   ══════════════════════════════════════════════════════════════ */
.ask { position: relative; z-index: 3; margin-bottom: -72px; }
/* Les pages finissent sur un aplat (portes, temps forts) : la carte garde de l'air au-dessus */
.ask { margin-top: clamp(56px, 7vw, 96px); }
.ask__card {
  background: var(--coral); color: var(--ink); border-radius: var(--r);
  padding: clamp(28px, 3.5vw, 44px) clamp(24px, 3.5vw, 48px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px;
  box-shadow: 0 24px 48px -28px rgba(1,51,73,.6);
}
.ask__card h2 { font-weight: 300; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; max-width: 14em; }
.ask__card .btn--dark:hover { background: var(--deep); }

.foot { position: relative; background: var(--deep); color: var(--white); overflow: hidden; margin: 0 clamp(8px, 1.5vw, 20px) clamp(8px, 1.5vw, 20px); border-radius: clamp(12px, 1.6vw, 20px); }
/* Petits écrans : le personnage recadré, centré, juste sous la carte « Une question ? » (qui déborde de 72px) */
.foot__art { padding-top: 84px; }
.foot__art img { display: block; width: min(86%, 440px); height: auto; margin: 0 auto; }
.foot__in { position: relative; padding-top: 40px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 56px; }
.foot__intro { display: flex; flex-direction: column; gap: 28px; }
.foot__contact { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px 40px; }
.foot__contact a { font-weight: 300; font-size: 22px; line-height: 1.25; letter-spacing: -.01em; color: var(--white); }
.foot__contact a:first-child { font-size: 30px; letter-spacing: -.02em; }
.foot__contact a:hover, .foot__cols a:hover, .foot__bottom a:hover { color: var(--white); }
.foot__contact a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.foot__ic, .foot__ct small { display: none; }
.foot__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 32px; font-size: 15px; }
.foot__col { display: flex; flex-direction: column; gap: 8px; }
.foot__col a { color: var(--mist); }
.foot__title { font-weight: 600; margin-bottom: 4px; padding-bottom: 8px; border-bottom: 3px solid var(--c); align-self: flex-start; color: var(--white); }
.foot__col a.foot__etu { margin-top: 10px; padding-top: 8px; border-top: 3px solid var(--teal); align-self: flex-start; font-weight: 600; color: var(--white); }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 20px; font-size: 14px; color: var(--mist-2); }
.foot__bottom a { color: var(--mist-2); }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (min-width: 1100px) {
  .ask__card { max-width: calc(100% - 560px); }
  .foot__art { position: absolute; top: 0; right: 0; height: 460px; padding: 0; overflow: visible; pointer-events: none; }
  .foot__art img { width: auto; height: 460px; max-width: none; object-fit: fill; }
  .foot__in { padding-top: 150px; }
  .foot__intro { max-width: calc(100% - 600px); min-height: 240px; }
}

/* ══════════════════════════════════════════════════════════════
   CHATBOT FAQ — personnage flottant, réponses pré-écrites
   ══════════════════════════════════════════════════════════════ */
.bot { position: fixed; right: 24px; bottom: 20px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; }
.bot.is-open:not(.is-mobile) { flex-direction: row; }
.bot > * { pointer-events: auto; }
.bot { transition: opacity .4s var(--ease), transform .4s var(--ease); }
/* Mobile, tout en haut : le personnage laisse le dessin du héro respirer */
.bot.is-away { opacity: 0; transform: translateY(12px); }
.bot.is-away > * { pointer-events: none; }
.bot__btn {
  position: relative; width: 96px; aspect-ratio: 293 / 400; border: 0; background: none; padding: 0; cursor: pointer;
  transition: width .45s var(--ease); filter: drop-shadow(0 14px 18px rgba(1,51,73,.28));
}
.bot.is-small:not(.is-open) .bot__btn { width: 60px; }
.bot__btn img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .25s; }
.bot__btn .bot__hello { opacity: 0; }
.bot__btn:hover .bot__idle, .bot.is-open .bot__idle { opacity: 0; }
.bot__btn:hover .bot__hello, .bot.is-open .bot__hello { opacity: 1; }
.bot.is-open:not(.is-mobile) .bot__btn { display: none; }
.bot__stand { display: none; border: 0; background: none; padding: 0; cursor: pointer; margin-bottom: -6px; }
.bot__stand img { height: 260px; width: auto; filter: drop-shadow(0 14px 18px rgba(1,51,73,.22)); }
.bot.is-open:not(.is-mobile) .bot__stand { display: block; }
.bot__win {
  width: min(380px, calc(100vw - 24px)); max-height: min(620px, calc(100vh - 200px)); max-height: min(620px, calc(100dvh - 200px));
  display: flex; flex-direction: column; background: var(--white); border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 70px -24px rgba(1,51,73,.45), 0 0 0 1px rgba(31,48,56,.08);
}
.bot__head { background: var(--bot); color: var(--white); padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bot__head div { display: flex; flex-direction: column; gap: 2px; }
.bot__head b { font-weight: 500; font-size: 17px; }
.bot__head span { font-size: 13px; color: #b9d3cf; }
.bot__close { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: var(--white); font-size: 20px; line-height: 1; cursor: pointer; flex: none; }
.bot__close:hover { background: rgba(255,255,255,.22); }
.bot__log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; background: #f7f9f9; }
.msg { display: flex; justify-content: flex-start; }
.msg--me { justify-content: flex-end; }
.msg__bubble { max-width: 86%; padding: 11px 14px; border-radius: 14px 14px 14px 4px; background: var(--white); color: var(--ink); font-size: 15px; line-height: 1.45; display: flex; flex-direction: column; gap: 8px; }
.msg--me .msg__bubble { background: var(--ink); color: var(--white); border-radius: 14px 14px 4px 14px; }
.msg__bubble a { align-self: flex-start; font-weight: 600; color: var(--bot); text-decoration: underline; text-underline-offset: 3px; }
.msg__typing { padding: 12px 16px; border-radius: 14px 14px 14px 4px; background: var(--white); box-shadow: 0 0 0 1px #e3e9ea; color: var(--ink-3); font-size: 18px; letter-spacing: 2px; }
.bot__foot { padding: 12px 14px 14px; border-top: 1px solid #e3e9ea; display: flex; flex-direction: column; gap: 10px; }
.bot__sugg { display: flex; flex-wrap: wrap; gap: 6px; }
.bot__sugg button { padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--bot); background: var(--white); color: var(--bot); font: 500 14px var(--f); cursor: pointer; text-align: left; transition: background .2s, color .2s; }
.bot__sugg button:hover { background: var(--bot); color: var(--white); }
.bot__foot p { font-size: 13px; color: var(--ink-3); }
.bot__foot p a { color: var(--ink); font-weight: 600; }
.bot__teaser { display: flex; align-items: center; gap: 6px; background: var(--white); color: var(--ink); padding: 10px 8px 10px 16px; border-radius: 14px 14px 4px 14px; font-size: 15px; font-weight: 500; box-shadow: 0 14px 34px -14px rgba(1,51,73,.45), 0 0 0 1px rgba(31,48,56,.08); }
.bot__teaser button { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.bot__teaser .bot__x { width: 28px; height: 28px; border-radius: 50%; background: var(--paper); color: var(--ink-2); font-size: 16px; line-height: 1; flex: none; }
@media (max-width: 719.98px) {
  .bot { right: 12px; bottom: calc(16px + env(safe-area-inset-bottom)); }
  .bot__btn { width: 70px; }
  .bot.is-small:not(.is-open) .bot__btn { width: 46px; }
}

/* ══════════════════════════════════════════════════════════════
   NOTRE HISTOIRE (page Qui sommes-nous)
   ══════════════════════════════════════════════════════════════ */
.hist__intro { display: flex; flex-direction: column; gap: 20px; padding-top: clamp(56px, 7vw, 96px); }
.hist__intro .lead { max-width: 34em; }
.legal { padding-bottom: clamp(48px, 6vw, 80px); }
.art-body.legal h2 { font-weight: 400; font-size: clamp(26px, 2.8vw, 32px); line-height: 1.15; letter-spacing: -.025em; color: var(--ink); margin-top: 24px; }
.art-body.legal h3 { font-weight: 500; font-size: 20px; letter-spacing: -.01em; color: var(--ink); margin-top: 4px; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.art-src { margin-top: 12px; font-size: 15px; color: var(--ink-3); }
#dates { padding-top: clamp(40px, 5vw, 64px); }
.art-photo { max-width: 1100px; margin: clamp(40px, 5vw, 64px) auto 0; padding: 0 var(--gut); display: flex; flex-direction: column; gap: 10px; position: relative; }
.art-photo div { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 8; background: var(--line); }
.art-photo img, .art-fig div img { width: 100%; height: 100%; object-fit: cover; }
.art-photo figcaption, .art-fig figcaption { font-size: 14px; color: var(--ink-3); }
.art-body { max-width: 720px; margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--gut) 0; display: flex; flex-direction: column; gap: 22px; font-size: 19px; line-height: 1.7; color: #33454d; }
.art-body h3 { font-weight: 400; font-size: clamp(28px, 3vw, 36px); line-height: 1.15; letter-spacing: -.025em; color: var(--ink); margin-top: 24px; }
.art-body h3:first-child { margin-top: 8px; }
.art-quote { margin: 16px 0; padding: 8px 0 8px 28px; border-left: 3px solid var(--c); display: flex; flex-direction: column; gap: 10px; }
.art-quote p { font-weight: 300; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.3; letter-spacing: -.02em; color: var(--ink); }
.art-quote cite { font-style: normal; font-size: 16px; color: var(--ink-2); }
.art-fig { margin: 20px 0; display: flex; flex-direction: column; gap: 10px; }
.art-fig div { border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; background: var(--line); }
.art-fig + h3 { margin-top: 8px; }

/* ══════════════════════════════════════════════════════════════
   MODALES (inscription étudiante, lutins)
   ══════════════════════════════════════════════════════════════ */
.smodal { position: fixed; inset: 0; z-index: 500; visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; display: flex; align-items: center; justify-content: center; padding: 24px; }
.smodal.is-open { visibility: visible; opacity: 1; }
.smodal__backdrop { position: absolute; inset: 0; background: rgba(31,48,56,.6); }
.smodal__dialog { position: relative; width: min(540px, 100%); max-height: 92vh; max-height: 92svh; overflow-y: auto; background: var(--white); border-radius: var(--r); padding: clamp(28px, 4vw, 40px); transform: translateY(12px); transition: transform .45s var(--ease); box-shadow: 0 30px 60px -20px rgba(31,48,56,.5); }
.smodal.is-open .smodal__dialog { transform: none; }
.smodal__close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); cursor: pointer; transition: background .2s, color .2s; }
.smodal__close:hover { background: var(--ink); color: var(--white); }
.smodal__progress { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--paper); }
.smodal__progress-fill { height: 100%; width: 0; background: var(--teal); transition: width .3s var(--ease); }
.sform__step { display: none; }
.sform__step.is-active { display: block; }
.sform__kicker { font-size: 15px; color: var(--ink-2); margin-bottom: 6px; }
.sform__title { font-size: clamp(28px, 3.5vw, 34px); font-weight: 300; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 20px; padding-right: 48px; }
.sform__lead { color: var(--ink-2); margin-bottom: 24px; line-height: 1.55; }
.sform__date { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--paper); border-radius: var(--r); font-weight: 500; margin-bottom: 24px; }
.sform__rules { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.sform__rules li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.sform__rule-tag { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 8px; background: var(--ink); color: var(--white); border-radius: var(--r); font-weight: 500; font-size: 13px; }
.sform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sform__group { margin-bottom: 18px; }
.sform__label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.sform__label-hint { font-weight: 400; color: var(--ink-3); font-size: 13px; margin-left: 4px; }
.sform__input { width: 100%; padding: 13px 14px; border: 2px solid var(--line); border-radius: var(--r); background: var(--white); font: 16px var(--f); color: var(--ink); }
.sform__input:focus { outline: 0; border-color: var(--ink); }
.sform__input--error { border-color: var(--err); }
.sform__radios { display: flex; flex-wrap: wrap; gap: 8px; }
.sform__radio.sform__radio--wide { flex-basis: 100%; }
.sform__radio { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; padding: 13px; border: 2px solid var(--line); border-radius: var(--r); cursor: pointer; font-weight: 500; }
.sform__radio input { position: absolute; opacity: 0; }
.sform__radio:has(input:checked) { background: var(--ink); color: var(--white); border-color: var(--ink); }
.sform__radio:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.sform__radios.sform__radio-group--error { outline: 2px solid var(--err); outline-offset: 2px; }
.sform__stepper { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: var(--r); }
.sform__stepper-btn { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 20px; border: 0; background: none; cursor: pointer; }
.sform__stepper-btn:hover:not(:disabled) { background: var(--paper); }
.sform__stepper-btn:disabled { opacity: .3; cursor: not-allowed; }
.sform__stepper-val { min-width: 40px; text-align: center; font-weight: 500; }
.sform__check { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 16px; background: var(--paper); border-radius: var(--r); margin-bottom: 24px; font-size: 15px; line-height: 1.5; cursor: pointer; }
.sform__check input { margin-top: 3px; accent-color: var(--ink); width: 18px; height: 18px; }
.sform__check.sform__checkbox--error { outline: 2px solid var(--err); }
.sform__nav { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.sform__nav .btn { flex: 1; }
.sform__step > .btn { width: 100%; }
.sform__privacy { font-size: 13px; line-height: 1.5; color: var(--ink-3); margin: -8px 0 16px; }
.sform__privacy a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.sform__error { font-size: 15px; color: var(--err); margin: -6px 0 16px; font-weight: 600; }
.sform__success { text-align: center; padding: 16px 0; }
.sform__success .sform__title { padding: 0; }
.sform__success-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--teal); color: var(--white); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.sform__success-date { font-weight: 500; font-size: 18px; margin-bottom: 12px; }
.sform__success-note { color: var(--ink-2); margin-bottom: 28px; line-height: 1.55; }
@media (max-width: 560px) {
  .smodal { padding: 0; align-items: flex-end; }
  .smodal__dialog { max-height: 96vh; max-height: 96svh; padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .sform__row { grid-template-columns: 1fr; gap: 0; }
}

/* ══════════════════════════════════════════════════════════════
   LECTEUR GAZETTE (PDF.js + StPageFlip)
   ══════════════════════════════════════════════════════════════ */
.reader { position: fixed; inset: 0; z-index: 600; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.reader.is-open { visibility: visible; opacity: 1; }
.reader__backdrop { position: absolute; inset: 0; background: rgba(1,30,43,.97); }
.reader__shell { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; padding: 16px clamp(16px, 3vw, 32px) 12px; color: var(--white); }
.reader__head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-bottom: 12px; }
.reader__brand { display: flex; flex-direction: column; justify-self: start; }
.reader__kicker { font-size: 13px; opacity: .6; }
.reader__title { font-weight: 500; font-size: 16px; }
.reader__indicator { justify-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: var(--r); font-weight: 500; font-size: 14px; font-variant-numeric: tabular-nums; }
.reader__indicator-sep { opacity: .4; }
.reader__toolbar { display: flex; gap: 6px; justify-self: end; }
.reader__tool, .reader__close { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.25); border-radius: var(--r); background: none; color: var(--white); cursor: pointer; transition: background .2s, color .2s; }
.reader__tool:hover { background: rgba(255,255,255,.12); color: var(--white); }
.reader__close:hover { background: var(--coral); border-color: var(--coral); color: var(--ink); }
.reader__stage { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 8px; }
.reader__spread { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.reader__book { position: relative; cursor: grab; }
.reader__book:active { cursor: grabbing; }
.reader__book .rpage { background: var(--white); overflow: hidden; }
.reader__book .rpage canvas { display: block; width: 100%; height: 100%; object-fit: contain; }
.reader__book .rpage--loading { background: #eef2f2; }
.reader__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.3); border-radius: var(--r); background: none; color: var(--white); z-index: 2; cursor: pointer; transition: background .2s, color .2s; }
.reader__nav--prev { left: clamp(8px, 2vw, 24px); }
.reader__nav--next { right: clamp(8px, 2vw, 24px); }
.reader__nav:hover:not(:disabled) { background: var(--white); color: var(--ink); }
.reader__nav:disabled { opacity: .3; cursor: not-allowed; }
.reader__loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 3; pointer-events: none; }
.reader__spinner { width: 34px; height: 34px; border: 3px solid rgba(255,255,255,.2); border-top-color: var(--white); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.reader__thumbs { display: flex; gap: 8px; justify-content: center; overflow-x: auto; padding: 12px 4px 4px; scrollbar-width: none; }
.reader__thumbs::-webkit-scrollbar { display: none; }
.reader__thumb { position: relative; flex: none; padding: 3px; border: 2px solid transparent; border-radius: var(--r); background: none; cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; }
.reader__thumb canvas { display: block; height: 68px; width: auto; min-width: 48px; background: var(--white); }
.reader__thumb span { position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); font-size: 11px; opacity: .6; }
.reader__thumb:hover { opacity: .9; }
.reader__thumb.is-active { opacity: 1; border-color: var(--coral); }
.reader__footer { text-align: center; padding-top: 22px; }
.reader__hint { font-size: 12px; opacity: .5; }
@media (max-width: 700px) {
  .reader__shell { padding: 12px 12px calc(12px + env(safe-area-inset-bottom)); }
  .reader__head { grid-template-columns: auto 1fr auto; gap: 10px; }
  .reader__brand .reader__title { display: none; }
  .reader__nav { width: 44px; height: 44px; }
  .reader__nav--prev { left: 4px; } .reader__nav--next { right: 4px; }
  .reader__footer, .reader__thumbs { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

.lost { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(48px, 6vw, 80px); display: flex; flex-direction: column; gap: 20px; }
.lost .lead { max-width: 34em; color: var(--ink-2); }
.lost a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Bandes portes : au survol, l'illustration se soulève, la flèche avance */
.door__end img, .door__arrow { transition: transform .5s var(--ease); }
@media (hover: hover) {
  .door:hover .door__end img { transform: translateY(-4px); }
  .door:hover .door__arrow { transform: translateX(4px); }
}

/* Feuilleteur ou formulaire ouvert : le personnage du chatbot s'efface */
.smodal.is-open ~ .bot, .reader.is-open ~ .bot { visibility: hidden; }

/* Petits écrans : deux chips par ligne quand c'est possible */
@media (max-width: 420px) { .chip { padding: 10px 11px; gap: 7px; } }

/* ══════════════════════════════════════════════════════════════
   MOBILE — règles tactiles (Apple HIG 44pt, Material 48dp, WCAG 2.2)
   ══════════════════════════════════════════════════════════════ */
.rdv__open { display: none; }
/* Sous 900px, Cal empile tout (créneaux compris) : le bouton ouvre plutôt son calendrier en plein écran */
@media (max-width: 899.98px) {
  .rdv__open { display: flex; width: 100%; max-width: 420px; }
  .rdv__cal { display: none; }
}
@media (hover: none) {
  /* Retour visuel au toucher, puisqu'il n'y a pas de survol */
  .btn, .chip, .door, .amount, .bot__sugg button, .menu__item, .foot a { -webkit-tap-highlight-color: transparent; }
  .btn:active, .chip:active, .bot__sugg button:active { transform: scale(.97); }
  .btn, .chip, .bot__sugg button { transition: background .2s, color .2s, transform .15s; }
  .door:active { filter: brightness(.95); }
  .amount:active { background: var(--navy-h); }
}
.smodal__dialog { overscroll-behavior: contain; }
@media (max-width: 719.98px) {
  .chip { min-height: 44px; }
  .bot__close { width: 44px; height: 44px; }
  .bot__sugg button { min-height: 44px; padding: 10px 14px; font-size: 15px; }
  .bot__teaser .bot__x { width: 36px; height: 36px; }
  /* Calendrier replié : pas de cadre de 680px ni de piège de défilement en plein milieu */

  /* L'action d'abord, l'illustration ensuite */
  .rdv__grid { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
  .rdv__txt { display: contents; }
  .rdv__online { order: 2; margin-top: 8px; }
  .rdv__open { max-width: none; }
  .rdv__txt img { order: 3; margin-top: 24px; }
}

/* ══════════════════════════════════════════════════════════════
   MOBILE — composition écran par écran
   Chaque écran doit se comprendre seul ; les images vont bord à bord.
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 719.98px) {


  /* Images bord à bord (comme un post) */
  .hero__art, .svc-art, .flow__head img, .rdv__txt img, .etu__side > img,
  .benev__grid > img, .ribbon-art, .art-photo div, .art-fig div {
    width: calc(100% + 2 * var(--gut)); max-width: none; margin-left: calc(-1 * var(--gut)); margin-right: calc(-1 * var(--gut));
    border-radius: 0;
  }
  /* Dessins très hauts : la boîte reste pleine largeur, le dessin est contenu */
  .flow__head img, .benev__grid > img, .ribbon-art img, .rdv__txt img { height: auto; max-height: 400px; object-fit: contain; }
  .ribbon { display: none; }  /* dessin bord à bord : plus de place pour le ruban */

  /* Héro : titre, dessin, texte — les boutons sont déjà dans la barre du bas */
  .hero { display: flex; flex-direction: column; padding: 24px var(--gut) 0; }
  .hero__grid { display: contents; }
  .hero__title { order: 1; font-size: clamp(38px, 10.5vw, 48px); }
  .hero__art { order: 2; margin-top: 20px; }
  .hero__side { order: 3; padding: 24px 0 40px; gap: 20px; }
  /* Repères : deux encadrés alignés, sous le texte et avant les boutons */
  .hero__facts { order: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .hero__facts span { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; font-size: 14px; line-height: 1.35; }
  .hero__facts span + span { padding-left: 16px; border-left: 1px solid var(--line); }
  .hero__facts b { font-size: 17px; font-weight: 500; }
  .hero__side .btns { order: 2; flex-direction: column; }
  .hero__side .btns .btn { width: 100%; }

  /* Portes d'entrée : titre et texte à gauche, dessin et flèche à droite */
  .door__in { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "t e" "d e"; gap: 6px 12px; padding: 22px var(--gut); min-height: 0; align-items: center; }
  .door__title { grid-area: t; font-size: 32px; }
  .door__desc { grid-area: d; font-size: 16px; }
  .door__end { grid-area: e; margin: 0; gap: 8px; }
  .door--coral .door__end img { width: 92px; }
  .door--teal .door__end img { width: 100px; }
  .door--olive .door__end img { width: 104px; }
  .door--navy .door__end img { width: 100px; }
  .door__arrow { font-size: 32px; }

  /* Six domaines : accordéon, une ligne par domaine */
  .svc { padding-top: 40px; padding-bottom: 24px; }
  .domains { grid-template-columns: 1fr; gap: 0; margin-top: 12px; }
  .domains li { padding-top: 0; gap: 0; }
  .domains li.is-acc p { padding-bottom: 8px; }
  .domains li.is-acc p:last-child { padding-bottom: 20px; }
  .domains li.is-acc:not(.is-open) p { display: none; }
  .domain__btn { all: unset; box-sizing: border-box; display: flex; width: 100%; min-height: 56px; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; font: 500 20px/1.2 var(--f); letter-spacing: -.015em; color: var(--ink); }
  .domain__btn::after { content: "+"; font-weight: 300; font-size: 30px; line-height: 1; transition: transform .35s var(--ease); }
  .domains li.is-open .domain__btn::after { transform: rotate(45deg); }
  .domain__btn:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
  .domains__end { margin-top: 32px; font-size: 19px; }

  /* Comment ça se passe : chaque étape devient un « post » (dessin puis texte) */
  .flow { padding-top: 56px; }
  .flow__head img { margin-top: 8px; }

  /* Étudiant·e : la carte (date + inscription) avant les étapes */
  .etu__in { padding-top: 56px; padding-bottom: 56px; }
  .etu__grid { display: flex; flex-direction: column; align-items: stretch; gap: 24px; }
  .etu__main { display: contents; }
  .etu__main > .h-chap { order: 1; }
  .etu__main > .lead { order: 2; margin-top: -8px; }
  .etu__side { order: 3; }
  .etu__steps { order: 4; }
  .etu__side > img { max-height: 320px; object-fit: contain; }
  .etu__card { padding: 24px; }

  /* Bénévoles */
  .benev__grid { padding-top: 32px; gap: 24px; }

  /* Don : les montants d'abord, en 2 × 2, puis le montant libre */
  .don__grid { display: flex; flex-direction: column; gap: 20px; }
  .don__main { display: contents; }
  .don__main > h2 { order: 1; }
  .don__main > .lead { order: 2; }
  .amounts { order: 3; grid-template-columns: 1fr 1fr; }
  .don__free { order: 4; margin-top: 4px; }
  .amount { min-height: 0; padding: 20px 16px 22px; gap: 8px; }
  .amount__sum { font-size: 40px; }
  .amount__what { font-size: 15px; line-height: 1.45; }
  .amount__cta { font-size: 15px; }
  .don__nature { order: 5; margin-top: 20px; }

  /* Rouleau collé à gauche pour garder la ligne jusqu'au bord droit */
  .paint { margin-left: calc(-1 * var(--gut)); width: calc(88% + var(--gut)); }

  /* Temps forts : chaque moment comme un post, couleur bord à bord */
  .moments__head { margin-bottom: 28px; }
  .moment__body { padding: 20px 0 32px; }

  /* Footer : contacts en lignes à toucher, liens sur deux colonnes */
  .foot { margin: 0; border-radius: 0; padding-bottom: env(safe-area-inset-bottom); }
  .foot__in { padding-top: 24px; gap: 36px; }
  .foot__contact { flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .foot__contact a.foot__c, .foot__contact a.foot__c:first-child { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 17px; font-weight: 400; letter-spacing: 0; }
  .foot__contact a.foot__c:hover { text-decoration: none; }
  .foot__c::after { content: "→"; margin-left: auto; color: var(--mist-2); }
  .foot__ic { display: flex; flex: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.1); }
  .foot__ct { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .foot__ct small { display: block; font-size: 13px; color: var(--mist-2); }
  /* Tous les liens à la suite, sur deux colonnes égales (le menu sert déjà de plan du site) */
  .foot__cols { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .foot__col { display: contents; }
  .foot__title { display: none; }
  .foot__col a, .foot__col a.foot__etu { margin: 0; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.1); font-weight: 400; color: var(--mist); align-self: stretch; }
  .foot__bottom { flex-direction: column; gap: 4px; }
  .foot__links { flex-direction: column; gap: 0; }
  .foot__links a { padding: 13px 0; }

  /* Article */
  .art-photo { padding: 0 var(--gut); }
  .art-photo figcaption, .art-fig figcaption { padding-top: 2px; }
}


/* ══════════════════════════════════════════════════════════════
   BIENVENUE — l'essentiel en 14 langues
   ══════════════════════════════════════════════════════════════ */
.bv { font-size: 17px; line-height: 1.55; }
.bv-hero { padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem; }
.bv-title { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 300; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
.bv-sub { margin-top: .75rem; color: var(--ink-2); max-width: 44rem; }
.bv-langs { display: flex; flex-wrap: wrap; gap: .45rem; padding: 1.5rem 0 2.5rem; }
.bv-langs a { padding: .7rem .9rem; border: 1px solid var(--line); border-radius: var(--r); font-weight: 500; font-size: .95rem; transition: background .2s, color .2s, border-color .2s; }
.bv-langs a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.lang { padding: 2.25rem 0; border-top: 1px solid var(--line); scroll-margin-top: 1.5rem; }
.lang h2 { font-size: 1.6rem; font-weight: 400; letter-spacing: -.02em; margin-bottom: .9rem; }
.lang p { max-width: 46rem; color: var(--ink-2); margin-bottom: .8rem; }
.lang .lang-contact { color: var(--ink); font-weight: 500; line-height: 1.7; }
.lang .lang-contact a { text-decoration: underline; text-underline-offset: 3px; }
.lang .btn { margin-top: .9rem; }
.lang-full { display: block; margin-top: 1rem; font-weight: 500; color: var(--teal-d); text-decoration: underline; text-underline-offset: 3px; }
.lang-full[hidden] { display: none; }
.lang[dir="rtl"] p, .lang[dir="rtl"] h2 { max-width: 46rem; }
.bv-note { padding: 2rem 0 3.5rem; color: var(--ink-3); font-size: .9rem; border-top: 1px solid var(--line); }


/* ══════════════════════════════════════════════════════════════
   BÉNÉVOLES — calendrier public (/benevoles/)
   ══════════════════════════════════════════════════════════════ */
.ben-intro { padding-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px 64px; align-items: start; }
.ben-etapes { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.ben-etapes li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ben-etapes b { font-weight: 300; font-size: 30px; line-height: 1; color: var(--olive-d); }
.ben-etapes div { display: flex; flex-direction: column; gap: 2px; }
.ben-etapes span:first-child { font-size: 18px; font-weight: 500; }
.ben-etapes span:last-child { font-size: 15px; color: var(--ink-2); }

.cal { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(56px, 7vw, 96px); scroll-margin-top: 80px; }
.cal__filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.cal__filtre { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); font: 500 15px var(--f); color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s; }
.cal__filtre i { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--ink)); }
.cal__filtre:hover { border-color: var(--ink); }
.cal__filtre.is-on { background: var(--ink); border-color: var(--ink); color: var(--white); }
.cal__grid { display: grid; grid-template-columns: minmax(300px, 380px) 1fr; gap: 40px; align-items: start; }
.cal__mois { position: sticky; top: 96px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.cal__nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal__titre { font-weight: 500; font-size: 18px; letter-spacing: 0; }
.cal__fl { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--paper); font-size: 18px; cursor: pointer; }
.cal__fl:disabled { opacity: .35; cursor: default; }
.cal__jours, .cal__cases { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__jours span { font-size: 12px; color: var(--ink-3); padding-bottom: 4px; }
.cal__case { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 8px; font-size: 15px; color: var(--ink-2); border: 0; background: none; font-family: var(--f); }
.cal__case.is-passe { color: #c2cbcd; }
.cal__case.has-cr { background: #eef0d4; color: var(--ink); font-weight: 600; cursor: pointer; transition: background .2s, transform .15s; }
.cal__case.has-cr:hover { background: #e2e5b8; }
.cal__case.has-cr.is-plein { background: var(--paper); color: var(--ink-3); }
.cal__case.is-choisi { background: var(--ink) !important; color: var(--white); }
.cal__pts { display: flex; gap: 2px; height: 6px; }
.cal__pts i { width: 6px; height: 6px; border-radius: 50%; }
.cal__legende { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.cal__liste-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.cal__titre-liste { font-weight: 300; font-size: clamp(26px, 2.6vw, 32px); letter-spacing: -.02em; }
.cal__tout { border: 0; background: none; font: 500 15px var(--f); color: var(--teal-d); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 10px 0; }
.cal__jour { margin: 24px 0 10px; font-size: 17px; font-weight: 600; color: var(--ink); }
.cal__jour:first-child { margin-top: 8px; }
.cal__vide { padding: 24px; border-radius: var(--r); background: var(--paper); color: var(--ink-2); }
.cal__aide { margin-top: 32px; font-size: 16px; color: var(--ink-2); }
.cal__aide a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.crn { position: relative; display: grid; grid-template-columns: 120px 1fr auto; gap: 16px 24px; align-items: center; padding: 18px 20px 18px 24px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.crn::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; border-radius: var(--r) 0 0 var(--r); background: var(--c); }
.crn__quand { display: flex; flex-direction: column; gap: 2px; font-size: 17px; font-variant-numeric: tabular-nums; }
.crn__quand span { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.crn__t { font-weight: 500; font-size: 19px; letter-spacing: -.01em; margin-bottom: 4px; }
.crn__quoi p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.crn__note { font-weight: 500; color: var(--ink) !important; }
.crn__action { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.crn__places { font-size: 14px; font-weight: 500; color: var(--olive-d); }
.crn__places.is-presque { color: var(--coral-d); }
.crn__places.is-complet { color: var(--ink-3); }
@media (max-width: 899.98px) {
  .hdr__logo { padding: 6px 0; }
  .cal__mois { padding: 14px 10px; }
  .cal__jours, .cal__cases { gap: 2px; }
  .cal__filtres { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scroll-snap-type: x proximity; }
  .cal__filtres::-webkit-scrollbar { display: none; }
  .cal__filtre { flex: none; scroll-snap-align: start; }
  .cal__grid { grid-template-columns: 1fr; gap: 28px; }
  .cal__mois { position: static; }
  .crn { grid-template-columns: 1fr; gap: 10px; }
  .crn__action { flex-direction: row; align-items: center; justify-content: space-between; }
}
.ben-recap { padding: 14px 16px; margin: -6px 0 20px; border-radius: var(--r); background: #eef0d4; font-size: 15px; line-height: 1.5; }
.ben-recap__c { margin-top: 6px; color: var(--ink-2); }
.ben-apercu { margin-top: 4px; }
.ben-apercu__t { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.ben-apercu ul { display: flex; flex-direction: column; gap: 6px; }
.ben-apercu a { display: flex; flex-direction: column; padding: 10px 14px 10px 16px; border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: var(--r); font-size: 15px; }
.ben-apercu a span { color: var(--ink-2); font-size: 14px; }

/* ══════════════════════════════════════════════════════════════
   AIDER — besoins du moment, jauge des lutins
   ══════════════════════════════════════════════════════════════ */
.besoins { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); }
.besoins__t { font-size: 15px; color: var(--mist); margin-bottom: 10px; }
.besoins__liste { display: flex; flex-wrap: wrap; gap: 8px; }
.besoins__liste li { padding: 8px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: var(--r); font-size: 15px; color: var(--white); }
.besoins__liste li span:not(.besoins__urgent) { color: var(--mist); }
.besoins__liste li.is-urgent { border-color: var(--coral); background: rgba(242,109,95,.14); }
.besoins__urgent { display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: 3px; background: var(--coral); color: var(--ink-deep); font-size: 12px; font-weight: 600; vertical-align: 1px; }
.besoins__partager { margin-top: 12px; min-height: 44px; padding: 0; border: 0; background: none; font: 500 15px var(--f); color: var(--white); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.jauge { display: flex; flex-direction: column; gap: 8px; }
.jauge__barre { height: 12px; border-radius: 6px; background: #fbe1dc; overflow: hidden; }
.jauge__barre span { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--coral); transition: width 1.2s var(--ease); }
.jauge__txt { font-size: 16px; color: var(--ink-2); }
.jauge__txt b { color: var(--ink); font-weight: 600; }

/* ══════════════════════════════════════════════════════════════
   AGENDA (accueil + /agenda/)
   ══════════════════════════════════════════════════════════════ */
.avenir { padding-top: clamp(48px, 6vw, 80px); }
.avenir__h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 20px; }
.avenir__tout, .agenda__lien, .soutiens__lien { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.agenda { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.agenda__item { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.agenda__date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: var(--r); background: var(--coral); color: var(--ink-deep); }
.agenda__date b { font-weight: 300; font-size: 30px; line-height: 1; }
.agenda__date span { font-size: 13px; font-weight: 600; text-transform: lowercase; }
.agenda__date--nouv { background: var(--paper); color: var(--ink-2); }
.agenda--passe .agenda__date { background: var(--paper); color: var(--ink-2); }
.agenda__titre { font-weight: 500; font-size: 20px; letter-spacing: -.01em; }
.agenda__meta { font-size: 14px; color: var(--ink-3); margin: 4px 0 8px; }
.agenda__txt p { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.agenda-page { padding-top: clamp(48px, 6vw, 80px); display: flex; flex-direction: column; gap: 28px; }
.agenda__sous { margin-top: 32px; }

/* ══════════════════════════════════════════════════════════════
   PARTENAIRES, IMPACT, TÉMOIGNAGES
   ══════════════════════════════════════════════════════════════ */
.soutiens { padding-top: clamp(56px, 7vw, 96px); display: flex; flex-direction: column; gap: 20px; }
.soutiens__t { font-weight: 500; font-size: 16px; color: var(--ink-2); }
.soutiens__logos { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; align-items: center; }
.soutiens__logos li, .partenaires__grille li { display: flex; align-items: center; justify-content: center; height: 84px; padding: 10px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.soutiens__logos img, .partenaires__grille img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
@media (max-width: 1099.98px) { .soutiens__logos { grid-template-columns: repeat(4, 1fr); } }
.chiffres { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); display: flex; flex-direction: column; gap: 32px; }
.chiffres .lead { max-width: 34em; }
.chiffres__grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); border-top: 1px solid var(--line); }
.chiffres__grille li { display: flex; flex-direction: column; gap: 8px; padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.chiffres__grille b { font-weight: 300; font-size: clamp(48px, 6vw, 72px); line-height: 1; letter-spacing: -.04em; color: var(--paint-d); }
.chiffres__grille span { font-size: 16px; line-height: 1.45; color: var(--ink-2); max-width: 16em; }
.temoins { background: var(--paper); }
.temoins__in { padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.temoins__grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; width: 100%; margin: 12px 0 8px; }
.temoin { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 28px 28px 24px; border-radius: var(--r); background: var(--white); }
.temoin::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; border-radius: var(--r) var(--r) 0 0; background: var(--c); }
.temoin blockquote p { font-weight: 300; font-size: clamp(20px, 1.8vw, 23px); line-height: 1.4; letter-spacing: -.01em; color: var(--ink); }
.temoin figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--ink-2); }
.temoin figcaption strong { color: var(--ink); font-weight: 600; }
.temoin figcaption span { font-size: 13px; color: var(--ink-3); }
.partenaires { padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 20px; }
.partenaires__grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; margin-top: 8px; }
.partenaires__grille li { height: 140px; padding: 20px; }
.partenaires__cta a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ══════════════════════════════════════════════════════════════
   GAZETTE — archives et abonnement
   ══════════════════════════════════════════════════════════════ */
.gaz__archives { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 15px; }
.gaz__archives-t { flex-basis: 100%; color: var(--ink-3); font-size: 14px; }
.gaz__archives a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; padding: 12px 0; display: inline-block; }
.abonnement { margin-top: 12px; padding: 20px; border-radius: var(--r); background: var(--paper); display: flex; flex-direction: column; gap: 10px; }
.abonnement label { font-weight: 500; font-size: 16px; }
.abonnement__row { display: flex; flex-wrap: wrap; gap: 8px; }
.abonnement__row input[type=email] { flex: 1 1 220px; min-height: 48px; padding: 0 14px; border: 2px solid var(--line); border-radius: var(--r); font: 16px var(--f); color: var(--ink); background: var(--white); }
.abonnement__row input[type=email]:focus { outline: 0; border-color: var(--ink); }
.abonnement__msg { font-size: 15px; }
.abonnement__msg.is-ok { color: var(--teal-d); font-weight: 500; }
.abonnement__msg.is-err { color: var(--err); font-weight: 500; }
.abonnement__rgpd { font-size: 13px; color: var(--ink-2); }
.abonnement__rgpd a { color: var(--ink-2); text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════
   PAGE /suivi/
   ══════════════════════════════════════════════════════════════ */
.suivi { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(56px, 8vw, 104px); }
.suivi__carte { max-width: 640px; display: flex; flex-direction: column; gap: 20px; }
.suivi__k { font-size: 15px; color: var(--ink-2); }
.suivi__dl { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.suivi__dl div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.suivi__dl dt { color: var(--ink-3); font-size: 15px; }
.suivi__st { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.suivi__st--on { background: #dcebee; color: var(--teal-d); }
.suivi__st--off { background: var(--paper); color: var(--ink-2); }
.suivi__ok { padding: 14px 16px; border-radius: var(--r); background: #eef0d4; font-weight: 500; }
.suivi__info { padding: 14px 16px; border-radius: var(--r); background: var(--paper); color: var(--ink-2); }
.suivi__btns .btn { flex: 1 1 220px; }
.btn--danger { background: var(--err); color: var(--white); }
.btn--danger:hover { background: #a93626; color: var(--white); }
.suivi__aide { font-size: 15px; color: var(--ink-2); }
.suivi__aide a { color: var(--ink); font-weight: 600; }
.suivi__charge { color: var(--ink-2); }

/* ══════════════════════════════════════════════════════════════
   FACILE À LIRE
   ══════════════════════════════════════════════════════════════ */
.falc__in { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(56px, 7vw, 96px); display: flex; flex-direction: column; gap: 40px; }
.falc__intro { font-size: 22px; line-height: 1.5; max-width: 30em; }
.falc__bloc { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; padding-top: 32px; border-top: 2px solid var(--line); font-size: 21px; line-height: 1.6; }
.falc__bloc img { width: 100%; max-height: 220px; object-fit: contain; }
.falc__t { font-weight: 500; font-size: 28px; letter-spacing: -.02em; margin-bottom: 12px; }
.falc__bloc p + p { margin-top: 6px; }
.falc__bloc ul, .falc__bloc ol { display: flex; flex-direction: column; gap: 8px; }
.falc__bloc ol { list-style: decimal; padding-left: 1.4em; }
.falc__bloc ul li::before { content: "•"; margin-right: 10px; color: var(--coral); }
.falc__gros { font-size: 36px; font-weight: 300; }
.falc__gros a { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.falc__bloc .btns { margin-top: 16px; }
@media (max-width: 719.98px) { .falc__bloc { grid-template-columns: 1fr; gap: 16px; font-size: 19px; } .falc__bloc img { max-height: 180px; width: auto; } }

/* ══════════════════════════════════════════════════════════════
   PAGES TRADUITES (en, uk, ar)
   ══════════════════════════════════════════════════════════════ */
.lhdr { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.95); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.lhdr__in { max-width: 1280px; margin: 0 auto; padding: 8px var(--gut); display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.lhdr__logo { padding: 5px 0; }
.lhdr__logo img { height: 34px; width: auto; }
.lhdr__langs { display: flex; gap: 4px; margin-inline-start: auto; font-weight: 500; font-size: 15px; }
.lhdr__langs a { min-width: 44px; text-align: center; padding: 12px 8px 11px; border-bottom: 3px solid transparent; }
.lhdr__langs a[aria-current] { border-bottom-color: var(--coral); }
.lhdr__tel { padding: 11px 16px; font-size: 15px; }
@media (max-width: 520px) { .lhdr__tel { display: none; } }
.lang-page { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 7vw, 96px); display: flex; flex-direction: column; gap: 20px; max-width: 920px; }
.lang-page .h-sec { margin-top: 28px; }
.lang-domains { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)) !important; }
.lang-etapes { border-top-color: var(--line); }
.lang-etapes li { border-bottom-color: var(--line); }
.lang-etapes small { font-size: 14px; color: var(--ink-3); }
.lang-encart { padding: 24px; margin-top: 12px; border-radius: var(--r); background: var(--paper); }
.lang-encart .h-sec { margin-top: 0; margin-bottom: 8px; }
.lfoot { background: var(--deep); color: var(--mist); }
.lfoot__in { padding-top: 40px; padding-bottom: calc(40px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.lfoot a { color: var(--white); }
.lfoot__autres { margin-top: 12px; font-size: 14px; }
[dir="rtl"] .door__arrow, [dir="rtl"] .btn span[aria-hidden] { transform: scaleX(-1); }
[dir="rtl"] body, [dir="rtl"] .lang-page { font-family: "Hanken Grotesk", "Geeza Pro", "Noto Naskh Arabic", "Segoe UI", Tahoma, sans-serif; }
[dir="rtl"] .h-chap, [dir="rtl"] .h-sec, [dir="rtl"] .lead { letter-spacing: 0; }
[dir="rtl"] .h-chap { line-height: 1.3; }
[dir="rtl"] .h-sec { line-height: 1.4; }
[dir="rtl"] .lang-page { line-height: 1.8; }

/* Menu : langues */
.menu__langs { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 12px; font-size: 15px; color: var(--mist); }
.menu__langs a { padding: 10px 0; }


/* Inscription bénévole : plusieurs dates, coordonnées retenues */
.ben-desc { margin: -6px 0 18px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.ben-dates { border: 0; padding: 0; margin: 0 0 20px; }
.ben-dates__liste { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.ben-date { display: grid; grid-template-columns: 24px 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--r); cursor: pointer; transition: border-color .15s, background .15s; }
.ben-date input { grid-row: span 2; width: 22px; height: 22px; accent-color: var(--ink); }
.ben-date__j { font-weight: 600; font-size: 16px; }
.ben-date__h { grid-column: 2; font-size: 15px; color: var(--ink-2); }
.ben-date__p { grid-row: 1 / span 2; grid-column: 3; font-size: 14px; font-weight: 500; color: var(--olive-d); }
.ben-date.is-presque .ben-date__p { color: var(--coral-d); }
.ben-date:has(input:checked) { border-color: var(--ink); background: #eef0d4; }
.ben-date:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.ben-dates__aide { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.ben-moi { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 14px 16px; margin-bottom: 18px; border-radius: var(--r); background: var(--paper); }
.ben-moi p { display: flex; flex-direction: column; gap: 2px; }
.ben-moi p span:last-child { color: var(--ink-2); font-size: 15px; }
.ben-moi__modif { min-height: 44px; padding: 0; border: 0; background: none; font: 500 15px var(--f); color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ben-succes__dates { display: flex; flex-direction: column; gap: 4px; margin: 0 0 20px; padding: 14px 16px; border-radius: var(--r); background: #eef0d4; text-align: left; font-size: 15px; }
.suivi__lot { padding-top: 8px; }
.suivi__lot-t { font-weight: 500; font-size: 20px; margin-bottom: 10px; }
.suivi__lot ul { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.suivi__lot li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.suivi__lot li span:first-child { flex: 1 1 260px; }
.suivi__lot a { font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; padding: 10px 0; }


/* Don : une fois ou chaque mois */
.don__choix { display: flex; flex-direction: column; gap: 14px; }
.frequence { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.12); width: fit-content; }
.frequence__b { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: none; color: var(--white); font: 500 16px var(--f); cursor: pointer; }
.frequence__b.is-on { background: var(--white); color: var(--ink); }
.frequence__b:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.amount__sum small { font-size: .4em; font-weight: 400; margin-left: 2px; }
.don__mensuel { font-size: 15px; line-height: 1.55; color: var(--mist); }
.don__mensuel a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 719.98px) { .don__choix { order: 3; } .don__choix .amounts { order: 0; } }

.amounts--choix .amount { border: 0; font: inherit; text-align: left; cursor: pointer; min-height: 150px; }
.amounts--choix .amount[aria-pressed="true"] { background: var(--ink); box-shadow: inset 0 0 0 3px var(--c); }
.amounts--choix .amount:focus-visible { outline: 3px solid var(--white); outline-offset: -3px; }
.mensuel { display: flex; flex-direction: column; gap: 12px; }
.mensuel__libre { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; font-weight: 500; color: var(--white); }
.mensuel__champ { display: flex; align-items: center; gap: 10px; font-weight: 400; color: var(--mist); }
.mensuel__champ input { width: 120px; min-height: 52px; padding: 0 14px; border: 2px solid rgba(255,255,255,.35); border-radius: var(--r); background: transparent; color: var(--white); font: 500 22px var(--f); }
.mensuel__champ input:focus { outline: 0; border-color: var(--white); }
.mensuel__aide { font-size: 14px; color: var(--mist); margin-top: -4px; }
.mensuel__err { font-size: 15px; font-weight: 500; color: #ffb4a8; }
.mensuel__ok { align-self: flex-start; }
.don__retour { padding: 14px 16px; margin-bottom: 20px; border-radius: var(--r); background: #eef0d4; color: var(--ink); line-height: 1.55; }
.don__retour--neutre { background: rgba(255,255,255,.12); color: var(--white); }

.don__libre { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.don__libre label { flex-basis: 100%; font-weight: 500; color: var(--white); }
.don__libre .mensuel__champ span { font-size: 18px; color: var(--mist); }
.don__libre .mensuel__err { flex-basis: 100%; }

/* ══════════════════════════════════════════════════════════════
   TRANSITIONS ENTRE PAGES (View Transitions, navigateurs récents)
   Le header et le chatbot restent en place ; le contenu se fond.
   ══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .hdr { view-transition-name: hdr; }
  .bot { view-transition-name: bot; }
  ::view-transition-old(root) { animation: vt-out .22s var(--ease) both; }
  ::view-transition-new(root) { animation: vt-in .42s var(--ease) both; }
  @keyframes vt-out { to { opacity: 0; } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
}

/* ══════════════════════════════════════════════════════════════
   MOBILE — cartes à faire glisser (aimantées), avec un aperçu de la suivante
   Étapes, temps forts, dates clés. Points indicateurs ajoutés en JS.
   ══════════════════════════════════════════════════════════════ */
.rail-dots { display: none; }
@media (max-width: 719.98px) {
  .steps, .moments__grid, .years {
    display: flex; flex-direction: row; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut);
    margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut);
    scrollbar-width: none;
  }
  .steps::-webkit-scrollbar, .moments__grid::-webkit-scrollbar, .years::-webkit-scrollbar { display: none; }
  .steps > li, .moments__grid > .moment { flex: 0 0 84%; scroll-snap-align: start; }

  /* Étapes : une carte par étape, dessin en haut */
  .steps { border-bottom: 0; padding-bottom: 2px; }
  .steps li { flex-direction: column-reverse; flex-wrap: nowrap; justify-content: flex-end; align-items: stretch; gap: 0; padding: 0 0 20px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
  .steps img { flex: none; width: 100%; height: 190px; max-height: none; padding: 16px 16px 0; background: var(--paper); object-fit: contain; object-position: center bottom; }
  .steps__txt { flex: none; padding: 18px 18px 0; }

  /* Temps forts : cartes blanches sur le fond gris */
  .moments__grid > .moment { background: var(--white); border-radius: var(--r); overflow: hidden; }
  .moments__grid .moment__art { height: 220px; }
  .moment__body { padding: 18px 18px 24px; }

  /* Dates clés : une frise qui défile, la ligne bleue passe sous chaque date */
  .years { gap: 0; margin-top: 28px; margin-bottom: 0; }
  .years li { flex: 0 0 46%; scroll-snap-align: start; position: relative; padding: 18px 16px 0 0; border-top: 2px solid var(--paint); }
  .years b::before { position: absolute; top: -6px; left: 0; }

  /* Points indicateurs */
  .rail-dots { display: flex; justify-content: center; margin-top: 12px; }
  .rail-dots button { width: 44px; height: 44px; border: 0; background: none; padding: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
  .rail-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 4px; background: var(--line); transition: width .35s var(--ease), background .35s; }
  .rail-dots button.is-active::before { width: 22px; background: var(--ink); }
  .years + .rail-dots { margin-bottom: 56px; }
  .years + .rail-dots button.is-active::before { background: var(--paint); }
}

/* Gazettes sur mobile : un paquet de deux couvertures à balayer */
@media (max-width: 719.98px) {
  .gaz__covers { touch-action: pan-y; }
  .gaz__hint { display: block; margin-top: 36px; font-size: 14px; color: var(--ink-3); }
}
