/* ══════════════════════════════════
   FONTS
══════════════════════════════════ */
@font-face {
  font-family: 'Funnel Display';
  src: url('assets/fonts/FunnelDisplay-Light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Funnel Display';
  src: url('assets/fonts/FunnelDisplay-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Funnel Display';
  src: url('assets/fonts/FunnelDisplay-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Funnel Display';
  src: url('assets/fonts/FunnelDisplay-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Funnel Display';
  src: url('assets/fonts/FunnelDisplay-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Funnel Display';
  src: url('assets/fonts/FunnelDisplay-ExtraBold.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  src: url('assets/fonts/AtkinsonHyperlegibleNext-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  src: url('assets/fonts/AtkinsonHyperlegibleNext-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  src: url('assets/fonts/AtkinsonHyperlegibleNext-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  src: url('assets/fonts/AtkinsonHyperlegibleNext-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ══════════════════════════════════
   TOKENS
══════════════════════════════════ */
:root {
  --black:      #07070E;
  --lace:       #FFF7EB;
  --red:        #F02B19;
  --lace-dim:   rgba(255,247,235,.60);
  --lace-faint: rgba(255,247,235,.34);
  --hair:       rgba(255,247,235,.10);
  --line:       rgba(255,247,235,.20);
  --red-dim:    rgba(240,43,25,.10);
  --redglow:    rgba(240,43,25,.55);
  --fd:         'Funnel Display', sans-serif;
  --fa:         'Atkinson Hyperlegible Next', sans-serif;
  --nav-h:      80px;
  --px:         clamp(24px, 5.5vw, 96px);
}

/* ══════════════════════════════════
   RESET
══════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fa);
  background-color: var(--black);
  /* Faint blueprint grid across the whole site */
  background-image:
    linear-gradient(rgba(255,247,235,.043) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,247,235,.043) 1px, transparent 1px);
  background-size: 54px 54px;
  color: var(--lace);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ══════════════════════════════════
   GRAIN OVERLAY
══════════════════════════════════ */
.grain { position: relative; }
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.06;
  mix-blend-mode: overlay;
  z-index: 0;
}
.grain > * { position: relative; z-index: 1; }

/* ══════════════════════════════════
   TYPOGRAPHY HELPERS
══════════════════════════════════ */
.mono {
  font-family: var(--fa);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lace-faint);
}
.red { color: var(--red); }

/* Eyebrow — kicker label used in all sections */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--fa);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lace-faint);
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ══════════════════════════════════
   BUTTONS
══════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fd);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0;
  transition: opacity .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { opacity: .8; }
.btn:active { opacity: .95; }
.btn-lg { padding: 16px 28px; }
.btn-red {
  background: var(--red);
  color: var(--lace);
  /* Notched bottom-left corner */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  box-shadow: 0 0 26px -4px var(--redglow);
}
.btn-red:hover {
  opacity: 1;
  box-shadow: 0 0 40px -2px var(--redglow);
}
.btn-ghost {
  background: transparent;
  color: var(--lace);
  border: 1px solid rgba(255,247,235,.12);
}
.btn-ghost:hover { border-color: rgba(255,247,235,.4); opacity: 1; }
.btn.full { width: 100%; }

/* ══════════════════════════════════
   NAV
══════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--px);
  background: rgba(7,7,14,.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--hair);
  transition: background .3s;
}
.nav.scrolled { background: rgba(7,7,14,.92); }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-ic { height: 28px; width: 28px; }
.brand-wm { height: 17px; }
.brand-ic.sm { height: 20px; width: 20px; }
.brand-wm.sm { height: 16px; opacity: 1; }

.navlinks {
  display: flex;
  gap: 44px;
  align-items: center;
}
.navlinks a {
  font-family: var(--fa);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lace-faint);
  transition: color .2s;
}
.navlinks a:hover { color: var(--lace); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-cta {
  font-size: 11px;
  padding: 10px 18px;
}

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border: 1px solid var(--hair);
  background: transparent;
  transition: border-color .2s;
}
.lang-switch:hover { border-color: rgba(255,247,235,.3); }
.lang-opt {
  font-family: var(--fa);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lace-faint);
  transition: color .2s;
  cursor: pointer;
  padding: 1px 2px;
}
.lang-opt.active { color: var(--lace); }
.lang-opt:hover:not(.active) { color: var(--lace-dim); }
.lang-sep {
  font-size: 10px;
  color: var(--hair);
  pointer-events: none;
  user-select: none;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--lace);
}

/* ══════════════════════════════════
   HERO
══════════════════════════════════ */

/* Full-hero corner brackets (like the ref design) */
.hero-corner {
  position: absolute;
  width: 24px; height: 24px;
  border-color: rgba(240,43,25,.45);
  border-style: solid;
  border-width: 0;
  z-index: 5;
  pointer-events: none;
}
.hero-corner.htl { top: calc(var(--nav-h) + 16px); left: var(--px); border-top-width: 1.5px; border-left-width: 1.5px; }
.hero-corner.htr { top: calc(var(--nav-h) + 16px); right: var(--px); border-top-width: 1.5px; border-right-width: 1.5px; }
.hero-corner.hbl { bottom: 16px; left: var(--px); border-bottom-width: 1.5px; border-left-width: 1.5px; }
.hero-corner.hbr { bottom: 16px; right: var(--px); border-bottom-width: 1.5px; border-right-width: 1.5px; }

.hero {
  min-height: 100vh;
  height: 100vh;
  padding: calc(var(--nav-h) + 36px) var(--px) 36px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-inner { flex: 1; display: flex; flex-direction: column; }

/* Grid */
.c-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.c-left {
  display: flex;
  flex-direction: column;
}

/* Headline */
.c-h1 {
  font-family: var(--fd);
  font-size: clamp(52px, 7.2vw, 100px);
  font-weight: 700;
  line-height: 0.93;
  letter-spacing: -0.02em;
  color: var(--lace);
  margin-bottom: 24px;
}

/* Sub */
.c-sub {
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--lace-dim);
  margin-bottom: 32px;
}

/* Specs row */
.c-specrow {
  display: flex;
  gap: 0;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--hair);
}
.c-spec {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 0 0 16px;
  border-left: 1px solid var(--hair);
}
.c-spec .k {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lace-faint);
  font-family: var(--fa);
}
.c-spec .v {
  font-family: var(--fd);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 600;
  color: var(--lace-dim);
  letter-spacing: -0.01em;
}

/* CTAs */
.c-bottom {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Hero entrance stagger ── */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-fade {
  from { opacity: 0; transform: scale(.94); }
  to   { opacity: 1; transform: scale(1); }
}
.c-left > * {
  opacity: 0;
  animation: hero-rise .9s cubic-bezier(.22,.61,.36,1) forwards;
}
.c-left .eyebrow   { animation-delay: .05s; }
.c-left .c-h1      { animation-delay: .15s; }
.c-left .c-sub     { animation-delay: .28s; }
.c-left .c-bottom  { animation-delay: .40s; }
.c-left .c-specrow { animation-delay: .52s; }
.c-render {
  opacity: 0;
  animation: hero-fade 1.2s cubic-bezier(.22,.61,.36,1) .35s forwards;
}
.hero-corner {
  opacity: 0;
  animation: hero-fade .8s ease .7s forwards;
}
@media (prefers-reduced-motion: reduce) {
  .c-left > *, .c-render, .hero-corner,
  .schema .bundle, .schema .belly, .schema .plate-r,
  .schema .dimension, .schema .force, .schema .travel {
    animation: none !important;
    opacity: 1 !important;
  }
}

/* ══════════════════════════════════
   REACTOR CORE (hero right panel)
══════════════════════════════════ */
.c-render {
  position: relative;
  height: clamp(360px, 46vh, 560px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle 340px at 50% 50%, rgba(160,28,14,.45) 0%, rgba(125,21,11,.22) 45%, transparent 78%);
}

/* HUD corners */
.ph-corner {
  position: absolute;
  width: 20px; height: 20px;
  border-color: rgba(255,247,235,.5);
  border-style: solid;
  border-width: 0;
  z-index: 4;
}
.ph-corner.tl { top: 12px; left: 12px; border-top-width: 1.5px; border-left-width: 1.5px; }
.ph-corner.tr { top: 12px; right: 12px; border-top-width: 1.5px; border-right-width: 1.5px; }
.ph-corner.bl { bottom: 12px; left: 12px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.ph-corner.br { bottom: 12px; right: 12px; border-bottom-width: 1.5px; border-right-width: 1.5px; }

/* ── Animated actuator schematic ── */
.schema-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  padding: 36px;
}
.schema {
  width: 100%;
  max-width: 420px;
}

.schema .tendon { filter: drop-shadow(0 0 4px rgba(240,43,25,.45)); }

/* Faisceau : se raccourcit (scaleX depuis l'ancrage fixe) et se bombe (scaleY) */
.schema .bundle {
  transform-box: view-box;
  transform-origin: 58px 130px;
  animation: bundle-contract 2.8s ease-in-out infinite;
}
@keyframes bundle-contract {
  0%, 100% { transform: scale(1, 1); }
  45%, 55% { transform: scale(.894, 1.2); }
}

/* Belly : gonfle en opacité au pic de contraction */
.schema .belly { animation: belly-glow 2.8s ease-in-out infinite; }
@keyframes belly-glow {
  0%, 100% { fill-opacity: .06; }
  45%, 55% { fill-opacity: .17; }
}

/* Plaque mobile + charge : course vers l'ancrage fixe */
.schema .plate-r { animation: plate-travel 2.8s ease-in-out infinite; }
@keyframes plate-travel {
  0%, 100% { transform: translateX(0); }
  45%, 55% { transform: translateX(-30px); }
}

/* Cotation L : se raccourcit en phase avec la plaque */
.schema .dimension {
  transform-box: view-box;
  transform-origin: 58px 214px;
  animation: dim-travel 2.8s ease-in-out infinite;
}
@keyframes dim-travel {
  0%, 100% { transform: scaleX(1); }
  45%, 55% { transform: scaleX(.894); }
}

/* Forces + indicateur de course : pulsent en opacité */
.schema .force,
.schema .travel { animation: force-pulse 2.8s ease-in-out infinite; }
@keyframes force-pulse {
  0%, 100% { opacity: .4; }
  45%, 55% { opacity: .95; }
}

/* HUD telemetry labels */
.b-tele {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lace-faint);
  z-index: 3;
}
.b-tele.t1 { top: 18%; left: 6%; }
.b-tele.t2 { bottom: 18%; right: 6%; text-align: right; }
.b-tele .tele-val {
  color: var(--red);
  font-size: 9px;
  letter-spacing: 0.12em;
}

/* Bottom label */
.ph-label {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 4;
  font-size: 9px;
  letter-spacing: 0.14em;
}

/* ══════════════════════════════════
   MANIFESTE
══════════════════════════════════ */
.manifeste {
  background-color: var(--lace);
  /* Grille blueprint visible sur fond clair (lignes sombres) */
  background-image:
    linear-gradient(rgba(7,7,14,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7,7,14,.055) 1px, transparent 1px);
  background-size: 54px 54px;
}
.manifeste-inner {
  padding: 100px var(--px);
  max-width: 1200px;
  margin: 0 auto;
}
.manifeste .eyebrow { color: rgba(7,7,14,.35); }
.manifeste .eyebrow-dot { background: var(--red); }
.mq {
  font-family: var(--fd);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--black);
  font-style: normal;
  max-width: 900px;
}
.mq em {
  font-style: normal;
  color: var(--red);
}

