/* =========================================================
   MOTION STUDIO — Direction "RÉGIE"
   Maquette : fond ivoire studio, moniteurs noirs, vert = signal
   ========================================================= */

:root {
  --paper: #F3F1EA;
  --paper-2: #E9E6DC;
  --paper-3: #DEDACE;
  --ink: #0F100D;
  --ink-2: #34362F;
  --mute: #74766D;
  --line: rgba(15, 16, 13, .14);
  --line-strong: rgba(15, 16, 13, .9);
  --monitor: #0A0B09;
  --monitor-2: #16180F;
  --on-dark: #EDEBE3;
  --on-dark-mute: #8E9086;
  --line-dark: rgba(237, 235, 227, .14);

  --green: #00D400;
  --green-ink: #008A00;
  --red: #FF3B2F;
  --amber: #FFC21A;

  --f-display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: clamp(18px, 4vw, 56px);
  --max: 1440px;
  --section: clamp(96px, 11vw, 168px);
  --radius: 3px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* grain papier très léger */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--green); color: var(--ink); }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typo ---------- */
.display {
  font-family: var(--f-display);
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: .92;
}
.h2 {
  font-family: var(--f-display);
  font-stretch: 112%;
  font-weight: 750;
  font-size: clamp(2.1rem, 4.6vw, 4.4rem);
  line-height: .98;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.green { color: var(--green-ink); }

/* ---------- Clap de section (slate) ---------- */
.slate {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-strong);
  margin-bottom: clamp(36px, 5vw, 64px);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}
.slate__sc { padding: 3px 8px; background: var(--ink); color: var(--paper); }
.slate__title { font: inherit; letter-spacing: inherit; margin: 0; text-wrap: balance; }
.slate__tc { color: var(--mute); font-variant-numeric: tabular-nums; }
.on-dark .slate { border-color: rgba(237, 235, 227, .7); }
.on-dark .slate__sc { background: var(--on-dark); color: var(--ink); }
.on-dark .slate__tc { color: var(--on-dark-mute); }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; gap: 14px;
  padding: 17px 24px;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bg);
  border-radius: var(--radius);
  font-weight: 600; font-size: 16px; line-height: 1;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn .arr { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn--go { --bg: var(--green); --fg: var(--ink); }
.btn--go:hover { --bg: var(--ink); --fg: var(--green); }
.btn--line { --bg: transparent; --fg: var(--ink); border-color: var(--line-strong); }
.btn--line:hover { --bg: var(--ink); --fg: var(--paper); }
.on-dark .btn--line { --fg: var(--on-dark); border-color: rgba(237,235,227,.5); }
.on-dark .btn--line:hover { --bg: var(--on-dark); --fg: var(--ink); }
.btn .num { font-family: var(--f-mono); font-weight: 500; letter-spacing: .02em; }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.dot--red { background: var(--red); }
.blink { animation: blink 1.2s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .15; } }

/* =========================================================
   NAV — barre de régie flottante
   ========================================================= */
