/* ═══════════════════════════════════════════════════════
   KODEX PRODUCTION — Direction A · Monolithique tech premium
   Thème hybride : hero dark (Matrix) + sections light
   ═══════════════════════════════════════════════════════ */

:root {
  --bg-dark: #0A0A0A;
  --bg-light: #FAFAF7;
  --card: #FFFFFF;
  --ink: #0A0A0A;
  --paper: #F5F5F5;
  --accent: #2E5EE8;
  --accent-soft: #6E96F8;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --mono: 'SF Mono', 'Menlo', 'Consolas', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', sans-serif;
  background: var(--bg-light);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ═══════════ PROGRESS BAR ═══════════ */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(to right, var(--accent), var(--accent-soft));
  z-index: 200;
  box-shadow: 0 0 8px rgba(46, 94, 232, 0.5);
}

/* ═══════════ NAVIGATION ═══════════ */
.nav {
  position: fixed;
  top: 2px; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(10, 10, 10, 0.35);
  border-bottom: 1px solid rgba(245, 245, 245, 0.06);
  transform: translateY(-100%);
  animation: navDown 0.9s var(--ease) 0.3s forwards;
  transition: background 0.4s ease, border-color 0.4s ease;
}
@keyframes navDown { to { transform: translateY(0); } }

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--paper);
  text-decoration: none;
  transition: color 0.4s ease;
}
.nav-blocks { fill: #F5F5F5; transition: fill 0.4s ease; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(245, 245, 245, 0.65);
  text-decoration: none;
  transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--paper); }

.nav-cta {
  padding: 8px 16px;
  border: 1px solid rgba(245, 245, 245, 0.28);
  border-radius: 999px;
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: var(--paper);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.3s ease;
}
.nav-cta:hover { background: var(--accent); border-color: var(--accent); }

