/* ==========================================================================
   Journée de la philosophie 2026 — « Bonheur en temps de crise »
   Page unique. Identité tirée de l'affiche : marquage jaune, béton, fissure, pissenlit.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Kaushan Script";
  src: url("../fonts/kaushan-script.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --jaune: #F2CC13;
  --jaune-fonce: #D8B000;
  --jaune-pale: #FBEFB0;
  /* Jaune du site + grain léger et variations de ton (évite l'effet aplat) */
  /* Grain : bruit SVG généré par le navigateur (aucun fichier à télécharger) */
  --jaune-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .22 0 0 0 0 0 -.7 0 0 0 .4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 160px 160px;
  --jaune-texture: var(--jaune-grain),
    radial-gradient(120% 90% at 12% 0%, rgba(255, 255, 255, .2), transparent 55%),
    radial-gradient(110% 90% at 100% 100%, rgba(176, 124, 0, .16), transparent 60%);
  --anthracite: #262624;
  --nuit: #1C1C1A;
  --encre-2: #4A4946;
  --beton: #8C8B87;
  --beton-moyen: #D9D7D1;
  --beton-clair: #F1F0EC;
  --blanc: #FFFFFF;
  --vert: #3F6E27;
  --vert-clair: #7FB24F;
  --rouge: #A8231B;

  --font-sans: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-script: "Kaushan Script", "Brush Script MT", cursive;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 72px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 0 rgba(38, 38, 36, .06), 0 14px 34px -20px rgba(38, 38, 36, .45);

  --step--1: clamp(.84rem, .82rem + .1vw, .9rem);
  --step-0: clamp(1rem, .97rem + .15vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.1rem + .45vw, 1.45rem);
  --step-2: clamp(1.45rem, 1.25rem + .9vw, 2rem);
  --step-3: clamp(1.9rem, 1.5rem + 1.8vw, 3rem);
  --step-4: clamp(2.6rem, 1.6rem + 4vw, 5.4rem);
  --step-5: clamp(3.4rem, 1.8rem + 8vw, 10rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html:not(.lenis) { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html:not(.lenis) { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--anthracite);
  background: var(--beton-clair);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--anthracite); outline-offset: 3px; box-shadow: 0 0 0 6px var(--jaune); }
h1, h2, h3, h4 { line-height: 1.05; margin: 0 0 .5em; font-weight: 850; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
strong, b { font-weight: 750; }
::selection { background: var(--jaune); color: var(--anthracite); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 780px); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--anthracite); color: var(--jaune); padding: .6rem 1rem; font-weight: 700; }
.skip-link:focus { top: 1rem; }
main:focus { outline: none; }
.no-js .js-only { display: none !important; }

.script { font-family: var(--font-script); font-weight: 400; letter-spacing: 0; text-transform: none; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: var(--step--1); font-weight: 750; text-transform: uppercase; letter-spacing: .14em;
  color: var(--encre-2); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 2.2em; height: .32em; background: var(--jaune); border-radius: 1px; transform: skewX(-18deg); }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--encre-2); max-width: 58ch; }
.muted { color: var(--encre-2); }
.small { font-size: var(--step--1); }
.stretch {
  /* Taille calée sur la longueur du mot (--chars) pour ne jamais déborder, même étiré */
  font-size: min(var(--max, 8.5rem), calc((min(100vw, var(--container)) - 2 * var(--gutter)) / (var(--chars, 10) * .8)));
  font-weight: 900; text-transform: uppercase; line-height: .86; letter-spacing: -.02em;
  font-stretch: var(--wdth, 100%); margin: 0; white-space: nowrap;
}
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
.section-head .lead { margin: 0; max-width: 42ch; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--anthracite); --fg: var(--blanc);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.4em; border: 2px solid var(--anthracite); border-radius: var(--radius);
  background: var(--bg); color: var(--fg); font: inherit; font-weight: 800; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; line-height: 1.1;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  box-shadow: 4px 4px 0 var(--anthracite);
}
.btn:hover { box-shadow: 7px 7px 0 var(--anthracite); }
.btn:active { box-shadow: 1px 1px 0 var(--anthracite); }
.btn--primary { --bg: var(--jaune); --fg: var(--anthracite); }
.btn--ghost { --bg: transparent; --fg: var(--anthracite); box-shadow: none; }
.btn--ghost:hover { --bg: var(--blanc); box-shadow: 4px 4px 0 var(--anthracite); }
.btn--small { padding: .55em 1em; font-size: var(--step--1); box-shadow: 3px 3px 0 var(--anthracite); }
.btn--big { padding: 1.05em 1.6em; font-size: var(--step-1); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn .arrow { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.magnetic { will-change: transform; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 750; color: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: var(--jaune); text-decoration-thickness: 3px; text-underline-offset: .25em; }
.link-arrow { font-weight: 750; text-decoration: none; border-bottom: 3px solid var(--jaune); }

/* ---------- Progression & en-tête ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--jaune); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 0 1px rgba(38, 38, 36, .15); }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background .35s, box-shadow .35s, transform .45s var(--ease-out);
}
.site-header.is-solid { background: rgba(241, 240, 236, .9); backdrop-filter: saturate(1.3) blur(12px); box-shadow: 0 10px 30px -24px rgba(0, 0, 0, .5); }
.is-subpage .site-header { background: rgba(241, 240, 236, .94); }
.is-subpage main { padding-top: var(--header-h); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand__owl { width: 40px; height: 40px; transition: transform .5s var(--ease-out); }
.brand:hover .brand__owl { transform: rotate(-12deg) scale(1.08); }
.brand__text { display: flex; flex-direction: column; line-height: 1; text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; font-weight: 650; }
.brand__text strong { font-size: 1.08rem; font-weight: 900; letter-spacing: .02em; font-stretch: 112%; }
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav ul { display: flex; gap: 1.2rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { text-decoration: none; font-weight: 650; font-size: .95rem; padding: .3rem 0; position: relative; }
.site-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 4px; background: var(--jaune);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out);
}
.site-nav ul a:hover::after, .site-nav ul a.is-active::after, .site-nav ul a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
/* « Édition 2025 » : archive, mise à part des rubriques de l'édition en cours */
.site-nav ul .site-nav__archive { display: flex; align-items: center; padding-left: 1.2rem; margin-left: .1rem; border-left: 1px solid rgba(38, 38, 36, .3); }
.site-nav ul .site-nav__archive a { font-size: .82rem; font-weight: 600; color: #55544f; }
.nav-toggle { display: none; }

@media (max-width: 1000px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
    border: 2px solid var(--anthracite); border-radius: var(--radius); background: var(--jaune); cursor: pointer;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 20px; height: 2.5px; background: var(--anthracite); position: relative; transition: transform .3s var(--ease), background .2s;
  }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; }
  .nav-toggle__bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 1.2rem;
    padding: 1.2rem var(--gutter) 1.8rem; background: var(--beton-clair); border-bottom: 3px solid var(--anthracite);
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .5s var(--ease-out), visibility 0s .5s;
  }
  .site-nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .5s var(--ease-out); }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .75rem 0; border-bottom: 1px solid var(--beton-moyen); font-size: 1.6rem; font-weight: 850; font-stretch: 110%; }
  .site-nav ul a::after { display: none; }
  .site-nav ul .site-nav__archive { display: block; padding-left: 0; margin: 1.2rem 0 0; border-left: 0; }
  .site-nav ul .site-nav__archive a { font-size: 1rem; font-weight: 650; font-stretch: 100%; border-bottom: 0; }
  .no-js .site-nav { position: static; clip-path: none; visibility: visible; flex-direction: row; flex-wrap: wrap; padding: 0; border: 0; background: none; }
  .no-js .site-nav ul { flex-direction: row; flex-wrap: wrap; gap: .8rem; }
  .no-js .site-nav ul a { font-size: .95rem; border: 0; padding: 0; }
}

