/* atlas® · Generathon #3 · tokens repris d'atlas.css (design system du site) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; }
:root {
  --bg: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: rgba(0, 0, 0, .08);
  --noir: #0a0a0a;
  --bleu: #3b82f6;
  --rose: #ec4899;
  --violet: #845eee;
  --vert: #10b981;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --font-label: "Helvetica Neue", "Arial Black", "Helvetica", sans-serif;
  --r-lg: 18px;
  --r-xl: 24px;
  --gut: clamp(16px, 3vw, 48px);
  --glass: rgba(255, 255, 255, .55);
  --glass-line: rgba(255, 255, 255, .7);
  --shadow: 0 4px 18px rgba(17, 24, 39, .07), 0 0 0 .5px rgba(0, 0, 0, .03), inset 0 1px 0 rgba(255, 255, 255, .7);
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-text); color: var(--ink); line-height: 1.5; overflow-x: clip;
  background:
    radial-gradient(1100px 760px at 4% -2%, rgba(59, 130, 246, .30), transparent 58%),
    radial-gradient(1000px 720px at 99% 3%, rgba(132, 94, 238, .26), transparent 58%),
    radial-gradient(1000px 820px at 72% 100%, rgba(236, 72, 153, .14), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- Nav : la barre verre du site ---------- */
.nav {
  position: fixed; z-index: 50; top: 16px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 32px); max-width: 980px; height: 56px; padding: 0 10px 0 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: rgba(120, 120, 128, .42); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px;
  -webkit-backdrop-filter: saturate(180%) blur(28px); backdrop-filter: saturate(180%) blur(28px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .10), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.nav-logo { flex-shrink: 0; line-height: 0; }
.nav-logo img { height: 22px; width: auto; aspect-ratio: 1406 / 471; }
.nav-links { position: relative; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
/* Sur petit écran les liens défilent : fondu à droite pour l'indiquer. */
.nav-links.scrolls {
  --fl: 18px; --fr: 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent);
}
.nav-links.scrolls.start { --fl: 0px; }
.nav-links.scrolls.end { --fr: 0px; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  flex: none; padding: 10px 12px; border-radius: 12px; text-decoration: none;
  font-family: var(--font-label); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: rgba(255, 255, 255, .78); transition: color .2s, background-color .2s;
}
.nav-links a:hover, .nav-links a.on { color: #fff; background: rgba(255, 255, 255, .16); }

main { width: 100%; max-width: 2400px; margin: 0 auto; padding: 0 var(--gut) 96px; }

/* ---------- En-tête ---------- */
/* Même espace au-dessus (sous le menu, 16 + 56 px) et en dessous (jusqu'au titre 01). */
.hero { --hero-gap: clamp(44px, 6vw, 96px); padding: calc(72px + var(--hero-gap)) 0 var(--hero-gap); text-align: center; }
.hero + .sec { padding-top: 0; }
.hero h1 {
  font-family: var(--font-label); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em;
  font-size: clamp(30px, 5.2vw, 76px); line-height: .98; max-width: 22ch;
  margin: -.13em auto 0; /* retire l'air que la police laisse au-dessus des capitales */
}
.hero-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; margin-top: 22px; }
.hero-meta { font-family: var(--font-label); font-weight: 700; font-size: clamp(14px, 1.3vw, 17px); letter-spacing: .02em; }
.hero-meta i { font-style: normal; color: var(--ink-3); margin: 0 4px; }
.count {
  font-family: var(--font-label); font-weight: 800; font-size: 13px; letter-spacing: .06em;
  padding: 8px 12px; border-radius: 10px; background: var(--noir); color: #fff;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; text-decoration: none;
  font-family: var(--font-label); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--noir); color: #fff; border-color: var(--noir); }

