/* Archivo 400 latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/Archivo-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Archivo 400 latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/Archivo-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Archivo 500 latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/Archivo-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Archivo 500 latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/Archivo-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Archivo 600 latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/Archivo-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Archivo 600 latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/Archivo-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Archivo 700 latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/Archivo-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Archivo 700 latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/Archivo-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* IBM Plex Mono 400 latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/IBMPlexMono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* IBM Plex Mono 400 latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/IBMPlexMono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* IBM Plex Mono 500 latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/IBMPlexMono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* IBM Plex Mono 500 latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/IBMPlexMono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Kiskeya Leveling — feuille de style commune
   Palette du site : bleu marine, or, crème. Caractères : Archivo et IBM Plex Mono.
   Les variables de couleur sont regroupées dans :root ci-dessous. */

:root {
  --navy: #0D1B35;
  --navy-2: #162444;
  --navy-3: #1E3055;
  --gold: #C9A84C;
  --gold-2: #E8C97A;
  --gold-dark: #A8862F;
  --cream: #F8F5EF;
  --cream-2: #EFEAE0;
  --white: #FFFFFF;
  --ink: #1A2438;
  --ink-2: #5A6478;
  --muted: #8B93A3;
  --rule: #DFD9CC;
  --rule-navy: rgba(201, 168, 76, 0.22);
  --alert: #C0392B;
  --alert-soft: #E8836B;
  --green: #1A7A4A;
  --green-bright: #2FA86B;
  --blue-bright: #5B9BD5;
  --blue-mid: #2A4A7A;
  --gold-glow: rgba(201, 168, 76, 0.16);
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --pad: 56px;
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: var(--navy); text-decoration: underline; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.mono { font-family: var(--mono); }
.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold-dark); font-weight: 500;
}
.on-navy .eyebrow { color: var(--gold); }
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--navy); color: var(--cream);
  padding: 12px 18px; z-index: 999;
}
.skip:focus { left: 0; }

