/* ============================================================================
   SIMULATEUR 03 — CAPITAL vs RENTE LPP
   Version : v3-editorial-frontalier
   Pitch   : Dossier de magazine premium, scrollytelling, data-viz éditoriale.
   Palette : blanc / rouge #C4232B / anthracite #1F2937 / doré #C09A4B / cuivré #B87333
   Typo    : Barlow 400/600/800 + italic 400 (aucune autre police)
   ============================================================================ */

:root {
  --white:   #FFFFFF;
  --red:     #C4232B;
  --red-dk:  #9C1A21;
  --anthra:  #1F2937;
  --gold:    #C09A4B;
  --copper:  #B87333;
  --g-50:    #F9FAFB;
  --g-100:   #F3F4F6;
  --g-200:   #E5E7EB;
  --g-300:   #D1D5DB;
  --g-400:   #9CA3AF;
  --g-500:   #6B7280;
  --g-600:   #4B5563;
  --g-700:   #374151;
  --dark:    #111827;

  --pad-x:   clamp(20px, 5vw, 88px);
  --maxw:    1440px;
  --rule-red-thick: 6px;
  --chap-min-h: 80vh;

  --t-fast: 220ms cubic-bezier(.4,0,.2,1);
  --t-med:  520ms cubic-bezier(.4,0,.2,1);
  --t-slow: 780ms cubic-bezier(.22,1,.36,1);

  --f-sans: "Barlow", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ============================================================================
   RESET & BASE
   ============================================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.62;
  color: var(--anthra);
  background: var(--white);
  font-feature-settings: "tnum" 1, "kern" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}
button { font: inherit; cursor: pointer; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* All numbers : tabular */
.big-num, .inline-num, .inline-num-big, .giant-num, .big-figure,
.verdict td, .verdict th[scope="row"] + td,
.masthead__meta, .hero__chapter-num, .sommaire__list,
input[type="number"], output {
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
}

/* ============================================================================
   TOP RULE + MASTHEAD
   ============================================================================ */
.top-rule {
  height: var(--rule-red-thick);
  background: var(--red);
  position: sticky; top: 0; z-index: 50;
}
.masthead {
  border-bottom: 1px solid var(--g-200);
  background: var(--white);
  position: sticky; top: var(--rule-red-thick); z-index: 49;
}
.masthead__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.masthead__logo {
  display: flex; align-items: center; gap: 12px;
}
.logo-diamond {
  display: inline-block;
  width: 14px; height: 14px;
  background: var(--red);
  transform: rotate(45deg);
}
.masthead__brand {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.01em;
  color: var(--anthra);
}
.masthead__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--g-600);
}
.meta-sep {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
  display: inline-block;
}
@media (max-width: 700px) {
  .masthead__meta { display: none; }
}

/* ============================================================================
   HERO — "UNE" MAGAZINE
   ============================================================================ */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 8vw, 96px) var(--pad-x) clamp(48px, 7vw, 80px);
  position: relative;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: clamp(20px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
}
.kicker {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 28px; height: 2px;
  background: var(--red);
  vertical-align: middle;
  margin-right: 12px;
}
.hero__title {
  margin: 0 0 28px;
  font-weight: 800;
  font-size: clamp(40px, 7.4vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--anthra);
  max-width: 18ch;
}
.hero__title--accent {
  color: var(--red);
  font-style: normal;
}
.hero__lead {
  margin: 0 0 22px;
  max-width: 62ch;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.55;
  color: var(--g-700);
}
.hero__byline {
  margin: 0 0 26px;
  font-size: 14px;
  color: var(--g-600);
}
.hero__byline em { color: var(--anthra); font-style: italic; }
.hero__rule {
  height: 2px; width: 80px;
  background: var(--red);
  margin-top: 10px;
  position: relative;
}
.hero__rule::after {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 40px; height: 1px;
  background: var(--copper);
}
.hero__number {
  justify-self: end;
  align-self: start;
}
.hero__chapter-num {
  display: block;
  font-weight: 800;
  font-size: clamp(100px, 16vw, 200px);
  line-height: 0.82;
  color: transparent;
  -webkit-text-stroke: 2px var(--red);
  letter-spacing: -0.05em;
  user-select: none;
}
@media (max-width: 900px) {
  .hero__number { justify-self: start; margin-top: -10px; }
  .hero__chapter-num { font-size: clamp(84px, 28vw, 160px); }
}

/* ============================================================================
   LAYOUT : SIDEBAR SOMMAIRE + ARTICLE
   ============================================================================ */