/* ---------- Bande jaune « marquage » ---------- */
.paint { background: var(--jaune-texture), var(--jaune); }

/* =================================================================== HERO */
/* Composition de l'affiche : bande jaune (gauche) et photo (droite) côte à côte, la fleur reste visible. */
.hero {
  --glow: 0 0 2px rgba(241, 240, 236, .95), 0 0 12px rgba(241, 240, 236, .9), 0 0 30px rgba(241, 240, 236, .75);
  position: relative; display: grid; grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
  min-height: max(640px, 100svh); background: var(--anthracite); isolation: isolate;
}
.hero__band {
  /* Conteneur de requête : les grands mots se calent sur la largeur réelle de la bande */
  container-type: inline-size;
  position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; gap: clamp(1.6rem, 4vh, 2.6rem);
  padding: calc(var(--header-h) + 2rem) clamp(1.5rem, 3.5vw, 3.5rem) clamp(4.5rem, 12vh, 7rem) max(var(--gutter), calc((100vw - var(--container)) / 2));
  box-shadow: 8px 0 30px -14px rgba(0, 0, 0, .45);
}
.hero__visual { position: relative; overflow: hidden; }
.hero__photo { position: absolute; inset: -6% 0; z-index: 0; will-change: transform; }
.hero__photo { background: #807f7a; }
.hero__photo picture { display: contents; }
.hero__photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
/* Grain fin par-dessus la photo : la source est agrandie (détails mous), le grain redonne du piqué au béton */
.hero__photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: overlay; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0' intercept='1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E") 0 0 / 140px 140px;
}
/* Léger voile clair en haut à droite, sous le titre */
.hero__visual::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(70% 55% at 100% 0%, rgba(241, 240, 236, .6), transparent 70%); }

/* Titre posé sur le béton, avec un halo clair comme sur l'affiche */
.hero__head {
  position: absolute; z-index: 2; top: calc(var(--header-h) + 2.2rem); right: max(var(--gutter), calc((100vw - var(--container)) / 2));
  text-align: right; color: var(--anthracite); text-shadow: var(--glow);
}
.hero__title { font-size: clamp(2rem, 1rem + 2.8vw, 4rem); font-weight: 900; text-transform: uppercase; line-height: .92; font-stretch: 100%; margin: 0; letter-spacing: -.01em; }
.hero__title .year { font-size: .62em; margin-top: .3em; }
.hero__formats { list-style: none; margin: 1.3rem 0 0; padding: 0; font-weight: 800; font-size: var(--step-1); line-height: 1.3; }
.hero__formats li { overflow: hidden; }
.hero__formats span, .hero__org span { display: inline-block; }
.hero__org { margin: 1.2rem 0 0; overflow: hidden; padding: 0 .2rem .3rem; }
.hero__org span {
  display: inline-flex; align-items: center; gap: .55rem; padding: .3rem .95rem .3rem .3rem; border-radius: 999px;
  background: rgba(255, 255, 255, .94); box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .55); text-shadow: none;
  font-size: .95rem; font-weight: 650;
}
.hero__org img { width: 32px; height: 32px; border-radius: 50%; flex: none; }
.hero__org strong { font-weight: 850; }
.hero__org a { color: inherit; text-decoration-color: var(--jaune); text-decoration-thickness: 2px; text-underline-offset: .18em; }

/* Côté jaune : « Bonheur » au pinceau, puis « en temps / de crise » comme sur l'affiche */
.hero__script {
  font-family: var(--font-script); font-size: clamp(4.2rem, 1.8rem + 6.4vw, 9.5rem); font-size: min(9.5rem, 23cqi); line-height: .9; margin: 0 0 0 -.04em;
  color: var(--anthracite); transform: rotate(-4deg); transform-origin: left bottom;
}
.hero__script span { display: inline-block; padding: .1em .15em .2em 0; }
.hero__sub {
  margin: .15em 0 0 .3em; font-weight: 800; line-height: 1.02; letter-spacing: -.01em; font-stretch: 100%;
  font-size: clamp(2.2rem, 1.2rem + 3vw, 4.4rem); font-size: min(4.4rem, 14cqi); text-align: right; width: fit-content;
  color: var(--blanc); text-shadow: 0 .03em .06em rgba(0, 0, 0, .45), 0 0 .3em rgba(0, 0, 0, .3);
}
.hero__sub .line { display: block; padding: 0 .06em .06em 0; }

.hero__meta .when { font-size: var(--step-2); font-weight: 900; font-stretch: 108%; line-height: 1.05; margin: 0; }
.hero__meta .where { margin: .35rem 0 1.3rem; font-weight: 650; }
.hero__meta .actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__meta .btn--ghost:hover { --bg: var(--blanc); }
/* En haut de page, le menu passe sur le béton : même halo clair que le titre */
@media (min-width: 1001px) {
  .site-nav ul { transition: background .35s, box-shadow .35s, padding .35s; }
  .is-onepage .site-header:not(.is-solid) .site-nav ul {
    background: rgba(241, 240, 236, .55); backdrop-filter: blur(10px) saturate(1.2); padding: .4rem 1.1rem; border-radius: 999px;
    box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .4);
  }
  .hero__org span { background: rgba(255, 255, 255, .6); backdrop-filter: blur(8px) saturate(1.2); box-shadow: 0 6px 18px -12px rgba(0, 0, 0, .4); }
}

