/* ==========================================================================
   ADECA — Feuille de style principale
   Palette de proposition : à remplacer par les couleurs du logo officiel.
   Repères : 1) Tokens  2) Base  3) Layout  4) En-tête  5) Héros
             6) Composants  7) Formulaires  8) Pied de page  9) Animations
   ========================================================================== */

/* ----------------------------------------------------------- 1) Tokens --- */
:root {
  /* Surfaces */
  --paper: #ffffff;
  --paper-2: #f7f8fb;
  --paper-3: #edf1f7;
  --ink: #0b1420;
  --ink-2: #3d4b5f;
  --ink-3: #6c7b91;
  --line: #e3e9f1;
  --line-2: #d3dbe6;

  /* Marque — couleurs relevées sur le logo officiel ADECA
     cyan #00ADEF · magenta #ED008E · rouge #D2232A · vert #3EAE48 · jaune #FDB513
     Les versions « -bright » servent aux aplats et aux dégradés ; les versions
     foncées servent aux textes et aux liens, pour garder un contraste suffisant. */
  --brand-bright: #00adef;
  --brand: #00719e;
  --brand-2: #005979;
  --brand-3: #e3f6fe;
  --cta: #d2232a;
  --cta-2: #ad1b21;
  --cta-3: #fceced;

  /* Les quatre mouvements, dans l'ordre des lettres du logo */
  --diversite: #ed008e;
  --expression: #d2232a;
  --connexion: #318d39;
  --connexion-bright: #3eae48;
  --action: #b87c05;
  --action-bright: #fdb513;
  --diversite-soft: #fde7f4;
  --expression-soft: #fbe9ea;
  --connexion-soft: #e9f6eb;
  --action-soft: #fff4dd;

  /* Typographie */
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --t-hero: clamp(2.4rem, 1.4rem + 4vw, 4.5rem);
  --t-h1: clamp(2.1rem, 1.35rem + 3vw, 3.5rem);
  --t-h2: clamp(1.65rem, 1.2rem + 1.8vw, 2.6rem);
  --t-h3: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
  --t-lead: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
  --t-sm: 0.9375rem;
  --t-xs: 0.8125rem;

  /* Rythme */
  --wrap: 1240px;
  --wrap-text: 760px;
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --sec: clamp(4rem, 2.5rem + 6vw, 7.5rem);

  /* Formes */
  --r-xs: 8px;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --r-xl: 36px;
  --pill: 999px;

  --sh-1: 0 1px 2px rgba(11, 20, 32, .04), 0 2px 8px rgba(11, 20, 32, .04);
  --sh-2: 0 2px 4px rgba(11, 20, 32, .04), 0 10px 26px rgba(11, 20, 32, .07);
  --sh-3: 0 4px 10px rgba(11, 20, 32, .05), 0 22px 50px rgba(11, 20, 32, .11);
  --sh-cta: 0 8px 22px rgba(214, 69, 43, .28);

  --ease: cubic-bezier(.22, .68, .32, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: .45s;
}

/* ------------------------------------------------------------- 2) Base --- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.028em;
  margin: 0 0 .6em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); letter-spacing: -0.018em; line-height: 1.25; }
h4 { font-size: 1.0625rem; letter-spacing: -0.012em; line-height: 1.35; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-2); }

img, svg, video { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
strong, b { font-weight: 650; }
small { font-size: var(--t-xs); }

::selection { background: var(--brand); color: #fff; }

/* L'attribut hidden doit l'emporter sur nos règles d'affichage */
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 999;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem;
  border-radius: var(--r-xs); font-weight: 600; font-size: var(--t-sm);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

.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;
}

