/*
  QuantBox : feuille de style commune
  Système : noir et blanc strict. Archivo en largeur étendue pour les titres, Archivo normal pour le texte,
  Geist Mono pour les étiquettes et les chiffres. Les bandes sombres portent la 3D, les bandes claires le texte.
*/

:root {
  --black: #0A0A0A;
  --black-soft: #141414;
  --white: #FFFFFF;
  --paper: #F2F2F1;
  --grey-line: #E0E0E0;
  --grey-text: #5C5C5C;
  --dark-line: #262626;
  --dark-text: #A3A3A3;

  --display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1760px;
  --gutter: clamp(32px, 4.5vw, 96px);
  --header-h: 68px;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Bandes de couleur ---------- */
.band-dark {
  --fg: var(--white);
  --fg-muted: var(--dark-text);
  --rule: var(--dark-line);
  --band: var(--black);
  --surface: var(--black-soft);
  --btn-bg: var(--white);
  --btn-fg: var(--black);
  background: var(--black);
  color: var(--white);
}
.band-light, .band-paper {
  --fg: var(--black);
  --fg-muted: var(--grey-text);
  --rule: var(--grey-line);
  --band: var(--white);
  --surface: var(--white);
  --btn-bg: var(--black);
  --btn-fg: var(--white);
  background: var(--white);
  color: var(--black);
}
.band-paper { --band: var(--paper); background: var(--paper); }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap {
    padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
    padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  }
}

/* Grain et halo des bandes sombres */
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.section { padding-block: clamp(72px, 10vw, 128px); }
.section-tight { padding-block: clamp(48px, 7vw, 88px); }