/* Entrée animée du hero (classe ajoutée par JS) */
.js .hero__band { clip-path: inset(0 100% 0 0); transition: clip-path .8s cubic-bezier(.7, 0, .2, 1); }
.js .hero__script span { clip-path: inset(-30% 100% -30% -10%); transition: clip-path .9s cubic-bezier(.7, 0, .2, 1) .35s; }
.js .hero .line > span, .js .hero__formats span, .js .hero__org span { transform: translateY(110%); transition: transform 1s var(--ease-out); }
.js .hero__title .line:nth-child(1) > span { transition-delay: .1s; }
.js .hero__title .line:nth-child(2) > span { transition-delay: .16s; }
.js .hero__title .line:nth-child(3) > span { transition-delay: .22s; }
.js .hero__formats li:nth-child(1) span { transition-delay: .3s; }
.js .hero__formats li:nth-child(2) span { transition-delay: .35s; }
.js .hero__formats li:nth-child(3) span { transition-delay: .4s; }
.js .hero__org span { transition-delay: .45s; }
.js .hero__sub .line:nth-child(1) > span { transition-delay: .5s; }
.js .hero__sub .line:nth-child(2) > span { transition-delay: .56s; }
.js .hero__meta .line > span { transition-delay: .62s; }
.js .hero__meta .actions { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out) .7s, transform .7s var(--ease-out) .7s; }
.is-loaded .hero__band { clip-path: inset(0 -40px 0 0); }
.is-loaded .hero__script span { clip-path: inset(-30% -10% -30% -10%); }
.is-loaded .hero .line > span, .is-loaded .hero__formats span, .is-loaded .hero__org span { transform: none; }
.is-loaded .hero__meta .actions { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__visual { order: 1; height: 62svh; min-height: 380px; }
  .hero__visual::after { background: radial-gradient(90% 60% at 100% 100%, rgba(241, 240, 236, .7), transparent 70%), linear-gradient(180deg, rgba(241, 240, 236, .55), transparent 22%); }
  /* Sur mobile, le titre passe en bas à droite de la photo : la fleur est en haut à gauche */
  .hero__head { top: auto; bottom: 1.4rem; right: var(--gutter); }
  .hero__title { font-size: clamp(1.6rem, 1rem + 4vw, 2.4rem); }
  .hero__formats { font-size: 1rem; margin-top: .8rem; }
  .hero__org { margin-top: .8rem; }
  .hero__org span { font-size: .85rem; }
  .hero__org img { width: 26px; height: 26px; }
  .hero__band { order: 2; padding: 2.4rem var(--gutter) 5rem; box-shadow: none; }
  .js .hero__band { clip-path: none; }
}

/* ============================================================ BANDEAU */
.marquee-wrap { position: relative; z-index: 3; overflow: hidden; margin-top: -2.4rem; padding: 1.5rem 0 1.2rem; }
.marquee {
  background: var(--anthracite); color: var(--jaune);
  padding: .6rem 0; margin: 0 -5%; transform: rotate(-1.2deg);
  overflow: hidden; box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .6);
}
.marquee__track { display: flex; align-items: center; gap: 1.4rem; width: max-content; will-change: transform; }
.marquee__track span { font-size: clamp(.95rem, .8rem + .5vw, 1.3rem); font-weight: 850; text-transform: uppercase; font-stretch: 112%; white-space: nowrap; letter-spacing: .06em; }
.marquee__track span.script { text-transform: none; font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3.2rem); color: var(--blanc); font-stretch: normal; }
.marquee__track i { width: .45rem; height: .45rem; border-radius: 50%; background: var(--jaune); flex: none; }

/* ========================================================== MANIFESTE */
.manifesto { padding: clamp(6rem, 14vw, 11rem) 0 clamp(4rem, 9vw, 7rem); }
.manifesto__eyebrow { font-size: clamp(1rem, .8rem + .8vw, 1.4rem); letter-spacing: .1em; margin-bottom: 1.4rem; color: var(--anthracite); }
.manifesto__text { font-size: clamp(1.6rem, 1rem + 2.6vw, 3.4rem); font-weight: 800; line-height: 1.15; letter-spacing: -.015em; max-width: 26ch; margin: 0 0 clamp(3.5rem, 8vw, 6rem); color: var(--anthracite); }
.manifesto__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.manifesto__q { font-size: var(--step-3); font-weight: 850; line-height: 1.08; margin: 0 0 1.5rem; }
.poster { margin: 0; position: sticky; top: calc(var(--header-h) + 2rem); }
.poster__link { display: block; border: 2px solid var(--anthracite); box-shadow: 12px 12px 0 var(--jaune); transform: rotate(2deg); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.poster__link:hover { transform: rotate(0) translate(-3px, -3px); box-shadow: 16px 16px 0 var(--jaune); }
.poster__link img { width: 100%; }
.poster figcaption { margin-top: 1.4rem; font-size: var(--step--1); font-weight: 700; color: var(--encre-2); }
.manifesto__q em { font-style: normal; background: linear-gradient(var(--jaune), var(--jaune)) 0 88% / 0 42% no-repeat; padding: 0 .08em; transition: background-size 1.2s var(--ease-out) .4s; }
.manifesto__q.is-in em { background-size: 100% 42%; }
.manifesto__body { font-size: var(--step-1); line-height: 1.55; color: var(--encre-2); }
.manifesto__body strong { color: var(--anthracite); }
@media (max-width: 860px) { .manifesto__grid { grid-template-columns: 1fr; } .poster { position: static; max-width: 340px; } }

/* ========================================================== PROGRAMME */
.programme { position: relative; background: var(--blanc); }
.programme__sticky { position: relative; }
.programme__head { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; padding-top: clamp(4rem, 8vw, 6rem); }
.programme__viewport { position: relative; }
.programme__track { position: relative; display: flex; flex-direction: column; gap: 0; padding: 2rem var(--gutter) 3rem; }
.programme__crack { display: none; }

.slot { display: grid; grid-template-columns: 12.5rem minmax(0, 1fr) minmax(0, 1fr); gap: 1.2rem; padding: 1.6rem 0; border-top: 2px solid var(--anthracite); }
.slot__time { font-size: clamp(2.4rem, 1.4rem + 2vw, 3.8rem); font-weight: 900; line-height: .85; margin: 0; font-stretch: 118%; font-variant-numeric: tabular-nums; white-space: nowrap; }
.slot__time sup { font-size: .45em; vertical-align: top; position: relative; top: .1em; }
.slot__time small { display: block; font-size: var(--step--1); font-weight: 650; color: var(--encre-2); font-stretch: 100%; margin-top: .6rem; }
.slot--intro { display: block; border-top: 0; padding-top: 0; }
.slot__lead { font-size: var(--step-1); font-weight: 650; max-width: 40ch; margin-bottom: 1rem; }
.slot__hint { display: none; }
.slot--break { grid-template-columns: 9rem 1fr; padding: .8rem 0; border-top: 1px dashed var(--beton); color: var(--encre-2); align-items: center; }
.slot__break-time { font-weight: 850; font-variant-numeric: tabular-nums; }
.slot__break-label { font-weight: 750; }
.slot__break-label br { display: none; }
.slot__break-label small { font-weight: 500; margin-left: .4em; }
.slot--plenary .session { grid-column: span 2; background: var(--jaune-pale); }
.slot--end { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; border-top: 2px solid var(--anthracite); padding: 1.6rem 0; }
.slot--end .script { font-size: var(--step-3); margin: 0; }

.session {
  position: relative; background: var(--beton-clair); border: 1px solid var(--beton-moyen); border-radius: var(--radius);
  padding: 1.15rem 1.25rem 1.05rem; display: flex; flex-direction: column; gap: .45rem; min-width: 0;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), background .3s;
}
.session:hover { background: var(--blanc); box-shadow: 6px 6px 0 var(--anthracite); transform: translate(-2px, -2px); }
.session__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; font-size: var(--step--1); }
.tag { display: inline-block; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; font-size: .72rem; padding: .28rem .5rem; border-radius: 2px; background: var(--anthracite); color: var(--blanc); }
.room { font-weight: 700; color: var(--encre-2); }
.session h4 { font-size: var(--step-1); margin: .1rem 0 0; line-height: 1.18; }
.session .speakers { margin: 0; font-weight: 650; font-size: .97rem; }
.session .speakers span { font-weight: 450; color: var(--encre-2); }
.session__more { margin-top: auto; padding-top: .2rem; }
.session__more summary {
  cursor: pointer; font-weight: 750; font-size: var(--step--1); list-style: none; display: inline-flex; align-items: center; gap: .45em;
}
.session__more summary::-webkit-details-marker { display: none; }
/* « + » dessiné en CSS (deux barres) : parfaitement centré, quelle que soit la police */
.session__more summary::before {
  content: ""; flex: none; width: 1.35em; height: 1.35em; box-sizing: border-box; border: 2px solid currentColor; border-radius: 50%;
  background: linear-gradient(currentColor, currentColor) center / .6em 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px .6em no-repeat;
  transition: background-color .2s, background-size .25s var(--ease);
}
.session__more summary:hover::before { background-color: var(--jaune); }
.session__more[open] summary::before { background-size: .6em 2px, 2px 0; }
.session__more .prose { margin-top: .7rem; font-size: .97rem; }
.prose .bio { color: var(--encre-2); font-size: var(--step--1); border-left: 3px solid var(--jaune); padding-left: .8rem; }
.session--big h4 { font-size: var(--step-2); }