/* ══════════════════════════════════
   GENERIC SECTION
══════════════════════════════════ */
.section { }

/* Crisp seams between dark zones (now that the grid runs through all of them) */
.tech-section,
.app-section,
.contact-section,
.footer {
  border-top: 1px solid var(--line);
  box-shadow: inset 0 14px 26px -22px rgba(0,0,0,.95);
}
/* Alternate faint tint so adjacent dark zones read as distinct bands */
.specs-section,
.contact-section { background-color: rgba(255,247,235,.022); }

.section-inner {
  padding: 80px var(--px) 68px;
  max-width: 1400px;
  margin: 0 auto;
}
.section-hd {
  margin-bottom: 48px;
}
.section-hd h2 {
  font-family: var(--fd);
  font-size: clamp(36px, 3.8vw, 56px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.025em;
}

/* ══════════════════════════════════
   TECHNOLOGIE
══════════════════════════════════ */
.tech-section { }
.tech-rows {
  display: flex;
  flex-direction: column;
}
.tech-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: start;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--hair);
  transition: background .2s;
}
.tech-row:last-child { border-bottom: 1px solid var(--hair); }
.tech-num {
  font-size: 13px;
  padding-top: 4px;
}
.tech-body h3 {
  font-family: var(--fd);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.tech-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--lace-dim);
  max-width: 560px;
}
.tech-tag {
  padding: 6px 14px;
  border: 1px solid var(--hair);
  font-size: 11px;
  letter-spacing: 0.1em;
  align-self: center;
  white-space: nowrap;
}

