/* ============================================================
   FORTEX — Design system v4
   Positionnement : monétiser son expertise (accompagnement 1-à-1)
   Nuances : noir chaud → panneaux bruns → crème → papier → blanc
   Rythme : sombre / crème / sombre / papier / sombre / crème …
   Couleurs : rouge #B61517 (unique) + blanc + noir + crème
   Typo : Archivo · Instrument Sans · Instrument Serif ital · IBM Plex Mono
   Signature : coins tranchés, wordmark italique
   ============================================================ */

:root {
  --red: #B61517;
  --red-rgb: 182, 21, 23;
  --red-bright: #D5191C;

  /* Échelle sombre (chaude, plus douce que du noir pur) */
  --ink: #16120F;
  --ink-deep: #0E0B09;
  --ink-2: #1E1915;
  --ink-3: #28211B;
  --line: rgba(247, 244, 238, 0.11);
  --line-strong: rgba(247, 244, 238, 0.24);
  --text: #F7F4EE;
  --muted: #ABA399;

  /* Échelle claire */
  --cream: #F1ECE3;
  --paper: #FAF7F1;
  --white: #FFFFFF;
  --cream-ink: #1B1612;
  --cream-muted: #6B6458;
  --cream-line: rgba(27, 22, 18, 0.13);

  --font-display: "Archivo", "Helvetica Neue", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --container: 1160px;
  --cut: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
p { margin: 0; }
a { color: inherit; }

.wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
h3 { font-weight: 700; letter-spacing: -0.01em; }

.hl {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--red-bright);
  letter-spacing: 0;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.78em;
  letter-spacing: 0.08em;
  color: var(--red-bright);
}

.accent { color: var(--red-bright); }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.container--narrow { max-width: 880px; }

/* ===== Barre de progression ===== */
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 200;
}
.progress span { display: block; height: 100%; width: 0; background: var(--red); }

/* ===== Boutons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 0.95rem 1.8rem;
  border: 0;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut),
                     100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-bright); transform: translateY(-2px); }
.btn--sm { padding: 0.6rem 1.2rem; font-size: 0.8rem; --cut: 10px; }
.btn--lg { padding: 1.15rem 2.1rem; font-size: 1rem; }
.btn--full { width: 100%; }

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(14, 11, 9, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__logo { display: inline-flex; align-items: center; }
.nav__logo img { height: 20px; width: auto; display: block; }
.nav__logo img.nav__logo-light { display: none; }
.nav.is-scrolled .nav__logo img.nav__logo-light { display: block; }
.nav.is-scrolled .nav__logo img.nav__logo-dark { display: none; }
.nav__links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav__links a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--cream-muted);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--cream-ink); }
.nav.is-scrolled .nav__links a { color: rgba(247, 244, 238, 0.78); }
.nav.is-scrolled .nav__links a:hover { color: var(--text); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  padding: 0.5rem;
  margin-left: auto;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--cream-ink);
  transition: transform 0.3s var(--ease), background 0.3s;
}
.nav.is-scrolled .nav__burger span { background: var(--text); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
  background: rgba(14, 11, 9, 0.97);
  border-bottom: 1px solid var(--line);
}
.nav__mobile a { text-decoration: none; font-size: 1.05rem; color: var(--text); }
.nav__mobile.is-open { display: flex; }

@media (max-width: 960px) {
  .nav__links, .nav__inner > .btn { display: none; }
  .nav__burger { display: flex; }
}

/* ===== Eyebrow & badge ===== */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.6rem;
}
.eyebrow--center { justify-content: center; }
.eyebrow .mono { font-size: inherit; }
.eyebrow__tick {
  width: 22px; height: 10px;
  background: var(--red);
  clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 6px 100%);
  transform: skewX(-12deg);
  flex-shrink: 0;
}