.places { margin-left: auto; font-weight: 750; display: inline-flex; align-items: center; gap: .35em; white-space: nowrap; }
.places::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: var(--vert-clair); box-shadow: 0 0 0 0 rgba(127, 178, 79, .6); animation: ping 2.4s infinite; }
.places--low::before { background: #E08A00; }
.places--full { color: var(--rouge); }
.places--full::before { background: var(--rouge); animation: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(127, 178, 79, .55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(127, 178, 79, 0); } }

.salle3 {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .6rem 1.2rem;
  margin: 1.6rem var(--gutter) 0; padding: 1rem 1.25rem; border: 1px solid var(--beton-moyen); border-radius: var(--radius);
  background: var(--blanc);
}
.salle3__label { margin: 0 0 .35rem; font-size: var(--step--1); display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; }
.salle3__hours { font-weight: 800; font-size: .85rem; }
.salle3__title { font-size: var(--step-1); margin: 0; line-height: 1.15; }
.salle3__sub { margin: .15rem 0 0; font-size: .92rem; font-weight: 600; }
@media (min-width: 1240px) { .salle3 { margin-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); } }
@media (max-width: 640px) { .salle3 { grid-template-columns: minmax(0, 1fr); } .salle3__btn { justify-self: start; } }

@media (max-width: 860px) {
  .slot { grid-template-columns: 1fr; gap: .8rem; }
  .slot__time small { display: inline; margin-left: .8rem; }
  .slot--break { grid-template-columns: auto 1fr; gap: 1rem; }
  .slot--plenary .session { grid-column: auto; }
}

/* Défilement horizontal épinglé (activé par JS sur grand écran) */
.is-hscroll .programme__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; }
.is-hscroll .programme__head { padding-top: calc(var(--header-h) + .6rem); flex-wrap: nowrap; align-items: center; }
.is-hscroll .programme__head .eyebrow { margin-bottom: .4rem; }
.is-hscroll .programme__head .stretch { --max: 5.2rem; }
.is-hscroll .programme__viewport { flex: 1; min-height: 0; overflow: hidden; display: flex; }
.is-hscroll .salle3 { order: 3; margin-top: 0; margin-bottom: 1rem; padding: .7rem 1.1rem; }
.is-hscroll .salle3__sub { display: inline; }
.is-hscroll .programme__track {
  flex-direction: row; align-items: stretch; gap: 2rem; height: 100%; width: max-content; will-change: transform;
  padding: 1.2rem max(var(--gutter), calc((100vw - var(--container)) / 2)) 1.2rem;
}
.is-hscroll .programme__crack { display: block; position: absolute; left: 0; top: calc(1.2rem + 5.2rem); width: 100%; height: 30px; pointer-events: none; }
.is-hscroll .programme__crack path { fill: none; stroke: var(--anthracite); stroke-width: 2; vector-effect: non-scaling-stroke; }
.is-hscroll .slot { display: flex; flex-direction: column; gap: 1rem; width: clamp(320px, 27vw, 400px); flex: none; border-top: 0; padding: 0; }
.is-hscroll .slot__time { height: 6.4rem; flex: none; font-size: clamp(2.4rem, 1.2rem + 2vw, 3.6rem); }
.is-hscroll .slot__time small { margin-top: .4rem; }
.is-hscroll .slot .session { flex: 1 0 auto; }
.is-hscroll .session h4 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.is-hscroll .session .speakers { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.is-hscroll .slot--intro { width: clamp(300px, 24vw, 360px); justify-content: flex-start; justify-content: safe center; }
.is-hscroll .slot__hint { display: block; font-weight: 800; margin-top: 1.5rem; animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(10px); } }
.is-hscroll .slot--break { width: 7rem; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: .6rem; border: 0; border-left: 2px dashed var(--beton); border-right: 2px dashed var(--beton); }
.is-hscroll .slot__break-label br { display: inline; }
.is-hscroll .slot__break-label small { margin: 0; }
.is-hscroll .slot--meal { width: 10rem; background: repeating-linear-gradient(-45deg, transparent 0 12px, rgba(242, 204, 19, .18) 12px 24px); }
.is-hscroll .slot--plenary { width: clamp(360px, 32vw, 460px); }
.is-hscroll .slot--plenary .session { flex: 0 1 auto; }
.is-hscroll .slot--end { width: 22rem; flex-direction: column; align-items: flex-start; justify-content: center; border: 0; }
.is-hscroll .slot--end .script { font-size: var(--step-4); }
.is-hscroll .session > * { flex-shrink: 0; }
.is-hscroll .session__more { margin-top: auto; padding-top: .3rem; }
@media (max-height: 900px) { .is-hscroll .session h4 { -webkit-line-clamp: 2; font-size: 1.15rem; } .is-hscroll .session { padding: .9rem 1.05rem; gap: .35rem; } .is-hscroll .session .speakers { -webkit-line-clamp: 1; font-size: .9rem; } }

/* ======================================================== INTERVENANT·ES */
.speakers-section { padding: clamp(5rem, 11vw, 9rem) 0; }
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; }
@media (max-width: 1100px) { .people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } }
.person { background: var(--blanc); border: 1px solid var(--beton-moyen); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transform-style: preserve-3d; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.person:hover { box-shadow: 10px 10px 0 var(--jaune); }
.person__photo { aspect-ratio: 1 / 1; background: var(--beton-moyen); position: relative; overflow: hidden; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform .8s var(--ease-out); }
.person:hover .person__photo img { transform: scale(1.05); }
.person__photo--logo { display: grid; place-items: center; background: var(--blanc); padding: 1.5rem; border-bottom: 1px solid var(--beton-moyen); }
.person__photo--logo img { width: 100%; height: auto; object-fit: contain; }
.person__photo--placeholder { display: grid; place-items: center; background: var(--jaune-texture), var(--jaune); }
.person__photo--placeholder > span[aria-hidden] { font-family: var(--font-script); font-size: clamp(3rem, 2rem + 3vw, 5rem); color: var(--anthracite); transform: rotate(-6deg); transition: transform .6s var(--ease-out); }
.person:hover .person__photo--placeholder > span[aria-hidden] { transform: rotate(4deg) scale(1.12); }
.person__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .25rem; }
.person h3 { font-size: var(--step-1); margin: 0; }
.person .aff { font-weight: 650; color: var(--encre-2); margin: 0; font-size: .92rem; }
.person .bio { font-size: .92rem; margin: .35rem 0 0; }
@media (max-width: 560px) { .person .bio { display: none; } .person h3 { font-size: 1.05rem; } }