.layout {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 80px);
  align-items: start;
}
@media (max-width: 1023px) {
  .layout { grid-template-columns: 1fr; }
}

/* SOMMAIRE STICKY */
.sommaire {
  position: sticky;
  top: calc(var(--rule-red-thick) + 62px);
  align-self: start;
  padding: 28px 0 28px 0;
  border-top: 2px solid var(--red);
}
.sommaire::before {
  content: "";
  display: block;
  width: 50%; height: 1px;
  background: var(--copper);
  margin-bottom: 18px;
}
.sommaire__label {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--g-500);
}
.sommaire__list {
  list-style: none;
  padding: 0; margin: 0;
  counter-reset: chap;
}
.sommaire__list li { margin: 0 0 14px; }
.sommaire__list a {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 8px 0 8px 10px;
  border-left: 3px solid var(--g-200);
  transition: border-color var(--t-fast), color var(--t-fast), padding var(--t-fast);
}
.sommaire__list a:hover { border-left-color: var(--copper); color: var(--red); }
.sommaire__list a.is-active {
  border-left-color: var(--red);
  padding-left: 16px;
}
.sommaire__list a.is-active .roman { color: var(--red); }
.sommaire__list a.is-active .chap-title { color: var(--anthra); font-weight: 600; }
.roman {
  font-weight: 800;
  font-size: 22px;
  color: var(--anthra);
  letter-spacing: -0.02em;
  transition: color var(--t-fast);
}
.chap-title {
  font-size: 13px;
  font-weight: 400;
  color: var(--g-600);
  letter-spacing: 0.01em;
}
.sommaire__foot {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--g-200);
}
.sommaire__tagline {
  margin: 0;
  font-size: 12px;
  font-style: italic;
  color: var(--g-500);
  line-height: 1.4;
}
@media (max-width: 1023px) {
  .sommaire { display: none; }
}

/* ============================================================================
   ARTICLE + CHAPITRES (SCROLLYTELLING)
   ============================================================================ */
.article { min-width: 0; }

.chap {
  min-height: var(--chap-min-h);
  padding: clamp(48px, 8vw, 120px) 0;
  border-bottom: 1px solid var(--g-200);
  position: relative;
}
.chap:last-of-type { border-bottom: none; }

.chap__grid {
  display: grid;
  grid-template-columns: minmax(0, 60fr) minmax(0, 40fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
}
@media (max-width: 1023px) {
  .chap__grid { grid-template-columns: 1fr; }
}

.chap__editorial {
  max-width: 62ch;
  min-width: 0;
}

.chap__kicker {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}
.chap__kicker::before {
  content: "";
  display: inline-block;
  width: 22px; height: 2px;
  background: var(--red);
  vertical-align: middle;
  margin-right: 10px;
}
.chap__title {
  margin: 0 0 20px;
  font-weight: 800;
  font-size: clamp(36px, 5.4vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--anthra);
}
.chap__deck {
  margin: 0 0 32px;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--g-600);
  max-width: 50ch;
}
.chap__body {
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.72;
  color: var(--anthra);
}
.chap__body strong { font-weight: 800; }

/* DROPCAP 96px */
.dropcap {
  float: left;
  font-weight: 800;
  font-size: 96px;
  line-height: 0.82;
  color: var(--red);
  padding: 8px 14px 0 0;
  font-feature-settings: "kern" 1;
}
.dropcap--gold { color: var(--gold); }

/* Inline numbers */
.inline-num {
  font-weight: 800;
  color: var(--red);
  font-size: 1.1em;
}
.inline-num-big {
  font-weight: 800;
  color: var(--red);
  font-size: 1.7em;
  line-height: 0.9;
  padding: 0 2px;
}
.inline-unit {
  font-weight: 600;
  color: var(--g-600);
  font-size: 0.9em;
  margin-left: 2px;
}

/* Giant number in paragraph (82 ans) */
.giant-num {
  display: inline-block;
  font-weight: 800;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.85;
  color: var(--red);
  vertical-align: -0.16em;
  padding: 0 6px 0 0;
  letter-spacing: -0.02em;
}

