/* ════════════════════════════════════════════════════════════════
   ANGORA SOLUTIONS — STYLE.CSS
   Système Blueprint · v1.0 · REV.01 · 2026/04/29
   ════════════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════════════════════
   01 · TOKENS
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* === Colors === */
  --plan:          #0F1E3D;   /* Fond principal navy plan d'architecte */
  --plan-rgb:      15, 30, 61;
  --cream:         #F5F0E6;   /* Texte sur Plan, fond papier */
  --cream-rgb:     245, 240, 230;
  --cote:          #E63946;   /* Accent unique — CTA, dimensions, focus */
  --cote-rgb:      230, 57, 70;
  --cote-deep:     #C72734;   /* Cote pressed/active state */

  --surface:       #142847;   /* Cartes sur fond Plan */
  --surface-up:    #1A305A;   /* Surface élevée */
  --surface-dim:   #0A1530;   /* Header/Footer encore plus foncé */

  --border:        #2A3F66;   /* Séparateurs sur Plan */
  --border-paper:  rgba(15, 30, 61, 0.12);  /* Séparateurs sur Cream */

  --muted:         #8FA3C7;   /* Texte secondaire sur Plan */
  --muted-paper:   #5A6B85;   /* Texte secondaire sur Cream */

  /* === Type === */
  --font-sans: 'IBM Plex Sans', -apple-system, system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* === Layout === */
  --container-max: 1320px;
  --container-px:  clamp(20px, 4vw, 56px);
  --nav-h:         72px;
  --nav-h-scrolled: 56px;
  --grid-size:     40px;

  /* === Motion === */
  --ease-out:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1);
  --speed-fast:    0.18s;
  --speed:         0.32s;
  --speed-slow:    0.6s;
}


/* ═══════════════════════════════════════════════════════════════
   02 · RESET & BASE
   ═══════════════════════════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--plan);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0.005em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'kern';
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  text-decoration-skip-ink: auto;
}

button {
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
}

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

::selection {
  background: var(--cote);
  color: var(--cream);
}

:focus-visible {
  outline: 2px solid var(--cote);
  outline-offset: 4px;
  border-radius: 1px;
}


/* ═══════════════════════════════════════════════════════════════
   03 · TYPOGRAPHIE — utilitaires
   ═══════════════════════════════════════════════════════════════ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.eyebrow-rule {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--cote);
}

.tag-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}


/* ═══════════════════════════════════════════════════════════════
   04 · COMPONENTS — Boutons
   ═══════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  transition:
    background var(--speed-fast) var(--ease-out),
    color var(--speed-fast) var(--ease-out),
    border-color var(--speed-fast) var(--ease-out),
    transform var(--speed-fast) var(--ease-out);
}

.btn-arrow {
  display: inline-block;
  transition: transform var(--speed-fast) var(--ease-out);
}
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--cote);
  color: var(--cream);
  border-color: var(--cote);
}
.btn-primary:hover {
  background: var(--cote-deep);
  border-color: var(--cote-deep);
}

.btn-ghost {
  border-color: rgba(var(--cream-rgb), 0.4);
  color: var(--cream);
}
.btn-ghost:hover {
  border-color: var(--cream);
  background: rgba(var(--cream-rgb), 0.06);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 13px;
}


/* ═══════════════════════════════════════════════════════════════
   05 · NAV
   ═══════════════════════════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  padding: 0 var(--container-px);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    height var(--speed) var(--ease-out),
    background var(--speed) var(--ease-out),
    border-color var(--speed) var(--ease-out),
    backdrop-filter var(--speed) var(--ease-out);
}

.nav[data-state="scrolled"] {
  height: var(--nav-h-scrolled);
  background: rgba(var(--plan-rgb), 0.86);
  border-bottom-color: var(--border);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
}

/* Brand */
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  letter-spacing: -0.02em;
  transition: opacity var(--speed-fast) var(--ease-out);
}
.nav-brand:hover { opacity: 0.85; }

.nav-mark {
  width: 26px;
  height: 26px;
  flex: none;
  color: var(--cream);
}

.nav-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.nav-name {
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.nav-slash {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  color: var(--cote);
  letter-spacing: 0;
}

/* Links */
.nav-links {
  display: flex;
  gap: 34px;
  justify-self: center;
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 2px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  transition: color var(--speed-fast) var(--ease-out);
}
.nav-link:hover { color: var(--cream); }
.nav-link-num {
  font-size: 9px;
  color: var(--cote);
  letter-spacing: 0.15em;
  opacity: 0.7;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--cote);
  transition: right var(--speed) var(--ease-out);
}
.nav-link:hover::after { right: 0; }

.nav-cta { justify-self: end; }

.nav-burger {
  display: none;
  width: 28px;
  height: 28px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  transition: transform var(--speed-fast), opacity var(--speed-fast);
}

@media (max-width: 900px) {
  .nav {
    grid-template-columns: auto 1fr auto;
  }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; justify-self: end; }
}


/* ═══════════════════════════════════════════════════════════════
   05b · MOBILE OVERLAY MENU
   ═══════════════════════════════════════════════════════════════ */

/* Lock body scroll when menu is open */
body.nav-open { overflow: hidden; }

/* Overlay — fullscreen fixed */
.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(15, 30, 61, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}
.nav-mobile-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* Panel — centered links column */
.nav-mobile-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px;
}

/* Individual links */
.nav-mobile-link {
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 600;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: -0.02em;
  padding: 12px 24px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), color 0.2s;
}
.nav-mobile-link:hover,
.nav-mobile-link:focus-visible {
  color: var(--cote);
}

/* CTA in overlay */
.nav-mobile-cta {
  margin-top: 16px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

/* Stagger animation when overlay opens */
.nav-mobile-overlay.is-open .nav-mobile-link,
.nav-mobile-overlay.is-open .nav-mobile-cta {
  opacity: 1;
  transform: none;
}
.nav-mobile-overlay.is-open .nav-mobile-link:nth-child(1) { transition-delay: 0.06s; }
.nav-mobile-overlay.is-open .nav-mobile-link:nth-child(2) { transition-delay: 0.12s; }
.nav-mobile-overlay.is-open .nav-mobile-link:nth-child(3) { transition-delay: 0.18s; }
.nav-mobile-overlay.is-open .nav-mobile-link:nth-child(4) { transition-delay: 0.24s; }
.nav-mobile-overlay.is-open .nav-mobile-link:nth-child(5) { transition-delay: 0.30s; }
.nav-mobile-overlay.is-open .nav-mobile-cta { transition-delay: 0.36s; }

/* Burger → X animation */
.nav-burger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-burger.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-burger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Hide overlay on desktop */
@media (min-width: 901px) {
  .nav-mobile-overlay { display: none !important; }
}


/* ═══════════════════════════════════════════════════════════════
   06 · HERO
   ═══════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 56px) var(--container-px) 80px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* === Backgrounds === */
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  object-fit: cover;
  object-position: 100% 50%;  /* Aligne le sujet (main/cube) sur le bord droit */
  /* Filtre subtil contraste/saturation pour booster la perception de netteté */
  filter: contrast(1.05) saturate(1.06);
}
.hero-media-poster {
  z-index: -1;
  transition: opacity 0.6s var(--ease-out);
}

#hero-canvas { background: var(--plan); }
#hero-poster { /* Affiché tant que le canvas n'a pas dessiné sa première frame */ }

.is-hidden { display: none !important; }

/* === Voile asymétrique === */
.hero-voile {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    /* Voile horizontal — foncé à gauche, transparent à droite */
    linear-gradient(
      90deg,
      rgba(var(--plan-rgb), 0.94) 0%,
      rgba(var(--plan-rgb), 0.84) 35%,
      rgba(var(--plan-rgb), 0.50) 65%,
      rgba(var(--plan-rgb), 0.18) 100%
    ),
    /* Voile vertical — fond bas légèrement plus foncé */
    linear-gradient(
      180deg,
      rgba(var(--plan-rgb), 0.18) 0%,
      transparent 30%,
      transparent 70%,
      rgba(var(--plan-rgb), 0.55) 100%
    );
}

/* === Coordonnées en haut du hero === */
.hero-coords {
  position: absolute;
  top: calc(var(--nav-h) + 28px);
  left: var(--container-px);
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 3;
  opacity: 0;
  animation: hero-coords-in 0.7s var(--ease-out) 0.05s both;
}
@keyframes hero-coords-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}