/* ---------- Sections ---------- */
.sec { padding-top: clamp(40px, 6vw, 80px); scroll-margin-top: 80px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: clamp(18px, 2.4vw, 28px); }
.sec-n { font-family: var(--font-label); font-weight: 800; font-size: 13px; color: var(--ink-3); letter-spacing: .06em; }
.sec-head h2 { font-family: var(--font-label); font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2.6vw, 38px); line-height: 1.05; }
.car-ctl { display: flex; gap: 8px; margin-left: auto; align-self: center; }
.car-a {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: background-color .2s, opacity .2s;
}
.car-a svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.car-a:hover { background: #fff; }
.car-a:disabled { opacity: .35; cursor: default; background: var(--glass); }
.car-a:focus-visible { outline: 2px solid var(--bleu); outline-offset: 2px; }

.card {
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--r-xl); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(16px) saturate(185%); backdrop-filter: blur(16px) saturate(185%);
  padding: clamp(16px, 1.8vw, 24px);
}
.card h4 {
  font-family: var(--font-label); font-weight: 800; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 10px;
}
.card p + p { margin-top: 10px; }
.card p { font-size: 15px; }
.card-wide { margin-top: 14px; }
.card-flush { padding: 0; overflow: hidden; }
.big { font-family: var(--font-label); font-weight: 700; font-size: clamp(17px, 1.7vw, 23px) !important; line-height: 1.3; }
.lu { font-size: 13px !important; color: var(--ink-2); }
/* Avant de vous inscrire : 3 points courts, un filet dégradé à gauche de chacun. */
.avant { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 32px; }
.avant li { padding-left: 16px; border-left: 2px solid var(--violet); border-image: linear-gradient(var(--bleu), var(--violet), var(--rose)) 1; }
.avant b { display: block; font-family: var(--font-label); font-weight: 800; font-size: 17px; margin-bottom: 4px; }
.avant span { display: block; font-size: 14.5px; color: var(--ink-2); }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
/* Une valeur forte par carte, le détail en dessous. */
.f-big {
  font-family: var(--font-label); font-weight: 800; font-size: clamp(30px, 2.8vw, 44px) !important;
  line-height: 1; letter-spacing: -.02em; color: var(--ink);
}
.card .f-big + p { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); }
.prog, .duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }

/* Objectif + les 2 tracks : un seul bloc sombre, les halos du site en fond. Chaque track mène à ses idées. */
.brief {
  margin-top: 14px; padding: clamp(20px, 2.6vw, 36px); border-radius: 28px; color: #fff;
  background:
    radial-gradient(720px 400px at 0% 0%, rgba(59, 130, 246, .40), transparent 62%),
    radial-gradient(660px 400px at 100% 0%, rgba(132, 94, 238, .36), transparent 62%),
    radial-gradient(760px 440px at 60% 120%, rgba(236, 72, 153, .24), transparent 62%),
    var(--noir);
  box-shadow: 0 12px 40px rgba(17, 24, 39, .16);
}
.brief h4 {
  font-family: var(--font-label); font-weight: 800; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255, 255, 255, .55); margin-bottom: 12px;
}
.brief-q { font-family: var(--font-label); font-weight: 800; font-size: clamp(22px, 2.4vw, 36px); line-height: 1.15; letter-spacing: -.01em; max-width: 36ch; }
.brief-by { margin-top: 14px; font-size: 14.5px; color: rgba(255, 255, 255, .62); }
.brief-by b { color: #fff; font-weight: 600; }
.brief-tracks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: clamp(22px, 2.6vw, 32px); }
.track {
  display: flex; flex-direction: column; padding: clamp(16px, 1.8vw, 24px); border-radius: 20px; text-decoration: none;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background-color .2s, border-color .2s;
}
.track:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .24); }
.track:focus-visible { outline: 2px solid var(--bleu); outline-offset: 2px; }
.track-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
/* Pastille claire : la caméra 🎥 est sombre, elle disparaîtrait sur le noir. */
.t-e { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: rgba(255, 255, 255, .92); font-size: 24px; line-height: 1; }
.t-f {
  font-family: var(--font-label); font-weight: 700; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .85);
}
.track h3 { font-family: var(--font-label); font-weight: 800; text-transform: uppercase; font-size: clamp(20px, 2vw, 30px); line-height: 1.05; margin: 16px 0 10px; }
.track p { font-size: 15px; color: rgba(255, 255, 255, .72); }
.t-go {
  margin-top: auto; padding-top: 18px; font-family: var(--font-label); font-weight: 700; font-size: 11px;
  letter-spacing: .06em; text-transform: uppercase; color: #fff;
}