/* Headline numbers (big figure block) */
.headline-num {
  margin: 28px 0 28px;
  padding: 22px 0;
  border-top: 2px solid var(--red);
  border-bottom: 1px solid var(--copper);
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.big-figure {
  font-weight: 800;
  font-size: clamp(64px, 8vw, 112px);
  line-height: 0.9;
  color: var(--anthra);
  letter-spacing: -0.02em;
}
.big-figure__unit {
  font-weight: 600;
  font-size: 16px;
  color: var(--g-600);
  line-height: 1.2;
}
.big-figure__unit small {
  font-weight: 400;
  color: var(--g-500);
  font-size: 13px;
}

/* Pull quote */
.pullquote {
  margin: 36px 0 36px;
  padding: 6px 0 6px 22px;
  border-left: 4px solid var(--red);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.8vw, 36px);
  line-height: 1.25;
  color: var(--anthra);
  max-width: 80%;
}
.pullquote--copper {
  border-left-color: var(--copper);
}

/* ============================================================================
   INTERVIEW FORM (inputs "rédigés")
   ============================================================================ */
.interview {
  margin: 32px 0 32px;
  padding: 28px 0;
  border-top: 2px solid var(--red);
  border-bottom: 1px solid var(--g-300);
}
.interview__intro {
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--g-500);
}
.interview__field {
  border: none;
  padding: 16px 0;
  margin: 0;
  border-bottom: 1px dashed var(--g-200);
}
.interview__field:last-of-type { border-bottom: none; }
.interview__field legend {
  padding: 0;
  margin: 0 0 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--anthra);
}
.interview__label {
  display: block;
  font-size: 13px;
  color: var(--g-500);
  margin-bottom: 10px;
}
.interview__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

/* Custom range slider */
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%;
  height: 3px;
  background: var(--g-200);
  border-radius: 0;
  cursor: pointer;
  position: relative;
}
input[type="range"]:focus { outline: none; }
input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  background: linear-gradient(to right, var(--red) var(--val, 40%), var(--g-200) var(--val, 40%));
}
input[type="range"]::-moz-range-track {
  height: 3px;
  background: var(--g-200);
}
input[type="range"]::-moz-range-progress {
  height: 3px;
  background: var(--red);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--red);
  margin-top: -10px;
  box-shadow: 0 2px 6px rgba(196,35,43,0.25);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
input[type="range"]::-webkit-slider-thumb:hover,
input[type="range"]:focus::-webkit-slider-thumb {
  transform: scale(1.12);
  box-shadow: 0 0 0 6px rgba(196,35,43,0.12);
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--red);
  box-shadow: 0 2px 6px rgba(196,35,43,0.25);
  cursor: pointer;
}

.interview__val {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  min-width: 160px;
  justify-content: flex-end;
  text-align: right;
}
.interview__val .big-num {
  font-weight: 800;
  font-size: 32px;
  color: var(--anthra);
  line-height: 1;
  letter-spacing: -0.01em;
}
.interview__val .unit {
  font-weight: 600;
  font-size: 13px;
  color: var(--g-500);
}

.interview__adv {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--g-200);
}
.interview__adv summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--copper);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 0;
  list-style: none;
}
.interview__adv summary::before {
  content: "+ ";
  font-weight: 800;
  color: var(--red);
}
.interview__adv[open] summary::before { content: "− "; }
.interview__advgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 14px;
}
@media (max-width: 600px) {
  .interview__advgrid { grid-template-columns: 1fr; }
}
.adv-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--g-600);
}
.adv-label input[type="number"] {
  width: 78px;
  padding: 8px 10px;
  border: 1px solid var(--g-300);
  border-bottom: 2px solid var(--red);
  background: var(--g-50);
  font-family: inherit;
  font-weight: 800;
  font-size: 16px;
  color: var(--anthra);
  font-feature-settings: "tnum" 1;
}
.adv-label input[type="number"]:focus {
  outline: none;
  border-color: var(--red);
  background: var(--white);
}

/* ============================================================================
   VIZ STICKY (right column)
   ============================================================================ */
.chap__viz {
  min-width: 0;
}
.viz-sticky {
  position: sticky;
  top: calc(var(--rule-red-thick) + 84px);
  padding: 20px 22px;
  background: var(--g-50);
  border-top: 2px solid var(--red);
  border-bottom: 1px solid var(--copper);
}
.viz-title {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--g-500);
}
.viz-svg {
  width: 100%;
  height: auto;
  max-height: 56vh;
}
.viz-svg--tall { max-height: 64vh; }
.viz-caption {
  margin: 10px 0 0;
  font-size: 12px;
  font-style: italic;
  color: var(--g-500);
  line-height: 1.4;
}
@media (max-width: 1023px) {
  .viz-sticky { position: static; margin-top: 24px; }
}

/* ============================================================================
   PROSPER BOX (chroniqueur invité marge droite)
   ============================================================================ */