.hero-coord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-coord-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--cote);
  box-shadow: 0 0 0 3px rgba(var(--cote-rgb), 0.18);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
.hero-coord-sep {
  width: 1px;
  height: 12px;
  background: var(--border);
  opacity: 0.7;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(var(--cote-rgb), 0.18); }
  50%      { box-shadow: 0 0 0 6px rgba(var(--cote-rgb), 0.06); }
}

/* === Loader === */
.hero-loader {
  position: absolute;
  bottom: 28px;
  right: var(--container-px);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 3;
  transition: opacity var(--speed) var(--ease-out);
}
.hero-loader.is-done {
  opacity: 0;
  pointer-events: none;
}
.hero-loader-bar {
  position: relative;
  display: inline-block;
  width: 120px;
  height: 1px;
  background: rgba(var(--cream-rgb), 0.16);
  overflow: hidden;
}
.hero-loader-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: var(--cote);
  transition: width var(--speed-fast) linear;
}

/* === Content (colonne gauche) === */
.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  max-width: 60%;
}

@media (max-width: 1024px) {
  .hero-content { max-width: 100%; }
}

/* Eyebrow */
.eyebrow-anim {
  opacity: 0;
  animation: hero-fade-up 0.7s var(--ease-out) 0s both;
}

/* Titre */
.hero-title {
  position: relative;
  margin-top: 24px;
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--cream);
  font-weight: 300;
}
.hero-title-line {
  display: block;
  opacity: 0;
}
.hero-title-anim {
  animation: hero-title-up 0.8s var(--ease-out) var(--anim-delay, 0ms) both;
}
.hero-title-light {
  font-weight: 300;
  color: rgba(var(--cream-rgb), 0.72);
}
.hero-title-stop {
  color: var(--cote);
  margin-left: -0.02em;
}
.hero-title-end {
  font-weight: 500;
  color: var(--cream);
  margin-top: 4px;
}

@keyframes hero-title-up {
  from { opacity: 0; transform: translateY(18px); filter: blur(2px); }
  to   { opacity: 1; transform: none; filter: none; }
}

/* ═══ Cote décorative au-dessus du H1 ═══ */
.hero-title-cote-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--cote);
  text-transform: uppercase;
}
.hero-title-cote-line {
  flex: 0 0 auto;
  width: 32px;
  height: 1px;
  background: var(--cote);
}
.hero-title-cote-line:first-child {
  width: 24px;
}
.hero-title-cote-line:last-child {
  flex: 1;
  max-width: 180px;
}
.hero-title-cote-tag { white-space: nowrap; }

/* ═══ Cote décorative en bas du H1 (cote dimensionnelle blueprint) ═══ */
.hero-title-cote-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--cote);
  text-transform: uppercase;
}
.hero-title-cote-bracket-l,
.hero-title-cote-bracket-r {
  position: relative;
  flex: 1;
  max-width: 80px;
  height: 8px;
}
.hero-title-cote-bracket-l {
  border-left: 1px solid var(--cote);
  border-bottom: 1px solid var(--cote);
}
.hero-title-cote-bracket-r {
  border-right: 1px solid var(--cote);
  border-bottom: 1px solid var(--cote);
}
.hero-title-cote-bottom-tag { white-space: nowrap; }


/* ═══ Word rotator (kinetic typography) ═══ */
.hero-rotator {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
  color: var(--cote);
  font-weight: 700;
  /* Empêche le shift de layout : hauteur fixe sur la ligne */
  min-height: 1em;
}
.hero-rotator-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(8px) skewX(-2deg);
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  transition:
    opacity 0.45s var(--ease-out),
    transform 0.5s var(--ease-out),
    filter 0.5s var(--ease-out);
  filter: blur(4px);
}
.hero-rotator-word.is-active {
  opacity: 1;
  transform: none;
  filter: none;
  position: relative;
}

/* Petit accent pulse sur le mot actif */
.hero-rotator-word.is-active::after {
  content: '';
  display: inline-block;
  width: 0.08em;
  height: 0.85em;
  background: var(--cote);
  margin-left: 0.08em;
  vertical-align: text-top;
  transform: translateY(0.04em);
  animation: rotator-cursor 1.1s ease-in-out infinite;
  opacity: 0;
}
.hero-rotator.is-cursor .hero-rotator-word.is-active::after {
  opacity: 1;
}
@keyframes rotator-cursor {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 0.15; }
}

/* Sub */
.hero-sub {
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(var(--cream-rgb), 0.78);
  max-width: 56ch;
}

/* CTAs */
.hero-ctas {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Stats — épurées */
.hero-stats {
  position: relative;
  margin-top: 56px;
  padding-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 32px);
  border-top: 1px solid rgba(var(--cream-rgb), 0.14);
  max-width: 760px;
}
.hero-stats-rule {
  position: absolute;
  top: -3px;
  left: 0;
  width: 64px;
  height: 5px;
  background: var(--cote);
}
.hero-stat {
  position: relative;
}
.hero-stat-num {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--cream);
}
.hero-stat-label {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Live stat (4e colonne avec dot pulse à la place du chiffre) */
.hero-stat-live .hero-stat-num {
  display: flex;
  align-items: center;
  height: clamp(2rem, 3.6vw, 2.75rem);
}
.hero-stat-live .hero-stat-label {
  color: var(--cote);
  font-weight: 500;
}
.hero-live-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--cote);
  box-shadow: 0 0 0 4px rgba(var(--cote-rgb), 0.2);
  animation: pulse-dot 1.6s ease-in-out infinite;
}

@media (max-width: 640px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  animation: hero-fade-up 0.6s var(--ease-out) 1500ms both;
}
.hero-scroll-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-scroll-line {
  position: relative;
  display: inline-block;
  width: 1px;
  height: 36px;
  background: rgba(var(--cream-rgb), 0.18);
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to bottom, var(--cote), transparent);
  animation: scroll-tick 2.2s var(--ease-in-out) infinite;
}
@keyframes scroll-tick {
  0%   { transform: translateY(-100%); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}

/* Hide scroll hint when nav is scrolled */
.nav[data-state="scrolled"] ~ .hero .hero-scroll-hint {
  opacity: 0;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .hero {
    padding: calc(var(--nav-h) + 32px) var(--container-px) 64px;
  }
  .hero-coords {
    top: calc(var(--nav-h) + 16px);
    font-size: 9.5px;
    gap: 12px;
  }
  .hero-coords .hero-coord:nth-child(n+5) { display: none; }
  .hero-loader { display: none; }
  .hero-content { max-width: 100%; }
  .hero-voile {
    background:
      linear-gradient(180deg,
        rgba(var(--plan-rgb), 0.55) 0%,
        rgba(var(--plan-rgb), 0.85) 100%
      );
  }
  .hero-stats { grid-template-columns: 1fr; gap: 24px; }
  .hero-stats-rule { width: 48px; height: 4px; }
}


/* ═══════════════════════════════════════════════════════════════
   07 · LAYOUT — Section & Container
   ═══════════════════════════════════════════════════════════════ */

.section {
  position: relative;
  padding: clamp(56px, 7vw, 96px) var(--container-px);
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Mode sombre par défaut (Plan navy) */
.section { background: var(--plan); color: var(--cream); }

/* Mode papier (cream) — sections claires */
.section-paper {
  background:
    linear-gradient(180deg, #F5F0E6 0%, #EFE9DD 100%);
  color: var(--plan);
}

/* Eyebrow variant pour mode papier */
.eyebrow-paper { color: var(--cote); }


/* ═══════════════════════════════════════════════════════════════
   08 · SECTION PERFORATION (séparateur entre sections)
   La perforation appartient visuellement à la section qui SUIT —
   son fond matche la couleur du suivant pour éviter les sauts.
   ═══════════════════════════════════════════════════════════════ */

.section-perf {
  position: relative;
  height: 32px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ligne pointillée Cote au milieu */
.section-perf::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  transform: translateY(-50%);
  background: repeating-linear-gradient(
    90deg,
    var(--cote) 0,
    var(--cote) 8px,
    transparent 8px,
    transparent 16px
  );
}

/* Tag central — couvre une portion de la ligne */
.section-perf-tag {
  position: relative;
  z-index: 1;
  padding: 0 18px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.3em;
  white-space: nowrap;
}

/* Variant DARK → LIGHT (hero → modules ; réalisations → méthode) */
.section-perf-darklight {
  background: #EFE9DD;  /* matche le bas du gradient cream du suivant */
}
.section-perf-darklight .section-perf-tag {
  background: #EFE9DD;
  color: var(--muted-paper);
}

/* Variant LIGHT → DARK (modules → réalisations ; méthode → contact) */
.section-perf-lightdark {
  background: var(--plan);
}
.section-perf-lightdark .section-perf-tag {
  background: var(--plan);
  color: var(--muted);
}

/* Mobile — tag plus court ou caché */
@media (max-width: 640px) {
  .section-perf { height: 24px; }
  .section-perf-tag { font-size: 8px; padding: 0 12px; letter-spacing: 0.22em; }
}
@media (max-width: 480px) {
  .section-perf-tag { display: none; }
}


/* ═══════════════════════════════════════════════════════════════
   09 · COMPONENT — Corner marks
   ═══════════════════════════════════════════════════════════════ */

.corner-mark {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  color: var(--cote);
}
.cm-tl { top: 6px; left: 6px;  border-top: 1px solid currentColor; border-left: 1px solid currentColor; }
.cm-tr { top: 6px; right: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; }
.cm-bl { bottom: 6px; left: 6px;  border-bottom: 1px solid currentColor; border-left: 1px solid currentColor; }
.cm-br { bottom: 6px; right: 6px; border-bottom: 1px solid currentColor; border-right: 1px solid currentColor; }


/* ═══════════════════════════════════════════════════════════════
   10 · COMPONENT — Cartouche (title block d'ingénieur)
   ═══════════════════════════════════════════════════════════════ */

.cartouche {
  border-top: 1.5px solid var(--plan);
  border-bottom: 1px solid var(--border-paper);
  padding: 16px 0 36px;
  margin-bottom: 56px;
}

/* Ligne de méta (DOCUMENT, SHEET, REV, DATE, SCALE) */
.cartouche-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--border-paper);
  padding-bottom: 14px;
  margin-bottom: 36px;
}
.cartouche-cell {
  padding: 0 16px;
  border-right: 1px solid var(--border-paper);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cartouche-cell:first-child { padding-left: 0; }
.cartouche-cell:last-child { border-right: none; padding-right: 0; }

.cartouche-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  color: var(--muted-paper);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.cartouche-value {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--plan);
  letter-spacing: 0.04em;
}
.cartouche-accent { color: var(--cote); font-weight: 600; }

/* Header — eyebrow + specs + titre */
.cartouche-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
  gap: 24px;
  flex-wrap: wrap;
}
.cartouche-specs {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-paper);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cartouche-title {
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--plan);
  max-width: 16ch;
}
.cartouche-title br { display: block; }

