/* ==========================================================================
   STUDIO 64 · Web solidaire
   Palette relevée sur le logo : crème, encre (le charbon), ocre (la terre),
   brique (le lien). Formes : barres, cercles et quarts de cercle qui se
   superposent, comme le 6 et le 4.
   ========================================================================== */

:root {
  --cream: #F7EBD4;
  --cream-hi: #FCF6EA;
  --sand: #EFDFC2;
  --sand-deep: #E6D1AC;
  --ink: #343440;
  --ink-deep: #26252E;
  --ink-soft: #5D5966;
  --brick: #9D382A;
  --brick-deep: #7E271D;
  --ochre: #D5A359;
  --ochre-hi: #E8C78E;
  --line: rgba(52, 52, 64, .14);
  --line-strong: rgba(52, 52, 64, .28);
  --line-dark: rgba(247, 235, 212, .16);

  --f-display: "Montserrat", "Avenir Next", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Fraunces", Georgia, "Times New Roman", serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(76px, 10vw, 140px);
  --radius: 6px;
  --corner: 56px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* grain papier, très léger */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 100;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.2  0 0 0 0 0.2  0 0 0 0 0.25  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; color: inherit; }
h1 em, h2 em, h3 em, .serif {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -.01em;
  font-variation-settings: "opsz" 96, "SOFT" 50;
}
::selection { background: var(--ochre); color: var(--ink-deep); }
:focus-visible { outline: 3px solid var(--brick); outline-offset: 3px; border-radius: 4px; }
.section--ink :focus-visible, .final :focus-visible, .ftr :focus-visible { outline-color: var(--ochre); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 999px; font: 700 .9rem var(--f-display); text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── Typographie ─────────────────────────────────────────────────────── */
.h1 { font-size: clamp(2.5rem, 6.4vw, 5.3rem); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; }
.h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; }
.h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.h1 em, .h2 em { color: var(--brick); font-weight: 500; }
.section--ink .h2 em, .final .h2 em { color: var(--ochre); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--ink-soft); max-width: 40em; }
.lead strong { color: var(--ink); font-weight: 600; }
.small { font-size: .92rem; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 700 .74rem/1.2 var(--f-display);
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 20px;
}
.eyebrow::before, .tricolor {
  content: ""; flex: none;
  width: 30px; height: 6px;
  background: linear-gradient(90deg, var(--ink) 0 33.3%, var(--ochre) 33.3% 66.6%, var(--brick) 66.6%);
}
.section--ink .eyebrow, .final .eyebrow { color: var(--ochre); }
.section--ink .eyebrow::before, .final .eyebrow::before { background: linear-gradient(90deg, var(--cream) 0 33.3%, var(--ochre) 33.3% 66.6%, var(--brick) 66.6%); }

.head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.head .lead { margin-top: 20px; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.head--center .eyebrow { justify-content: center; }
.head--center .lead { margin-left: auto; margin-right: auto; }

/* ── Boutons ─────────────────────────────────────────────────────────── */
.btn {
  --bg: var(--ink); --fg: var(--cream); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 2px solid var(--bd); border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 700 .95rem/1 var(--f-display); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--brick { --bg: var(--brick); --bd: var(--brick); }
.btn--brick:hover { --bg: var(--brick-deep); --bd: var(--brick-deep); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--cream); }
.btn--ochre { --bg: var(--ochre); --fg: var(--ink-deep); --bd: var(--ochre); }
.btn--ochre:hover { --bg: var(--ochre-hi); --bd: var(--ochre-hi); }
.btn--light { --bg: transparent; --fg: var(--cream); --bd: rgba(247,235,212,.5); }
.btn--light:hover { --bg: var(--cream); --fg: var(--ink); --bd: var(--cream); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .88rem; }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 .95rem var(--f-display); color: var(--brick);
  text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 3px;
}
.link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link:hover svg { transform: translateX(3px); }
.section--ink .link { color: var(--ochre); }

/* ── Bandeau + en-tête ───────────────────────────────────────────────── */
.topline {
  background: var(--ink-deep); color: rgba(247,235,212,.86);
  font: 500 .82rem/1.4 var(--f-body);
  text-align: center; padding: 9px var(--gutter);
}
.topline b { color: var(--ochre); font-weight: 700; }
.topline a { color: inherit; text-underline-offset: 3px; }