.nav {
  position: fixed; z-index: 50;
  top: 12px; left: 0; right: 0;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.nav__bar {
  pointer-events: auto;
  max-width: calc(var(--max) - 2 * var(--gutter));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: 60px;
  padding: 0 8px 0 20px;
  background: rgba(10, 11, 9, .92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: var(--on-dark);
  border-radius: 6px;
}
.nav__logo img { height: 22px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 4px; font-size: 15px; }
.nav__links > a, .nav__drop > a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 4px; color: #C9C7BE;
  transition: color .2s, background .2s;
}
.nav__links > a:hover, .nav__drop:hover > a { color: #fff; background: rgba(255,255,255,.07); }
.nav__drop { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 50%;
  width: 300px; padding: 8px;
  background: var(--monitor); border: 1px solid var(--line-dark); border-radius: 6px;
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.nav__menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__menu a {
  display: grid; grid-template-columns: 34px 1fr; align-items: center;
  padding: 12px; border-radius: 4px; color: #D9D7CF; font-size: 15px;
}
.nav__menu a span { font-family: var(--f-mono); font-size: 11px; color: var(--on-dark-mute); }
.nav__menu a:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav__menu a:hover span { color: var(--green); }
.nav__right { display: flex; align-items: center; gap: 14px; }
.nav__status { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark-mute); font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.nav__cta { padding: 13px 18px; font-size: 14px; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 4px; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--on-dark); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__burger span:nth-child(1) { top: 17px; }
.nav__burger span:nth-child(2) { top: 25px; }
.nav--open .nav__burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav--open .nav__burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (min-width: 901px) { .nav__panel { display: none; } }
.nav__panel {
  pointer-events: auto;
  max-width: calc(var(--max) - 2 * var(--gutter));
  margin: 8px auto 0;
  padding: 18px 20px 22px;
  background: var(--monitor); color: var(--on-dark); border-radius: 6px;
}
.nav__panel a { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: 22px; }
.nav__panel a.sub { font-family: var(--f-body); font-weight: 500; font-size: 16px; color: #BDBBB2; padding-left: 16px; }
.nav__panel .btn { width: 100%; justify-content: center; margin-top: 18px; border-bottom: 0; font-family: var(--f-body); font-size: 16px; }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding-top: calc(72px + clamp(48px, 7vw, 104px)); padding-bottom: clamp(64px, 8vw, 120px); }
.hero__meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  padding-bottom: 14px; margin-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta b { color: var(--ink); font-weight: 500; }
.tc { font-variant-numeric: tabular-nums; }

.hero__head { margin-bottom: clamp(40px, 5vw, 72px); }
.hero h1 { font-size: clamp(2.1rem, 5.3vw, 5.1rem); text-transform: uppercase; hyphens: none; overflow-wrap: break-word; }
.hero h1 .thin { font-weight: 300; }
.hero h1 .live-tag::after {
  content: "LIVE";
  display: inline-block; vertical-align: middle;
  margin-left: .12em; padding: .14em .22em .1em;
  background: var(--green); color: var(--ink);
  font-size: .2em; letter-spacing: .02em; line-height: 1;
  font-family: var(--f-mono); font-weight: 700; font-stretch: 100%;
  transform: translateY(-.9em);
}
.hero__aside { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-top: clamp(28px, 3.5vw, 48px); }
.hero__aside p { color: var(--ink-2); font-size: clamp(17px, 1.4vw, 20px); max-width: 52ch; text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Multiview ---------- */
.mv {
  background: var(--monitor);
  border-radius: 6px;
  padding: 6px;
  color: var(--on-dark);
  box-shadow: 0 40px 80px -40px rgba(15,16,13,.55);
}
.mv__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 6px; }
.mv__pgm { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border-radius: 3px; outline: 3px solid var(--red); outline-offset: -3px; }
.mv__layer { position: absolute; inset: 0; transition: opacity .28s linear; }
.mv__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mv__layer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .6s; }
.mv__layer iframe.is-ready { opacity: 1; }
.mv__layer img { width: 100%; height: 100%; object-fit: cover; }
.mv__layer[hidden] { display: block !important; opacity: 0; pointer-events: none; }
.mv__overlay { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.mv__chip {
  position: absolute; top: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 9px; background: rgba(0,0,0,.6); border-radius: 2px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}
.mv__chip--l { left: 14px; }
.mv__chip--r { right: 14px; }
.mv__chip--pgm { background: var(--red); color: #fff; font-weight: 700; }
/* zone de sécurité titre */
.mv__safe { position: absolute; inset: 10% 10%; border: 1px dashed rgba(255,255,255,.0); transition: border-color .4s; }
.mv:hover .mv__safe { border-color: rgba(255,255,255,.22); }
.mv__cross { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; transform: translate(-50%, -50%); opacity: 0; transition: opacity .4s; }
.mv__cross::before, .mv__cross::after { content: ""; position: absolute; background: rgba(255,255,255,.5); }
.mv__cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.mv__cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.mv:hover .mv__cross { opacity: 1; }

/* Lower third */
.l3 { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0; }
.l3__top {
  background: var(--green); color: var(--ink);
  padding: 6px 12px 5px; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.l3__main {
  background: var(--paper); color: var(--ink);
  padding: 10px 16px 11px; font-family: var(--f-display); font-stretch: 112%; font-weight: 750; font-size: clamp(15px, 1.6vw, 22px); letter-spacing: -.01em; line-height: 1.1;
}
.l3__sub { background: var(--ink); color: var(--on-dark); padding: 6px 16px; font-size: 13px; }
.mv .l3 { position: absolute; left: 5%; bottom: 8%; }
.l3 > * { clip-path: inset(0 100% 0 0); transition: clip-path .7s var(--ease); }
.l3.in > * { clip-path: inset(0 0 0 0); }
.l3.in > *:nth-child(2) { transition-delay: .12s; }
.l3.in > *:nth-child(3) { transition-delay: .24s; }

.mv__side { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 6px; }
.mv__cam {
  position: relative; overflow: hidden; background: #000; border-radius: 3px; text-align: left;
  outline: 2px solid transparent; outline-offset: -2px; transition: outline-color .2s;
}
.mv__cam img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .3s, transform .6s var(--ease); }
.mv__cam:hover { outline-color: var(--green); }
.mv__cam:hover img { opacity: 1; transform: scale(1.04); }
.mv__cam .mv__label {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; gap: 8px;
  padding: 6px 8px; background: linear-gradient(transparent, rgba(0,0,0,.75));
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
}
.mv__cam .pvw { color: var(--green); opacity: 0; transition: opacity .2s; }
.mv__cam:hover .pvw { opacity: 1; }

.mv__bus {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px;
  padding: 10px 8px 4px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-mute);
}
.mv__keys { display: flex; align-items: center; gap: 6px; }
.mv__key {
  width: 38px; height: 30px; border-radius: 3px;
  background: #22241D; color: #9C9E93; font-family: var(--f-mono); font-size: 12px; font-weight: 700;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.5);
  transition: background .15s, color .15s;
}
.mv__key:hover { background: #2E3127; color: #fff; }
.mv__key.is-pgm { background: var(--red); color: #fff; box-shadow: 0 0 18px rgba(255,59,47,.55), inset 0 -2px 0 rgba(0,0,0,.25); }

/* =========================================================
   STATS — vumètres
   ========================================================= */
.stats { border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 28px clamp(16px, 2vw, 28px) 30px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__ch { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--mute); margin-bottom: 18px; display: flex; justify-content: space-between; }
.stat__num { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: clamp(2.6rem, 5vw, 4.8rem); line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat__num sup { font-size: .42em; vertical-align: top; position: relative; top: .15em; color: var(--green-ink); margin-left: .05em; }
.stat__label { margin-top: 10px; color: var(--ink-2); }
.vu {
  position: relative; height: 8px; margin-top: 22px;
  background: repeating-linear-gradient(90deg, var(--paper-3) 0 calc(6.25% - 2px), transparent calc(6.25% - 2px) 6.25%);
}
.vu::after {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(6.25% - 2px), var(--paper) calc(6.25% - 2px) 6.25%),
    linear-gradient(90deg, var(--green) 0 68%, var(--amber) 68% 87%, var(--red) 87%);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.4s var(--ease);
}
.in .vu::after { clip-path: inset(0 calc(var(--off, .3) * 100%) 0 0); animation: vu 1.6s steps(1) 1.4s infinite; }
@keyframes vu {
  0% { clip-path: inset(0 calc(var(--off, .3) * 100%) 0 0); }
  20% { clip-path: inset(0 calc((var(--off, .3) - .07) * 100%) 0 0); }
  45% { clip-path: inset(0 calc((var(--off, .3) + .06) * 100%) 0 0); }
  70% { clip-path: inset(0 calc((var(--off, .3) - .12) * 100%) 0 0); }
  85% { clip-path: inset(0 calc(var(--off, .3) * 100%) 0 0); }
}

/* =========================================================
   SERVICES — pistes de montage
   ========================================================= */
.tracks__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 32px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.tracks__head p { color: var(--ink-2); }
.tracks { border-top: 1px solid var(--line-strong); }
.track {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 64px minmax(0, 1.2fr) minmax(0, 1fr) 56px;
  align-items: center; gap: clamp(16px, 2.5vw, 40px);
  padding: clamp(22px, 2.6vw, 34px) 0;
  border-bottom: 1px solid var(--line);
  transition: color .35s var(--ease);
}
.track::before {
  content: ""; position: absolute; inset: 0 calc(-1 * var(--gutter)); z-index: -1;
  background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .55s var(--ease);
}
.track::after { /* tête de lecture */
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--red);
  opacity: 0; transform: translateX(0);
}
.track:hover { color: var(--paper); }
.track:hover::before { transform: scaleX(1); }
.track:hover::after { opacity: 1; animation: playhead 1.1s var(--ease) forwards; }
@keyframes playhead { from { left: 0; } to { left: 100%; opacity: 0; } }
.track__id {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 30px; border: 1px solid currentColor; border-radius: 2px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 700;
}
.track:hover .track__id { background: var(--green); color: var(--ink); border-color: var(--green); }
.track__title { font-family: var(--f-display); font-stretch: 115%; font-weight: 750; font-size: clamp(1.5rem, 3vw, 2.7rem); line-height: 1; letter-spacing: -.03em; }
.track__desc { color: var(--ink-2); font-size: 15.5px; transition: color .35s; }
.track:hover .track__desc { color: #BEBCB3; }
.track__go { justify-self: end; font-size: 26px; transition: transform .35s var(--ease); }
.track:hover .track__go { transform: translateX(6px); color: var(--green); }

.track-preview {
  position: fixed; z-index: 40; top: 0; left: 0; pointer-events: none;
  width: 300px; aspect-ratio: 16 / 10;
  background: #000; padding: 4px; border-radius: 4px;
  opacity: 0; transform: translate(-50%, -50%) scale(.85);
  transition: opacity .25s var(--ease), transform .35s var(--ease);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
}
.track-preview.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.track-preview img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.track-preview.contain img { object-fit: contain; background: #fff; padding: 8px; }
.track-preview span { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 7px; background: var(--red); color: #fff; font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: .08em; }

/* =========================================================
   CONDUCTEUR — process
   ========================================================= */
.rundown { position: relative; }
.rundown__cols, .rundown__row {
  display: grid; grid-template-columns: 150px 220px minmax(0, 1fr) 150px 170px; gap: 24px; align-items: start;
}
.rundown__cols { padding: 0 0 12px; border-bottom: 1px solid var(--line-strong); font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.rundown__row { position: relative; padding: 30px 0; border-bottom: 1px solid var(--line); transition: background .3s; }
.rundown__row .tc { font-family: var(--f-mono); font-size: 13px; color: var(--mute); padding-top: 6px; }
.rundown__row h3 { font-family: var(--f-display); font-stretch: 115%; font-weight: 750; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1; letter-spacing: -.03em; }
.rundown__row h3 small { display: block; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; color: var(--mute); margin-bottom: 8px; font-stretch: 100%; }
.rundown__row p { color: var(--ink-2); padding-top: 4px; }
.rundown__row .dur, .rundown__row .out { font-family: var(--f-mono); font-size: 13px; padding-top: 6px; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 2px; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--mute); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--paper-3); }
.rundown__row.is-live { background: rgba(255, 59, 47, .06); }
.rundown__row.is-live .status { color: var(--red); border-color: var(--red); }
.rundown__row.is-live .status::before { background: var(--red); animation: blink 1s steps(2, jump-none) infinite; }
.rundown__row.is-done .status { color: var(--green-ink); border-color: rgba(0,138,0,.4); }
.rundown__row.is-done .status::before { background: var(--green); }
.rundown__head { position: absolute; left: 0; right: 0; height: 2px; background: var(--red); top: 0; pointer-events: none; z-index: 2; box-shadow: 0 0 12px rgba(255,59,47,.5); }
.rundown__head::before { content: "▶"; position: absolute; left: -2px; top: -9px; color: var(--red); font-size: 13px; }

/* =========================================================
   AGENCE + vertical
   ========================================================= */
.agency { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: clamp(40px, 7vw, 120px); align-items: center; }
.agency .h2 { margin-bottom: 30px; }
.agency .lead { margin-bottom: 22px; color: var(--ink); }
.agency__body { color: var(--ink-2); max-width: 60ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.chips li { padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 2px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.chips li:nth-child(odd) { background: var(--ink); color: var(--paper); }

/* Moniteur générique */
.monitor { position: relative; background: var(--monitor); padding: 6px; border-radius: 6px; color: var(--on-dark); }
.monitor__screen { position: relative; overflow: hidden; background: #000; border-radius: 3px; }
.monitor__screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.monitor__bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 6px 3px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-mute); }
.monitor__bar b { color: var(--on-dark); font-weight: 500; }
.rec { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; background: rgba(0,0,0,.55); font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: #fff; }
/* repères de cadrage */
.marks::before, .marks::after { content: ""; position: absolute; z-index: 2; width: 18px; height: 18px; pointer-events: none; }
.marks::before { left: 10px; top: 10px; border-left: 2px solid rgba(255,255,255,.8); border-top: 2px solid rgba(255,255,255,.8); }
.marks::after { right: 10px; bottom: 10px; border-right: 2px solid rgba(255,255,255,.8); border-bottom: 2px solid rgba(255,255,255,.8); }
.agency__monitor { justify-self: center; width: 100%; max-width: 340px; position: relative; }
.agency__monitor .l3 { position: absolute; left: -36px; bottom: 70px; z-index: 3; }
.loading { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: #666; text-transform: uppercase; background: repeating-linear-gradient(90deg, #111 0 12.5%, #151613 12.5% 25%); }

/* =========================================================
   CÉRÉMONIES — section régie sombre
   ========================================================= */
.on-dark { background: var(--monitor); color: var(--on-dark); }
.ceremony .monitor { background: var(--monitor-2); }
.ceremony__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.ceremony__grid p { color: #BDBBB2; }
.ceremony .monitor .l3 { position: absolute; left: 5%; bottom: 12%; z-index: 3; }
.cg { display: inline-block; min-width: 12ch; }
.cg.swap { animation: cgswap .5s var(--ease); }
@keyframes cgswap { 0% { clip-path: inset(0 0 0 0); } 45% { clip-path: inset(0 100% 0 0); } 55% { clip-path: inset(0 100% 0 0); } 100% { clip-path: inset(0 0 0 0); } }

/* =========================================================
   PELLICULE — galerie
   ========================================================= */
.film__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.film__ctrl { display: flex; gap: 8px; }
.film__ctrl button { width: 52px; height: 52px; border: 1px solid var(--line-strong); border-radius: 3px; font-size: 20px; transition: background .2s, color .2s; }
.film__ctrl button:hover { background: var(--ink); color: var(--paper); }
.film {
  position: relative; background: var(--monitor);
  padding: 30px 0;
  --hole: radial-gradient(circle at center, var(--paper) 0 0) ;
}
.film::before, .film::after {
  content: ""; position: absolute; left: 0; right: 0; height: 12px; z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 14px, var(--paper-2) 14px 26px, transparent 26px 34px);
  -webkit-mask: linear-gradient(#000, #000); mask: linear-gradient(#000, #000);
}
.film::before { top: 9px; }
.film::after { bottom: 9px; }
.film__track {
  display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); cursor: grab;
}
.film__track::-webkit-scrollbar { display: none; }
.frame { flex: 0 0 clamp(260px, 30vw, 440px); scroll-snap-align: start; color: var(--on-dark); text-align: left; }
.frame__img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #111; }
.frame__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.25) contrast(1.05); transition: filter .5s var(--ease), transform .8s var(--ease); }
.frame:hover .frame__img img, .frame:focus-visible .frame__img img { filter: none; transform: scale(1.03); }
.frame__meta { display: flex; justify-content: space-between; gap: 8px; padding: 10px 2px 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--on-dark-mute); text-transform: uppercase; }
.frame__meta b { color: var(--amber); font-weight: 500; }

.lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 1400px); max-height: 92vh; color: var(--on-dark); }
.lightbox::backdrop { background: rgba(5,6,4,.92); }
.lightbox img { max-height: 82vh; width: auto; margin-inline: auto; }
.lightbox__bar { display: flex; justify-content: space-between; gap: 16px; padding-top: 12px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.lightbox__bar button { color: var(--green); font-family: var(--f-mono); letter-spacing: .08em; }

/* =========================================================
   AVIS — interviews
   ========================================================= */
.quotes { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); }
.quotes__side .h2 { margin-bottom: 36px; }
.quotes__nav { display: flex; align-items: center; gap: 16px; font-family: var(--f-mono); font-size: 13px; }
.quotes__nav button { width: 52px; height: 52px; border: 1px solid var(--line-strong); border-radius: 3px; font-size: 20px; transition: background .2s, color .2s; }
.quotes__nav button:hover { background: var(--ink); color: var(--paper); }
.quotes__count { font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.stars { display: flex; gap: 4px; margin-bottom: 28px; }
.stars i { width: 12px; height: 12px; background: var(--green); }
.quotes__stage { position: relative; min-height: 360px; }
.quote { position: absolute; inset: 0 0 auto 0; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .5s var(--ease), transform .6s var(--ease), visibility .5s; }
.quote.is-on { position: relative; opacity: 1; visibility: visible; transform: none; }
.quote blockquote {
  font-family: var(--f-display); font-stretch: 100%; font-weight: 500;
  font-size: clamp(1.5rem, 2.9vw, 2.7rem); line-height: 1.16; letter-spacing: -.02em; text-wrap: pretty;
  margin-bottom: 38px;
}
.quote .l3__main { background: var(--ink); color: var(--paper); }
.quote .l3__sub { background: var(--paper-3); color: var(--ink); }
.quote blockquote::before { content: "« "; color: var(--green-ink); }
.quote blockquote::after { content: " »"; color: var(--green-ink); }

/* =========================================================
   TICKER — logos
   ========================================================= */
.ticker { display: flex; align-items: stretch; background: var(--monitor); color: var(--on-dark); overflow: hidden; }
.ticker__label {
  flex: none; display: flex; align-items: center; gap: 10px; z-index: 2;
  padding: 0 22px; background: var(--green); color: var(--ink);
  font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.ticker__label .dot { background: var(--ink); }
.ticker__title { font: inherit; letter-spacing: inherit; margin: 0; }
.ticker__view { overflow: hidden; flex: 1; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker__track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: flex; align-items: center; gap: 48px; height: 104px; padding-right: 48px; }
.ticker__item img { box-sizing: content-box; height: 40px; width: 130px; padding: 12px 20px; background: #fff; border-radius: 3px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .85; transition: opacity .3s, filter .3s; }
.ticker__item img:hover { opacity: 1; filter: none; }
.ticker__item .sep { color: var(--green); font-family: var(--f-mono); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* =========================================================
   VILLES — tableau des départs
   ========================================================= */
.board { font-family: var(--f-mono); }
.board__cols, .board__row { display: grid; grid-template-columns: 110px 220px minmax(0, 1fr) 160px 40px; gap: 20px; align-items: center; }
.board__cols { padding-bottom: 12px; border-bottom: 1px solid var(--line-strong); font-size: 11px; letter-spacing: .1em; color: var(--mute); text-transform: uppercase; }
.board__row { padding: 18px 0; border-bottom: 1px solid var(--line); transition: background .25s, padding .3s var(--ease); }
.board__row:hover { background: var(--ink); color: var(--paper); padding-inline: 14px; }
.board__code { display: inline-flex; gap: 3px; }
.board__code span { display: inline-grid; place-items: center; width: 28px; height: 36px; background: var(--ink); color: var(--amber); font-weight: 700; font-size: 17px; border-radius: 2px; }
.board__row:hover .board__code span { background: #26281F; }
.board__city { font-family: var(--f-display); font-stretch: 115%; font-weight: 750; font-size: 1.5rem; letter-spacing: -.02em; }
.board__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.board__tags li { padding: 5px 9px; border: 1px solid var(--line-strong); border-radius: 2px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.board__row:hover .board__tags li { border-color: rgba(237,235,227,.35); color: #D2D0C7; }
.board__km { font-size: 13px; letter-spacing: .04em; font-variant-numeric: tabular-nums; line-height: 1.3; }
.board__km b { font-family: var(--f-display); font-stretch: 115%; font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.board__km i { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 2px 5px; margin-left: 4px; background: var(--ink); color: var(--paper); vertical-align: 3px; }
.board__km small { display: block; font-size: 11px; color: var(--mute); letter-spacing: .06em; }
.board__row:hover .board__km i { background: var(--green); color: var(--ink); }
.board__row:hover .board__km small { color: #8E9086; }
.board__km.base { color: var(--red); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.board__row:hover .board__km { color: var(--green); }
.board__go { text-align: right; font-size: 20px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.faq__side { position: sticky; top: 110px; }
.faq__side p { margin-top: 24px; color: var(--ink-2); }
.faq__side a { color: var(--green-ink); text-decoration: underline; text-underline-offset: 3px; }
.qa { border-top: 1px solid var(--line-strong); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 56px minmax(0, 1fr) 30px; gap: 16px; align-items: baseline;
  padding: 26px 0;
  font-family: var(--f-display); font-stretch: 108%; font-weight: 700; font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.2; letter-spacing: -.015em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { font: inherit; letter-spacing: inherit; margin: 0; }
.qa summary .n { font-family: var(--f-mono); font-size: 12px; font-weight: 500; color: var(--mute); letter-spacing: .06em; }
.qa summary .plus { position: relative; width: 18px; height: 18px; justify-self: end; align-self: center; transition: transform .35s var(--ease); }
.qa summary .plus::before, .qa summary .plus::after { content: ""; position: absolute; background: currentColor; }
.qa summary .plus::before { left: 0; right: 0; top: 8px; height: 2px; }
.qa summary .plus::after { top: 0; bottom: 0; left: 8px; width: 2px; }
.qa details[open] .plus { transform: rotate(45deg); color: var(--green-ink); }
.qa details p { padding: 0 46px 28px 72px; color: var(--ink-2); max-width: 64ch; }

/* =========================================================
   ON AIR — CTA
   ========================================================= */
.onair { text-align: center; position: relative; overflow: hidden; }
.onair__sign {
  display: inline-flex; align-items: center; gap: .35em;
  padding: .28em .55em .24em;
  border: 3px solid #2A2C25; border-radius: 10px;
  background: #151612; color: #34362E;
  font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: clamp(3rem, 11vw, 10rem); line-height: 1; letter-spacing: .02em;
  transition: color .2s, background .2s, border-color .2s, text-shadow .2s, box-shadow .2s;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.onair.lit .onair__sign {
  color: #FFE9E6; background: #C81E14; border-color: #FF5A4E;
  text-shadow: 0 0 18px rgba(255,120,100,.9), 0 0 50px rgba(255,59,47,.7);
  box-shadow: 0 0 80px rgba(255,59,47,.45), 0 0 220px rgba(255,59,47,.25), inset 0 0 40px rgba(0,0,0,.35);
  animation: flicker 1.1s linear 1;
}
@keyframes flicker { 0%, 12%, 16%, 30%, 34% { opacity: 1; } 14%, 32% { opacity: .35; } }
.onair h2 { max-width: 16ch; margin: 0 auto 22px; }
.onair p { max-width: 54ch; margin: 0 auto 38px; color: #BDBBB2; font-size: 18px; }
.onair .hero__ctas { justify-content: center; }

/* =========================================================
   FOOTER
   ========================================================= */
.bars { display: grid; grid-template-columns: repeat(7, 1fr); height: 10px; }
.bars i:nth-child(1) { background: #C0C0C0; } .bars i:nth-child(2) { background: #C0C000; }
.bars i:nth-child(3) { background: #00C0C0; } .bars i:nth-child(4) { background: #00C000; }
.bars i:nth-child(5) { background: #C000C0; } .bars i:nth-child(6) { background: #C00000; }
.bars i:nth-child(7) { background: #0000C0; }
.footer { padding-top: clamp(64px, 8vw, 110px); padding-bottom: 32px; }
.footer__cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: clamp(56px, 7vw, 96px); }
.footer .footer__h { margin: 0 0 18px; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-mute); }
.footer ul li { margin-bottom: 9px; }
.footer ul a { color: #D2D0C7; transition: color .2s; }
.footer ul a:hover { color: var(--green); }
.footer__contact p { font-family: var(--f-display); font-stretch: 108%; font-weight: 700; font-size: clamp(1.15rem, 1.7vw, 1.6rem); white-space: nowrap; line-height: 1.15; letter-spacing: -.02em; }
.footer__contact p a:hover { color: var(--green); }
.footer__contact .addr { white-space: normal; margin-top: 18px; font-family: var(--f-body); font-weight: 400; font-size: 15px; color: var(--on-dark-mute); letter-spacing: 0; }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-dark); border-radius: 3px; transition: border-color .2s; }
.footer__social a:hover { border-color: var(--green); }
.footer__social img { width: 16px; height: 16px; }
.footer__logo img { width: 150px; height: auto; opacity: .9; transition: opacity .2s; }
.footer__logo:hover img { opacity: 1; }
.footer__end { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; padding-top: 28px; border-top: 1px solid var(--line-dark); font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-mute); }
.footer__end a:hover { color: var(--on-dark); }

/* Barre d'appel mobile */
.callbar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 0 18px calc(env(safe-area-inset-bottom, 0px));
  height: calc(68px + env(safe-area-inset-bottom, 0px));
  align-items: center; justify-content: space-between;
  background: var(--monitor); color: var(--on-dark);
  font-family: var(--f-mono); font-size: 13px; font-weight: 700; letter-spacing: .1em;
}
.callbar .go { padding: 12px 16px; background: var(--green); color: var(--ink); border-radius: 3px; }

/* =========================================================
   Apparitions
   ========================================================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.wipe { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease); }
.wipe.in { clip-path: inset(-100px -100px -120px -100px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal, .wipe { opacity: 1; transform: none; clip-path: none; }
  .l3 > * { clip-path: none; }
  .ticker__track { animation: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav__status { display: none; }
  .rundown__cols { display: none; }
  .rundown__row { grid-template-columns: 120px minmax(0, 1fr) auto; grid-template-areas: "tc title st" "tc text text" "tc dur dur"; row-gap: 12px; }
  .rundown__row .tc { grid-area: tc; }
  .rundown__row h3 { grid-area: title; }
  .rundown__row p { grid-area: text; }
  .rundown__row .dur { grid-area: dur; }
  .rundown__row .st { grid-area: st; }
  .board__cols, .board__row { grid-template-columns: 110px 170px minmax(0, 1fr) 140px 30px; }
}

@media (max-width: 900px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .tracks__head, .agency, .ceremony__grid, .quotes, .faq { grid-template-columns: minmax(0, 1fr); }
  .mv__grid { grid-template-columns: minmax(0, 1fr); }
  .mv__side { grid-template-rows: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mv__cam { aspect-ratio: 16 / 10; }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .track { grid-template-columns: 52px minmax(0, 1fr) 30px; }
  .track__desc { grid-column: 2 / 3; grid-row: 2; }
  .track__go { grid-column: 3; grid-row: 1; }
  .track-preview { display: none; }
  .agency__monitor { max-width: 300px; }
  .agency__monitor .l3 { left: -14px; }
  .faq__side { position: static; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__contact { grid-column: 1 / -1; }
  .callbar { display: flex; }
  .quotes__stage { min-height: 0; }
}

@media (max-width: 600px) {
  .hero__meta span:nth-child(2) { display: none; }
  .hero h1 .live-tag::after { display: none; }
  .mv .l3 { left: 4%; bottom: 6%; }
  .mv .l3__sub { display: none; }
  .mv__chip { top: 8px; font-size: 10px; padding: 4px 6px; }
  .mv__chip--l { left: 8px; } .mv__chip--r { right: 8px; }
  .mv__cam .mv__label span:last-child { display: none; }
  .mv__bus .lbl { display: none; }
  .stat { padding-inline: 14px; }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .rundown__row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "tc st" "title title" "text text" "dur dur"; }
  .board__cols { display: none; }
  .board__row { grid-template-columns: auto minmax(0, 1fr) auto; row-gap: 12px; column-gap: 14px; }
  .board__tags { grid-column: 1 / -1; grid-row: 2; }
  .board__km { grid-column: 3; grid-row: 1; }
  .board__go { display: none; }
  .board__code span { width: 24px; height: 32px; font-size: 15px; }
  .qa summary { grid-template-columns: 38px minmax(0, 1fr) 24px; }
  .qa details p { padding: 0 0 26px 54px; }
  .ticker__label { padding: 0 14px; font-size: 10px; }
  .ticker__label .txt-long { display: none; }
  .ticker__item { height: 84px; gap: 32px; padding-right: 32px; }
  .ticker__item img { height: 28px; width: 92px; padding: 10px 14px; }
  .footer__cols { grid-template-columns: 1fr; }
  .onair__sign { border-width: 2px; border-radius: 6px; }
}

/* =========================================================
   PAGES INTÉRIEURES
   ========================================================= */

/* Fil d’Ariane */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.crumbs a { color: var(--mute); transition: color .2s; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }
.crumbs .sep { color: var(--mute); opacity: .5; }

/* En-tête de page */
.phero { padding-top: calc(72px + clamp(40px, 6vw, 88px)); padding-bottom: clamp(56px, 7vw, 104px); }
.phero__kicker {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
  font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--green-ink);
}
.phero__kicker::before { content: ""; width: 24px; height: 2px; background: var(--green); flex: none; }
.phero__title {
  font-family: var(--f-display); font-stretch: 115%; font-weight: 800;
  font-size: clamp(2.3rem, 5.4vw, 5.2rem); line-height: .96; letter-spacing: -.035em;
  text-wrap: balance; max-width: 20ch;
}
.phero__title .green { color: var(--green-ink); }
.phero__media { margin-top: clamp(40px, 5vw, 72px); }
.phero .hero__aside { margin-top: clamp(26px, 3vw, 40px); }

/* En-tête de section : grand titre + texte */
.shead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 24px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.shead > p:last-child:not(.h2) { color: var(--ink-2); }
.on-dark .shead > p:last-child:not(.h2) { color: #BDBBB2; }
.shead--solo { grid-template-columns: minmax(0, 1fr); }

/* Image dans un cadre moniteur */
.shot { position: relative; background: var(--monitor); padding: 6px; border-radius: 6px; color: var(--on-dark); margin: 0; }
.shot img { width: 100%; aspect-ratio: var(--ar, 4 / 3); object-fit: cover; border-radius: 3px; display: block; }
.shot figcaption { display: flex; justify-content: space-between; gap: 10px; padding: 9px 6px 3px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-mute); }
.shot figcaption b { color: var(--on-dark); font-weight: 500; }
.monitor__screen .l3 { position: absolute; left: 5%; bottom: 9%; z-index: 3; max-width: 90%; }
.monitor__screen[style*="9/16"] .l3 { left: 4%; bottom: 7%; }
.monitor__screen[style*="9/16"] .l3__main { font-size: 15px; }
.monitor__screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shots { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 14px; }

/* Cellules (atouts, étapes courtes) */
.cells { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.cell { padding: 26px clamp(16px, 2vw, 30px) 32px; border-left: 1px solid var(--line); }
.cell:first-child { border-left: 0; padding-left: 0; }
@media (min-width: 901px) {
  .cells[style*="--cols:3"] .cell:nth-child(3n+1), .cells[style*="--cols:2"] .cell:nth-child(2n+1) { border-left: 0; padding-left: 0; }
  .cells[style*="--cols:3"] .cell:nth-child(n+4), .cells[style*="--cols:2"] .cell:nth-child(n+3) { border-top: 1px solid var(--line); }
  .on-dark .cells .cell:nth-child(n+4) { border-top-color: var(--line-dark); }
}
.cell__n { display: block; margin-bottom: 18px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--mute); }
.cell h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 750; font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 12px; }
.cell p { color: var(--ink-2); font-size: 15.5px; }
.on-dark .cells { border-color: rgba(237,235,227,.7); }
.on-dark .cell { border-color: var(--line-dark); }
.on-dark .cell p { color: #BDBBB2; }

/* Cartes avec étiquettes (cas d’usage) */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); border-top: 1px solid var(--line-strong); }
.card { display: flex; flex-direction: column; gap: 14px; padding: 30px clamp(18px, 2vw, 30px); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); margin-left: -1px; transition: background .3s; }
.card:hover { background: rgba(15,16,13,.03); }
.card__n { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--mute); }
.card h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 750; font-size: clamp(1.3rem, 1.9vw, 1.65rem); line-height: 1.05; letter-spacing: -.02em; }
.card p { color: var(--ink-2); font-size: 15.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.tags li { padding: 5px 9px; border: 1px solid var(--line-strong); border-radius: 2px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }

/* Texte + média */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split + .split { margin-top: clamp(64px, 8vw, 120px); }
.split .h2 { margin-bottom: 24px; }
.split__kicker { display: block; margin-bottom: 14px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--green-ink); }
.split h3.big { font-family: var(--f-display); font-stretch: 112%; font-weight: 750; font-size: clamp(1.7rem, 2.8vw, 2.6rem); line-height: 1; letter-spacing: -.03em; margin-bottom: 22px; }

/* Texte long */
.prose { max-width: 68ch; }
.prose p { color: var(--ink-2); font-size: clamp(16.5px, 1.25vw, 18px); margin-bottom: 1.1em; text-wrap: pretty; }
.prose p.lead { color: var(--ink); }
.prose h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 750; font-size: 1.45rem; letter-spacing: -.02em; margin: 1.8em 0 .6em; }
.prose strong { color: var(--ink); }
.prose a { color: var(--green-ink); text-decoration: underline; text-underline-offset: 3px; }
.on-dark .prose p { color: #BDBBB2; }

/* Liste à puces "régie" */
.checks { border-top: 1px solid var(--line-strong); }
.checks li { position: relative; padding: 15px 0 15px 38px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.checks li::before { content: "▸"; position: absolute; left: 4px; top: 15px; font-family: var(--f-mono); color: var(--green-ink); font-weight: 700; }
.checks li a { color: var(--green-ink); text-decoration: underline; text-underline-offset: 3px; }
.checks li b { color: var(--ink); font-weight: 600; }
.checks--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.on-dark .checks { border-color: rgba(237,235,227,.7); }
.on-dark .checks li { color: #D2D0C7; border-color: var(--line-dark); }
.on-dark .checks li::before { color: var(--green); }

/* Planche contact (galerie statique) */
.sheet { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 22px 14px; }
.sheet .frame { flex: none; color: var(--ink); cursor: zoom-in; }
.sheet .frame__img { border: 6px solid var(--monitor); border-radius: 4px; }
.sheet .frame__meta { color: var(--mute); }
.sheet .frame__meta b { color: var(--red); }

/* Étiquettes flight case (packs, formules) */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 16px; }
.case {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 38px clamp(20px, 2vw, 28px) 26px; border-radius: 6px; overflow: hidden;
  background: var(--ink); color: var(--on-dark);
}
.case::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: repeating-linear-gradient(-45deg, var(--amber) 0 12px, var(--ink) 12px 24px); }
.case__ref { display: flex; justify-content: space-between; gap: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--on-dark-mute); text-transform: uppercase; }
.case h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 750; font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.05; letter-spacing: -.02em; }
.case p { color: #BDBBB2; font-size: 15.5px; }
.case .checks { border-color: var(--line-dark); }
.case .checks li { color: #D2D0C7; border-color: var(--line-dark); padding: 9px 0 9px 30px; font-size: 15px; }
.case .checks li::before { top: 9px; left: 2px; }
.case .checks li::before { color: var(--green); }
.case .tags li { border-color: rgba(237,235,227,.3); color: #D2D0C7; }
.case__price { margin-top: auto; padding-top: 16px; border-top: 1px dashed rgba(237,235,227,.25); font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.5rem, 2.3vw, 2rem); letter-spacing: -.02em; line-height: 1.1; }
.case__price small { display: block; margin-top: 4px; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; color: var(--on-dark-mute); text-transform: uppercase; }
.case .btn { justify-content: center; }
.case--hl { outline: 2px solid var(--green); outline-offset: -2px; }
.case--hl::before { background: repeating-linear-gradient(-45deg, var(--green) 0 12px, var(--ink) 12px 24px); }

/* Catalogue matériel */
.kitnav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 44px); }
.kitnav button { padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 3px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; transition: background .2s, color .2s; }
.kitnav button:hover { background: var(--paper-2); }
.kitnav button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.kitgroup + .kitgroup { margin-top: clamp(40px, 5vw, 64px); }
.kitgroup[hidden] { display: none !important; }
.kitgroup__h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 12px; margin-bottom: 18px; border-top: 1px solid var(--line-strong); font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.kitgroup__h span { color: var(--mute); font-size: 11px; }
.kits { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.kit { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: border-color .2s, transform .3s var(--ease); }
.kit:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.kit__img { position: relative; aspect-ratio: 4 / 3; }
.kit__img img { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); object-fit: contain; }
.kit__body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; border-top: 1px dashed var(--line); }
.kit__ref { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; color: var(--mute); }
.kit h4 { margin: 0; font-family: var(--f-display); font-stretch: 108%; font-weight: 700; font-size: 1.08rem; line-height: 1.15; letter-spacing: -.01em; }
.kit p { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.kit__price { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-family: var(--f-mono); font-size: 13px; font-weight: 700; }
.kit__price span { font-size: 10.5px; font-weight: 500; color: var(--mute); letter-spacing: .06em; }

/* Grille de programmes TV */
.guide { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line-dark); border-radius: 4px; overflow: hidden; }
.slot { padding: 24px 22px 28px; border-left: 1px solid var(--line-dark); }
.slot:first-child { border-left: 0; }
.slot__time { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 5px 9px; background: #1E2019; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.slot h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 750; font-size: 1.4rem; letter-spacing: -.02em; margin-bottom: 10px; }
.slot p { color: #BDBBB2; font-size: 15.5px; }
.slot--live .slot__time { background: var(--red); color: #fff; }

/* Grille tarifaire */
.rates { border-top: 1px solid var(--line-strong); }
.rates li { display: flex; align-items: baseline; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.rates li .dots { flex: 1; border-bottom: 1px dotted var(--line-strong); transform: translateY(-4px); min-width: 20px; }
.rates li b { font-family: var(--f-mono); font-weight: 700; white-space: nowrap; }

/* Bloc "à télécharger" */
.docband { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: clamp(22px, 3vw, 34px); border: 1px dashed var(--line-strong); border-radius: 6px; }
.docband p { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: clamp(1.15rem, 1.8vw, 1.5rem); letter-spacing: -.015em; max-width: 34ch; }
.docband small { display: block; margin-top: 4px; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; color: var(--mute); text-transform: uppercase; }

/* Feuille de service (formulaire) */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.sheetform { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: clamp(22px, 3vw, 40px); }
.sheetform__head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding-bottom: 14px; margin-bottom: 28px; border-bottom: 2px solid var(--ink); font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.sheetform__head b { font-weight: 700; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > label, .field > .lbl { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.field input, .field select, .field textarea {
  width: 100%; padding: 8px 0 10px; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  background: transparent; color: var(--ink); font: inherit; font-size: 17px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--green-ink); box-shadow: 0 2px 0 var(--green); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.choices label { position: relative; cursor: pointer; }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices span { display: inline-block; padding: 9px 13px; border: 1px solid var(--line-strong); border-radius: 3px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; transition: background .2s, color .2s; }
.choices input:checked + span { background: var(--ink); color: var(--paper); }
.choices input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.sheetform__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; padding-top: 22px; border-top: 1px dashed var(--line); }
.sheetform__foot small { color: var(--mute); font-size: 13px; max-width: 46ch; }
.form-ok { margin-top: 18px; padding: 14px 16px; background: rgba(0,212,0,.1); border-left: 3px solid var(--green); font-size: 15px; }
.form-ok a { text-decoration: underline; }
.direct { display: flex; flex-direction: column; gap: 14px; }
.direct__card { padding: 24px; border-radius: 6px; background: var(--ink); color: var(--on-dark); }
.direct__card .lbl { display: block; margin-bottom: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-mute); }
.direct__card a.big { display: block; font-family: var(--f-display); font-stretch: 108%; font-weight: 750; font-size: clamp(1.3rem, 2vw, 1.75rem); letter-spacing: -.02em; line-height: 1.15; overflow-wrap: anywhere; }
.direct__card a.big:hover { color: var(--green); }
.direct__card p { color: #BDBBB2; font-size: 15px; margin-top: 8px; }
.direct__card--light { background: var(--paper-2); color: var(--ink); }
.direct__card--light p { color: var(--ink-2); }
.direct__card--light .lbl { color: var(--mute); }

/* Pied : 5 colonnes */
.footer__cols { grid-template-columns: 1.3fr repeat(4, 1fr); }

@media (max-width: 1100px) {
  .guide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slot:nth-child(3) { border-left: 0; }
  .slot:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .footer__cols { grid-template-columns: repeat(4, 1fr); }
  .footer__contact { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .shead, .split, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .split--rev > :first-child { order: 0; }
  .cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell:nth-child(odd) { border-left: 0; padding-left: 0; }
  .cell:nth-child(n+3) { border-top: 1px solid var(--line); }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checks--2 { grid-template-columns: minmax(0, 1fr); }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .cells, .shots, .fields, .guide { grid-template-columns: minmax(0, 1fr); }
  .cell { border-left: 0 !important; padding-left: 0 !important; }
  .cell + .cell { border-top: 1px solid var(--line); }
  .slot { border-left: 0 !important; }
  .slot + .slot { border-top: 1px solid var(--line-dark); }
  .card { padding-left: 0; padding-right: 0; border-left: 0; margin-left: 0; }
}
@media (max-width: 600px) {
  .sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .sheet .frame__meta span:last-child { display: none; }
}