/* Mobile : la cartouche-row passe à 3 cols puis 2 */
@media (max-width: 900px) {
  .cartouche-row { grid-template-columns: repeat(3, 1fr); gap: 12px 0; }
  .cartouche-cell:nth-child(3n) { border-right: none; }
  .cartouche-cell:nth-child(4),
  .cartouche-cell:nth-child(5) {
    padding-top: 12px;
    border-top: 1px solid var(--border-paper);
  }
}
@media (max-width: 540px) {
  .cartouche-row { grid-template-columns: repeat(2, 1fr); }
  .cartouche-cell:nth-child(2n) { border-right: none; }
  .cartouche-cell:nth-child(3),
  .cartouche-cell:nth-child(5) { border-right: 1px solid var(--border-paper); }
  .cartouche-cell:nth-child(2n+1):nth-child(n+3) {
    padding-top: 12px;
    border-top: 1px solid var(--border-paper);
  }
}


/* ═══════════════════════════════════════════════════════════════
   11 · COMPONENT — Connector inline (HW—SW—IA)
   ═══════════════════════════════════════════════════════════════ */

.connector {
  display: inline-flex;
  align-items: center;
  gap: 0;
  vertical-align: middle;
  margin: 0 4px;
}
.connector-node {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border: 1px solid var(--plan);
  background: rgba(15, 30, 61, 0.04);
  color: var(--plan);
  white-space: nowrap;
}
.connector-line {
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--cote);
  position: relative;
}
.connector-line::after {
  content: '';
  position: absolute;
  right: -3px;
  top: -2px;
  width: 0;
  height: 0;
  border-left: 4px solid var(--cote);
  border-top: 2.5px solid transparent;
  border-bottom: 2.5px solid transparent;
}
.connector-node-accent {
  background: var(--plan);
  color: var(--cream);
  border-color: var(--plan);
}


/* ═══════════════════════════════════════════════════════════════
   12 · MODULES — Section
   ═══════════════════════════════════════════════════════════════ */

/* Intro paragraph avec connector */
.modules-intro {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  color: var(--muted-paper);
  max-width: 64ch;
  margin: 0 auto 64px 0;
}

/* Grid 4 cartes */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 64px;
}
@media (max-width: 1024px) {
  .modules-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .modules-grid { grid-template-columns: 1fr; }
}

/* Module card */
.module-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-paper);
  padding: 32px 28px 28px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  transition:
    border-color var(--speed) var(--ease-out),
    transform var(--speed) var(--ease-out),
    box-shadow var(--speed) var(--ease-out);
}
.module-card:hover {
  border-color: var(--cote);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -16px rgba(15, 30, 61, 0.18);
}

/* Card head — numéro + tags */
.module-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.module-card-num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--plan);
  line-height: 1;
  opacity: 0.16;
  transition: opacity var(--speed) var(--ease-out);
}
.module-card:hover .module-card-num { opacity: 0.4; color: var(--cote); }

.module-card-tags {
  display: inline-flex;
  gap: 5px;
}
.tag-tech {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  padding: 3px 8px;
  border: 1px solid var(--border-paper);
  background: rgba(15, 30, 61, 0.03);
  color: var(--muted-paper);
  text-transform: uppercase;
}
.tag-tech-accent {
  border-color: var(--cote);
  background: rgba(var(--cote-rgb), 0.06);
  color: var(--cote);
}

/* Card icon */
.module-card-icon {
  width: 48px;
  height: 48px;
  color: var(--cote);
  margin-bottom: 24px;
  transition: transform var(--speed-slow) var(--ease-out);
}
.module-card:hover .module-card-icon {
  transform: rotate(-2deg) scale(1.05);
}

/* Card title */
.module-card-title {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--plan);
  margin-bottom: 12px;
  line-height: 1.25;
}

/* Card description */
.module-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-paper);
  flex: 1;
}

/* Stamp en bas (M.01) */
.module-card-stamp {
  position: absolute;
  bottom: 14px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  color: var(--muted-paper);
  letter-spacing: 0.22em;
  opacity: 0.5;
  transition: opacity var(--speed) var(--ease-out);
}
.module-card:hover .module-card-stamp { opacity: 0.9; color: var(--cote); }


/* ═══════════════════════════════════════════════════════════════
   13 · MODULES — Bottom (note + CTA)
   ═══════════════════════════════════════════════════════════════ */

.modules-bottom {
  position: relative;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.modules-bottom-rule {
  position: absolute;
  top: -1px;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--cote);
}
.modules-bottom-note {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
  color: var(--muted-paper);
  max-width: 60ch;
}
.modules-bottom-note-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  flex: none;
}

/* Link paper variant */
.link-paper {
  color: var(--plan);
  border-bottom: 1px solid var(--cote);
  padding-bottom: 1px;
  transition: color var(--speed-fast) var(--ease-out);
}
.link-paper:hover { color: var(--cote); }

/* Btn ghost paper variant — pour fonds clairs */
.btn-ghost-paper {
  background: transparent;
  color: var(--plan);
  border-color: var(--plan);
}
.btn-ghost-paper:hover {
  background: var(--plan);
  color: var(--cream);
}

@media (max-width: 768px) {
  .modules-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ═══════════════════════════════════════════════════════════════
   14 · SECTION DARK + grid bg
   ═══════════════════════════════════════════════════════════════ */

.section-dark {
  background: var(--plan);
  color: var(--cream);
  position: relative;
}

/* Grille technique subtile en fond */
.section-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(var(--cream-rgb), 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--cream-rgb), 0.035) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  mask-image: radial-gradient(ellipse 100% 80% at 50% 50%, #000 30%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 50%, #000 30%, transparent 95%);
}

.section-dark .container { position: relative; z-index: 1; }


