/* ═══════════════════════════════════════════════════════════════
   coreLinks — site showroom · édition « carnet d'opérations »
   2026 : noir & blanc dominants, UN accent orange, typo éditoriale
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Couleurs — noir & blanc dominants, orange = accent unique */
  --bg: #070708;
  --bg-2: #0b0b0d;
  --card: #101012;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f2f1ed;
  --text-2: #b5b4ae;
  --mut: #85847e;
  --accent: #ff5a00;
  --accent-soft: rgba(255, 90, 0, .1);
  --ok: #9aa694;

  /* Typo */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Rythme */
  --w: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --nav-h: 76px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.2, 1.4, .3, 1);
  --radius: 18px;
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; }
::selection { background: var(--accent); color: #0a0a0a; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.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;
}

.mono { font-family: var(--font-mono); }
.container { max-width: var(--w); margin-inline: auto; padding-inline: var(--gutter); }

/* ── Éléments partagés ─────────────────────────────────────────── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mut);
  margin-bottom: 24px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); }

.section { padding-block: clamp(100px, 15vh, 180px); }
.section__head { max-width: 720px; margin-bottom: clamp(48px, 7vh, 88px); }
.section__title {
  font-size: clamp(38px, 5.4vw, 76px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.02;
  text-wrap: balance;
}
.section__title em, .hero__title em, .statement__text em, .contact__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
}
.section__sub {
  margin-top: 24px;
  max-width: 560px;
  font-size: clamp(16.5px, 1.6vw, 19px);
  color: var(--text-2);
  line-height: 1.65;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .35s var(--ease), background-color .35s var(--ease),
              border-color .35s var(--ease), color .35s var(--ease), opacity .35s var(--ease);
}
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--accent); color: #0c0500; }
.btn--primary:hover { transform: translateY(-2px); background: #ff6f1f; }
.btn--primary:active { transform: translateY(0) scale(.98); }
.btn--ghost {
  color: var(--text);
  border: 1px solid var(--line-2);
  background: rgba(7, 7, 8, .35);
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, .38); }
.btn--sm { padding: 10px 20px; font-size: 13.5px; }
.btn--lg { padding: 18px 34px; font-size: 16px; }

.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }

.mono-inline {
  font-family: var(--font-mono);
  font-size: .84em;
  color: var(--text);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  padding: 1px 7px;
  white-space: nowrap;
}

/* Grain photographique (sur les médias) */
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Reveal au scroll ──────────────────────────────────────────── */
html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--stagger, 0) * 90ms);
}
html.js .reveal.in { opacity: 1; transform: none; }