/* ----------------------------------------------------------- 3) Layout --- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-sm { max-width: 920px; }
.wrap-text { max-width: var(--wrap-text); }

.section { padding-block: var(--sec); position: relative; }
.section--tight { padding-block: clamp(2.75rem, 2rem + 3vw, 4.5rem); }
.section--alt { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: rgba(255, 255, 255, .78); }

.sec-head { max-width: 760px; margin-bottom: clamp(2.25rem, 1.5rem + 2vw, 3.5rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head > :last-child { margin-bottom: 0; }
.sec-head p { color: var(--ink-2); font-size: var(--t-lead); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 1.75rem; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-bright), var(--diversite) 45%,
              var(--action-bright));
}
.sec-head--center .eyebrow { justify-content: center; }

.grid { display: grid; gap: clamp(1rem, .6rem + 1.4vw, 1.75rem); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

.split {
  display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  grid-template-columns: 1.05fr .95fr; align-items: center;
}
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* --------------------------------------------------------- 4) En-tête ---- */
.topbar {
  background: var(--ink); color: rgba(255, 255, 255, .84);
  font-size: var(--t-xs); line-height: 1.4;
}
.topbar__in {
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  padding-block: .55rem; text-align: center; flex-wrap: wrap;
}
.topbar__dot {
  width: .45rem; height: .45rem; border-radius: 50%; background: var(--action-bright);
  flex: none; box-shadow: 0 0 0 3px rgba(226, 148, 26, .25);
  animation: pulse 2.6s var(--ease) infinite;
}
.topbar a { color: #fff; font-weight: 600; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease),
              box-shadow .3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, .92);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(11, 20, 32, .06);
}
.header__in {
  display: flex; align-items: center; gap: 1.25rem;
  padding-block: .85rem; transition: padding .3s var(--ease);
}
.site-header.is-stuck .header__in { padding-block: .6rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.brand:hover { color: inherit; }
.brand__mark { width: 40px; height: 40px; flex: none; transition: transform .5s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
  letter-spacing: -0.02em; color: var(--ink);
}
.brand__sub {
  font-size: .625rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600; margin-top: .22rem;
}

/* L'en-tête dispose d'un peu plus de largeur que le reste du contenu */
.site-header .wrap { max-width: 1440px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: .15rem;
  list-style: none; margin-block: 0; padding-left: 0; }
.nav > li { margin: 0; }
.nav__link {
  position: relative;
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .55rem .72rem; border-radius: var(--pill);
  font-size: .9375rem; font-weight: 550; color: var(--ink-2);
  text-decoration: none; white-space: nowrap;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__link:hover { color: var(--ink); background: var(--paper-3); }
.nav__link[aria-current="page"] { color: var(--brand); font-weight: 650; }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: .18rem;
  transform: translateX(-50%); width: 1.1rem; height: 2px; border-radius: 2px;
  background: var(--cta);
}
.nav__item { position: relative; }

.nav__toggle { background: none; border: 0; font: inherit; cursor: pointer; }
.nav__chev { width: .7rem; height: .7rem; transition: transform .25s var(--ease); }
.nav__item.is-open .nav__chev { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + .5rem); left: 50%;
  transform: translate(-50%, -6px); min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-3); padding: .5rem; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transition: all .25s var(--ease-out);
}
.nav__item.is-open .nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__menu li { margin: 0; }
.nav__menu a {
  display: block; padding: .6rem .75rem; border-radius: var(--r-xs);
  font-size: .9375rem; font-weight: 550; color: var(--ink-2); text-decoration: none;
}
.nav__menu a:hover { background: var(--brand-3); color: var(--brand-2); }

.header__actions { display: flex; align-items: center; gap: .5rem; flex: none; }

.lang {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .5rem .8rem; border: 1px solid var(--line-2); border-radius: var(--pill);
  font-size: .8125rem; font-weight: 650; color: var(--ink-2); text-decoration: none;
  background: #fff; transition: all .2s var(--ease);
}
.lang:hover { border-color: var(--brand); color: var(--brand); }

.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-2);
  border-radius: var(--r-xs); background: #fff; cursor: pointer;
  align-items: center; justify-content: center; flex: none;
}
.burger span {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink);
  position: relative; transition: all .3s var(--ease);
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px;
  border-radius: 2px; background: var(--ink); transition: all .3s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1340px) {
  .nav__link { padding-inline: .55rem; font-size: .9rem; }
}
@media (max-width: 1200px) {
  .header__actions .btn { display: none; }
}

@media (max-width: 1080px) {
  .nav, .header__actions .btn { display: none; }
  .burger { display: flex; margin-left: auto; }
  .header__actions { margin-left: auto; }
}

/* Téléphones : l'en-tête doit tenir sur une seule ligne */
@media (max-width: 600px) {
  .header__in { gap: .5rem; }
  .brand { min-width: 0; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__name { font-size: 1.15rem; }
  .brand__sub { display: none; }
  .lang { padding: .5rem .65rem; gap: .3rem; }
  .topbar__in { padding-block: .5rem; gap: .5rem; }
  .topbar { font-size: .75rem; }
}

.drawer {
  position: fixed; inset: 0; z-index: 99; display: grid;
  grid-template-rows: auto 1fr; background: #fff;
  transform: translateY(-100%); transition: transform .5s var(--ease-out);
  overflow-y: auto; padding-top: 4.5rem;
}
body.menu-open .drawer { transform: translateY(0); }
.drawer__nav { list-style: none; margin: 0; padding: 1rem var(--gut) 3rem; }
.drawer__nav li { margin: 0; border-bottom: 1px solid var(--line); }
.drawer__nav a {
  display: block; padding: 1.05rem .25rem; font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700; color: var(--ink); text-decoration: none;
  letter-spacing: -0.02em;
}
.drawer__nav a:hover { color: var(--brand); }
.drawer__nav .is-head span {
  display: block; padding: 1.35rem .25rem .5rem; font-family: var(--font-display);
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3);
}
.drawer__nav .is-head { border-bottom: 0; }
.drawer__nav .is-sub a { font-size: 1.05rem; font-weight: 600; padding-left: 1.1rem; color: var(--ink-2); }
.drawer__foot { padding: 1.5rem var(--gut) 3rem; display: grid; gap: .75rem; }