/* ═══════════════════════════════════════════════════════════════
   15 · SECTION PERFORATION — variante light → dark
   ═══════════════════════════════════════════════════════════════ */

.section-perf-lightdark {
  background:
    repeating-linear-gradient(
      90deg,
      var(--cote) 0,
      var(--cote) 8px,
      transparent 8px,
      transparent 16px
    ),
    /* Fond gradient cream → plan pour la transition */
    linear-gradient(180deg, #EFE9DD 0%, var(--plan) 100%);
  background-size: 16px 1px, 100% 100%;
  background-repeat: repeat-x, no-repeat;
  height: 1px;
  position: relative;
}
.section-perf-lightdark::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0; right: 0;
  bottom: -1px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--cote) 0,
      var(--cote) 8px,
      transparent 8px,
      transparent 16px
    );
  background-size: 16px 1px;
  background-position: 0 50%;
  background-repeat: repeat-x;
}
.section-perf-lightdark .section-perf-tag {
  background: var(--plan);
  color: var(--muted);
}


/* ═══════════════════════════════════════════════════════════════
   16 · CARTOUCHE — variant DARK
   ═══════════════════════════════════════════════════════════════ */

.cartouche-dark {
  border-top-color: var(--cream);
  border-bottom-color: var(--border);
}
.cartouche-dark .cartouche-row { border-bottom-color: var(--border); }
.cartouche-dark .cartouche-cell { border-right-color: var(--border); }
.cartouche-dark .cartouche-label { color: var(--muted); }
.cartouche-dark .cartouche-value { color: var(--cream); }
.cartouche-dark .cartouche-specs { color: var(--muted); }
.cartouche-title-dark { color: var(--cream); }

@media (max-width: 900px) {
  .cartouche-dark .cartouche-cell:nth-child(3n) { border-right: none; }
  .cartouche-dark .cartouche-cell:nth-child(4),
  .cartouche-dark .cartouche-cell:nth-child(5) {
    border-top-color: var(--border);
  }
}
@media (max-width: 540px) {
  .cartouche-dark .cartouche-cell:nth-child(2n) { border-right: none; }
  .cartouche-dark .cartouche-cell:nth-child(3),
  .cartouche-dark .cartouche-cell:nth-child(5) { border-right: 1px solid var(--border); }
  .cartouche-dark .cartouche-cell:nth-child(2n+1):nth-child(n+3) {
    border-top-color: var(--border);
  }
}


/* ═══════════════════════════════════════════════════════════════
   17 · RÉALISATIONS — Intro
   ═══════════════════════════════════════════════════════════════ */

.realisations-intro {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 64ch;
  margin: 0 0 64px 0;
}


/* ═══════════════════════════════════════════════════════════════
   18 · CAS VEDETTE (full-width)
   ═══════════════════════════════════════════════════════════════ */

.cas-flagship {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 36px 36px 36px;
  margin-bottom: 56px;
  transition: border-color var(--speed) var(--ease-out);
}
.cas-flagship:hover { border-color: rgba(var(--cote-rgb), 0.5); }

/* Top header — tags row */
.cas-flagship-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.cas-flagship-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: 0.22em;
}
.cas-flagship-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: 0.18em;
  padding: 4px 10px;
  border: 1px solid rgba(var(--cote-rgb), 0.4);
  background: rgba(var(--cote-rgb), 0.06);
}
.cas-flagship-sector {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
}
.cas-flagship-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--cote);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.cas-flagship-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--cote);
  box-shadow: 0 0 0 3px rgba(var(--cote-rgb), 0.18);
  animation: pulse-dot 2s ease-in-out infinite;
}

/* Body — 2 cols asymétriques */
.cas-flagship-body {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
}
@media (max-width: 1024px) {
  .cas-flagship-body { grid-template-columns: 1fr; gap: 36px; }
}

/* LEFT col — texte */
.cas-flagship-title {
  font-family: var(--font-sans);
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 8px;
}
.cas-flagship-sub {
  font-family: var(--font-sans);
  font-style: italic;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: var(--cote);
  margin-bottom: 24px;
  font-weight: 400;
}
.cas-flagship-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(var(--cream-rgb), 0.84);
  margin-bottom: 28px;
}
.cas-flagship-desc strong {
  color: var(--cream);
  font-weight: 600;
  border-bottom: 1px dashed var(--cote);
  padding-bottom: 1px;
}

.cas-flagship-points {
  list-style: none;
  margin-bottom: 32px;
  padding: 0;
}
.cas-flagship-points li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 13px;
  color: rgba(var(--cream-rgb), 0.85);
}
.cas-flagship-points li:last-child { border-bottom: none; }
.point-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.18em;
  flex: none;
  min-width: 56px;
}
.point-tag-accent { color: var(--cote); }

.btn-flagship-cta { margin-top: 8px; }


/* ═══════════════════════════════════════════════════════════════
   19 · CAS VEDETTE — Visual (SVG diagram + spec sheet)
   ═══════════════════════════════════════════════════════════════ */

.cas-flagship-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* SVG diagram */
.cas-diagram {
  margin: 0;
  background: var(--surface-dim);
  border: 1px solid var(--border);
  padding: 8px;
}
.cas-diagram-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Spec sheet */
.cas-spec-sheet {
  margin: 0;
  background: var(--surface-dim);
  border: 1px solid var(--border);
  overflow: hidden;
}
.cas-spec-caption {
  padding: 10px 16px;
  background: var(--plan);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--cote);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: left;
}
.cas-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 12px;
}
.cas-spec-table th,
.cas-spec-table td {
  padding: 9px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.cas-spec-table th {
  font-size: 9.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(var(--cream-rgb), 0.02);
}
.cas-spec-table td:first-child {
  color: var(--muted);
  width: 48px;
  font-weight: 500;
}
.cas-spec-table td:nth-child(2) { color: var(--cream); }

.cas-spec-table tbody tr:hover {
  background: rgba(var(--cote-rgb), 0.04);
}
.cas-spec-table tbody tr.spec-row-accent {
  background: rgba(var(--cote-rgb), 0.06);
}
.cas-spec-table tbody tr:last-child td { border-bottom: none; }

.spec-type {
  display: inline-block;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  padding: 2px 8px;
  border: 1px solid var(--border);
  color: var(--muted);
}
.spec-type-accent {
  border-color: var(--cote);
  color: var(--cote);
  background: rgba(var(--cote-rgb), 0.08);
}

.spec-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.spec-status-live { color: var(--cote); }
.spec-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--muted);
  flex: none;
}
.spec-status-dot-pulse {
  background: var(--cote);
  box-shadow: 0 0 0 2px rgba(var(--cote-rgb), 0.25);
  animation: pulse-dot 2s ease-in-out infinite;
}

@media (max-width: 540px) {
  .cas-spec-table th:nth-child(3),
  .cas-spec-table td:nth-child(3) { display: none; }
}


/* ═══════════════════════════════════════════════════════════════
   20 · SECTION DIVIDER (mini perforation entre cas vedette et grid)
   ═══════════════════════════════════════════════════════════════ */

.section-divider {
  position: relative;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    rgba(var(--cote-rgb), 0.5) 0,
    rgba(var(--cote-rgb), 0.5) 6px,
    transparent 6px,
    transparent 14px
  );
  margin: 24px 0 48px;
}
.section-divider-tag {
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--plan);
  padding: 0 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--muted);
  white-space: nowrap;
}


/* ═══════════════════════════════════════════════════════════════
   21 · CAS GRID (4 cas secondaires)
   ═══════════════════════════════════════════════════════════════ */

.cas-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 56px;
}
@media (max-width: 768px) {
  .cas-grid { grid-template-columns: 1fr; }
}

/* Cas card */
.cas-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  transition:
    border-color var(--speed) var(--ease-out),
    transform var(--speed) var(--ease-out);
}
.cas-card:hover {
  border-color: var(--cote);
  transform: translateY(-2px);
}

.cas-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.cas-card-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: 0.22em;
}
.cas-card-tags {
  display: inline-flex;
  gap: 4px;
}

.cas-card-sector {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cas-card-title {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.25;
  color: var(--cream);
  margin-bottom: 6px;
}
.cas-card-sub {
  font-family: var(--font-sans);
  font-style: italic;
  font-size: 13px;
  color: var(--cote);
  margin-bottom: 14px;
}
.cas-card-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(var(--cream-rgb), 0.78);
  flex: 1;
  margin-bottom: 18px;
}