/* ═══ NAV — deux états ═════════════════════════════════════════ */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color .45s var(--ease), border-color .45s var(--ease),
              backdrop-filter .45s var(--ease);
}
.nav[data-state="scrolled"] {
  background: rgba(7, 7, 8, .78);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  backdrop-filter: blur(22px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: clamp(18px, 3vw, 40px);
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.nav__left, .nav__right { display: flex; align-items: center; min-width: 0; }
.nav__left { justify-content: flex-start; gap: 12px; }
.nav__right { justify-content: flex-end; gap: 14px; }
.nav__center { display: grid; place-items: center; }
.nav__center > * { grid-area: 1 / 1; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 24px; height: 24px; flex: none; }
.brand__word { font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: var(--text); }
.brand__word em { font-style: normal; color: var(--accent); }
.brand--top .brand__word { font-size: 19px; }

/* État HAUT : seule la marque centrée est visible */
.nav__links, .nav__form, .nav__cta, .brand--compact {
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.brand--top { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.nav[data-state="top"] .nav__burger { opacity: .55; }

/* État SCROLLÉ : nom à gauche, sections au centre, contact à droite */
.nav[data-state="scrolled"] .brand--top { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.nav[data-state="scrolled"] .brand--compact,
.nav[data-state="scrolled"] .nav__links,
.nav[data-state="scrolled"] .nav__cta { opacity: 1; transform: none; pointer-events: auto; }
.nav[data-state="scrolled"] .nav__form { opacity: 1; transform: none; pointer-events: auto; }

.nav__links { display: flex; gap: 30px; }
.nav__links a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color .3s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 1px;
  background: var(--accent);
  transition: right .35s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { right: 0; }

.nav__form {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 3px 4px 3px 16px;
  background: rgba(255, 255, 255, .04);
  transition: border-color .3s var(--ease), opacity .4s var(--ease), transform .4s var(--ease);
}
.nav__form:focus-within { border-color: rgba(255, 255, 255, .38); }
.nav__form input {
  width: 168px;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 13px;
  outline: none;
}
.nav__form input::placeholder { color: var(--mut); }
.nav__form button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #0c0500;
  transition: transform .3s var(--ease);
}
.nav__form button:hover { transform: translateX(2px); }
.nav__form button svg { width: 15px; height: 15px; }

.nav__progress { position: absolute; inset-inline: 0; bottom: -1px; height: 2px; overflow: hidden; }
.nav__progress i {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(var(--page-p, 0));
  transform-origin: left;
}
.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  position: relative;
  transition: opacity .3s var(--ease);
}
.nav__burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.nav__burger span:nth-child(1) { top: 17px; }
.nav__burger span:nth-child(2) { top: 25px; }
.nav__burger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__burger.open span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(7, 7, 8, .96);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  display: grid;
  place-content: center;
  gap: 30px;
  text-align: center;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu .btn { font-size: 17px; margin-top: 12px; }

/* ═══ HERO — plein cadre ═══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: clip;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media.has-video img { display: none; }
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 7, 8, .62) 0%, rgba(7, 7, 8, .28) 42%, rgba(7, 7, 8, .9) 88%, var(--bg) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: calc(var(--nav-h) + 30px);
}
.hero__title {
  font-size: clamp(46px, 8.4vw, 118px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: .98;
  text-wrap: balance;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .45);
}
.hero__title em { letter-spacing: -.02em; }
.hero__sub {
  margin-top: 28px;
  max-width: 600px;
  font-size: clamp(16px, 1.7vw, 18.5px);
  color: var(--text-2);
  line-height: 1.68;
  text-shadow: 0 1px 24px rgba(0, 0, 0, .6);
}
.hero__cta { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero__content .eyebrow { justify-content: center; }
.hero__foot {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  background: rgba(7, 7, 8, .42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero__foot-in {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3.4vw, 44px);
  flex-wrap: wrap;
  padding-block: 18px;
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-2);
}
.hero__foot-in span { display: inline-flex; align-items: center; gap: 9px; }
.tick { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; }

/* ═══ MANIFESTE ════════════════════════════════════════════════ */
.statement { padding-block: clamp(110px, 16vh, 200px); border-bottom: 1px solid var(--line); }
.statement__grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}
.statement__note {
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mut);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
}
.statement__note span { color: rgba(255, 255, 255, .28); }
.statement__text {
  font-size: clamp(28px, 3.9vw, 52px);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.18;
  max-width: 21em;
  text-wrap: balance;
}
.statement__text em { color: var(--text); }
.statement__text em {
  box-shadow: inset 0 -0.09em 0 var(--accent-soft), inset 0 -0.012em 0 var(--accent);
}

/* ═══ FIGURES — photos encadrées, légendées ════════════════════ */
.frame { margin: 0; }
.frame__clip {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: var(--bg-2);
}
.frame__clip::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 90px rgba(0, 0, 0, .35); }
.frame__clip img { width: 100%; transform: scale(1.07); will-change: transform; }
.frame__clip video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame__clip.has-video img { display: none; }
.frame__clip.has-video { aspect-ratio: 16 / 10; }
.frame__caption {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mut);
}
.frame__caption span { color: var(--accent); flex: none; }
.frame--hero .frame__clip { border-radius: 10px; }