/* ============================================================== INFOS */
.infos { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--blanc); }
.icon { width: 1.25rem; height: 1.25rem; flex: none; }
.icon--inline { width: .95em; height: .95em; vertical-align: -.12em; margin-left: .15em; }
/* L'essentiel en une bande : date, horaires, lieu */
.facts { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 6px; overflow: hidden; }
.facts li { display: flex; gap: .9rem; align-items: flex-start; padding: 1.3rem 1.4rem; }
.facts li + li { border-left: 1px solid rgba(38, 38, 36, .25); }
.facts .icon { width: 1.6rem; height: 1.6rem; margin-top: .1rem; }
.facts strong { display: block; font-size: var(--step-1); font-weight: 900; line-height: 1.15; }
.facts span { display: block; margin-top: .25rem; font-weight: 600; font-size: .95rem; }
.facts a { font-weight: 800; text-underline-offset: .2em; }
/* Détails : quatre cartes identiques */
/* Tarifs en grande carte à gauche ; les autres infos en liste à droite, réparties sur toute la hauteur */
.infos__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 1rem clamp(2rem, 4vw, 3.5rem); align-items: stretch; margin-top: 1.4rem; }
.info { background: var(--beton-clair); border: 1px solid var(--beton-moyen); border-radius: 6px; padding: 1.2rem 1.25rem; font-size: .97rem; }
.info h3 { font-size: 1.1rem; display: flex; align-items: center; gap: .55rem; margin: 0 0 .6rem; }
.info h3 .icon { width: 1.35rem; height: 1.35rem; }
.info p { margin: 0; }
.info p + p, .info ul + p { margin-top: .6rem; }
.info--prices { padding: clamp(1.4rem, 2.6vw, 2.2rem); border-left: 6px solid var(--jaune); display: flex; flex-direction: column; }
.info--prices h3 { font-size: var(--step-1); margin-bottom: 1rem; }
.info--prices .prices-list li { padding: .8rem 0; }
.info--prices .prices-list strong { font-size: var(--step-1); }
.info--prices .info__pay { margin-top: auto !important; padding-top: 1.2rem; font-size: .97rem; }
.info-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: space-between; }
.info-list li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 1rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid var(--beton-moyen); }
.info-list li:first-child { padding-top: .2rem; }
.info-list li:last-child { border-bottom: 0; padding-bottom: .2rem; }
.info-list .icon { width: 2.6rem; height: 2.6rem; padding: .6rem; border-radius: 50%; background: var(--jaune); color: var(--anthracite); }
.info-list h3 { font-size: 1.1rem; margin: .1rem 0 .25rem; }
.info-list p { margin: 0; font-size: .97rem; }
.info-list a { font-weight: 800; text-decoration-color: var(--jaune); text-decoration-thickness: 3px; text-underline-offset: .2em; }
.prices-list { list-style: none; padding: 0; margin: 0; }
.prices-list li { display: flex; justify-content: space-between; gap: .8rem; padding: .45rem 0; border-bottom: 1px solid var(--beton-moyen); align-items: baseline; }
.prices-list small { display: block; font-size: .78rem; color: var(--encre-2); font-weight: 400; margin-top: .15rem; line-height: 1.35; }
.prices-list strong { font-size: 1.1rem; font-weight: 900; white-space: nowrap; text-align: right; }
.prices-list strong small { display: block; font-size: .8rem; font-weight: 700; color: var(--encre-2); margin: 0; }
.info__pay { margin-top: .8rem !important; font-size: .92rem; }
@media (max-width: 900px) { .infos__grid { grid-template-columns: 1fr; } .info-list li:first-child { padding-top: 1rem; } }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr; }
  .facts li + li { border-left: 0; border-top: 1px solid rgba(38, 38, 36, .25); }
}

/* ======================================================== INSCRIPTION */
.register { position: relative; background: var(--anthracite); color: var(--blanc); padding: clamp(5rem, 10vw, 8rem) 0; overflow: hidden; isolation: isolate; }
.register__deco { position: absolute; z-index: -1; width: 7vw; min-width: 46px; height: 160%; top: -30%; right: 9vw; transform: rotate(16deg); opacity: .9; }
.register__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.register__intro {
  position: sticky; top: calc(var(--header-h) + 2rem); color: var(--anthracite); padding: clamp(1.4rem, 3vw, 2.2rem);
  background: var(--jaune-texture), var(--jaune); border-radius: 6px;
}
.register__intro .eyebrow { color: var(--anthracite); }
.register__intro .eyebrow::before { background: var(--anthracite); }
.register__title { font-size: clamp(2rem, 1.5rem + 1.4vw, 2.8rem); font-weight: 900; text-transform: uppercase; line-height: .95; letter-spacing: -.01em; font-stretch: 108%; white-space: nowrap; margin: 0; }
.register__intro .lead { color: var(--anthracite); font-weight: 600; margin-top: 1.2rem; }
.register__how { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .5rem; font-weight: 800; font-size: var(--step-1); }
.register__how b { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--anthracite); color: var(--jaune); margin-right: .6rem; font-size: 1rem; }
@media (max-width: 960px) {
  .register__grid { grid-template-columns: 1fr; }
  .register__intro { position: static; }
  .register__deco { right: 4vw; }
}