/* Sections sombres */
.on-navy { background: var(--navy); color: var(--white); }
.on-navy h1, .on-navy h2, .on-navy h3, .on-navy h4 { color: var(--white); }
.on-navy p { color: #C3CCDC; }
.on-navy a { color: var(--gold-2); }
.on-navy a:hover { color: var(--white); }

/* ---------- Bandeau échéance ---------- */
.notice { background: var(--navy-2); border-bottom: 1px solid var(--rule-navy); font-family: var(--mono); font-size: 12px; color: #C3CCDC; }
.notice .wrap { display: flex; align-items: center; gap: 20px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.notice .tag { color: var(--gold); font-weight: 500; letter-spacing: 0.1em; white-space: nowrap; text-transform: uppercase; }
.notice .dates { flex-grow: 1; min-width: 260px; }
.notice .dates b { font-weight: 500; color: var(--white); }
.notice a { color: var(--gold-2); font-weight: 500; white-space: nowrap; border-bottom: 1px solid var(--rule-navy); }
.notice a:hover { color: var(--white); text-decoration: none; }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(13, 27, 53, 0.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule-navy); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; position: relative; }
.nav-toggle {
  display: none; align-items: center; gap: 9px; cursor: pointer;
  background: none; border: 1px solid var(--rule-navy); color: var(--white);
  font-family: var(--sans); font-size: 13px; font-weight: 600; padding: 10px 14px;
}
.nav-toggle:hover { border-color: var(--gold); }
.nav-toggle .bars { display: block; width: 16px; height: 10px; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after, .nav-toggle .bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--gold);
}
.nav-toggle .bars::before { top: 0; }
.nav-toggle .bars span { top: 4.25px; }
.nav-toggle .bars::after { bottom: 0; }
.brand { display: flex; align-items: center; gap: 13px; color: var(--white); }
.brand:hover { text-decoration: none; color: var(--white); }
.brand span { font-size: 15px; font-weight: 700; letter-spacing: 0.1em; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 13.5px; font-weight: 500; }
.nav-links a { color: #C3CCDC; }
.nav-links a:hover { color: var(--gold-2); text-decoration: none; }
.nav-links a.cta { color: var(--navy); background: var(--gold); padding: 10px 18px; font-weight: 600; }
.nav-links a.cta:hover { background: var(--gold-2); color: var(--navy); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block; background: var(--gold); color: var(--navy);
  padding: 16px 30px; font-size: 15px; font-weight: 600; border: 1px solid var(--gold);
  letter-spacing: -0.01em; position: relative; overflow: hidden;
  transition: background 0.22s, border-color 0.22s, transform 0.22s, box-shadow 0.22s;
}
.btn:hover {
  background: var(--gold-2); border-color: var(--gold-2); color: var(--navy); text-decoration: none;
  transform: translateY(-2px); box-shadow: 0 10px 26px var(--gold-glow);
}
.btn:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.on-navy .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.35); }
.on-navy .btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  color: var(--white); position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 560px at 82% -12%, rgba(201, 168, 76, 0.20), transparent 62%),
    radial-gradient(760px 460px at 4% 108%, rgba(91, 155, 213, 0.16), transparent 62%),
    var(--navy);
}
.hero::after {
  content: ""; position: absolute; right: -180px; top: -180px; width: 620px; height: 620px;
  border: 1px solid var(--rule-navy); border-radius: 50%; pointer-events: none;
}
.hero::before {
  content: ""; position: absolute; right: -60px; bottom: -280px; width: 480px; height: 480px;
  border: 1px solid rgba(201, 168, 76, 0.12); border-radius: 50%; pointer-events: none;
}
.hero .wrap { padding-top: 84px; padding-bottom: 78px; position: relative; z-index: 1; }
.hero h1 em { position: relative; display: inline-block; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.09em;
  background: var(--gold); opacity: 0.32; transform: scaleX(0); transform-origin: left;
  animation: souligne 0.9s 0.5s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
@keyframes souligne { to { transform: scaleX(1); } }
.hero h1 { font-size: clamp(36px, 5.4vw, 62px); max-width: 16ch; margin-top: 22px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lede { margin-top: 26px; font-size: 18px; line-height: 1.62; color: #C3CCDC; max-width: 58ch; }
.hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 38px; flex-wrap: wrap; }
.hero-actions .note { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.hero-sig { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--rule-navy); font-size: 14.5px; color: #A9B4C6; max-width: 74ch; }
.hero-sig b { color: var(--white); font-weight: 600; }

/* ---------- Bandeau de chiffres ---------- */
.stats {
  border-top: 1px solid var(--rule-navy);
  background: linear-gradient(180deg, var(--navy-2) 0%, #12203C 100%);
}
.stats .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.stat { padding: 38px 28px 38px 0; border-right: 1px solid var(--rule-navy); position: relative; }
.stats .stat:last-child { border-right: 0; padding-right: 0; }
.stats .stat:not(:first-child) { padding-left: 28px; }
.stat .label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.stat .value {
  font-size: 46px; font-weight: 700; letter-spacing: -0.045em; color: var(--white);
  margin-top: 14px; line-height: 1; font-variant-numeric: tabular-nums;
}
.stat .value::after {
  content: ""; display: block; width: 34px; height: 3px; background: var(--gold);
  margin-top: 16px; transform-origin: left;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) 0.25s;
}
.js-anim .stat .value::after { transform: scaleX(0); }
.js-anim .stat.vu .value::after { transform: scaleX(1); }
.stat .desc { font-size: 13.5px; line-height: 1.5; color: #A9B4C6; margin-top: 14px; }
.stat .src { font-family: var(--mono); font-size: 10.5px; color: var(--muted); margin-top: 8px; }
.stat.alerte .value { color: var(--alert-soft); }
.stat.alerte .value::after { background: var(--alert-soft); }
.stat.positif .value { color: var(--green-bright); }
.stat.positif .value::after { background: var(--green-bright); }

/* ---------- Sections ---------- */
.section { padding-top: 84px; padding-bottom: 84px; }
.section.tight { padding-top: 64px; padding-bottom: 64px; }
.section-title { font-size: clamp(28px, 3.8vw, 42px); margin-top: 16px; max-width: 22ch; }
.section-lede { margin-top: 20px; font-size: 17px; line-height: 1.64; color: var(--ink-2); max-width: 62ch; }
.on-navy .section-lede { color: #C3CCDC; }
.section-head { max-width: 70ch; }

/* ---------- Cartes ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 44px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--white); border: 1px solid var(--rule); padding: 30px 28px;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.3, 1), border-color 0.28s, box-shadow 0.28s;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 14px 34px rgba(13, 27, 53, 0.10); }
.card:hover::before { transform: scaleX(1); }
.on-navy .card { background: var(--navy-2); border-color: var(--rule-navy); }
.on-navy .card:hover { box-shadow: 0 14px 40px rgba(0, 0, 0, 0.32); background: var(--navy-3); }
.card .ico { color: var(--gold-dark); margin-bottom: 18px; display: block; transition: transform 0.28s; }
.card:hover .ico { transform: scale(1.12) rotate(-3deg); }
.on-navy .card .ico { color: var(--gold); }
.card h3 { font-size: 19px; letter-spacing: -0.03em; }
.card p { margin-top: 11px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.on-navy .card p { color: #B4BFD1; }
.card .idx { font-family: var(--mono); font-size: 11px; color: var(--gold-dark); letter-spacing: 0.1em; margin-bottom: 12px; }
.on-navy .card .idx { color: var(--gold); }

/* ---------- Schéma du cycle ---------- */
.diagram { margin-top: 40px; background: var(--white); border: 1px solid var(--rule); }
.on-navy .diagram { background: var(--navy-2); border-color: var(--rule-navy); }
.diagram-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 15px 24px; border-bottom: 1px solid var(--rule);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase;
}
.on-navy .diagram-head { border-color: var(--rule-navy); }
.diagram-head .legend { color: var(--alert); }
.on-navy .diagram-head .legend { color: #E8836B; }
.diagram-scroll { overflow-x: auto; padding: 30px 24px 22px; }
.diagram-scroll svg { display: block; min-width: 720px; width: 100%; height: auto; }
.diagram-foot { padding: 0 24px 22px; font-size: 13.5px; color: var(--ink-2); }
.on-navy .diagram-foot { color: #A9B4C6; }

/* ---------- Tableaux ---------- */
.tbl { width: 100%; border-collapse: collapse; margin-top: 30px; background: var(--white); border: 1px solid var(--rule); }
.tbl caption { text-align: left; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; padding-bottom: 12px; }
.tbl th, .tbl td { text-align: left; padding: 17px 20px; border-bottom: 1px solid var(--rule); vertical-align: top; font-size: 14.5px; }
.tbl thead th { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; font-weight: 400; background: var(--cream-2); }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody th[scope="row"] { font-weight: 600; color: var(--navy); }
.tbl .date { font-family: var(--mono); font-size: 15px; font-weight: 500; white-space: nowrap; color: var(--navy); }
.tbl .now { color: var(--alert); }
.tbl td b { font-weight: 600; color: var(--navy); }

/* ---------- Listes numérotées ---------- */
.steps-list { list-style: none; margin-top: 34px; }
.steps-list li { display: flex; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--rule); align-items: flex-start; }
.on-navy .steps-list li { border-color: var(--rule-navy); }
.steps-list .num { font-family: var(--mono); font-size: 12px; color: var(--gold-dark); padding-top: 4px; flex-shrink: 0; width: 30px; font-weight: 500; }
.on-navy .steps-list .num { color: var(--gold); }
.steps-list h3 { font-size: 18px; letter-spacing: -0.03em; }
.steps-list p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); max-width: 82ch; }
.on-navy .steps-list p { color: #B4BFD1; }

/* ---------- Processus ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 44px; }
.step { border-top: 2px solid var(--gold); padding-top: 20px; }
.step .n { font-family: var(--mono); font-size: 12px; color: var(--gold-dark); font-weight: 500; }
.on-navy .step .n { color: var(--gold); }
.step h3 { font-size: 17.5px; margin-top: 12px; letter-spacing: -0.03em; }
.step p { margin-top: 10px; font-size: 14px; line-height: 1.58; color: var(--ink-2); }
.on-navy .step p { color: #B4BFD1; }

/* ---------- Références ---------- */
.case { background: var(--white); border: 1px solid var(--rule); border-left: 3px solid var(--gold); padding: 30px 32px; margin-top: 22px; }
.case-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--gold-dark); text-transform: uppercase; }
.case h3 { font-size: 21px; margin-top: 10px; max-width: 48ch; letter-spacing: -0.035em; }
.case-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--rule); }
.case-cols h4 { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; font-weight: 400; }
.case-cols p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.case-cols .result p { color: var(--navy); }
.case-cols .result strong { color: var(--green); font-weight: 700; }
.case-note { margin-top: 20px; font-size: 12.5px; line-height: 1.55; color: var(--muted); max-width: 86ch; }

