

:root {
  --bg:          #0a0a0a;
  --surface:     #131313;
  --surface-hi:  #1c1c1c;   /* valeur du produit ; la v5 avait #1a1a1a */
  --line:        #262626;
  --line-strong: #3a3a3a;
  --line-ui:     #636363;

  --verre:
    linear-gradient(180deg, rgba(255,255,255,.038), rgba(255,255,255,.012) 38%, rgba(255,255,255,0) 72%),
    var(--surface);
  --verre-lisere: inset 0 1px 0 rgba(255,255,255,.07);
  --verre-ombre:  0 1px 2px rgba(0,0,0,.45), 0 10px 26px -14px rgba(0,0,0,.9);

  --text:   #f2f2f0;
  --text-2: #9a9a97;  /* 7,0:1 sur le fond — texte courant secondaire */
  --text-3: #858583;
  --text-4: #616160;  /* décoratif uniquement, ne doit jamais porter de sens */

  --accent:      #ededed;      /* 17,4:1 sur le fond */
  --accent-hi:   #ffffff;      /* survol, comme --color-accent-hover */
  --accent-ink:  #0a0a0a;      /* texte posé SUR l'accent */
  --accent-soft: rgba(255, 255, 255, .08);   /* = --color-accent-muted */
  --accent-line: rgba(255, 255, 255, .30);

  --alert: #ff4230;

  --f-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --f-titre: Spectral, 'Iowan Old Style', Georgia, serif;

  --r-md:  6px;
  --r-lg:  8px;
  --r-xl:  12px;
  --r-2xl: 16px;

  --max: 1152px;
  --colonne: 768px;
  --gutter: 20px;
}

@media (min-width: 720px) { :root { --gutter: 32px; } }   /* = sm:px-8 */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

html, body { overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--text);
  color-scheme: dark;
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
@media (min-width: 900px) { body { font-size: 18px; } }

img, svg { max-width: 100%; display: block; }

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
@media print { body::after { display: none; } }

a {
  color: var(--text);
  text-decoration-color: var(--accent-line);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color .16s ease;
}
a:hover { text-decoration-color: var(--accent); }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.colonne { max-width: var(--colonne); margin-inline: auto; }

main { flex: 1 0 auto; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 12px 18px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
}
.skip:focus { left: 0; }

h1, h2, h3, h4 {
  line-height: 1.08;
  letter-spacing: -.03em;
  text-wrap: balance;
}

h1, h2 {
  font-family: var(--f-titre);
  font-weight: 600;
}

h1 {
  font-size: clamp(2rem, 1.1rem + 3.7vw, 3.6rem);
  letter-spacing: -.022em;
  line-height: 1.06;
}

.h1-suite { display: block; }

h2 {
  font-size: clamp(1.42rem, 1.05rem + 1.65vw, 2.15rem);
  letter-spacing: -.015em;
  line-height: 1.14;
}

h3 {
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -.015em;
  line-height: 1.3;
}

p { text-wrap: pretty; }
p + p { margin-top: 1em; }

.lead {
  font-size: clamp(1.03rem, .96rem + .45vw, 1.28rem);
  line-height: 1.5;
  color: var(--text-2);
  max-width: 62ch;
}

.prose { max-width: 68ch; color: var(--text-2); }
.prose strong { color: var(--text); font-weight: 500; }
.prose a { color: var(--text); text-decoration-color: var(--accent-line); }

.mono {
  font-family: var(--f-mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}

.mono-sm { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .01em; color: var(--text-3); line-height: 1.65; }

.mark {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--accent-line);
  text-decoration-thickness: 2px;
  text-underline-offset: .14em;
  text-decoration-skip-ink: none;
}

.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.hdr-in {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
}
@media (min-width: 720px) { .hdr-in { gap: 16px; } }

.hdr .logo,
.hdr .hdr-cta,
.console > summary { position: relative; z-index: 2; }

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-decoration: none;
  line-height: 1;
  padding: 4px 2px;
  margin-right: auto;
}
.logo-mark {
  height: 21px;
  width: auto;
}
@media (min-width: 720px) { .logo-mark { height: 24px; } }
.logo-sub {
  font-family: var(--f-mono);
  font-size: .52rem;
  font-weight: 500;
  letter-spacing: .34em;
  color: var(--text-3);
  padding-left: 2px;
}
.ftr-about .logo-mark { height: 26px; }

.nav-large { display: none; }

@media (min-width: 1000px) {
  .console { display: none; }
  .nav-large {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
  }
  .nav-large a {
    padding: 7px 11px;
    font-family: var(--f-mono);
    font-size: .8125rem;
    letter-spacing: .01em;
    color: var(--text-2);
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: color .14s ease, background-color .14s ease;
  }
  .nav-large a:hover { color: var(--text); background: var(--surface-hi); }
  .nav-large a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .nav-large a[aria-current='page'] {
    color: var(--text);
    border-bottom-color: var(--accent-line);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-large a { transition: none; }
}

.console { margin-left: auto; }

.console > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--line-ui);
  color: var(--text);
  font-family: var(--f-mono);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .16s ease, border-color .16s ease;
}
.console > summary::-webkit-details-marker { display: none; }
.console > summary::marker { content: ''; }
.console > summary:hover { background: var(--surface-hi); border-color: var(--text-4); }
.console[open] > summary { background: var(--surface-hi); border-color: var(--accent-line); }

.console-glyph { width: 15px; height: 11px; position: relative; flex: none; }
.console-glyph::before {
  content: '';
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: .3;
  clip-path: polygon(27% 0, 73% 0, 100% 100%, 0 100%);
  transition: opacity .16s ease;
}
.console-glyph i {
  position: absolute;
  left: 50%; top: 54%;
  width: 4px; height: 4px;
  margin: -2px 0 0 -2px;
  background: var(--accent);
  transition: transform .16s ease;
}
.console > summary:hover .console-glyph::before,
.console[open] > summary .console-glyph::before { opacity: .55; }
.console > summary:hover .console-glyph i,
.console[open] > summary .console-glyph i { transform: translateY(-3px); }

.console-val-mini { display: none; }
@media (max-width: 599px) {
  .console-val { display: none; }
  .console-val-mini { display: inline; }
}

.console-chev {
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  flex: none;
  transition: transform .16s ease;
  color: var(--text-3);
}
.console[open] > summary .console-chev { transform: translateY(1px) rotate(-135deg); }

.console-panel {
  position: fixed;
  inset: 0;
  z-index: 1;                /* sous le logo / le témoin / le bouton */
  background: #060606;
  overflow-y: auto;
  overscroll-behavior: contain;
  perspective: 950px;
  display: grid;
  align-content: center;
  align-content: safe center;
  animation: console-fond .2s ease both;
}

@media (max-height: 600px) {
  .console-scene { padding-top: 76px; }
}
@keyframes console-fond { from { opacity: 0; } to { opacity: 1; } }

html:has(.console[open]) { overflow: hidden; }

.console-sol {
  position: absolute;
  left: 50%;
  bottom: -8vh;
  width: 300%;
  height: 68vh;
  transform: translateX(-50%) rotateX(70deg);
  transform-origin: 50% 100%;
  background:
    repeating-linear-gradient(90deg, var(--accent-line) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg,  var(--accent-line) 0 1px, transparent 1px 72px);
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .5) 46%, transparent 90%);
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .5) 46%, transparent 90%);
  opacity: .9;
  pointer-events: none;
}