.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 235, 212, .88);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.hdr.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(38,37,46,.5); }
.hdr__in { display: flex; align-items: center; gap: 28px; min-height: 78px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 52px; height: auto; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__txt b { font: 800 1.08rem/1 var(--f-display); letter-spacing: .03em; }
.brand__txt small { font: 700 .6rem/1 var(--f-display); letter-spacing: .24em; color: var(--brick); margin-top: 6px; }

.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav__liens { display: flex; align-items: center; gap: 2px; }
.nav__outils { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.nav a {
  position: relative; white-space: nowrap;
  font: 600 .92rem/1 var(--f-display); text-decoration: none;
  padding: 12px 14px; border-radius: 999px; color: var(--ink);
  transition: background .2s;
}
.nav a:hover { background: rgba(52,52,64,.07); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px;
  background: linear-gradient(90deg, var(--ink) 0 33.3%, var(--ochre) 33.3% 66.6%, var(--brick) 66.6%);
}
.nav a.btn { padding: 0 18px; color: var(--fg); background: var(--bg); }
.nav a.btn:hover { background: var(--brick-deep); }
.btn--line { --bg: transparent; --fg: var(--ink); --bd: var(--line-strong); }
.nav a.btn--line:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.nav__espace svg { width: 16px; height: 16px; }
.nav__espace:hover svg { transform: none; }

/* Langue du site : FR · NL · EN */
.langs { display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--line-strong); border-radius: 999px; }
.nav .langs a, .langs a {
  padding: 7px 9px; border-radius: 999px; text-decoration: none;
  font: 800 .72rem/1 var(--f-display); letter-spacing: .08em; color: var(--ink-soft);
}
.nav .langs a:hover { background: rgba(52,52,64,.08); color: var(--ink); }
.langs a[aria-current="true"], .nav .langs a[aria-current="true"] { background: var(--ink); color: var(--cream); }
.langs--pied { margin-top: 22px; border-color: var(--line-dark); }
.langs--pied a { color: rgba(247,235,212,.7); }
.langs--pied a:hover { color: var(--cream); }
.langs--pied a[aria-current="true"] { background: var(--cream); color: var(--ink); }
.burger {
  display: none; margin-left: auto;
  width: 48px; height: 48px; border: 2px solid var(--ink); border-radius: 999px;
  background: transparent; color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .25s var(--ease), background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1240px) {
  .burger { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    box-shadow: 0 30px 40px -30px rgba(38,37,46,.4);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a[aria-current="page"]::after { left: auto; right: 4px; top: 50%; bottom: auto; width: 30px; transform: translateY(-50%); }
  .nav__liens { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__outils { flex-direction: column; align-items: stretch; gap: 12px; margin: 22px 0 0; }
  .nav .langs { align-self: center; }
  .nav .langs a { padding: 10px 14px; border: 0; font-size: .82rem; }
  .nav a.btn { margin: 0; min-height: 54px; padding: 0 26px; border: 2px solid var(--brick); border-radius: 999px; justify-content: center; font-size: 1rem; }
  .nav a.btn--line { border-color: var(--ink); }
}

/* ── Sections ────────────────────────────────────────────────────────── */
.section { position: relative; padding: var(--section) 0; }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: var(--cream); }
.section--ink .lead, .section--ink .muted, .section--ink .small { color: rgba(247,235,212,.74); }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.clip { overflow: hidden; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.grid-2--top { align-items: start; }
@media (max-width: 960px) { .grid-2 { grid-template-columns: 1fr; } }

/* ── Héros d'accueil ─────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .lead { margin-top: 26px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; font: 600 .85rem var(--f-display); color: var(--ink-soft); }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta i { width: 10px; height: 10px; border-radius: 50%; background: var(--ochre); }
.hero__meta span:nth-child(2) i { background: var(--brick); }
.hero__meta span:nth-child(3) i { background: var(--ink); }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } .hero__art { max-width: 520px; margin: 0 auto; width: 100%; } }

.hero__art { position: relative; padding: 9% 7% 12%; }
.hero__art .disc {
  position: absolute; border-radius: 50%; mix-blend-mode: multiply; pointer-events: none;
}
.hero__art .disc--a { width: 78%; aspect-ratio: 1; right: -4%; top: 0; background: var(--sand-deep); opacity: .7; }
.hero__art .disc--b { width: 26%; aspect-ratio: 1; left: 0; bottom: 4%; background: var(--ochre); opacity: .32; }
.hero__art .bar { position: absolute; left: 6%; right: 18%; bottom: 7%; height: 7px; background: var(--ink); }

/* Le logo, assemblé calque par calque */
.mark { position: relative; aspect-ratio: 554 / 465; width: 100%; }
.mark img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .45s var(--ease), filter .45s var(--ease), transform .45s var(--ease); }
.mark--build .l-ink { animation: in-ink 1.1s var(--ease) .15s both; }
.mark--build .l-ochre { animation: in-ochre 1.1s var(--ease) .4s both; }
.mark--build .l-brick { animation: in-brick 1.1s var(--ease) .65s both; }
@keyframes in-ink { from { opacity: 0; transform: translateY(14%); } }
@keyframes in-ochre { from { opacity: 0; transform: translate(12%, -12%); } }
@keyframes in-brick { from { opacity: 0; transform: translateX(-14%); } }

.stamp {
  position: absolute; left: -5%; top: -3%; width: 28%; aspect-ratio: 1; z-index: 2;
  color: var(--ink);
}
.stamp svg { width: 100%; height: 100%; animation: spin 38s linear infinite; }
.stamp text { font: 700 10.4px var(--f-display); letter-spacing: .2em; fill: currentColor; }
.stamp::after {
  content: "64"; position: absolute; inset: 0; display: grid; place-items: center;
  font: 800 clamp(1rem, 2.4vw, 1.5rem)/1 var(--f-display); color: var(--brick);
}
@keyframes spin { to { transform: rotate(360deg); } }

.tag-doc {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  background: var(--cream-hi); border: 1px solid var(--line);
  box-shadow: 0 18px 40px -24px rgba(38,37,46,.45);
  padding: 14px 18px 14px 16px; border-radius: var(--radius);
  display: flex; align-items: center; gap: 14px; max-width: 290px;
  transform: rotate(-2deg);
}
.tag-doc b { display: block; font: 700 .8rem/1.3 var(--f-display); }
.tag-doc span { display: block; font-size: .8rem; color: var(--ink-soft); line-height: 1.35; margin-top: 2px; }
.tag-doc i { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--brick); color: var(--brick); display: grid; place-items: center; font: 800 .72rem var(--f-display); font-style: normal; }

/* ── Chiffres ────────────────────────────────────────────────────────── */
.figures { background: var(--ink); color: var(--cream); padding: clamp(48px, 6vw, 72px) 0; position: relative; overflow: hidden; }
.figures__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.figure { position: relative; padding-left: 20px; border-left: 2px solid var(--line-dark); }
.figure b { display: block; font: 800 clamp(2.3rem, 4.4vw, 3.4rem)/1 var(--f-display); letter-spacing: -.03em; color: var(--ochre); }
.figure:nth-child(even) b { color: var(--cream); }
.figure span { display: block; margin-top: 12px; font-size: .95rem; line-height: 1.45; color: rgba(247,235,212,.78); max-width: 16em; }
@media (max-width: 900px) { .figures__grid { grid-template-columns: 1fr 1fr; row-gap: 36px; } }
@media (max-width: 460px) { .figures__grid { grid-template-columns: 1fr; } }

/* ── Histoire ────────────────────────────────────────────────────────── */
.story p { font-size: 1.12rem; line-height: 1.75; }
.quote {
  position: relative; margin: 0; padding: 30px 0 0;
  font: italic 500 clamp(1.5rem, 2.8vw, 2.2rem)/1.3 var(--f-serif);
  font-variation-settings: "opsz" 96, "SOFT" 50;
  letter-spacing: -.01em;
}
.quote::before { content: ""; position: absolute; top: 0; left: 0; width: 64px; height: 6px; background: var(--brick); }
.quote cite { display: block; margin-top: 18px; font: 600 .82rem var(--f-display); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }

/* ── Lire le logo ────────────────────────────────────────────────────── */
.reader {
  background: var(--cream-hi); border: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) var(--radius) var(--corner);
  padding: clamp(22px, 3.4vw, 40px);
  box-shadow: 0 30px 60px -44px rgba(38,37,46,.55);
}
.reader__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.reader__top b { font: 800 .76rem var(--f-display); letter-spacing: .18em; text-transform: uppercase; }
.reader__top span { font-size: .85rem; color: var(--ink-soft); }
.reader .mark { max-width: 360px; margin: 0 auto 26px; }
.reader[data-active="ink"] .l-ochre, .reader[data-active="ink"] .l-brick,
.reader[data-active="ochre"] .l-ink, .reader[data-active="ochre"] .l-brick,
.reader[data-active="brick"] .l-ink, .reader[data-active="brick"] .l-ochre { opacity: .1; filter: grayscale(1); }
.reader[data-active="ink"] .l-ink { transform: translateY(-2%); }
.reader[data-active="ochre"] .l-ochre { transform: translate(1.5%, -1.5%); }
.reader[data-active="brick"] .l-brick { transform: translateX(-2%); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 13px 0 8px;
  border: 1.5px solid var(--line-strong); border-radius: 999px;
  background: transparent; color: var(--ink);
  font: 700 .82rem var(--f-display); cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.chip i { width: 18px; height: 18px; border-radius: 50%; background: var(--sw); }
.chip--all i { background: conic-gradient(var(--ink) 0 120deg, var(--ochre) 0 240deg, var(--brick) 0); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.reader__text { min-height: 9.5em; }
.reader__text h3 { margin-bottom: 8px; }
.reader__text p { color: var(--ink-soft); }

/* ── Hier / aujourd'hui ──────────────────────────────────────────────── */
.verbs { border-top: 2px solid var(--ink); }
.verbs__head, .verb { display: grid; grid-template-columns: minmax(150px, .7fr) 1fr 40px 1fr; gap: 20px; align-items: center; }
.verbs__head { padding: 16px 0; border-bottom: 1px solid var(--line-strong); font: 700 .74rem var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.verb { padding: 26px 0; border-bottom: 1px solid var(--line-strong); }
.verb h3 { font: 800 clamp(1.5rem, 2.6vw, 2.1rem)/1 var(--f-display); letter-spacing: -.02em; }
.verb:nth-child(4n+2) h3 { color: var(--brick); }
.verb:nth-child(4n+3) h3 { color: #B47F2E; }
.verb:nth-child(4n+4) h3 { color: var(--ink); }
.verb:nth-child(4n+5) h3 { color: var(--brick-deep); }
.verb p { margin: 0; color: var(--ink-soft); }
.verb p + svg + p, .verb .now { color: var(--ink); font-weight: 600; }
.verb svg { width: 28px; height: 28px; color: var(--ochre); }
@media (max-width: 760px) {
  .verbs__head { display: none; }
  .verb { grid-template-columns: 1fr; gap: 10px; }
  .verb svg { transform: rotate(90deg); width: 22px; height: 22px; }
  .verb p::before { display: block; font: 700 .68rem var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
  .verb .then::before { content: "1964 · Nos parents"; }
  .verb .now::before { content: "Aujourd’hui · Nous"; color: var(--brick); }
}

/* ── Frise ───────────────────────────────────────────────────────────── */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--ink); }
.timeline li { position: relative; padding-top: 40px; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 6px var(--cream); }
.section--sand .timeline li::before { box-shadow: 0 0 0 6px var(--sand); }
.timeline li:nth-child(2)::before { background: var(--ochre); }
.timeline li:nth-child(3)::before { background: var(--brick); }
.timeline li:nth-child(4)::before { background: var(--ochre); }
.timeline li:nth-child(5)::before { background: var(--brick); width: 28px; height: 28px; top: -4px; left: -4px; }
.timeline b { display: block; font: 800 clamp(1.8rem, 3vw, 2.4rem)/1 var(--f-display); letter-spacing: -.03em; margin-bottom: 10px; }
.timeline li:last-child b { color: var(--brick); }
.timeline span { display: block; font-size: .95rem; line-height: 1.5; color: var(--ink-soft); }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 0; padding-left: 40px; }
  .timeline::before { left: 9px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .timeline li { padding: 0 0 30px; }
  .timeline li::before { left: -40px; top: 6px; }
  .timeline li:nth-child(5)::before { left: -44px; top: 2px; }
}

/* ── Cartes ──────────────────────────────────────────────────────────── */
.card {
  position: relative;
  background: var(--cream-hi); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(24px, 3vw, 34px);
}
.card--corner { border-top-left-radius: var(--corner); }
.card--ink { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.card--ink p, .card--ink .muted { color: rgba(247,235,212,.78); }
.card--brick { background: var(--brick); color: var(--cream); border-color: var(--brick); }
.card--brick p { color: rgba(247,235,212,.86); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); }
.card.card--ink p, .card.card--ink .muted { color: rgba(247,235,212,.78); }
.card.card--brick p { color: rgba(247,235,212,.88); }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 1000px) { .cards-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .cards-2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cards-4 { grid-template-columns: 1fr; } }

.step__n { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; font: 700 .74rem var(--f-display); letter-spacing: .18em; text-transform: uppercase; color: var(--brick); }
.step__n b { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--cream); font: 800 1.1rem var(--f-display); letter-spacing: 0; }
.card--brick .step__n { color: var(--ochre-hi); }
.card--brick .step__n b { background: var(--ochre); color: var(--ink-deep); }