/* ══════════════════════════════════
   SPECS
══════════════════════════════════ */
.specs-section {
  background-color: var(--red);
  /* Grille blueprint visible (lignes sombres) + vignettage pour adoucir l'aplat */
  background-image:
    linear-gradient(rgba(7,7,14,.17) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7,7,14,.17) 1px, transparent 1px),
    radial-gradient(125% 135% at 50% 50%, transparent 42%, rgba(7,7,14,.30) 100%);
  background-size: 54px 54px, 54px 54px, 100% 100%;
  border-top: 1px solid rgba(7,7,14,.3);
  border-bottom: 1px solid rgba(7,7,14,.3);
  box-shadow: inset 0 18px 40px -26px rgba(0,0,0,.7);
}
/* Contrastes sur fond rouge */
.specs-section .eyebrow { color: rgba(255,247,235,.78); }
.specs-section .eyebrow-dot { background: var(--lace); }
.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.spec-item {
  padding: 40px 32px;
  border-left: 1px solid rgba(255,247,235,.22);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.spec-item:first-child { border-left: none; }
.spec-val {
  font-family: var(--fd);
  font-size: clamp(48px, 5.5vw, 72px);
  font-weight: 700;
  color: var(--lace);
  line-height: 1;
  letter-spacing: -0.03em;
}
.spec-val small {
  font-size: 0.55em;
  vertical-align: super;
  opacity: .75;
}
.spec-desc {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,247,235,.85);
  max-width: 180px;
}