/* Architecture inline (Tablette → SaaS → IA → Cuisine) */
.cas-card-archi {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px;
  background: var(--surface-dim);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10.5px;
  margin-bottom: 18px;
}
.archi-step {
  padding: 3px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--cream);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.archi-step-accent {
  background: var(--cote);
  border-color: var(--cote);
  color: var(--cream);
}
.archi-arrow {
  color: var(--cote);
  font-weight: 600;
}

.cas-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--cote);
  text-transform: uppercase;
  align-self: flex-start;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  width: 100%;
  transition: color var(--speed-fast) var(--ease-out);
}
.cas-card-link:hover { color: var(--cream); }
.cas-card-link .btn-arrow { transition: transform var(--speed-fast) var(--ease-out); }
.cas-card-link:hover .btn-arrow { transform: translateX(4px); }


/* ═══════════════════════════════════════════════════════════════
   22 · RÉALISATIONS — Bottom (note + CTA)
   ═══════════════════════════════════════════════════════════════ */

.realisations-bottom {
  position: relative;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.realisations-bottom-rule {
  position: absolute;
  top: -1px;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--cote);
}
.realisations-bottom-note {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  max-width: 60ch;
}
.realisations-bottom-note-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  flex: none;
}

@media (max-width: 768px) {
  .realisations-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .cas-flagship { padding: 24px 20px; }
  .cas-flagship-head { gap: 10px; }
  .cas-flagship-status { margin-left: 0; width: 100%; padding-top: 8px; border-top: 1px dashed var(--border); }
}


/* ═══════════════════════════════════════════════════════════════
   23 · MÉTHODE — Section
   ═══════════════════════════════════════════════════════════════ */

/* Mode papier avec lignes horizontales (style cahier d'architecte) */
.section-paper-lined {
  background:
    /* Fines lignes horizontales tous les 60px */
    linear-gradient(to bottom, transparent 59px, rgba(15, 30, 61, 0.04) 60px),
    /* Gradient subtle */
    linear-gradient(180deg, #F5F0E6 0%, #EFE9DD 100%);
  background-size: 100% 60px, 100% 100%;
}

/* Intro */
.methode-intro {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  color: var(--muted-paper);
  max-width: 64ch;
  margin: 0 0 80px 0;
}


/* ═══════════════════════════════════════════════════════════════
   24 · MÉTHODE — Timeline
   ═══════════════════════════════════════════════════════════════ */

.methode-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 56px;
  padding-top: 24px;
}

/* Ligne pointillée connective (horizontale desktop) */
.methode-timeline-line {
  position: absolute;
  top: 56px;       /* aligné sur le centre des nodes (32px = node center) */
  left: 12%;
  right: 12%;
  height: 1px;
  border-top: 1.5px dashed var(--cote);
  z-index: 0;
}

/* Edge tags (INPUT / OUTPUT) */
.methode-edge-tag {
  position: absolute;
  top: 50px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--cote);
  z-index: 0;
}
.methode-edge-tag-start { left: 0; }
.methode-edge-tag-end { right: 0; }


/* Step container */
.methode-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 1;
}

/* Node circulaire (le numéro) */
.methode-step-node {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #F5F0E6;
  border: 1.5px solid var(--plan);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 32px;
  transition:
    border-color var(--speed) var(--ease-out),
    transform var(--speed) var(--ease-out);
}
.methode-step:hover .methode-step-node {
  border-color: var(--cote);
  transform: scale(1.04);
}

.methode-step-node-end {
  border-color: var(--cote);
  background: var(--cote);
}
.methode-step-node-end .methode-step-num {
  color: var(--cream);
}

.methode-step-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--cote);
  line-height: 1;
}

/* Petits cotes blueprint sur le node (lignes courtes haut/bas) */
.methode-step-node::before,
.methode-step-node::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 1px;
  height: 6px;
  background: var(--plan);
  opacity: 0.3;
}
.methode-step-node::before { top: -10px; transform: translateX(-50%); }
.methode-step-node::after  { bottom: -10px; transform: translateX(-50%); }
.methode-step-node-end::before,
.methode-step-node-end::after { background: var(--cote); }

/* Content */
.methode-step-content {
  position: relative;
  width: 100%;
}

.methode-step-icon {
  width: 36px;
  height: 36px;
  color: var(--cote);
  margin-bottom: 14px;
  opacity: 0.85;
  transition: opacity var(--speed) var(--ease-out);
}
.methode-step:hover .methode-step-icon { opacity: 1; }

.methode-step-title {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--plan);
  margin-bottom: 10px;
  line-height: 1.2;
}

.methode-step-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted-paper);
  margin-bottom: 18px;
}

/* Deliverable badge */
.methode-step-deliverable {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 10px;
  background: rgba(15, 30, 61, 0.04);
  border: 1px dashed var(--border-paper);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--plan);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.methode-step-deliverable-tag {
  font-size: 9px;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* Cote durée — annotation flottante */
.methode-step-cote {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: 0.18em;
  padding: 3px 8px;
  border: 1px solid var(--cote);
  background: #F5F0E6;
  text-transform: uppercase;
}


/* ═══════════════════════════════════════════════════════════════
   25 · MÉTHODE — Cote totale (durée globale)
   ═══════════════════════════════════════════════════════════════ */

.methode-total {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 16px 0 64px;
  padding: 0 12%;
}
.methode-total-bracket {
  flex: 1;
  height: 14px;
  position: relative;
}
.methode-total-bracket-l {
  border-left: 1.5px solid var(--cote);
  border-bottom: 1.5px solid var(--cote);
  border-bottom-left-radius: 2px;
}
.methode-total-bracket-r {
  border-right: 1.5px solid var(--cote);
  border-bottom: 1.5px solid var(--cote);
  border-bottom-right-radius: 2px;
}
.methode-total-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--cote);
  text-transform: uppercase;
  white-space: nowrap;
  padding: 4px 10px;
  background: #F5F0E6;
}


/* ═══════════════════════════════════════════════════════════════
   26 · MÉTHODE — Recap mono
   ═══════════════════════════════════════════════════════════════ */

.methode-recap {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  background: rgba(15, 30, 61, 0.03);
  border: 1px solid var(--border-paper);
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.methode-recap-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: 0.3em;
  flex: none;
}
.methode-recap-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.recap-step {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--plan);
  letter-spacing: 0.18em;
  padding: 4px 12px;
  border: 1px solid var(--border-paper);
  background: #F5F0E6;
}
.recap-step-accent {
  background: var(--cote);
  border-color: var(--cote);
  color: var(--cream);
}
.recap-arrow {
  color: var(--cote);
  font-weight: 600;
  font-size: 14px;
}


/* ═══════════════════════════════════════════════════════════════
   27 · MÉTHODE — Bottom
   ═══════════════════════════════════════════════════════════════ */

.methode-bottom {
  position: relative;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.methode-bottom-rule {
  position: absolute;
  top: -1px;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--cote);
}
.methode-bottom-note {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
  color: var(--muted-paper);
  max-width: 60ch;
}
.methode-bottom-note-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  flex: none;
}


/* ═══════════════════════════════════════════════════════════════
   28 · MÉTHODE — Responsive (tablet → mobile : timeline verticale)
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .methode-timeline {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 16px;
  }
  .methode-timeline-line {
    top: 0;
    bottom: 0;
    left: 31px;
    right: auto;
    width: 1px;
    height: auto;
    border-left: 1.5px dashed var(--cote);
    border-top: none;
  }
  .methode-edge-tag-start {
    top: -16px;
    left: 56px;
  }
  .methode-edge-tag-end {
    top: auto;
    right: auto;
    bottom: -16px;
    left: 56px;
  }

  .methode-step {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
  }
  .methode-step-node {
    flex: none;
    margin-bottom: 0;
  }
  .methode-step-content { flex: 1; padding-top: 4px; }

  .methode-total { padding: 0; margin: 32px 0 48px; }
  .methode-total-bracket { display: none; }
  .methode-total-tag { background: rgba(15, 30, 61, 0.04); }

  .methode-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 540px) {
  .methode-step-node {
    width: 52px;
    height: 52px;
  }
  .methode-step-num { font-size: 18px; }
  .methode-timeline-line { left: 25px; }
  .methode-edge-tag { display: none; }
}


/* ═══════════════════════════════════════════════════════════════
   29 · CONTACT — Section
   ═══════════════════════════════════════════════════════════════ */