/* ===== Hero centré, clair et éditorial ===== */
.hero {
  position: relative;
  padding-block: clamp(7.5rem, 13vh, 9.5rem) 0;
  background: linear-gradient(180deg, #FCFAF6 0%, var(--paper) 70%, var(--paper) 100%);
  color: var(--cream-ink);
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero .eyebrow { margin-bottom: 1.9rem; color: var(--cream-muted); }
.hero__title {
  font-size: clamp(2.3rem, 5.4vw, 4.3rem);
  max-width: 21ch;
}
.hero__title .hl { font-size: 1.06em; color: var(--red); }
.hero__lead {
  margin-top: 1.6rem;
  max-width: 62ch;
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  color: var(--cream-muted);
}
.hero__cta {
  margin-top: 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.hero__meta { font-size: 0.9rem; color: var(--cream-muted); }

/* Grande photo pleine largeur sous le message */
.hero__photo {
  position: relative;
  margin: clamp(2.75rem, 6vh, 4rem) 0 0;
  width: min(100%, 980px);
}
.hero__photo img {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
  object-position: 50% 48%;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
  box-shadow: 0 32px 80px rgba(27, 22, 18, 0.22);
}
.hero__photo-caption {
  display: block;
  text-align: left;
  font-size: 0.68rem;
  color: var(--cream-muted);
  margin-top: 0.9rem;
  padding-bottom: clamp(3rem, 6vh, 4.5rem);
}

.hero__seq {
  opacity: 0;
  transform: translateY(26px);
  animation: heroIn 0.95s var(--ease) forwards;
}
.hero__inner .hero__seq:nth-child(1) { animation-delay: 0.08s; }
.hero__inner .hero__seq:nth-child(2) { animation-delay: 0.2s; }
.hero__inner .hero__seq:nth-child(3) { animation-delay: 0.34s; }
.hero__inner .hero__seq:nth-child(4) { animation-delay: 0.48s; }
.hero__inner .hero__seq:nth-child(5) { animation-delay: 0.62s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

@media (max-width: 920px) {
  .hero { padding-top: 6.5rem; }
  .hero__photo img { aspect-ratio: 4 / 3.4; object-position: 50% 44%; }
}

/* ===== Sections — thèmes ===== */
.section {
  position: relative;
  padding-block: clamp(5.5rem, 11vw, 9.5rem);
}
/* Sombre surélevé (panneau chaud) */
.section--alt {
  background: linear-gradient(180deg, var(--ink-2), var(--ink) 85%);
  border-block: 1px solid var(--line);
  overflow: hidden;
}
/* Crème */
.section--cream {
  background: var(--cream);
  color: var(--cream-ink);
  overflow: hidden;
}
/* Papier (plus clair que crème) */
.section--paper {
  background: var(--paper);
  color: var(--cream-ink);
  overflow: hidden;
}
.section--cream .eyebrow,
.section--paper .eyebrow,
.section--cream .section__lead,
.section--paper .section__lead { color: var(--cream-muted); }

.section__head {
  max-width: 780px;
  margin-bottom: clamp(2.75rem, 6vw, 4.25rem);
  position: relative;
  z-index: 2;
}
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--spaced { margin-top: clamp(4rem, 8vw, 6.5rem); }
h2 { font-size: clamp(1.95rem, 4.2vw, 3.2rem); }
h2 .hl { font-size: 1.07em; }
.section__lead {
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 62ch;
}
.section__head--center .section__lead { margin-inline: auto; }

/* ===== FOS — timeline (sur crème) ===== */
.fos-wrap {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(3rem, 7vw, 6rem);
  align-items: start;
}
.fos-sticky { position: sticky; top: 110px; }
.fos-counter {
  margin-top: 2.25rem;
  font-size: 2rem !important;
  letter-spacing: 0.05em;
  color: var(--cream-muted);
}
.fos-counter #fosCurrent { color: var(--red); }

.fos-steps {
  list-style: none;
  margin: 0;
  padding: 0 0 0 2.5rem;
  position: relative;
  display: grid;
  gap: clamp(2.75rem, 6vw, 4.5rem);
}
.fos-line {
  position: absolute;
  left: 0;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: var(--cream-line);
}
.fos-line span {
  display: block;
  width: 100%;
  height: 0;
  background: var(--red);
  box-shadow: 0 0 14px rgba(var(--red-rgb), 0.5);
}
.fos-step {
  position: relative;
  opacity: 0.35;
  transform: translateX(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fos-step.is-active { opacity: 1; transform: none; }
.fos-step__dot {
  position: absolute;
  left: calc(-2.5rem - 5px);
  top: 0.35rem;
  width: 12px; height: 12px;
  background: var(--cream);
  border: 2px solid var(--cream-muted);
  transform: rotate(45deg);
  transition: border-color 0.4s, background 0.4s, box-shadow 0.4s;
}
.fos-step.is-active .fos-step__dot {
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 0 14px rgba(var(--red-rgb), 0.55);
}
.fos-step__num { display: block; font-size: 0.72rem; margin-bottom: 0.9rem; }
.fos-step h3 { font-size: 1.55rem; margin-bottom: 0.8rem; }
.fos-step p { color: var(--cream-muted); font-size: 1rem; max-width: 46ch; }

@media (max-width: 900px) {
  .fos-wrap { grid-template-columns: 1fr; }
  .fos-sticky { position: static; }
  .fos-counter { display: none; }
}

/* ===== Calculateur (sombre) ===== */
.calc {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}
.calc__inputs {
  background: var(--ink);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  display: grid;
  gap: 2.25rem;
  align-content: center;
}
.calc__field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}
.calc__value { font-size: 1.5rem !important; color: var(--text); margin-bottom: 0.75rem; }
.calc__field input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--line-strong);
  outline-offset: 6px;
}
.calc__field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  background: var(--red);
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
  cursor: pointer;
}
.calc__field input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  background: var(--red);
  border: 0;
  cursor: pointer;
}
.calc__result {
  background: var(--ink-3);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}
.calc__result::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 80% 0%, rgba(var(--red-rgb), 0.18), transparent 65%);
  pointer-events: none;
}
.calc__result-label { font-size: 0.7rem; }
.calc__result-value {
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  line-height: 1;
  color: var(--red-bright);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.calc__result-value small { font-size: 0.35em; color: var(--muted); letter-spacing: 0.06em; }
.calc__result-year { color: var(--muted); font-size: 0.98rem; max-width: 34ch; }
.calc__result-year strong { color: var(--text); font-variant-numeric: tabular-nums; }
.calc__note { margin-top: 1.25rem; text-align: center; font-size: 0.82rem; color: var(--muted); }
@media (max-width: 800px) {
  .calc { grid-template-columns: 1fr; }
}

/* ===== Grilles ===== */
.grid { display: grid; gap: 1.25rem; position: relative; z-index: 2; }
.grid--systems { grid-template-columns: repeat(4, 1fr); }
.grid--resources { grid-template-columns: repeat(2, 1fr); }
.grid--features { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) {
  .grid--systems { grid-template-columns: repeat(2, 1fr); }
  .grid--features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .grid--systems, .grid--resources, .grid--features { grid-template-columns: 1fr; }
}

/* ===== Modules — liste indexée (sur papier) ===== */
.syslist {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--cream-line);
  position: relative;
  z-index: 2;
}
.sysrow {
  display: grid;
  grid-template-columns: 110px 280px 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: baseline;
  padding: 1.7rem 1rem;
  border-bottom: 1px solid var(--cream-line);
  transition: background 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.sysrow:hover {
  background: var(--white);
  padding-left: 1.6rem;
}
.sysrow__num {
  font-size: 1.9rem;
  color: rgba(27, 22, 18, 0.22);
  line-height: 1;
  transition: color 0.3s;
}
.sysrow:hover .sysrow__num { color: var(--red); }
.sysrow h3 { font-size: 1.2rem; }
.sysrow p { color: var(--cream-muted); font-size: 0.97rem; max-width: 56ch; }
@media (max-width: 820px) {
  .sysrow {
    grid-template-columns: 64px 1fr;
    grid-template-areas: "num title" "num text";
  }
  .sysrow__num { grid-area: num; font-size: 1.5rem; }
  .sysrow h3 { grid-area: title; }
  .sysrow p { grid-area: text; margin-top: 0.4rem; }
}

/* ===== Études de cas (sombre) ===== */
.cases {
  display: grid;
  gap: 2rem;
  position: relative;
  z-index: 2;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.case {
  position: sticky;
  top: calc(105px + var(--i) * 34px);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  background: linear-gradient(145deg, var(--ink-3), var(--ink-2) 70%);
  border: 1px solid var(--line);
  padding: clamp(2rem, 4vw, 3.25rem);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
  box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.45);
}
.case__sector { font-size: 0.7rem; color: var(--muted); margin-bottom: 1.2rem; }
.case__metric { font-size: clamp(2.6rem, 5.6vw, 4.4rem); line-height: 0.95; white-space: nowrap; }
.case__metric-label {
  margin-top: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
}
.case__right { display: flex; flex-direction: column; gap: 1.2rem; justify-content: center; }
.case__body { color: var(--muted); font-size: 1rem; }
.case__quote {
  margin: 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.5;
}
@media (max-width: 760px) {
  .case { grid-template-columns: 1fr; position: static; }
}

/* ===== Statistiques (sombre) ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.stat { background: var(--ink-2); padding: 2.25rem 2rem; }
.stat__value {
  display: block;
  font-size: clamp(2.5rem, 4.4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.stat__value span { color: var(--red-bright); }
.stat__value small { font-size: 0.4em; color: var(--red-bright); letter-spacing: 0.05em; }
.stat__label {
  display: block;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 30ch;
}
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr; }
}

/* ===== Mon histoire (sur crème) ===== */
.story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(3rem, 7vw, 6rem);
  align-items: start;
}
.story__timeline {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 2.25rem;
}
.story__chapter {
  border-left: 2px solid var(--cream-line);
  padding-left: 1.5rem;
  transition: border-color 0.4s;
}
.story__chapter:hover { border-color: var(--red); }
.story__chapter .mono { display: block; font-size: 0.7rem; margin-bottom: 0.7rem; color: var(--red); }
.story__chapter h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.story__chapter p { color: var(--cream-muted); font-size: 0.98rem; max-width: 52ch; }