/* ═══ ANATOMIE ═════════════════════════════════════════════════ */
.anatomy { border-bottom: 1px solid var(--line); }
.anatomy__list {
  list-style: none;
  margin-top: clamp(48px, 7vh, 80px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.anatomy__item {
  position: relative;
  padding: 34px 28px 30px;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
}
.anatomy__item + .anatomy__item { border-left: 1px solid var(--line); }
.anatomy__num { font-size: 11.5px; color: var(--mut); letter-spacing: .14em; }
.anatomy__img {
  align-self: center;
  width: min(64%, 150px);
  margin: 26px 0 22px;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .5));
}
.anatomy__item h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.anatomy__item p { margin-top: 7px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); }

/* ═══ OPÉRATION — chapitres photo ══════════════════════════════ */
.operation { border-bottom: 1px solid var(--line); }
.chapter {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 5.5vw, 84px);
  align-items: center;
  padding-block: clamp(56px, 9vh, 110px);
}
.chapter + .chapter { border-top: 1px solid var(--line); }
.chapter--flip .chapter__copy { order: 2; }
.chapter--flip .frame { order: 1; }
.chapter--flip .chapter__inset { order: 3; }
.chapter__num {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--accent);
  margin-bottom: 22px;
}
.chapter__num::after { content: ""; width: 44px; height: 1px; background: var(--line-2); }
.chapter__copy h3 {
  font-size: clamp(26px, 3.1vw, 40px);
  font-weight: 600;
  letter-spacing: -.028em;
  line-height: 1.08;
  margin-bottom: 18px;
  text-wrap: balance;
}
.chapter__copy > p { font-size: 16px; color: var(--text-2); line-height: 1.7; max-width: 460px; }
.chapter__points { list-style: none; margin-top: 26px; }
.chapter__points li {
  position: relative;
  padding-left: 24px;
  margin-block: 11px;
  font-size: 14.5px;
  color: var(--text-2);
}
.chapter__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--accent);
}
.chapter__inset {
  grid-column: 2;
  margin-top: clamp(28px, 4vh, 48px);
}
.chapter--flip .chapter__inset { grid-column: 1; grid-row: 2; }
.inset__label {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mut);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.inset__label::before { content: ""; width: 18px; height: 1px; background: var(--line-2); }