/* Nav sur fond clair (après le hero) */
.nav.on-light {
  background: rgba(250, 250, 247, 0.75);
  border-bottom-color: rgba(10, 10, 10, 0.08);
}
.nav.on-light .nav-brand { color: var(--ink); }
.nav.on-light .nav-blocks { fill: #0A0A0A; }
.nav.on-light .nav-links a { color: rgba(10, 10, 10, 0.6); }
.nav.on-light .nav-links a:hover { color: var(--ink); }
.nav.on-light .nav-cta { color: var(--ink); border-color: rgba(10, 10, 10, 0.35); }
.nav.on-light .nav-cta:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

@media (max-width: 860px) {
  .nav-links { display: none; }
}

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--bg-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rain {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.7;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.rain .col {
  position: absolute;
  top: -85%;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.18;
  color: var(--accent);
  text-shadow: 0 0 5px var(--accent);
  white-space: pre;
  text-align: center;
  animation: fall linear infinite;
  will-change: transform;
}
.rain .head {
  display: inline-block;
  color: var(--paper);
  text-shadow: 0 0 12px var(--paper), 0 0 20px var(--accent);
  font-weight: 500;
}
.rain .tok { color: var(--accent-soft); letter-spacing: -0.02em; }
@keyframes fall {
  from { transform: translateY(0); }
  to { transform: translateY(220%); }
}

.hero-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
  padding: 90px 24px 60px;
  color: var(--paper);
}

/* Symbole : respiration + rotation du bloc bleu */
.k-symbol {
  opacity: 0;
  animation:
    symbolIn 1s var(--ease) 0.9s forwards,
    symbolBreathe 4s ease-in-out 2s infinite;
}
@keyframes symbolIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes symbolBreathe {
  0%, 100% { filter: drop-shadow(0 0 16px rgba(46, 94, 232, 0.35)); }
  50% { filter: drop-shadow(0 0 38px rgba(46, 94, 232, 0.75)); }
}
.blue-block {
  transform-origin: 36px 36px;
  animation: blockSpin 6s cubic-bezier(.7, 0, .3, 1) 2.5s infinite;
}
@keyframes blockSpin {
  0%, 55% { transform: rotate(0deg); }
  70%, 100% { transform: rotate(90deg); }
}

/* Wordmark : split-text à l'arrivée + sheen métallique en boucle */
.wordmark {
  font-size: clamp(30px, 6vw, 58px);
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.02em;
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
}
.wordmark .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(22px);
  animation: letterIn 0.6s var(--ease) forwards;
}
.wordmark .gap { width: 0.35em; }
@keyframes letterIn {
  to { opacity: 1; transform: translateY(0); }
}
.wordmark.sheen-on {
  background: linear-gradient(110deg,
    #F5F5F5 0%, #F5F5F5 38%,
    #6E96F8 47%, #FFFFFF 50%, #6E96F8 53%,
    #F5F5F5 62%, #F5F5F5 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 4.5s ease-in-out infinite;
}
@keyframes sheen {
  0%, 20% { background-position: 115% 0; }
  60%, 100% { background-position: -55% 0; }
}

.baseline {
  font-size: clamp(13px, 1.6vw, 16px);
  font-style: italic;
  letter-spacing: 0.04em;
  color: rgba(245, 245, 245, 0.88);
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  opacity: 0;
  animation: fadeUp 0.9s ease-out 2.1s forwards;
}
.baseline .dot,
.footer-base .dot {
  color: var(--accent);
  font-style: normal;
  animation: dotBlink 2.2s ease-in-out infinite;
}
@keyframes dotBlink {
  0%, 100% { text-shadow: 0 0 4px var(--accent); opacity: 1; }
  50% { text-shadow: 0 0 16px var(--accent), 0 0 30px var(--accent); opacity: 0.75; }
}

/* CTA hero : bordure lumineuse orbitale */
.cta-orbit {
  position: relative;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--paper);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  isolation: isolate;
  opacity: 0;
  animation: fadeUp 0.9s ease-out 2.4s forwards;
}
.cta-orbit::before {
  content: '';
  position: absolute;
  inset: -60%;
  background: conic-gradient(from 0deg,
    transparent 0deg, transparent 250deg,
    rgba(46, 94, 232, 0.4) 300deg, #2E5EE8 330deg, #9DB9FF 345deg, #2E5EE8 355deg,
    transparent 360deg);
  animation: orbit 3.2s linear infinite;
  z-index: -2;
}
.cta-orbit::after {
  content: '';
  position: absolute;
  inset: 1.5px;
  background: #0E0E11;
  border-radius: 999px;
  z-index: -1;
  transition: background 0.3s ease;
}
.cta-orbit:hover::after { background: #16213E; }
@keyframes orbit { to { transform: rotate(360deg); } }
.cta-orbit .arr { animation: arrNudge 2.4s ease-in-out infinite; }
@keyframes arrNudge {
  0%, 60%, 100% { transform: translateX(0); }
  75% { transform: translateX(5px); }
}

.scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(245, 245, 245, 0.55);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s ease-out 2.8s forwards;
}
.scroll-line {
  width: 1px;
  height: 24px;
  background: linear-gradient(to bottom, rgba(245, 245, 245, 0.55), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.3; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════ SECTIONS LIGHT (base commune) ═══════════ */
.section {
  position: relative;
  background: var(--bg-light);
  overflow: hidden;
  padding: 110px 44px;
}
.section .inner {
  position: relative;
  z-index: 1;
  max-width: 1060px;
  margin: 0 auto;
}
/* Grille de fond qui dérive */
.section-bg {
  position: absolute;
  inset: -60px;
  background-image:
    linear-gradient(rgba(46, 94, 232, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 94, 232, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  animation: drift 16s linear infinite;
  pointer-events: none;
}
@keyframes drift {
  from { transform: translate(0, 0); }
  to { transform: translate(44px, 44px); }
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.title {
  font-size: clamp(32px, 4.6vw, 48px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin-bottom: 16px;
}
.title .accent-em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-soft);
}

.lead {
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(10, 10, 10, 0.55);
  max-width: 560px;
  margin-bottom: 56px;
}

/* Système de reveal au scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════ MÉTHODE — timeline ═══════════ */
.timeline {
  position: relative;
  padding-left: 48px;
  max-width: 720px;
}
.tl-track {
  position: absolute;
  left: 11px; top: 10px; bottom: 10px;
  width: 2px;
  background: rgba(10, 10, 10, 0.08);
  border-radius: 2px;
  overflow: hidden;
}
.tl-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent), var(--accent-soft));
  box-shadow: 0 0 10px rgba(46, 94, 232, 0.5);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 2.4s var(--ease);
}
.timeline.active .tl-fill { transform: scaleY(1); }

.tl-step {
  position: relative;
  padding: 24px 0 24px 8px;
  border-bottom: 1px solid rgba(10, 10, 10, 0.06);
  opacity: 0.3;
  transition: opacity 0.7s ease;
}
.tl-step::before {
  content: '';
  position: absolute;
  left: -43px; top: 30px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 2px solid rgba(10, 10, 10, 0.15);
  transition: all 0.5s ease;
}
.timeline.active .tl-step { opacity: 1; }
.timeline.active .tl-step::before {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(46, 94, 232, 0.15);
}
.timeline.active .tl-step:nth-child(2) { transition-delay: 0.15s; }
.timeline.active .tl-step:nth-child(3) { transition-delay: 0.5s; }
.timeline.active .tl-step:nth-child(4) { transition-delay: 0.85s; }
.timeline.active .tl-step:nth-child(5) { transition-delay: 1.2s; }
.timeline.active .tl-step:nth-child(6) { transition-delay: 1.55s; }
.timeline.active .tl-step:nth-child(7) { transition-delay: 1.9s; }
.timeline.active .tl-step:nth-child(2)::before { transition-delay: 0.15s; }
.timeline.active .tl-step:nth-child(3)::before { transition-delay: 0.5s; }
.timeline.active .tl-step:nth-child(4)::before { transition-delay: 0.85s; }
.timeline.active .tl-step:nth-child(5)::before { transition-delay: 1.2s; }
.timeline.active .tl-step:nth-child(6)::before { transition-delay: 1.55s; }
.timeline.active .tl-step:nth-child(7)::before { transition-delay: 1.9s; }

.tl-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(10, 10, 10, 0.4);
  margin-bottom: 8px;
  font-weight: 500;
}
.tl-name {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.tl-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(10, 10, 10, 0.55);
  max-width: 520px;
}