.story__photos {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 1.5rem;
  padding-top: 2rem;
}
.story__photo {
  margin: 0;
  position: relative;
  background: var(--white);
  border: 1px solid rgba(27, 22, 18, 0.07);
  box-shadow: 0 16px 38px rgba(27, 22, 18, 0.16);
  padding: 0.75rem 0.75rem 2.4rem;
  width: min(100%, 300px);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.story__photo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.story__photo figcaption {
  position: absolute;
  bottom: 0.7rem;
  left: 0.85rem;
  font-size: 0.64rem;
  color: var(--cream-muted);
}
.story__photo--1 { transform: rotate(-2.4deg); justify-self: start; }
.story__photo--2 { transform: rotate(1.8deg); justify-self: end; margin-top: -4.5rem; }
.story__photo--3 { transform: rotate(-1.2deg); justify-self: center; margin-top: -3rem; }
.story__photo:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: 0 24px 50px rgba(27, 22, 18, 0.22);
  z-index: 2;
}
.story__photos-caption {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--cream-ink);
  max-width: 24ch;
  margin-top: 0.5rem;
}
.story__photos-caption .accent { color: var(--red); }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .story__photos { position: static; grid-template-columns: repeat(3, 1fr); align-items: start; }
  .story__photo { width: 100%; padding-bottom: 2rem; }
  .story__photo--2, .story__photo--3 { margin-top: 0; }
  .story__photos-caption { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .story__photos { grid-template-columns: 1fr 1fr; }
}