.contact-intro {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 64ch;
  margin: 0 0 64px 0;
}


/* ═══════════════════════════════════════════════════════════════
   30 · CONTACT — Layout (Form + Sidebar)
   ═══════════════════════════════════════════════════════════════ */

.contact-layout {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: 48px;
  margin-bottom: 80px;
}
@media (max-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
}


/* ═══════════════════════════════════════════════════════════════
   31 · FORM — wrapper + head
   ═══════════════════════════════════════════════════════════════ */

.contact-form-wrap {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 36px 36px 32px;
}
@media (max-width: 540px) {
  .contact-form-wrap { padding: 28px 22px; }
}

.contact-form-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}
.contact-form-ref {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: 0.22em;
}
.contact-form-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--cote);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.contact-form-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--cote);
  box-shadow: 0 0 0 3px rgba(var(--cote-rgb), 0.18);
  animation: pulse-dot 2.4s ease-in-out infinite;
}


/* ═══════════════════════════════════════════════════════════════
   32 · FORM — Fields
   ═══════════════════════════════════════════════════════════════ */

.contact-form { margin: 0; }

.form-field {
  margin-bottom: 22px;
  border: 0;
  padding: 0;
}

.form-label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cream);
  letter-spacing: 0.1em;
}
.form-label-ref {
  display: inline-block;
  min-width: 36px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
}
.form-label-text {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  color: var(--cream);
  font-weight: 500;
  flex: 1;
}
.form-label-required {
  color: var(--cote);
  font-size: 12px;
}
.form-label-optional {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-style: italic;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface-dim);
  border: 1px solid var(--border);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 14.5px;
  letter-spacing: 0.005em;
  transition:
    border-color var(--speed-fast) var(--ease-out),
    background var(--speed-fast) var(--ease-out);
}
.form-input::placeholder {
  color: var(--muted);
  opacity: 0.55;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0;
}
.form-input:focus {
  outline: none;
  border-color: var(--cote);
  background: var(--plan);
}
.form-input:invalid:not(:placeholder-shown) {
  border-color: rgba(var(--cote-rgb), 0.5);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-sans);
  line-height: 1.55;
}

.form-helper {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}


/* ═══════════════════════════════════════════════════════════════
   33 · FORM — Chips (radio + checkbox)
   ═══════════════════════════════════════════════════════════════ */

.form-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.form-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: var(--surface-dim);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cream);
  letter-spacing: 0.1em;
  cursor: pointer;
  user-select: none;
  transition:
    border-color var(--speed-fast) var(--ease-out),
    background var(--speed-fast) var(--ease-out),
    color var(--speed-fast) var(--ease-out);
}
.form-chip:hover {
  border-color: var(--muted);
}
.form-chip input {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.form-chip:has(input:checked) {
  background: var(--cote);
  border-color: var(--cote);
  color: var(--cream);
}


/* ═══════════════════════════════════════════════════════════════
   34 · FORM — Submit row + success state
   ═══════════════════════════════════════════════════════════════ */

.form-submit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed var(--border);
  flex-wrap: wrap;
}
.form-submit-note {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  flex: 1;
  min-width: 240px;
}
.form-submit-note-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  flex: none;
}
.form-submit { padding: 14px 28px; }

/* Success state */
.contact-form-success {
  text-align: center;
  padding: 24px 16px 16px;
  animation: success-in 0.6s var(--ease-out);
}
.success-mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  color: var(--cote);
}
.success-title {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--cream);
  margin-bottom: 10px;
}
.success-text {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 40ch;
  margin: 0 auto 24px;
}
.success-stamp {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--cote);
  border: 1px solid var(--cote);
  padding: 4px 10px;
}
@keyframes success-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}


/* ═══════════════════════════════════════════════════════════════
   35 · CONTACT — Sidebar
   ═══════════════════════════════════════════════════════════════ */

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-self: start;
}

.contact-side-block {
  position: relative;
  padding: 18px 18px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-side-block::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 12px;
  height: 12px;
  border-top: 1px solid var(--cote);
  border-left: 1px solid var(--cote);
}
.contact-side-block::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 12px;
  height: 12px;
  border-bottom: 1px solid var(--cote);
  border-right: 1px solid var(--cote);
}

.contact-side-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.contact-side-value {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.contact-side-link {
  position: relative;
  transition: color var(--speed-fast) var(--ease-out);
}
.contact-side-link::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--cote);
  transition: right var(--speed) var(--ease-out);
}
.contact-side-link:hover { color: var(--cote); }
.contact-side-link:hover::after { right: 0; }

.contact-side-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--cote);
  border: 1px solid var(--cote);
  background: rgba(var(--cote-rgb), 0.08);
  padding: 4px 10px;
  letter-spacing: 0.2em;
}

.contact-side-helper {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.contact-side-cta { gap: 10px; }
.btn-sidebar {
  width: 100%;
  justify-content: center;
  padding: 12px 16px;
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: lowercase;
  margin-top: 4px;
}


/* ═══════════════════════════════════════════════════════════════
   36 · CONTACT — Flow après envoi
   ═══════════════════════════════════════════════════════════════ */

.contact-flow {
  border: 1px solid var(--border);
  background: rgba(var(--cream-rgb), 0.02);
  padding: 28px 32px;
}

.contact-flow-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border);
  flex-wrap: wrap;
  gap: 12px;
}
.contact-flow-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: 0.3em;
}
.contact-flow-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-style: italic;
}

.contact-flow-steps {
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-flow-step {
  flex: 1;
  min-width: 140px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}
.contact-flow-step-end {
  border-color: var(--cote);
  background: rgba(var(--cote-rgb), 0.06);
}

.contact-flow-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: 0.22em;
}
.contact-flow-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.contact-flow-time {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.contact-flow-arrow {
  align-self: center;
  font-family: var(--font-mono);
  color: var(--cote);
  font-size: 18px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .contact-flow { padding: 22px 18px; }
  .contact-flow-arrow { display: none; }
}


/* ═══════════════════════════════════════════════════════════════
   37 · FOOTER
   ═══════════════════════════════════════════════════════════════ */

.footer {
  position: relative;
  background: var(--surface-dim);
  color: var(--cream);
  padding: 64px var(--container-px) 32px;
  border-top: 1px solid var(--border);
}

/* Barre Cote signature en haut-gauche */
.footer-rule {
  position: absolute;
  top: 0;
  left: var(--container-px);
  width: 80px;
  height: 4px;
  background: var(--cote);
}

/* Doctag — "FOOTER · END OF DOCUMENT" */
.footer-doctag {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.3em;
}
.footer-doctag-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.footer-doctag-line:first-child { max-width: 32px; }
.footer-doctag-text {
  white-space: nowrap;
  font-weight: 500;
}


/* ═══════════════════════════════════════════════════════════════
   38 · FOOTER — Grid 4 cols
   ═══════════════════════════════════════════════════════════════ */

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-col-brand { grid-column: 1 / -1; margin-bottom: 12px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Col brand */
.footer-col-brand { max-width: 360px; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--cream);
  transition: opacity var(--speed-fast) var(--ease-out);
}
.footer-brand:hover { opacity: 0.85; }
.footer-mark {
  width: 32px;
  height: 32px;
  flex: none;
  color: var(--cream);
}
.footer-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.footer-name {
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.footer-slash {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  color: var(--cote);
}
.footer-tagline {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 18px;
  max-width: 36ch;
}
.footer-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  padding: 4px 10px;
  border: 1px solid rgba(var(--cote-rgb), 0.4);
  color: var(--cote);
  background: rgba(var(--cote-rgb), 0.06);
}

/* Col title */
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* List */
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-list li {
  margin-bottom: 10px;
}
.footer-list a {
  color: var(--muted);
  font-size: 13.5px;
  transition: color var(--speed-fast) var(--ease-out);
}
.footer-list a:hover { color: var(--cream); }


/* ═══════════════════════════════════════════════════════════════
   39 · FOOTER — Bottom bar
   ═══════════════════════════════════════════════════════════════ */

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-rev-stamp {
  border: 1px solid var(--cote);
  color: var(--cote);
  padding: 4px 12px;
  letter-spacing: 0.22em;
}


/* ═══════════════════════════════════════════════════════════════
   41 · INNER PAGES — Nav variant + back link
   ═══════════════════════════════════════════════════════════════ */

/* Pages internes : la nav démarre déjà en mode scrolled */
.nav-inner {
  background: rgba(var(--plan-rgb), 0.86);
  border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  height: var(--nav-h-scrolled);
}

.case-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 32px;
  transition: color var(--speed-fast) var(--ease-out);
}
.case-back:hover { color: var(--cote); }
.case-back-arrow {
  transition: transform var(--speed-fast) var(--ease-out);
}
.case-back:hover .case-back-arrow {
  transform: translateX(-3px);
}