.console-halo {
  position: absolute;
  left: 50%;
  bottom: -14vh;
  width: 140vw;
  height: 56vh;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 255, 255, .07), transparent 64%);
  pointer-events: none;
}

.console-balai {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 42vh;
  pointer-events: none;
  background: linear-gradient(to top, transparent, rgba(255, 255, 255, .11) 46%, transparent);
  animation: console-balai 1.15s cubic-bezier(.3, .5, .2, 1) both;
}
@keyframes console-balai {
  from { transform: translate3d(0, 40vh, 0); opacity: 0; }
  35%  { opacity: 1; }
  to   { transform: translate3d(0, -34vh, 0); opacity: 0; }
}

.console-scene {
  position: relative;
  width: 100%;
  padding: 20px var(--gutter) 128px;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .18s ease-out;
}

.console-tag {
  display: block;
  text-align: center;
  color: var(--text-3);
  margin-bottom: 22px;
}
.console-tag b { color: var(--accent); font-weight: 500; }

.plaques {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 792px;         /* 3 plaques par rang, puis 2 centrées */
  margin-inline: auto;
  transform-style: preserve-3d;
}
.plaques > li {
  display: flex;
  flex: 0 1 248px;
  position: relative;
  transform-style: preserve-3d;
}

.plaques > li::after {
  content: '';
  position: absolute;
  left: 6%; right: 6%;
  bottom: -13px;
  height: 13px;
  background: radial-gradient(ellipse at 50% 0, rgba(255, 255, 255, .22), transparent 72%);
  opacity: 0;
  transition: opacity .18s ease;
  pointer-events: none;
}
.plaques > li:has(.plaque:hover)::after,
.plaques > li:has(.plaque:focus-visible)::after { opacity: 1; }

.plaque {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
  padding: 18px 18px 20px;
  background-color: var(--surface-hi);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .022), transparent 62%);
  border: 1px solid var(--line-ui);
  text-decoration: none;
  transform: translateZ(0);
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}
.plaque:hover,
.plaque:focus-visible {
  transform: translateZ(46px);
  border-color: var(--accent);
}
.plaque-n {
  font-family: var(--f-mono);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
  transition: color .18s ease;
}
.plaque:hover .plaque-n,
.plaque:focus-visible .plaque-n { color: var(--accent); }

.plaque-nom {
  font-size: 1.06rem;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--text);
}
.plaque-txt { font-size: .92rem; line-height: 1.45; color: var(--text-2); }

.plaque[aria-current='page'] {
  border-color: var(--accent-line);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .05), transparent 70%);
  transform: translateZ(14px);
}
.plaque[aria-current='page'] .plaque-n { color: var(--accent); }

@keyframes plaque-in {
  from { opacity: 0; transform: translate3d(0, 14px, -60px); }
}
.console[open] .plaque { animation: plaque-in .34s cubic-bezier(.2, .7, .3, 1) backwards; }
.console[open] li:nth-child(1) .plaque { animation-delay: .10s; }
.console[open] li:nth-child(2) .plaque { animation-delay: .16s; }
.console[open] li:nth-child(3) .plaque { animation-delay: .22s; }
.console[open] li:nth-child(4) .plaque { animation-delay: .28s; }
.console[open] li:nth-child(5) .plaque { animation-delay: .34s; }
.console[open] li:nth-child(6) .plaque { animation-delay: .40s; }

.console-pied {
  display: block;
  text-align: center;
  margin-top: 26px;
  color: var(--text-3);
}
.console-pied kbd {
  font-family: var(--f-mono);
  font-size: .7rem;
  border: 1px solid var(--line-strong);
  padding: 1px 6px;
  color: var(--text-3);
}

@media (max-width: 719px) {
  .console-panel { align-content: start; }
  .console-scene { padding-top: 84px; padding-bottom: 48px; }
  .console-sol { height: 32vh; width: 340%; }
  .console-balai { display: none; }
  .plaques { gap: 10px; }
  .plaques > li { flex: 1 1 100%; }
  .plaque { padding: 14px 16px 15px; }
  .plaque:hover { transform: translateZ(0); }
  .plaque-nom { font-size: 1rem; }
  .plaque-txt { font-size: .92rem; }
}

@media (pointer: coarse), (max-width: 719px) {
  .console > summary { min-height: 44px; padding-block: 12px; }
  .ftr a { display: inline-block; padding-block: 8px; }
}

.hdr .hdr-cta { display: inline-flex; }
.hdr .hdr-cta .cta-court { display: none; }
@media (max-width: 559px) {
  .hdr .hdr-cta { padding-left: 12px; padding-right: 12px; }
  .hdr .hdr-cta .cta-long { display: none; }
  .hdr .hdr-cta .cta-court { display: inline; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 18px;
  font-family: var(--f-sans);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: -.005em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, transform .16s ease, color .16s ease;
}
.btn:active { transform: scale(.985); transition-duration: .08s; }

.plaque:active,
.console > summary:active,
.rail a:active,
.ftr a:active,
.mod-lien:active { transform: scale(.985); }
.plaque:active { transform: translateZ(34px) scale(.985); }

@media (prefers-reduced-motion: reduce) {
  .plaque:active, .console > summary:active, .rail a:active,
  .ftr a:active, .mod-lien:active { transform: none; }
}

.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hi); }   /* #ffffff, comme le produit */

.btn-ghost { border-color: var(--line-ui); color: var(--text); background: transparent; }
.btn-ghost:hover { background: var(--surface-hi); border-color: var(--text-4); }

.btn-sm { min-height: 36px; padding: 7px 14px; font-size: .82rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.more { margin-top: clamp(26px, 3.5vw, 40px); }

.elev-1 {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .04),
    0 1px 2px rgba(0, 0, 0, .4);
}
.elev-hover:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .06),
    0 12px 28px -10px rgba(0, 0, 0, .75),
    0 3px 8px rgba(0, 0, 0, .45);
}
.elev-2 {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .05),
    0 8px 24px -8px rgba(0, 0, 0, .7),
    0 2px 6px rgba(0, 0, 0, .45);
}
.elev-3 {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .06),
    0 24px 60px -12px rgba(0, 0, 0, .85),
    0 8px 20px rgba(0, 0, 0, .5);
}

.panel, .card, .mod, .tarif, .cta, .split, .aside-panel, .steps .aside, .option {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .04),
    0 1px 2px rgba(0, 0, 0, .4);
}

.arrondi { border-radius: var(--r-2xl); }

.mod-n, .ico { border-radius: var(--r-xl); }
.rail a, .instr-led { border-radius: 9999px; }
.etq, .badge { border-radius: var(--r-md); }

.card, .mod, .tarif, .option {
  transition:
    border-color .16s ease,
    background-color .16s ease,
    transform .16s ease,
    box-shadow .25s cubic-bezier(.16, 1, .3, 1);
}
.card:hover, .mod:hover, .tarif:hover, .option:hover {
  border-color: var(--line-strong);
  background: #171717;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .06),
    0 12px 28px -10px rgba(0, 0, 0, .75),
    0 3px 8px rgba(0, 0, 0, .45);
}
@media (prefers-reduced-motion: reduce) {
  .card:hover, .mod:hover, .tarif:hover, .option:hover { transform: none; }
}