/* — Mock kiosk — */
.kiosk {
  max-width: 680px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #121215, #0b0b0d);
  padding: 14px;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .8);
}
.kiosk__bar { display: flex; align-items: center; gap: 14px; padding: 2px 4px 12px; }
.kiosk__brand { font-size: 13px; font-weight: 600; }
.kiosk__brand em { font-style: normal; color: var(--accent); }
.kiosk__unit { font-size: 10.5px; color: var(--mut); letter-spacing: .08em; }
.kiosk__rec {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .08em;
  color: #e0574d;
}
.kiosk__rec i { width: 7px; height: 7px; border-radius: 50%; background: #e0463b; animation: blink 1.3s steps(2, start) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.kiosk__screen { position: relative; aspect-ratio: 16 / 9; border-radius: 9px; overflow: hidden; background: #000; }
.kiosk__feed {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0a0f2b 0%, #131a3f 34%, #2c2144 56%, #6e3a1e 78%, #a5571c 100%);
}
.kiosk__sun {
  position: absolute;
  left: 50%;
  bottom: 16%;
  transform: translateX(-50%);
  width: 42%;
  height: 42%;
  background: radial-gradient(circle, rgba(255, 158, 66, .8), rgba(255, 106, 0, 0) 68%);
  filter: blur(8px);
}
.kiosk__horizon {
  position: absolute;
  inset: auto 0 0 0;
  height: 36%;
  background: #040409;
  clip-path: polygon(0 58%, 11% 40%, 24% 60%, 37% 30%, 51% 54%, 65% 34%, 79% 56%, 100% 40%, 100% 100%, 0 100%);
}
.kiosk__hud {
  position: absolute;
  inset: 0;
  font-size: 10px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .88);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .9);
}
.hud-tl { position: absolute; top: 10px; left: 12px; }
.hud-tr { position: absolute; top: 10px; right: 12px; }
.hud-bl { position: absolute; bottom: 10px; left: 12px; }
.hud-br { position: absolute; bottom: 10px; right: 12px; }
.kiosk__cross { position: absolute; inset: 0; pointer-events: none; }
.kiosk__cross i { position: absolute; background: rgba(255, 255, 255, .65); box-shadow: 0 0 6px rgba(0, 0, 0, .6); }
.kiosk__cross i:first-child { top: 50%; left: calc(50% - 10px); width: 20px; height: 1.5px; }
.kiosk__cross i:last-child { left: 50%; top: calc(50% - 10px); height: 20px; width: 1.5px; }
.kiosk__status { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  letter-spacing: .05em;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--line);
  color: var(--text-2);
  white-space: nowrap;
}
.dot { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.dot--ok { background: #7fae74; }
.dot--live { background: var(--accent); animation: pulse-dot 1.7s var(--ease) infinite; }
@keyframes pulse-dot { 50% { opacity: .35; } }
.chip--pilot { margin-left: auto; border-color: var(--line-2); color: var(--text); }

/* — Multi-écrans — */
.devices {
  position: relative;
  max-width: 640px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 26px);
  padding: 40px 6px 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-2);
}
.devices__waves { position: absolute; inset: auto 0 -4px; width: 100%; height: auto; opacity: .8; }
.devices__ssid {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--mut);
  border: 1px solid var(--line);
  background: rgba(7, 7, 8, .66);
  padding: 6px 13px;
  border-radius: 999px;
  white-space: nowrap;
}
.devices__screen { background: #000; border: 1px solid var(--line-2); box-shadow: 0 26px 60px -30px rgba(0, 0, 0, .8); }
.mini-feed {
  position: relative;
  background: linear-gradient(180deg, #0a0f2b 0%, #2c2144 52%, #a5571c 100%);
  overflow: hidden;
}
.mini-feed::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: #040409;
  clip-path: polygon(0 58%, 22% 36%, 46% 60%, 70% 32%, 100% 52%, 100% 100%, 0 100%);
}
.mini-feed .chip { position: absolute; z-index: 2; top: 8px; left: 8px; font-size: 8.5px; padding: 4px 8px; background: rgba(5, 5, 7, .6); }
.devices__laptop { width: min(56%, 290px); position: relative; z-index: 1; }
.devices__laptop .devices__screen { border-radius: 10px 10px 0 0; padding: 6px; }
.devices__laptop .mini-feed { aspect-ratio: 16 / 10; border-radius: 5px; }
.devices__laptop .devices__base {
  height: 10px;
  margin-inline: -7%;
  background: linear-gradient(180deg, #1d1d22, #0e0e11);
  border: 1px solid var(--line-2);
  border-top: none;
  border-radius: 3px 3px 9px 9px;
}
.devices__tablet { width: min(22%, 118px); z-index: 1; }
.devices__tablet .devices__screen { border-radius: 11px; padding: 5px; }
.devices__tablet .mini-feed { aspect-ratio: 3 / 4.1; border-radius: 7px; }
.devices__phone { width: min(12.5%, 64px); z-index: 1; }
.devices__phone .devices__screen { border-radius: 13px; padding: 4px; }
.devices__phone .mini-feed { aspect-ratio: 9 / 17.5; border-radius: 9px; }
.dash { animation: dashmove 1.5s linear infinite; }
@keyframes dashmove { to { stroke-dashoffset: -26; } }

/* — Uplink 4G — */
.uplink {
  max-width: 640px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-2);
  padding: 26px 26px 12px;
}
.uplink svg { width: 100%; height: auto; }
.svg-mono { font-family: var(--font-mono); font-size: 12px; fill: var(--mut); letter-spacing: .08em; }
.uplink .pulse { transform-box: fill-box; transform-origin: center; animation: radar 2.6s ease-out infinite; }
.uplink .pulse--2 { animation-delay: 1.3s; }
@keyframes radar {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(4.2); opacity: 0; }
}

