/* ═══════════════════════════════════════════════════════
   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: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Fond sombre FIXE derrière le Matrix — ne bouge pas au scroll */
.matrix-backdrop {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 0;
}

/* Matrix FIXE : il s'anime sur place, le contenu défile par-dessus,
   les sections claires le recouvrent en remontant */
.rain {
  position: fixed;
  inset: 0;
  z-index: 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(21px, 6vw, 58px);
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1;
  display: flex;
  flex-wrap: nowrap; /* jamais de retour à la ligne : une seule ligne sur tous les écrans */
  white-space: nowrap;
  justify-content: center;
  gap: 0.02em;
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
}
@media (max-width: 560px) {
  .wordmark { letter-spacing: 0.1em; } /* resserre les lettres sur smartphone pour tenir en une ligne */
}
.wordmark .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(22px);
  animation: letterIn 0.6s var(--ease) forwards;
}
/* Lettres en cours de décodage : teintées bleu, comme les caractères Matrix */
.wordmark .letter.scr { color: var(--accent-soft); }
.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 dédiée : conserve le translateX(-50%) pour rester centré */
  animation: scrollHintIn 1s ease-out 2.8s forwards;
}
@keyframes scrollHintIn {
  from { opacity: 0; transform: translate(-50%, 14px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.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;
  z-index: 1; /* passe au-dessus du Matrix fixe et le recouvre en remontant */
  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);
}

/* ═══════════ SUR MESURE — L'ARBRE INTERACTIF ═══════════ */
.title .tdot { color: var(--accent); }

.tree { max-width: 880px; margin: 0 auto; }

.seed { display: flex; justify-content: center; }
.seed-node {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px;
  background: var(--bg-dark); color: var(--paper);
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  box-shadow: 0 8px 28px rgba(10, 10, 10, 0.18);
  transition: background 0.5s ease, box-shadow 0.5s ease;
}
.seed-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: pipPulse 2s ease-in-out infinite;
  transition: background 0.5s ease;
}
/* Boucle bouclée : la graine devient l'application */
.seed-node.done {
  background: var(--accent);
  box-shadow: 0 0 34px rgba(46, 94, 232, 0.55);
  animation: seedDone 0.6s var(--ease);
}
.seed-node.done .seed-dot { background: #fff; }
@keyframes seedDone {
  0% { transform: scale(1); }
  40% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.tree-svg { display: block; width: 100%; height: 130px; }
.branch-path {
  fill: none; stroke: rgba(46, 94, 232, 0.35); stroke-width: 2;
  stroke-dasharray: 600; stroke-dashoffset: 600;
}
.tree.grown .p-trunk { animation: treeDraw 1.1s ease-out 0.2s forwards; }
.tree.grown .p-left  { animation: treeDraw 1.1s ease-out 0.7s forwards; }
.tree.grown .p-mid   { animation: treeDraw 1.1s ease-out 0.85s forwards; }
.tree.grown .p-right { animation: treeDraw 1.1s ease-out 1.0s forwards; }
@keyframes treeDraw { to { stroke-dashoffset: 0; } }

.flow-path {
  fill: none; stroke: var(--accent); stroke-width: 2.5;
  stroke-dasharray: 7 11; stroke-linecap: round;
  opacity: 0; transition: opacity 0.3s ease;
}
.flow-path.on { opacity: 1; animation: flowMove 0.9s linear infinite; }
@keyframes flowMove { to { stroke-dashoffset: -18; } }

.tree-nodes { position: relative; height: 96px; }
.tree-guides { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.guide-path {
  fill: none; stroke: var(--accent); stroke-width: 2;
  stroke-dasharray: 4 9; stroke-linecap: round;
  opacity: 0; transition: opacity 0.6s ease;
}
.guide-path.on { opacity: 0.85; animation: flowMove 0.8s linear infinite; }

.tnode {
  position: absolute; top: 0; transform: translateX(-50%);
  padding: 14px 24px;
  background: #FFFFFF;
  border: 1.5px solid rgba(10, 10, 10, 0.18);
  border-radius: 999px;
  font-family: inherit; font-size: 14.5px; font-weight: 600;
  color: var(--ink);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s ease, transform 0.3s ease, color 0.3s ease, background 0.3s ease;
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  z-index: 2;
}
.tnode small {
  display: block; font-size: 11px; font-weight: 600;
  color: rgba(10, 10, 10, 0.6); letter-spacing: 0.06em;
  text-transform: uppercase; margin-top: 3px;
  transition: color 0.3s ease;
}
.tnode:nth-of-type(1) { left: 18%; }
.tnode:nth-of-type(2) { left: 50%; }
.tnode:nth-of-type(3) { left: 82%; }
.tree.grown .tnode:nth-of-type(1) { animation: tnodeIn 0.6s var(--ease) 1.6s forwards; }
.tree.grown .tnode:nth-of-type(2) { animation: tnodeIn 0.6s var(--ease) 1.75s forwards; }
.tree.grown .tnode:nth-of-type(3) { animation: tnodeIn 0.6s var(--ease) 1.9s forwards; }
@keyframes tnodeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.tnode:hover { border-color: var(--accent); transform: translateX(-50%) translateY(-2px); }

/* Prochaine branche à cliquer : balayage lumineux sur les LETTRES du sous-titre */
.tnode.next small {
  background: linear-gradient(110deg,
    rgba(10, 10, 10, 0.6) 0%, rgba(10, 10, 10, 0.6) 36%,
    var(--accent) 46%, #7FA4FF 50%, var(--accent) 54%,
    rgba(10, 10, 10, 0.6) 64%, rgba(10, 10, 10, 0.6) 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: letterSweep 2.4s ease-in-out infinite;
}
@keyframes letterSweep {
  0%, 15% { background-position: 115% 0; }
  70%, 100% { background-position: -60% 0; }
}

/* Branche visitée : reste bleue, calme */
.tnode.visited {
  background: rgba(46, 94, 232, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}
.tnode.visited small { color: rgba(46, 94, 232, 0.7); }

/* Branche active : lumière orbitale (comme le CTA du hero) */
.tnode.active { color: #fff; border-color: transparent; background: transparent; }
.tnode.active small { color: rgba(255, 255, 255, 0.8); }
.tnode.active::before {
  content: '';
  position: absolute; inset: -150%;
  background: conic-gradient(from 0deg,
    transparent 0deg, transparent 250deg,
    rgba(157, 185, 255, 0.5) 300deg, #9DB9FF 330deg, #FFFFFF 345deg, #9DB9FF 355deg,
    transparent 360deg);
  animation: orbit 3.2s linear infinite;
  z-index: -2;
}
.tnode.active::after {
  content: '';
  position: absolute; inset: 2px;
  background: var(--accent);
  border-radius: 999px;
  z-index: -1;
}

.tree-hint {
  margin-top: 22px; text-align: center;
  font-size: 12.5px; font-style: italic;
  color: rgba(10, 10, 10, 0.4);
}
.tree-panel {
  margin-top: 16px;
  background: var(--card);
  border: 1px solid rgba(10, 10, 10, 0.1);
  border-radius: 14px;
  padding: 30px 32px;
  min-height: 200px;
}
.tp-title {
  font-size: 19px; font-weight: 600; letter-spacing: -0.01em;
  margin-bottom: 6px;
  font-variant-ligatures: none;
  min-height: 24px;
}
.tp-title .scr { color: var(--accent); }
.tp-body { opacity: 0; transform: translateY(6px); transition: opacity 0.45s ease, transform 0.45s ease; }
.tp-body.in { opacity: 1; transform: translateY(0); }
.tp-sub { font-size: 13px; color: var(--accent); font-weight: 500; margin-bottom: 18px; }
.tp-list { list-style: none; padding: 0; margin: 0 0 16px; }
.tp-list li {
  font-size: 14px; line-height: 1.6; color: rgba(10, 10, 10, 0.7);
  padding-left: 22px; position: relative; margin-bottom: 8px;
}
.tp-list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 2px; background: var(--accent);
}
.tp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tp-chip {
  font-family: var(--mono);
  font-size: 11px; padding: 7px 13px; border-radius: 999px;
  border: 1px solid rgba(46, 94, 232, 0.35);
  color: var(--accent); background: rgba(46, 94, 232, 0.05);
}
.tp-chip.more { border-style: dashed; color: rgba(10, 10, 10, 0.5); border-color: rgba(10, 10, 10, 0.3); background: transparent; }
/* Distinction honnête : inclus dans les 2 990 € vs en option */
.tp-group-h {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 8px;
}
.tp-group-h.inc { color: var(--accent); }
.tp-group-h.opt { color: rgba(10, 10, 10, 0.45); margin-top: 14px; }
.tp-chip.inc::before { content: '✓'; margin-right: 6px; font-weight: 700; }
.tp-chip.opt {
  border-style: dashed;
  border-color: rgba(10, 10, 10, 0.3);
  color: rgba(10, 10, 10, 0.55);
  background: transparent;
}
.tp-note {
  font-size: 13px; font-style: italic; color: rgba(10, 10, 10, 0.55);
  border-left: 3px solid var(--accent); padding: 6px 0 6px 14px;
}
@media (max-width: 720px) {
  .tnode { padding: 11px 14px; font-size: 12.5px; }
  .tnode small { font-size: 9.5px; }
}
@media (max-width: 480px) {
  .tnode { padding: 9px 10px; font-size: 11px; }
  .tnode small { font-size: 8px; letter-spacing: 0.03em; }
  .tree-panel { padding: 22px 18px; }
}

/* ═══════════ SUR MESURE — bloc tarif ═══════════ */
.tarif { margin-top: 88px; }
.tarif-h {
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 12px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s);
}
.tarif-h.is-in { opacity: 1; transform: translateY(0); }
.tarif-h b { font-weight: 600; }
.tarif-h .up { text-transform: uppercase; }
.tarif .lead strong { color: var(--ink); }

.pcard {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(10, 10, 10, 0.1);
  box-shadow: 0 24px 60px rgba(10, 10, 10, 0.08);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.pcard.in { opacity: 1; transform: translateY(0); }

.pprice {
  background: var(--bg-dark);
  color: var(--paper);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.pglow {
  position: absolute;
  top: -40%; right: -30%;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 94, 232, 0.5), transparent 70%);
  filter: blur(20px);
  animation: pglowBreathe 4s ease-in-out infinite;
}
@keyframes pglowBreathe {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.18); }
}
.pprice-lead {
  position: relative;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.55);
  margin-bottom: 6px;
}
.pprice-num {
  position: relative;
  font-size: clamp(46px, 7vw, 62px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.pprice-num .cur { color: var(--accent-soft); }
.pprice-sub {
  position: relative;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(245, 245, 245, 0.55);
  margin-top: 14px;
}
.pcta {
  position: relative;
  margin-top: 26px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.2s ease;
}
.pcta::before {
  content: '';
  position: absolute;
  inset: -150%;
  background: conic-gradient(from 0deg,
    transparent 0deg, transparent 250deg,
    rgba(157, 185, 255, 0.5) 300deg, #9DB9FF 330deg, #FFFFFF 345deg, #9DB9FF 355deg,
    transparent 360deg);
  animation: orbit 3.2s linear infinite;
  z-index: -2;
}
.pcta::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--accent);
  border-radius: 999px;
  z-index: -1;
}
.pcta:hover { transform: translateY(-2px); }
.pguarantee {
  position: relative;
  margin-top: 16px;
  font-size: 11.5px;
  color: rgba(245, 245, 245, 0.45);
}

.pincl { background: var(--card); padding: 38px 34px; }
.pincl-h {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}
.pinc-list { list-style: none; padding: 0; margin: 0 0 22px; }
.pinc-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(10, 10, 10, 0.8);
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease);
}
.pcard.in .pinc-list li { opacity: 1; transform: translateX(0); }
.pcard.in .pinc-list li:nth-child(1) { transition-delay: 0.25s; }
.pcard.in .pinc-list li:nth-child(2) { transition-delay: 0.35s; }
.pcard.in .pinc-list li:nth-child(3) { transition-delay: 0.45s; }
.pcard.in .pinc-list li:nth-child(4) { transition-delay: 0.55s; }
.pcard.in .pinc-list li:nth-child(5) { transition-delay: 0.65s; }
.pcard.in .pinc-list li:nth-child(6) { transition-delay: 0.75s; }
.pcard.in .pinc-list li:nth-child(7) { transition-delay: 0.85s; }
.pcard.in .pinc-list li:nth-child(8) { transition-delay: 0.95s; }
.pcard.in .pinc-list li:nth-child(9) { transition-delay: 1.05s; }
.pinc-list li strong { color: var(--ink); font-weight: 600; }
.pcheck {
  position: absolute;
  left: 0; top: 1px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: rgba(46, 94, 232, 0.12);
  display: grid;
  place-items: center;
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.pcard.in .pinc-list li .pcheck { transform: scale(1); }
.pcard.in .pinc-list li:nth-child(1) .pcheck { transition-delay: 0.35s; }
.pcard.in .pinc-list li:nth-child(2) .pcheck { transition-delay: 0.45s; }
.pcard.in .pinc-list li:nth-child(3) .pcheck { transition-delay: 0.55s; }
.pcard.in .pinc-list li:nth-child(4) .pcheck { transition-delay: 0.65s; }
.pcard.in .pinc-list li:nth-child(5) .pcheck { transition-delay: 0.75s; }
.pcard.in .pinc-list li:nth-child(6) .pcheck { transition-delay: 0.85s; }
.pcard.in .pinc-list li:nth-child(7) .pcheck { transition-delay: 0.95s; }
.pcard.in .pinc-list li:nth-child(8) .pcheck { transition-delay: 1.05s; }
.pcard.in .pinc-list li:nth-child(9) .pcheck { transition-delay: 1.15s; }
.pcheck svg { width: 11px; height: 11px; }

.phighlight {
  position: relative;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 22px;
  background: rgba(46, 94, 232, 0.06);
  font-size: 13px;
  line-height: 1.55;
  color: rgba(10, 10, 10, 0.7);
}
.phighlight b { color: var(--accent); }
.ants {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.ants rect {
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  fill: none;
  stroke: rgba(46, 94, 232, 0.45);
  stroke-width: 1.5;
  stroke-dasharray: 5 8;
  animation: flowMove 1.4s linear infinite;
}
.popt-h {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.45);
  font-weight: 600;
  margin-bottom: 10px;
}
.popts { display: flex; flex-wrap: wrap; gap: 7px; }
.popt {
  font-family: var(--mono);
  font-size: 10.5px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(10, 10, 10, 0.18);
  color: rgba(10, 10, 10, 0.6);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.pcard.in .popt { opacity: 1; transform: translateY(0); }
.pcard.in .popt:nth-child(1) { transition-delay: 1.0s; }
.pcard.in .popt:nth-child(2) { transition-delay: 1.08s; }
.pcard.in .popt:nth-child(3) { transition-delay: 1.16s; }
.pcard.in .popt:nth-child(4) { transition-delay: 1.24s; }
.pcard.in .popt:nth-child(5) { transition-delay: 1.32s; }
.pcard.in .popt:nth-child(6) { transition-delay: 1.4s; }

@media (max-width: 760px) {
  .pcard { grid-template-columns: 1fr; }
  .pprice { padding: 34px 26px; }
  .pincl { padding: 30px 24px; }
}

/* ═══════════ MÉTHODE — timeline interactive ═══════════ */
.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: 0;
  background: linear-gradient(to bottom, var(--accent), var(--accent-soft));
  box-shadow: 0 0 10px rgba(46, 94, 232, 0.5);
  transition: height 0.7s var(--ease);
}
/* Teaser : une lueur parcourt le 1er segment tant qu'on n'a pas cliqué */
.tl-tease {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 15%;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  opacity: 0;
}
.timeline.active .tl-tease { animation: tlTease 2.4s ease-in-out infinite 0.8s; }
.timeline.clicked .tl-tease { animation: none; opacity: 0; }
@keyframes tlTease {
  0%, 100% { transform: translateY(-70%); opacity: 0; }
  50% { transform: translateY(150%); opacity: 1; }
}

.tl-step {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  position: relative;
  padding: 22px 36px 22px 8px;
  border-bottom: 1px solid rgba(10, 10, 10, 0.06);
  opacity: 0.3;
  cursor: pointer;
  transition: opacity 0.7s ease, background 0.3s ease;
}
/* Chevron : signale que l'étape est cliquable */
.tl-step::after {
  content: '';
  position: absolute;
  right: 12px; top: 38px;
  width: 8px; height: 8px;
  border-right: 2px solid rgba(10, 10, 10, 0.35);
  border-bottom: 2px solid rgba(10, 10, 10, 0.35);
  transform: rotate(45deg);
  transition: transform 0.35s ease, border-color 0.3s ease;
}
.tl-step:hover { background: linear-gradient(90deg, rgba(46, 94, 232, 0.05), transparent 70%); }
.tl-step:hover::after { border-color: var(--accent); }
.tl-step:hover .tl-name { color: var(--accent); }
.tl-step.open::after {
  transform: rotate(225deg) translate(-3px, -3px);
  border-color: var(--accent);
}
.tl-step::before {
  content: '';
  position: absolute;
  left: -43px; top: 28px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 2px solid rgba(10, 10, 10, 0.2);
  transition: all 0.4s ease;
}
.timeline.active .tl-step { opacity: 1; }
.timeline.active .tl-step:nth-child(2) { transition-delay: 0.15s; }
.timeline.active .tl-step:nth-child(3) { transition-delay: 0.3s; }
.timeline.active .tl-step:nth-child(4) { transition-delay: 0.45s; }
.timeline.active .tl-step:nth-child(5) { transition-delay: 0.6s; }
.timeline.active .tl-step:nth-child(6) { transition-delay: 0.75s; }
.timeline.active .tl-step:nth-child(7) { transition-delay: 0.9s; }

.tl-step.open::before {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(46, 94, 232, 0.15);
}

.tl-num {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(10, 10, 10, 0.4);
  margin-bottom: 8px;
  font-weight: 500;
  transition: color 0.3s ease;
}
.tl-step.open .tl-num { color: var(--accent); }
.tl-name {
  display: block;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.3s ease;
}
.tl-detail {
  display: block;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.tl-desc {
  display: block;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(10, 10, 10, 0.55);
  max-width: 520px;
  padding-top: 10px;
}

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

/* ═══════════ ENGAGEMENTS ═══════════ */
.eng-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.eng-card {
  background: var(--card);
  border: 1px solid rgba(10, 10, 10, 0.1);
  border-radius: 14px;
  padding: 30px 28px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.eng-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 16px 40px rgba(46, 94, 232, 0.1);
}
.eng-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 14px;
}
.eng-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.eng-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(10, 10, 10, 0.6);
}
@media (max-width: 720px) {
  .eng-grid { grid-template-columns: 1fr; }
}

/* ═══════════ RÉALISATIONS — stores ═══════════ */
.feat-stores {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.store-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.store-pill svg { width: 11px; height: 11px; }
.store-note {
  font-size: 11.5px;
  color: rgba(10, 10, 10, 0.5);
  font-style: italic;
}

/* ═══════════ CONTACT — libellé optionnel ═══════════ */
.lbl-opt {
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 400;
  color: rgba(10, 10, 10, 0.4);
}

/* 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 {
  position: relative;
  z-index: 1; /* au-dessus du Matrix fixe */
  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-step { opacity: 1; }
  .branch-path { stroke-dashoffset: 0; }
  .tnode { 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; }
}