.panel {
  background: var(--verre);
  box-shadow: var(--verre-lisere), var(--verre-ombre);
  border: 1px solid var(--line);
  padding: 24px;
}
@media (min-width: 720px) { .panel { padding: 30px; } }

.section { padding-block: clamp(52px, 7vw, 84px); }
.section + .section { border-top: 1px solid var(--line); }
.hero + .section { padding-top: clamp(18px, 2.5vw, 34px); }

.sec-head { margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head .mono { display: block; margin-bottom: 14px; }
.sec-head .mono b { color: var(--accent); font-weight: 500; }
.sec-head p { margin-top: 16px; }

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(48px, 8vw, 92px);
  padding-bottom: clamp(28px, 3.5vw, 44px);
}
.hero-in { position: relative; z-index: 1; text-align: center; }
.hero h1 { margin-top: 18px; max-width: 17ch; margin-inline: auto; }
.hero .lead { margin-top: 22px; margin-inline: auto; max-width: 58ch; }
.hero .btn-row { margin-top: 32px; justify-content: center; }
.hero-note { margin-top: 18px; max-width: 64ch; margin-inline: auto; }
.hero .mono { display: block; }

.capture {
  margin: clamp(38px, 5vw, 64px) auto 0;
  max-width: var(--max);
  padding-inline: clamp(16px, 4vw, 32px);
  position: relative;
}
.capture img {
  width: 100%;
  height: auto;
  aspect-ratio: 1120 / 596;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: var(--r-2xl) var(--r-2xl) 0 0;
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent);
  mask-image: linear-gradient(180deg, #000 62%, transparent);
}
.capture figcaption {
  margin-top: -18px;
  position: relative;
  font-family: var(--f-mono);
  font-size: .66rem;
  letter-spacing: .06em;
  color: var(--text-3);
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .capture { padding-inline: 0; }
  .capture-cadre {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    padding-inline: 16px;
    scrollbar-width: none;
  }
  .capture-cadre::-webkit-scrollbar { display: none; }
  .capture-cadre:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: var(--r-xl);
  }
  .capture img {
    width: 760px;
    max-width: none;
    aspect-ratio: 1120 / 596;
    -webkit-mask-image: none;
    mask-image: none;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
  }
  .capture figcaption { margin-top: 12px; padding-inline: 16px; }
}

.split {
  margin-top: clamp(40px, 6vw, 68px);
  border: 1px solid var(--line);
  background: var(--verre);
  box-shadow: var(--verre-lisere), var(--verre-ombre);
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) { .split { grid-template-columns: 1.15fr 1fr; } }

.split-col { padding: 24px; display: flex; flex-direction: column; }
@media (min-width: 720px) { .split-col { padding: 30px; } }
.split-col + .split-col { border-top: 1px solid var(--line); }
@media (min-width: 860px) {
  .split-col + .split-col { border-top: 0; border-left: 1px solid var(--line); }
}

.split-col + .split-col { background: linear-gradient(180deg, var(--accent-soft), transparent 180px); }

.split h2 { font-size: 1.02rem; letter-spacing: -.01em; }
.split-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 20px; }
.split-head .mono { color: var(--text-3); }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  font-family: var(--f-mono);
  font-size: .70rem;
  letter-spacing: 0;
  color: var(--text-2);
  border: 1px solid var(--line-strong);
  padding: 6px 10px;
  background: var(--bg);
}

.watch { list-style: none; display: grid; gap: 12px; }
.watch li {
  padding-left: 16px;
  border-left: 2px solid var(--accent-line);
  font-size: .96rem;
  color: var(--text-2);
  line-height: 1.4;
}
.watch li b { display: block; color: var(--text); font-weight: 500; }

.split-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-strong);
  font-size: .86rem;
  line-height: 1.5;
  color: var(--text-3);
}

.duo { display: grid; gap: 18px; }
@media (min-width: 860px) { .duo { grid-template-columns: 1fr 1fr; gap: 22px; } }

.card { background: var(--verre); box-shadow: var(--verre-lisere), var(--verre-ombre);
        border: 1px solid var(--line); padding: 24px; }
@media (min-width: 720px) { .card { padding: 30px; } }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-2); font-size: .97rem; }
.card .mono { display: block; margin-bottom: 16px; }

.grille-mod {
  list-style: none;
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px)  { .grille-mod { grid-template-columns: repeat(3, 1fr); gap: 11px; } }
@media (min-width: 1000px) { .grille-mod { grid-template-columns: repeat(4, 1fr); } }

.mod {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 15px 16px 17px;
  background: var(--verre);
  box-shadow: var(--verre-lisere), var(--verre-ombre);
  border: 1px solid var(--line);
}
.plats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}
@media (min-width: 720px) { .plats { gap: 14px; margin-top: 34px; } }

.plat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 13px 13px 15px;
  text-decoration: none;
  color: inherit;
  background: var(--verre);
  border: 1px solid var(--line-ui);
  box-shadow: var(--verre-lisere), var(--verre-ombre);
  transition: transform .16s ease;
}
@media (max-width: 460px) { .plat { padding-left: 2px; padding-right: 2px; } }
@media (min-width: 720px) { .plat { padding: 16px 17px 18px; gap: 7px; } }

.plat::before {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid var(--accent-hi);
  background: rgba(255, 255, 255, .06);
  opacity: 0;
  transition: opacity .16s ease;
  pointer-events: none;
}
.plat:hover { transform: translateY(-2px); }
.plat:hover::before,
.plat:focus-visible::before,
.plat:active::before { opacity: 1; }
.plat:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.plat:active { transform: scale(.99); }

.plat-rang {
  display: flex; align-items: center; justify-content: space-between; gap: 4px;
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em;
  line-height: 1.25;
}
@media (min-width: 720px) { .plat-rang { font-size: .8125rem; } }
.plat-n    { color: var(--text-3); font-variant-numeric: tabular-nums; }
.plat-voir { color: var(--text-2); letter-spacing: 0; white-space: nowrap; }
.plat-nom {
  font-family: var(--f-sans);
  font-size: clamp(11.5px, 3.55vw, 15px);
  font-weight: 500; letter-spacing: -.01em;
  color: var(--text); line-height: 1.2;
}
@media (min-width: 720px) { .plat-nom { font-size: 1.0625rem; } }
.plat-txt { font-size: .8125rem; line-height: 1.35; color: var(--text-2); }
@media (min-width: 720px) { .plat-txt { font-size: .875rem; } }

@media (prefers-reduced-motion: reduce) {
  .plat { transition: none; }
  .plat:hover { transform: none; }
  .plat::before { transition: none; }
}

@media (min-width: 700px) {
  .grille-mod { align-items: start; }
  .mod--large { grid-column: span 2; }
  .mod--plein { grid-column: 1 / -1; }
  .mod--plein {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    grid-template-areas: 'n   t'
                         'nom t';
    align-content: start;
    gap: 5px 28px;
  }
  .mod--plein .mod-n   { grid-area: n; }
  .mod--plein .mod-nom { grid-area: nom; }
  .mod--plein .mod-txt { grid-area: t; max-width: 64ch; }
}