.prosper-box {
  margin: 36px 0 24px;
  padding: 18px 20px 18px 24px;
  background: var(--g-100);
  border-left: 4px solid var(--red);
  position: relative;
}
.prosper-box__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.prosper-svg {
  width: 48px; height: 48px;
  flex-shrink: 0;
}
.prosper-box__title {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}
.prosper-box__body {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--anthra);
  font-style: italic;
}
.prosper-box__sig {
  margin: 0;
  font-size: 12px;
  color: var(--g-500);
  font-style: italic;
}

/* ============================================================================
   VERDICT TABLE
   ============================================================================ */
.verdict {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0 30px;
  border-top: 2px solid var(--red);
}
.verdict thead th {
  padding: 14px 10px 12px;
  text-align: right;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--g-600);
  border-bottom: 1px solid var(--copper);
}
.verdict__th-rente { color: var(--red); }
.verdict__th-cap { color: var(--copper); }

.verdict tbody th[scope="row"] {
  padding: 16px 12px 16px 0;
  text-align: left;
  font-weight: 400;
  font-size: 15px;
  color: var(--g-600);
  border-bottom: 1px solid var(--g-200);
  width: 38%;
}
.verdict tbody td {
  padding: 16px 10px;
  text-align: right;
  font-weight: 800;
  font-size: 17px;
  color: var(--anthra);
  border-bottom: 1px solid var(--g-200);
}
.verdict tbody .v-ok { color: var(--red); }
.verdict tbody .v-ko { color: var(--g-500); font-weight: 600; }

.verdict__final th,
.verdict__final td {
  padding-top: 20px;
  border-bottom: none;
  border-top: 2px solid var(--red);
}
.verdict__final th { color: var(--anthra); font-weight: 800; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.verdict__reco {
  text-align: right;
  font-weight: 800;
  font-size: clamp(34px, 4vw, 56px);
  color: var(--red);
  letter-spacing: -0.01em;
  line-height: 1;
}
@media (max-width: 600px) {
  .verdict tbody th[scope="row"] { width: auto; }
}

/* ============================================================================
   CTA BLOCK
   ============================================================================ */
.cta-block {
  margin: 32px 0 10px;
  padding: 24px 0 0;
  border-top: 1px solid var(--g-200);
}
.cta {
  display: inline-block;
  padding: 16px 32px;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-bottom: 3px solid var(--red-dk);
  transition: background var(--t-fast), transform var(--t-fast);
}
.cta:hover { background: var(--red-dk); transform: translateY(-1px); }
.cta-tel {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--g-600);
}
.cta-tel strong { color: var(--anthra); font-weight: 800; }

/* ============================================================================
   AI ZONE — SEUL DARK #111827
   ============================================================================ */
.ai-zone {
  position: relative;
  margin: 48px calc(var(--pad-x) * -1) 0;
  padding: clamp(56px, 8vw, 110px) var(--pad-x) clamp(56px, 8vw, 110px);
  background: var(--dark);
  color: var(--white);
}
.ai-zone__rule {
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
}
.ai-zone__rule::after {
  content: "";
  position: absolute; top: 6px; left: 0;
  width: 240px; height: 1px;
  background: var(--copper);
}
.ai-zone__kicker {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.ai-zone__kicker::before {
  content: "";
  display: inline-block;
  width: 28px; height: 2px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 12px;
}
.ai-zone__title {
  margin: 0 0 32px;
  font-weight: 800;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 14ch;
}
.ai-zone__reco {
  margin: 0 0 44px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.ai-zone__reco-label {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--g-400);
}
.ai-zone__reco-value {
  margin: 0;
  font-weight: 800;
  font-size: clamp(64px, 12vw, 160px);
  line-height: 0.86;
  color: var(--red);
  letter-spacing: -0.03em;
}
.ai-zone__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  max-width: 1100px;
  margin: 0 0 32px;
  column-rule: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 900px) {
  .ai-zone__grid { grid-template-columns: 1fr; }
}
.ai-zone__body {
  margin: 0;
  font-size: 17px;
  line-height: 1.72;
  color: var(--white);
  max-width: 52ch;
}
.ai-zone__body--dim { color: var(--g-300); }
.ai-zone__status {
  margin: 0 0 18px;
  min-height: 18px;
  font-size: 13px;
  color: var(--gold);
}
.ai-zone__status[data-state="error"] { color: var(--red); }