/* Page hero — variante compacte (utilisée par tarifs, about, cas) */
.page-hero {
  padding: calc(var(--nav-h-scrolled) + 48px) var(--container-px) 64px;
  min-height: auto;
}

.page-intro {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 64ch;
  margin: 16px 0 0;
}

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

/* Containers helpers */
.case-mt { margin-top: 48px; }


/* ═══════════════════════════════════════════════════════════════
   42 · CASE STUDY PAGE — Hero
   ═══════════════════════════════════════════════════════════════ */

.case-hero {
  padding: calc(var(--nav-h-scrolled) + 48px) var(--container-px) 64px;
  min-height: auto;
}

.case-hero-top {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.case-hero-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: 0.22em;
}
.case-hero-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--cote);
  letter-spacing: 0.18em;
  padding: 4px 10px;
  border: 1px solid rgba(var(--cote-rgb), 0.4);
  background: rgba(var(--cote-rgb), 0.06);
}
.case-hero-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--cote);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.case-hero-status-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--cote);
  box-shadow: 0 0 0 3px rgba(var(--cote-rgb), 0.18);
  animation: pulse-dot 2s ease-in-out infinite;
}

.case-hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--cream);
  margin-bottom: 16px;
  max-width: 18ch;
}
.case-hero-sub {
  font-family: var(--font-sans);
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  color: var(--cote);
  margin-bottom: 48px;
  font-weight: 400;
}

/* Meta grid — like cartouche but full-width */
.case-hero-meta {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  gap: 0;
}
.case-meta-cell {
  padding: 0 20px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.case-meta-cell:first-child { padding-left: 0; }
.case-meta-cell:last-child { border-right: none; padding-right: 0; }
.case-meta-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.case-meta-value {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.04em;
}
.case-meta-value.cote { color: var(--cote); }

@media (max-width: 900px) {
  .case-hero-meta { grid-template-columns: repeat(2, 1fr); gap: 12px 0; }
  .case-meta-cell:nth-child(2n) { border-right: none; }
  .case-meta-cell:nth-child(n+3) {
    padding-top: 12px;
    border-top: 1px solid var(--border);
  }
}


/* ═══════════════════════════════════════════════════════════════
   43 · CASE STUDY — Sections génériques
   ═══════════════════════════════════════════════════════════════ */

.case-section {
  padding: clamp(56px, 6vw, 88px) var(--container-px);
}
.case-section-tight {
  padding: clamp(48px, 5vw, 72px) var(--container-px);
}

.case-section-head {
  margin-bottom: 48px;
}
.case-section-title {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--plan);
  margin-top: 16px;
  max-width: 18ch;
}
.case-section-title-dark { color: var(--cream); }

.case-h3 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: inherit;
  margin: 32px 0 12px;
}

.case-prose {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted-paper);
}
.case-prose p {
  margin-bottom: 18px;
}
.case-prose strong {
  color: var(--plan);
  font-weight: 600;
}
.case-prose-dark { color: rgba(var(--cream-rgb), 0.82); }
.case-prose-dark strong { color: var(--cream); }

.case-lead {
  font-size: 1.15rem !important;
  line-height: 1.6 !important;
  color: var(--plan);
  margin-bottom: 24px !important;
  font-weight: 400;
}
.section-dark .case-lead { color: var(--cream); }


/* ═══════════════════════════════════════════════════════════════
   44 · CASE STUDY — Callout / Brief / Notes / KPIs
   ═══════════════════════════════════════════════════════════════ */

.case-callout {
  margin-top: 32px;
  padding: 22px 26px;
  background: rgba(15, 30, 61, 0.04);
  border-left: 3px solid var(--cote);
}
.case-callout-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.case-callout-list {
  list-style: none;
  margin: 0; padding: 0;
}
.case-callout-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--plan);
  margin-bottom: 8px;
}
.case-callout-list li::before {
  content: '×';
  position: absolute;
  left: 0;
  color: var(--cote);
  font-weight: 600;
}

/* Brief grid */
.case-brief-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
}
@media (max-width: 900px) { .case-brief-grid { grid-template-columns: 1fr; } }

.case-brief-card {
  position: relative;
  padding: 24px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color var(--speed) var(--ease-out);
}
.case-brief-card:hover { border-color: var(--cote); }
.case-brief-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: 0.22em;
  margin-bottom: 14px;
}
.case-brief-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--cream);
  margin-bottom: 10px;
}
.case-brief-desc {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(var(--cream-rgb), 0.8);
}
.case-brief-desc em { font-style: italic; color: var(--cote); }

/* KPIs grid */
.case-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
  margin-bottom: 32px;
}
@media (max-width: 900px) { .case-kpi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .case-kpi-grid { grid-template-columns: 1fr; } }

.case-kpi {
  position: relative;
  padding: 24px 22px 22px;
  background: #fff;
  border: 1px solid var(--border-paper);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.case-kpi::before {
  content: '';
  position: absolute;
  top: -2px; left: 0;
  width: 40px;
  height: 4px;
  background: var(--cote);
}
.case-kpi-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.case-kpi-num {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--plan);
  margin-top: 4px;
}
.case-kpi-num em { font-style: normal; color: var(--cote); font-weight: 700; }
.case-kpi-helper {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted-paper);
  letter-spacing: 0.04em;
  margin-top: auto;
}

/* Notes */
.case-notes {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
}
.case-note {
  padding: 22px 26px;
  background: rgba(var(--cream-rgb), 0.03);
  border: 1px solid var(--border);
  border-left: 3px solid var(--cote);
}
.case-note-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.case-note p {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(var(--cream-rgb), 0.85);
  margin: 0;
}
.case-note p strong { color: var(--cream); font-weight: 600; }

/* SVG diagram in paper mode */
.cas-diagram-paper {
  background: #fff;
  border: 1px solid var(--border-paper);
}


/* ═══════════════════════════════════════════════════════════════
   45 · CASE STUDY — Related cases + final CTA
   ═══════════════════════════════════════════════════════════════ */

.case-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}
@media (max-width: 900px) { .case-related-grid { grid-template-columns: 1fr; } }

.case-related-card {
  position: relative;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border-paper);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition:
    border-color var(--speed) var(--ease-out),
    transform var(--speed) var(--ease-out);
  text-decoration: none;
}
.case-related-card:hover {
  border-color: var(--cote);
  transform: translateY(-2px);
}
.case-related-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: 0.18em;
}
.case-related-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--plan);
  margin: 4px 0 0;
}
.case-related-desc {
  font-family: var(--font-sans);
  font-style: italic;
  font-size: 13px;
  color: var(--cote);
}

/* Final CTA section */
.case-cta {
  padding: clamp(72px, 8vw, 120px) var(--container-px);
  text-align: center;
}
.case-cta-inner { max-width: 720px; margin: 0 auto; }
.case-cta-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: 0.3em;
  margin-bottom: 24px;
}
.case-cta-tag-paper { color: var(--cote); }
.case-cta-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 18px;
}
.case-cta-title-paper { color: var(--plan); }
.case-cta-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 60ch;
  margin: 0 auto 36px;
}
.case-cta-sub-paper { color: var(--muted-paper); }
.case-cta-btn { padding: 16px 32px; font-size: 15px; }


/* ═══════════════════════════════════════════════════════════════
   46 · TARIFS — Cards
   ═══════════════════════════════════════════════════════════════ */

.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}
@media (max-width: 1024px) { .tarifs-grid { grid-template-columns: 1fr; } }

.tarif-card {
  position: relative;
  padding: 36px 32px 32px;
  background: #fff;
  border: 1px solid var(--border-paper);
  display: flex;
  flex-direction: column;
  transition:
    border-color var(--speed) var(--ease-out),
    transform var(--speed) var(--ease-out),
    box-shadow var(--speed) var(--ease-out);
}
.tarif-card:hover {
  border-color: var(--cote);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -16px rgba(15, 30, 61, 0.18);
}