.mod-n {
  font-family: var(--f-mono);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.mod-nom {
  font-family: var(--f-mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--text);
}
.mod-txt { font-size: .89rem; line-height: 1.45; color: var(--text-2); }

.instruments {
  list-style: none;
  display: grid;
  border-top: 1px solid var(--line);
}
@media (min-width: 900px) { .instruments { grid-template-columns: 1fr 1fr; column-gap: 34px; } }

.instr-groupe { color: var(--text-3); margin-bottom: 4px; }
@media (min-width: 900px) {
  .instruments--trois { grid-template-columns: 1fr 1fr 1fr; column-gap: 28px; }
}

.instr {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 4px 13px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  align-content: start;
}
.instr-led {
  width: 7px;
  height: 7px;
  background: var(--accent);
  margin-top: .45em;
}
.instr b {
  font-family: var(--f-mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--text);
}
.instr b + span {
  grid-column: 2;
  font-size: .92rem;
  line-height: 1.45;
  color: var(--text-2);
}

.steps { list-style: none; display: grid; gap: 0; counter-reset: step; }
.steps > li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.steps > li:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 780px) {
  .steps > li { grid-template-columns: 84px 1fr; gap: 8px 28px; align-items: start; }
}
.steps .n {
  font-family: var(--f-mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  padding-top: 3px;
}
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--text-2); font-size: .97rem; max-width: 64ch; }
.steps .aside {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: .88rem;
  color: var(--text-3);
  max-width: 64ch;
}
.steps .aside b { color: var(--text-2); font-weight: 500; }

@media (min-width: 900px) {
  .steps--rang { grid-template-columns: repeat(4, 1fr); }
  .steps--rang > li {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 10px;
    padding: 22px 22px 26px;
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }
  .steps--rang > li:first-child { border-left: 0; padding-left: 0; }
  .steps--rang > li:last-child { padding-right: 0; }
  .steps--rang .n { padding-top: 0; }
  .steps--rang h3 { margin-bottom: 0; }
  .steps--rang p { font-size: .92rem; }
}

.rail { display: none; }

@media (min-width: 1320px) {
  .rail {
    display: block;
    position: fixed;
    top: 50%;
    left: calc((100vw - var(--max)) / 2 - 60px);
    transform: translateY(-50%);
    z-index: 30;
  }
  .rail ol { list-style: none; display: grid; gap: 1px; }
  .rail a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 4px;
    text-decoration: none;
    color: var(--text-3);
    font-family: var(--f-mono);
    font-size: .63rem;
    font-weight: 500;
    letter-spacing: .02em;
    font-variant-numeric: tabular-nums;
    transition: color .16s ease;
  }
  .rail a::before {
    content: '';
    width: 22px;
    height: 1px;
    background: currentColor;
    transform: scaleX(.55);
    transform-origin: left center;
    transition: transform .16s ease;
  }
  .rail a:hover { color: var(--text-2); }
  .rail a[aria-current='true'] { color: var(--accent); }
  .rail a[aria-current='true']::before { transform: scaleX(1); }

  .rail-lbl {
    position: absolute;
    left: 100%;
    top: 50%;
    margin-left: 8px;
    transform: translateY(-50%);
    white-space: nowrap;
    background: var(--surface-hi);
    border: 1px solid var(--line-strong);
    color: var(--text);
    padding: 5px 10px;
    font-family: var(--f-sans);
    font-size: .72rem;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity .16s ease;
  }
  .rail a:hover .rail-lbl,
  .rail a:focus-visible .rail-lbl { opacity: 1; }
}

section[id] { scroll-margin-top: 84px; }

.nots { list-style: none; display: grid; gap: 14px; margin-top: 6px; }
@media (min-width: 780px) { .nots { grid-template-columns: 1fr 1fr; gap: 16px 34px; } }
.nots li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  font-size: .97rem;
  color: var(--text-2);
  line-height: 1.5;
}
.nots li::before {
  content: '';
  width: 13px;
  height: 1.5px;
  background: var(--text-4);
  margin-top: .72em;
}
.nots b { color: var(--text); font-weight: 500; }

.cta {
  border: 1px solid var(--line);
  background: var(--verre);
  box-shadow: var(--verre-lisere), var(--verre-ombre);
  padding: clamp(28px, 5vw, 52px);
  display: grid;
  gap: 22px;
  align-items: center;
}
@media (min-width: 860px) { .cta { grid-template-columns: 1.4fr auto; gap: 40px; } }
.cta h2 { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); }
.cta p { color: var(--text-2); margin-top: 12px; max-width: 52ch; font-size: .97rem; }

.form-grid { display: grid; gap: 34px; align-items: start; }
@media (min-width: 900px) { .form-grid { grid-template-columns: 1.35fr 1fr; gap: 46px; } }

.field { display: block; margin-bottom: 20px; }
.field > .lbl {
  display: block;
  font-family: var(--f-mono);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .035em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 8px;
}
.field .hint { font-family: var(--f-sans); font-size: .9rem; letter-spacing: 0; text-transform: none; color: var(--text-3); display: block; margin-top: 4px; }
.field .hint-ex { font-style: italic; opacity: .8; }

.field input, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-ui);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 1rem;
  line-height: 1.5;
  padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 148px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-4); }
.field input:focus, .field textarea:focus {
  border-color: var(--text-4);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .1);
}
.field input:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.field input, .field textarea { scroll-margin-block: 84px 24px; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; }

.hp {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-foot { margin-top: 26px; display: grid; gap: 16px; }
.form-foot .mono-sm { max-width: 68ch; line-height: 1.7; }

.msg {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  padding: 18px 20px;
  font-size: .96rem;
  line-height: 1.55;
}
.msg h2 { margin-bottom: 8px; font-size: 1.25rem; }
.msg p { color: var(--text-2); }
.msg-ok { border-left: 3px solid var(--accent); }
.msg-err { border-left: 3px solid var(--alert); }   /* rouge = alerte, seul emploi */
.msg[hidden] { display: none; }

.aside-panel { background: var(--verre); box-shadow: var(--verre-lisere), var(--verre-ombre);
               border: 1px solid var(--line); padding: 24px; }
.aside-panel + .aside-panel { margin-top: 18px; }
.aside-panel h2 { font-size: 1rem; letter-spacing: -.01em; margin-bottom: 16px; }
.aside-panel ol { list-style: none; counter-reset: a; display: grid; gap: 14px; }
.aside-panel ol li {
  counter-increment: a;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  font-size: .92rem;
  color: var(--text-2);
  line-height: 1.5;
}
.aside-panel ol li::before {
  content: counter(a, decimal-leading-zero);
  font-family: var(--f-mono);
  font-size: .74rem;
  color: var(--accent);
  padding-top: .25em;
}
.aside-panel ul { list-style: none; display: grid; gap: 11px; }
.aside-panel ul li {
  font-size: .92rem;
  color: var(--text-2);
  line-height: 1.5;
  padding-left: 16px;
  border-left: 1px solid var(--line-strong);
}

.legal { padding-block: clamp(44px, 7vw, 76px); }
.legal h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
.legal h2 {
  font-size: 1.12rem;
  margin-top: 44px;
  margin-bottom: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.legal p, .legal li { color: var(--text-2); font-size: .97rem; }
.legal ul { margin: 12px 0 0 0; padding-left: 20px; display: grid; gap: 8px; }
.legal dl { display: grid; gap: 10px; margin-top: 14px; }
@media (min-width: 620px) { .legal dl { grid-template-columns: minmax(150px, 25%) 1fr; gap: 10px 20px; } }
.legal dt { font-family: var(--f-mono); font-size: .70rem; letter-spacing: .02em; text-transform: uppercase; color: var(--text-3); padding-top: 3px; }
.legal dd { color: var(--text-2); font-size: .97rem; }
.legal .prose { max-width: 72ch; }

.signature {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  max-width: 620px;
}
.signature > div {
  background: var(--verre);
  box-shadow: var(--verre-lisere), var(--verre-ombre);
  padding: 14px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
}
.signature dt {
  font-family: var(--f-mono);
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-3);
  min-width: 11ch;
}
.signature dd { margin: 0; color: var(--text); }

.todo {
  font-family: var(--f-mono);
  font-size: .8rem;
  color: var(--accent);
  border: 1px dashed var(--accent-line);
  padding: 2px 8px;
  display: inline-block;
}

.four04 { padding-block: clamp(70px, 12vw, 140px); text-align: left; }
.four04 .code {
  font-family: var(--f-mono);
  font-size: clamp(3.4rem, 2rem + 7vw, 6rem);
  font-weight: 500;
  color: var(--text-4);   /* 3,17:1 — suffisant pour du très grand texte */
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 18px;
}
.four04 .lead { margin-top: 20px; }

.ftr {
  border-top: 1px solid var(--line);
  padding-block: 44px 34px;
  margin-top: auto;
}
.ftr-grid { display: grid; gap: 30px; }
@media (min-width: 780px) { .ftr-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; } }
.ftr h2 { font-size: .68rem; font-family: var(--f-mono); letter-spacing: .03em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; font-weight: 500; }
.ftr ul { list-style: none; display: grid; gap: 9px; }
.ftr a { color: var(--text-2); text-decoration: none; font-size: .94rem; transition: color .16s ease; }
.ftr a:hover { color: var(--text); }
.ftr-about p { color: var(--text-3); font-size: .9rem; max-width: 42ch; margin-top: 12px; line-height: 1.55; }
.ftr-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  align-items: center;
}
.ftr-bottom p { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .01em; color: var(--text-3); }