/* ---------- Typographie ---------- */
h1, h2, h3 { margin: 0; font-family: var(--display); color: var(--fg, inherit); text-wrap: balance; }
h1 {
  font-size: clamp(2.3rem, 5.2vw, 4.6rem);
  font-stretch: 125%;
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-stretch: 118%;
  font-weight: 760;
  line-height: 1.06;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 1.2rem;
  font-stretch: 110%;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.label {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.lead { font-size: 1.18rem; line-height: 1.55; color: var(--fg-muted); max-width: 36em; }
.muted { color: var(--fg-muted); }

.mark {
  background: var(--fg);
  color: var(--band);
  padding-inline: 0.1em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Boutons et liens ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  padding: 0.95em 1.4em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.btn:hover { opacity: 0.86; }
.btn:active { transform: translateY(1px); }
.btn-outline { background: transparent; color: var(--fg); border-color: var(--rule); }
.btn-outline:hover { opacity: 1; border-color: var(--fg); }
.btn-sm { font-size: 0.9rem; padding: 0.65em 1.05em; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: border-color 0.15s ease;
}
.link-arrow::after { content: "→"; font-family: var(--mono); transition: transform 0.15s ease; }
.link-arrow:hover { border-color: var(--fg); }
.link-arrow:hover::after { transform: translateX(3px); }

:focus-visible { outline: 2px solid var(--fg, #0a0a0a); outline-offset: 3px; border-radius: 4px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dark-line);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.brand-mark { width: 28px; height: 28px; flex: none; }
.brand-mark .bm-box { fill: none; stroke: currentColor; stroke-width: 2.6; }
.brand-mark .bm-tip, .brand-mark .bm-bar { fill: currentColor; }
.brand-mark .bm-bar-off { fill: currentColor; opacity: 0.28; }

.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav a:not(.btn) {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--dark-text);
  transition: color 0.15s ease;
}
.nav a:not(.btn):hover, .nav a:not(.btn)[aria-current="page"] { color: var(--white); }
.nav a:not(.btn)[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-open .nav-toggle .bars { background: transparent; }
.nav-open .nav-toggle .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px max(20px, env(safe-area-inset-right, 0px)) 24px max(20px, env(safe-area-inset-left, 0px));
    background: var(--black);
    border-bottom: 1px solid var(--dark-line);
  }
  .nav-open .nav { display: flex; }
  .nav a:not(.btn) { padding-block: 14px; border-bottom: 1px solid var(--dark-line); font-size: 1.05rem; }
  .nav a:not(.btn)[aria-current="page"] { text-decoration: none; }
  .nav .btn { margin-top: 18px; }
}

/* ---------- Héros (accueil) ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(38% 62% at 71% 36%, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035) 52%, transparent 74%),
    radial-gradient(34% 44% at 0% 100%, rgba(255, 255, 255, 0.045), transparent 70%);
}
.hero-word {
  position: absolute;
  left: 50%;
  bottom: -0.17em;
  transform: translateX(-50%);
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 15.5vw;
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085) 0%, rgba(255, 255, 255, 0.0) 78%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(18px, 4vh, 56px);
  min-height: min(calc(100svh - var(--header-h)), 1060px);
  padding-block: clamp(28px, 7vh, 112px);
}
.hero-head, .hero-body { position: relative; z-index: 2; width: min(47%, 820px); }
.hero-head { display: flex; flex-direction: column; gap: clamp(14px, 3vh, 28px); }
.hero-head .label { font-size: clamp(0.62rem, 0.78vw, 0.75rem); letter-spacing: 0.08em; }
.hero h1 {
  font-size: clamp(1.9rem, min(3.15vw, 6vh), 3.6rem);
  font-stretch: 116%;
  font-weight: 780;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.hero h1 .mark { padding-inline: 0.12em; margin-left: -0.06em; }
.hero-body { display: flex; flex-direction: column; gap: clamp(16px, 3.2vh, 30px); }
.hero-body .lead { max-width: 32em; font-size: clamp(0.98rem, min(1.2vw, 2.5vh), 1.18rem); }
.hero .facts { padding-top: clamp(14px, 2.4vh, 24px); }
.hero .facts dd { font-size: clamp(1.15rem, 2.6vh, 1.5rem); }
.hero .btn { font-size: clamp(0.92rem, 2.1vh, 1rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-actions .btn { padding-inline: 1.2em; }
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 48px;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.facts div { display: flex; flex-direction: column; gap: 2px; }
.facts dt { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); }
.facts dd { margin: 0; font-family: var(--display); font-stretch: 120%; font-weight: 800; font-size: 1.5rem; font-variant-numeric: tabular-nums; }

.hero-visual {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 53%;
}
.hero-visual .stage { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.hero-visual .stage canvas {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%);
  mask-image: linear-gradient(to right, transparent 0, #000 12%);
}

.hero-card {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 16px;
  border-radius: 12px;
  background: rgba(20, 20, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.hero-card p { font-family: var(--mono); font-size: 0.86rem; color: var(--white); font-variant-numeric: tabular-nums; }
.hero-card .label { font-size: 0.68rem; }
.hero-live { right: 5%; top: 9%; width: min(280px, 42%); }
.hero-live .cycle { display: block; height: 2px; background: rgba(255, 255, 255, 0.14); border-radius: 2px; overflow: hidden; }
.hero-live .cycle span { display: block; height: 100%; background: var(--white); transform-origin: left center; transform: scaleX(0); }
.hero-pop {
  right: 6%;
  top: calc(9% + 112px);
  width: min(280px, 42%);
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hero-pop.is-on { opacity: 1; transform: none; }
.hero-pop p { font-family: var(--body); font-size: 0.95rem; }
.hero-pop strong { font-family: var(--display); font-stretch: 115%; font-weight: 800; font-size: 1.15rem; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.hero-head > *, .hero-body > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-head > :nth-child(2) { animation-delay: 0.08s; }
.hero-body > :nth-child(1) { animation-delay: 0.2s; }
.hero-body > :nth-child(2) { animation-delay: 0.28s; }
.hero-body > :nth-child(3) { animation-delay: 0.36s; }
.hero-card.hero-live { animation: rise 0.9s 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@media (prefers-reduced-motion: reduce) {
  .hero-head > *, .hero-body > *, .hero-card.hero-live { animation: none; }
  .hero-pop { transition: none; }
}

@media (max-width: 1000px) {
  .hero-inner { min-height: 0; justify-content: flex-start; gap: 0; padding-block: 40px 56px; }
  .hero-head, .hero-body { width: 100%; }
  .hero-visual {
    position: relative;
    inset: auto;
    width: auto;
    height: min(64vh, 560px);
    margin-inline: calc(-1 * max(20px, env(safe-area-inset-left, 0px)));
    margin-block: 8px 20px;
  }
  .hero-visual .stage canvas {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%);
  }
  .hero-live { top: auto; right: auto; left: max(20px, env(safe-area-inset-left, 0px)); bottom: 4%; width: min(300px, calc(100% - 40px)); }
  .hero-pop { right: max(20px, env(safe-area-inset-right, 0px)); top: 6%; width: auto; }
  .hero-word { font-size: 22vw; bottom: auto; top: 46%; }
}
@media (min-width: 720px) and (max-width: 1000px) {
  .hero-visual { margin-inline: calc(-1 * max(var(--gutter), env(safe-area-inset-left, 0px))); }
}

/* ---------- Scène 3D ---------- */
.stage-wrap { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.92;
  max-width: 100%;
}
.stage canvas {
  position: absolute; inset: 0; width: 100% !important; height: 100% !important;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.stage.is-fallback::before {
  content: "Aperçu 3D indisponible sur cet appareil";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--fg-muted);
  border: 1px dashed var(--rule);
  border-radius: var(--radius);
}
.stage-status {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 1.5em;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
  font-variant-numeric: tabular-nums;
}
.stage-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fg);
  flex: none;
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .stage-status::before { animation: none; } }

/* ---------- Bande des lieux ---------- */
.venues-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 40px;
  padding-block: 26px;
}
.venue-list { display: flex; flex-wrap: wrap; gap: 8px 26px; list-style: none; }
.venue-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 650;
  font-size: 1.05rem;
}
.venue-list li::before { content: ""; width: 6px; height: 6px; background: currentColor; }
.border-y { border-block: 1px solid var(--rule); }