/* pictos géométriques */
.glyph { width: 56px; height: 56px; margin-bottom: 26px; }
.glyph * { mix-blend-mode: multiply; }

.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 22px; font-size: .95rem; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--ochre); }
.ticks li:nth-child(3n+2)::before { background: var(--brick); }
.ticks li:nth-child(3n+3)::before { background: var(--ink); border-radius: 0; }
.card--ink .ticks li { color: var(--cream); }
.pill { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; padding: 6px 12px; border-radius: 999px; background: var(--sand); font: 700 .78rem var(--f-display); color: var(--ink); }

/* ── Agir Ensemble ───────────────────────────────────────────────────── */
.collage { position: relative; isolation: isolate; display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.collage figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--sand-deep); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .c1 { grid-row: span 2; border-top-left-radius: var(--corner); aspect-ratio: 4 / 5; }
.collage .c2 { aspect-ratio: 4 / 3; }
.collage .c3 { aspect-ratio: 4 / 3; border-bottom-right-radius: var(--corner); }
.collage::before { content: ""; position: absolute; width: 42%; aspect-ratio: 1; border-radius: 50%; background: var(--ochre); right: -8%; top: -10%; z-index: -1; opacity: .55; }
.collage::after { content: ""; position: absolute; left: -22px; bottom: 16%; width: 34%; height: 12px; background: var(--brick); z-index: -1; }
.credit { position: absolute; left: 10px; bottom: 10px; background: rgba(38,37,46,.72); color: var(--cream); font: 600 .72rem var(--f-display); padding: 5px 10px; border-radius: 999px; }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 30px; border-top: 1px solid var(--line-strong); }
.facts div { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line-strong); }
.facts b { display: block; font: 800 1.7rem/1 var(--f-display); letter-spacing: -.02em; color: var(--brick); }
.facts span { display: block; margin-top: 6px; font-size: .9rem; line-height: 1.4; color: var(--ink-soft); }