.btn { text-indent: .035em; }
.console-tag { text-indent: .04em; }
.console-pied { text-indent: .01em; }
.tarif-prix span { text-indent: .02em; }

.nots li::before { margin-top: .68em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: -1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .console-scene { transform: none !important; }
  .console-balai { display: none; }
}

.trace {
  height: 26px;
  background-color: var(--accent-line);
  -webkit-mask-image: url('/assets/trace.svg');
  mask-image: url('/assets/trace.svg');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.trace--hero {
  margin-top: 26px;
  max-width: 620px;
  -webkit-mask-composite: source-in;
  background-image: linear-gradient(90deg, var(--accent) 0%, var(--accent-line) 46%, transparent 96%);
  background-color: transparent;
}

.sec-head .mono {
  position: relative;
  padding-bottom: 13px;
}
.sec-head .mono::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 100%);
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 9px);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 34%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 34%, transparent 100%);
}

.tampon {
  display: inline-block;
  transform: rotate(-2.4deg);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--f-mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 7px 13px 6px;
  line-height: 1.15;
  background: rgba(255, 255, 255, .04);
}
.tampon b { display: block; font-weight: 600; }
.tampon i { display: block; font-style: normal; color: var(--text-3); font-size: .86em; letter-spacing: .02em; }

.note-marge {
  position: relative;
  margin-top: 22px;
  padding-left: 26px;
  max-width: 44ch;
  font-family: var(--f-mono);
  font-size: .8rem;
  line-height: 1.6;
  color: var(--text-3);
}
.note-marge::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 16px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 1px solid var(--line-strong);
}