/* ----------------------------------------------------------- 5) Héros ---- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--paper); }
.hero--home { padding-block: clamp(3.5rem, 2rem + 8vw, 7rem) clamp(3rem, 2rem + 5vw, 5.5rem); }
.hero--page { padding-block: clamp(2.75rem, 2rem + 4vw, 5rem) clamp(2rem, 1.5rem + 3vw, 3.5rem); }

.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5;
  will-change: transform;
}
.blob--1 { width: 46vw; height: 46vw; top: -14vw; right: -10vw; background: radial-gradient(circle at 30% 30%, rgba(237, 0, 142, .42), transparent 70%); animation: drift1 26s var(--ease) infinite alternate; }
.blob--2 { width: 40vw; height: 40vw; top: 8vw; left: -14vw; background: radial-gradient(circle at 60% 40%, rgba(0, 173, 239, .45), transparent 70%); animation: drift2 32s var(--ease) infinite alternate; }
.blob--3 { width: 32vw; height: 32vw; bottom: -12vw; right: 18vw; background: radial-gradient(circle at 50% 50%, rgba(62, 174, 72, .4), transparent 70%); animation: drift3 29s var(--ease) infinite alternate; }
.blob--4 { width: 26vw; height: 26vw; bottom: 2vw; left: 14vw; background: radial-gradient(circle at 50% 50%, rgba(253, 181, 19, .42), transparent 70%); animation: drift1 35s var(--ease) infinite alternate-reverse; }
.blob--5 { width: 24vw; height: 24vw; top: 26vw; left: 38vw; background: radial-gradient(circle at 50% 50%, rgba(210, 35, 42, .3), transparent 70%); animation: drift2 38s var(--ease) infinite alternate; }

.hero__grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: url("../img/grain.svg"); background-size: 220px;
  mix-blend-mode: multiply;
}
.hero__veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.82) 55%, #fff 100%);
}

.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
@media (max-width: 1000px) { .hero__grid { grid-template-columns: 1fr; } }

.hero h1 { font-size: var(--t-hero); margin-bottom: 1.5rem; }
.hero h1 em {
  font-style: normal; position: relative; white-space: nowrap;
  background: linear-gradient(100deg, var(--diversite), var(--brand-bright));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: var(--t-lead); color: var(--ink-2); max-width: 56ch; }

.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.hero__card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  box-shadow: var(--sh-3);
}
.hero__card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, var(--brand-bright), var(--diversite),
              var(--expression), var(--connexion-bright), var(--action-bright));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .55; pointer-events: none;
}

.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.stat { background: #fff; padding: 1.15rem 1.1rem; }
.stat__n { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.03em; color: var(--brand); line-height: 1; }
.stat__l { font-size: var(--t-xs); color: var(--ink-3); margin-top: .4rem; line-height: 1.4; }
/* Dans la carte du héros, les chiffres restent lisibles sur deux colonnes */
.hero__card .stat-strip { grid-template-columns: repeat(2, 1fr); }
.hero__card .stat { padding: 1.1rem 1.25rem; }
.hero__card .stat__n { font-size: 1.9rem; }
@media (max-width: 760px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }

.scroll-cue { display: inline-flex; align-items: center; gap: .5rem; margin-top: 2.5rem; font-size: var(--t-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); text-decoration: none; }
.scroll-cue svg { animation: bob 2s var(--ease) infinite; }
.scroll-cue:hover { color: var(--brand); }

.hero--page .hero__inner { max-width: 820px; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: var(--t-xs); color: var(--ink-3); margin-bottom: 1.25rem; padding: 0; list-style: none; }
.crumbs li { margin: 0; display: flex; align-items: center; gap: .4rem; }
.crumbs li + li::before { content: "/"; color: var(--line-2); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }

/* ------------------------------------------------------ 6) Composants ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.4rem; border-radius: var(--pill); border: 1px solid transparent;
  font-family: var(--font-display); font-size: .9375rem; font-weight: 700;
  letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease),
              background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1rem; height: 1rem; flex: none; transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary { background: var(--cta); color: #fff; box-shadow: var(--sh-cta); }
.btn--primary:hover { background: var(--cta-2); color: #fff; box-shadow: 0 12px 28px rgba(214, 69, 43, .34); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--brand-2); color: #fff; }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-2); color: #fff; }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); box-shadow: var(--sh-2); }
.btn--ghost { background: transparent; color: var(--ink); padding-inline: .5rem; }
.btn--ghost:hover { color: var(--brand); }
.btn--light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.28); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--sm { padding: .6rem 1rem; font-size: .875rem; }
.btn--lg { padding: 1rem 1.7rem; font-size: 1rem; }
.btn--block { width: 100%; }

.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .28rem .7rem; border-radius: var(--pill);
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  font-family: var(--font-display); white-space: nowrap;
}
.badge::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: currentColor; flex: none; }
.badge--confirmed { background: var(--connexion-soft); color: #086b61; }
.badge--proposed { background: var(--action-soft); color: #8a5a06; }
.badge--progress { background: var(--expression-soft); color: #5a338f; }
.badge--soon { background: var(--paper-3); color: var(--ink-3); }

.tbc {
  border-bottom: 1px dotted var(--ink-3); cursor: help; color: inherit;
  text-decoration: none;
}

.card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.35rem, 1rem + 1vw, 1.85rem);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease), border-color .3s var(--ease);
  overflow: hidden; height: 100%;
}
.card--hover:hover { transform: translateY(-5px); box-shadow: var(--sh-3); border-color: transparent; }
.card > :last-child { margin-bottom: 0; }
.card p { color: var(--ink-2); font-size: var(--t-sm); }
.card h3, .card h4 { margin-bottom: .5rem; }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }

.card--accent::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px;
  background: var(--acc, var(--brand)); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.card--accent:hover::before { transform: scaleX(1); }

.icon-box {
  width: 3rem; height: 3rem; border-radius: var(--r-sm);
  display: grid; place-items: center; flex: none;
  background: var(--acc-soft, var(--brand-3)); color: var(--acc, var(--brand));
  transition: transform .4s var(--ease-out);
}
.icon-box svg { width: 1.4rem; height: 1.4rem; }
.card--hover:hover .icon-box { transform: scale(1.08) rotate(-4deg); }

.acc-diversite { --acc: var(--diversite); --acc-soft: var(--diversite-soft); }
.acc-expression { --acc: var(--expression); --acc-soft: var(--expression-soft); }
.acc-connexion { --acc: var(--connexion); --acc-soft: var(--connexion-soft); }
.acc-action { --acc: var(--action); --acc-soft: var(--action-soft); }
.acc-brand { --acc: var(--brand); --acc-soft: var(--brand-3); }

/* Piliers */
.pillar { display: flex; flex-direction: column; }
.pillar__letter {
  font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1;
  letter-spacing: -0.04em; color: var(--acc); opacity: .22; margin-bottom: .75rem;
  transition: opacity .4s var(--ease), transform .4s var(--ease-out);
}
.card--hover:hover .pillar__letter { opacity: .5; transform: translateY(-2px); }

/* Visuel décoratif (en attente des photos réelles) */
.art {
  position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  background: linear-gradient(140deg, var(--acc-soft, var(--brand-3)), #fff 70%);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3; display: grid; place-items: center;
}
.art--tall { aspect-ratio: 3 / 4; }
.art--wide { aspect-ratio: 16 / 9; }
.art__shapes { position: absolute; inset: 0; z-index: -1; }
.art__shapes span { position: absolute; border-radius: 50%; opacity: .5; filter: blur(22px); }
.art__shapes span:nth-child(1) { width: 55%; height: 55%; top: -10%; left: -8%; background: var(--acc, var(--diversite)); }
.art__shapes span:nth-child(2) { width: 45%; height: 45%; bottom: -8%; right: -6%; background: var(--connexion-bright); }
.art__shapes span:nth-child(3) { width: 38%; height: 38%; top: 30%; right: 22%; background: var(--action-bright); opacity: .38; }
.art__label {
  position: relative; text-align: center; padding: 1.25rem;
  font-size: var(--t-xs); font-weight: 600; color: var(--ink-2);
  background: rgba(255, 255, 255, .72); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .8); border-radius: var(--r-sm);
  max-width: 82%;
}
.art__label strong { display: block; font-family: var(--font-display); font-size: .9375rem; color: var(--ink); margin-bottom: .2rem; }
.art__glyph { position: absolute; width: 38%; max-width: 160px; opacity: .9; }

.art-frame { position: relative; }
.art-frame::after {
  content: ""; position: absolute; inset: auto -1.25rem -1.25rem auto;
  width: 62%; height: 62%; border-radius: var(--r-lg); z-index: -1;
  background: linear-gradient(140deg, var(--brand-bright), var(--diversite));
  opacity: .14;
}

/* Liste à puces illustrée */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.ticks li { display: flex; gap: .75rem; margin: 0; color: var(--ink-2); }
.ticks li::before {
  content: ""; flex: none; width: 1.35rem; height: 1.35rem; border-radius: 50%; margin-top: .15rem;
  background: var(--connexion-soft) url("../img/check.svg") center / .75rem no-repeat;
}
.ticks--brand li::before { background-color: var(--brand-3); }

/* Étapes numérotées */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; counter-reset: s; }
.step { display: grid; grid-template-columns: 3rem 1fr; gap: 1.25rem; margin: 0; position: relative; }
.step:not(:last-child)::before {
  content: ""; position: absolute; left: 1.5rem; top: 3.4rem; bottom: -1.5rem;
  width: 2px; background: linear-gradient(var(--line-2), transparent);
}
.step__n {
  width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: #fff; font-family: var(--font-display);
  font-weight: 800; font-size: 1.05rem; flex: none;
}
.step:nth-child(2) .step__n { background: var(--diversite); }
.step:nth-child(3) .step__n { background: var(--expression); }
.step:nth-child(4) .step__n { background: var(--connexion); }
.step:nth-child(5) .step__n { background: var(--action); }
.step h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.step p { color: var(--ink-2); font-size: var(--t-sm); margin: 0; }