/* ---------- En-têtes de section ---------- */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 44em;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head .lead { font-size: 1.12rem; }
.section-head-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px 40px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head-row .section-head { margin-bottom: 0; }

/* ---------- Grilles ---------- */
.grid-3, .grid-2 {
  display: grid;
  gap: 0 clamp(24px, 4vw, 56px);
  list-style: none;
}
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cell {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-block: 26px 30px;
  border-top: 1px solid var(--rule);
  min-width: 0;
}
.cell p { color: var(--fg-muted); max-width: 32em; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Étapes avec jauge ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 3.5vw, 44px);
  list-style: none;
}
.steps.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.step p { color: var(--fg-muted); }
.gauge { display: flex; align-items: center; gap: 12px; }
.gauge svg { width: 46px; height: 22px; flex: none; }
.gauge .g-out { fill: none; stroke: var(--fg); stroke-width: 1.6; }
.gauge .g-tip { fill: var(--fg); }
.gauge .g-seg { fill: var(--rule); }
.gauge .g-seg.on { fill: var(--fg); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps, .steps.steps-3 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Bloc deux colonnes ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}
.split > * { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* Liste de lignes (libellé / explication) */
.rows { list-style: none; border-top: 1px solid var(--rule); }
.rows li {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 8px 32px;
  padding-block: 20px;
  border-bottom: 1px solid var(--rule);
}
.rows strong { font-family: var(--display); font-stretch: 110%; font-weight: 700; font-size: 1.05rem; }
.rows span { color: var(--fg-muted); }
@media (max-width: 560px) { .rows li { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Teaser borne (accueil) ---------- */
.feature-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.feature-band > * { min-width: 0; }
.spec-list { list-style: none; border-top: 1px solid var(--rule); }
.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px;
  border-bottom: 1px solid var(--rule);
}
.spec-list .k { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); }
.spec-list .v { font-weight: 600; text-align: right; }
@media (max-width: 900px) { .feature-band { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Bandeau d'appel à l'action ---------- */
.cta-band .cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
}
.cta-band .cta-copy { display: flex; flex-direction: column; gap: 14px; max-width: 36em; }

/* ---------- En-tête de page (pages internes) ---------- */
.page-head {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(72px, 10vw, 152px) clamp(56px, 7vw, 104px);
}
.page-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(46% 90% at 88% -10%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03) 55%, transparent 75%);
}
.page-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: 28px clamp(32px, 5vw, 96px);
  align-items: end;
}
.page-head > .wrap { position: relative; z-index: 1; }
.page-head-title { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.page-head h1 {
  font-size: clamp(2.4rem, 5vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.page-head .lead { max-width: 30em; }
.page-head-grid > *, .viewer-head > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.page-head-grid > :nth-child(2), .viewer-head > :nth-child(2) { animation-delay: 0.12s; }
@media (prefers-reduced-motion: reduce) { .page-head-grid > *, .viewer-head > * { animation: none; } }
@media (max-width: 900px) { .page-head-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Récit au scroll (fonctionnement) ---------- */
.story { position: relative; }
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
}
.story-visual { min-width: 0; }
.story-sticky {
  position: sticky;
  top: calc(var(--header-h) + 3vh);
  height: calc(100vh - var(--header-h) - 6vh);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.story-sticky .stage { aspect-ratio: auto; flex: 1; max-height: 640px; }
.story-steps { list-style: none; padding-block: 18vh 30vh; }
.story-step {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  opacity: 0.35;
  transition: opacity 0.35s ease;
}
.story-step.is-active { opacity: 1; }
.story-step h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-stretch: 118%; font-weight: 760; line-height: 1.1; }
.story-step p { color: var(--fg-muted); max-width: 30em; font-size: 1.08rem; }
.story-progress { display: flex; gap: 6px; }
.story-progress span { width: 22px; height: 3px; background: var(--rule); transition: background 0.3s ease; }
.story-progress span.on { background: var(--fg); }
@media (prefers-reduced-motion: reduce) { .story-step { transition: none; } }
@media (max-width: 900px) {
  .story-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .story-visual { position: sticky; top: var(--header-h); z-index: 2; background: var(--black); margin-inline: calc(-1 * max(20px, env(safe-area-inset-left, 0px))); padding-inline: max(20px, env(safe-area-inset-left, 0px)); }
  .story-sticky { position: static; height: auto; padding-block: 8px 12px; }
  .story-sticky .stage { aspect-ratio: 1 / 0.8; flex: none; max-height: 44vh; }
  .story-steps { padding-block: 8vh 24vh; }
  .story-step { min-height: 52vh; }
}

/* ---------- Cartes établissements ---------- */
.venue-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; }
.venue-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  min-width: 0;
}
.venue-card h3 { font-size: 1.45rem; font-stretch: 118%; font-weight: 760; }
.venue-card p { color: var(--fg-muted); }
@media (max-width: 960px) { .venue-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .venue-cards { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Visionneuse (la borne) ---------- */
.viewer-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.viewer-stage { aspect-ratio: 16 / 8.5; margin-top: clamp(24px, 4vw, 48px); }
.viewer-hint {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
}
@media (max-width: 720px) { .viewer-stage { aspect-ratio: 1 / 1.05; } }

/* ---------- FAQ ---------- */
.faq-group + .faq-group { margin-top: clamp(48px, 6vw, 72px); }
.faq-group > .label { display: block; margin-bottom: 14px; }
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 22px;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-stretch: 108%;
  font-weight: 650;
  font-size: 1.12rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--mono);
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--fg-muted); padding-bottom: 24px; max-width: 42em; }