.cta-row { margin-top: 48px; }

/* CTA light : fond bleu qui glisse */
.cta-sweep {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 28px;
  border: 1px solid rgba(10, 10, 10, 0.4);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--ink);
  background: transparent;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}
.cta-sweep::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease);
  z-index: -1;
}
.cta-sweep:hover::before { transform: translateX(0); }
.cta-sweep:hover {
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* ═══════════ RÉALISATIONS ═══════════ */
.featured {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  background: var(--card);
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 22px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.featured:hover {
  border-color: rgba(46, 94, 232, 0.35);
  box-shadow: 0 0 60px rgba(46, 94, 232, 0.1);
}

.feat-visual {
  padding: 48px 28px;
  background: linear-gradient(135deg, #EDEBE3 0%, #FAFAF7 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  position: relative;
  border-right: 1px solid rgba(10, 10, 10, 0.08);
}
.feat-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(46, 94, 232, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(46, 94, 232, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* iPhone flottant */
.float-phone {
  width: 168px;
  height: 340px;
  background: #000;
  border-radius: 30px;
  border: 5px solid #1A1A1A;
  padding: 5px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  animation: phoneFloat 5.5s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(-1.2deg); box-shadow: 0 24px 44px rgba(0, 0, 0, 0.18); }
  50% { transform: translateY(-14px) rotate(1.2deg); box-shadow: 0 40px 60px rgba(0, 0, 0, 0.12); }
}
.float-phone::before {
  content: '';
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 18px;
  background: #000;
  border-radius: 999px;
  z-index: 3;
}
.phone-screen {
  flex: 1;
  background: #0466E6;
  border-radius: 24px;
  padding: 12px 14px 22px;
  display: flex;
  flex-direction: column;
  color: #FFF;
  position: relative;
  overflow: hidden;
}
/* Reflet qui balaye l'écran */
.phone-screen::after {
  content: '';
  position: absolute;
  top: -50%; left: -80%;
  width: 55%; height: 200%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: rotate(18deg);
  animation: screenSheen 5.5s ease-in-out infinite;
}
@keyframes screenSheen {
  0%, 55% { left: -80%; }
  80%, 100% { left: 140%; }
}
.phone-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  font-weight: 600;
  padding: 0 4px;
}
.phone-battery {
  width: 12px; height: 6px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 1.5px;
  position: relative;
  display: inline-block;
}
.phone-battery::after {
  content: '';
  position: absolute;
  top: 1px; left: 1px;
  width: 5px; height: 3px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 0.5px;
}
.phone-splash {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
}
.logo-splash {
  width: 120px;
  height: auto;
  filter: brightness(0) invert(1);
}
.phone-loader {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #FFF;
  animation: spin 1.1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Plaque logo officiel */
.brand-plate {
  width: 100%;
  max-width: 250px;
  padding: 24px 22px;
  background: #FFF;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.05);
  z-index: 2;
}
.brand-plate::after {
  content: 'LOGO OFFICIEL';
  position: absolute;
  top: -8px; right: 12px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  padding: 2px 7px;
  background: var(--bg-dark);
  color: var(--accent-soft);
  border: 1px solid rgba(46, 94, 232, 0.4);
  border-radius: 3px;
}
.logo-plate { width: 100%; height: auto; display: block; }

.feat-info {
  padding: 38px 34px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.feat-year {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(10, 10, 10, 0.4);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.badge-intl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border: 1px solid rgba(46, 94, 232, 0.35);
  border-radius: 999px;
  font-size: 9px;
  letter-spacing: 0.13em;
  color: var(--accent);
  position: relative;
  overflow: hidden;
}
.badge-intl::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(46, 94, 232, 0.25), transparent);
  animation: badgeSweep 4s ease-in-out infinite;
}
@keyframes badgeSweep {
  0%, 60% { left: -100%; }
  85%, 100% { left: 160%; }
}
.pip {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pipPulse 2s ease-in-out infinite;
}
@keyframes pipPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46, 94, 232, 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(46, 94, 232, 0); }
}

.feat-name {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.feat-sub {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(10, 10, 10, 0.6);
  margin-bottom: 24px;
}

.feat-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid rgba(10, 10, 10, 0.08);
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
  margin-bottom: 24px;
}
.stat-num {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-variant-numeric: tabular-nums;
}
.stat-num .tail { color: var(--accent); font-size: 16px; }
.stat-label {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: rgba(10, 10, 10, 0.5);
  text-transform: uppercase;
  margin-top: 6px;
}

.feat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border: 1px solid rgba(10, 10, 10, 0.15);
  border-radius: 999px;
  color: rgba(10, 10, 10, 0.65);
  background: rgba(10, 10, 10, 0.02);
}
.tag.hot {
  border-color: rgba(46, 94, 232, 0.4);
  color: var(--accent);
  background: rgba(46, 94, 232, 0.06);
}