/* ===== Comparaison (sur papier) ===== */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.compare__col {
  padding: 2.3rem 2rem;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}
.compare__col--them {
  background: var(--white);
  border: 1px solid var(--cream-line);
  color: var(--cream-muted);
}
/* La colonne FORTEX : bloc sombre sur section claire — le moment de contraste */
.compare__col--us {
  background: var(--ink);
  color: var(--text);
  border: 1px solid rgba(var(--red-rgb), 0.55);
  box-shadow: 0 24px 60px rgba(27, 22, 18, 0.25);
}
.compare__label { display: block; font-size: 0.72rem; margin-bottom: 1.4rem; }
.compare__col--them .compare__label { color: var(--cream-muted); }
.compare__col ul, .fit__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.compare__col li, .fit__col li {
  padding-left: 1.6rem;
  position: relative;
  font-size: 0.98rem;
}
.compare__col--them li::before, .fit__col--no li::before {
  content: "✕";
  position: absolute;
  left: 0;
  opacity: 0.5;
  font-size: 0.8rem;
  top: 0.2em;
}
.compare__col--us li::before, .fit__col--yes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 0.85rem; height: 0.45rem;
  border-left: 2px solid var(--red-bright);
  border-bottom: 2px solid var(--red-bright);
  transform: rotate(-45deg);
}
@media (max-width: 760px) {
  .compare { grid-template-columns: 1fr; }
}

/* ===== Ce que vous obtenez — blocs épurés (sur papier) ===== */
.feature {
  border-top: 2px solid var(--cream-line);
  padding-top: 1.4rem;
  transition: border-color 0.3s var(--ease);
}
.feature:hover { border-top-color: var(--red); }
.feature .mono { display: block; font-size: 0.68rem; margin-bottom: 1rem; color: var(--red); }
.feature h3 { font-size: 1.12rem; margin-bottom: 0.65rem; }
.feature p { color: var(--cream-muted); font-size: 0.93rem; }

/* ===== Pour qui (sombre) ===== */
.fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.fit__col {
  padding: 2.3rem 2rem;
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}
.fit__col--yes {
  background: var(--ink-3);
  border-color: rgba(var(--red-rgb), 0.5);
}
.fit__col--no { color: var(--muted); }
.fit__col .compare__label { display: block; font-size: 0.72rem; margin-bottom: 1.4rem; }
.fit__col--no .compare__label { color: var(--muted); }
@media (max-width: 760px) {
  .fit { grid-template-columns: 1fr; }
}