/* ---------- Formulaire ---------- */
.form-card {
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: clamp(22px, 4vw, 40px);
  background: var(--surface);
}
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--fg-muted); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--fg);
  background: var(--band);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 0.8em 0.95em;
  width: 100%;
  min-width: 0;
  transition: border-color 0.15s ease;
}
.band-light .field input, .band-light .field select, .band-light .field textarea { background: #FAFAFA; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--fg); box-shadow: 0 0 0 1px var(--fg); }
.field.invalid input, .field.invalid select { border-color: var(--fg); border-style: dashed; }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; color: var(--fg-muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: #0a0a0a; flex: none; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 4px; }
.form-status { font-size: 0.92rem; color: var(--fg-muted); }
.form-status.is-error { color: var(--fg); font-weight: 600; }
@media (max-width: 560px) { .form { grid-template-columns: minmax(0, 1fr); } }

.contact-aside { display: flex; flex-direction: column; gap: 22px; }
.contact-aside .rows li { grid-template-columns: minmax(0, 1fr); gap: 4px; }

/* ---------- Pages de texte (mentions légales) ---------- */
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.prose h2 { font-size: 1.45rem; margin-top: 24px; }
.prose p, .prose li { color: var(--fg-muted); }
.prose ul { padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.todo { font-family: var(--mono); font-size: 0.9em; background: var(--paper); padding: 0.1em 0.4em; border-radius: 4px; color: var(--black); }

/* ---------- Pied de page ---------- */
.site-footer { padding-block: 64px 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}
.footer-grid > div { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.footer-grid p { color: var(--fg-muted); max-width: 26em; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { text-decoration: none; color: var(--fg-muted); }
.footer-links a:hover { color: var(--fg); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  font-size: 0.88rem;
  color: var(--fg-muted);
}
.footer-bottom a { color: var(--fg-muted); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-grid > div:first-child { grid-column: 1 / -1; } }
.footer-links li { color: var(--fg-muted); }
.page-head .viewer-hint { margin-top: 18px; }

/* =========================================================
   Nos bornes : visionneuse avec choix du modèle
   ========================================================= */
.viewer {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  margin-top: clamp(32px, 5vw, 64px);
}
.viewer-main { min-width: 0; }
.viewer .viewer-stage { aspect-ratio: 16 / 11; margin-top: 0; }
.viewer-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}
.viewer-panel h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.model-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--rule);
  border-radius: 12px;
}
.model-tabs button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 4px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--fg-muted);
  font: inherit;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.model-tabs button strong { font-family: var(--display); font-stretch: 120%; font-weight: 800; font-size: 1.35rem; line-height: 1.1; color: inherit; }
.model-tabs button span { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; }
.model-tabs button:hover { color: var(--fg); }
.model-tabs button[aria-selected="true"] { background: var(--fg); color: var(--band); }
.model-tabs button:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid var(--rule);
  color: var(--fg-muted);
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; }
.badge.is-now { background: var(--fg); color: var(--band); border-color: var(--fg); }
.badge.is-now::before { background: currentColor; }

