/* Avatiah : feuille de style (charte, mise en page, responsive, mode sombre) */
/* Concept : affiche de cabaret et jeu de cartes. Papier, encre, un orange vermillon et deux fluos (chartreuse, lilas)
   en aplats francs. Typographie géante, filets épais, index numérotés, vraies cartes à jouer pour les formateurs.
   Les noms sun / coral / sky / mint désignent les quatre pôles (Se former, Formation, Accompagnement, Recrutement). */
:root {
  --bg: #F1ECE1; --surface: #F8F4EA; --ink: #141414; --muted: #5B564B; --line: #141414; --soft: #D4CCBA;
  --accent: #FF4A1C; --accent-ink: #141414; --hl: #D9FF3F;
  --band: #141414; --band-ink: #F1ECE1; --band-muted: #B7B1A3; --band-line: #3B3935; --band-accent: #FF6A42;
  --card: #F7F2E7;
  --t-sun: #FF4A1C; --on-sun: #141414; --t-coral: #141414; --on-coral: #F1ECE1; --t-sky: #BDA6FF; --on-sky: #141414; --t-mint: #D9FF3F; --on-mint: #141414;
  --suit1: #FF4A1C; --suit2: #141414; --suit3: #7A5CFF;
  --font-display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gut: max(16px, env(safe-area-inset-left, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121211; --surface: #1B1A18; --ink: #F1ECE1; --muted: #ABA597; --line: #F1ECE1; --soft: #34322D;
    --accent: #FF5A2E; --band: #0A0A09; --band-line: #34322D; --t-coral: #2B2A27;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121211; --surface: #1B1A18; --ink: #F1ECE1; --muted: #ABA597; --line: #F1ECE1; --soft: #34322D;
  --accent: #FF5A2E; --band: #0A0A09; --band-line: #34322D; --t-coral: #2B2A27;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  padding-left: var(--gut); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: 0; overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
:root[data-theme="dark"] body::after { mix-blend-mode: screen; opacity: .05; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body::after { mix-blend-mode: screen; opacity: .05; } }
body.menu-open { overflow: hidden; }
::selection { background: var(--hl); color: #141414; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: .98; margin: 0; text-wrap: balance; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.7rem, 8.4vw, 6.4rem); font-weight: 800; font-stretch: 75%; }
h2 { font-size: clamp(2.2rem, 5.6vw, 4.6rem); font-weight: 800; font-stretch: 78%; }
h3 { font-size: 1.5rem; font-weight: 750; letter-spacing: -0.02em; font-stretch: 88%; }
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-stretch: 100%; letter-spacing: -0.02em; }
mark { background: var(--hl); color: #141414; padding: 0 .12em; }
p { margin: 0; }
a { color: inherit; }
.mono { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
#view:focus { outline: none; }
.wrap { max-width: 1400px; margin-inline: auto; }
.wrap.wide { max-width: 1400px; }
section { scroll-margin-top: calc(76px + env(safe-area-inset-top, 0px)); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 58ch; }
.band .lead { color: var(--band-muted); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: .7rem; min-height: 52px; padding: .8rem 1.3rem; position: relative; overflow: hidden; isolation: isolate;
  border: 2px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink);
  font: 700 .95rem/1.1 var(--font-body); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: color .2s ease;
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .25s ease; z-index: -1; }
.btn::after { content: "\2192"; transition: transform .2s ease; }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover, .btn:focus-visible { color: var(--bg); }
.btn:hover::after { transform: translateX(4px); }
.btn.primary { background: var(--accent); color: #141414; border-color: #141414; }
.btn.primary:hover, .btn.primary:focus-visible { color: var(--accent); }
.btn.primary::before { background: #141414; }
.btn.small { min-height: 42px; padding: .55rem 1rem; font-size: .88rem; }
.band .btn { border-color: var(--band-ink); color: var(--band-ink); }
.band .btn::before { background: var(--band-ink); }
.band .btn:hover { color: var(--band); }
.band .btn.primary { background: var(--accent); border-color: var(--accent); color: #141414; }
.band .btn.primary::before { background: var(--band-ink); }
.band .btn.primary:hover { color: #141414; }
.pcolor .btn { border-color: var(--on); color: var(--on); }
.pcolor .btn::before { background: var(--on); }
.pcolor .btn:hover { color: var(--pc); }
.pcolor .btn.dark { background: var(--on); color: var(--pc); }
.pcolor .btn.dark::before { background: var(--pc); }
.pcolor .btn.dark:hover { color: var(--on); }
.pcard, .face { --ink: #141414; --bg: #F7F2E7; --muted: #5B564B; --line: #141414; }

/* En-tête et menu plein écran */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 70; background: var(--bg); border-bottom: 2px solid var(--ink); margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }
body.menu-open .topbar { background: var(--band); color: var(--band-ink); border-color: var(--band-line); }
.topbar-in { max-width: 1400px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.logo { font: 800 1.9rem/1 var(--font-display); font-stretch: 75%; letter-spacing: -0.04em; text-decoration: none; display: inline-flex; align-items: center; gap: .55rem; position: relative; z-index: 3; }
.logo i { width: 18px; height: 18px; background: var(--accent); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); display: inline-block; transition: transform .4s ease; }
.logo:hover i { transform: rotate(180deg); }
.top-r { display: flex; align-items: center; gap: 1.4rem; position: relative; z-index: 3; }
.toplink { text-decoration: none; font: 600 .95rem/1 var(--font-body); }
.toplink:hover { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--accent); text-underline-offset: 6px; }
body.menu-open .toplink { visibility: hidden; }
.menu-btn { display: inline-flex; align-items: center; gap: .6rem; background: var(--ink); color: var(--bg); border: 0; min-height: 44px; padding: .5rem 1rem; font: 700 .9rem/1 var(--font-body); letter-spacing: .02em; cursor: pointer; }
.menu-btn i { width: 14px; height: 14px; position: relative; display: block; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .25s ease, top .25s ease; }
.menu-btn i::before { top: 3px; } .menu-btn i::after { top: 9px; }
.menu-btn[aria-expanded="true"] { background: var(--accent); color: #141414; }
.menu-btn[aria-expanded="true"] i::before { top: 6px; transform: rotate(45deg); } .menu-btn[aria-expanded="true"] i::after { top: 6px; transform: rotate(-45deg); }
.nav { display: none; position: fixed; inset: 0; z-index: 2; background: var(--band); color: var(--band-ink); padding: calc(96px + env(safe-area-inset-top, 0px)) var(--gut) 2rem; overflow-y: auto; overscroll-behavior: contain; counter-reset: n; flex-direction: column; justify-content: flex-start; }
.nav.open { display: flex; }
/* Centrage vertical sans débordement vers le haut : les marges automatiques s'annulent quand le menu dépasse la hauteur de l'écran, qui devient alors défilable */
.nav.open > :first-child { margin-top: auto; }
.nav.open > :last-child { margin-bottom: auto; }
.nav > a:not(.btn), .nav .ddmenu a { display: flex; align-items: baseline; gap: 1rem; text-decoration: none; font: 800 clamp(2.2rem, 7.4vw, 5.6rem)/1 var(--font-display); font-stretch: 75%; letter-spacing: -.04em; padding: .1em 0; counter-increment: n; max-width: 1400px; width: 100%; margin-inline: auto; transition: color .2s ease, padding .25s ease; }
.nav > a:not(.btn)::before, .nav .ddmenu a::before { content: counter(n, decimal-leading-zero); font: 500 .8rem/1 var(--font-mono); letter-spacing: .1em; color: var(--band-accent); min-width: 2.2rem; }
.nav > a:not(.btn):hover, .nav .ddmenu a:hover, .nav a[aria-current="page"] { color: var(--accent); padding-left: .8rem; }
.dd { display: contents; }
.ddbtn { max-width: 1400px; width: 100%; margin-inline: auto; background: none; border: 0; color: var(--band-muted); font: 500 .76rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; padding: 1.2rem 0 .2rem 3.2rem; text-align: left; pointer-events: none; cursor: default; }
.ddbtn span { display: none; }
.ddmenu { display: grid; }
.nav .ddmenu a { font-size: clamp(1.8rem, 5.6vw, 4rem); }
.nav .btn { margin: 1.6rem auto 0; max-width: 1400px; width: 100%; justify-content: space-between; font-size: 1.1rem; min-height: 64px; }
.ddbtn.on { color: var(--accent); }

/* Fil d'Ariane */
.crumbs { max-width: 1400px; margin-inline: auto; padding-block: 1.1rem 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem .6rem; font: 500 .74rem/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .6rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

/* Hero d'accueil */
.hero { position: relative; padding-block: clamp(1.6rem, 4vw, 3rem) clamp(2.5rem, 6vw, 4.5rem); }
.hero .kicker { display: flex; align-items: center; gap: .7rem; color: var(--muted); margin-bottom: clamp(1rem, 3vw, 2rem); }
.hero .kicker::before { content: ""; width: 12px; height: 12px; background: var(--accent); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.mega { font-size: clamp(3.4rem, 14.6vw, 14rem); line-height: .82; letter-spacing: -.035em; font-weight: 800; font-stretch: 75%; text-wrap: nowrap; }
.mega span { display: block; }
.mega span + span { margin-top: .08em; }
.mega em { font-size: .82em; letter-spacing: -.04em; }
.mega mark { display: inline-block; transform: rotate(-1.6deg); padding: 0 .1em .04em; }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2rem 3rem; align-items: end; margin-top: clamp(1.6rem, 4vw, 3rem); }
.hero .lead { font-size: clamp(1.15rem, 1.8vw, 1.45rem); color: var(--ink); max-width: 40ch; }
.hero .cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.stamp { position: absolute; right: clamp(0px, 2vw, 2rem); top: clamp(.4rem, 2vw, 1.6rem); width: clamp(104px, 15vw, 190px); aspect-ratio: 1; z-index: 2; }
.stamp svg { width: 100%; height: 100%; display: block; animation: spin 22s linear infinite; }
.stamp svg circle { fill: var(--accent); }
.stamp svg text { fill: #141414; font-family: "DM Mono", ui-monospace, monospace; font-size: 14px; font-weight: 500; }
.stamp::after { content: ""; position: absolute; inset: 33%; background: #141414; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); } /* losange : rappelle le logo et le carreau des cartes */
@keyframes spin { to { transform: rotate(360deg); } }
.minideck { position: relative; height: clamp(190px, 26vw, 300px); }
.mc { position: absolute; bottom: 0; width: clamp(110px, 15vw, 170px); aspect-ratio: 5 / 7; background: var(--card); color: #141414; border: 2px solid #141414; border-radius: 12px; padding: .6rem .7rem; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 14px 0 -6px rgba(20,20,20,.18); transition: transform .3s ease; }
.mc b { font: 800 clamp(1.1rem, 2vw, 1.7rem)/1 var(--font-display); }
.mc .suit { width: clamp(46px, 7vw, 84px); height: clamp(46px, 7vw, 84px); align-self: center; background: #141414; }
.mc .r { align-self: flex-end; transform: rotate(180deg); }
.mc:nth-child(1) { left: 6%; transform: rotate(-12deg); } .mc:nth-child(2) { left: 31%; transform: rotate(-2deg); z-index: 2; background: var(--t-sky); } .mc:nth-child(3) { left: 56%; transform: rotate(9deg); z-index: 3; background: var(--t-mint); }
.mc:nth-child(1) { background: var(--t-sun); }
.minideck:hover .mc:nth-child(1) { transform: rotate(-17deg) translateX(-12px); } .minideck:hover .mc:nth-child(3) { transform: rotate(14deg) translateX(12px); }
.suit { width: 34px; height: 34px; display: block; background: var(--suit1); flex: none; }
.suit.s-circle { border-radius: 50%; }
.suit.s-tri { clip-path: polygon(50% 4%, 96% 92%, 4% 92%); background: var(--suit3); }
.suit.s-dia { clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); background: var(--suit2); }
.suit.s-star { clip-path: polygon(50% 0, 62% 36%, 100% 38%, 70% 60%, 80% 100%, 50% 76%, 20% 100%, 30% 60%, 0 38%, 38% 36%); background: var(--suit1); }
@media (max-width: 880px) { .hero-bottom { grid-template-columns: minmax(0, 1fr); } .minideck { height: 220px; } .stamp { top: auto; bottom: auto; position: absolute; right: 0; top: 0; } }
@media (max-width: 560px) { .minideck { display: none; } .stamp { width: 92px; } }

/* Bandeau défilant */
.marquee { margin-inline: calc(-1 * var(--gut)); background: var(--band); color: var(--band-ink); overflow: hidden; border-block: 2px solid var(--ink); }
.marquee-track { display: flex; width: max-content; animation: scroll 46s linear infinite; }
.marquee span { font: 800 clamp(2.8rem, 8.5vw, 7.5rem)/1 var(--font-display); font-stretch: 75%; text-transform: uppercase; letter-spacing: -.01em; padding: .22em .3em .18em; white-space: nowrap; color: var(--band-ink); }
.marquee span:nth-child(3n+1) { color: var(--accent); }
.marquee span:nth-child(3n+2) { color: var(--t-sky); }
.marquee span::after { content: "\2726"; margin-left: .6em; font-size: .55em; color: var(--hl); -webkit-text-stroke: 0; vertical-align: .18em; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee span { font-size: clamp(1.8rem, 4.6vw, 3.6rem); white-space: normal; } .marquee-track { animation: none; width: auto; flex-wrap: wrap; } .marquee-track [data-dup] { display: none; } .stamp svg { animation: none; } }

/* Sections génériques */
.sec { padding-block: clamp(3.5rem, 8vw, 7rem); }
.sec.tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.band { background: var(--band); color: var(--band-ink); margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }
.sec-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2rem, 4vw, 3.4rem); max-width: 980px; }
.sec-head .mono { color: var(--muted); }
.sec-head .mono::before { content: "\2726  "; color: var(--accent); }
.band .sec-head .mono { color: var(--band-muted); }

/* Hero des pages intérieures : affiche en aplat */
.pcolor { --pc: var(--t-sun); --on: var(--on-sun); background: var(--pc); color: var(--on); margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); margin-top: 1rem; border-block: 2px solid var(--ink); position: relative; overflow: hidden; }
.pcolor[data-pole="coral"] { --pc: var(--t-coral); --on: var(--on-coral); }
.pcolor[data-pole="sky"] { --pc: var(--t-sky); --on: var(--on-sky); }
.pcolor[data-pole="mint"] { --pc: var(--t-mint); --on: var(--on-mint); }
.pcolor::after { content: ""; position: absolute; right: -3vw; top: 50%; width: min(36vw, 440px); aspect-ratio: 1; background: var(--on); opacity: .1; transform: translateY(-50%) rotate(14deg); border-radius: 50%; pointer-events: none; }
.pcolor[data-pole="coral"]::after { border-radius: 0; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.pcolor[data-pole="sky"]::after { border-radius: 0; clip-path: polygon(50% 4%, 96% 92%, 4% 92%); }
.pcolor[data-pole="mint"]::after { border-radius: 0; clip-path: polygon(50% 0, 62% 36%, 100% 38%, 70% 60%, 80% 100%, 50% 76%, 20% 100%, 30% 60%, 0 38%, 38% 36%); }
.phero { max-width: 1400px; margin-inline: auto; padding-block: clamp(2.5rem, 6vw, 5rem); display: grid; gap: 1.4rem; position: relative; z-index: 1; }
.phero h1 { font-size: clamp(2.6rem, 7.4vw, 6.4rem); line-height: .88; letter-spacing: -.035em; max-width: 16ch; }
.phero.big h1 { font-size: clamp(3.6rem, 13vw, 11rem); line-height: .82; max-width: none; }
.phero .lead { color: var(--on); opacity: .92; font-size: clamp(1.1rem, 1.7vw, 1.4rem); max-width: 52ch; }
.phero .mono { opacity: .8; display: flex; align-items: center; gap: .6rem; }
.phero .mono::before { content: "\2726"; }
.phero .acts { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .6rem; }

/* Index numéroté des pôles */
.index { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); counter-reset: ix; }
.row { --c: var(--t-sun); --on: var(--on-sun); display: grid; grid-template-columns: 3.2rem minmax(0, 1.9fr) minmax(0, 1fr) 3rem; gap: .6rem 2rem; align-items: center; padding: clamp(1.1rem, 2.4vw, 1.9rem) .5rem; border-bottom: 2px solid var(--ink); text-decoration: none; position: relative; transition: background .2s ease, color .2s ease, padding .3s ease; counter-increment: ix; }
.row[data-c="coral"] { --c: var(--t-coral); --on: var(--on-coral); }
.row[data-c="sky"] { --c: var(--t-sky); --on: var(--on-sky); }
.row[data-c="mint"] { --c: var(--t-mint); --on: var(--on-mint); }
.row::before { content: counter(ix, decimal-leading-zero); font: 500 .85rem/1 var(--font-mono); letter-spacing: .08em; }
.row h3 { font-size: clamp(2.3rem, 5.4vw, 5rem); font-weight: 800; font-stretch: 75%; letter-spacing: -.035em; line-height: .88; display: flex; align-items: center; gap: .25em; flex-wrap: wrap; }
.row h3 .suit { width: .42em; height: .42em; background: var(--c); border: 0; transition: transform .5s ease; }
.row:hover h3 .suit, .row:focus-visible h3 .suit { transform: rotate(180deg) scale(1.15); background: var(--on); }
.row .new { font: 500 .7rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; background: var(--hl); color: #141414; padding: .4em .6em; transform: rotate(-4deg); align-self: center; }
.row .txt p { font-size: 1.02rem; line-height: 1.45; margin-top: .3rem; }
.row .txt b { font: 700 1.05rem/1.3 var(--font-body); display: block; }
.row .arr { font: 500 2.2rem/1 var(--font-mono); justify-self: end; transition: transform .3s ease; }
.row:hover, .row:focus-visible { background: var(--c); color: var(--on); padding-left: clamp(1rem, 3vw, 2.4rem); outline-offset: -3px; }
.row:hover .arr { transform: translateX(.3rem) rotate(-45deg); }
@media (max-width: 880px) { .row { grid-template-columns: 1.8rem minmax(0, 1fr) 1.6rem; gap: .5rem 1rem; } .row h3 { font-size: clamp(1.9rem, 9vw, 3.4rem); } .row .txt { grid-column: 2 / 3; } .row .arr { grid-row: 1; grid-column: 3; } }

/* Intro et manifeste */
.intro { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 3rem; align-items: end; }
.intro h2 { font-size: clamp(2.6rem, 7vw, 6.2rem); line-height: .9; }
.intro p { font-size: 1.2rem; color: var(--muted); }
.intro p b { color: var(--ink); }
@media (max-width: 880px) { .intro { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; } }
.manifesto { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3rem; align-items: start; }
.manifesto blockquote { margin: 0; font: 800 clamp(1.7rem, 3.4vw, 2.8rem)/1.08 var(--font-display); font-stretch: 82%; letter-spacing: -0.03em; }
.manifesto blockquote span { background: var(--hl); color: #141414; padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.sign { margin-top: 1.4rem; color: var(--muted); font-family: var(--font-serif); font-style: italic; font-size: 1.4rem; }
@media (max-width: 880px) { .manifesto { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; } }

/* Formats */
.formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 2px solid var(--band-ink); margin-bottom: 3rem; }
.format { padding: 1.6rem; display: grid; gap: .7rem; align-content: start; border-right: 2px solid var(--band-ink); }
.format:last-child { border-right: 0; }
.format h3 { color: var(--band-ink); font-size: clamp(1.8rem, 3vw, 2.6rem); font-stretch: 78%; font-weight: 800; }
.format p { color: var(--band-muted); font-size: 1rem; }
.format .mono { color: var(--band-accent); }
@media (max-width: 880px) { .formats { grid-template-columns: minmax(0, 1fr); } .format { border-right: 0; border-bottom: 2px solid var(--band-ink); } .format:last-child { border-bottom: 0; } }

/* Cartes des formateurs : de vraies cartes à jouer */
.cabinet { display: flex; gap: 1.4rem; overflow-x: auto; scroll-snap-type: x proximity; padding: 1.8rem .5rem 2.6rem; margin-inline: -.5rem; scrollbar-width: thin; }
.pcard { --c: var(--t-sun); flex: 0 0 min(78vw, 290px); scroll-snap-align: start; background: var(--card); color: #141414; border: 2px solid #141414; border-radius: 16px; padding: .9rem; display: flex; flex-direction: column; gap: .8rem; min-height: 440px; position: relative; transition: transform .3s ease; }
.pcard[data-c="sky"] { --c: var(--t-sky); } .pcard[data-c="mint"] { --c: var(--t-mint); }
.pcard:nth-child(odd) { transform: rotate(-1.6deg); } .pcard:nth-child(even) { transform: rotate(1.2deg); }
.pcard:hover, .pcard:focus-within { transform: rotate(0) translateY(-10px); }
.pcard .top { display: flex; justify-content: space-between; align-items: flex-start; gap: .6rem; }
.pcard .rank { display: grid; justify-items: center; gap: .3rem; font: 800 1.7rem/1 var(--font-display); }
.pcard .rank .suit { width: 18px; height: 18px; background: #141414; }
.pcard .top .mono { color: var(--muted); font-size: .68rem; text-align: right; }
.pcard .art { height: 128px; display: grid; place-items: center; background: var(--c); border: 2px solid #141414; border-radius: 8px; }
.pcard .art .suit { width: 76px; height: 76px; background: #141414; transition: transform .5s ease; }
.pcard:hover .art .suit { transform: rotate(180deg); }
.pcard h3 { font-size: 1.7rem; font-stretch: 78%; font-weight: 800; line-height: .95; }
.pcard .disc { font: 500 .72rem/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pcard p { color: #3c3830; font-size: .95rem; line-height: 1.45; }
.pcard .note { font-size: .82rem; border-top: 1px dashed #141414; padding-top: .6rem; }
.pcard .btn { margin-top: auto; align-self: stretch; justify-content: space-between; }
.pcard.blank { background: transparent; border: 2px dashed var(--band-ink); color: var(--band-ink); --ink: var(--band-ink); --bg: var(--band); }
.pcard.blank p, .pcard.blank .disc, .pcard.blank .top .mono { color: var(--band-muted); }
.pcard.blank .art { background: transparent; border: 2px dashed var(--band-ink); }
.pcard.blank .art .suit, .pcard.blank .rank .suit { background: var(--band-accent); }
.pcard.blank .btn { border-color: var(--band-ink); color: var(--band-ink); }

/* Composeur */
.composer { background: var(--surface); color: var(--ink); border: 2px solid var(--ink); border-radius: 0; padding: clamp(1.3rem, 3vw, 2.2rem); display: grid; gap: 1.1rem; }
.composer h3 { font-size: 2rem; font-stretch: 78%; font-weight: 800; }
.composer .hint { color: var(--muted); font-size: .92rem; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; margin-bottom: .5rem; font-weight: 700; font-size: .9rem; }
.seg { display: flex; flex-wrap: wrap; gap: .5rem; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: .45rem 1rem; border: 2px solid var(--ink); font-weight: 700; font-size: .92rem; transition: background .15s ease, color .15s ease; }
.seg input:checked + span { background: var(--ink); color: var(--bg); }
.seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.field { display: grid; gap: .35rem; min-width: 0; }
.fields .full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; min-height: 48px; padding: .6rem .8rem; border-radius: 0; border: 0; border-bottom: 2px solid var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink);
  font: 400 1rem/1.4 var(--font-body);
}
textarea { min-height: 110px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 0; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { margin-top: .25rem; width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.out { display: grid; gap: .7rem; }
.out textarea { font-family: var(--font-mono); font-size: .84rem; min-height: 190px; }
.out-actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.status { font-size: .9rem; color: var(--muted); min-height: 1.3em; }
@media (max-width: 620px) { .fields { grid-template-columns: minmax(0, 1fr); } }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.two.rev { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
@media (max-width: 880px) { .two, .two.rev { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }

/* Listes éditoriales */
.themes { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.themes li a { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: baseline; padding: 1.6rem .4rem; border-bottom: 2px solid var(--ink); text-decoration: none; transition: padding .25s ease, background .2s ease, color .2s; }
.themes li a:hover { padding-left: 1.4rem; background: var(--hl); color: #141414; }
.themes h3 { font-size: clamp(1.6rem, 3.6vw, 3rem); font-stretch: 76%; font-weight: 800; line-height: .95; }
.themes p { color: inherit; opacity: .8; }
.themes .arrow { font: 500 1.6rem/1 var(--font-mono); }
@media (max-width: 760px) { .themes li a { grid-template-columns: minmax(0, 1fr) auto; } .themes p { grid-column: 1 / -1; grid-row: 2; } }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; counter-reset: p; }
.pillar { border-top: 3px solid currentColor; padding-top: 1rem; display: grid; gap: .6rem; align-content: start; counter-increment: p; }
.pillar::before { content: "0" counter(p); font: 500 .8rem/1 var(--font-mono); letter-spacing: .1em; color: var(--accent); }
.band .pillar::before { color: var(--band-accent); }
.pillar h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-stretch: 80%; font-weight: 800; }
.pillar p { color: var(--muted); }
.band .pillar p { color: var(--band-muted); }
@media (max-width: 880px) { .pillars { grid-template-columns: minmax(0, 1fr); } }
.custom { margin-top: 3rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem; border: 2px solid var(--band-ink); padding: 1.8rem; }
.custom h3 { max-width: 24ch; font-size: clamp(1.8rem, 3vw, 2.6rem); font-stretch: 78%; font-weight: 800; }
.custom p { color: var(--band-muted); max-width: 52ch; margin-top: .5rem; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.panel { background: var(--surface); border: 2px solid var(--ink); padding: 1.8rem; display: grid; gap: 1rem; align-content: start; min-width: 0; }
.panel h3 { font-size: 2rem; font-stretch: 78%; font-weight: 800; }
.panel ul, ul.dots { margin: 0; padding: 0; list-style: none; display: grid; gap: .7rem; }
.panel li, ul.dots li { padding-left: 1.6rem; position: relative; color: var(--muted); }
.panel li b, ul.dots li b { color: var(--ink); font-weight: 700; }
.band ul.dots li { color: var(--band-muted); } .band ul.dots li b { color: var(--band-ink); }
.panel li::before, ul.dots li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; background: var(--accent); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; counter-reset: st; }
.step { counter-increment: st; border-top: 3px solid var(--ink); padding-top: 1rem; display: grid; gap: .5rem; align-content: start; }
.step::before { content: "0" counter(st); font: 800 3.4rem/.9 var(--font-display); font-stretch: 75%; color: var(--accent); }
.step h3 { font-size: 1.6rem; font-stretch: 80%; font-weight: 800; }
.step p { color: var(--muted); }
.band .step { border-color: var(--band-ink); } .band .step p { color: var(--band-muted); }
@media (max-width: 880px) { .duo, .steps { grid-template-columns: minmax(0, 1fr); } }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.chip { border: 2px solid var(--ink); padding: .4rem .85rem; font-size: .9rem; font-weight: 600; }
.band .chip { border-color: var(--band-ink); color: var(--band-ink); }
.chip.new { background: var(--hl); border-color: #141414; color: #141414; }
.rlist { display: grid; gap: 0; }
.rlist div { padding: 1.2rem 0; border-top: 2px solid var(--ink); display: grid; gap: .3rem; }
.rlist div:last-child { border-bottom: 2px solid var(--ink); }
.rlist p { color: var(--muted); }
.band .rlist div { border-color: var(--band-line); } .band .rlist p { color: var(--band-muted); }
.person { background: var(--surface); border: 2px solid var(--ink); padding: 1.8rem; display: grid; gap: .9rem; align-content: start; }
.avatar { width: 96px; height: 96px; background: var(--accent); border: 2px solid #141414; display: grid; place-items: center; font: 800 2.3rem/1 var(--font-display); font-stretch: 75%; color: #141414; transform: rotate(-4deg); }
.person h3 { font-size: 2.2rem; font-stretch: 76%; font-weight: 800; }
.person .role, .person p { color: var(--muted); }
.refs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.ref { padding: 1.8rem 1.8rem 1.8rem 0; border-bottom: 2px solid var(--ink); display: grid; gap: .5rem; align-content: start; }
.ref:nth-child(even) { padding-left: 1.8rem; padding-right: 0; border-left: 2px solid var(--ink); }
.ref h3 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-stretch: 76%; font-weight: 800; line-height: .95; }
.ref p { color: var(--muted); }
@media (max-width: 760px) { .refs { grid-template-columns: minmax(0, 1fr); } .ref, .ref:nth-child(even) { padding-inline: 0; border-left: 0; } }
.clients { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.clients li { font: 800 clamp(2.4rem, 8.4vw, 7rem)/.95 var(--font-display); font-stretch: 75%; letter-spacing: -.035em; padding: .12em 0 .08em; border-bottom: 2px solid var(--ink); display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; transition: padding .25s ease, color .2s ease; }
.clients li::after { content: "\2726"; font-size: .3em; color: var(--accent); }
.clients li:hover { padding-left: .3em; color: var(--accent); }
.clients li:last-child { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.bigmail { display: grid; gap: 1.4rem; justify-items: start; }
.bigmail h2 { font-size: clamp(2.8rem, 9vw, 7.4rem); line-height: .86; letter-spacing: -.035em; max-width: 14ch; }
.bigmail b { font: 800 clamp(2rem, 7vw, 5rem)/1 var(--font-display); font-stretch: 80%; letter-spacing: -.03em; word-break: break-word; }
.coords { display: grid; gap: 1.2rem; margin-top: 1.6rem; }
.coords div { display: grid; gap: .2rem; }
.coords .mono { color: var(--muted); }
.coords b { font-weight: 600; word-break: break-word; }
.legalpage { max-width: 760px; display: grid; gap: 1.4rem; }
.legalpage h2 { font-size: 1.7rem; font-stretch: 84%; }
.legalpage p, .legalpage li { color: var(--muted); }
.legalpage ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .4rem; }
.others { display: flex; flex-wrap: wrap; gap: .6rem; }
.note-box { border: 2px dashed var(--ink); padding: 1.1rem 1.3rem; color: var(--muted); font-size: .95rem; max-width: 70ch; }

/* Tirage de carte */
.drawsec { background: var(--accent); color: #141414; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); border-block: 2px solid #141414; overflow: hidden; --ink: #141414; --bg: #F1ECE1; }
.draw { display: grid; gap: 1.2rem; justify-items: center; text-align: center; padding-block: clamp(3rem, 7vw, 5.5rem); }
.draw .mono::before { content: "\2726  "; }
.draw h2 { font-size: clamp(3.4rem, 11.5vw, 10rem); line-height: .82; letter-spacing: -.035em; }
.draw .lead { margin-inline: auto; color: #141414; font-size: 1.25rem; }
.fan { display: flex; justify-content: center; padding-block: 2rem 1rem; }
.back { --r: 0deg; --y: 0px; width: clamp(74px, 16vw, 130px); aspect-ratio: 5 / 7; margin-left: calc(clamp(74px, 16vw, 130px) * -.34); border-radius: 12px; border: 2px solid #141414; cursor: pointer; padding: 0; flex: none; position: relative;
  background: radial-gradient(circle at 50% 50%, var(--accent) 0 9px, transparent 10px), repeating-linear-gradient(45deg, rgba(241,236,225,.2) 0 2px, transparent 2px 9px), #141414;
  box-shadow: inset 0 0 0 6px #141414, inset 0 0 0 7.5px rgba(241,236,225,.7);
  transform: rotate(var(--r)) translateY(var(--y)); transition: transform .3s cubic-bezier(.2,.8,.3,1.2); }
.back:first-child { margin-left: 0; }
.back:nth-child(1) { --r: -16deg; --y: 22px; } .back:nth-child(2) { --r: -8deg; --y: 6px; } .back:nth-child(3) { --r: 0deg; --y: 0px; } .back:nth-child(4) { --r: 8deg; --y: 6px; } .back:nth-child(5) { --r: 16deg; --y: 22px; }
.back:hover, .back:focus-visible { transform: rotate(var(--r)) translateY(calc(var(--y) - 28px)); z-index: 2; }
.back:focus-visible { outline-color: #F1ECE1; }
.reveal { display: grid; justify-items: center; margin-top: 1rem; }
.reveal:focus { outline: none; }
.face { background: var(--card); color: #141414; border: 2px solid #141414; border-radius: 16px; padding: 1.2rem 1.3rem 1.3rem; width: min(100%, 400px); text-align: left; display: grid; gap: .9rem; position: relative; overflow: hidden; box-shadow: 0 18px 0 -8px rgba(20,20,20,.35); animation: flip .6s cubic-bezier(.2,.8,.3,1.1); }
.face .idx { display: flex; align-items: center; gap: .5rem; width: max-content; font: 800 1.9rem/1 var(--font-display); }
.face .idx .suit { width: 20px; height: 20px; background: #141414; }
.face .wm { position: absolute; right: -14%; bottom: -10%; width: 62%; aspect-ratio: 1; opacity: .09; pointer-events: none; }
.face .wm .suit { width: 100%; height: 100%; background: #141414; }
.face .disc { color: var(--muted); }
.face p.q { font: 800 clamp(1.4rem, 2.6vw, 1.75rem)/1.08 var(--font-display); font-stretch: 80%; letter-spacing: -.03em; position: relative; }
.face .acts { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .3rem; position: relative; }
@keyframes flip { from { transform: perspective(800px) rotateY(100deg) rotate(-6deg); opacity: 0; } to { transform: perspective(800px) rotateY(0) rotate(0); opacity: 1; } }

/* Pied de page */
footer { margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); background: var(--band); color: var(--band-ink); padding-block: clamp(3rem, 7vw, 5.5rem) 0; position: relative; overflow: hidden; }
.f-cta { display: grid; gap: 1.4rem; justify-items: start; padding-bottom: clamp(2.5rem, 6vw, 4.5rem); border-bottom: 2px solid var(--band-line); margin-bottom: 3rem; }
.f-cta a.big { font: 800 clamp(3.2rem, 12vw, 10.5rem)/.84 var(--font-display); font-stretch: 75%; letter-spacing: -.035em; text-decoration: none; display: inline-flex; align-items: center; gap: .15em; transition: color .2s ease; }
.f-cta a.big:hover { color: var(--accent); }
.f-cta a.big span { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.f-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 2.2rem; }
.f-grid > div { min-width: 0; }
.f-grid h4 { font: 500 .76rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--band-accent); margin-bottom: 1rem; }
.f-grid p, .f-grid a { color: var(--band-muted); font-size: .96rem; }
.f-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.f-grid a { text-decoration: none; }
.f-grid a:hover { color: var(--band-ink); text-decoration: underline; }
.f-legal { margin-top: 2.6rem; border-top: 2px solid var(--band-line); padding-block: 1.4rem; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; align-items: center; justify-content: space-between; color: var(--band-muted); font-size: .86rem; }
.f-legal nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.f-legal a { color: var(--band-muted); }
.f-word { font: 800 clamp(6rem, 29vw, 30rem)/.74 var(--font-display); font-stretch: 75%; letter-spacing: -.04em; color: var(--band-line); margin: 0 0 -.06em -.03em; white-space: nowrap; user-select: none; pointer-events: none; }
@media (max-width: 880px) { .f-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 520px) { .f-grid { grid-template-columns: minmax(0, 1fr); } }


/* ===== v5 : visuels, jeu de 8 cartes, problèmes, mains, séminaires ===== */
.rank { display: grid; justify-items: center; gap: .3rem; font: 800 1.6rem/1 var(--font-display); color: #141414; }
.rank .suit { width: 16px; height: 16px; background: #141414; }
.svgart { display: block; width: 100%; height: 100%; }
.svgart svg { width: 100%; height: 100%; display: block; }
.pcard[data-c="coral"] { --c: var(--t-coral); }
.pcard .art { overflow: hidden; }
.pcard .art > img, .pcard .art > .svgart { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcard.gilles { background: var(--t-mint); }
.pcard.gilles .art { height: 168px; }
.pcard.gilles .art img { object-position: 50% 16%; }
.pcard.gilles p, .pcard.gilles .top .mono, .pcard.gilles .disc { color: #2a2a22; }

/* Hero d'accueil v5 */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 2rem 3rem; align-items: end; }
.hero-grid .mega { font-size: clamp(3.2rem, 9.6vw, 10rem); }
.sec-head .new { font: 500 .7rem/1 var(--font-mono); letter-spacing: .1em; background: var(--hl); color: #141414; padding: .4em .6em; margin-left: .6rem; display: inline-block; transform: rotate(-4deg); }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; }
.hero-grid .lead { margin-top: clamp(1.4rem, 3vw, 2.2rem); }
.herodeck { position: relative; height: clamp(320px, 33vw, 470px); margin-right: clamp(.5rem, 2vw, 2rem); }
.hc { --i: 0; position: absolute; bottom: 0; left: calc(var(--i) * 24%); width: clamp(170px, 15.5vw, 224px); aspect-ratio: 5 / 7; background: var(--card); color: #141414; border: 2px solid #141414; border-radius: 14px; padding: .6rem; display: flex; flex-direction: column; gap: .5rem; text-decoration: none;
  box-shadow: 0 16px 0 -6px rgba(20,20,20,.22); transform: rotate(calc((var(--i) - 1) * 9deg)) translateY(calc(var(--i) * (2 - var(--i)) * -22px)); transition: transform .35s cubic-bezier(.2,.8,.3,1.2); z-index: var(--i); }
.hc:hover, .hc:focus-visible { transform: rotate(0) translateY(-26px); z-index: 5; }
.hc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .4rem; }
.hc-top .mono { font-size: .58rem; color: #5B564B; text-align: right; }
.hc-art { flex: 1; min-height: 0; border: 2px solid #141414; border-radius: 8px; overflow: hidden; display: block; }
.hc-art img, .hc-art .svgart { width: 100%; height: 100%; object-fit: cover; display: block; }
.hc b { font: 800 1.35rem/1 var(--font-display); font-stretch: 78%; letter-spacing: -.02em; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-grid .mega { font-size: clamp(2.8rem, 13.4vw, 8.6rem); } .door { min-height: 0; } .herodeck { height: 330px; max-width: 520px; width: 100%; margin-inline: auto; } .hc { left: calc(var(--i) * 27%); width: 38%; max-width: 200px; } }
@media (max-width: 560px) { .hero .kicker { padding-right: 104px; } .herodeck { height: 270px; } .hc { padding: .45rem; } .hc b { font-size: 1.05rem; } .hc-top .mono { display: none; } }

/* Problème / métier */
.probs { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.prob { --c: var(--t-sun); --on: var(--on-sun); display: grid; grid-template-columns: 3rem minmax(0, 1.7fr) minmax(0, .8fr) 2.4rem; gap: .6rem 2rem; align-items: center; padding: clamp(1rem, 2vw, 1.45rem) .4rem; border-bottom: 2px solid var(--ink); text-decoration: none; transition: background .2s ease, color .2s ease, padding .3s ease; }
.prob[data-c="sky"] { --c: var(--t-sky); --on: var(--on-sky); } .prob[data-c="mint"] { --c: var(--t-mint); --on: var(--on-mint); } .prob[data-c="coral"] { --c: var(--t-coral); --on: var(--on-coral); }
.prob .pn { font: 500 .85rem/1 var(--font-mono); letter-spacing: .08em; }
.prob q { quotes: "« " " »"; font: 800 clamp(1.45rem, 3.1vw, 2.7rem)/1.02 var(--font-display); font-stretch: 78%; letter-spacing: -.03em; }
.prob .who { display: flex; gap: .7rem; align-items: center; }
.prob .who .suit { width: 22px; height: 22px; background: var(--c); }
.prob .who b { display: block; font-weight: 700; line-height: 1.2; }
.prob .who span span { display: block; color: var(--muted); font-size: .9rem; line-height: 1.3; }
.prob .arr { font: 500 1.8rem/1 var(--font-mono); justify-self: end; transition: transform .3s ease; }
.prob:hover, .prob:focus-visible { background: var(--c); color: var(--on); padding-left: clamp(1rem, 2.4vw, 2rem); outline-offset: -3px; }
.prob:hover .who .suit, .prob:focus-visible .who .suit { background: var(--on); }
.prob:hover .who span span, .prob:focus-visible .who span span { color: inherit; opacity: .85; }
.prob:hover .arr { transform: translateX(.3rem) rotate(-45deg); }
@media (max-width: 880px) { .prob { grid-template-columns: 1.8rem minmax(0, 1fr) 1.4rem; gap: .6rem .8rem; } .prob .who { grid-column: 2; grid-row: 2; } .prob .arr { grid-column: 3; grid-row: 1; } }

/* Pourquoi maintenant */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; }
.stat { border-top: 3px solid var(--band-ink); padding-top: 1.1rem; display: grid; gap: .8rem; align-content: start; text-decoration: none; color: var(--band-ink); }
.stat b { font: 800 clamp(2.8rem, 5.4vw, 5rem)/.85 var(--font-display); font-stretch: 75%; letter-spacing: -.04em; color: var(--accent); }
.stat:nth-child(2) b { color: var(--hl); } .stat:nth-child(3) b { color: var(--t-sky); } .stat:nth-child(4) b { color: var(--band-ink); }
.stat p { color: var(--band-muted); font-size: 1rem; }
.stat .src { font-size: .64rem; color: var(--band-muted); opacity: .8; }
.stat .go { font-weight: 700; font-size: .95rem; transition: color .2s ease; }
.stat:hover .go, .stat:focus-visible .go { color: var(--accent); }
@media (max-width: 980px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .stats { grid-template-columns: minmax(0, 1fr); } }

/* Portes par public */
.doors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.door { --c: var(--t-sun); --on: var(--on-sun); height: 100%; display: grid; grid-template-rows: auto auto 1fr auto; gap: .6rem; border: 2px solid var(--ink); border-top: 14px solid var(--c); padding: 1.2rem; min-height: 250px; text-decoration: none; background: var(--surface); transition: background .2s ease, color .2s ease, transform .3s ease; }
.door[data-c="coral"] { --c: var(--t-coral); --on: var(--on-coral); border-top-color: var(--ink); } .door[data-c="sky"] { --c: var(--t-sky); --on: var(--on-sky); } .door[data-c="mint"] { --c: var(--t-mint); --on: var(--on-mint); } .door[data-c="paper"] { --c: var(--soft); --on: var(--ink); }
.door .mono { color: var(--muted); }
.door h3 { font-size: clamp(1.5rem, 2.05vw, 2rem); font-stretch: 78%; font-weight: 800; }
.door p { color: var(--muted); font-size: .98rem; }
.door .arr { font: 500 1.8rem/1 var(--font-mono); justify-self: end; }
.door:hover, .door:focus-visible { background: var(--c); color: var(--on); transform: translateY(-4px); }
.door:hover p, .door:hover .mono, .door:focus-visible p, .door:focus-visible .mono { color: inherit; }

/* Le joker */
.jokersec { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3rem 4.5rem; align-items: center; }
.jk-card { position: relative; background: var(--card); border: 2px solid #141414; border-radius: 18px; padding: 2.8rem 1rem; transform: rotate(-3deg); box-shadow: 0 22px 0 -8px rgba(20,20,20,.25); max-width: 460px; margin-inline: auto; transition: transform .4s ease; }
.jk-card:hover { transform: rotate(0); }
.jk-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 10px; border: 2px solid #141414; display: block; }
.jk-c { position: absolute; font: 800 2rem/1 var(--font-display); color: #141414; }
.jk-c.tl { top: .55rem; left: 1rem; } .jk-c.br { bottom: .55rem; right: 1rem; transform: rotate(180deg); }
.jk-txt { display: grid; gap: 1.3rem; justify-items: start; }
.jk-txt > .mono { color: var(--muted); } .jk-txt > .mono::before { content: "\2726  "; color: var(--accent); }
.jk-txt blockquote { margin: 0; font: 800 clamp(1.5rem, 2.8vw, 2.3rem)/1.1 var(--font-display); font-stretch: 82%; letter-spacing: -.03em; background: var(--hl); color: #141414; padding: .5em .6em; border: 2px solid #141414; transform: rotate(-1deg); }
.jk-txt p { color: var(--muted); max-width: 58ch; font-size: 1.08rem; }
.jk-txt .cta { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 880px) { .jokersec { grid-template-columns: minmax(0, 1fr); } .jk-card { max-width: 340px; } }
.clientline { font: 800 clamp(1.8rem, 4.6vw, 3.8rem)/1.12 var(--font-display); font-stretch: 75%; letter-spacing: -.035em; display: flex; flex-wrap: wrap; gap: .05em .45em; align-items: baseline; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding-block: .5em; }
.clientline span::after { content: "\2726"; font-size: .4em; color: var(--accent); margin-left: .45em; vertical-align: .4em; }
.clientline em { color: var(--muted); }

/* Héros photo */
.photohero { --ink: #141414; --muted: #3b372f; --bg: #F1ECE1; --line: #141414; position: relative; margin-inline: calc(-1 * var(--gut)); margin-top: 1rem; border-block: 2px solid var(--ink); overflow: hidden; background: #F1ECE1; color: #141414; min-height: clamp(470px, 44vw, 680px); display: flex; align-items: center; }
.photohero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.photohero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(241,236,225,.94) 0%, rgba(241,236,225,.8) 34%, rgba(241,236,225,0) 58%); }
.ph-in { position: relative; z-index: 2; width: 100%; max-width: calc(1400px + 2 * var(--gut)); margin-inline: auto; padding: clamp(2.5rem, 6vw, 5rem) var(--gut); }
.ph-txt { max-width: min(48%, 640px); display: grid; gap: 1.3rem; }
.ph-txt h1 { font-size: clamp(2.6rem, 5.8vw, 5.6rem); line-height: .88; letter-spacing: -.035em; }
.ph-txt .lead { color: #141414; opacity: .85; font-size: clamp(1.08rem, 1.5vw, 1.3rem); }
.ph-txt .mono { display: flex; align-items: center; gap: .6rem; opacity: .8; } .ph-txt .mono::before { content: "\2726"; color: var(--accent); }
.ph-txt .acts { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .4rem; }
@media (max-width: 880px) { .photohero { display: block; min-height: 0; } .photohero::before { display: none; } .photohero > img { position: static; height: auto; aspect-ratio: 16 / 10; object-position: 78% 40%; border-bottom: 2px solid #141414; } .ph-txt { max-width: none; } }

/* Héros des pages formateurs */
.thero::after { display: none; }
.thero .phero { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: center; gap: 2rem 4rem; }
.th-txt { display: grid; gap: 1.2rem; }
.thero h1 { font-size: clamp(2.6rem, 6.2vw, 5.8rem); max-width: 14ch; }
.thero .hook { font: italic 400 clamp(1.4rem, 2.4vw, 2.1rem)/1.12 var(--font-serif); max-width: 30ch; }
.th-card { background: var(--card); color: #141414; border: 2px solid #141414; border-radius: 16px; padding: .8rem; display: grid; gap: .7rem; transform: rotate(4deg); box-shadow: 0 20px 0 -8px rgba(20,20,20,.3); max-width: 340px; width: 100%; justify-self: center; }
.tc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.tc-top .mono { font-size: .64rem; color: #5B564B; }
.tc-art { aspect-ratio: 4 / 5; border: 2px solid #141414; border-radius: 8px; overflow: hidden; }
.tc-art img, .tc-art .svgart { width: 100%; height: 100%; object-fit: cover; display: block; }
.th-card b { font: 800 1.7rem/1 var(--font-display); font-stretch: 78%; letter-spacing: -.02em; }
@media (max-width: 880px) { .thero .phero { grid-template-columns: minmax(0, 1fr); } .th-card { max-width: 250px; justify-self: start; transform: rotate(2deg); } }
.whybox { border: 2px solid #141414; background: var(--hl); color: #141414; padding: 1.3rem 1.4rem; display: grid; gap: .6rem; transform: rotate(-.6deg); }
.whybox .mono::before { content: "\2726  "; }
.whybox p { font-size: 1.05rem; }
.whybox .src { font-size: .8rem; opacity: .75; }

/* Les mains */
.hands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.hand { border: 2px solid var(--ink); background: var(--surface); display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.fan3 { display: flex; justify-content: center; align-items: flex-end; padding: 2.2rem 1rem 1.6rem; background: var(--band); min-height: 240px; }
.mini { width: clamp(108px, 10.5vw, 148px); aspect-ratio: 5 / 7; background: var(--card); color: #141414; border: 2px solid #141414; border-radius: 10px; padding: .45rem; display: flex; flex-direction: column; gap: .35rem; text-decoration: none; margin-left: -20px; transition: transform .3s cubic-bezier(.2,.8,.3,1.2); box-shadow: 0 10px 0 -4px rgba(0,0,0,.35); position: relative; }
.mini:first-child { margin-left: 0; transform: rotate(-8deg) translateY(8px); } .mini:nth-child(2) { transform: translateY(-6px); z-index: 1; } .mini:nth-child(3) { transform: rotate(8deg) translateY(8px); z-index: 2; }
.mini:hover, .mini:focus-visible { transform: translateY(-16px) rotate(0); z-index: 3; }
.mart { flex: 1; min-height: 0; border: 1.5px solid #141414; border-radius: 6px; overflow: hidden; display: block; }
.mart img, .mart .svgart { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini .mono { font-size: .54rem; color: #5B564B; line-height: 1.2; }
.mini b { font: 800 1rem/1 var(--font-display); font-stretch: 80%; }
.mini.prog { background: var(--hl); }
.mini.prog::before { content: "\2726"; flex: 1; display: grid; place-items: center; font-size: 2.6rem; border: 1.5px dashed #141414; border-radius: 6px; }
.htxt { padding: 1.4rem; display: grid; gap: .7rem; align-content: start; }
.htxt .mono { color: var(--muted); }
.htxt h3 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); font-stretch: 78%; font-weight: 800; }
.htxt .promise { font: italic 400 1.35rem/1.15 var(--font-serif); }
.htxt p:not(.promise):not(.mono) { color: var(--muted); }
.htxt .btn { justify-self: start; margin-top: .3rem; }
@media (max-width: 880px) { .hands { grid-template-columns: minmax(0, 1fr); } }
.fund-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem 3rem; align-items: end; }
.fund-img { width: 100%; border: 2px solid var(--ink); display: block; margin-bottom: clamp(2rem, 4vw, 3.4rem); }
@media (max-width: 880px) { .fund-head { grid-template-columns: minmax(0, 1fr); } .fund-img { margin-bottom: 2rem; } }
.fmt-band { margin-inline: 0; padding: clamp(1rem, 3vw, 2rem); margin-bottom: 3rem; }
.fmt-band .formats { margin-bottom: 0; }

/* FAQ */
.faq { margin-top: 3rem; border-top: 2px solid var(--band-ink); }
.faq-t { color: var(--band-ink); font-size: 1.9rem; font-stretch: 80%; font-weight: 800; margin: 1.4rem 0 .4rem; }
.faq details { border-bottom: 2px solid var(--band-line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.6rem 1.1rem 0; font: 700 1.12rem/1.3 var(--font-body); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: .85rem; font: 500 1.6rem/1 var(--font-mono); color: var(--band-accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--band-muted); padding-bottom: 1.1rem; max-width: 70ch; }

/* Séminaires */
.shows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.show { border: 2px solid var(--ink); background: var(--surface); display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.show-art { display: block; aspect-ratio: 2 / 1; overflow: hidden; border-bottom: 2px solid var(--ink); }
.show-art img, .show-art .svgart { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.show:hover .show-art img, .show:hover .show-art .svgart { transform: scale(1.04); }
.show-txt { padding: 1.4rem; display: grid; gap: .7rem; align-content: start; }
.show-txt .mono { color: var(--muted); }
.show-txt h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); font-stretch: 76%; font-weight: 800; }
.show-txt p:not(.mono) { color: var(--muted); }
.show-txt .btn { justify-self: start; margin-top: .3rem; }
@media (max-width: 760px) { .shows { grid-template-columns: minmax(0, 1fr); } }

/* Portraits */
.person .portrait { width: 100%; max-width: 260px; aspect-ratio: 1; object-fit: cover; border: 2px solid #141414; transform: rotate(-2deg); display: block; margin-bottom: .4rem; }
.talkto { display: flex; gap: 1rem; align-items: center; margin-top: 1.8rem; border: 2px solid var(--ink); padding: .9rem; background: var(--surface); max-width: 460px; }
.talkto img { width: 76px; height: 76px; object-fit: cover; border-radius: 50%; border: 2px solid #141414; flex: none; }
.talkto p { color: var(--muted); font-size: .98rem; }
.talkto b { color: var(--ink); display: block; }
a.chip { text-decoration: none; transition: background .15s ease, color .15s ease; }
a.chip:hover { background: var(--hl); color: #141414; }

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

/* ===== v9 : audit du 8 novembre 2026 ===== */
.skip { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--ink); color: var(--bg); padding: .8rem 1.1rem; font-weight: 700; text-decoration: none; }
.skip:focus { top: 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.toplinks { display: flex; gap: 1.3rem; }
body.menu-open .toplinks { visibility: hidden; }
@media (max-width: 760px) { .toplinks { display: none; } }
.mono { font-size: .8rem; }
@media (max-width: 620px) { .mono, .pcard .top .mono, .pcard .disc, .crumbs ol { font-size: .8rem; } .stat .src { font-size: .74rem; } }
/* Trois parcours */
.paths { list-style: none; margin: clamp(1.8rem, 4vw, 3rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.path { --c: var(--t-sun); --on: var(--on-sun); height: 100%; display: grid; gap: .5rem; align-content: start; grid-template-rows: auto auto 1fr auto; border: 2px solid var(--ink); background: var(--surface); padding: 1.1rem 1.2rem 1.2rem; text-decoration: none; border-left: 14px solid var(--c); transition: background .2s ease, color .2s ease, transform .3s ease; }
.path[data-c="coral"] { --c: var(--t-coral); --on: var(--on-coral); border-left-color: var(--ink); } .path[data-c="sky"] { --c: var(--t-sky); --on: var(--on-sky); }
.path .mono { color: var(--muted); }
.path b { font: 800 clamp(1.35rem, 1.9vw, 1.7rem)/1.02 var(--font-display); font-stretch: 80%; letter-spacing: -.02em; }
.path .pt { color: var(--muted); font-size: .96rem; }
.path .go { font-weight: 700; font-size: .95rem; margin-top: .4rem; }
.path:hover, .path:focus-visible { background: var(--c); color: var(--on); transform: translateY(-3px); }
.path:hover .mono, .path:hover .pt, .path:focus-visible .mono, .path:focus-visible .pt { color: inherit; }
@media (max-width: 880px) { .paths { grid-template-columns: minmax(0, 1fr); } .path { grid-template-rows: none; } }
/* Portes plus courtes sur mobile */
@media (max-width: 620px) { .doors { grid-template-columns: minmax(0, 1fr); gap: .6rem; } .door { min-height: 0; padding: .9rem 1rem; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: .2rem .8rem; border-top-width: 2px; border-left: 10px solid var(--c); } .door .mono { grid-column: 1; } .door h3 { grid-column: 1; font-size: 1.45rem; } .door p { display: none; } .door .arr { grid-column: 2; grid-row: 1 / 3; align-self: center; } }
/* Cartes en préparation */
.pcard.prep { background: transparent; border-style: dashed; }
.pcard.prep .art { filter: grayscale(.85); opacity: .7; }
.pcard.prep .top .mono { background: var(--soft); color: #141414; padding: .25em .5em; }
.band .pcard.prep { color: var(--band-ink); --ink: var(--band-ink); }
.band .pcard.prep p, .band .pcard.prep .disc { color: var(--band-muted); }
.prepbox { border: 2px dashed var(--ink); padding: 1.1rem 1.3rem; display: grid; gap: .5rem; }
.prepbox .mono { color: var(--accent); }
/* Mains */
.hnote { font-size: .88rem; color: var(--muted); border-top: 1px dashed currentColor; padding-top: .6rem; }
/* Statistiques à trois colonnes */
.stats.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .stats.three { grid-template-columns: minmax(0, 1fr); } }
/* Fiche programme */
.fiche { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.fi { padding: 1.4rem 1.6rem 1.6rem 0; border-bottom: 2px solid var(--ink); display: grid; gap: .7rem; align-content: start; min-width: 0; }
.fi:nth-child(odd):not(.wide) { padding-right: 1.6rem; border-right: 2px solid var(--ink); }
.fi:nth-child(even):not(.wide) { padding-left: 1.6rem; }
.fi.wide { grid-column: 1 / -1; }
.fi .mono { color: var(--accent); }
.fi ol { margin: 0; padding-left: 1.3rem; display: grid; gap: .4rem; }
.fi p, .fi li { color: var(--muted); } .fi b { color: var(--ink); }
ul.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
@media (max-width: 760px) { .fiche { grid-template-columns: minmax(0, 1fr); } .fi, .fi:nth-child(odd):not(.wide), .fi:nth-child(even):not(.wide) { padding: 1.2rem 0; border-right: 0; } }
.rlist.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.4rem; }
.rlist.two-col div:last-child { border-bottom: 0; }
@media (max-width: 760px) { .rlist.two-col { grid-template-columns: minmax(0, 1fr); } }
/* Formulaires */
.out[hidden], [hidden] { display: none !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy { font-size: .82rem; color: var(--muted); line-height: 1.5; }
.privacy a { color: inherit; }
.req-hint { font-size: .82rem; }
[aria-invalid="true"] { border-color: var(--accent) !important; box-shadow: 0 0 0 2px var(--accent); }
.composer .status { color: var(--ink); font-weight: 600; }
.status2 { font-size: .9rem; color: var(--muted); }
.sent { display: grid; gap: .9rem; outline: none; }
.sent .mono { color: var(--accent); }
.sent h3 { font-size: 2.2rem; }
/* Adresse e-mail : pas de coupure au milieu */
.mailbig { font: 800 clamp(1.7rem, 4.4vw, 3.6rem)/1.05 var(--font-display); font-stretch: 80%; letter-spacing: -.03em; text-decoration: none; overflow-wrap: normal; word-break: keep-all; }
.nav > a:not(.btn) { font-size: clamp(1.9rem, min(6.2vw, 8.5vh), 4.8rem); }
.nav .ddmenu a { font-size: clamp(1.5rem, min(4.8vw, 6.5vh), 3.4rem); }
html, body { overflow-x: clip; }
@media (max-width: 560px) { .herodeck { display: none; } .paths { margin-top: 1.4rem; } }
@media (max-width: 380px) { .mini { width: 92px; margin-left: -26px; } .fan3 { padding-inline: .4rem; } .phero.big h1 { font-size: clamp(2.3rem, 12.4vw, 3rem); } }
.mailbig:hover { text-decoration: underline; text-decoration-color: var(--accent); }

/* v10 (SEO) : intertitres des fiches programme en <h2>, rendu identique à l'ancien libellé <p class="mono"> */
.fi h2.mono { font-weight: 400; font-stretch: normal; line-height: 1.6; text-wrap: wrap; }
/* v10 : adresse dans le pied de page */
.f-grid .f-addr { margin-top: .6rem; }

/* ===== v11 : carrousel de cartes, ressources, programme à la une, illustrations ===== */
.deck { position: relative; }
.deck .cabinet { scroll-behavior: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.deck .cabinet::-webkit-scrollbar { display: none; }
.deck-nav { display: flex; align-items: center; gap: .6rem; margin-top: .2rem; }
.deck-btn { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ink); background: var(--surface); color: var(--ink); font: 500 1.3rem/1 var(--font-mono); cursor: pointer; display: grid; place-items: center; transition: background .2s ease, color .2s ease, transform .2s ease; }
.deck-btn:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }
.deck-play { margin-left: auto; border: 2px solid var(--ink); background: transparent; color: var(--ink); font: 500 .72rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; padding: .7rem .9rem; border-radius: 999px; cursor: pointer; }
.deck-play .dp-play, .deck.paused .deck-play .dp-pause { display: none; }
.deck.paused .deck-play .dp-play { display: inline; }
.band .deck-btn { border-color: var(--band-ink); background: transparent; color: var(--band-ink); }
.band .deck-btn:hover { background: var(--band-ink); color: var(--band); }
.band .deck-play { border-color: var(--band-ink); color: var(--band-ink); }

.illus { margin: 0; border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; background: #F3EBDD; }
.illus img { display: block; width: 100%; height: auto; }
.illus.wide { margin-top: clamp(2rem, 4vw, 3.4rem); max-width: 1100px; margin-inline: auto; }
.band .illus { border-color: var(--band-ink); }
.res-head, .peda-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.res-head .sec-head, .peda-head .sec-head { margin-bottom: 0; }
@media (max-width: 880px) { .res-head, .peda-head { grid-template-columns: minmax(0, 1fr); } }

.rtiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
.rtile { --c: var(--t-sun); --on: var(--on-sun); height: 100%; display: grid; grid-template-rows: auto auto 1fr auto; gap: .5rem; border: 2px solid var(--ink); border-top: 12px solid var(--c); background: var(--surface); padding: 1.1rem 1.1rem 1.2rem; text-decoration: none; transition: background .2s ease, color .2s ease, transform .2s ease; }
.rtile[data-c="sky"] { --c: var(--t-sky); --on: var(--on-sky); } .rtile[data-c="mint"] { --c: var(--t-mint); --on: var(--on-mint); } .rtile[data-c="coral"] { --c: var(--t-coral); --on: var(--on-coral); border-top-color: var(--ink); }
.rtile .mono { color: var(--muted); font-size: .66rem; }
.rtile b { font: 800 1.55rem/1 var(--font-display); font-stretch: 80%; letter-spacing: -.02em; }
.rtile .rt-lead { color: var(--muted); font-size: .95rem; line-height: 1.4; }
.rtile .go { font: 500 .74rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; margin-top: .4rem; }
.rtile:hover { background: var(--c); color: var(--on); transform: translateY(-3px); }
.rtile:hover .mono, .rtile:hover .rt-lead { color: inherit; opacity: .85; }

.ihero .phero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.ihero .ih-txt { display: grid; gap: 1.2rem; align-content: start; }
.ihero .illus { border-color: #141414; }
@media (max-width: 880px) { .ihero .phero { grid-template-columns: minmax(0, 1fr); } }

.rfiche { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .8fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.rmain { display: grid; gap: clamp(2.4rem, 5vw, 3.6rem); }
.rmain h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 1.1rem; }
.rnote { color: var(--muted); font-size: .92rem; margin: -.4rem 0 1rem; }
.rsteps { list-style: none; margin: 0; padding: 0; counter-reset: rs; display: grid; gap: .2rem; }
.rsteps li { counter-increment: rs; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: .2rem 1rem; padding: 1rem 0; border-top: 2px solid var(--ink); }
.rsteps li::before { content: counter(rs, decimal-leading-zero); grid-row: span 2; font: 800 1.9rem/1 var(--font-display); font-stretch: 78%; color: var(--accent); }
.rsteps b { font: 750 1.2rem/1.2 var(--font-display); }
.rsteps p { color: var(--muted); }
.rexs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1rem; }
.rex { border: 2px solid var(--ink); background: var(--surface); padding: 1.1rem; display: grid; gap: .6rem; align-content: start; }
.rex h3 { font-size: 1.25rem; }
.rex p, .rex dd { color: var(--muted); font-size: .96rem; line-height: 1.5; }
.rex dl { margin: 0; display: grid; gap: .25rem; }
.rex dt { font: 500 .68rem/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; margin-top: .45rem; }
.rex dd { margin: 0; }
.rside { display: grid; gap: 1.2rem; position: sticky; top: calc(90px + env(safe-area-inset-top, 0px)); }
.rtodo { background: var(--hl); color: #141414; border: 2px solid #141414; padding: 1.2rem; display: grid; gap: .6rem; transform: rotate(-1deg); }
.rtodo p:last-child { font-size: 1.05rem; line-height: 1.5; }
.rmore { border: 2px solid var(--ink); padding: 1.2rem; display: grid; gap: .8rem; }
.rmore > .mono { color: var(--muted); }
.rlink { display: grid; gap: .3rem; text-decoration: none; border-top: 2px solid var(--ink); padding-top: .8rem; }
.rlink .mono { color: var(--muted); font-size: .64rem; }
.rlink b { font: 750 1.1rem/1.15 var(--font-display); }
.rlink:hover b { text-decoration: underline; text-decoration-thickness: 2px; }
.rsrc { color: var(--muted); font-size: .82rem; line-height: 1.5; }
@media (max-width: 960px) { .rfiche { grid-template-columns: minmax(0, 1fr); } .rside { position: static; } }

.star { display: grid; gap: 1rem; text-decoration: none; background: var(--t-mint); color: #141414; border: 2px solid #141414; border-radius: 18px; padding: clamp(1.4rem, 4vw, 3rem); position: relative; overflow: hidden; transition: transform .25s ease; }
.star::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--t-sun); opacity: .9; }
.star > * { position: relative; z-index: 1; max-width: 860px; }
.star .mono { opacity: .8; }
.star h2 { font-size: clamp(2rem, 5vw, 4rem); }
.star .lead { color: #141414; opacity: .85; }
.star-pts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.star-pts li { border: 2px solid #141414; padding: .35rem .8rem; font-weight: 600; font-size: .92rem; background: rgba(255,255,255,.35); }
.star .btn { justify-self: start; }
.star:hover { transform: translateY(-4px) rotate(-.3deg); }
.fams { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.fam-t { color: var(--muted); margin-bottom: .6rem; }
.fam-t::before { content: "\2726  "; color: var(--accent); }

.photohero > img[src*="ban_entreprises"], .photohero > img[src*="ban_equipe"] { object-position: 85% 30%; }
@media (max-width: 880px) { .photohero > img[src*="ban_entreprises"], .photohero > img[src*="ban_equipe"] { aspect-ratio: 3 / 2; object-position: 88% 30%; } }

/* Pastille de l'accueil : lien vers les séminaires */
a.stamp { display: block; border-radius: 50%; text-decoration: none; transition: transform .25s ease; }
a.stamp:hover, a.stamp:focus-visible { transform: scale(1.06) rotate(-4deg); }
a.stamp:hover svg, a.stamp:focus-visible svg { animation-play-state: paused; }
a.stamp:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { a.stamp { transition: none; } a.stamp:hover, a.stamp:focus-visible { transform: none; } }

/* Manifeste */
.mf { max-width: 760px; display: grid; gap: 1.3rem; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; }
.mf .mf-first { font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.45; font-weight: 500; }
.mf a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.mf mark { background: var(--hl); color: #141414; padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.mf-list { list-style: none; margin: .4rem 0; padding: 0; display: grid; border-top: 2px solid var(--ink); }
.mf-list li { padding: .9rem 0 .9rem 2rem; border-bottom: 2px solid var(--ink); position: relative; }
.mf-list li::before { content: "\2726"; position: absolute; left: .2rem; top: .9rem; color: var(--accent); }
.mf-quote { margin: 1rem 0 0; font: 800 clamp(1.7rem, 3.4vw, 2.6rem)/1.08 var(--font-display); font-stretch: 82%; letter-spacing: -.03em; }
.mf-quote span { background: var(--hl); color: #141414; padding: 0 .12em; width: fit-content; box-decoration-break: clone; -webkit-box-decoration-break: clone; display: inline; }
.mf-sign { display: flex; align-items: center; gap: 1rem; margin-top: .6rem; }
.mf-sign img { width: 84px; height: 84px; border-radius: 50%; border: 2px solid var(--ink); object-fit: cover; }
.mf-sign p { display: grid; gap: .2rem; font-size: 1.05rem; line-height: 1.3; }
.mf-sign .mono { font-size: .72rem; color: var(--muted); }
.photohero > img[src*="ban_manifeste"] { object-position: 80% 30%; }
@media (max-width: 880px) { .photohero > img[src*="ban_manifeste"] { aspect-ratio: 3 / 2; object-position: 82% 30%; } }
.f-manif { margin-top: 1rem; }
.f-manif a { color: var(--band-ink); text-decoration-color: var(--accent); }
/* Accueil : texte d'introduction et illustration côte à côte sur grand écran */
@media (min-width: 881px) {
  .sec:has(> .intro + .illus.wide) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
  .sec:has(> .intro + .illus.wide) > .intro { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; align-items: start; }
  .sec:has(> .intro + .illus.wide) > .intro h2 { font-size: clamp(2.4rem, 4.6vw, 4.6rem); }
  .sec:has(> .intro + .illus.wide) > .illus.wide { margin: 0; max-width: none; }
}

/* Adresse e-mail en image (pages légales) : pas de texte lisible par les robots collecteurs */
.mailimg { display: inline; height: 1.3em; width: auto; vertical-align: -.3em; }
:root[data-theme="dark"] .mailimg { filter: invert(1) brightness(1.1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mailimg { filter: invert(1) brightness(1.1); } }
.mailnote { font-size: 1.2rem; margin-top: .4rem; }