.places { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .places { grid-template-columns: 1fr; } }
.place { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.place__top { position: relative; padding: clamp(24px, 3vw, 34px); padding-bottom: 0; }
.place__label { display: inline-flex; align-items: center; gap: 10px; font: 800 .76rem var(--f-display); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.place__label i { width: 14px; height: 14px; border-radius: 50%; background: var(--brick); }
.place--maroc .place__label i { background: var(--ochre); }
.place__img { aspect-ratio: 16 / 7; overflow: hidden; margin-top: 4px; }
.place__img img { width: 100%; height: 100%; object-fit: cover; }
.place__art { aspect-ratio: 16 / 7; position: relative; overflow: hidden; background: var(--ink); }
.acts { list-style: none; margin: 0; padding: 8px clamp(24px, 3vw, 34px) clamp(24px, 3vw, 34px); }
.acts li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.acts li:last-child { border-bottom: 0; }
.acts b { display: block; font: 700 1.02rem var(--f-display); margin-bottom: 4px; }
.acts span { display: block; font-size: .95rem; color: var(--ink-soft); }
.acts em { font-style: normal; font: 700 .7rem var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--brick); margin-left: 8px; vertical-align: 2px; }

.note { display: flex; gap: 14px; align-items: flex-start; margin-top: 26px; padding: 18px 20px; border-radius: var(--radius); background: rgba(52,52,64,.06); font-size: .95rem; color: var(--ink-soft); }
.note::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: .55em; border-radius: 50%; background: var(--brick); }
.section--ink .note { background: rgba(247,235,212,.07); color: rgba(247,235,212,.8); }

/* ── Kit scolaire ────────────────────────────────────────────────────── */
.kit {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; overflow: hidden;
  border-radius: var(--radius) var(--corner) var(--radius) var(--radius);
  background: var(--ink); color: var(--cream);
}
.kit__main { padding: clamp(28px, 4.4vw, 56px); position: relative; }
.kit__main .h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.kit__main p { color: rgba(247,235,212,.78); }
.kit__poster { position: relative; background: var(--ochre); min-height: 320px; display: grid; place-items: center; padding: clamp(32px, 4vw, 56px); overflow: hidden; }
.kit__poster::before { content: ""; position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%; background: var(--brick); opacity: .22; left: -30%; bottom: -30%; }
.kit__poster img { position: relative; width: min(82%, 320px); height: auto; border-radius: 4px; transform: rotate(3deg); box-shadow: 0 30px 50px -24px rgba(38,37,46,.6); }
.kit__nums { display: flex; flex-wrap: wrap; gap: 34px; margin: 28px 0; }
.kit__nums b { display: block; font: 800 2.6rem/1 var(--f-display); color: var(--ochre); letter-spacing: -.03em; }
.kit__nums span { font-size: .9rem; color: rgba(247,235,212,.7); }
.kit .ticks li { color: var(--cream); }
.kit .ticks li:nth-child(3n+3)::before { background: var(--cream); }
.kit .eyebrow, .kit .h2 em { color: var(--ochre); }
.kit .eyebrow::before { background: linear-gradient(90deg, var(--cream) 0 33.3%, var(--ochre) 33.3% 66.6%, var(--brick) 66.6%); }
@media (max-width: 900px) { .kit { grid-template-columns: 1fr; } }

.calc { margin-top: 30px; padding: 22px; border-radius: var(--radius); background: rgba(247,235,212,.07); border: 1px solid var(--line-dark); }
.calc label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 700 .9rem var(--f-display); }
.calc output { font: 800 1.5rem var(--f-display); color: var(--ochre); }
.range { width: 100%; margin: 16px 0 6px; accent-color: var(--ochre); height: 28px; }
.iban { display: grid; gap: 10px; margin-top: 18px; }
.iban__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: var(--radius); background: rgba(0,0,0,.18); }
.iban__row small { display: block; font: 700 .66rem var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: rgba(247,235,212,.6); }
.iban__row code { font: 600 1rem/1.3 ui-monospace, "SF Mono", Menlo, monospace; color: var(--cream); word-break: break-word; }
.copy { flex: none; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1.5px solid rgba(247,235,212,.4); background: transparent; color: var(--cream); font: 700 .78rem var(--f-display); cursor: pointer; }
.copy:hover { background: var(--cream); color: var(--ink); }
.copy.is-done { background: var(--ochre); border-color: var(--ochre); color: var(--ink-deep); }

/* ── Chemin d'un euro ────────────────────────────────────────────────── */
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: p; }
.path li { position: relative; padding: 0 28px 0 0; }
.path li::after { content: ""; position: absolute; top: 27px; left: 66px; right: 10px; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 14px); }
.path li:last-child::after { display: none; }
.path .path__dot { position: relative; z-index: 1; color: var(--ink); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 20px; font: 800 1rem var(--f-display); background: var(--cream-hi); border: 2px solid var(--ink); }
.path li:nth-child(3) .path__dot, .path li:nth-child(3) span.path__dot { background: var(--brick); border-color: var(--brick); color: var(--cream); }
.path li:nth-child(4) .path__dot { background: var(--ochre); border-color: var(--ochre); }
.path b { display: block; font: 700 1.05rem/1.3 var(--f-display); margin-bottom: 6px; }
.path span { display: block; font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 860px) {
  .path { grid-template-columns: 1fr; gap: 26px; }
  .path li { padding: 0 0 0 76px; min-height: 56px; }
  .path .path__dot { position: absolute; left: 0; top: 0; margin: 0; }
  .path li::after { left: 27px; top: 62px; bottom: -22px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--ink) 0 8px, transparent 8px 14px); }
}

.proofs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); margin-top: clamp(48px, 6vw, 72px); }
.proofs div { padding: 24px 24px 0 0; }
.proofs b { display: block; font: 800 1.6rem/1.1 var(--f-display); letter-spacing: -.02em; margin-bottom: 8px; }
.proofs div:nth-child(odd) b { color: var(--brick); }
.proofs span { display: block; font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 900px) { .proofs { grid-template-columns: 1fr 1fr; row-gap: 10px; } }
@media (max-width: 520px) { .proofs { grid-template-columns: 1fr; } }

/* ── Primes ──────────────────────────────────────────────────────────── */
.prime { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--corner) var(--radius) var(--radius) var(--radius); background: var(--ochre); color: var(--ink-deep); margin-top: 18px; }
.prime__n { font: 800 clamp(3.6rem, 8vw, 6rem)/.9 var(--f-display); letter-spacing: -.05em; }
.prime__n small { display: block; font: 700 .8rem var(--f-display); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
.prime p { color: rgba(38,37,46,.82); margin: 8px 0 0; }
.prime .h3 { font-size: 1.35rem; }
@media (max-width: 860px) { .prime { grid-template-columns: 1fr; } }

.sim { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
@media (max-width: 860px) { .sim { grid-template-columns: 1fr; } }
.sim fieldset { border: 0; margin: 0 0 24px; padding: 0; }
.sim legend, .sim .lbl { display: flex; justify-content: space-between; width: 100%; font: 700 .92rem var(--f-display); margin-bottom: 12px; }
.sim legend output, .sim .lbl output { font: 800 1.1rem var(--f-display); color: var(--brick); }
.sim .range { accent-color: var(--brick); margin: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); font: 700 .88rem var(--f-display); }
.seg input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--brick); outline-offset: 2px; }
.sim__out { display: flex; flex-direction: column; justify-content: space-between; }
.sim__out dl { margin: 0; display: grid; gap: 0; }
.sim__out dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.sim__out dt { color: rgba(247,235,212,.78); }
.sim__out dd { margin: 0; font: 800 1.5rem var(--f-display); }
.sim__out dl div:last-child dd { color: var(--ochre); font-size: 2rem; }

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font: 700 clamp(1.02rem, 1.5vw, 1.18rem)/1.35 var(--f-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7EBD4' stroke-width='2.4' stroke-linecap='round'><path d='M12 6v12M6 12h12'/></svg>") center/16px no-repeat;
  transition: transform .3s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--brick); }