.ai-zone__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  max-width: 720px;
  margin: 0 0 24px;
}
@media (max-width: 600px) {
  .ai-zone__form { grid-template-columns: 1fr; }
}
.ai-zone__form input {
  padding: 16px 18px;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  transition: border-color var(--t-fast);
}
.ai-zone__form input::placeholder { color: var(--g-400); }
.ai-zone__form input:focus {
  outline: none;
  border-bottom-color: var(--red);
}
.ai-zone__form button {
  padding: 16px 28px;
  background: var(--red);
  color: var(--white);
  border: none;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background var(--t-fast);
}
.ai-zone__form button:hover { background: var(--red-dk); }
.ai-zone__form button:disabled { background: var(--g-600); cursor: not-allowed; }
.ai-zone__signature {
  margin: 0;
  font-size: 13px;
  color: var(--g-400);
  font-style: italic;
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.foot {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px var(--pad-x) 36px;
  background: var(--white);
}
.foot__rule {
  height: 2px;
  background: var(--red);
  margin-bottom: 34px;
  position: relative;
}
.foot__rule::after {
  content: "";
  position: absolute; top: 6px; left: 0;
  width: 120px; height: 1px;
  background: var(--copper);
}
.foot__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  margin-bottom: 36px;
}
@media (max-width: 900px) {
  .foot__grid { grid-template-columns: 1fr; }
}
.foot__brand {
  margin: 0 0 6px;
  font-weight: 800;
  font-size: 18px;
  color: var(--anthra);
}
.foot__slogan {
  margin: 0 0 14px;
  font-size: 13px;
  font-style: italic;
  color: var(--red);
}
.foot__contact {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--g-600);
}
.foot__contact a { color: var(--anthra); font-weight: 600; }
.foot__label {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}
.foot__sources {
  margin: 0; padding: 0;
  list-style: none;
}
.foot__sources li {
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.5;
}
.foot__sources a {
  color: var(--g-600);
  border-bottom: 1px solid var(--g-300);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.foot__sources a:hover { color: var(--red); border-bottom-color: var(--red); }
.foot__legal {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--g-500);
}
.foot__copy {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--g-200);
  font-size: 12px;
  color: var(--g-500);
  text-align: center;
}

/* ============================================================================
   REVEAL (IntersectionObserver) — progressive enhancement
   ============================================================================ */
.js-on .chap,
.js-on .hero__text,
.js-on .hero__number,
.js-on .ai-zone {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--t-slow), transform var(--t-slow);
  will-change: transform, opacity;
}
.js-on .chap.is-visible,
.js-on .hero__text.is-visible,
.js-on .hero__number.is-visible,
.js-on .ai-zone.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Break-even pulse */
@keyframes pulse-dot {
  0%, 100% { r: 7; opacity: 1; }
  50%      { r: 12; opacity: 0.55; }
}
.js-on #svg-crossover .break-dot {
  transform-origin: center;
  animation: pulse-dot 2.2s ease-in-out infinite;
}

/* ============================================================================
   REDUCED MOTION
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js-on .chap,
  .js-on .hero__text,
  .js-on .hero__number,
  .js-on .ai-zone {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================================
   BREAKPOINTS — fine tuning
   ============================================================================ */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .chap__body { font-size: 16px; }
  .dropcap { font-size: 72px; padding: 6px 10px 0 0; }
  .pullquote { font-size: 22px; max-width: 100%; }
  .headline-num { flex-direction: column; align-items: flex-start; gap: 6px; }
  .interview__val { min-width: 120px; }
  .interview__val .big-num { font-size: 26px; }
  .verdict tbody th[scope="row"] { font-size: 13px; }
  .verdict tbody td { font-size: 14px; }
}

/* ============================================================================
   CRED — "ours" magazine (bandeau 4 marqueurs)
   ============================================================================ */
.cred-ours {
  background: var(--white);
  border-top: 1px solid var(--red);
  border-bottom: 1px solid var(--red);
  position: relative;
}
.cred-ours::before,
.cred-ours::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--copper);
}
.cred-ours::before { top: 3px; }
.cred-ours::after  { bottom: 3px; }
.cred-ours__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--pad-x);
}
.cred-ours__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 24px;
}
.cred-ours__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-variant-caps: all-small-caps;
  color: var(--copper);
  line-height: 1.2;
}
.cred-ours__item b {
  color: var(--red);
  font-weight: 800;
  font-variant-caps: normal;
  letter-spacing: 0;
  text-transform: none;
}
.cred-ours__ico {
  width: 18px; height: 18px;
  flex: 0 0 auto;
  color: var(--copper);
}
@media (max-width: 900px) {
  .cred-ours__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cred-ours__list { grid-template-columns: 1fr; }
}