.feat-meta {
  padding-top: 20px;
  border-top: 1px solid rgba(10, 10, 10, 0.08);
  font-size: 11.5px;
  color: rgba(10, 10, 10, 0.55);
}
.feat-meta strong { color: var(--ink); font-weight: 500; }

.conf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.conf-card {
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 14px;
  padding: 28px 26px 26px;
  background: var(--card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  min-height: 180px;
  transition: border-color 0.4s ease, background 0.4s ease;
}
.conf-card:hover {
  border-color: rgba(10, 10, 10, 0.25);
  background: #F5F3EE;
}
.conf-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  padding: 3px 9px;
  border-radius: 4px;
  width: fit-content;
}
.conf-badge.nda {
  background: rgba(10, 10, 10, 0.06);
  border: 1px solid rgba(10, 10, 10, 0.15);
  color: rgba(10, 10, 10, 0.65);
}
.conf-badge.wip {
  background: rgba(46, 94, 232, 0.08);
  border: 1px solid rgba(46, 94, 232, 0.3);
  color: var(--accent);
}
.pulse {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  animation: pulseFade 1.6s ease-in-out infinite;
}
@keyframes pulseFade {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.conf-title {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.conf-desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(10, 10, 10, 0.55);
}
.conf-year {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: rgba(10, 10, 10, 0.4);
}

/* ═══════════ MANIFESTO ═══════════ */
.mani-line1 {
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: rgba(10, 10, 10, 0.5);
  margin-bottom: 10px;
}
.mani-line1 .colon { color: var(--accent); }

.mani-line2 {
  font-size: clamp(46px, 8vw, 90px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 44px;
}
.flow-word {
  font-style: italic;
  font-weight: 400;
  margin-left: 0.28em;
  background: linear-gradient(90deg, #2E5EE8, #6E96F8, #0A0A0A, #2E5EE8);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: flowGradient 6s linear infinite;
}
@keyframes flowGradient {
  to { background-position: -300% 0; }
}
.mani-line2 .period { color: var(--accent); }

.mani-divider {
  height: 1px;
  max-width: 320px;
  background: linear-gradient(to right, rgba(46, 94, 232, 0.55) 0%, transparent 80%);
  margin-bottom: 44px;
}

.mani-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  max-width: 880px;
  margin-bottom: 56px;
}
.mani-body p {
  font-size: 15.5px;
  line-height: 1.68;
  color: rgba(10, 10, 10, 0.65);
}
.mani-body strong { color: var(--ink); font-weight: 500; }

.mani-sig {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(10, 10, 10, 0.45);
  text-transform: uppercase;
  margin-bottom: 56px;
}
.mani-sig::before {
  content: '';
  width: 32px;
  height: 1px;
  background: rgba(10, 10, 10, 0.35);
}

.marquee {
  overflow: hidden;
  border-top: 1px solid rgba(10, 10, 10, 0.07);
  padding-top: 20px;
  white-space: nowrap;
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.marquee-inner {
  display: inline-block;
  animation: marquee 22s linear infinite;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(10, 10, 10, 0.25);
  text-transform: uppercase;
}
.marquee-inner em {
  font-style: normal;
  color: rgba(46, 94, 232, 0.55);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══════════ CONTACT ═══════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}

.c-form {
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.field { position: relative; }
.field-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.45);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}
.field-label::before {
  content: attr(data-num);
  color: var(--accent);
  font-weight: 500;
}
.field.focused .field-label { color: var(--accent); }

.field-input,
.field-select {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(10, 10, 10, 0.18);
  padding: 8px 0 12px;
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  letter-spacing: -0.005em;
  outline: none;
  width: 100%;
  resize: none;
  border-radius: 0;
}
.field-input::placeholder { color: rgba(10, 10, 10, 0.28); }
.field-textarea { min-height: 96px; line-height: 1.55; }
.field-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'><path d='M1 1l5 5 5-5' stroke='%230A0A0A' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 26px;
  cursor: pointer;
}
.field-select:invalid { color: rgba(10, 10, 10, 0.28); }

.field-bar {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(to right, var(--accent), var(--accent-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
  pointer-events: none;
}
.field.focused .field-bar { transform: scaleX(1); }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(10, 10, 10, 0.6);
  cursor: pointer;
}
.consent input {
  margin-top: 2px;
  width: 15px;
  height: 15px;
  accent-color: var(--accent);
  flex-shrink: 0;
  cursor: pointer;
}
.consent a { color: var(--accent); }

.form-status {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--accent);
  min-height: 18px;
}

.c-info {
  display: flex;
  flex-direction: column;
  gap: 38px;
  padding: 34px 30px;
  background: var(--card);
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 14px;
}
.info-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.45);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.info-label::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.info-link {
  font-size: 16.5px;
  color: var(--ink);
  letter-spacing: -0.005em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s ease;
}
.info-link:hover { color: var(--accent); }
.info-meta {
  padding-top: 24px;
  border-top: 1px solid rgba(10, 10, 10, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(10, 10, 10, 0.55);
}
.dot-pulse {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pipPulse 2s ease-in-out infinite;
}

/* ═══════════ FOOTER ═══════════ */
.footer {
  background: var(--bg-dark);
  color: var(--paper);
  padding: 60px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 600;
}
.footer-base {
  font-size: 13px;
  font-style: italic;
  color: rgba(245, 245, 245, 0.7);
}
.footer-legal {
  font-size: 11px;
  color: rgba(245, 245, 245, 0.35);
  margin-top: 12px;
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 860px) {
  .section { padding: 70px 24px; }
  .featured { grid-template-columns: 1fr; }
  .feat-visual { border-right: none; border-bottom: 1px solid rgba(10, 10, 10, 0.08); }
  .conf-row { grid-template-columns: 1fr; }
  .mani-body { grid-template-columns: 1fr; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .feat-stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .nav { padding: 14px 20px; }
}

/* ═══════════ REDUCED MOTION ═══════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .nav { transform: translateY(0); }
  .k-symbol, .baseline, .cta-orbit, .scroll-hint { opacity: 1; }
  .wordmark .letter { opacity: 1; transform: none; }
  .timeline .tl-fill { transform: scaleY(1); }
  .timeline .tl-step { opacity: 1; }
}

/* ═══════════ FOOTER — liens légaux ═══════════ */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 8px;
}
.footer-links a {
  font-size: 11.5px;
  color: rgba(245, 245, 245, 0.55);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--accent-soft); }