.faq details > div { padding: 0 60px 26px 0; color: var(--ink-soft); max-width: 62em; }

/* ── Appel final ─────────────────────────────────────────────────────── */
.final { position: relative; overflow: hidden; background: var(--ink); color: var(--cream); padding: clamp(80px, 10vw, 140px) 0; }
.final__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: end; }
.final p { color: rgba(247,235,212,.76); margin-top: 22px; max-width: 34em; }
.final__shapes { position: absolute; right: -8%; top: 50%; width: min(42vw, 500px); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; opacity: .55; }
.final__shapes span { position: absolute; display: block; }
.final__shapes .s1 { width: 70%; height: 70%; right: 10%; top: 4%; border-radius: 50%; border: 56px solid var(--brick); opacity: .55; }
.final__shapes .s2 { width: 16%; height: 96%; right: 0; top: 2%; background: var(--ochre); opacity: .28; transform: skewX(-24deg); }
.final__shapes .s3 { width: 64%; height: 10%; right: 0; top: 58%; background: var(--cream); opacity: .08; }
@media (max-width: 860px) { .final__grid { grid-template-columns: 1fr; } .final__shapes { opacity: .4; width: 90vw; right: -40%; } }

/* ── Pied de page ────────────────────────────────────────────────────── */
.ftr { background: var(--ink-deep); color: rgba(247,235,212,.78); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: .95rem; }
.ftr__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.ftr .brand { color: var(--cream); }
.ftr .brand__txt small { color: var(--ochre); }
.ftr__about { margin-top: 18px; max-width: 26em; }
.ftr h4 { font: 700 .72rem var(--f-display); letter-spacing: .18em; text-transform: uppercase; color: var(--cream); margin-bottom: 16px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .82rem; color: rgba(247,235,212,.55); }
.ftr__legal { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ftr__legal a[aria-current="page"] { color: var(--cream); }
@media (max-width: 960px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr__grid { grid-template-columns: 1fr; } }

/* ── En-têtes de pages intérieures ───────────────────────────────────── */
.phero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 112px) 0 clamp(56px, 7vw, 96px); }
.phero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.phero .lead { margin-top: 26px; }
@media (max-width: 960px) { .phero__grid { grid-template-columns: 1fr; } }
.crumbs { font: 600 .82rem var(--f-display); color: var(--ink-soft); margin-bottom: 26px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* document d'archive */
.doc {
  position: relative; background: var(--cream-hi);
  border: 1px solid var(--line); border-radius: 3px;
  padding: clamp(26px, 3.6vw, 40px);
  box-shadow: 0 2px 0 rgba(52,52,64,.04), 0 30px 60px -36px rgba(38,37,46,.55);
  transform: rotate(1.6deg);
  max-width: 470px; margin-left: auto;
  background-image: repeating-linear-gradient(180deg, transparent 0 31px, rgba(52,52,64,.05) 31px 32px);
}
.doc::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--line); pointer-events: none; }
.doc__top { display: flex; justify-content: space-between; gap: 16px; font: 700 .66rem/1.5 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.doc__seal { flex: none; width: 70px; height: 70px; border-radius: 50%; border: 2px solid var(--brick); color: var(--brick); display: grid; place-items: center; font: 800 1.3rem var(--f-display); transform: rotate(-12deg); box-shadow: inset 0 0 0 5px var(--cream-hi), inset 0 0 0 6px var(--brick); }
.doc h2 { font: 800 clamp(1.15rem, 2vw, 1.45rem)/1.25 var(--f-display); letter-spacing: -.01em; margin: 26px 0 16px; text-transform: uppercase; }
.doc p { font-size: .95rem; color: var(--ink-soft); }
.doc__sign { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-top: 30px; padding-top: 18px; border-top: 1px dashed var(--line-strong); font: 600 .82rem var(--f-display); }
.doc__sign em { font: italic 500 1.5rem var(--f-serif); color: var(--ink); }
@media (max-width: 960px) { .doc { margin: 0 auto; } }

/* chapitres */
.chapter { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 5vw, 72px); padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line-strong); }
.chapter:first-child { border-top: 0; padding-top: 0; }
.chapter__n { font: 800 .76rem var(--f-display); letter-spacing: .18em; text-transform: uppercase; color: var(--brick); }
.chapter__n b { text-transform: none; display: block; font: 800 clamp(3rem, 6vw, 4.6rem)/1 var(--f-display); letter-spacing: -.05em; color: var(--ink); margin-top: 10px; }
.chapter__n--word b { font-size: clamp(2rem, 3.4vw, 2.6rem); padding-top: 8px; }
.chapter__body { max-width: 720px; }
.chapter__body h2 { margin-bottom: 22px; }
.chapter__body p { font-size: 1.12rem; line-height: 1.75; }
@media (max-width: 860px) { .chapter { grid-template-columns: 1fr; } }

.entities { display: grid; grid-template-columns: 1fr 120px 1fr; gap: 0; align-items: stretch; }
.entities__link { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 20px 8px; font: 800 1.4rem var(--f-display); color: var(--brick); }
.entities__link small { font: 700 .66rem var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.entities__link svg { width: 40px; height: 40px; }
.entities .card dl { margin: 18px 0 0; display: grid; gap: 8px; font-size: .92rem; }
.entities .card dl div { display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); padding-top: 8px; }
.entities .card--ink dl div { border-color: var(--line-dark); }
.entities dt { color: var(--ink-soft); }
.entities .card--ink dt { color: rgba(247,235,212,.6); }
.entities dd { margin: 0; font-weight: 600; text-align: right; }
@media (max-width: 860px) { .entities { grid-template-columns: 1fr; } .entities__link svg { transform: rotate(90deg); } }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--sand-deep); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery .g-wide { grid-column: span 2; }
.gallery .g-tall { grid-row: span 2; }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; right: 10px; color: var(--cream); font: 600 .78rem/1.35 var(--f-display); text-shadow: 0 1px 8px rgba(0,0,0,.5); }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } }

/* ── Textes juridiques ───────────────────────────────────────────────── */
.legal { max-width: 720px; }
.legal__brief h2 { margin-bottom: 4px; }
.legal__toc { margin-top: clamp(36px, 5vw, 56px); padding-top: 22px; border-top: 2px solid var(--ink); }
.legal__toc .eyebrow { margin-bottom: 14px; }
.legal__toc ol { margin: 0; padding-left: 1.7em; columns: 2 15em; column-gap: 36px; font-size: .95rem; }
.legal__toc li { break-inside: avoid; padding: 3px 0; }
.legal__toc li::marker { font: 700 .8rem var(--f-display); color: var(--brick); }
.legal__toc a { text-decoration: none; }
.legal__toc a:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal__art { margin-top: clamp(32px, 4vw, 44px); padding-top: clamp(32px, 4vw, 44px); border-top: 1px solid var(--line-strong); }
.legal__art > h2 { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.legal__n { flex: none; font: 800 .8rem/1 var(--f-display); letter-spacing: .12em; color: var(--brick); }
.legal__art h3 { font: 700 1rem/1.35 var(--f-display); margin: 28px 0 10px; }
.legal__art ul { margin: 0 0 1em; padding-left: 1.25em; }
.legal__art li { margin-bottom: 8px; padding-left: 4px; }
.legal__art li::marker { color: var(--brick); }
.legal__art strong { font-weight: 600; }
.legal__art :is(p, li) a { color: var(--brick); text-underline-offset: 3px; }
.legal__art .note { margin: 22px 0; }
.legal__art .coords { margin-bottom: 1em; }
.legal__table { overflow-x: auto; margin: 4px 0 1.2em; border-top: 2px solid var(--ink); }
.legal__table table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .88rem; line-height: 1.5; }
.legal__table th { text-align: left; vertical-align: bottom; font: 700 .68rem/1.3 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line-strong); }
.legal__table td { vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
.legal code { font: 600 .85em ui-monospace, "SF Mono", Menlo, monospace; background: var(--sand); padding: 1px 5px; border-radius: 3px; }

/* ── Formulaire ──────────────────────────────────────────────────────── */
.form { display: grid; gap: 18px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .duo { grid-template-columns: 1fr; } }
.field label { display: block; font: 700 .86rem var(--f-display); margin-bottom: 8px; }
.field label .req { color: var(--brick); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  background: var(--cream); color: var(--ink);
  font: 400 1rem/1.4 var(--f-body);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23343440' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background-color: var(--cream-hi); box-shadow: 0 0 0 4px rgba(213,163,89,.4); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brick); flex: none; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: .95rem; padding: 0; border-radius: var(--radius); }
.form-msg.ok { padding: 14px 16px; background: #E4EDD8; color: #2F4A1E; }
.form-msg.ko { padding: 14px 16px; background: #F5D9D2; color: var(--brick-deep); }

.wa { display: grid; gap: 8px; margin-top: 18px; }
.wa a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line-dark); text-decoration: none; color: var(--cream); font-size: .95rem; transition: background .2s; }
.wa a:hover { background: rgba(247,235,212,.08); }
.wa a svg { width: 18px; height: 18px; flex: none; color: var(--ochre); }

.coords { display: grid; gap: 0; margin: 0; }
.coords div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.coords dt { font: 700 .68rem var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.coords dd { margin: 0; font-weight: 600; }
.coords a { text-decoration: none; border-bottom: 1.5px solid var(--ochre); }

/* ── Ajustements de contexte ────────────────────────────────────────── */
.section--ink .card--ink { background: var(--ink-deep); border-color: var(--line-dark); }
.section--ink .card:not(.card--ink):not(.card--brick) .small,
.section--ink .card:not(.card--ink):not(.card--brick) p { color: var(--ink-soft); }
.kit .note, .kit p.small { color: rgba(247,235,212,.75); }
#contact-grid > * { min-width: 0; }
@media (max-width: 960px) { #contact-grid { grid-template-columns: 1fr !important; } }

/* ── Apparition au défilement ────────────────────────────────────────── */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .rv-d1 { transition-delay: .1s; }
.js .rv-d2 { transition-delay: .2s; }
.js .rv-d3 { transition-delay: .3s; }
.js .rv-d4 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}

@media print {
  .topline, .hdr, .final, .burger, body::before { display: none !important; }
  body { background: #fff; }
}

/* ── Espace client : ce qu'on y trouve ─────────────────────────────────── */
.fonctions { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 26px; }
.fonctions li { display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; align-items: start; }
.fonctions svg { grid-row: span 2; width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--cream); border: 1px solid var(--line); color: var(--brick); }
.fonctions li:nth-child(3n+2) svg { color: var(--ink); }
.fonctions li:nth-child(3n+3) svg { color: #9A6A1E; }
.fonctions b { font: 700 1rem/1.3 var(--f-display); color: var(--ink); }
.fonctions span { font-size: .92rem; line-height: 1.45; color: var(--ink-soft); }
@media (max-width: 560px) { .fonctions { grid-template-columns: 1fr; } }

/* ── Actions d'Agir Ensemble : Bruxelles et Maroc ───────────────────────
   Une carte courte ; au survol (ou au clavier), un volet monte avec un
   détail et un lien vers la page de l'association. Sans survol (téléphone,
   tablette), le détail s'affiche simplement sous la carte. */
.terrain-titre { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 800 .74rem var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--cream); }
.terrain-titre i { width: 10px; height: 10px; border-radius: 50%; background: var(--brick); }
.terrain-titre--ma { margin-top: clamp(28px, 4vw, 40px); }
.terrain-titre--ma i { background: var(--ochre); }
.terrain-be { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.terrain-be--2 { grid-template-columns: repeat(2, 1fr); }
.action { position: relative; display: grid; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line-dark); background: #3B3A46; color: var(--cream); }
.terrain-be .action:last-child { border-bottom-right-radius: 28px; }
/* La face et le détail occupent la même case : la carte prend la hauteur du
   plus long des deux, et le détail n'est jamais coupé. */
.action__face, .action__plus { grid-area: 1 / 1; }
.action__face { padding: 24px 20px 26px; }
.action svg { display: block; width: 60px; height: 60px; margin-bottom: 18px; }
.action h3 { margin: 0 0 8px; padding-right: 26px; font: 700 1.04rem/1.3 var(--f-display); color: var(--cream); }
.action__face p { margin: 0; font-size: .93rem; line-height: 1.5; color: rgba(247, 235, 212, .74); }
.action__indice { position: absolute; top: 16px; right: 16px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(247, 235, 212, .32); transition: transform .35s var(--ease), background .35s; }
.action__indice::before, .action__indice::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; margin: -1px 0 0 -5px; border-radius: 2px; background: var(--ochre); }
.action__indice::after { transform: rotate(90deg); }
.action__plus {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  padding: 24px 20px 22px; background: var(--brick); color: var(--cream);
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.action__plus p { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--cream); }
.action__plus a {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px;
  border-radius: 999px; background: var(--cream); color: var(--ink); text-decoration: none;
  font: 700 .8rem/1.2 var(--f-display); transition: background .2s;
}
.action__plus a:hover, .action__plus a:focus-visible { background: var(--ochre); }
.action__plus a svg { width: 14px; height: 14px; margin: 0; flex: none; }
.action:hover .action__plus, .action:focus-within .action__plus { transform: none; }
.action:hover .action__indice { transform: rotate(45deg); }
@media (hover: none) {
  .action { display: flex; flex-direction: column; }
  .action__face { height: auto; }
  .action__indice { display: none; }
  .action__plus { position: static; transform: none; margin-top: auto; padding: 16px 20px 20px; background: rgba(157, 56, 42, .35); border-top: 1px solid var(--line-dark); }
  .action__plus p { font-size: .9rem; color: rgba(247, 235, 212, .9); }
}
@media (prefers-reduced-motion: reduce) { .action__plus, .action__indice { transition: none; } }
@media (max-width: 1100px) { .terrain-be { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) {
  .terrain-be, .terrain-be--2 { grid-template-columns: 1fr; gap: 10px; }
  .action__face { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 18px; }
  .action svg { grid-row: span 2; width: 48px; height: 48px; margin: 0; }
}

/* ── Les jeunes : découvrir et s'investir ─────────────────────────────── */
.jeunes {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  margin-top: clamp(40px, 5vw, 64px); padding: clamp(26px, 4vw, 52px);
  border-radius: var(--corner) var(--radius) var(--radius) var(--radius); background: var(--brick); color: var(--cream);
}
.jeunes .eyebrow { color: var(--ochre-hi); }
.jeunes .eyebrow::before { background: linear-gradient(90deg, var(--cream) 0 33.3%, var(--ochre) 33.3% 66.6%, var(--ink) 66.6%); }
.jeunes .h2 { margin-top: 12px; font-size: clamp(1.9rem, 3.6vw, 2.8rem); color: var(--cream); }
.jeunes .h2 em { color: var(--ochre-hi); }
.jeunes__tete > p:not(.eyebrow) { margin: 16px 0 0; color: rgba(247, 235, 212, .88); }
.jeunes .jeunes__tete > p.jeunes__chiffre { display: flex; align-items: baseline; gap: 12px; margin: 22px 0 26px; color: var(--cream); }
.jeunes__chiffre b { font: 800 2.6rem/1 var(--f-display); letter-spacing: -.04em; color: var(--ochre-hi); }
.jeunes__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.jeunes__points li { display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: rgba(38, 37, 46, .24); }
.jeunes__points i { grid-row: span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--cream); color: var(--brick); font: 800 1rem var(--f-display); font-style: normal; }
.jeunes__points b { font: 700 1.05rem/1.3 var(--f-display); }
.jeunes__points span { font-size: .93rem; line-height: 1.5; color: rgba(247, 235, 212, .86); }
@media (max-width: 860px) { .jeunes { grid-template-columns: 1fr; } }

/* ── Qui réalise les sites : des jeunes, accompagnés de pros ──────────── */
.releve { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(18px, 3vw, 36px); align-items: center; margin-top: clamp(48px, 6vw, 72px); padding: clamp(24px, 3.4vw, 36px); border-radius: var(--radius); background: var(--ink); color: var(--cream); }
.releve__icone { display: grid; place-items: center; align-self: start; width: 64px; height: 64px; border-radius: 50%; background: var(--ochre); color: var(--ink); }
.releve__icone svg { width: 30px; height: 30px; }
.releve .eyebrow { color: var(--ochre); }
.releve .eyebrow::before { background: linear-gradient(90deg, var(--cream) 0 33.3%, var(--ochre) 33.3% 66.6%, var(--brick) 66.6%); }
.releve h3 { margin: 10px 0 0; font: 700 clamp(1.3rem, 2.2vw, 1.7rem)/1.2 var(--f-display); letter-spacing: -.02em; }
.releve h3 em { color: var(--ochre-hi); font-weight: 500; }
.releve p:not(.eyebrow) { margin: 10px 0 0; max-width: 46em; color: rgba(247, 235, 212, .86); }
.releve__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.releve__points li { padding: 9px 16px; border: 1px solid rgba(247, 235, 212, .28); border-radius: 999px; font: 600 .88rem/1.2 var(--f-display); white-space: nowrap; }
@media (max-width: 1000px) { .releve { grid-template-columns: auto 1fr; } .releve__points { grid-column: 2; display: flex; flex-wrap: wrap; } }
@media (max-width: 560px) { .releve { grid-template-columns: 1fr; } .releve__points { grid-column: 1; } .releve__points li { white-space: normal; } }

/* ── Accueil : trois chiffres, verbes en carte, trois étapes, familles ── */
.figures--3 .figures__grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .figures--3 .figures__grid { grid-template-columns: 1fr; row-gap: 28px; } }
.verbs--carte { padding: clamp(18px, 2.6vw, 30px) clamp(20px, 3vw, 34px) 6px; border: 1px solid var(--line); border-top: 0; border-radius: var(--radius) var(--corner) var(--radius) var(--radius); background: var(--cream-hi); box-shadow: 0 30px 60px -48px rgba(38,37,46,.5); }
.verbs--carte .verbs__head, .verbs--carte .verb { grid-template-columns: minmax(122px, .6fr) 1fr 1fr; gap: 18px; align-items: start; }
.verbs--carte .verbs__head { border-bottom: 2px solid var(--ink); padding-top: 4px; }
.verbs--carte .verb { padding: 20px 0; }
.verbs--carte .verb:last-child { border-bottom: 0; }
.verbs--carte .verb h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
.verbs--carte .verb p { font-size: .96rem; line-height: 1.5; }
@media (max-width: 760px) {
  .verbs--carte .verb { grid-template-columns: 1fr; gap: 8px; }
  .verbs--carte .verb p::before { content: attr(data-q); }
}
.etapes3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.etapes3 li { padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream-hi); }
.etapes3 li:last-child { background: var(--ink); color: var(--cream); border-color: var(--ink); border-bottom-right-radius: var(--corner); }
.etapes3 small { display: block; font: 800 .74rem var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--brick); }
.etapes3 li:last-child small { color: var(--ochre); }
.etapes3 b { display: block; margin: 12px 0 10px; font: 800 clamp(1.2rem, 1.8vw, 1.45rem)/1.2 var(--f-display); letter-spacing: -.01em; }
.etapes3 span { display: block; color: var(--ink-soft); }
.etapes3 li:last-child span { color: rgba(247, 235, 212, .8); }
.etapes3 li:last-child a { color: var(--ochre); }
@media (max-width: 860px) { .etapes3 { grid-template-columns: 1fr; } }
.familles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line-strong); }
.familles a { display: block; padding: 24px 22px 26px 0; color: inherit; text-decoration: none; }
.familles a + a { padding-left: 22px; border-left: 1px solid var(--line); }
.familles b { display: block; font: 800 1.15rem/1.25 var(--f-display); transition: color .2s var(--ease); }
.familles a:hover b { color: var(--brick); }
.familles span { display: block; margin-top: 8px; font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 900px) { .familles { grid-template-columns: 1fr 1fr; } .familles a:nth-child(3) { padding-left: 0; border-left: 0; } .familles a:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .familles { grid-template-columns: 1fr; } .familles a, .familles a + a { padding-left: 0; border-left: 0; } .familles a + a { border-top: 1px solid var(--line); } }