/* ============================================================================
   CRED — signline sous kicker hero
   ============================================================================ */
.cred-signline {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 24px;
  max-width: 62ch;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: clamp(16px, 1.6vw, 22px);
  font-style: italic;
  color: var(--anthra);
  line-height: 1.45;
  border-left: 3px solid var(--red);
  padding-left: 14px;
}
.cred-signline__lozenge {
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--red);
  transform: rotate(45deg);
  flex: 0 0 auto;
  align-self: center;
}
.cred-signline__text { flex: 1 1 auto; min-width: 0; }
.cred-signline__sig {
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-variant-caps: all-small-caps;
  color: var(--copper);
  border-left: 1px solid var(--g-300);
  padding-left: 12px;
}

/* ============================================================================
   CRED — CHAPITRE LE CABINET (pleine page éditoriale)
   ============================================================================ */
.chap-cabinet {
  background: var(--g-50);
  border-top: 1px solid var(--g-200);
  border-bottom: 1px solid var(--g-200);
  padding-top: 60px;
  padding-bottom: 60px;
  margin-top: 32px;
}
.chap-cabinet__grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .chap-cabinet__grid { grid-template-columns: 1fr; gap: 32px; }
}
.chap-cabinet__portrait {
  position: sticky;
  top: 80px;
}
.chap-cabinet__photo {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 2px solid var(--red);
  display: block;
  box-shadow: 0 20px 60px -30px rgba(31,41,55,.4);
}
.chap-cabinet__caption {
  margin: 14px 0 0;
  font-size: 12px;
  font-style: italic;
  color: var(--g-500);
  line-height: 1.45;
  max-width: 360px;
  border-top: 1px solid var(--red);
  padding-top: 10px;
}
.chap-cabinet__editorial { min-width: 0; }
.chap-cabinet__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 28px 0 24px;
  padding: 0;
  border-top: 1px solid var(--red);
  border-bottom: 1px solid var(--red);
}
.chap-cabinet__fact {
  padding: 14px 16px;
  border-right: 1px solid var(--g-200);
  border-bottom: 1px solid var(--g-200);
  margin: 0;
}
.chap-cabinet__fact:nth-child(2n) { border-right: none; }
.chap-cabinet__fact:nth-last-child(-n+2) { border-bottom: none; }
.chap-cabinet__fact dt {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-variant-caps: all-small-caps;
  color: var(--copper);
  margin: 0 0 4px;
}
.chap-cabinet__fact dd {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--anthra);
}
.chap-cabinet__fact dd b {
  font-weight: 800;
  color: var(--red);
  font-size: 20px;
  margin-right: 4px;
}
.chap-cabinet__cta-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.chap-cabinet__tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--g-600);
}
.chap-cabinet__tel svg { color: var(--copper); flex: 0 0 auto; }
.chap-cabinet__tel a {
  color: var(--red);
  font-weight: 800;
  border-bottom: 1px solid rgba(196,35,43,.3);
}
.chap-cabinet__tel a:hover { border-bottom-color: var(--red); }
@media (max-width: 900px) {
  .chap-cabinet__portrait { position: static; }
  .chap-cabinet__photo { max-width: 280px; }
}

/* ============================================================================
   CRED — sources officielles press-style numérotées
   ============================================================================ */
.cred-press {
  background: var(--white);
  border-top: 1px solid var(--red);
}
.cred-press__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 44px var(--pad-x) 36px;
}
.cred-press__kicker {
  margin: 0 0 22px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-variant-caps: all-small-caps;
  color: var(--copper);
  border-bottom: 1px solid var(--copper);
  padding-bottom: 8px;
}
.cred-press__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: press;
}
.cred-press__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--g-300);
}
.cred-press__num {
  grid-row: 1 / span 2;
  font-family: var(--f-sans);
  font-size: 28px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  align-self: start;
}
.cred-press__list li a {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--anthra);
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.cred-press__list li a svg {
  width: 12px; height: 12px;
  color: var(--copper);
  flex: 0 0 auto;
}
.cred-press__list li a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}
.cred-press__desc {
  grid-column: 2;
  font-size: 12px;
  color: var(--g-500);
  font-style: italic;
  line-height: 1.4;
}
@media (max-width: 900px) {
  .cred-press__list { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (max-width: 560px) {
  .cred-press__list { grid-template-columns: 1fr; }
}