.prog ul { list-style: none; }
.prog li { display: grid; grid-template-columns: 26px 128px minmax(0, 1fr); gap: 4px 8px; align-items: baseline; padding: 7px 0; border-top: 1px solid var(--line); font-size: 15px; }
.prog li:first-child { border-top: 0; }
.p-h { font-family: var(--font-label); font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; }
.prog li.flag .p-h, .prog li.flag .p-t { color: var(--violet); font-weight: 700; }
.prog li.flag .p-e { position: relative; }
.prog li.flag .p-e::after { content: ""; position: absolute; left: -12px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--violet); }

.duo { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
/* Colonnes de lecture : chaque nom suit le précédent, pas de trou quand une bio est plus longue. */
.jury { list-style: none; column-count: 2; column-gap: 28px; }
.jury li { display: flex; align-items: center; gap: 12px; padding: 7px 0; break-inside: avoid; font-size: 14px; line-height: 1.35; }
.jury b { display: block; font-weight: 700; font-size: 15px; }
.jury small { display: block; color: var(--ink-2); font-size: 13px; margin-top: 2px; }
.j-av {
  flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--font-label); font-weight: 800; font-size: 12.5px; letter-spacing: .02em; color: #fff;
  background: linear-gradient(135deg, var(--bleu), var(--violet));
}
.jury li:nth-child(3n+2) .j-av { background: linear-gradient(135deg, var(--violet), var(--rose)); }
.jury li:nth-child(3n) .j-av { background: linear-gradient(135deg, var(--rose), var(--bleu)); }
.jury-h { margin-top: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.spons { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.spons b {
  font-family: var(--font-label); font-weight: 800; font-size: 15px; letter-spacing: .02em; text-transform: uppercase;
  padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .75); border: 1px solid var(--glass-line); box-shadow: var(--shadow);
}
.card .tbc {
  display: inline-block; font-family: var(--font-label); font-weight: 700; font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-3); padding: 8px 12px; border-radius: 12px; border: 1px dashed rgba(0, 0, 0, .16);
}

/* ---------- Encadré Claude ---------- */
.claude {
  margin-top: 14px; padding: clamp(14px, 1.6vw, 20px) clamp(16px, 1.8vw, 24px);
  border-radius: var(--r-lg); background: rgba(132, 94, 238, .09); border: 1px solid rgba(132, 94, 238, .28);
  box-shadow: inset 4px 0 0 var(--violet); font-size: 15px;
}
.claude b { color: var(--violet); font-family: var(--font-label); }
.claude ol, .claude ul { margin: 8px 0 0 20px; }
.claude li + li { margin-top: 6px; }

/* ---------- Équipe ---------- */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 14px; align-items: stretch; }
.mate {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--r-xl); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(16px) saturate(185%); backdrop-filter: blur(16px) saturate(185%);
}
.av {
  flex: none; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center;
  font-family: var(--font-label); font-weight: 800; font-size: 20px; color: #fff;
  background: linear-gradient(135deg, var(--bleu), var(--violet));
}
.mate:nth-child(2) .av { background: linear-gradient(135deg, var(--violet), var(--rose)); }
.mate:nth-child(3) .av { background: linear-gradient(135deg, var(--rose), var(--bleu)); }
.mate b { display: block; font-family: var(--font-label); font-weight: 800; font-size: 18px; text-transform: uppercase; }
.mate small { color: var(--ink-2); font-size: 13px; }
.team .btn { justify-content: center; }