/* ── Accueil : la suite, page par page ─────────────────────────────────── */
.suite { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.suite a { display: block; padding: clamp(22px, 2.6vw, 30px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream-hi); color: inherit; text-decoration: none; transition: transform .25s var(--ease), border-color .25s var(--ease); }
.suite a:hover, .suite a:focus-visible { transform: translateY(-3px); border-color: var(--brick); }
.suite b { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 800 1.2rem/1.25 var(--f-display); }
.suite b svg { flex: none; width: 20px; height: 20px; color: var(--brick); transition: transform .25s var(--ease); }
.suite a:hover b svg, .suite a:focus-visible b svg { transform: translateX(4px); }
.suite span { display: block; margin-top: 10px; font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 860px) { .suite { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .suite a, .suite b svg { transition: none; } }

/* ── Connexion à l'espace client ───────────────────────────────────────── */
.connexion { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.connexion__t { margin-right: 4px; font: 700 .74rem var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.connexion__p { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px 9px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; font: 600 .92rem var(--f-body); color: var(--ink); }
.connexion__p svg { width: 18px; height: 18px; flex: none; }
.connexion__p--mail { background: transparent; border-style: dashed; color: var(--ink-soft); }
.connexion__p--mail svg { color: var(--brick); }
.grid-2--verbes { grid-template-columns: .82fr 1.18fr; gap: clamp(32px, 5vw, 72px); }
@media (max-width: 1180px) { .grid-2--verbes { grid-template-columns: 1fr; } .grid-2--verbes .story { max-width: 760px; } }

/* ── Cookies : bandeau et préférences ──────────────────────────────────── */
.ck {
  position: fixed; z-index: 120; left: clamp(12px, 2.4vw, 28px); bottom: clamp(12px, 2.4vw, 28px);
  width: min(440px, calc(100vw - 24px)); padding: 28px 26px 22px;
  border-radius: var(--radius); border-top-left-radius: var(--corner);
  background: var(--ink); color: var(--cream); box-shadow: 0 26px 70px -22px rgba(38, 37, 46, .6);
  opacity: 0; transform: translateY(18px); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.ck.is-on { opacity: 1; transform: none; }
.ck::before { content: ""; position: absolute; left: 66px; top: 0; width: 54px; height: 4px; background: linear-gradient(90deg, var(--cream) 0 33.3%, var(--ochre) 33.3% 66.6%, var(--brick) 66.6%); }
.ck__t { display: flex; align-items: center; gap: 12px; margin: 0; font: 800 1.2rem/1.25 var(--f-display); letter-spacing: -.01em; }
.ck__t svg { flex: none; width: 28px; height: 28px; color: var(--ochre); }
.ck__p { margin: 10px 0 0; font-size: .93rem; line-height: 1.55; color: rgba(247, 235, 212, .84); }
.ck__p a { color: var(--ochre-hi); text-underline-offset: 3px; white-space: nowrap; }
.ck__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.ck__choix { --bg: var(--cream); --fg: var(--ink); --bd: var(--cream); flex: 1 1 0; }
.ck__choix:hover { --bg: var(--ochre-hi); --bd: var(--ochre-hi); }
.ck__perso { flex-basis: 100%; padding: 6px 0 0; border: 0; background: none; color: var(--ochre-hi); font: 600 .9rem var(--f-display); text-align: left; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.ck__perso:hover { color: var(--cream); }

.ck-pref {
  width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); padding: clamp(24px, 4vw, 36px);
  border: 0; border-radius: var(--radius); border-top-left-radius: var(--corner);
  background: var(--cream-hi); color: var(--ink); box-shadow: 0 32px 90px -26px rgba(38, 37, 46, .65);
}
.ck-pref::backdrop { background: rgba(38, 37, 46, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.ck-pref[open] { animation: ck-entree .35s var(--ease); }
@keyframes ck-entree { from { opacity: 0; transform: translateY(14px); } }
.ck-pref__tete { position: relative; padding-right: 52px; }
.ck-pref__tete .h3 { margin: 12px 0 0; font-size: clamp(1.35rem, 2.4vw, 1.65rem); }
.ck-pref__intro { margin: 10px 0 0; font-size: .95rem; color: var(--ink-soft); }
.ck-pref__fermer { position: absolute; right: -8px; top: -8px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.ck-pref__fermer:hover { background: var(--ink); color: var(--cream); }
.ck-pref__fermer svg { width: 18px; height: 18px; }
.ck-cat { margin-top: 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); }
.ck-cat + .ck-cat { margin-top: 10px; }
.ck-cat__tete { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: default; }
label.ck-cat__tete { cursor: pointer; }
.ck-cat__tete b { font: 700 1.02rem/1.3 var(--f-display); }
.ck-cat p { margin: 8px 0 0; font-size: .92rem; line-height: 1.55; color: var(--ink-soft); }
.ck-cat__on { flex: none; font: 700 .7rem var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--brick); }
.ck-switch { -webkit-appearance: none; appearance: none; flex: none; position: relative; width: 52px; height: 30px; margin: 0; border-radius: 999px; background: var(--line-strong); cursor: pointer; transition: background .2s var(--ease); }
.ck-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(38, 37, 46, .3); transition: transform .2s var(--ease); }
.ck-switch:checked { background: var(--brick); }
.ck-switch:checked::after { transform: translateX(22px); }
.ck-switch:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; }
.ck-pref__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ck-pref__actions .btn { flex: 1 1 auto; }
.ck-pref__lien { margin: 16px 0 0; font-size: .88rem; }
.ck-pref__lien a { color: var(--brick); text-underline-offset: 3px; }
.ftr__ck { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.ftr__ck:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.ck-etat { display: block; margin-top: 10px; font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 560px) {
  .ck { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 24px 20px 18px; border-top-left-radius: 36px; }
  .ck::before { left: 46px; }
  .ck-pref__actions .btn { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { .ck, .ck-switch, .ck-switch::after { transition: none; } .ck-pref[open] { animation: none; } }