/* ---------- Outils ---------- */
.tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tools li { list-style: none; font-family: var(--mono); font-size: 12px; color: var(--ink-2); border: 1px solid var(--rule); padding: 7px 13px; background: var(--white); }
.on-navy .tools li { color: #C3CCDC; border-color: var(--rule-navy); background: var(--navy-2); }

/* ---------- Fondateur ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; margin-top: 40px; }
.founder p { font-size: 16px; line-height: 1.68; color: var(--ink-2); margin-bottom: 16px; }
.on-navy .founder p { color: #C3CCDC; }
.founder p b { color: var(--navy); font-weight: 600; }
.on-navy .founder p b { color: var(--white); }
.founder-side { border-left: 1px solid var(--rule); padding-left: 34px; }
.on-navy .founder-side { border-color: var(--rule-navy); }
.founder-side .row { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: 12.5px; }
.on-navy .founder-side .row { border-color: var(--rule-navy); }
.founder-side .row dt { color: var(--ink-2); }
.founder-side .row dd { color: var(--navy); font-weight: 500; text-align: right; }
.on-navy .founder-side .row dt { color: #A9B4C6; }
.on-navy .founder-side .row dd { color: var(--white); }

/* ---------- Tarifs ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 44px; }
.plan { background: var(--white); border: 1px solid var(--rule); padding: 34px 30px; display: flex; flex-direction: column; }
.plan.featured { background: var(--navy); border-color: var(--gold); }
.plan.featured h3, .plan.featured .plan-price { color: var(--white); }
.plan.featured .plan-desc, .plan.featured li { color: #B4BFD1; }
.plan.featured .plan-desc { border-color: var(--rule-navy); }
.plan-name { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan h3 { font-size: 19px; letter-spacing: -0.03em; }
.plan .flag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; background: var(--gold); color: var(--navy); padding: 4px 9px; white-space: nowrap; }
.plan-price { font-size: 42px; font-weight: 700; letter-spacing: -0.045em; margin-top: 20px; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.plan-price span { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--ink-2); display: block; margin-top: 10px; letter-spacing: 0; }
.plan.featured .plan-price span { color: #A9B4C6; }
.plan-desc { font-size: 14px; color: var(--ink-2); margin-top: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.plan ul { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 11px; flex-grow: 1; }
.plan li { font-size: 14px; line-height: 1.5; padding-left: 22px; position: relative; color: var(--ink-2); }
.plan li::before { content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 1px; background: var(--gold); }
.plan .btn { margin-top: 28px; text-align: center; }
.plan-extra { margin-top: 22px; background: var(--white); border: 1px solid var(--rule); padding: 28px 30px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.plan-extra h3 { font-size: 18px; letter-spacing: -0.03em; }
.plan-extra p { font-size: 14.5px; color: var(--ink-2); margin-top: 8px; max-width: 76ch; }
.plan-note { margin-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 34px; border-top: 1px solid var(--rule); }
.on-navy .faq-list { border-color: var(--rule-navy); }
details { border-bottom: 1px solid var(--rule); }
.on-navy details { border-color: var(--rule-navy); }
summary {
  cursor: pointer; padding: 20px 0; font-size: 17px; font-weight: 600; letter-spacing: -0.025em;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); font-size: 20px; color: var(--gold-dark); flex-shrink: 0; font-weight: 400; }
.on-navy summary::after { color: var(--gold); }
details[open] summary::after { content: "\2212"; }
details p { padding-bottom: 22px; font-size: 15px; line-height: 1.68; color: var(--ink-2); max-width: 80ch; }
.on-navy details p { color: #B4BFD1; }

/* ---------- Formulaire ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 60px; margin-top: 44px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--rule); padding: 34px 32px; }
.on-navy .form-card { background: var(--navy-2); border-color: var(--rule-navy); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field .req { color: var(--gold-dark); }
.on-navy .field .req { color: var(--gold); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 15px; color: var(--ink); background: var(--cream);
  border: 1px solid var(--rule); padding: 13px 14px; width: 100%;
}
.on-navy .field input, .on-navy .field select, .on-navy .field textarea {
  background: var(--navy); border-color: var(--rule-navy); color: var(--white);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-legal { font-size: 12.5px; line-height: 1.55; color: var(--muted); margin-top: 4px; margin-bottom: 20px; }
.on-navy .form-legal { color: #8B98AE; }
.form-card .btn { width: 100%; text-align: center; border: 0; cursor: pointer; font-family: var(--sans); }
.form-msg { margin-top: 16px; padding: 14px 16px; font-size: 14.5px; line-height: 1.5; display: none; }
.form-msg.ok { display: block; background: rgba(26,122,74,0.12); border-left: 3px solid var(--green); color: var(--green); }
.form-msg.ko { display: block; background: rgba(192,57,43,0.1); border-left: 3px solid var(--alert); color: var(--alert); }
.on-navy .form-msg.ok { background: rgba(26,122,74,0.2); color: #7FD6A8; }
.on-navy .form-msg.ko { background: rgba(192,57,43,0.2); color: #F0A69C; }

.contact-aside .row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: flex-start; }
.on-navy .contact-aside .row { border-color: var(--rule-navy); }
.contact-aside .ico { color: var(--gold-dark); flex-shrink: 0; margin-top: 2px; }
.on-navy .contact-aside .ico { color: var(--gold); }
.contact-aside h3 { font-size: 16px; letter-spacing: -0.025em; }
.contact-aside p { margin-top: 5px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.on-navy .contact-aside p { color: #B4BFD1; }

/* ---------- Compte à rebours ---------- */
.countdown { background: var(--gold); color: var(--navy); }
.countdown .wrap { padding-top: 22px; padding-bottom: 22px; display: flex; align-items: baseline; gap: 26px; flex-wrap: wrap; }
.countdown .big { font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.countdown .lbl { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #4A3D14; max-width: 70ch; }

/* ---------- Fil d'Ariane ---------- */
.crumbs { background: var(--cream-2); border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: 11.5px; }
.crumbs .wrap { padding-top: 11px; padding-bottom: 11px; color: var(--muted); }
.crumbs a { color: var(--ink-2); }
.crumbs span[aria-hidden] { padding: 0 9px; color: var(--rule); }

/* ---------- Texte courant et pages légales ---------- */
.prose { margin-top: 20px; max-width: 76ch; }
.prose p { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin-bottom: 14px; }
.prose p:last-child { margin-bottom: 0; }

.legal { max-width: 86ch; }
.legal h2 { font-size: 24px; margin-top: 50px; padding-bottom: 11px; border-bottom: 2px solid var(--gold); letter-spacing: -0.035em; }
.legal > h2:first-child { margin-top: 0; }
.legal h3 { font-size: 17px; margin-top: 30px; letter-spacing: -0.03em; }
.legal p { margin-top: 13px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.legal p b, .legal li b { color: var(--navy); font-weight: 600; }
.legal .tbl { margin-top: 22px; }
.legal-list { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 11px; }
.legal-list li { font-size: 15px; line-height: 1.62; color: var(--ink-2); padding-left: 22px; position: relative; }
.legal-list li::before { content: ""; position: absolute; left: 0; top: 12px; width: 10px; height: 1px; background: var(--gold); }
mark { background: var(--gold-2); color: var(--navy); padding: 3px 8px; font-family: var(--mono); font-size: 12.5px; }

/* ---------- CTA final ---------- */
.final { background: var(--navy); color: var(--white); border-top: 3px solid var(--gold); }
.final .wrap { padding-top: 76px; padding-bottom: 76px; display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 60px; align-items: center; }
.final h2 { font-size: clamp(28px, 3.8vw, 40px); max-width: 20ch; color: var(--white); }
.final p { margin-top: 18px; font-size: 17px; line-height: 1.62; color: #C3CCDC; max-width: 54ch; }
.final .btn { margin-top: 30px; }
.final ul { list-style: none; display: flex; flex-direction: column; gap: 13px; font-size: 14px; color: #C3CCDC; }
.final li { padding-left: 22px; position: relative; }
.final li::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 1px; background: var(--gold); }

/* ---------- Pied de page ---------- */
footer { background: var(--navy-2); color: #C3CCDC; font-size: 14px; border-top: 1px solid var(--rule-navy); }
footer .wrap { padding-top: 54px; padding-bottom: 40px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: 48px; }
.foot-grid h4 { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--gold); text-transform: uppercase; font-weight: 400; margin-bottom: 16px; }
.foot-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-grid a { color: #C3CCDC; }
.foot-grid a:hover { color: var(--gold-2); }
.foot-about p { color: #A9B4C6; margin-top: 16px; max-width: 46ch; line-height: 1.62; }
.foot-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--rule-navy);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11.5px; color: var(--muted);
}
.foot-bottom a { color: var(--muted); }
.foot-bottom a:hover { color: var(--gold-2); }

/* ================================================
   Mouvement : révélation au défilement, survols
   Tout est désactivé si le visiteur a demandé
   moins d'animations (voir la règle en fin de fichier).
   ================================================ */
.js-anim .reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.js-anim .reveal.vu { opacity: 1; transform: none; }
.js-anim .reveal.d1 { transition-delay: 0.08s; }
.js-anim .reveal.d2 { transition-delay: 0.16s; }
.js-anim .reveal.d3 { transition-delay: 0.24s; }
.js-anim .reveal.d4 { transition-delay: 0.32s; }
.js-anim .reveal.d5 { transition-delay: 0.40s; }

/* Titres de section : filet doré qui se déploie */
.section-head .eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.section-head .eyebrow::before {
  content: ""; display: block; width: 26px; height: 2px; background: var(--gold);
  transform-origin: left;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.3, 1) 0.1s;
}
.js-anim .section-head .eyebrow::before { transform: scaleX(0); }
.js-anim .section-head.vu .eyebrow::before { transform: scaleX(1); }

/* Étapes du processus : la barre supérieure se remplit */
.step { position: relative; border-top-color: var(--rule); }
.step::before {
  content: ""; position: absolute; top: -2px; left: 0; right: 0; height: 2px; background: var(--gold);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.js-anim .step::before { transform: scaleX(0); }
.js-anim .step.vu::before { transform: scaleX(1); }
.steps .step:nth-child(2)::before { transition-delay: 0.12s; }
.steps .step:nth-child(3)::before { transition-delay: 0.24s; }
.steps .step:nth-child(4)::before { transition-delay: 0.36s; }

/* Références : la barre latérale se déploie */
.case { position: relative; border-left-color: transparent; }
.case::before {
  content: ""; position: absolute; top: -1px; bottom: -1px; left: -3px; width: 3px; background: var(--gold);
  transform-origin: top;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.js-anim .case::before { transform: scaleY(0); }
.js-anim .case.vu::before { transform: scaleY(1); }
.case { transition: box-shadow 0.28s, transform 0.28s; }
.case:hover { box-shadow: 0 12px 30px rgba(13, 27, 53, 0.09); }

/* Schéma du cycle : le trait de résultat se dessine */
.diagram .trace-avant { transition: opacity 0.5s ease 0.2s; }
.js-anim .diagram .trace-avant { opacity: 0; }
.js-anim .diagram.vu .trace-avant { opacity: 1; }
.js-anim .diagram .trace-apres {
  stroke-dasharray: 540; stroke-dashoffset: 540;
  transition: stroke-dashoffset 1.3s cubic-bezier(0.3, 0.7, 0.3, 1) 0.55s;
}
.js-anim .diagram.vu .trace-apres { stroke-dashoffset: 0; }
.js-anim .diagram .fleche-apres { opacity: 0; transition: opacity 0.3s ease 1.7s; }
.js-anim .diagram.vu .fleche-apres { opacity: 1; }

/* Tarifs : la formule mise en avant se détache */
.plan { transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.28s, border-color 0.28s; }
.plan:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 16px 38px rgba(13, 27, 53, 0.12); }
.plan.featured { box-shadow: 0 16px 44px rgba(13, 27, 53, 0.20); }
.plan.featured:hover { box-shadow: 0 22px 54px rgba(13, 27, 53, 0.28); }

/* Liens du pied de page et de la navigation */
.nav-links a, .foot-grid a, .contact-aside a { transition: color 0.2s; }
.tools li { transition: border-color 0.22s, color 0.22s, transform 0.22s; }
.tools li:hover { border-color: var(--gold); color: var(--navy); transform: translateY(-2px); }
summary { transition: color 0.2s; }
summary:hover { color: var(--gold-dark); }
.on-navy summary:hover { color: var(--gold); }

/* ---------- Bloc offre (page e-facturation) ---------- */
.offer { margin-top: 40px; background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--gold); }
.on-navy .offer { background: var(--navy-2); border-color: var(--rule-navy); border-top-color: var(--gold); }
.offer-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  padding: 26px 30px; border-bottom: 1px solid var(--rule); background: var(--cream-2);
}
.on-navy .offer-head { background: var(--navy-3); border-color: var(--rule-navy); }
.offer-head h3 { font-size: 22px; letter-spacing: -0.035em; }
.offer-head .price { font-size: 26px; font-weight: 700; white-space: nowrap; color: var(--gold-dark); letter-spacing: -0.04em; }
.on-navy .offer-head .price { color: var(--gold); }
.offer-body { padding: 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 46px; }
.offer-body ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.offer-body li { font-size: 14.5px; line-height: 1.58; padding-left: 22px; position: relative; color: var(--ink-2); }
.on-navy .offer-body li { color: #B4BFD1; }
.offer-body li::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 1px; background: var(--gold); }
.offer-foot { padding: 0 30px 30px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.offer-foot .note { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .offer-body { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 1000px) {
  :root { --pad: 32px; }
  .stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { border-right: 1px solid var(--rule-navy); border-bottom: 1px solid var(--rule-navy); padding-left: 0; padding-right: 28px; }
  .stats .stat:nth-child(even) { border-right: 0; padding-left: 28px; padding-right: 0; }
  .cards, .cards.two, .steps, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .founder { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .founder-side { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; padding-top: 26px; }
  .case-cols { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .final .wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .plan-extra { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
  .nav-links { gap: 18px; font-size: 13px; }
}
@media (max-width: 760px) {
  :root { --pad: 20px; }

  /* Menu déroulant */
  .nav-toggle { display: flex; padding: 13px 14px; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy); border-bottom: 1px solid var(--rule-navy);
    flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0 14px;
    max-height: calc(100vh - 72px); overflow-y: auto;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.cta) {
    display: block; padding: 15px var(--pad); font-size: 15.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .nav-links a.cta { margin: 14px var(--pad) 0; text-align: center; padding: 15px 18px; font-size: 15px; }

  /* Lisibilité des petits textes */
  .eyebrow { font-size: 12px; }
  .stat .label, .stat .src { font-size: 11.5px; }
  .diagram-head { font-size: 11.5px; }
  .case-tag, .case-cols h4 { font-size: 11.5px; }
  .plan .flag { font-size: 11.5px; }
  .card .idx, .steps-list .num, .step .n { font-size: 11.5px; }
  .field label { font-size: 12px; }
  .foot-grid h4 { font-size: 11.5px; }
  .tbl thead th, .tbl caption { font-size: 11.5px; }
  .notice { font-size: 12.5px; }
  .case-note, .plan-note, .diagram-foot { font-size: 13.5px; }

  /* Cibles tactiles des liens de contact */
  .contact-aside .row { padding: 14px 0; }
  .contact-aside p a { display: inline-block; padding: 9px 0; }
  .stats .wrap { grid-template-columns: minmax(0, 1fr); }
  .stat, .stats .stat:nth-child(even) { border-right: 0; padding-left: 0; padding-right: 0; }
  .cards, .cards.two, .steps, .plans { grid-template-columns: minmax(0, 1fr); }
  .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .section { padding-top: 60px; padding-bottom: 60px; }
  .hero .wrap { padding-top: 58px; padding-bottom: 56px; }
  .hero::after, .hero::before { display: none; }
  .btn { width: 100%; text-align: center; }
  .hero-actions .btn { width: auto; }
  .case { padding: 24px 22px; }
  .tbl { display: block; overflow-x: auto; }
  .countdown .big { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .stat .value::after, .section-head .eyebrow::before, .step::before { transform: scaleX(1); }
  .case::before { transform: scaleY(1); }
  .diagram .trace-apres { stroke-dashoffset: 0; }
  .diagram .trace-avant, .diagram .fleche-apres { opacity: 1; }
  .card:hover, .plan:hover, .btn:hover, .tools li:hover { transform: none; }
}