/* Activité */
.event {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--sh-2);
}
@media (max-width: 900px) { .event { grid-template-columns: 1fr; } }
.event__body { padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.event__aside { background: var(--paper-2); border-left: 1px solid var(--line); padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); }
@media (max-width: 900px) { .event__aside { border-left: 0; border-top: 1px solid var(--line); } }
.event__kicker { font-size: var(--t-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--acc, var(--brand)); margin-bottom: .6rem; }
.event__title { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); margin-bottom: .9rem; }
.event__desc { color: var(--ink-2); }

.dl { display: grid; gap: .9rem; margin: 0; }
.dl__row { display: grid; grid-template-columns: 7.5rem 1fr; gap: .75rem; font-size: var(--t-sm); align-items: start; }
.dl__k { color: var(--ink-3); font-weight: 600; font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .06em; padding-top: .1rem; }
.dl__v { color: var(--ink); font-weight: 550; }
@media (max-width: 480px) { .dl__row { grid-template-columns: 1fr; gap: .15rem; } }

.price-rows { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.price-rows li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 0; padding-bottom: .55rem; border-bottom: 1px dashed var(--line-2); font-size: var(--t-sm); }
.price-rows li:last-child { border-bottom: 0; padding-bottom: 0; }
.price-rows b { font-family: var(--font-display); color: var(--brand); white-space: nowrap; }

.note {
  display: flex; gap: .85rem; padding: 1.1rem 1.25rem; border-radius: var(--r);
  background: var(--action-soft); border: 1px solid rgba(226, 148, 26, .3);
  font-size: var(--t-sm); color: #6b4705;
}
.note--info { background: var(--brand-3); border-color: rgba(17, 73, 126, .2); color: var(--brand-2); }
.note--neutral { background: var(--paper-2); border-color: var(--line); color: var(--ink-2); }
.note svg { width: 1.15rem; height: 1.15rem; flex: none; margin-top: .15rem; }
.note > div > :last-child { margin-bottom: 0; }
.note strong { display: block; font-family: var(--font-display); margin-bottom: .2rem; }

/* Filtres */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter {
  padding: .5rem 1rem; border-radius: var(--pill); border: 1px solid var(--line-2);
  background: #fff; font-size: .875rem; font-weight: 600; color: var(--ink-2);
  cursor: pointer; transition: all .2s var(--ease); font-family: var(--font-body);
}
.filter:hover { border-color: var(--ink-3); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Tarifs / adhésion */
.tier {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.6rem 1.5rem; height: 100%; position: relative;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease);
}
.tier:hover { transform: translateY(-5px); box-shadow: var(--sh-3); }
.tier--featured { border-color: var(--brand); box-shadow: var(--sh-2); }
.tier--featured::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  border: 2px solid var(--brand); opacity: .22;
}
.tier__flag {
  position: absolute; top: -.75rem; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: .7rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: .3rem .8rem;
  border-radius: var(--pill); font-family: var(--font-display); white-space: nowrap;
}
.tier__name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.tier__price { font-family: var(--font-display); font-weight: 800; font-size: 2.5rem; letter-spacing: -0.04em; line-height: 1; margin: .6rem 0 .25rem; color: var(--brand); }
.tier__per { font-size: var(--t-xs); color: var(--ink-3); }
.tier__who { font-size: var(--t-sm); color: var(--ink-2); margin: .85rem 0 1.15rem; padding-bottom: 1.15rem; border-bottom: 1px solid var(--line); min-height: 3.5rem; }
.tier ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; font-size: var(--t-sm); color: var(--ink-2); }
.tier ul li { display: flex; gap: .6rem; margin: 0; }
.tier ul li::before { content: ""; flex: none; width: 1.1rem; height: 1.1rem; margin-top: .22rem; border-radius: 50%; background: var(--brand-3) url("../img/check.svg") center / .65rem no-repeat; }
.tier .btn { margin-top: auto; }

/* Accordéon */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem .25rem; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink);
  letter-spacing: -0.015em;
}
.acc__btn:hover { color: var(--brand); }
.acc__ico { position: relative; width: 1.25rem; height: 1.25rem; flex: none; }
.acc__ico::before, .acc__ico::after {
  content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 2px;
  border-radius: 2px; background: var(--brand); transition: transform .3s var(--ease);
}
.acc__ico::after { transform: rotate(90deg); }
.acc__item.is-open .acc__ico::after { transform: rotate(0); }
.acc__panel { overflow: hidden; height: 0; transition: height .4s var(--ease-out); }
.acc__panel-in { padding: 0 2.5rem 1.4rem .25rem; color: var(--ink-2); font-size: var(--t-sm); }