/* ══════════════════════════════════
   APPLICATIONS
══════════════════════════════════ */
.app-section { }
.app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.app-item {
  padding: 48px 44px;
  border-top: 1px solid var(--hair);
  border-right: 1px solid var(--hair);
  transition: background .25s;
}
.app-item:nth-child(even) { border-right: none; }
.app-item:nth-child(3),
.app-item:nth-child(4) { border-bottom: 1px solid var(--hair); }
.app-item:hover { background: rgba(255,247,235,.03); }
.app-num {
  display: block;
  font-size: 11px;
  margin-bottom: 24px;
}
.app-item h3 {
  font-family: var(--fd);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.app-item p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--lace-dim);
}

/* ══════════════════════════════════
   CONTACT
══════════════════════════════════ */
.contact-section {
  border-top: 1px solid var(--line);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.contact-left h2 {
  font-family: var(--fd);
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.contact-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--lace-dim);
  margin-bottom: 44px;
  max-width: 380px;
}
.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--hair);
}
.cmeta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hair);
}
.cmeta-row .k {
  min-width: 80px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lace-faint);
  font-family: var(--fa);
}
.cmeta-row .v {
  font-size: 14px;
  color: var(--lace-dim);
}
.cmeta-row a.v:hover { color: var(--lace); }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lace-faint);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: rgba(255,247,235,.03);
  border: 1px solid var(--hair);
  border-radius: 0;
  padding: 14px 16px;
  font-family: var(--fa);
  font-size: 15px;
  font-weight: 400;
  color: var(--lace);
  outline: none;
  transition: border-color .2s, background .2s;
  appearance: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,247,235,.20); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(240,43,25,.6);
  background: rgba(255,247,235,.05);
}
.contact-form select { color: var(--lace-faint); cursor: pointer; }
.contact-form select.filled { color: var(--lace); }
.contact-form select option { background: #111118; color: var(--lace); }
.contact-form textarea { resize: vertical; min-height: 110px; }

.form-note {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,247,235,.20);
  text-align: center;
  text-transform: uppercase;
}