/* ═══ RAPPORT CERFA ════════════════════════════════════════════ */
.report { overflow: clip; border-bottom: 1px solid var(--line); }
.report .section__title { font-size: clamp(34px, 4.4vw, 60px); }
.report__grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(44px, 6vw, 96px);
  align-items: center;
}
.report__lead {
  margin-top: 24px;
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 520px;
}
.report__list { list-style: none; margin-top: 40px; display: flex; flex-direction: column; gap: 24px; }
.report__list li { display: flex; gap: 18px; align-items: flex-start; }
.report__list i {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  border: 1px solid var(--line-2);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
}
.report__list strong { display: block; font-size: 15.5px; font-weight: 600; margin-bottom: 3px; }
.report__list span { font-size: 14px; color: var(--mut); line-height: 1.55; }

.report__visual { position: relative; }
.doc {
  background: #f4f2ec;
  color: #17171c;
  border-radius: 4px;
  padding: 28px 28px 22px;
  transform: rotate(.6deg);
  box-shadow: 0 70px 140px -50px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .07);
}
.doc__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 2px solid #17171c;
}
.doc__ref { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.doc__cerfa {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .06em;
  color: #c24800;
  border: 1.5px solid var(--accent);
  border-radius: 4px;
  padding: 4px 9px;
  white-space: nowrap;
}
.doc__rows { padding-block: 4px; }
.doc__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 10.5px 2px;
  border-bottom: 1px dashed rgba(23, 23, 28, .18);
  font-size: 13.5px;
}
.doc__row:nth-child(1) { --ri: 1; }
.doc__row:nth-child(2) { --ri: 2; }
.doc__row:nth-child(3) { --ri: 3; }
.doc__row:nth-child(4) { --ri: 4; }
.doc__row:nth-child(5) { --ri: 5; }
.doc__row:nth-child(6) { --ri: 6; }
.doc__row:nth-child(7) { --ri: 7; }
.doc__row:nth-child(8) { --ri: 8; }
.doc__row span { color: #6f6f78; }
.doc__row strong { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.doc__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; }
.doc__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #33691e;
}
.doc__status i { width: 8px; height: 8px; border-radius: 50%; background: #4d7c0f; }
.doc__stamp {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  border: 2.5px solid var(--accent);
  border-radius: 6px;
  padding: 8px 13px;
  opacity: 0;
  transform: rotate(-4deg) scale(1.6);
  transition: transform .5s var(--ease-spring), opacity .3s ease;
  transition-delay: 1.5s;
}
.report__visual.in .doc__row { opacity: 1; transform: none; }
html.js .report__visual .doc__row {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  transition-delay: calc(var(--ri) * 110ms);
}
html.js .report__visual.in .doc__row { opacity: 1; transform: none; }
.report__visual.in .doc__status { animation: fadein .5s var(--ease) 1.25s both; }
.report__visual.in .doc__stamp { opacity: 1; transform: rotate(-4deg) scale(1); }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* ═══ TERRAIN ══════════════════════════════════════════════════ */
.flow { padding-block: clamp(100px, 15vh, 180px); border-bottom: 1px solid var(--line); }
.flow__steps {
  list-style: none;
  margin-top: clamp(44px, 6vh, 72px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 3.5vw, 48px);
}
.flow__step { border-top: 1px solid var(--line-2); padding-top: 26px; }
.flow__step span { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: .12em; }
.flow__step h3 { font-size: 19px; font-weight: 600; margin: 16px 0 9px; letter-spacing: -.015em; }
.flow__step p { font-size: 14.5px; color: var(--text-2); line-height: 1.62; }

/* ═══ CHIFFRES ═════════════════════════════════════════════════ */
.stats { border-bottom: 1px solid var(--line); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-block: clamp(56px, 9vh, 96px);
}
.stat strong {
  display: flex;
  align-items: baseline;
  font-size: clamp(42px, 4.8vw, 68px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1;
  color: var(--text);
}
.stat strong .mono { font-style: normal; font-size: .62em; font-weight: 500; color: var(--text-2); margin-right: 3px; }
.stat__label {
  display: block;
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mut);
}

/* ═══ SPÉCIFICATIONS ═══════════════════════════════════════════ */
.specs { border-bottom: 1px solid var(--line); }
.specs__grid {
  margin-top: clamp(44px, 6vh, 72px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.spec { padding: 30px 28px; }
.spec--wide { grid-column: span 2; }
.spec__k { font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); }
.spec h3 { font-size: 19px; font-weight: 600; letter-spacing: -.015em; margin: 16px 0 10px; }
.spec p { font-size: 14.5px; color: var(--text-2); line-height: 1.66; }

/* ═══ CONTACT ══════════════════════════════════════════════════ */
.contact { padding-block: clamp(110px, 16vh, 200px); }
.contact__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(44px, 6vw, 100px);
  align-items: start;
}
.contact__lead { margin-top: 24px; font-size: 17.5px; color: var(--text-2); line-height: 1.68; max-width: 440px; }
.contact__mail { margin-top: 30px; font-size: 12.5px; letter-spacing: .1em; color: var(--mut); }
.contact__form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  padding: clamp(26px, 3vw, 40px);
  display: grid;
  gap: 20px;
}
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); }
.field input, .field textarea {
  width: 100%;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(133, 132, 126, .65); }