.spec-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--rule); }
.spec-dl div { display: flex; flex-direction: column; gap: 2px; padding-block: 14px; border-bottom: 1px solid var(--rule); }
.spec-dl div:nth-child(odd) { padding-right: 12px; }
.spec-dl dt { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); }
.spec-dl dd { margin: 0; font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
@media (max-width: 960px) { .viewer { grid-template-columns: minmax(0, 1fr); } .viewer .viewer-stage { aspect-ratio: 1 / 0.95; } }

/* Tableaux (comparatif, électricité) */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--rule); }
.data-table { width: 100%; min-width: 680px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { text-align: left; padding: 16px 14px 16px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.data-table thead th { font-family: var(--display); font-stretch: 115%; font-weight: 760; font-size: 1.1rem; padding-block: 20px; }
.data-table tbody th { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); font-weight: 500; width: 22%; }
.data-table td { color: var(--fg); }
.data-table td.span { color: var(--fg-muted); }
.data-table .badge { font-size: 0.68rem; }
.table-note { margin-top: 16px; font-size: 0.9rem; color: var(--fg-muted); max-width: 60em; }

/* Batterie */
.battery-band { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.battery-band > * { min-width: 0; }
.battery-figure { display: flex; justify-content: center; }
.battery-figure svg { width: min(100%, 420px); height: auto; }
.bf-body { fill: #141414; stroke: #3a3a3a; stroke-width: 1.5; }
.bf-cable { fill: none; stroke: #5a5a5a; stroke-width: 7; stroke-linecap: round; }
.bf-tip { fill: #8a8a8a; }
.bf-led { fill: #ffffff; }
.bf-text { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; fill: #8a8a8a; }
.bf-big { font-family: var(--display); font-stretch: 120%; font-weight: 800; font-size: 34px; fill: #ffffff; }
@media (max-width: 900px) { .battery-band { grid-template-columns: minmax(0, 1fr); } }

/* =========================================================
   Tarifs
   ========================================================= */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; align-items: stretch; }
.plan {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--surface);
  min-width: 0;
}
.plan.is-featured {
  --fg: var(--white);
  --fg-muted: var(--dark-text);
  --rule: var(--dark-line);
  --band: var(--black);
  --btn-bg: var(--white);
  --btn-fg: var(--black);
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.plan-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.plan h3 { font-size: 1.5rem; font-stretch: 118%; font-weight: 780; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.plan-price strong { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(2.6rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan-price span { color: var(--fg-muted); font-size: 0.95rem; }
.plan > p { color: var(--fg-muted); }
.checks { list-style: none; display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid var(--rule); flex: 1; }
.checks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: 0.98rem; }
.checks li::before {
  content: "";
  width: 14px; height: 8px;
  margin-top: 6px;
  border-left: 2px solid var(--fg);
  border-bottom: 2px solid var(--fg);
  transform: rotate(-45deg) translate(1px, -1px);
}
.plan .btn { align-self: stretch; }
@media (max-width: 1000px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 640px; } }

/* Paliers de commission */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); list-style: none; }
.tier { display: flex; flex-direction: column; gap: 10px; padding-block: 26px 30px; border-top: 1px solid var(--rule); min-width: 0; }
.tier .gauge svg { width: 56px; height: 26px; }
.tier-rate { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(3rem, 6vw, 5rem); line-height: 0.95; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.tier p { color: var(--fg-muted); }
.tier strong { color: var(--fg); }
@media (max-width: 720px) { .tiers { grid-template-columns: minmax(0, 1fr); } }

/* Simulateur */
.sim { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: stretch; }
.sim > * { min-width: 0; }
.sim-controls { display: flex; flex-direction: column; gap: 30px; }
.control { display: flex; flex-direction: column; gap: 12px; border: 0; margin: 0; padding: 0; min-width: 0; }
.control-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.control-head label, .control legend { font-weight: 650; font-size: 1rem; padding: 0; }
.control output { font-family: var(--display); font-stretch: 118%; font-weight: 800; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.control input[type="range"] { width: 100%; accent-color: #ffffff; height: 28px; }
.range-scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.72rem; color: var(--fg-muted); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  color: var(--fg-muted);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.seg input:checked + span { background: var(--fg); color: var(--band); border-color: var(--fg); }
.seg input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 2px; }
.seg label:hover span { border-color: var(--fg); }

.sim-result {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}
.sim-big { display: flex; flex-direction: column; gap: 6px; }
.sim-big strong { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(3rem, 6vw, 5.2rem); line-height: 0.95; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.sim-big span { color: var(--fg-muted); }
.sim-lines { list-style: none; border-top: 1px solid var(--rule); }
.sim-lines li { display: flex; justify-content: space-between; gap: 16px; padding-block: 13px; border-bottom: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.sim-lines li span:first-child { color: var(--fg-muted); }
.sim-lines li span:last-child { font-weight: 650; text-align: right; }
.sim-lines li.total span { color: var(--fg); font-weight: 750; }
.sim-note { font-size: 0.86rem; color: var(--fg-muted); }
@media (max-width: 900px) { .sim { grid-template-columns: minmax(0, 1fr); } }

/* Prix clients */
.price-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); list-style: none; }
.price-cell { display: flex; flex-direction: column; gap: 8px; padding-block: 24px 28px; border-top: 2px solid var(--fg); min-width: 0; }
.price-cell strong { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.price-cell span.what { font-weight: 650; }
.price-cell p { color: var(--fg-muted); font-size: 0.95rem; }
@media (max-width: 900px) { .price-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .price-row { grid-template-columns: minmax(0, 1fr); } }
.examples { margin-top: clamp(40px, 5vw, 64px); }
.examples .data-table { min-width: 520px; }

/* Électricité */
.elec-hero { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; margin-bottom: clamp(40px, 5vw, 64px); }
.elec-hero > * { min-width: 0; }
.elec-figure { display: flex; flex-direction: column; gap: 8px; }
.elec-figure strong { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(4rem, 9vw, 7.5rem); line-height: 0.9; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.elec-figure span { color: var(--fg-muted); max-width: 26em; }
@media (max-width: 900px) { .elec-hero { grid-template-columns: minmax(0, 1fr); } }

/* Teaser tarifs (accueil) */
.numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); list-style: none; }
.numbers li { display: flex; flex-direction: column; gap: 8px; padding-block: 26px 30px; border-top: 2px solid var(--fg); min-width: 0; }
.numbers strong { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(2.8rem, 5.5vw, 4.8rem); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.numbers span { color: var(--fg-muted); max-width: 22em; }
@media (max-width: 760px) { .numbers { grid-template-columns: minmax(0, 1fr); } }

/* En-tête compact (page Nos bornes) : la visionneuse reste visible sans défiler */
.page-head-compact { padding-block: clamp(40px, 5vw, 72px) clamp(48px, 6vw, 88px); }
.page-head-compact h1 { font-size: clamp(2.1rem, 3.6vw, 3.6rem); }
.page-head-compact .viewer { margin-top: clamp(20px, 3vw, 40px); }
.battery-figure svg { width: min(100%, 520px); }
.data-table.compact { min-width: 0; }
.data-table.compact tbody th { width: 55%; }
.viewer .viewer-stage { aspect-ratio: auto; height: clamp(420px, 68vh, 720px); }
@media (max-width: 960px) { .viewer .viewer-stage { height: auto; aspect-ratio: 1 / 1.05; } }

/* Héros : en dessous de 1000 px, on revient à la mise en page empilée */
@media (max-width: 1000px) {
  .hero-inner { min-height: 0; }
  .hero h1 { font-size: clamp(2rem, 7.5vw, 3rem); }
  .hero-body .lead { font-size: 1.05rem; }
  .hero-head .label { font-size: 0.7rem; }
}

/* =========================================================
   Menu déroulant
   ========================================================= */
.nav { gap: clamp(18px, 2vw, 30px); }
.nav-item { position: relative; display: flex; align-items: center; height: var(--header-h); }
.nav .has-sub::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}
.subnav {
  position: absolute;
  top: calc(100% - 6px);
  left: -14px;
  display: none;
  flex-direction: column;
  min-width: 250px;
  padding: 8px;
  background: #111111;
  border: 1px solid var(--dark-line);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.nav-item:hover .subnav, .nav-item:focus-within .subnav { display: flex; }
.nav .subnav a:not(.btn) { padding: 10px 12px; border-radius: 8px; text-decoration: none; }
.nav .subnav a:not(.btn):hover { background: rgba(255, 255, 255, 0.07); }
@media (max-width: 1100px) {
  .nav { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav-item { height: auto; flex-direction: column; align-items: stretch; }
  .nav .has-sub::after { display: none; }
  .subnav { position: static; display: flex; min-width: 0; padding: 0 0 0 16px; background: none; border: 0; border-radius: 0; box-shadow: none; }
  .nav .subnav a:not(.btn) { padding: 11px 0; border-radius: 0; font-size: 0.96rem; }
  .nav .subnav a:not(.btn):first-child { display: none; }
}

/* Paliers : 4 colonnes + premier mois */
.first-month {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 8px 28px;
  padding: clamp(20px, 3vw, 32px);
  margin-bottom: clamp(32px, 4vw, 48px);
  background: var(--black);
  color: var(--white);
  border-radius: 16px;
}
.first-month .label { color: var(--dark-text); }
.first-month strong { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -0.04em; }
.first-month p { color: var(--dark-text); max-width: 34em; }
@media (max-width: 720px) { .first-month { grid-template-columns: minmax(0, 1fr); } }
.tiers-label { margin-bottom: 14px; }
.tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tier-rate { font-size: clamp(2.6rem, 4.4vw, 4.4rem); }
@media (max-width: 1000px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tiers { grid-template-columns: minmax(0, 1fr); } }

/* Pied de page à 4 colonnes */
.footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* Liens par secteur (accueil) */
.sector-links { list-style: none; border-top: 1px solid var(--rule); }
.sector-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: clamp(18px, 2.4vw, 28px);
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  font-family: var(--display);
  font-stretch: 118%;
  font-weight: 760;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  transition: padding-left 0.2s ease;
}
.sector-links a:hover { padding-left: 14px; }
.sector-links .arrow { font-family: var(--mono); font-weight: 400; font-size: 0.7em; color: var(--fg-muted); }
@media (prefers-reduced-motion: reduce) { .sector-links a { transition: none; } }
.venue-card .link-arrow { align-self: flex-start; margin-top: 4px; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; }
.post-card { min-width: 0; }
.post-card > a {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--white);
  color: var(--black);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.post-card > a:hover { border-color: var(--black); transform: translateY(-2px); }
.post-card h3 { font-size: 1.3rem; font-stretch: 114%; line-height: 1.2; color: var(--black); }
.post-card p { color: var(--grey-text); flex: 1; }
.post-card .link-arrow { align-self: flex-start; border-color: var(--grey-line); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-family: var(--mono); font-size: 0.74rem; color: var(--grey-text); }
.post-card .badge { color: var(--grey-text); border-color: var(--grey-line); }
.post-card .badge::before { display: none; }
@media (max-width: 1000px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .post-card > a { transition: none; } }

.article-head { display: flex; flex-direction: column; gap: 20px; max-width: calc(860px + 2 * var(--gutter)); }
.article-head h1 { font-size: clamp(2rem, 3.6vw, 3.4rem); }
.article-head .label a { color: inherit; }
.article { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: 18px; font-size: 1.1rem; line-height: 1.7; }
.article h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-top: 22px; }
.article p, .article li { color: #2b2b2b; }
.article ul { padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
.article a { text-underline-offset: 3px; }
.article .table-wrap { margin-block: 6px; }
.article .data-table { font-size: 1rem; }