/* Success state */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 60px 32px;
  border: 1px solid var(--hair);
}
.form-success.visible { display: flex; }
.success-icon {
  width: 52px; height: 52px;
  border: 1px solid rgba(240,43,25,.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
}
.form-success .mono { color: var(--lace); font-size: 13px; }
.form-success p:last-child { font-size: 15px; color: var(--lace-dim); }

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
.footer {
  border-top: 1px solid var(--line);
  padding: 36px var(--px);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 28px;
}
.footer-copy {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: rgba(255,247,235,.22);
}
.footer-right {
  display: flex;
  align-items: center;
  gap: 32px;
}
.footer-badge {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,247,235,.22);
}
.footer-mail {
  font-size: 13px;
  color: rgba(255,247,235,.35);
  transition: color .2s;
}
.footer-mail:hover { color: var(--lace); }

/* ══════════════════════════════════
   REVEAL
══════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 1024px) {
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-item:nth-child(odd) { border-left: none; }
  .spec-item:nth-child(2) { border-left: 1px solid rgba(255,247,235,.22); }
  .spec-item:nth-child(3),
  .spec-item:nth-child(4) { border-top: 1px solid rgba(255,247,235,.22); }
}

@media (max-width: 900px) {
  .nav-cta { display: none; }
  /* Stacked hero must grow with its content instead of clipping at 100vh */
  .hero {
    height: auto;
    min-height: 100svh;
    overflow: visible;
    padding-top: calc(var(--nav-h) + 28px);
    padding-bottom: 56px;
  }
  .c-grid { grid-template-columns: 1fr; gap: 36px; }
  .c-render { height: 280px; order: 1; margin-top: 8px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .app-item { border-right: none; }
  .app-item:nth-child(n) { border-bottom: none; }
  .app-item { border-top: 1px solid var(--hair); }
  .app-item:last-child { border-bottom: 1px solid var(--hair); }
  .tech-row { grid-template-columns: 40px 1fr; }
  .tech-tag { display: none; }
  .mq { font-size: clamp(28px, 7vw, 52px); }
}

@media (max-width: 640px) {
  :root { --px: 20px; }
  .nav-cta { display: none; }
  .navlinks { display: none; }
  .navlinks.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(7,7,14,.98);
    padding: 28px var(--px);
    gap: 24px;
    border-bottom: 1px solid var(--hair);
  }
  .nav-burger { display: flex; }
  .c-specrow { flex-direction: column; gap: 16px; }
  .c-spec { border-left: none; border-top: 1px solid var(--hair); padding: 16px 0 0; }
  .specs-grid { grid-template-columns: 1fr 1fr; }
  .c-h1 { font-size: clamp(48px, 13vw, 76px); }
  /* CTAs : empilés et pleine largeur pour un rendu net */
  .c-bottom { flex-direction: column; align-items: stretch; gap: 12px; }
  .c-bottom .btn { width: 100%; }
  /* Moins de vide vertical sur mobile */
  .manifeste-inner { padding: 64px var(--px); }
  .section-inner { padding: 56px var(--px) 48px; }
  .mq { line-height: 1.12; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