.register__card { background: var(--blanc); color: var(--anthracite); border-radius: 6px; padding: clamp(1.2rem, 3vw, 2.2rem); box-shadow: 14px 14px 0 var(--jaune); min-width: 0; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 0 0 .8rem; padding: 0; }
.steps li { display: flex; align-items: center; gap: .5rem; font-weight: 750; font-size: .9rem; color: var(--beton); transition: color .3s; }
.steps li span { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 2px solid currentColor; font-weight: 900; transition: background .3s, color .3s, border-color .3s; flex: none; }
.steps li.is-active, .steps li.is-done { color: var(--anthracite); }
.steps button { display: inherit; align-items: inherit; gap: inherit; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.steps button:disabled { cursor: default; }
.steps button:not(:disabled):not([aria-current]):hover span { background: var(--jaune); color: var(--anthracite); border-color: var(--anthracite); }
.steps button:not(:disabled):not([aria-current]):hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.steps li:not(.is-active):not(.is-done) button:not(:disabled) { color: var(--anthracite); }
.steps li.is-active span { background: var(--jaune); border-color: var(--anthracite); }
.steps li.is-done span { background: var(--anthracite); color: var(--jaune); border-color: var(--anthracite); }
.steps__bar { height: 4px; background: var(--beton-moyen); border-radius: 4px; overflow: hidden; margin-bottom: 1.6rem; }
.steps__bar span { display: block; height: 100%; width: 33.33%; background: var(--anthracite); transition: width .6s var(--ease-out); }
@media (max-width: 520px) { .steps li { font-size: 0; gap: 0; } .steps li span { font-size: .9rem; } }

.panes { position: relative; }
.pane { border: 0; padding: 0; margin: 0; min-width: 0; }
.js .pane { display: none; }
.js .pane.is-active { display: block; animation: paneIn .55s var(--ease-out) both; }
.js .pane.is-active.from-left { animation-name: paneInLeft; }
@keyframes paneIn { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
@keyframes paneInLeft { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }
.no-js .pane + .pane { margin-top: 2.5rem; padding-top: 2rem; border-top: 2px dashed var(--beton-moyen); }
.pane__title { font-size: var(--step-3); font-weight: 900; padding: 0; margin: 0 0 1.2rem; font-stretch: 108%; }
.pane__sub { font-weight: 800; margin: 1.6rem 0 .8rem; }
.pane__nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.8rem; flex-wrap: wrap; }

.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field label, .label { font-weight: 700; font-size: .92rem; }
.hint { font-size: var(--step--1); color: var(--encre-2); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }
input[type="text"], input[type="email"], input[type="search"], input[type="number"], input[type="password"], select, textarea {
  font: inherit; width: 100%; padding: .78rem .9rem; border: 2px solid var(--beton-moyen); border-radius: var(--radius); background: var(--beton-clair); color: var(--anthracite);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
input:hover { border-color: var(--beton); }
input:focus, select:focus, textarea:focus { border-color: var(--anthracite); background: var(--blanc); outline: none; box-shadow: 0 0 0 4px var(--jaune); }
input[aria-invalid="true"] { border-color: var(--rouge); background: #FFF6F5; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.error-msg { color: var(--rouge); font-weight: 700; font-size: var(--step--1); }
.alert { padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.4rem; border: 2px solid; font-weight: 600; }
.alert--error { border-color: var(--rouge); background: #FBEAE8; color: #6E120C; }
.alert--info { border-color: var(--anthracite); background: var(--jaune-pale); color: var(--anthracite); }
.alert--success { border-color: var(--vert); background: #EAF3E2; color: #24420F; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.whos { display: grid; gap: .8rem; }
.who { position: relative; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) auto; gap: .9rem; align-items: start; padding: 1rem; border: 2px solid var(--anthracite); border-radius: 6px; background: var(--blanc); }
.who.is-new { animation: popIn .6s var(--ease-out); }
.who.is-leaving { animation: popOut .35s var(--ease) forwards; }
@keyframes popIn { from { opacity: 0; transform: translateY(-14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes popOut { to { opacity: 0; transform: translateX(30px) scale(.96); } }
.who__num span { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--jaune); font-weight: 900; font-size: 1.1rem; }
.who__fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 .8rem; }
.who__fields .field { margin-bottom: .7rem; }
.who__fields .toggle { grid-column: 1 / -1; }
.who__remove { width: 2.2rem; height: 2.2rem; border: 0; background: var(--beton-clair); border-radius: 50%; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--encre-2); transition: background .2s, color .2s, transform .3s var(--ease); }
.who__remove:hover { background: var(--rouge); color: var(--blanc); transform: rotate(90deg); }
.who__remove[hidden] { display: none; }
@media (max-width: 560px) { .who { grid-template-columns: 2.2rem minmax(0, 1fr) auto; padding: .8rem; gap: .6rem; } .who__num span { width: 2.2rem; height: 2.2rem; } .who__fields { grid-template-columns: 1fr; } }

.toggle { display: inline-flex; flex-wrap: wrap; border: 0; padding: 0; margin: 0; gap: .4rem; min-width: 0; }
.toggle label { position: relative; }
.toggle input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.toggle span { display: block; padding: .5rem .9rem; border: 2px solid var(--beton-moyen); border-radius: 999px; font-weight: 650; font-size: .92rem; cursor: pointer; transition: all .2s; background: var(--beton-clair); }
.toggle span b { font-weight: 850; }
.toggle span { white-space: nowrap; }
.toggle span b small { font-size: .78em; font-weight: 600; opacity: .75; margin-left: .35em; }
.who__hint { grid-column: 1 / -1; margin: .5rem 0 0; }
.toggle input:checked + span { background: var(--anthracite); color: var(--jaune); border-color: var(--anthracite); }
.toggle input:focus-visible + span { box-shadow: 0 0 0 4px var(--jaune); }

.add-person { margin-top: .9rem; width: 100%; border: 2px dashed var(--anthracite); background: transparent; padding: 1rem; font: inherit; font-weight: 800; cursor: pointer; border-radius: 6px; display: flex; justify-content: center; align-items: center; gap: .6rem; transition: background .2s, transform .2s; }
.add-person span {
  flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: linear-gradient(var(--anthracite), var(--anthracite)) center / .7rem 2px no-repeat, linear-gradient(var(--anthracite), var(--anthracite)) center / 2px .7rem no-repeat, var(--jaune);
}
.add-person:hover { background: var(--jaune-pale); }
.draft-note { margin: 0 0 1.2rem; padding: .7rem 1rem; background: var(--jaune-pale); border-radius: var(--radius); font-size: .95rem; font-weight: 600; }
.draft-note .link-btn { margin-left: .3rem; }
.add-person[disabled] { opacity: .5; cursor: not-allowed; }

.slot-pick { border: 2px solid var(--anthracite); border-radius: 6px; padding: 1rem; margin-bottom: 1rem; background: var(--blanc); }
.slot-pick__head { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: .8rem; align-items: start; margin-bottom: .8rem; }
.slot-pick__time { font-size: 1.25rem; font-weight: 900; font-stretch: 105%; line-height: 1; white-space: nowrap; background: var(--jaune); padding: .35rem .5rem; border-radius: 2px; text-align: center; }
.slot-pick__session { display: flex; flex-direction: column; gap: .15rem; font-size: .92rem; }
.slot-pick__session .r { font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; color: var(--encre-2); }
.slot-pick__session .r span { display: block; margin-top: .1rem; color: var(--vert); }
.slot-pick__session .r span.is-full { color: var(--rouge); }
.slot-pick__session .t { font-weight: 800; line-height: 1.2; }
.slot-pick__session .p { font-size: .8rem; color: var(--encre-2); }
.slot-pick__rows { display: grid; gap: .4rem; border-top: 1px solid var(--beton-moyen); padding-top: .8rem; }
.pick-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .6rem; align-items: center; }
.pick-row.is-new { animation: popIn .5s var(--ease-out); }
.pick-row__name { font-weight: 750; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick-row__opts { display: flex; gap: .35rem; }
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick span { display: block; padding: .4rem .75rem; border: 2px solid var(--beton-moyen); border-radius: 999px; font-weight: 750; font-size: .85rem; white-space: nowrap; cursor: pointer; transition: all .2s; background: var(--beton-clair); }
.pick input:checked + span { background: var(--jaune); border-color: var(--anthracite); transform: scale(1.05); }
.pick--none input:checked + span { background: var(--anthracite); color: var(--blanc); }
.pick input:focus-visible + span { box-shadow: 0 0 0 4px var(--jaune); outline: 2px solid var(--anthracite); }
.pick input:disabled + span { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
/* Raccourcis « tout le monde dans la même salle » */
.pick-btn { padding: .4rem .75rem; border: 2px solid var(--anthracite); border-radius: 999px; font: inherit; font-weight: 750; font-size: .85rem; white-space: nowrap; cursor: pointer; background: var(--blanc); color: var(--anthracite); transition: background .2s, transform .2s; }
.pick-btn:hover { background: var(--jaune); }
.pick-btn:active { transform: scale(.96); }
.pick-btn--none { border-color: var(--beton-moyen); }
.pick-btn--none:hover { background: var(--beton-clair); }
.pick-btn:focus-visible { box-shadow: 0 0 0 4px var(--jaune); outline: 2px solid var(--anthracite); }
.bulk-pick { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; padding: .7rem 1rem; margin: 0 0 1rem; border: 2px dashed var(--beton-moyen); border-radius: 6px; background: var(--beton-clair); }
.bulk-pick__label { font-weight: 750; font-size: .9rem; }
.bulk-pick__opts { display: flex; flex-wrap: wrap; gap: .4rem; }
.slot-all { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .6rem; align-items: center; border-top: 1px solid var(--beton-moyen); padding-top: .7rem; margin-bottom: -.2rem; }
.slot-all[hidden] { display: none; }
.slot-all__label { font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--encre-2); }
.slot-all + .slot-pick__rows { border-top: 0; }
@media (max-width: 640px) {
  .slot-pick__head { grid-template-columns: 1fr 1fr; }
  .slot-pick__time { grid-column: 1 / -1; justify-self: start; }
  .pick-row { grid-template-columns: 1fr; gap: .3rem; }
  .slot-all { grid-template-columns: 1fr; gap: .3rem; }
}

.recap { display: grid; gap: .6rem; margin-bottom: 1.2rem; }
.recap__person { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .3rem 1rem; padding: .9rem 1rem; border-radius: 6px; background: var(--beton-clair); border-left: 6px solid var(--jaune); }
.recap__person strong { font-size: 1.05rem; }
.recap__person ul { grid-column: 1 / -1; list-style: none; padding: 0; margin: 0; font-size: .88rem; color: var(--encre-2); }
.recap__person li b { color: var(--anthracite); font-variant-numeric: tabular-nums; margin-right: .3rem; }
.recap__total { display: flex; flex-wrap: wrap; gap: .2rem 1rem; justify-content: space-between; align-items: baseline; font-weight: 900; font-size: var(--step-2); padding: .4rem 0; border-top: 2px solid var(--anthracite); }
.pay-note { display: flex; gap: .7rem; align-items: flex-start; background: var(--jaune-pale); padding: .8rem 1rem; border-radius: 6px; font-weight: 600; font-size: .92rem; }
.pay-note > span:first-child { flex: none; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--anthracite); color: var(--jaune); font-weight: 900; font-family: Georgia, serif; font-style: italic; }
.check { display: flex; gap: .7rem; align-items: flex-start; margin: 1.2rem 0 .4rem; font-size: .95rem; }
.check input { width: 1.25rem; height: 1.25rem; margin-top: .15rem; accent-color: var(--anthracite); flex: none; }
.cf-turnstile { margin: 1rem 0 0; min-height: 65px; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .arrow { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Succès */
.success { position: relative; }
.success.is-in { animation: paneIn .7s var(--ease-out); }
.success__title { font-size: var(--step-4); font-weight: 900; line-height: .95; margin: 0 0 .4rem; font-stretch: 110%; }
.success__title .script { display: block; font-size: .8em; font-weight: 400; transform: rotate(-3deg); transform-origin: left; margin-top: .1em; }
.success__burst { position: absolute; inset: -2rem; pointer-events: none; z-index: 2; }

/* ========================================================== ASSOCIATIONS */
.assos { padding: clamp(5rem, 10vw, 8rem) 0; }
.asso__role { font-weight: 800; color: var(--encre-2); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; margin: 0; }
/* Organisation : une carte horizontale claire, soulignée de jaune */
.asso-org { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); margin-bottom: 1rem; padding: 1.3rem 1.5rem; background: var(--blanc); border: 1px solid var(--beton-moyen); border-left: 6px solid var(--jaune); border-radius: 6px; }
.asso-org img { width: 96px; height: 96px; flex: none; object-fit: contain; }
.asso-org h3 { font-size: var(--step-2); margin: .1rem 0 .3rem; }
.asso-org h3 a, .asso h3 a { color: inherit; text-decoration-color: var(--jaune); text-decoration-thickness: 3px; text-underline-offset: .18em; }
.asso-org h3 a::after, .asso h3 a::after { content: " ↗"; font-size: .7em; }
.asso-org p:last-child { margin: 0; max-width: 70ch; color: var(--encre-2); }
/* Partenaires : quatre cartes identiques */
.assos__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.asso { background: var(--blanc); border: 1px solid var(--beton-moyen); border-radius: 6px; padding: 1.2rem 1.25rem; display: flex; flex-direction: column; gap: .3rem; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.asso:hover { transform: translateY(-3px); box-shadow: 6px 6px 0 var(--anthracite); }
.asso__logo { height: 64px; display: flex; align-items: center; margin-bottom: .6rem; }
.asso__logo img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.asso h3 { font-size: 1.1rem; line-height: 1.2; margin: 0 0 .2rem; }
.asso p:last-child { margin: 0; font-size: .92rem; color: var(--encre-2); }
.monogram { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; font-family: var(--font-script); font-size: 1.6rem; background: var(--jaune-texture), var(--jaune); color: var(--anthracite); }
@media (max-width: 1100px) { .assos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .assos__grid { grid-template-columns: 1fr; } .asso-org { flex-direction: column; align-items: flex-start; } .asso-org img { width: 72px; height: 72px; } }

/* ============================================================= DIALOG */
.sheet { border: 0; padding: 0; width: min(640px, calc(100% - 32px)); max-height: min(86vh, 760px); border-radius: 8px; background: var(--blanc); color: var(--anthracite); box-shadow: 14px 14px 0 var(--jaune); overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.sheet::backdrop { background: rgba(28, 28, 26, .55); backdrop-filter: blur(5px); }
.sheet[open] { animation: sheetIn .45s var(--ease-out); }
.sheet[open]::backdrop { animation: fade .3s; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(30px) scale(.97); } }
@keyframes fade { from { opacity: 0; } }
.sheet__inner { padding: clamp(1.4rem, 4vw, 2.2rem); position: relative; }
.sheet__inner .session__meta { padding-right: 3.4rem; }
.sheet__inner h4 { font-size: var(--step-2); margin: .6rem 0 .4rem; }
.sheet__inner .speakers { font-weight: 700; }
.sheet__inner .speakers span { font-weight: 450; color: var(--encre-2); }
.sheet__close { position: sticky; float: right; top: 0; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 2px solid var(--anthracite); background: var(--jaune); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: transform .3s var(--ease); }
.sheet__close:hover { transform: rotate(90deg); }

/* ================================================= BILLETS / SOUS-PAGES */
.tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.2rem; }
.ticket { background: var(--blanc); border: 2px solid var(--anthracite); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.ticket.is-new { animation: ticketIn .8s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 120ms + 300ms); }
@keyframes ticketIn { from { opacity: 0; transform: translateY(30px) rotate(-3deg); } }
.ticket__head { padding: .9rem 1.1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.ticket__head .name { font-weight: 850; font-size: var(--step-1); line-height: 1.15; }
.ticket__body { padding: .9rem 1.1rem 1.1rem; border-top: 2px dashed var(--anthracite); }
.ticket__body ol { list-style: none; padding: 0; margin: 0; }
.ticket__body li { display: grid; grid-template-columns: 3.4rem 1fr; gap: .5rem; padding: .35rem 0; border-bottom: 1px solid var(--beton-moyen); font-size: .9rem; }
.ticket__body li:last-child { border-bottom: 0; }
.ticket__body .h { font-weight: 850; font-variant-numeric: tabular-nums; }

.page-hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.page-hero h1 { font-size: var(--step-4); font-weight: 900; text-transform: uppercase; font-stretch: 110%; margin: 0 0 .3em; }
.page-hero h1 .script { text-transform: none; font-size: 1.1em; display: inline-block; transform: rotate(-3deg); }
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section--white { background: var(--blanc); }
.actions-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2rem; }
.table-simple { width: 100%; border-collapse: collapse; }
.table-simple th, .table-simple td { text-align: left; padding: .5rem 0; border-bottom: 1px solid var(--beton-moyen); vertical-align: top; }
.table-simple td:last-child { text-align: right; font-weight: 800; white-space: nowrap; }
.fake-pay { max-width: 520px; margin: 0 auto; background: var(--blanc); border: 1px solid var(--beton-moyen); border-radius: 8px; padding: 2rem; box-shadow: var(--shadow); }
.fake-pay__banner { background: #0B3D91; color: #fff; margin: -2rem -2rem 1.5rem; padding: .9rem 2rem; border-radius: 8px 8px 0 0; font-weight: 700; display: flex; justify-content: space-between; }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }
.archive-banner { background: var(--anthracite); color: var(--blanc); padding: .8rem 0; font-size: var(--step--1); }
.archive-banner a { color: var(--jaune); font-weight: 700; }
.archive-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--anthracite); }
.archive-list > li { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1.2rem; padding: 1rem 0; border-bottom: 1px solid var(--beton-moyen); }
.archive-list .h { font-weight: 850; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .archive-list > li { grid-template-columns: 1fr; gap: .2rem; } }
.figure-credit { font-size: var(--step--1); color: var(--encre-2); margin-top: .4rem; }

/* ============================================================ PIED DE PAGE */
.site-footer { background: var(--nuit); color: #E8E7E2; padding: 0 0 2rem; overflow: hidden; }
.site-footer a { color: var(--blanc); }
.site-footer__giant {
  font-size: clamp(6rem, 2rem + 22vw, 24rem); line-height: .8; margin: 0; padding: 3rem 0 0; text-align: center;
  color: transparent; -webkit-text-stroke: 2px var(--jaune); white-space: nowrap; transform: rotate(-4deg) translateX(var(--fx, 0));
  opacity: .9; user-select: none; pointer-events: none; /* tourné et décalé, il déborde sur les liens du footer : il ne doit pas capter les clics */
}
/* Sur smartphone : le mot (≈ 3,5 em) plus son glissement latéral (±15 %) doivent tenir dans l'écran */
@media (max-width: 760px) { .site-footer__giant { font-size: 18vw; padding-top: 2.2rem; -webkit-text-stroke-width: 1.5px; } }
.site-footer__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 2rem; padding: 2.5rem 0 2rem; }
.site-footer__brand { display: flex; gap: 1rem; align-items: flex-start; }
.site-footer__title { font-weight: 850; font-size: var(--step-1); line-height: 1.25; color: var(--blanc); }
.site-footer__title span { color: var(--jaune); }
.site-footer__h { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--jaune); margin-bottom: .7rem; }
.site-footer__links { list-style: none; padding: 0; margin: 0; }
.site-footer__links li { margin-bottom: .3rem; }
.site-footer__legal { border-top: 1px solid #3a3935; padding-top: 1.2rem; font-size: var(--step--1); color: #A9A79F; }
.site-footer__legal a { color: inherit; text-decoration-color: var(--jaune); text-underline-offset: .2em; }
.site-footer__legal a:hover { color: var(--blanc); }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ============================================================== RÉVÉLATIONS */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ============================================================ MOUVEMENT RÉDUIT */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ============================================================ IMPRESSION */
@media print {
  .site-header, .site-footer, .btn, .skip-link, .scroll-progress, .marquee-wrap { display: none !important; }
  body { background: #fff; }
  .is-subpage main { padding-top: 0; }
  .ticket { break-inside: avoid; }
  /* Impression du seul récapitulatif d'inscription (printOnly dans site.js) */
  .print-only [data-print-hide] { display: none !important; }
  .print-only .register, .print-only .register__grid, .print-only .register__card {
    display: block; background: none; color: #000; padding: 0; margin: 0; box-shadow: none; overflow: visible;
  }
  .print-only [data-print-target], .print-only [data-print-target] * { animation: none !important; opacity: 1 !important; transform: none !important; }
  .print-only .success__burst, .print-only [data-print-target] .actions-row { display: none !important; }
  .print-only .success .eyebrow { font-size: 8pt; margin: 0 0 2pt; }
  .print-only .success__title { font-size: 16pt; margin: 0 0 4pt; }
  .print-only .success__title .script { display: inline; font-size: .85em; margin-left: .3em; }
  .print-only .success .lead { font-size: 8.5pt; line-height: 1.35; margin: 0 0 8pt; max-width: none; }

  /* Récapitulatif imprimé : programmes compacts, 3 par ligne, pour en faire tenir un maximum par page */
  @page { margin: 12mm; }
  .tickets { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 6pt; }
  .ticket { border-width: 1pt; border-radius: 3pt; }
  .ticket__head { padding: 3pt 6pt; gap: 4pt; background: #f2cc13 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .ticket__head .name { font-size: 9.5pt; line-height: 1.2; }
  .ticket__head .tag { font-size: 6.5pt; padding: 1pt 3pt; }
  .ticket__body { padding: 2pt 6pt 4pt; border-top-width: 1pt; }
  .ticket__body li { grid-template-columns: 3.3em minmax(0, 1fr); gap: 5pt; padding: 1.5pt 0; font-size: 7.5pt; line-height: 1.25; border-bottom-width: .5pt; }
  .ticket__body li br { display: none; }
  .ticket__body li .small { font-size: 7pt; }
  .ticket__body li .small::before { content: " · "; }
}