.cta--plein {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.cta--plein h2 { color: var(--accent-ink); }
.cta--plein p { color: rgba(10, 10, 10, .82); }
.cta--plein .btn-primary {
  background: var(--accent-ink);
  color: var(--accent);
}
.cta--plein .btn-primary:hover { background: #1c1c1c; }

.tarifs { display: grid; gap: 14px; }
@media (min-width: 900px) { .tarifs { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

@media (max-width: 899px) {
  .tarif { padding: 18px 18px 20px; }
  .tarif .tarif-qui { display: none; }
  .tarif h3 { margin-top: 8px; font-size: 1.1rem; }
}

.tarif-cta { margin: 16px 0 0; }
.tarif-cta .btn { width: 100%; }

.tarif {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 28px;
  background: var(--verre);
  box-shadow: var(--verre-lisere), var(--verre-ombre);
  border: 1px solid var(--line);
}
.tarif > .mono { display: block; color: var(--text-3); }
.tarif h3 { margin-top: 12px; font-size: 1.22rem; }
.tarif-taille {
  margin-top: 6px;
  font-family: var(--f-mono);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.tarif-qui {
  margin-top: 8px;
  font-size: .93rem;
  line-height: 1.5;
  color: var(--text-2);
}

.tarif-prix {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
}
.tarif:not(.tarif--large) .tarif-prix > span { flex: 0 0 100%; }
.tarif-prix b {
  font-family: var(--f-mono);
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  word-spacing: -.3em;
}
.tarif-prix span {
  font-family: var(--f-mono);
  font-size: .68rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--text-3);
}
.tarif-prix .devis { font-size: 1.32rem; letter-spacing: -.02em; }

.tarif ul { list-style: none; margin-top: 18px; display: grid; gap: 9px; }
.tarif li {
  font-size: .92rem;
  line-height: 1.45;
  color: var(--text-2);
  padding-left: 15px;
  border-left: 1px solid var(--line-strong);
}
@media (max-width: 899px) { .tarif ul { display: none; } }

.tarif--phare {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, rgba(255,255,255,.03), var(--surface) 190px);
  box-shadow: var(--verre-lisere), var(--verre-ombre);
}
.tarif--phare > .mono { color: var(--accent); }
.tarif--phare .tarif-prix { border-top-color: var(--accent-line); }
.tarif--phare .tarif-prix b { color: var(--accent); }

.tarif--large { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .tarif--large { flex-direction: row; align-items: center; gap: 34px; }
  .tarif--large > div:first-child { flex: 1 1 auto; }
  .tarif--large .tarif-prix { margin-top: 0; padding-top: 0; border-top: 0; flex: none; }
}

.option {
  margin-top: 16px;
  display: grid;
  gap: 16px;
  padding: 22px 24px;
  border: 1px dashed var(--line-strong);
  background: var(--bg);
  align-items: center;
}
@media (min-width: 780px) { .option { grid-template-columns: auto 1fr auto; gap: 26px; } }
.option .mono { color: var(--accent); white-space: nowrap; }
.option p { font-size: .93rem; line-height: 1.5; color: var(--text-2); }
.option .tarif-prix { margin: 0; padding: 0; border: 0; }
.option .tarif-prix b { font-size: 1.7rem; }

.tarifs-pied { margin-top: 26px; display: grid; gap: 12px; }
@media (min-width: 860px) { .tarifs-pied { grid-template-columns: 1fr 1fr; gap: 14px 34px; } }
.tarifs-pied p { font-size: .9rem; line-height: 1.55; color: var(--text-3); }
.tarifs-pied b { color: var(--text-2); font-weight: 500; }

.plus { margin-top: 18px; }

.plus > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid var(--line-strong);
  font-family: var(--f-mono);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.plus > summary::-webkit-details-marker { display: none; }
.plus > summary::marker { content: ''; }
.plus > summary:hover { background: var(--surface-hi); border-color: var(--text-4); color: var(--text); }
.plus > summary:active { transform: scale(.985); }

.plus-chev {
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .16s ease;
}
.plus[open] > summary .plus-chev { transform: translateY(1px) rotate(-135deg); }

.plus[open] > summary .plus-ferme,
.plus:not([open]) > summary .plus-ouvert { display: none; }

.plus-corps {
  margin-top: 20px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}
.plus-corps > * + * { margin-top: 1em; }

@media (prefers-reduced-motion: reduce) {
  .plus > summary:active { transform: none; }
}

.porte { padding-block: clamp(20px, 3vw, 34px); }
.porte-in {
  display: grid;
  gap: 22px;
  padding: 26px 24px 28px;
  background: var(--verre);
  box-shadow: var(--verre-lisere), var(--verre-ombre);
  border: 1px solid var(--line);
}
@media (min-width: 860px) {
  .porte-in { grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 30px 32px 32px; }
}
.porte-txt h2 { font-size: clamp(1.2rem, .95rem + 1vw, 1.6rem); margin-bottom: 10px; }
.porte-txt p { color: var(--text-2); margin: 0; }
.porte-form .field + .field { margin-top: 12px; }
.porte-form .btn-row { margin-top: 16px; }
.porte-form .btn { width: 100%; }
@media (min-width: 560px) { .porte-form .btn { width: auto; } }

.faq { list-style: none; border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item > details > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 17px 0;
  font-family: var(--f-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.005em;
  color: var(--text);
  transition: color .16s ease;
}
.faq-item > details > summary::-webkit-details-marker { display: none; }
.faq-item > details > summary::marker { content: ''; }
.faq-item > details > summary:hover { color: var(--accent); }

.faq-item > details > summary::after {
  content: '';
  margin-left: auto;
  flex: none;
  width: 11px;
  height: 11px;
  align-self: center;
  background:
    linear-gradient(var(--text-3), var(--text-3)) center / 11px 1px no-repeat,
    linear-gradient(var(--text-3), var(--text-3)) center / 1px 11px no-repeat;
  transition: transform .16s ease, background-size .16s ease;
}
.faq-item > details[open] > summary::after {
  background:
    linear-gradient(var(--accent), var(--accent)) center / 11px 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 1px 0 no-repeat;
}

.faq-rep { padding: 0 0 20px; max-width: 62ch; }
.faq-rep p { color: var(--text-2); }
.faq-rep p + p { margin-top: .8em; }

@media (max-width: 640px) {
  .faq-item > details > summary { font-size: .95rem; gap: 10px; padding: 15px 0; }
}

.dossier { --mesure: 756px; }

@media (min-width: 1100px) {
  .dossier > .wrap {
    display: grid;
    grid-template-columns: 1fr minmax(0, var(--mesure)) 1fr;
    column-gap: 30px;
  }
  .dossier > .wrap > * { grid-column: 2; }
}

.cartouche {
  border: 1px solid var(--line-strong);
  background: var(--verre);
  box-shadow: var(--verre-lisere), var(--verre-ombre);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
  font-family: var(--f-mono);
  font-size: .6rem;
  line-height: 1.5;
  align-self: start;
  margin-bottom: 28px;
}
@media (min-width: 1100px) { .cartouche { position: sticky; top: 84px; margin-bottom: 0; } }

.cartouche dl { display: grid; }
.cartouche div {
  display: grid;
  gap: 2px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
}
.cartouche div:last-child { border-bottom: 0; }
.cartouche dt {
  font-size: .54rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-3);
}
.cartouche dd { color: var(--text-2); font-variant-numeric: tabular-nums; }
.cartouche dd b { color: var(--text); font-weight: 500; }
.cartouche .cart-tete {
  background: var(--surface-hi);
  color: var(--text);
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: .56rem;
  padding: 10px 12px;
}
.cartouche .cart-ref dd { color: var(--text-3); }
.cartouche .cart-ref dd i { font-style: normal; color: var(--accent); }

.art-n {
  font-family: var(--f-mono);
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
  padding-top: .35em;
}
.art-n b { display: block; color: var(--accent); font-weight: 500; font-size: .72rem; }
@media (max-width: 1099px) {
  .art-n { display: flex; gap: 7px; align-items: baseline; margin-bottom: 10px; }
  .art-n b { display: inline; font-size: .62rem; }
}

.annot {
  font-family: var(--f-mono);
  font-size: .64rem;
  line-height: 1.65;
  color: var(--text-3);
  border-left: 2px solid var(--accent-line);
  padding-left: 13px;
  margin-top: 18px;
  max-width: 52ch;
}
.annot b { color: var(--accent); font-weight: 500; }

.plaque { position: relative; }
.plaque-n {
  position: absolute;
  top: 16px; right: 16px;
  font-size: .6rem;
  letter-spacing: .1em;
}
.plaque-nom { padding-right: 34px; }

.piece { margin-top: 26px; display: grid; gap: 10px; justify-items: start; }
.piece[hidden] { display: none; }
.piece-tete {
  font-family: var(--f-mono); font-size: .6rem; letter-spacing: .05em;
  text-transform: uppercase; color: var(--text-3);
}
.piece-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; cursor: pointer;
  background: transparent; border: 1px solid var(--line-strong); color: var(--text);
  font-family: var(--f-mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .035em; text-transform: uppercase;
  transition: background-color .16s ease, border-color .16s ease;
}
.piece-btn:hover { background: var(--surface-hi); border-color: var(--text-4); }
.piece-btn:active { transform: scale(.985); }
.piece-ico { width: 0; height: 0; border-left: 8px solid var(--accent); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.piece-btn[aria-pressed='true'] .piece-ico { width: 8px; height: 10px; border: 0; background: var(--accent); }
.piece-txt { margin-top: 2px; }

@media print {
  .rail, .console, .hdr-cta, .piece-btn, .trace { display: none !important; }
  html, body { background: #fff !important; color: #111 !important; }
  body { font-size: 11.5pt; }
  .dossier > .wrap { display: block !important; max-width: none; padding: 0; }
  h1, h2, h3, .lead, .prose, .prose strong, .mod-nom, .instr b, .tarif h3 { color: #111 !important; }
  .lead, .prose, p, li, dd { color: #333 !important; }
  .cartouche {
    border: 1px solid #111 !important; background: #fff !important;
    box-shadow: none !important; float: right; width: 62mm; margin: 0 0 8mm 8mm;
    page-break-inside: avoid;
  }
  .cartouche .cart-tete { background: #f0f0f0 !important; color: #111 !important; }
  .cartouche dt { color: #555 !important; }
  .cartouche dd, .cartouche dd b { color: #111 !important; }
  .cartouche .cart-ref dd i { color: #111 !important; font-style: italic; }
  .art-n { color: #666 !important; }
  .art-n b { color: #111 !important; }
  .card, .panel, .mod, .tarif, .split, .aside-panel, .instr, .cta {
    border-color: #bbb !important; background: #fff !important; box-shadow: none !important;
    page-break-inside: avoid;
  }
  .cta--plein { background: #fff !important; border: 1px solid #111 !important; }
  .cta--plein h2, .cta--plein p { color: #111 !important; }
  .btn { border: 1px solid #111 !important; background: #fff !important; color: #111 !important; }
  .plus[open] .plus-corps, .plus-corps { display: block !important; }
  .plus > summary { display: none !important; }
  .ftr { border-top: 1px solid #bbb !important; }
  a { color: #111 !important; text-decoration: underline; }
  section { page-break-inside: auto; }
}

@media (max-width: 640px) {
  .hdr .hdr-cta { min-height: 44px; }
  .plus > summary { min-height: 44px; padding-top: 11px; padding-bottom: 11px; }

  .plus > summary { font-size: .7rem; }       /* .64 → 11,2 px */
  .mod-n { font-size: .7rem; }                /* .64 → 11,2 px */
  .signature dt { font-size: .7rem; }         /* .64 → 11,2 px */
  .ftr h2 { font-size: .74rem; }              /* .68 → 11,8 px */
  .console-val-mini { font-size: .7rem; }     /* .66 → 11,2 px */
  .plaque-n { font-size: .7rem; }             /* .60 → 11,2 px */
  .capture figcaption { font-size: .7rem; }   /* .66 → 11,2 px */
  .piece-tete { font-size: .7rem; }           /* .60 → 11,2 px */
  .piece-btn { font-size: .72rem; }           /* .68 → 11,5 px */
  .tarif-prix span { font-size: .72rem; }     /* .68 → 11,5 px */
}

.palette-dit {
  margin: 14px 0 10px;
  padding-inline: 16px;
  color: var(--text-2);
  font-size: .9rem;
  text-align: center;
}
.palette {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pal {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-ui);
}
.pal-blanc    { background: #ededed; }
.pal-ambre    { background: #e0a340; }
.pal-emeraude { background: #4bbf87; }
.pal-azur     { background: #5aa9e6; }
.pal-lilas    { background: #a98ae0; }
.pal-corail   { background: #e88b6a; }
.pal-sable    { background: #cfc3a8; }

.scene { display: grid; grid-template-columns: 1fr; gap: 6px; padding-block: 2px 20px; }
.mot-haut { max-width: 34rem; }
h1 .h1-b { display: block; color: var(--text-2); }
.mot-bas { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.note { font-family: var(--f-mono); font-size: .8125rem; color: var(--text-3); line-height: 1.5; }
.stage { margin-inline: calc(-1 * var(--gutter)); padding-top: 0; }
.plan {
  position: relative; width: 100%; aspect-ratio: 264 / 309;
  margin-inline: auto; container-type: inline-size;
}
.cadre-svg { position: absolute; inset: 0; }
.scene-svg { position: absolute; top: 0; left: 0; display: block; width: 100%; height: auto; }
.arete { fill: none; stroke-width: .55; }
.fresnel { fill: none; stroke-width: .9; }
.lentille-spec { }
.jante-halo { fill: none; stroke: rgba(255,255,255,.20); stroke-width: 2.6; }
.grain { mix-blend-mode: overlay; opacity: .17; }
.arete-int { fill: none; stroke: rgba(255,255,255,.17); stroke-width: .34; }
.grad { fill: none; stroke: rgba(255,255,255,.30); stroke-width: .3; }
.grad-arr { opacity: .5; }
.reflet-corps { fill: #fff; opacity: .040; stroke: none; }
.reflet-trait { opacity: .20; }
.reflet-trait path { fill: none; stroke: #fff; stroke-width: .6; }
.lentille .oeil { fill: #fff; opacity: .78; }
.lentille .oeil-c { fill: #fff; }
.lueur { fill: #fff; opacity: .026; }
.cotes path { fill: none; stroke: #fff; stroke-linejoin: round; stroke-linecap: butt; }
.surf path { stroke: none; }
.poles { --y: 19.871%; }
.p1 { --c: 0.21212; --k: 0; --sous: rgba(255,255,255,0.139); }
.p2 { --c: 0.50000; --k: 1; --sous: rgba(255,255,255,0.190); }
.p3 { --c: 0.78788; --k: 2; --sous: rgba(255,255,255,0.070); }
.s0 { --s: 0; }
.s1 { --s: 1; }
.s2 { --s: 2; }
.b0 { --b: 0; }
.b1 { --b: 1; }
.b2 { --b: 2; }
.b3 { --b: 3; }
.b4 { --b: 4; }
.b5 { --b: 5; }
.a0 { --a: 0; }
.a1 { --a: 1; }
.a2 { --a: 2; }
.a3 { --a: 3; }
.a4 { --a: 4; }
.a5 { --a: 5; }
.ombre        { opacity: .85; }
.contact-pied { fill: #000; opacity: .8; }
.contact-bord { fill: #000; opacity: .9; }
.ombre-joint  { fill: #000; opacity: .72; }
.fut-culot    { fill: none; stroke: rgba(255,255,255,.13); stroke-width: .8; }
.socle-arete  { fill: none; stroke: rgba(255,255,255,.10); stroke-width: .9; }
.jante-arc    { fill: none; stroke: rgba(255,255,255,.34); stroke-width: 1.5; }
.dos          { fill: #0a0a0a; }
.fil { stroke: rgba(255,255,255,.42); stroke-width: .34; opacity: .8; transition: opacity .16s ease; }
.perle { transition: opacity .16s ease; }
.perle circle { fill: none; stroke: rgba(255,255,255,.72); stroke-width: .5; }
.perle .coeur { fill: #fff; stroke: none; }
.halo-fixe { opacity: .24; }
.poles {
  --gutp: var(--gutter);      /* 20 px : la gouttière de la page */
  --gap: 12px;                /* le plancher exigé entre deux plaques */
  position: absolute; left: var(--gutp); right: var(--gutp); top: var(--y);
  transform: translateY(-100%) translate(calc(var(--px, 0) * 5px), calc(var(--py, 0) * 3px));
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap);
  align-items: stretch;
  pointer-events: none;
}
.pole {
  display: block; text-decoration: none; color: inherit; cursor: pointer;
  pointer-events: auto;
  transition: transform .16s ease;
}
.pole-in {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: 2.05cqw 2px 2.3cqw;
  background:
    linear-gradient(to top, var(--sous, rgba(255,255,255,.13)), rgba(255,255,255,.018) 58%, rgba(255,255,255,.05)),
    #101010;
  border: 1px solid #7a7a7a;
  border-bottom-color: #a8a8a8;
  box-shadow: 0 14px 28px -16px #000, inset 0 -1px 0 rgba(255,255,255,.17);
}
.pole-in::before {
  content: ''; position: absolute; inset: -1px;
  border: 1px solid var(--accent-hi);
  background: rgba(255,255,255,.075);
  opacity: 0; transition: opacity .16s ease; pointer-events: none;
}
.pole-in::after {
  content: ''; position: absolute; bottom: -4px;
  left: calc(var(--c) * 100cqw - var(--gutp)
             - var(--k) * ((100cqw - 2 * var(--gutp) - 2 * var(--gap)) / 3 + var(--gap)));
  width: 8px; height: 8px; margin-left: -4px;
  border: 1px solid #8a8a8a; border-radius: 50%;
  background: #101010;
}
.pole-rang { display: flex; align-items: center; justify-content: space-between; gap: 4px; line-height: 1.25; }
.pole-n { font-family: var(--f-mono); font-size: .8125rem; letter-spacing: .06em; color: var(--text-3); }
.pole-voir { font-family: var(--f-mono); font-size: .8125rem; letter-spacing: 0; color: var(--text-2); white-space: nowrap; }
.pole-nom {
  display: block; font-family: var(--f-titre); font-weight: 600;
  font-size: clamp(.875rem, 3.97cqw, 1.25rem); line-height: 1.16; letter-spacing: -.032em;
  color: var(--text); margin-top: 4px;
  hyphens: auto; overflow-wrap: break-word;
}
.pole-txt {
  display: block; font-size: clamp(.8125rem, 2.9cqw, .875rem); line-height: 1.3;
  color: var(--text-2); margin-top: auto; padding-top: 2px; overflow-wrap: break-word;
}
.pole:hover { transform: translateY(-2px); }
.pole:hover .pole-in::before, .pole:focus-visible .pole-in::before { opacity: 1; }
.pole:focus-visible { outline: none; }
.pole:focus-visible .pole-in { outline: 2px solid var(--accent); outline-offset: 4px; }
.halo { opacity: 0; transition: opacity .16s ease; }
.plan:has(.p1:hover) .h1p, .plan:has(.p1:focus-visible) .h1p, .plan:has(.p1:active) .h1p,
.plan:has(.p2:hover) .h2p, .plan:has(.p2:focus-visible) .h2p, .plan:has(.p2:active) .h2p,
.plan:has(.p3:hover) .h3p, .plan:has(.p3:focus-visible) .h3p, .plan:has(.p3:active) .h3p { opacity: 1; }
.plan:has(.p1:hover) .f1, .plan:has(.p1:focus-visible) .f1, .plan:has(.p1:active) .f1,
.plan:has(.p2:hover) .f2, .plan:has(.p2:focus-visible) .f2, .plan:has(.p2:active) .f2,
.plan:has(.p3:hover) .f3, .plan:has(.p3:focus-visible) .f3, .plan:has(.p3:active) .f3 { opacity: 1; }
.plan:has(.pole:hover) .fil, .plan:has(.pole:focus-visible) .fil, .plan:has(.pole:active) .fil { opacity: .3; }
.pole:active .pole-in::before { opacity: 1; }
.respire   { animation: respire 8.4s cubic-bezier(.45,0,.55,1) infinite; }
.r-reflet  { animation-name: refl; }
.bande     { animation: onde 10.5s cubic-bezier(.45,0,.55,1) infinite;
             animation-delay: calc(var(--b) * -1.75s); }
.scintille { animation: scintille 6.6s ease-in-out infinite;
             animation-duration: calc(6.6s + var(--s) * 1.1s);
             animation-delay: calc(var(--s) * -2.3s); }
.lentille    { animation: parait .3s ease both; }
.jaillit     { animation: jaillit .72s cubic-bezier(.2,.75,.3,1) both; animation-delay: .12s;
               transform-origin: -88px 32.9px; }
.massif-fond { animation: parait .5s ease both; animation-delay: .22s; }
.allume      { animation: monte .46s cubic-bezier(.2,.7,.25,1) both;
               animation-delay: calc(.32s + var(--a) * .085s); }
.parait-t    { animation: parait .55s ease both; animation-delay: .60s; }
.fils        { animation: tombe .36s cubic-bezier(.3,.7,.3,1) both; animation-delay: .58s;
               transform-origin: 0 -91.6px; }
.perles      { animation: parait .3s ease both; animation-delay: .70s; }
.pole-in     { animation: leve .40s cubic-bezier(.22,.68,.3,1) both; animation-delay: .76s; }
.p2 .pole-in { animation-delay: .82s; }
.p3 .pole-in { animation-delay: .88s; }
.plan.hors .respire, .plan.hors .bande, .plan.hors .scintille { animation-play-state: paused; }

.par, .cadre-svg, .poles { transition: transform .72s cubic-bezier(.22,.68,.26,1); }
.p-piece  { transform: translate(calc(var(--px, 0) * 1.1px), calc(var(--py, 0) * .7px)); }
.p-pied   { transform: translate(calc(var(--px, 0) * 2px),   calc(var(--py, 0) * 1.2px)); }
.p-table  { transform: translate(calc(var(--px, 0) * 3.2px), calc(var(--py, 0) * 1.9px)); }
.p-massif { transform: translate(calc(var(--px, 0) * 4.6px), calc(var(--py, 0) * 2.7px)); }
.p-lum    { transform: translate(calc(var(--px, 0) * 5.6px), calc(var(--py, 0) * 3.2px)); }
.p-fils   { transform: translate(calc(var(--px, 0) * 6.4px), calc(var(--py, 0) * 3.8px)); }
.cadre-svg { transform: perspective(1500px) rotateY(calc(var(--px, 0) * 2deg)) rotateX(calc(var(--py, 0) * -1.3deg)); }
@media (prefers-reduced-motion: reduce) {
.respire, .bande, .scintille, .lentille, .jaillit, .massif-fond, .allume,
  .parait-t, .fils, .perles, .pole-in { animation: none; }
.par, .cadre-svg { transform: none; }
.poles { transform: translateY(-100%); }
.pole:hover { transform: none; }
}
@media (max-width: 359px) {
.stage { padding-top: 41px; }
}
@media (max-width: 374px) {
.pole-in { padding-left: 1px; padding-right: 1px; }
}
@media (min-width: 480px) {
.pole-in { padding-left: 1.2cqw; padding-right: 1.2cqw; }
.poles { --gutp: 0px; --gap: 3.4cqw; }
}
@media (min-width: 480px) and (max-width: 899px) {
.stage { margin-inline: 0; padding-top: 12px; }
.plan { max-width: min(560px, calc(62vh * 0.8544)); }
}
@media (min-width: 900px) {
.scene {
    grid-template-columns: minmax(0, 23rem) minmax(0, 1fr);
    column-gap: 40px; row-gap: 20px;
    align-items: center;
    padding-block: 18px 34px;
  }
.mot-haut { grid-area: 1 / 1; align-self: end; }
.mot-bas  { grid-area: 2 / 1; align-self: start; }
.stage    { grid-area: 1 / 2 / 3 / 3; margin-inline: 0; padding-top: 0; min-width: 0; }
  .plan { max-width: min(740px, calc(80vh * 0.8544)); }
}
.cadre { position: relative; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); overflow: hidden; }
.cadre-piste { overflow-x: auto; overscroll-behavior-x: contain; }
.cadre img { display: block; width: 760px; max-width: none; height: auto; }
.cadre::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 64px;
  background: linear-gradient(to left, rgba(10,10,10,.92), rgba(10,10,10,0));
  pointer-events: none;
}
.cadre-note { margin-top: 9px; }
@media (min-width: 820px) {
.cadre img { width: 100%; }
.cadre::after, .cadre-note { display: none; }
}

@media (max-width: 640px) {
  .hero .mot-haut > .mono { display: none; }
  .hero .mot-haut h1 { margin-bottom: 8px; }
  .hero .mot-haut .lead { margin-top: 10px; }
  .hero .lead-suite { display: none; }
  .hero .stage { margin-top: 26px; }
  .hero .plan { aspect-ratio: auto; height: 278px; }
  .hero .cadre-svg > svg { height: 100%; width: 100%; object-fit: cover; object-position: center 40%; }
  .hero { padding-top: 24px; }
}