/* ---------- Étapes ---------- */
.steps { width: 100%; border-collapse: collapse; font-size: 15px; }
.steps th {
  text-align: left; padding: 14px 18px; font-family: var(--font-label); font-weight: 800; font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); background: rgba(255, 255, 255, .5);
}
.steps td { padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: top; }
.st-d { font-family: var(--font-label); font-weight: 700; font-size: 13px; white-space: nowrap; }
.st-n { font-weight: 700; }
.st-l { color: var(--ink-2); }
.st-l .st-line2 { display: block; margin-top: 8px; }
.st-done td { opacity: .55; }
.st-now td { background: rgba(59, 130, 246, .07); }
.st-s { width: 1%; white-space: nowrap; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 999px;
  font-family: var(--font-label); font-weight: 700; font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase;
}
.pill-done { background: rgba(16, 185, 129, .14); color: #047857; }
.pill-now { background: var(--bleu); color: #fff; }
.pill-now::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.6s ease-in-out infinite; }
.pill-next { background: rgba(0, 0, 0, .05); color: var(--ink-2); }
@keyframes pulse { 50% { opacity: .25; } }

/* ---------- Idées ---------- */
.idx { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.idx a {
  display: inline-flex; gap: 10px; align-items: baseline; padding: 10px 16px; border-radius: 14px; text-decoration: none;
  font-size: 17px; font-weight: 600; background: rgba(255, 255, 255, .6); border: 1px solid var(--glass-line);
  transition: background-color .2s, color .2s;
}
.idx a:hover { background: #fff; }
.idx b { font-family: var(--font-label); font-size: 12px; color: var(--ink-3); }
.idx a.on { background: var(--noir); border-color: var(--noir); color: #fff; }
.idx a.on b { color: rgba(255, 255, 255, .5); }
/* 04 et 05 : une idée à la fois, on coulisse de l'une à l'autre. La piste va jusqu'aux bords de l'écran :
   l'idée voisine dépasse un peu, signe qu'on peut glisser. Marges négatives = l'ombre des cartes n'est pas coupée. */
.ideas {
  position: relative; display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; scroll-margin-top: 84px;
  margin: -12px calc(var(--gut) * -1) -32px; padding: 12px var(--gut) 32px;
}
.ideas::-webkit-scrollbar { display: none; }
.idea {
  flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always;
  display: grid; grid-template-columns: minmax(300px, 1fr) minmax(0, 2fr); grid-template-rows: 1fr auto; grid-template-areas: "txt mb" "meta meta";
  gap: clamp(14px, 1.6vw, 22px) clamp(16px, 2vw, 28px);
  padding: clamp(14px, 1.6vw, 22px); scroll-margin-top: 84px;
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: 28px; box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(16px) saturate(185%); backdrop-filter: blur(16px) saturate(185%);
}
.idea-txt { grid-area: txt; padding: 6px 4px; min-width: 0; }
.idea-head { display: flex; align-items: center; gap: 10px; }
.idea-num { font-family: var(--font-label); font-weight: 800; font-size: 13px; color: var(--ink-3); letter-spacing: .06em; }
.chip {
  font-family: var(--font-label); font-weight: 700; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 8px; background: rgba(0, 0, 0, .06);
}
.idea-title { font-family: var(--font-label); font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.02; margin: 10px 0 12px; }
.idea-product { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.idea-product span, .idea-twist span, .idea-meta dt {
  font-family: var(--font-label); font-weight: 800; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3);
}
.idea-pitch { font-size: 15.5px; }
.idea-twist { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--noir); color: #fff; }
.idea-twist span { color: var(--rose); }
.idea-twist p { font-size: 15px; font-weight: 600; margin-top: 4px; }
.idea-meta {
  grid-area: meta; display: grid; grid-template-columns: 1.3fr 1.3fr 1fr; gap: 10px 28px;
  padding: 14px 4px 2px; border-top: 1px solid var(--line);
}
.idea-meta dd { font-size: 14px; color: var(--ink-2); margin-top: 2px; }

/* Moodboard : 1 grande + 4, au format cinéma. Il s'étire à la hauteur du texte s'il est plus court. */
.mb {
  grid-area: mb; align-self: stretch; min-height: clamp(200px, 17vw, 330px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px;
}
.mb-t { position: relative; overflow: hidden; border-radius: 12px; min-height: 0; background: #e9e9ee; }
.mb-hero { grid-column: span 2; grid-row: span 2; border-radius: 16px; }
.mb-t img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.25, .46, .45, .94); }
.mb-t:hover img { transform: scale(1.04); }
.mb-t:focus-visible { outline: 2px solid var(--bleu); outline-offset: 2px; }

/* ---------- Visionneuse (flou jamais animé : Safari) ---------- */
.lb { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(10, 10, 10, .97); padding: 56px 64px; }
.lb[hidden] { display: none; }
.lb figure { max-width: 100%; max-height: 100%; display: grid; gap: 12px; justify-items: center; }
.lb img { max-width: min(1600px, 100%); max-height: calc(100vh - 140px); max-height: calc(100svh - 140px); border-radius: 12px; object-fit: contain; }
.lb figcaption { color: rgba(255, 255, 255, .8); font-family: var(--font-label); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.lb-x, .lb-a { position: absolute; color: #fff; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .12); font-size: 26px; line-height: 1; display: grid; place-items: center; }
.lb-x { top: 14px; right: 14px; }
.lb-a { top: 50%; margin-top: -22px; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-x:hover, .lb-a:hover { background: rgba(255, 255, 255, .22); }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team .btn { grid-column: 1 / -1; }
}
@media (max-width: 1100px) {
  .idea { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "txt" "mb" "meta"; align-content: start; }
  .mb { min-height: 0; aspect-ratio: 32 / 9; }
}
@media (max-width: 860px) {
  .prog, .duo, .brief-tracks, .avant { grid-template-columns: minmax(0, 1fr); }
  .ideas { gap: 10px; }
  .idea { flex-basis: calc(100% - 14px); }
  .team { grid-template-columns: minmax(0, 1fr); }
  /* Étapes : chaque ligne devient une carte */
  .steps thead { display: none; }
  .steps, .steps tbody, .steps tr, .steps td { display: block; width: 100%; }
  .steps tr { position: relative; padding: 14px 16px; border-top: 1px solid var(--line); }
  .steps tr:first-child { border-top: 0; }
  .steps td { padding: 0; border: 0; }
  .st-n { margin-top: 4px; padding-right: 0; }
  .st-l { margin-top: 2px; }
  .st-s { position: absolute; top: 12px; right: 14px; width: auto !important; }
  .st-now td { background: none; }
  .st-now { background: rgba(59, 130, 246, .07); }
}
@media (max-width: 640px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .jury { column-count: 1; }
  .nav { padding: 0 6px 0 16px; gap: 8px; }
  .nav-links a { padding: 10px 9px; }
  .mb { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; aspect-ratio: auto; gap: 6px; }
  .mb-t { aspect-ratio: 16 / 9; }
  .mb-hero { grid-row: auto; }
  .idea-meta { grid-template-columns: minmax(0, 1fr); }
  .car-ctl { display: none; }
  /* L'index tient sur une ligne qui défile ; l'idée affichée y reste visible. */
  .idx {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1) 14px; padding: 2px var(--gut);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gut), #000 calc(100% - var(--gut)), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 var(--gut), #000 calc(100% - var(--gut)), transparent);
  }
  .idx::-webkit-scrollbar { display: none; }
  .idx a { flex: none; font-size: 15px; padding: 9px 13px; }
  .lb { padding: 56px 8px 72px; }
  .lb-a { top: auto; bottom: 12px; margin-top: 0; }
  .lb-prev { left: calc(50% - 52px); }
  .lb-next { right: calc(50% - 52px); }
  .prog li { grid-template-columns: 24px 74px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pill-now::before { animation: none; }
  .mb-t img { transition: none; }
}