/* Galerie / logos */
.slots { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.slot {
  aspect-ratio: 3 / 2; border-radius: var(--r); border: 1px dashed var(--line-2);
  background: var(--paper-2); display: grid; place-items: center; text-align: center;
  padding: 1rem; font-size: var(--t-xs); color: var(--ink-3); gap: .5rem;
}
.slot svg { width: 1.5rem; height: 1.5rem; opacity: .45; margin-inline: auto; }

/* Bande d'appel */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: clamp(2rem, 1.5rem + 3vw, 3.75rem); }
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background:
    radial-gradient(40% 70% at 12% 20%, rgba(237, 0, 142, .5), transparent 70%),
    radial-gradient(45% 65% at 88% 30%, rgba(0, 173, 239, .55), transparent 70%),
    radial-gradient(40% 60% at 60% 110%, rgba(62, 174, 72, .45), transparent 70%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .8); font-size: var(--t-lead); }
.cta-band__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* Marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: slide 34s linear infinite; padding-block: .5rem; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink-3); white-space: nowrap; display: flex; align-items: center; gap: 1rem; }
.marquee__item::after { content: ""; width: .35rem; height: .35rem; border-radius: 50%; background: var(--line-2); }

/* Actualités */
.post { display: flex; flex-direction: column; gap: .75rem; height: 100%; }
.post__meta { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; font-size: var(--t-xs); color: var(--ink-3); }
.post h3 { font-size: 1.15rem; margin: 0; }
.post h3 a { color: inherit; text-decoration: none; }
.post h3 a:hover { color: var(--brand); }
.post p { font-size: var(--t-sm); color: var(--ink-2); margin: 0; }
.post__more { margin-top: auto; padding-top: .5rem; font-size: var(--t-sm); font-weight: 650; color: var(--brand); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.post__more svg { width: .9rem; height: .9rem; transition: transform .3s var(--ease-out); }
.post__more:hover svg { transform: translateX(3px); }

/* Mesures / ancres */
.anchors { display: flex; flex-wrap: wrap; gap: .5rem; }
.slots, .chips, .filters, .marquee__track { list-style: none; }
.anchors a {
  font-size: var(--t-sm); font-weight: 600; color: var(--ink-2); text-decoration: none;
  padding: .45rem .9rem; border-radius: var(--pill); background: var(--paper-2);
  border: 1px solid var(--line);
}
.anchors a:hover { background: #fff; color: var(--brand); border-color: var(--brand); }

.progress-bar { position: fixed; top: 0; left: 0; height: 3px; z-index: 200; background: linear-gradient(90deg, var(--diversite), var(--action)); width: 0; transition: width .1s linear; }

/* ----------------------------------------------------- 7) Formulaires ---- */
.form-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); box-shadow: var(--sh-2);
}
.form { display: grid; gap: 1.15rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field--full { grid-column: 1 / -1; }
@media (max-width: 680px) { .form { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field > label, .field__legend {
  font-size: var(--t-sm); font-weight: 650; color: var(--ink);
  font-family: var(--font-display); letter-spacing: -0.01em;
}
.field__req { color: var(--cta); font-weight: 700; }
.field__opt { font-size: var(--t-xs); font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.field__help { font-size: var(--t-xs); color: var(--ink-3); line-height: 1.45; }

.input, .select, .textarea {
  width: 100%; padding: .8rem .95rem; border: 1px solid var(--line-2);
  border-radius: var(--r-sm); background: #fff; color: var(--ink);
  font-family: var(--font-body); font-size: .9375rem; line-height: 1.5;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-3); }
.input:focus, .select:focus, .textarea:focus {
  outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(17, 73, 126, .12);
}
.textarea { resize: vertical; min-height: 6rem; }
.select {
  background-image: url("../img/chevron.svg");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: .7rem;
  padding-right: 2.4rem; cursor: pointer;
}
.field.has-error .input, .field.has-error .select, .field.has-error .textarea,
.field.has-error .chips { border-color: var(--cta); background: var(--cta-3); }
.field__error { font-size: var(--t-xs); font-weight: 600; color: var(--cta-2); display: none; }
.field.has-error .field__error { display: block; }

fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  position: relative; display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem .9rem; border: 1px solid var(--line-2); border-radius: var(--pill);
  background: #fff; font-size: .875rem; color: var(--ink-2); cursor: pointer;
  transition: all .2s var(--ease); user-select: none;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip__dot {
  width: .9rem; height: .9rem; border-radius: 50%; border: 1.5px solid var(--line-2);
  flex: none; transition: all .2s var(--ease);
}
.chip input:checked ~ .chip__dot { border-color: var(--brand); background: var(--brand) url("../img/check-w.svg") center / .55rem no-repeat; }
.chip:has(input:checked) { border-color: var(--brand); background: var(--brand-3); color: var(--brand-2); font-weight: 600; }
.chip input:focus-visible ~ .chip__dot { outline: 3px solid var(--brand); outline-offset: 2px; }

.consents { display: grid; gap: .8rem; margin-top: .35rem; }
.consent {
  display: grid; grid-template-columns: 1.35rem 1fr; gap: .75rem; align-items: start;
  font-size: var(--t-sm); color: var(--ink-2); cursor: pointer; line-height: 1.5;
}
.consent input {
  width: 1.35rem; height: 1.35rem; margin: 0; accent-color: var(--brand); cursor: pointer;
  border-radius: 4px;
}
.consent--parent { padding: .85rem 1rem; background: var(--action-soft); border: 1px solid rgba(226, 148, 26, .3); border-radius: var(--r-sm); color: #6b4705; }

.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.form__status { font-size: var(--t-sm); font-weight: 600; }
.form__status.is-ok { color: #086b61; }
.form__status.is-err { color: var(--cta-2); }

/* -------------------------------------------------- 8) Pied de page ------ */
.footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding-block: clamp(3rem, 2rem + 4vw, 5rem) 2rem; }
.footer h4 { color: #fff; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(1.75rem, 1rem + 3vw, 3.5rem); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand { display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub { color: rgba(255, 255, 255, .55); }
.footer__about { font-size: var(--t-sm); max-width: 34ch; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; font-size: var(--t-sm); }
.footer li { margin: 0; }
.footer__social { display: flex; gap: .6rem; margin-top: 1rem; }
.footer__social span, .footer__social a {
  width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .6);
  transition: all .25s var(--ease);
}
.footer__social span { cursor: not-allowed; }
.footer__social a:hover { background: #fff; color: var(--ink); }
.footer__social svg { width: 1.05rem; height: 1.05rem; }
.footer__bottom {
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center;
  font-size: var(--t-xs);
}
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-left: auto; }

/* ------------------------------------------------------ 9) Animations ---- */
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(226, 148, 26, .45); } 50% { box-shadow: 0 0 0 6px rgba(226, 148, 26, 0); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes drift1 { from { transform: translate(0, 0) scale(1); } to { transform: translate(-6%, 7%) scale(1.14); } }
@keyframes drift2 { from { transform: translate(0, 0) scale(1); } to { transform: translate(8%, -5%) scale(1.1); } }
@keyframes drift3 { from { transform: translate(0, 0) scale(1); } to { transform: translate(-7%, -8%) scale(1.18); } }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .4s; }

.word { display: inline-block; overflow: hidden; vertical-align: top; }
.word > span { display: inline-block; transform: translateY(102%); transition: transform .9s var(--ease-out); }
.hero.is-ready .word > span { transform: none; }
.hero.is-ready .word:nth-child(2) > span { transition-delay: .09s; }
.hero.is-ready .word:nth-child(3) > span { transition-delay: .18s; }
.hero.is-ready .word:nth-child(4) > span { transition-delay: .27s; }

.fade-up { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out) .45s, transform .9s var(--ease-out) .45s; }
.hero.is-ready .fade-up { opacity: 1; transform: none; }
.hero.is-ready .fade-up--2 { transition-delay: .6s; }
.hero.is-ready .fade-up--3 { transition-delay: .72s; }

/* Respect des préférences d'animation réduite */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .fade-up { opacity: 1 !important; transform: none !important; }
  .word > span { transform: none !important; }
  .blob { animation: none !important; }
  .marquee__track { animation: none !important; }
}

/* Impression */
@media print {
  .topbar, .site-header, .drawer, .footer__social, .progress-bar, .scroll-cue { display: none !important; }
  body { color: #000; }
  .hero__bg, .blob, .hero__grain { display: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .75em; }
  .card, .tier, .event { break-inside: avoid; box-shadow: none; }
}

/* Titre animé du héros : une ligne par mot-bloc */
.hero h1 .word { display: block; }
.hero h1 .word > span { display: block; line-height: 1.08; padding-bottom: .04em; }

/* ------------------------------------------------- 10) Logo et médias ---- */
.brand__logo { height: 38px; width: auto; flex: none; transition: transform .5s var(--ease-out); }
.brand:hover .brand__logo { transform: scale(1.04) rotate(-1.5deg); }
.site-header.is-stuck .brand__logo { height: 32px; }
.brand__text { padding-left: .8rem; margin-left: .05rem; border-left: 1px solid var(--line-2); }
.brand__sub { margin-top: 0; max-width: 11rem; line-height: 1.3; }
.footer__brand .brand__text { border-left-color: rgba(255, 255, 255, .22); }
.footer__brand .brand__logo { height: 44px; }
@media (max-width: 600px) {
  .brand__text { display: none; }
  .brand__logo, .site-header.is-stuck .brand__logo { height: 30px; }
}

/* Héros avec vidéo ou photo de fond */
.hero--media { background: #060d16; color: #fff; }
.hero--media h1, .hero--media .eyebrow { color: #fff; }
.hero--media .hero__lead { color: rgba(255, 255, 255, .86); }
.hero--media .stat__n { color: #fff; }
.hero--media .stat__l { color: rgba(255, 255, 255, .72); }
.hero--media .stat { background: rgba(255, 255, 255, .06); }
.hero--media .stat-strip { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .18); }
.hero--media .hero__card {
  background: rgba(10, 18, 28, .52); border-color: rgba(255, 255, 255, .18);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.hero--media .scroll-cue { color: rgba(255, 255, 255, .7); }
.hero--media .scroll-cue:hover { color: #fff; }
.hero--media .btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.hero--media .btn--outline:hover { background: #fff; color: var(--ink); }
.hero--media .btn--ghost { color: #fff; }
.hero--media .crumbs, .hero--media .crumbs a { color: rgba(255, 255, 255, .7); }

.hero__video, .hero__still {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -3; pointer-events: none;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(6, 13, 22, .92) 0%, rgba(6, 13, 22, .78) 46%,
                    rgba(6, 13, 22, .42) 100%),
    linear-gradient(0deg, rgba(6, 13, 22, .55), transparent 45%);
}
.hero__flag {
  position: absolute; left: 0; right: 0; bottom: 0; height: 6px; display: flex; z-index: 1;
}
.hero__flag span { flex: 1; }
.hero__flag span:nth-child(1) { background: var(--brand-bright); }
.hero__flag span:nth-child(2) { background: var(--diversite); }
.hero__flag span:nth-child(3) { background: var(--expression); }
.hero__flag span:nth-child(4) { background: var(--connexion-bright); }
.hero__flag span:nth-child(5) { background: var(--action-bright); }

/* Le contenu laisse la place au bouton d'arrêt de l'animation */
.hero--media .hero__inner, .hero--media .hero__grid { padding-bottom: 3.5rem; }

.media-toggle {
  position: absolute; right: var(--gut); bottom: 1.6rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem .9rem; border-radius: var(--pill); cursor: pointer;
  background: rgba(10, 18, 28, .55); color: #fff; border: 1px solid rgba(255, 255, 255, .28);
  font-family: var(--font-body); font-size: var(--t-xs); font-weight: 600;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.media-toggle:hover { background: rgba(10, 18, 28, .8); }
@media (max-width: 680px) {
  .media-toggle { right: 50%; transform: translateX(50%); bottom: 1.1rem; }
  .media-toggle span { display: none; }
  .media-toggle { padding: .6rem; }
}

/* Photos de l'association */
.media {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--r-lg);
  background: var(--paper-3); isolation: isolate;
}
.media img, .media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--3x4 { aspect-ratio: 3 / 4; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--9x16 { aspect-ratio: 9 / 16; }
.media img { transition: transform 1.1s var(--ease-out); }
.media:hover img { transform: scale(1.045); }
.media figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2.5rem 1.1rem 1rem; color: #fff;
  font-size: var(--t-xs); line-height: 1.45;
  background: linear-gradient(transparent, rgba(6, 13, 22, .82));
}
.media__tag {
  position: absolute; top: .9rem; left: .9rem; z-index: 2;
  padding: .3rem .7rem; border-radius: var(--pill); background: rgba(255, 255, 255, .92);
  font-family: var(--font-display); font-size: .7rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; color: var(--ink);
}

/* Mosaïque de réalisations */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(.75rem, .5rem + 1vw, 1.25rem); }
.gallery > * { grid-column: span 2; }
.gallery > *:nth-child(6n + 1) { grid-column: span 4; }
.gallery > *:nth-child(6n + 4) { grid-column: span 3; }
.gallery > *:nth-child(6n + 5) { grid-column: span 3; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery > *, .gallery > *:nth-child(6n + 1),
  .gallery > *:nth-child(6n + 4), .gallery > *:nth-child(6n + 5) { grid-column: span 1; }
}

/* Reels et vidéos verticales */
.reels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, .5rem + 1vw, 1.25rem); }
/* Moins de quatre capsules : on resserre et on centre plutôt que d'étirer. */
.reels--n1, .reels--n2, .reels--n3 { justify-content: center; }
.reels--n1 { grid-template-columns: minmax(0, 17rem); }
.reels--n2 { grid-template-columns: repeat(2, minmax(0, 17rem)); }
.reels--n3 { grid-template-columns: repeat(3, minmax(0, 17rem)); }
@media (max-width: 860px) { .reels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.reel { position: relative; display: block; text-decoration: none; }
.reel .media { border-radius: var(--r); }
.reel__play {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 2;
  color: #fff; transition: transform .4s var(--ease-out);
}
.reel__play span {
  width: 3.25rem; height: 3.25rem; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .5);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.reel:hover .reel__play { transform: scale(1.08); }

/* Bandeau de réseaux sociaux */
.social-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.social-btn {
  display: inline-flex; align-items: center; gap: .55rem; text-decoration: none;
  padding: .6rem 1.05rem; border-radius: var(--pill);
  border: 1px solid var(--line-2); background: #fff; color: var(--ink);
  font-size: var(--t-sm); font-weight: 600; transition: all .25s var(--ease);
}
.social-btn svg { width: 1.1rem; height: 1.1rem; }
.social-btn:hover { transform: translateY(-2px); box-shadow: var(--sh-2); color: var(--ink); }
.social-btn--fb:hover { border-color: #1877f2; color: #1877f2; }
.social-btn--ig:hover { border-color: #d62976; color: #d62976; }
.social-btn--tt:hover { border-color: #010101; color: #010101; }
.section--ink .social-btn, .cta-band .social-btn {
  background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); color: #fff;
}
.section--ink .social-btn:hover, .cta-band .social-btn:hover { background: #fff; color: var(--ink); }