/* ═══════════ BANNIÈRE COOKIES / VIE PRIVÉE ═══════════ */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(140%);
  z-index: 300;
  width: min(560px, calc(100vw - 32px));
  background: var(--bg-dark);
  color: var(--paper);
  border: 1px solid rgba(46, 94, 232, 0.4);
  border-radius: 12px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transition: transform 0.6s var(--ease);
}
.cookie-banner.show { transform: translateX(-50%) translateY(0); }
.cookie-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(245, 245, 245, 0.75);
  flex: 1;
}
.cookie-text a { color: var(--accent-soft); text-decoration: underline; }
.cookie-ok {
  flex-shrink: 0;
  padding: 9px 18px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-family: inherit;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}
.cookie-ok:hover { transform: translateY(-1px); background: #2450CC; }
@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: left; }
}

/* Honeypot anti-spam (invisible aux humains) */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ═══════════ PAGES LÉGALES ═══════════ */
.legal-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}
.legal-nav .nav-brand { color: var(--ink); }
.legal-nav .nav-brand svg rect:not([fill]) { fill: #0A0A0A; }
.legal-back {
  font-size: 12px;
  color: rgba(10, 10, 10, 0.6);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}
.legal-back:hover { color: var(--accent); }

.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 70px 32px 90px;
}
.legal-eyebrow {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.legal-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.legal h1 {
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 14px;
}
.legal-updated {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(10, 10, 10, 0.4);
  margin-bottom: 48px;
}
.legal h2 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 44px 0 14px;
  color: var(--ink);
}
.legal h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 26px 0 8px;
  color: var(--ink);
}
.legal p,
.legal li {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(10, 10, 10, 0.72);
  margin-bottom: 14px;
}
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--accent); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal .todo {
  background: rgba(46, 94, 232, 0.08);
  border: 1px dashed rgba(46, 94, 232, 0.5);
  color: var(--accent);
  padding: 1px 7px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.legal-note {
  margin: 40px 0;
  padding: 18px 20px;
  background: rgba(10, 10, 10, 0.03);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(10, 10, 10, 0.6);
}
@media (max-width: 560px) {
  .legal-nav { padding: 14px 20px; }
  .legal { padding: 50px 20px 70px; }
}