/* Featured plan */
.tarif-card-featured {
  border-color: var(--cote);
  background:
    linear-gradient(180deg, rgba(var(--cote-rgb), 0.03) 0%, #fff 30%);
  box-shadow: 0 12px 24px -16px rgba(var(--cote-rgb), 0.2);
}
.tarif-card-flag {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cote);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  padding: 4px 14px;
  white-space: nowrap;
}

.tarif-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.tarif-card-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted-paper);
  letter-spacing: 0.22em;
}
.tarif-card-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: 0.24em;
  padding: 3px 10px;
  border: 1px solid var(--cote);
  background: rgba(var(--cote-rgb), 0.06);
}

.tarif-card-title {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--plan);
  margin-bottom: 8px;
  line-height: 1.2;
}
.tarif-card-sub {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted-paper);
  margin-bottom: 28px;
  min-height: 44px;
}

.tarif-card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.tarif-card-from {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted-paper);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-right: 8px;
}
.tarif-card-amount {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--plan);
  line-height: 1;
}
.tarif-card-currency {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: -0.005em;
}
.tarif-card-range {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted-paper);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--border-paper);
}

.tarif-card-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}
.tarif-card-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--plan);
  padding: 7px 0;
}
.tarif-check {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--cote);
  flex: none;
  font-size: 14px;
}

.tarif-card-meta {
  margin: 0 0 28px;
  padding: 18px 16px;
  background: rgba(15, 30, 61, 0.03);
  border: 1px solid var(--border-paper);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tarif-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.tarif-meta-label {
  color: var(--muted-paper);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.tarif-meta-value {
  color: var(--plan);
  font-weight: 500;
  text-align: right;
}

.tarif-card-cta {
  margin-top: auto;
  align-self: stretch;
  justify-content: center;
  padding: 14px 20px;
}

/* Bottom note */
.tarifs-bottom-note {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 24px 28px;
  background: rgba(15, 30, 61, 0.04);
  border: 1px dashed var(--border-paper);
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-paper);
  max-width: 720px;
  margin: 0 auto;
}
.tarifs-bottom-note-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  flex: none;
}
.tarifs-bottom-note strong { color: var(--plan); font-weight: 600; }


/* ═══════════════════════════════════════════════════════════════
   47 · TARIFS — Compare table & FAQ
   ═══════════════════════════════════════════════════════════════ */

.tarifs-compare {
  margin: 32px auto 0;
  max-width: 980px;
}
.tarifs-compare .cas-spec-table th { text-align: left; font-size: 9.5px; }
.tarifs-compare .cas-spec-table td { vertical-align: middle; }


/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  border: 1px solid var(--border-paper);
  background: #fff;
  transition: border-color var(--speed) var(--ease-out);
}
.faq-item[open] { border-color: var(--cote); }
.faq-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: 0.22em;
  flex: none;
}
.faq-question {
  flex: 1;
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--plan);
}
.faq-toggle {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--cote);
  flex: none;
  transition: transform var(--speed) var(--ease-out);
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); }

.faq-answer {
  padding: 0 24px 22px 64px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted-paper);
}
.faq-answer p { margin-bottom: 12px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer strong { color: var(--plan); font-weight: 600; }

@media (max-width: 540px) {
  .faq-summary { padding: 14px 16px; gap: 10px; }
  .faq-answer { padding: 0 16px 18px 16px; }
  .faq-question { font-size: 14px; }
}


/* ═══════════════════════════════════════════════════════════════
   48 · ABOUT — Manifesto
   ═══════════════════════════════════════════════════════════════ */

.about-hero { padding-bottom: 32px; }

.manifesto {
  position: relative;
  padding: 48px 0 32px;
}
.manifesto-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: 0.3em;
  margin-bottom: 32px;
}
.manifesto-line {
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--plan);
  margin-bottom: 24px;
}
.manifesto-line-end {
  margin-top: 32px;
  margin-bottom: 0;
}
.manifesto-key {
  color: var(--cote);
  font-style: italic;
  font-weight: 500;
}
.manifesto-key-strong {
  font-weight: 700;
  color: var(--plan);
  border-bottom: 4px solid var(--cote);
  padding-bottom: 2px;
}

.manifesto-stamp {
  margin-top: 56px;
  display: inline-block;
}
.manifesto-stamp-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--cote);
  border: 1px solid var(--cote);
  padding: 6px 14px;
}


/* ═══════════════════════════════════════════════════════════════
   49 · ABOUT — Founder section
   ═══════════════════════════════════════════════════════════════ */

.about-founder {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 1024px) {
  .about-founder { grid-template-columns: 1fr; gap: 40px; }
}

.about-founder-text { font-size: 16px; line-height: 1.7; color: rgba(var(--cream-rgb), 0.84); }
.about-founder-text p { margin-bottom: 18px; }
.about-founder-text strong { color: var(--cream); font-weight: 600; }
.about-founder-text .case-lead { font-size: 1.2rem; color: var(--cream); margin-bottom: 24px; }

.about-founder-card {
  position: relative;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.about-founder-card-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  gap: 14px;
}
.about-founder-card-row-end { border-bottom: none; padding-bottom: 0; }
.about-founder-card-label {
  font-size: 9.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  flex: none;
}
.about-founder-card-value {
  color: var(--cream);
  text-align: right;
  font-weight: 500;
}
.about-founder-card-value.cote { color: var(--cote); }
.about-founder-card-link {
  position: relative;
  transition: color var(--speed-fast) var(--ease-out);
}
.about-founder-card-link:hover { color: var(--cote); }


/* ═══════════════════════════════════════════════════════════════
   50 · ABOUT — Principles 4 cols
   ═══════════════════════════════════════════════════════════════ */

.about-principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 16px;
}
@media (max-width: 1024px) { .about-principles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .about-principles { grid-template-columns: 1fr; } }

.about-principle {
  position: relative;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--border-paper);
  transition:
    border-color var(--speed) var(--ease-out),
    transform var(--speed) var(--ease-out);
}
.about-principle:hover {
  border-color: var(--cote);
  transform: translateY(-2px);
}
.about-principle-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: 0.24em;
  margin-bottom: 18px;
}
.about-principle-title {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--plan);
  margin-bottom: 12px;
}
.about-principle-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted-paper);
}


/* ═══════════════════════════════════════════════════════════════
   51 · ABOUT — Workshop
   ═══════════════════════════════════════════════════════════════ */

.about-workshop { padding-bottom: 80px; }

.workshop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 32px 0 56px;
}
@media (max-width: 1024px) { .workshop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .workshop-grid { grid-template-columns: 1fr; } }

.workshop-col {
  padding: 24px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.workshop-col-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: 0.22em;
}
.workshop-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.workshop-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--cream);
}
.wl-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.18em;
  flex: none;
  min-width: 38px;
}
.wl-tag-accent { color: var(--cote); }

/* Now */
.workshop-now {
  padding: 28px 32px;
  background: var(--surface-dim);
  border: 1px solid var(--border);
  border-left: 2px solid var(--cote);
}
.workshop-now-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: 0.3em;
  margin-bottom: 18px;
}
.workshop-now-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.workshop-now-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.55;
}
.now-tag {
  font-size: 10px;
  font-weight: 500;
  color: var(--cote);
  letter-spacing: 0.2em;
  padding: 3px 8px;
  border: 1px solid var(--cote);
  background: rgba(var(--cote-rgb), 0.08);
  flex: none;
  min-width: 64px;
  text-align: center;
}
.now-tag-build { color: #F5A623; border-color: #F5A623; background: rgba(245, 166, 35, 0.08); }
.now-tag-research { color: #4ADE80; border-color: #4ADE80; background: rgba(74, 222, 128, 0.08); }
.now-text { color: var(--cream); }


/* ═══════════════════════════════════════════════════════════════
   99 · PLACEHOLDERS (sections à venir)
   ═══════════════════════════════════════════════════════════════ */

.placeholder {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--border);
  background:
    linear-gradient(rgba(var(--cream-rgb), 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--cream-rgb), 0.025) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
}
.placeholder-inner {
  text-align: center;
  font-family: var(--font-mono);
}
.placeholder-tag {
  display: block;
  font-size: 11px;
  color: var(--cote);
  letter-spacing: 0.3em;
  margin-bottom: 12px;
}
.placeholder-text {
  display: block;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