/* ===== Ressources (sur crème) ===== */
.resource {
  display: block;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--cream-line);
  padding: 2rem 1.75rem;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  box-shadow: 0 8px 28px rgba(27, 22, 18, 0.05);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}
.resource:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--red-rgb), 0.5);
  box-shadow: 0 18px 44px rgba(27, 22, 18, 0.12);
}
.resource__type {
  display: inline-block;
  font-size: 0.68rem;
  padding: 0.35rem 0.8rem;
  color: #fff !important;
  background: var(--red);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 8px 100%);
  margin-bottom: 1.25rem;
}
.resource h3 { font-size: 1.18rem; margin-bottom: 0.65rem; }
.resource p { color: var(--cream-muted); font-size: 0.93rem; margin-bottom: 1.35rem; }
.resource__cta {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--cream-ink);
}
.resource .arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
  color: var(--red);
}
.resource:hover .arrow { transform: translateX(5px); }

/* ===== FAQ (sur papier) ===== */
.faq { display: grid; gap: 0.85rem; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--cream-line);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  box-shadow: 0 6px 20px rgba(27, 22, 18, 0.04);
  transition: border-color 0.3s;
}
.faq__item[open] { border-color: rgba(var(--red-rgb), 0.5); }
.faq__item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 1.2rem 3rem 1.2rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--red);
  transition: transform 0.3s var(--ease);
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item summary .mono { font-size: 0.7rem; flex-shrink: 0; color: var(--red); }
.faq__item p {
  padding: 0 1.4rem 1.4rem 1.4rem;
  color: var(--cream-muted);
  font-size: 0.97rem;
  max-width: 70ch;
}

/* ===== Contact (sombre) ===== */
.section--contact {
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 55% at 85% 10%, rgba(var(--red-rgb), 0.14), transparent 60%),
    linear-gradient(180deg, var(--ink-2), var(--ink-deep));
}
.contact {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact__points {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.contact__points li {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  font-size: 0.98rem;
}
.contact__points .mono { font-size: 0.72rem; }
.contact__direct { margin-top: 2rem; color: var(--muted); font-size: 0.95rem; }
.contact__direct a {
  color: var(--text);
  text-decoration-color: var(--red);
  text-underline-offset: 4px;
}

.contact__form {
  background: var(--ink);
  border: 1px solid var(--line);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: grid;
  gap: 1.25rem;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}
.field { display: grid; gap: 0.5rem; }
.field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
}
.field input,
.field textarea {
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: 0.85rem 1rem;
  transition: border-color 0.25s;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(171, 163, 153, 0.5); }
.field input:focus,
.field textarea:focus { border-color: var(--red); outline: none; }
.contact__form-note { text-align: center; font-size: 0.82rem; color: var(--muted); }
.contact__form-success {
  text-align: center;
  font-size: 0.92rem;
  background: rgba(var(--red-rgb), 0.16);
  border: 1px solid rgba(var(--red-rgb), 0.5);
  padding: 0.9rem 1rem;
}
@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; }
}

/* ===== Footer ===== */
.footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: var(--ink-deep);
  padding-top: 4rem;
  overflow: hidden;
}
.footer__inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  padding-bottom: 3rem;
}
.footer__logo { margin: 0; }
.footer__logo img { height: 24px; width: auto; }
.footer__tagline { margin-top: 0.9rem; color: var(--muted); font-size: 0.92rem; }
.footer__nav { display: flex; gap: clamp(2.5rem, 6vw, 5rem); }
.footer__nav > div { display: grid; gap: 0.7rem; align-content: start; }
.footer__head { font-size: 0.68rem; color: var(--muted); margin-bottom: 0.4rem; }
.footer__nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.2s;
}
.footer__nav a:hover { color: var(--text); }
.footer__legal {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}
.footer__legal .mono { font-size: 0.68rem; color: var(--muted); }

/* ===== Révélation au scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

[data-split] .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
[data-split] .w > .wi {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 0.9s var(--ease);
  transition-delay: calc(var(--wi) * 50ms);
}
[data-split].is-visible .w > .wi { transform: none; }

/* ===== Mouvement réduit ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__seq { animation: none; opacity: 1; transform: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  [data-split] .w > .wi { transform: none; transition: none; }
  .fos-step { opacity: 1; transform: none; transition: none; }
  .case { position: static; }
  .story__photo, .sysrow, .resource, .feature, .btn { transition: none; }
}