.field input:focus, .field textarea:focus { border-color: rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .05); }
.contact__form .btn { justify-self: start; }
.form__hint { font-size: 11px; color: var(--mut); letter-spacing: .04em; }

/* ═══ FOOTER ═══════════════════════════════════════════════════ */
.footer { border-top: 1px solid var(--line); padding: 70px 0 46px; }
.footer__inner { display: grid; gap: 34px; }
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__word { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.footer__word em { font-style: normal; color: var(--accent); }
.footer__nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__nav a { font-size: 14px; color: var(--text-2); transition: color .3s var(--ease); }
.footer__nav a:hover { color: var(--text); }
.footer__legal { font-size: 11.5px; color: #6c6b66; line-height: 1.9; }

/* ═══ RESPONSIVE ═══════════════════════════════════════════════ */
@media (max-width: 1280px) {
  .nav__form { display: none; }
  .nav__cta { opacity: 1; transform: none; pointer-events: auto; }
  .nav[data-state="top"] .nav__cta { opacity: 0; pointer-events: none; }
}
@media (max-width: 1100px) {
  .anatomy__list { grid-template-columns: repeat(2, 1fr); }
  .anatomy__item:nth-child(3) { border-left: 0; }
  .anatomy__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .specs__grid { grid-template-columns: repeat(2, 1fr); }
  .flow__steps { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }
}
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__center { justify-items: center; }
  .statement__grid { grid-template-columns: 1fr; gap: 20px; }
  .statement__note { flex-direction: row; align-items: center; padding-top: 0; }
  .chapter { grid-template-columns: 1fr; gap: 36px; }
  .chapter--flip .chapter__copy { order: 1; }
  .chapter--flip .frame { order: 2; }
  .chapter__inset, .chapter--flip .chapter__inset { grid-column: 1; grid-row: auto; }
  .chapter__copy > p { max-width: 620px; }
  .report__grid, .contact__grid { grid-template-columns: 1fr; }
  .report__visual { max-width: 540px; }
  .hero__foot-in { gap: 14px 24px; }
}
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .anatomy__list, .specs__grid, .flow__steps { grid-template-columns: 1fr; }
  .anatomy__item { border-left: 0 !important; }
  .anatomy__item:nth-child(n+2) { border-top: 1px solid var(--line); }
  .spec--wide { grid-column: auto; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 36px 18px; }
  .stat { text-align: left; }
  .brand--compact { display: none; }
  .nav__left { justify-content: flex-start; }
  .doc { padding: 20px 18px 16px; transform: none; }
  .doc__row { font-size: 12.5px; gap: 10px; }
  .devices__tablet { width: 20%; }
  .devices__phone { width: 11.5%; }
  .uplink { padding: 18px 14px 8px; }
  .footer__top { flex-direction: column; align-items: flex-start; }
}

/* ═══ MOUVEMENT RÉDUIT ═════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .15s !important;
  }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .frame__clip img { transform: none !important; }
}
