/* ==========================================================================
   Conforme : charte blanche institutionnelle
   Bleu du drapeau européen (#003399), or des étoiles (#FFCC00), papier blanc.
   Titres : Source Serif 4 · Texte : Work Sans (polices auto-hébergées)
   ========================================================================== */

@font-face { font-family: "Source Serif"; src: url("/fonts/source-serif-4-latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("/fonts/WorkSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("/fonts/WorkSans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("/fonts/WorkSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("/fonts/WorkSans-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* Encre et papier : neutres légèrement bleutés, le bleu du drapeau comme seul accent, l'or réservé aux étoiles */
  --blue: #003399;
  --blue-deep: #00215f;
  --blue-soft: #eef2fb;
  --blue-line: #cfd9ef;
  --gold: #ffcc00;
  --gold-ink: #7a5c00;
  --gold-soft: #fff7d6;
  --ink: #111827;
  --ink-2: #4b5565;
  --muted: #6b7487;
  --line: rgba(17, 24, 39, .09);
  --line-2: rgba(17, 24, 39, .14);
  --mist: #f5f7fa;
  --raised: #eceff4;
  --paper: #ffffff;
  --ok: #15803d;
  --ok-soft: #eaf6ee;
  --ko: #c62828;
  --ko-soft: #fdeeee;
  --na: #7a8296;
  --na-soft: #f0f2f6;

  --serif: "Source Serif", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;

  --r-sm: 6px;
  --r: 10px;
  --r-lg: 14px;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .05);
  --shadow-2: 0 8px 24px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-3: 0 24px 64px -24px rgba(17, 24, 39, .22), 0 2px 6px rgba(0, 0, 0, .04);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1rem/1.6 var(--sans); font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.15; margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }

/* --- Avertissement d'indépendance ------------------------------------- */
.notice-bar { background: var(--mist); border-bottom: 1px solid var(--line); color: var(--muted); font-size: .8125rem; }
.notice-bar .wrap { display: flex; align-items: center; gap: 10px; padding-block: 8px; }
.notice-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }

/* --- En-tête ------------------------------------------------------------ */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { text-decoration: none; color: inherit; margin-right: auto; }
.nav { display: flex; gap: 4px; }
.nav > a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .9375rem; padding: 8px 12px; border-radius: var(--r-sm); position: relative; }
.nav > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav > a:hover::after, .nav > a.is-on::after { transform: scaleX(1); }
.nav > a.is-on { color: var(--blue); }
.nav-toggle { display: none; }
.nav-mobile { display: none; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark { position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; flex: none; }
.logo-stars { position: absolute; inset: 1px; width: calc(100% - 2px); height: calc(100% - 2px); }
.logo-stars .star { fill: var(--gold); }
.logo-check { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.logo-word { font-family: var(--serif); font-size: 1.5rem; line-height: 1; color: var(--ink); letter-spacing: -.01em; }
.logo-tld { font-family: var(--sans); font-weight: 600; font-size: .8em; color: var(--blue); margin-left: 1px; }
.brand:hover .logo-stars { animation: spin 6s linear infinite; }

/* --- Boutons et champs ------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 1rem/1 var(--sans); padding: 15px 22px; border-radius: var(--r-sm); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 6px 16px -8px rgba(0, 51, 153, .7); }
.btn-primary:hover { background: var(--blue-deep); text-decoration: none; }
.btn-ghost { background: #fff; color: var(--blue); border-color: var(--blue-line); }
.btn-ghost:hover { border-color: var(--blue); text-decoration: none; }
.btn-gold { background: var(--gold); color: var(--blue-deep); }
.btn-gold:hover { background: #ffd633; text-decoration: none; }
.btn-sm { padding: 11px 16px; font-size: .9375rem; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .8125rem/1 var(--sans); color: var(--blue); letter-spacing: .02em; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); }

/* --- Héros (centré, solennel) ----------------------------------------- */
.hero { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding-block: clamp(36px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(70% 60% at 50% 38%, var(--blue-soft) 0%, rgba(232, 238, 251, 0) 70%), linear-gradient(180deg, #fff 0%, var(--mist) 100%);
}
.hero-halo { position: absolute; z-index: -1; left: 50%; top: 46%; width: min(1100px, 150vw); aspect-ratio: 1; translate: -50% -50%; pointer-events: none; }
.hero-halo .stars { width: 100%; height: 100%; animation: spin 240s linear infinite; }
.hero-halo .stars .star { fill: var(--blue); opacity: .035; }
.hero-halo::after { content: ""; position: absolute; inset: 21%; border-radius: 50%; border: 1px solid rgba(0, 51, 153, .07); }
.hero-in { display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(2.375rem, 5vw, 4rem); max-width: 15em; margin-block: 16px 18px; }
.hero h1 em { font-style: normal; color: var(--blue); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .12em; background: var(--gold); border-radius: 2px; transform-origin: left; animation: underline 1s 1.2s var(--ease) both; z-index: -1; }
.hero .eyebrow { animation: rise .7s .25s var(--ease) both; }
.hero h1 { animation: rise .8s .35s var(--ease) both; }
.hero .lead { margin-inline: auto; animation: rise .8s .5s var(--ease) both; }
.hero .scan-form { animation: rise .8s .65s var(--ease) both; }
.hero .hero-stats { animation: rise .8s .8s var(--ease) both; }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 36em; }

.scan-form { margin-top: 34px; width: 100%; max-width: 640px; text-align: left; }
.scan-label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 8px; }
.scan-field { display: flex; gap: 8px; padding: 6px; background: #fff; border: 1px solid var(--blue-line); border-radius: var(--r); box-shadow: var(--shadow-2); transition: border-color .2s, box-shadow .2s; }
.scan-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft), var(--shadow-2); }
.scan-field .prefix { display: flex; align-items: center; padding-left: 12px; color: var(--muted); font-size: .9375rem; }
.scan-field input { flex: 1; min-width: 0; border: 0; outline: 0; font: 500 1.0625rem var(--sans); color: var(--ink); background: transparent; padding: 10px 4px; }
.scan-field input::placeholder { color: #9aa3b5; font-weight: 400; }
.scan-hint { margin-top: 12px; font-size: .875rem; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.scan-hint span { display: inline-flex; align-items: center; gap: 6px; }
.scan-hint svg { width: 14px; height: 14px; stroke: var(--ok); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.field-error { margin-top: 10px; color: var(--ko); font-weight: 500; font-size: .9375rem; }

.hero-stats { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.hero-stats li { padding: 4px clamp(16px, 3vw, 36px); display: grid; gap: 2px; }
.hero-stats li + li { border-left: 1px solid var(--blue-line); }
.hero-stats b { font: 400 clamp(1.75rem, 3vw, 2.25rem)/1 var(--serif); color: var(--blue); }
.hero-stats span { font-size: .8125rem; color: var(--muted); }

/* Mât et drapeau qui flotte */
.mast { position: relative; width: clamp(160px, 17vw, 210px); height: clamp(190px, 20vw, 250px); margin-left: 14px; --mast-drop: 70%; }
.mast-pole { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; border-radius: 3px; background: linear-gradient(90deg, #aeb6c4, #f4f6f9 45%, #8d96a6); box-shadow: 1px 0 2px rgba(0,0,0,.12); }
.mast-pole::before { content: ""; position: absolute; top: -9px; left: 50%; width: 13px; height: 13px; border-radius: 50%; translate: -50% 0; background: radial-gradient(circle at 35% 35%, #fff4bf, var(--gold) 50%, #a88600); }
.mast-pole::after { content: ""; position: absolute; bottom: -4px; left: 50%; width: 34px; height: 6px; border-radius: 3px; translate: -50% 0; background: #c3cad6; }
.mast-flag { position: absolute; left: 5px; top: 6px; width: calc(100% - 5px); filter: drop-shadow(0 18px 22px rgba(0, 31, 102, .28)); animation: hoist 1.8s .2s cubic-bezier(.3, .6, .2, 1) both; }
.wave { display: flex; width: 100%; aspect-ratio: 3 / 2; }
.wave i { position: relative; flex: 1; overflow: hidden; margin-right: -1px; --amp: calc(var(--k) * .42px + .5px); animation: wave 2.8s ease-in-out infinite; animation-delay: calc(var(--k) * -.12s); }
.wave i > svg { position: absolute; top: 0; height: 100%; width: calc(var(--n) * (100% - 1px) + 1px); left: calc(var(--k) * (-100% + 1px)); max-width: none; }
.wave i::after { content: ""; position: absolute; inset: 0; background: rgba(0, 18, 60, .22); opacity: 0; animation: shade 2.8s ease-in-out infinite; animation-delay: inherit; }

/* --- Bande des textes de référence ------------------------------------ */
.refs { border-block: 1px solid var(--line); background: var(--mist); }
.refs-in { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; padding-block: 22px; }
.refs-title { font-size: .875rem; color: var(--muted); font-weight: 500; max-width: 10em; line-height: 1.35; }
.refs-list { display: flex; flex-wrap: wrap; gap: 10px 12px; list-style: none; margin: 0; padding: 0; }
.refs-list li { display: flex; align-items: baseline; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .875rem; }
.refs-list b { color: var(--blue); font-weight: 600; }
.refs-list span { color: var(--muted); }

/* --- Sections ---------------------------------------------------------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-alt { background: var(--mist); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.875rem, 3.6vw, 2.75rem); margin-top: 14px; }
.section-head p { margin-top: 16px; color: var(--ink-2); font-size: 1.0625rem; }

/* Douze contrôles */
.ctl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; counter-reset: ctl; }
.ctl {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 22px 20px;
  display: flex; flex-direction: column; gap: 10px; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.ctl { color: inherit; text-decoration: none; }
.ctl:hover { border-color: var(--blue-line); box-shadow: var(--shadow-2); transform: translateY(-2px); text-decoration: none; }
.ctl-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ctl-num { display: inline-flex; align-items: center; gap: 8px; font: 600 .8125rem/1 var(--sans); color: var(--muted); }
.ctl-num svg { width: 18px; height: 18px; fill: var(--gold); transition: transform .5s var(--ease); }
.ctl:hover .ctl-num svg { transform: rotate(72deg) scale(1.15); }
.tag { font: 600 .75rem/1 var(--sans); padding: 5px 8px; border-radius: 4px; letter-spacing: .02em; }
.tag-cnil { background: var(--blue-soft); color: var(--blue); }
.tag-dgccrf { background: var(--gold-soft); color: var(--gold-ink); }
.ctl h3 { font-size: 1.3125rem; }
.ctl p { color: var(--ink-2); font-size: .9375rem; }
.ctl .ctl-base { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .8125rem; color: var(--muted); }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-line) 0 8px, transparent 8px 14px); }
.step { position: relative; }
.step-n { position: relative; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); color: var(--blue); display: grid; place-items: center; font: 400 1.5rem/1 var(--serif); margin-bottom: 20px; }
.step h3 { font-size: 1.375rem; margin-bottom: 8px; }
.step p { color: var(--ink-2); }

/* Aperçu de rapport */
.preview { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.preview ul { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.preview li { display: flex; gap: 12px; color: var(--ink-2); }
.preview li svg { flex: none; width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.doc {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2);
  padding: 28px; transform: rotate(-1.2deg); transition: transform .5s var(--ease);
}
.doc:hover { transform: rotate(0); }
.doc::before { content: ""; position: absolute; inset: 10px -10px -10px 10px; z-index: -1; border-radius: var(--r-lg); background: var(--blue-soft); border: 1px solid var(--blue-line); }
.doc-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.doc-head small { display: block; color: var(--muted); font-size: .8125rem; }
.doc-head b { font-family: var(--serif); font-weight: 400; font-size: 1.375rem; }
.doc-score { display: flex; align-items: center; gap: 14px; margin-block: 20px; }
.ring { position: relative; width: 92px; height: 92px; flex: none; }
.ring svg { width: 100%; height: 100%; }
.ring-val { position: absolute; inset: 0; display: grid; place-items: center; font: 400 1.5rem/1 var(--serif); color: var(--ink); }
.ring-val small { display: block; font: 500 .6875rem/1 var(--sans); color: var(--muted); margin-top: 3px; text-align: center; }
.doc-rows { display: grid; gap: 8px; }
.doc-row { display: flex; align-items: center; gap: 10px; font-size: .9375rem; padding: 9px 12px; border-radius: var(--r-sm); background: var(--mist); }
.doc-row .st { margin-left: auto; }

/* Statuts (communs) */
.st { display: inline-flex; align-items: center; gap: 6px; font: 600 .75rem/1 var(--sans); padding: 5px 9px; border-radius: 999px; white-space: nowrap; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-ok { background: var(--ok-soft); color: var(--ok); }
.st-ko { background: var(--ko-soft); color: var(--ko); }
.st-na { background: var(--na-soft); color: var(--na); }

/* Étoiles colorées selon le statut */
.stars .star polygon, .ring .star polygon { transform-box: fill-box; transform-origin: center; transition: fill .4s, stroke .4s, transform .4s var(--ease); }
.stars .star { fill: #d8deea; }
.stars .star.is-ok { fill: var(--gold); }
.stars .star.is-ko { fill: #fff; stroke: var(--ko); stroke-width: 3; }
.stars .star.is-na { fill: #e6e9f0; }

/* Engagements */
.pledges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pledge { padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.pledge .p-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.pledge .p-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pledge h3 { font-size: 1.1875rem; margin-bottom: 6px; }
.pledge p { color: var(--ink-2); font-size: .9375rem; }

/* FAQ */
.faq { max-width: 820px; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s; }
.faq details[open] { border-color: var(--blue-line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 20px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 20px 20px; color: var(--ink-2); }

/* Appel final */
.cta-band { position: relative; overflow: hidden; background: var(--blue); color: #fff; border-radius: var(--r-lg); padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.cta-band p { color: #cfdaf5; margin-top: 10px; max-width: 36em; }
.cta-band .stars { position: absolute; right: -60px; top: 50%; width: 340px; height: 340px; transform: translateY(-50%); opacity: .25; animation: spin 60s linear infinite; }
.cta-band .stars .star { fill: var(--gold); }
.cta-band > * { position: relative; }

/* --- Pages intérieures ------------------------------------------------- */
.page-head { padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 40px); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--mist), #fff); }
.page-head h1 { font-size: clamp(2.125rem, 4.4vw, 3.25rem); margin-top: 14px; }
.page-head .lead { margin-top: 14px; }
.crumbs { font-size: .875rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--muted); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.75rem; margin: 48px 0 14px; }
.prose h3 { font-size: 1.25rem; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 1.2em; display: grid; gap: 6px; }
.todo { background: var(--gold-soft); color: var(--gold-ink); padding: 1px 6px; border-radius: 4px; font-weight: 600; font-size: .9em; }

/* Analyse en cours */
.run { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.run-dial { position: sticky; top: 110px; aspect-ratio: 1; max-width: 440px; width: 100%; margin-inline: auto; border-radius: 50%; background: radial-gradient(circle, #fff 0 52%, var(--blue-soft) 52.5% 100%); display: grid; place-items: center; }
.run-dial .stars { position: absolute; inset: 0; }
.run-dial .star { fill: #d8deea; }
.run-dial .star.is-run polygon { fill: var(--blue); animation: pulse 1s ease-in-out infinite; }
.run-dial::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(0, 51, 153, .16), transparent 18%); animation: spin 2.4s linear infinite; }
.run-dial.is-done::before { display: none; }
.run-center { position: relative; text-align: center; }
.run-center b { display: block; font: 400 3.25rem/1 var(--serif); color: var(--blue); }
.run-center span { color: var(--muted); font-size: .9375rem; }
.run-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.run-item { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; transition: border-color .3s, background .3s; }
.run-item .ri-n { font: 600 .8125rem var(--sans); color: var(--muted); }
.run-item b { font-weight: 600; }
.run-item small { display: block; color: var(--muted); font-size: .8125rem; }
.run-item .ri-st { font-size: .8125rem; color: var(--muted); }
.run-item.is-run { border-color: var(--blue); background: var(--blue-soft); }
.run-item.is-run .ri-st::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 6px; vertical-align: -2px; border: 2px solid var(--blue-line); border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }
.run-item.is-done .ri-st { color: var(--ok); font-weight: 600; }
.run-note { margin-top: 24px; padding: 16px 18px; border-radius: var(--r); background: var(--gold-soft); color: var(--gold-ink); font-size: .9375rem; }
.run-end { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Rapport */
.report-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 28px; }
.report-meta div { background: #fff; padding: 14px 16px; }
.report-meta small { display: block; color: var(--muted); font-size: .75rem; font-weight: 500; margin-bottom: 4px; }
.report-meta span { font-weight: 600; font-size: .9375rem; overflow-wrap: anywhere; }
.report-meta .mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-weight: 400; font-size: .8125rem; }
.report-summary { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-1); }
.report-summary .ring { width: 180px; height: 180px; }
.report-summary .ring-val { font-size: 2.5rem; }
.report-summary h2 { font-size: 1.75rem; }
.report-summary p { color: var(--ink-2); margin-top: 10px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.findings { display: grid; gap: 12px; margin-top: 32px; }
.finding { border: 1px solid var(--line); border-left: 4px solid var(--na); border-radius: var(--r); background: #fff; padding: 20px 22px; display: grid; gap: 10px; }
.finding.is-ok { border-left-color: var(--ok); }
.finding.is-ko { border-left-color: var(--ko); }
.finding-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.finding-top h3 { font-size: 1.25rem; margin-right: auto; }
.finding .f-n { font: 600 .8125rem var(--sans); color: var(--muted); }
.finding p { color: var(--ink-2); }
.finding .reco { background: var(--blue-soft); border-radius: var(--r-sm); padding: 10px 14px; color: var(--blue-deep); font-size: .9375rem; }
.finding .reco b { font-weight: 600; }
.finding .base { font-size: .8125rem; color: var(--muted); }
.disclaimer { margin-top: 32px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--mist); font-size: .9375rem; color: var(--ink-2); }

/* Méthode */
.ref-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.ref-table th, .ref-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ref-table th { font-weight: 600; color: var(--muted); font-size: .8125rem; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }

/* --- Guides -------------------------------------------------------------- */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.guide-card { display: flex; flex-direction: column; gap: 12px; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; color: inherit; text-decoration: none; position: relative; overflow: hidden; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.guide-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease); }
.guide-card:hover { border-color: var(--blue-line); box-shadow: var(--shadow-2); transform: translateY(-3px); text-decoration: none; }
.guide-card:hover::before { transform: none; }
.guide-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.guide-card-ctl { font-size: .8125rem; color: var(--muted); }
.guide-card h2 { font-size: 1.4375rem; }
.guide-card p { color: var(--ink-2); font-size: .9375rem; }
.guide-card-more { margin-top: auto; padding-top: 8px; color: var(--blue); font-weight: 600; font-size: .9375rem; }
.guide-card .arrow { display: inline-block; transition: transform .25s var(--ease); }
.guide-card:hover .arrow { transform: translateX(3px); }
.cross-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cross-links a { display: grid; gap: 4px; padding: 20px 22px; border-radius: var(--r); background: var(--mist); border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); }
.cross-links a b { color: var(--blue); font-weight: 600; }
.cross-links a:hover { border-color: var(--blue-line); }

.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.article .prose > h2:first-child { margin-top: 0; }
.callout { border-left: 3px solid var(--gold); background: var(--gold-soft); color: var(--ink) !important; padding: 14px 18px; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin-top: 20px; }
.sources { list-style: none; padding: 0 !important; }
.sources li::before { content: "§"; color: var(--gold-ink); margin-right: 10px; font-family: var(--serif); }
.article-side { position: sticky; top: 100px; display: grid; gap: 16px; }
.side-box { border: 1px solid var(--blue-line); background: var(--blue-soft); border-radius: var(--r-lg); padding: 22px; }
.side-box-plain { background: #fff; border-color: var(--line); }
.side-box h2 { font: 600 1rem var(--sans); margin-bottom: 12px; }
.side-box p { color: var(--ink-2); font-size: .9375rem; }
.side-ctl { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.side-ctl li { display: grid; grid-template-columns: 32px 1fr; gap: 10px; font-size: .875rem; color: var(--ink-2); }
.side-ctl b { display: block; color: var(--ink); font-weight: 600; }
.side-n { width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 1px solid var(--blue-line); display: grid; place-items: center; font: 600 .75rem var(--sans); color: var(--blue); }
.side-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .9375rem; }

/* Glossaire */
.alpha { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 32px; position: sticky; top: 73px; background: rgba(255, 255, 255, .95); padding-block: 12px; z-index: 5; border-bottom: 1px solid var(--line); }
.alpha a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; font-weight: 600; color: var(--blue); }
.alpha a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.glossary { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 12px; }
.gl-item { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; scroll-margin-top: 150px; }
.gl-item dt { font: 400 1.25rem/1.25 var(--serif); color: var(--ink); margin-bottom: 6px; }
.gl-item dd { margin: 0; color: var(--ink-2); font-size: .9375rem; }

/* À propos */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.principles { background: var(--blue); color: #fff; border-radius: var(--r-lg); padding: 30px; position: sticky; top: 100px; overflow: hidden; }
.principles h2 { color: #fff; font-size: 1.625rem; margin-bottom: 18px; }
.principles ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: pr; }
.principles li { display: grid; gap: 4px; padding-left: 44px; position: relative; counter-increment: pr; }
.principles li::before { content: counter(pr); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--blue-deep); display: grid; place-items: center; font: 600 .875rem var(--sans); }
.principles b { font-weight: 600; }
.principles span { color: #cfdaf5; font-size: .9375rem; }

/* Formulaires */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9375rem; }
.field input, .field select, .field textarea { font: 400 1rem var(--sans); color: var(--ink); padding: 12px 14px; border: 1px solid var(--blue-line); border-radius: var(--r-sm); background: #fff; transition: border-color .2s, box-shadow .2s; width: 100%; }
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.field [aria-invalid="true"] { border-color: var(--ko); }
.form-info { font-size: .875rem; color: var(--muted); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.success { padding: 16px 18px; border-radius: var(--r); background: var(--ok-soft); color: var(--ok); margin-bottom: 20px; }

/* --- Registre des sanctions ------------------------------------------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.tile { display: grid; gap: 6px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.tile-label { font-size: .875rem; color: var(--muted); }
.tile-value { font: 600 clamp(1.5rem, 2.6vw, 2rem)/1.1 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.tile-value-sm { font-size: 1.125rem; }
.tile-sub { font-size: .8125rem; color: var(--muted); }

.chart { margin: 0 0 40px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.chart figcaption h2 { font: 600 1.0625rem var(--sans); }
.chart figcaption p { color: var(--muted); font-size: .875rem; margin-top: 4px; }
.chart-plot { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 12px; height: 260px; margin-top: 24px; padding-bottom: 28px; }
.chart-axis { position: relative; width: 56px; }
.chart-axis span { position: absolute; right: 0; bottom: calc(var(--y) * 100%); translate: 0 50%; font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.chart-bars { position: relative; display: flex; align-items: stretch; justify-content: space-around; border-bottom: 1px solid #c9d0dc;
  background: linear-gradient(to top, var(--line) 1px, transparent 1px) 0 0 / 100% 25%; }
.chart-col { position: relative; flex: 1; display: flex; justify-content: center; align-items: flex-end; cursor: default; outline-offset: -2px; }
.chart-col:hover, .chart-col:focus-visible { background: rgba(0, 51, 153, .04); }
.chart-bar { position: relative; width: min(24px, 60%); height: calc(var(--h) * 100%); min-height: 2px; background: var(--blue); border-radius: 4px 4px 0 0; transform-origin: bottom; }
.js .rv .chart-bar { transform: scaleY(0); transition: transform .9s calc(.2s + var(--i) * .07s) var(--ease); }
.js .rv.is-in .chart-bar { transform: none; }
.chart-peak { position: absolute; bottom: calc(100% + 6px); left: 50%; translate: -50% 0; font-size: .8125rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.chart-x { position: absolute; top: calc(100% + 8px); left: 50%; translate: -50% 0; font-size: .75rem; color: var(--muted); }
.chart-tip { position: absolute; z-index: 3; pointer-events: none; background: var(--ink); color: #fff; font-size: .8125rem; font-weight: 500; padding: 6px 10px; border-radius: var(--r-sm); white-space: nowrap; translate: -50% -100%; }
.chart-table { margin-top: 8px; font-size: .875rem; }
.chart-table summary { cursor: pointer; color: var(--blue); font-weight: 500; }
.chart-table table { margin-top: 12px; }

.filters { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--mist); }
.filters .field input, .filters .field select { padding: 10px 12px; }
.filter-count { margin: 16px 0 10px; color: var(--muted); font-size: .9375rem; }
.filter-count b { color: var(--ink); }
.filter-empty { padding: 24px; text-align: center; color: var(--muted); }

.sanctions { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.sanctions th { text-align: left; font-size: .8125rem; font-weight: 600; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--mist); position: sticky; top: 0; }
.sanctions td { padding: 16px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sanctions tbody tr { transition: background .2s; }
.sanctions tbody tr:hover { background: #fafbfe; }
.sanctions .num { text-align: right; white-space: nowrap; }
.s-date { white-space: nowrap; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.s-org b { display: block; font-weight: 600; }
.s-org small, .s-note { display: block; color: var(--muted); font-size: .8125rem; margin-top: 2px; }
.s-desc { color: var(--ink-2); width: 46%; min-width: 300px; }
.s-org { width: 26%; min-width: 200px; }
.s-org b { font-size: .875rem; }
.s-theme { display: block; font-size: .75rem; font-weight: 600; color: var(--blue); margin-bottom: 4px; }
.s-amount { font-weight: 600; font-variant-numeric: tabular-nums; }
.s-amount small { display: block; font-weight: 400; font-size: .75rem; color: var(--muted); }
.s-amount s { color: var(--muted); }
.s-none { font-weight: 400; color: var(--muted); }
.s-org b { overflow-wrap: anywhere; }
.s-src a { font-size: .8125rem; white-space: nowrap; }
.tag-eu { background: var(--na-soft); color: var(--ink-2); }
.s-auth .tag { white-space: nowrap; }

/* ==========================================================================
   v3 : menu Ressources, articles, contrôles, chronologie, diagnostic, animations
   ========================================================================== */

/* --- Transitions entre pages (View Transitions, navigateurs compatibles) */
@view-transition { navigation: auto; }
.site-header { view-transition-name: entete; }
.notice-bar { view-transition-name: bandeau; }
::view-transition-old(root) { animation: vt-out .28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .45s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* --- Menu « Ressources » ------------------------------------------------ */
.nav { align-items: center; }
.nav-drop { position: relative; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; font: 500 .9375rem var(--sans); color: var(--ink-2); padding: 8px 12px; border-radius: var(--r-sm); }
.nav-drop-btn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .25s var(--ease); }
.nav-drop-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-drop-btn:hover, .nav-drop-btn.is-on, .nav-drop-btn[aria-expanded="true"] { color: var(--blue); }
.mega { position: fixed; left: 0; right: 0; top: var(--header-bottom, 108px); z-index: 60; background: #fff; border-block: 1px solid var(--line); box-shadow: 0 24px 48px -24px rgba(0, 31, 102, .25); animation: mega-in .3s var(--ease); }
.mega-in { max-width: 1200px; margin: 0 auto; padding: 28px var(--gutter) 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.mega-col h2 { font: 600 .75rem var(--sans); color: var(--muted); letter-spacing: .04em; margin-bottom: 10px; }
.mega-col a { display: grid; gap: 1px; padding: 8px 10px; margin-inline: -10px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); transition: background .2s; }
.mega-col a:hover { background: var(--blue-soft); }
.mega-col a b { font-weight: 600; font-size: .9375rem; }
.mega-col a span { font-size: .8125rem; color: var(--muted); }
.mega-col-accent { background: var(--mist); border-radius: var(--r); padding: 16px 20px; }
.mega-all { color: var(--blue) !important; font-weight: 600; font-size: .875rem; margin-top: 6px; }
@keyframes mega-in { from { opacity: 0; transform: translateY(-6px); } }

/* --- Articles ------------------------------------------------------------ */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--blue), var(--gold)); transform-origin: left; transform: scaleX(var(--p, 0)); }
.article-head h1 { max-width: 22em; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 20px; font-size: .875rem; color: var(--muted); }
.article-meta span:not(.tag) { display: inline-flex; align-items: center; gap: 8px; }
.article-meta span:not(.tag)::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--blue-line); }
.article-section { padding-top: clamp(40px, 6vw, 64px); }
.article-body { max-width: 740px; font-size: 1.0625rem; }
.article-body > p, .article-body li { line-height: 1.7; }
.article-intro { margin-bottom: 8px; }
.article-part { scroll-margin-top: 100px; padding-top: 8px; }
.article-part h2 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.5rem, 2.6vw, 1.875rem); margin: 48px 0 16px; }
.part-n { font: 600 .8125rem var(--sans); color: var(--gold-ink); background: var(--gold-soft); border-radius: 4px; padding: 4px 7px; transform: translateY(-4px); }
.article-part h3 { font-size: 1.25rem; margin: 28px 0 10px; }
.prose ul li::marker { color: var(--blue); }
.steps-list { list-style: none; padding: 0 !important; counter-reset: st; display: grid; gap: 12px; margin: 16px 0; }
.steps-list li { counter-increment: st; position: relative; padding: 14px 16px 14px 56px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.steps-list li::before { content: counter(st); position: absolute; left: 14px; top: 13px; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font: 600 .8125rem var(--sans); }
.checklist-box { margin-top: 48px; padding: 4px 28px 24px; border-radius: var(--r-lg); background: var(--blue-soft); border: 1px solid var(--blue-line); }
.checklist-box h2 { margin-top: 24px; }
.checklist-help { font-size: .875rem; color: var(--muted) !important; }
.checklist { list-style: none; padding: 0 !important; margin: 16px 0 0; display: grid; gap: 8px; }
.checklist label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: #fff; border-radius: var(--r-sm); border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s; }
.checklist input { appearance: none; flex: none; width: 22px; height: 22px; margin: 2px 0 0; border: 2px solid var(--blue-line); border-radius: 6px; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.checklist input::after { content: ""; width: 10px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) scale(0); margin-top: -3px; transition: transform .25s var(--ease); }
.checklist input:checked { background: var(--ok); border-color: var(--ok); }
.checklist input:checked::after { transform: rotate(-45deg) scale(1); }
.checklist label:has(input:checked) { border-color: #b6dfc9; background: #f6fbf8; }
.checklist label:has(input:checked) span { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(23, 115, 74, .4); }
.checklist-score { margin-top: 14px !important; font-weight: 500; }
.faq-article { max-width: none; }
.toc { border-left: 2px solid var(--line); padding-left: 16px; }
.toc h2 { font: 600 .75rem var(--sans); color: var(--muted); letter-spacing: .04em; margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 0; font-size: .875rem; color: var(--ink-2); text-decoration: none; position: relative; transition: color .2s; }
.toc a::before { content: ""; position: absolute; left: -18px; top: 6px; bottom: 6px; width: 2px; background: var(--blue); transform: scaleY(0); transition: transform .3s var(--ease); }
.toc a:hover { color: var(--blue); }
.toc a.is-active { color: var(--blue); font-weight: 600; }
.toc a.is-active::before { transform: none; }
.side-cta { text-align: left; }
.side-link { display: block; margin-top: 12px; text-align: center; font-size: .875rem; }
.fiche { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(135deg, #fff, var(--mist)); margin-bottom: 16px; }
.fiche-star { position: relative; width: 120px; aspect-ratio: 1; display: grid; place-items: center; }
.fiche-star .stars { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 80s linear infinite; }
.fiche-star > span { font: 400 2rem var(--serif); color: var(--blue); }
.fiche dl { margin: 0; display: grid; gap: 10px; }
.fiche dt { font-size: .75rem; font-weight: 600; color: var(--muted); }
.fiche dd { margin: 0; font-size: .9375rem; color: var(--ink); }
.fiche-stats { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.fiche-stats div { display: grid; gap: 2px; }
.fiche-stats b { font: 600 1.75rem var(--sans); color: var(--blue); font-variant-numeric: tabular-nums; }
.fiche-stats span { font-size: .875rem; color: var(--muted); }
.enjeux { padding: 22px 24px; border-radius: var(--r-lg); background: var(--blue); color: #fff; margin-bottom: 8px; }
.enjeux-title { color: #fff !important; font: 600 1rem var(--sans) !important; margin: 0 0 12px !important; display: block !important; }
.enjeux ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.enjeux li { color: #dfe7fb !important; }
.enjeux li::marker { color: var(--gold); font-weight: 600; }
.related-sanctions, .related-guides { margin-top: 56px; }
.related-sanctions > h2, .related-guides > h2 { font-size: 1.625rem; margin-bottom: 18px; }
.mini-sanctions { list-style: none; padding: 0 !important; margin: 0 0 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.mini-sanctions li { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font-size: .875rem; }
.ms-top { display: flex; justify-content: space-between; align-items: center; }
.ms-date { color: var(--muted); font-size: .8125rem; }
.ms-org { font-weight: 600; font-size: .875rem; overflow-wrap: anywhere; }
.ms-amount { font: 600 1.25rem var(--sans); color: var(--ko); font-variant-numeric: tabular-nums; }
.ms-desc { color: var(--ink-2); line-height: 1.5; }
.ms-src { margin-top: auto; font-size: .8125rem; }
.guide-grid-sm { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.guide-grid-sm .guide-card { padding: 18px; }
.guide-card h3 { font-size: 1.125rem; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 56px; }
.pager a { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .25s var(--ease); }
.pager a:hover { border-color: var(--blue); }
.pager small { color: var(--muted); font-size: .8125rem; }
.pager b { font-family: var(--serif); font-weight: 400; font-size: 1.1875rem; }
.pager-prev:hover { transform: translateX(-3px); }
.pager-next { text-align: right; }
.pager-next:hover { transform: translateX(3px); }
.ctl-nav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ctl-nav a { display: flex; gap: 10px; padding: 6px 8px; margin-inline: -8px; border-radius: var(--r-sm); font-size: .875rem; color: var(--ink-2); text-decoration: none; }
.ctl-nav a span { font-weight: 600; color: var(--muted); width: 20px; }
.ctl-nav a:hover { background: var(--mist); color: var(--blue); }
.ctl-nav a[aria-current="page"] { background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.key-articles { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .875rem; }
.key-articles li { display: grid; grid-template-columns: 64px 1fr; gap: 8px; }
.key-articles b { color: var(--blue); }
.key-articles span { color: var(--ink-2); }
.side-ctl a { text-decoration: none; }
.side-ctl a:hover b { color: var(--blue); }


.ctl-strip { margin-top: 56px; }
.ctl-strip h2 { font-size: 1.625rem; margin-bottom: 16px; }
.ctl-strip ol { list-style: none; padding: 0 !important; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.ctl-strip a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; color: var(--ink-2); font-size: .8125rem; line-height: 1.3; transition: border-color .2s, background .2s; }
.ctl-strip a:hover { border-color: var(--blue); color: var(--blue); }
.ctl-strip a[aria-current="page"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.cs-n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-ink); font-weight: 600; }
.ctl-strip a[aria-current="page"] .cs-n { background: var(--gold); color: var(--blue-deep); }

/* --- Constellation des 12 contrôles ------------------------------------ */
.constellation { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.constellation-ring { position: sticky; top: 112px; aspect-ratio: 1; max-width: 460px; width: 100%; margin-inline: auto; border-radius: 50%; background: radial-gradient(circle at 50% 42%, #0a3fae 0%, var(--blue) 55%, #002a80 100%); box-shadow: 0 32px 64px -32px rgba(0, 33, 95, .55); }
.constellation-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 1; }
.c-star polygon { fill: var(--gold); transform-box: fill-box; transform-origin: center; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.c-star .hit { fill: transparent; }
.c-star:hover polygon, .c-star:focus-visible polygon, .c-star.is-hot polygon { transform: scale(1.35); }
.c-star:focus-visible { outline: none; }
.constellation.has-hot .c-star:not(.is-hot) polygon { opacity: .35; }
.constellation-center { position: absolute; inset: 30%; display: grid; place-content: center; text-align: center; color: #fff; }
.constellation-center b { font: 400 clamp(2.5rem, 5vw, 3.5rem)/1 var(--serif); color: #fff; font-variant-numeric: tabular-nums; }
.constellation-center span { font: 400 1.0625rem/1.25 var(--serif); color: #fff; margin-top: 8px; text-wrap: balance; }
.constellation-center small { font-size: .75rem; color: #b9c7ea; margin-top: 8px; font-weight: 500; }
.c-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.c-item { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .25s, transform .25s var(--ease); }
.c-item:hover, .c-item.is-hot { border-color: var(--blue); box-shadow: var(--shadow-2); transform: translateX(4px); text-decoration: none; }
.c-n { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font: 600 .875rem var(--sans); transition: background .25s, color .25s; }
.c-item:hover .c-n, .c-item.is-hot .c-n { background: var(--gold); color: var(--blue-deep); }
.c-body b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.1875rem; }
.c-body span { font-size: .875rem; color: var(--ink-2); }

/* --- Chips de filtre ------------------------------------------------------ */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip-btn { display: inline-flex; gap: 8px; align-items: center; font: 500 .875rem var(--sans); color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip-btn span { font-size: .75rem; color: var(--muted); }
.chip-btn:hover { border-color: var(--blue-line); }
.chip-btn.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip-btn.is-on span { color: #cfdaf5; }
.guide-card[hidden], .tl-item[hidden] { display: none !important; }

/* --- Ressources ----------------------------------------------------------- */
.res-blocks { display: grid; gap: 48px; }
.res-block { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; padding-top: 32px; border-top: 1px solid var(--line); }
.res-head h2 { font-size: 1.75rem; }
.res-head p { color: var(--ink-2); margin-top: 8px; }
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.res-card { display: grid; gap: 4px; align-content: start; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .25s, transform .25s var(--ease); }
a.res-card:hover { border-color: var(--blue-line); box-shadow: var(--shadow-2); transform: translateY(-2px); text-decoration: none; }
.res-card b { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: var(--ink); }
.res-card span { font-size: .875rem; color: var(--ink-2); }
.res-card-accent { background: var(--blue); border-color: var(--blue); }
.res-card-accent b { color: #fff; } .res-card-accent span { color: #cfdaf5; }
.res-soon { color: var(--muted); font-size: .9375rem; }
.sitemap { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px; }
.sitemap h2 { font-size: 1.25rem; margin-bottom: 12px; }
.sitemap ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .9375rem; }

/* --- Chronologie --------------------------------------------------------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 28px; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; translate: -1px 0; background: var(--line); }
.timeline::after { content: ""; position: absolute; left: 50%; top: 0; width: 2px; translate: -1px 0; height: calc(var(--tl, 0) * 100%); background: linear-gradient(var(--blue), var(--gold)); }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.tl-item::before { content: ""; position: absolute; left: 50%; top: 22px; width: 14px; height: 14px; translate: -50% 0; border-radius: 50%; background: #fff; border: 3px solid var(--blue); z-index: 1; transition: background .4s, transform .4s var(--ease); }
.tl-item.is-in::before { background: var(--gold); transform: scale(1.15); }
.tl-year { font: 400 clamp(2rem, 4vw, 3rem)/1 var(--serif); color: var(--blue-line); text-align: right; padding-top: 10px; transition: color .6s; }
.tl-item.is-in .tl-year { color: var(--blue); }
.tl-item:nth-child(even) .tl-year { order: 2; text-align: left; }
.tl-card { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-1); }
.tl-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: .8125rem; color: var(--muted); }
.tl-type { font-weight: 600; padding: 3px 8px; border-radius: 4px; background: var(--blue-soft); color: var(--blue); }
.is-arret .tl-type { background: var(--gold-soft); color: var(--gold-ink); }
.is-sanction .tl-type { background: var(--ko-soft); color: var(--ko); }
.is-recommandation .tl-type { background: var(--ok-soft); color: var(--ok); }
.tl-card h2 { font-size: 1.375rem; margin: 10px 0 6px; }
.tl-card p { color: var(--ink-2); font-size: .9375rem; }
.tl-card a { display: inline-block; margin-top: 10px; font-size: .8125rem; }

/* --- Auto-diagnostic ------------------------------------------------------ */
.diag { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.diag-dial { position: sticky; top: 110px; aspect-ratio: 1; width: 100%; border-radius: 50%; background: radial-gradient(circle, #fff 0 50%, var(--blue-soft) 50.5% 100%); display: grid; place-items: center; }
.diag-dial .stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.diag-dial .star polygon { transform-box: fill-box; transform-origin: center; transition: fill .4s, transform .5s var(--ease); }
.diag-dial .star.is-current polygon { fill: var(--blue); transform: scale(1.3); }
.diag-dial .star.is-ok polygon { animation: star-in .6s var(--ease) both; }
.diag-center { text-align: center; }
.diag-center b { display: block; font: 400 3rem/1 var(--serif); color: var(--blue); }
.diag-center span { color: var(--muted); font-size: .875rem; }
.diag-form { min-height: 380px; }
.diag-q { border: 0; margin: 0; padding: 0; animation: q-in .45s var(--ease) both; }
.diag-q.is-back { animation-name: q-back; }
.diag-q legend { font: 400 clamp(1.5rem, 2.6vw, 2rem)/1.25 var(--serif); color: var(--ink); padding: 0; text-wrap: balance; }
.diag-kicker { display: block; font: 600 .8125rem var(--sans); color: var(--blue); margin-bottom: 14px; }
.diag-help { color: var(--ink-2); margin: 14px 0 24px; padding: 12px 14px; border-left: 3px solid var(--gold); background: var(--gold-soft); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: .9375rem; }
.diag-answers { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.diag-answers label { position: relative; cursor: pointer; }
.diag-answers input { position: absolute; opacity: 0; }
.diag-answers span { display: block; text-align: center; padding: 16px; border: 1.5px solid var(--blue-line); border-radius: var(--r); font-weight: 600; background: #fff; transition: border-color .2s, background .2s, color .2s, transform .2s var(--ease); }
.diag-answers label:hover span { border-color: var(--blue); transform: translateY(-2px); }
.diag-answers input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.diag-answers input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.diag-nav { display: flex; align-items: center; gap: 20px; margin-top: 32px; }
.diag-nav .btn[disabled] { opacity: .4; cursor: default; }
.diag-bar { flex: 1; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.diag-bar span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--blue), var(--gold)); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .5s var(--ease); }
.diag-result { animation: q-in .6s var(--ease) both; }
.diag-result:focus { outline: none; }
.diag-result h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin: 12px 0; }
.diag-result h3 { font-size: 1.375rem; margin: 32px 0 12px; }
.diag-todo { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.diag-todo a { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-left: 4px solid var(--ko); border-radius: var(--r); background: #fff; color: var(--ink); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
.diag-todo a.is-na { border-left-color: var(--gold); }
.diag-todo a:hover { transform: translateX(4px); box-shadow: var(--shadow-2); }
.diag-todo a b { font-weight: 600; }
.diag-todo a span { margin-left: auto; font-size: .8125rem; color: var(--blue); white-space: nowrap; }
@keyframes q-in { from { opacity: 0; transform: translateX(24px); } }
@keyframes q-back { from { opacity: 0; transform: translateX(-24px); } }

/* --- Accueil : bandeau défilant, chiffres, secteurs ---------------------- */
@keyframes marquee { to { transform: translateX(-50%); } }
.figures { position: relative; overflow: hidden; background: var(--blue); color: #fff; border-radius: var(--r-lg); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.figures .stars { position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; opacity: .12; animation: spin 120s linear infinite; }
.figures .stars .star { fill: var(--gold); }
.figure { position: relative; display: grid; gap: 6px; padding-left: 18px; border-left: 2px solid rgba(255, 204, 0, .6); }
.figure b { font: 400 clamp(2rem, 4vw, 3rem)/1 var(--serif); color: #fff; font-variant-numeric: tabular-nums; }
.figure span { color: #cfdaf5; font-size: .9375rem; }
.figures-note { grid-column: 1 / -1; position: relative; font-size: .8125rem; color: #a9bbea; }
.figures-note a { color: #fff; }
.sector-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.sector-card { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 180px; padding: 20px; border-radius: var(--r-lg); background: linear-gradient(160deg, var(--blue-soft), #fff 70%); border: 1px solid var(--line); color: inherit; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.sector-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--blue-line); text-decoration: none; }
.sector-card b { font: 400 1.375rem/1.15 var(--serif); color: var(--ink); }
.sector-card span { font-size: .8125rem; color: var(--blue); font-weight: 600; }
.sector-card::before { content: "★"; position: absolute; top: 14px; right: 16px; color: var(--gold); font-size: 1.25rem; transition: transform .6s var(--ease); }
.sector-card:hover::before { transform: rotate(144deg) scale(1.2); }
.home-guides { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; }
.home-guides .guide-card:first-child { grid-row: span 2; background: var(--blue); border-color: var(--blue); }
.home-guides .guide-card:first-child h2, .home-guides .guide-card:first-child h3 { color: #fff; font-size: 1.75rem; }
.home-guides .guide-card:first-child p { color: #cfdaf5; }
.home-guides .guide-card:first-child .guide-card-more { color: var(--gold); }
.chrono-teaser { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; margin-top: 12px; }
.chrono-teaser::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: linear-gradient(90deg, var(--blue-line), var(--blue), var(--gold)); transform-origin: left; }
.js .chrono-teaser.rv::before { transform: scaleX(0); transition: transform 1.6s .2s var(--ease); }
.js .chrono-teaser.rv.is-in::before { transform: none; }
.ct-item { position: relative; padding: 0 16px 0 0; }
.ct-item b { display: block; font: 400 1.75rem var(--serif); color: var(--blue); margin-bottom: 14px; }
.ct-item::before { content: ""; display: block; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); margin-bottom: 14px; position: relative; z-index: 1; }
.ct-item:last-child::before { border-color: var(--gold); background: var(--gold); }
.ct-item span { display: block; font-weight: 600; font-size: .9375rem; }
.ct-item small { display: block; color: var(--ink-2); font-size: .8125rem; margin-top: 4px; }

/* --- Cartes qui suivent la souris (léger relief) ------------------------ */
.tilt { transform-style: preserve-3d; transition: transform .35s var(--ease), box-shadow .35s, border-color .25s; }

@media (max-width: 1080px) {
  .mega-in { grid-template-columns: repeat(2, 1fr); }
  .sector-grid { grid-template-columns: repeat(3, 1fr); }
  .figures { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .constellation, .diag { grid-template-columns: 1fr; }
  .constellation-ring { position: relative; top: 0; max-width: 340px; }
  .diag-dial { position: relative; top: 0; max-width: 220px; margin-inline: auto; }
  .res-block { grid-template-columns: 1fr; gap: 16px; }
  .timeline::before, .timeline::after { left: 7px; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; padding-left: 36px; }
  .tl-item::before { left: 7px; top: 6px; }
  .tl-year, .tl-item:nth-child(even) .tl-year { order: 0; text-align: left; padding-top: 0; font-size: 1.75rem; }
  .home-guides { grid-template-columns: 1fr; }
  .home-guides .guide-card:first-child { grid-row: auto; }
  .chrono-teaser { grid-template-columns: 1fr; gap: 18px; padding-left: 28px; }
  .chrono-teaser::before { left: 6px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .ct-item::before { position: absolute; left: -28px; top: 10px; margin: 0; }
  .ct-item b { margin-bottom: 4px; }
  .fiche { grid-template-columns: 1fr; justify-items: start; }
  .fiche-star { width: 96px; }
  .pager { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .sector-grid { grid-template-columns: 1fr 1fr; }
  .sector-card { min-height: 140px; }
  .figures { grid-template-columns: 1fr; }
  .checklist-box { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* --- Pied de page ------------------------------------------------------ */
.site-footer { margin-top: clamp(64px, 9vw, 112px); border-top: 1px solid var(--line); background: var(--mist); padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand p { margin-top: 16px; color: var(--muted); max-width: 30em; font-size: .9375rem; }
.footer-h { font: 600 .875rem var(--sans); color: var(--ink); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .9375rem; }
.site-footer ul a { color: var(--ink-2); text-decoration: none; }
.site-footer ul a:hover { color: var(--blue); text-decoration: underline; }
.footer-note { color: var(--ok); font-weight: 500; }
.footer-legal { border-top: 1px solid var(--line); padding-block: 24px 32px; display: grid; gap: 10px; font-size: .8125rem; color: var(--muted); }

/* --- Apparition au défilement ----------------------------------------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js .rv.is-in { opacity: 1; transform: none; }


/* --- Solennité : têtes de section centrées, ornement étoilé ----------- */
.section-head { margin-inline: auto; text-align: center; }
.hero .eyebrow::after, .section-head .eyebrow::after { content: ""; width: 22px; height: 2px; background: var(--gold); }
.orn { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 18px; }
.orn::before, .orn::after { content: ""; height: 1px; width: 64px; background: var(--blue-line); }
.orn::before { transform-origin: right; } .orn::after { transform-origin: left; }
.orn svg { width: 15px; height: 15px; fill: var(--gold); }

/* --- Dévoilements au défilement ---------------------------------------- */
.js .section-head.rv h2 { clip-path: inset(0 0 100% 0); transform: translateY(.35em); transition: clip-path 1s .12s var(--ease), transform 1s .12s var(--ease); }
.js .section-head.rv.is-in h2 { clip-path: inset(-10% -5% -20% -5%); transform: none; }
.js .rv .orn::before, .js .rv .orn::after { transform: scaleX(0); transition: transform .9s .2s var(--ease); }
.js .rv.is-in .orn::before, .js .rv.is-in .orn::after { transform: none; }
.js .rv .orn svg { transform: scale(0) rotate(-144deg); transition: transform .8s .1s var(--ease); }
.js .rv.is-in .orn svg { transform: none; }
/* Étoiles des contrôles : grises, puis dorées quand la carte arrive à l'écran */
.js .ctl.rv .ctl-num svg { fill: #d3d9e6; transition: fill .5s calc(var(--d, 0) * 140ms + 350ms), transform .9s calc(var(--d, 0) * 140ms + 300ms) var(--ease); }
.js .ctl.rv.is-in .ctl-num svg { fill: var(--gold); transform: rotate(144deg); }
.js .ctl.rv.is-in:hover .ctl-num svg { transform: rotate(216deg) scale(1.15); transition-delay: 0s; }
/* Ligne des étapes qui se trace */
.js .steps.rv::before { transform: scaleX(0); transform-origin: left; transition: transform 1.6s .3s var(--ease); }
.js .steps.rv.is-in::before { transform: none; }
.js .steps.rv .step-n { transform: scale(.6); opacity: 0; transition: transform .6s var(--ease), opacity .6s; }
.js .steps.rv.is-in .step:nth-child(1) .step-n { transition-delay: .3s; }
.js .steps.rv.is-in .step:nth-child(2) .step-n { transition-delay: .9s; }
.js .steps.rv.is-in .step:nth-child(3) .step-n { transition-delay: 1.5s; }
.js .steps.rv.is-in .step-n { transform: none; opacity: 1; }
/* Anneaux d'étoiles des rapports : s'allument à l'arrivée */
.js .rv .ring .stars .star polygon { opacity: 0; }
.js .rv.is-in .ring .stars .star polygon { opacity: 1; animation: star-in .6s calc(.2s + var(--i) * .08s) var(--ease) both; }
.ring .stars .star.is-ko polygon { stroke-dasharray: 120; }

/* --- Animations -------------------------------------------------------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sway { 0%, 100% { transform: rotateY(-8deg) rotateX(2deg); } 50% { transform: rotateY(-2deg) rotateX(0deg); } }
@keyframes ripple { to { background-position: -220% 0; } }
@keyframes sheen { 0% { transform: translateX(-60%); } 40%, 100% { transform: translateX(60%); } }
@keyframes star-in { from { opacity: 0; transform: scale(.2) rotate(-72deg); } to { opacity: 1; transform: none; } }
@keyframes twinkle { 0%, 88%, 100% { filter: none; transform: none; } 93% { filter: drop-shadow(0 0 6px rgba(255, 230, 120, .95)); transform: scale(1.22); } }
@keyframes pulse { 50% { transform: scale(1.25); } }
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hoist { from { transform: translateY(calc(var(--mast-drop, 140%))); } to { transform: none; } }
@keyframes wave { 0%, 100% { transform: translateY(calc(var(--amp) * -1)); } 50% { transform: translateY(var(--amp)); } }
@keyframes shade { 0%, 100% { opacity: 0; } 50% { opacity: .9; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes float { 50% { translate: 0 -6px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* --- Responsive -------------------------------------------------------- */
@media (max-width: 1024px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { grid-template-columns: 1fr 1fr; }
  .filter-search { grid-column: 1 / -1; }
  .pledges { grid-template-columns: repeat(2, 1fr); }
  .report-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .nav > a { padding: 8px 8px; font-size: .875rem; }
  .header-cta { display: none; }
}
@media (max-width: 880px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: inline-grid; gap: 5px; place-content: center; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: var(--r-sm); cursor: pointer; }
  .nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 1px; transition: transform .25s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-mobile { display: grid; gap: 4px; padding: 8px var(--gutter) 20px; border-top: 1px solid var(--line); background: #fff; }
  .nav-mobile a:not(.btn) { padding: 12px 4px; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
  .nav-mobile .btn { margin-top: 12px; }
  .preview, .run { grid-template-columns: 1fr; }
  .run-dial { position: relative; top: 0; max-width: 300px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { top: 0; bottom: 0; left: 27px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--blue-line) 0 8px, transparent 8px 14px); }
  .js .steps.rv::before { transform: scaleY(0); transform-origin: top; }
  .js .steps.rv.is-in::before { transform: none; }
  .step { padding-left: 80px; }
  .step-n { position: absolute; left: 0; top: 0; }
  .refs-in { grid-template-columns: 1fr; gap: 12px; }
  .refs-title { max-width: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .article, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .article-side, .principles { position: static; }
  .cross-links, .form-row { grid-template-columns: 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-band { grid-template-columns: 1fr; }
  .report-summary { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .report-summary .legend { justify-content: center; }
}
@media (max-width: 560px) {
  /* Registre : chaque ligne devient une fiche */
  .sanctions-wrap { border: 0; background: none; overflow: visible; }
  .sanctions thead { display: none; }
  .sanctions, .sanctions tbody, .sanctions tr, .sanctions td { display: block; }
  .sanctions tr { border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: 14px 16px; margin-bottom: 10px; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; }
  .sanctions td { border: 0; padding: 0; }
  .sanctions .s-date { grid-column: 1; font-size: .8125rem; }
  .sanctions .s-auth { grid-column: 2; grid-row: 1; justify-self: end; }
  .sanctions .s-org, .sanctions .s-desc { grid-column: 1 / -1; }
  .sanctions .num { text-align: left; }
  .sanctions .s-amount { grid-column: 1; }
  .sanctions .s-src { grid-column: 2; justify-self: end; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .filters { grid-template-columns: 1fr; }
  .chart { padding: 16px; }
  .chart-axis { width: 44px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .notice-bar { font-size: .75rem; }
  .logo-word { font-size: 1.3125rem; }
  .scan-field { flex-wrap: wrap; }
  .scan-field .prefix { display: none; }
  .scan-field input { flex-basis: 100%; padding: 12px 10px; }
  .scan-field .btn { width: 100%; }
  .pledges { grid-template-columns: 1fr; }
  .report-meta { grid-template-columns: 1fr; }
  .finding-top h3 { flex-basis: 100%; }
}

/* ==========================================================================
   Refonte v4 : papier administratif européen
   Quiet chrome, un seul accent (bleu du drapeau), l'or réservé aux étoiles.
   Un moment fort : le procès-verbal de constat qui se remplit dans le héros.
   Grille de 4 px, une seule courbe d'animation (--ease), pas de boucle décorative.
   ========================================================================== */

/* --- Typographie et éléments communs ----------------------------------- */
body { background: #fff; color: var(--ink); }
h1 { letter-spacing: -.02em; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; }
.kicker, .eyebrow { display: block; font: 500 .875rem/1.4 var(--sans); color: var(--blue); letter-spacing: 0; margin: 0; }
.eyebrow::before, .eyebrow::after, .hero .eyebrow::after, .section-head .eyebrow::after { content: none; display: none; }
.orn { display: none; }
.h-section { font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.1; letter-spacing: -.02em; margin-top: 12px; }
.body-lg { font-size: 1.0625rem; line-height: 1.65; color: var(--ink-2); max-width: 34rem; }
.split-aside .body-lg { margin-top: 16px; }
.lead { color: var(--ink-2); }
svg[viewBox="0 0 24 24"] { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font: 500 .9375rem var(--sans); text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .16s var(--ease); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: .2em; }
.link-arrow:hover svg { transform: translateX(3px); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-alt { background: var(--mist); border-block: 1px solid var(--line); }
.head-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: start; margin-bottom: 48px; }
/* Le paragraphe démarre à la hauteur du titre (sous la ligne du surtitre) */
.head-2col > .body-lg { padding-top: calc(1.4em + 12px + .45em); }
.head-2col .body-lg { justify-self: end; }
.section-head { text-align: left; margin-inline: 0; }

/* Boutons : sans ombre colorée */
.btn { border-radius: 8px; transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease), transform .12s var(--ease); }
.btn:active { transform: scale(.98); }
.btn-primary { box-shadow: none; }
.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { background: var(--blue-soft); text-decoration: none; }
.btn .arrow { display: none; }

/* Le décor qui tournait en boucle s'arrête */
.cta-band .stars, .figures .stars, .fiche-star .stars, .brand:hover .logo-stars, .hero-halo .stars { animation: none !important; }
.flag-stars .star polygon { animation: none; }
.read-progress span { background: var(--blue); }
.timeline::after { background: var(--blue); }
.chrono-teaser::before { background: var(--line-2); }
.tl-item.is-in::before { background: var(--blue); }

/* --- Héros -------------------------------------------------------------- */
.hero2 { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff 0%, #fff 55%, var(--mist) 100%); }
.hero2-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.hero2 h1 { font-size: clamp(2.5rem, 4.8vw, 4rem); line-height: 1.04; letter-spacing: -.025em; margin: 16px 0 24px; }
.hero2 h1 em { font-style: normal; color: var(--blue); }
.hero2 .lead { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.6; max-width: 34rem; }
.hero2 .scan-form { margin-top: 32px; max-width: 560px; }
.scan-field { padding: 4px; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow-2); }
.scan-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft), var(--shadow-2); }
.scan-field .btn { height: 48px; padding: 0 20px; }
.hero2-alt { margin-top: 16px; font-size: .9375rem; color: var(--muted); }
.hero2-text > * { animation: rise .5s var(--ease) both; }
.hero2-text > :nth-child(2) { animation-delay: .05s; }
.hero2-text > :nth-child(3) { animation-delay: .1s; }
.hero2-text > :nth-child(4) { animation-delay: .15s; }
.hero2-text > :nth-child(5) { animation-delay: .2s; }

/* --- Procès-verbal de constat ------------------------------------------ */
.pv { margin: 0; position: relative; animation: rise .6s .1s var(--ease) both; }
.pv-paper { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-3); padding: 24px 24px 16px; }
.pv-paper::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--blue); }
.pv-head { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.pv-flag { width: 56px; filter: drop-shadow(0 4px 6px rgba(0, 33, 95, .18)); }
.pv-flag .wave i { --amp: calc(var(--k) * .12px + .2px); }
.pv-title { display: grid; gap: 2px; min-width: 0; }
.pv-title small { font-size: .75rem; color: var(--muted); }
.pv-title b { font: 400 1.125rem/1.2 var(--serif); overflow-wrap: anywhere; }
.pv-ref { display: grid; gap: 2px; text-align: right; font-size: .75rem; color: var(--muted); }
.pv-ref .mono { color: var(--ink); }
.pv-body { display: grid; grid-template-columns: 168px 1fr; gap: 24px; align-items: center; padding-block: 20px; }
.pv-ring { position: relative; aspect-ratio: 1; }
.pv-ring .stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.pv-stars .star { transition: fill .3s var(--ease), stroke .3s var(--ease); }
.pv-stars .star polygon { transform-box: fill-box; transform-origin: center; }
.pv-stars .star.is-pop polygon { animation: star-in .5s var(--ease) both; }
.pv-score { position: absolute; inset: 24%; display: grid; place-content: center; text-align: center; }
.pv-score b { font: 400 2.5rem/1 var(--serif); color: var(--blue); font-variant-numeric: tabular-nums; }
.pv-score span { font-size: .75rem; color: var(--muted); margin-top: 4px; line-height: 1.3; }
.pv-lines { list-style: none; margin: 0; padding: 0; display: grid; }
.pv-line { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; min-height: 28px; font-size: .8125rem; border-bottom: 1px solid var(--line); transition: opacity .3s var(--ease), background-color .3s var(--ease); }
.pv-line:last-child { border-bottom: 0; }
.pv-n { color: var(--muted); font-size: .75rem; }
.pv-t { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-st { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: .75rem; transition: opacity .3s var(--ease); }
.pv-st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pv-line.is-ok .pv-st { color: var(--ok); }
.pv-line.is-ko .pv-st { color: var(--ko); }
.pv-line.is-na .pv-st { color: var(--na); }
/* État « en cours d'analyse » piloté par le script */
.pv.is-armed .pv-line { opacity: .35; }
.pv.is-armed .pv-line .pv-st { opacity: 0; }
.pv.is-armed .pv-line.is-on { opacity: 1; }
.pv.is-armed .pv-line.is-on .pv-st { opacity: 1; }
.pv.is-armed .pv-line.is-cur { background: var(--blue-soft); }
.pv.is-armed .pv-stars .star:not(.is-on) { fill: #dfe3ea; stroke: none; }
.pv-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .75rem; color: var(--muted); }
.pv-stamp { position: absolute; left: 20px; bottom: 60px; display: grid; gap: 2px; text-align: center; padding: 8px 16px; border: 2px solid var(--blue); border-radius: 8px; color: var(--blue); background: rgba(255, 255, 255, .9); box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3px var(--blue); transform: rotate(-7deg); pointer-events: none; }
.pv-stamp span { font: 600 .8125rem var(--sans); letter-spacing: .08em; }
.pv-stamp b { font: 400 1.0625rem var(--serif); }
.pv-stamp small { font: .6875rem var(--mono); }
.pv.is-armed .pv-stamp { opacity: 0; }
.pv.is-stamped .pv-stamp { opacity: 1; animation: stamp .42s var(--ease) both; }
.pv-cap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 16px; font-size: .8125rem; color: var(--muted); }
.pv-replay { margin-left: auto; background: none; border: 0; padding: 0; font: 500 .8125rem var(--sans); color: var(--blue); cursor: pointer; }
.pv-replay:hover { text-decoration: underline; }
@keyframes stamp { from { opacity: 0; transform: rotate(-7deg) scale(1.5); } to { opacity: 1; transform: rotate(-7deg) scale(1); } }

/* --- Dernières sanctions --------------------------------------------------- */
.latest { background: #fff; border-bottom: 1px solid var(--line); }
.latest-in { display: grid; grid-template-columns: 200px 1fr auto; gap: 24px; align-items: center; padding-block: 20px; }
.latest-title { font: 600 .9375rem/1.3 var(--sans); }
.latest-title span { display: block; font-weight: 400; color: var(--muted); font-size: .8125rem; }
.latest-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.latest-list li { display: grid; gap: 2px; padding-inline: 20px; border-left: 1px solid var(--line); min-width: 0; }
.latest-meta { display: flex; align-items: center; gap: 8px; font-size: .75rem; color: var(--muted); }
.latest-list b { font-weight: 500; font-size: .875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.latest-amount { font-weight: 600; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.dot { width: 6px; height: 6px; border-radius: 50%; }
.dot-cnil { background: var(--blue); } .dot-dgccrf { background: var(--gold-ink); } .dot-eu { background: var(--na); }
.latest-all { display: inline-flex; align-items: center; gap: 8px; font: 500 .875rem var(--sans); text-decoration: none; white-space: nowrap; }
.latest-all svg { width: 16px; height: 16px; }

/* --- Douze contrôles ------------------------------------------------------ */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.sticky-col { position: sticky; top: 112px; }
.mini-ring { position: relative; width: 200px; aspect-ratio: 1; margin: 32px 0 24px; }
.mini-ring .stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.mini-stars .star { fill: #d5dbe6; transition: fill .2s var(--ease); }
.mini-stars .star polygon { transform-box: fill-box; transform-origin: center; transition: transform .2s var(--ease); }
.mini-stars .star.is-hot { fill: var(--gold); }
.mini-stars .star.is-hot polygon { transform: scale(1.3); }
.mini-ring.is-idle .mini-stars .star { fill: var(--gold); }
.mini-label { position: absolute; inset: 24%; display: grid; place-content: center; text-align: center; font: 400 1rem/1.25 var(--serif); color: var(--ink); }
.ctl-group + .ctl-group { margin-top: 48px; }
.ctl-group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.ctl-group-head b { font-weight: 600; font-size: .9375rem; }
.ctl-group-head span { font-size: .8125rem; color: var(--muted); }
.ctl-rows { list-style: none; margin: 0; padding: 0; }
.ctl-row { display: grid; grid-template-columns: 40px 1fr 24px; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.ctl-row-n { font-size: .8125rem; color: var(--muted); transition: color .16s var(--ease); }
.ctl-row-body b { display: block; font: 400 1.25rem/1.3 var(--serif); transition: color .16s var(--ease); }
.ctl-row-body span { display: block; margin-top: 2px; font-size: .9375rem; color: var(--ink-2); }
.ctl-row-go { color: var(--muted); }
.ctl-row-go svg { width: 18px; height: 18px; transition: transform .16s var(--ease); }
.ctl-row:hover { text-decoration: none; }
.ctl-row:hover .ctl-row-n, .ctl-row:hover .ctl-row-body b, .ctl-row:hover .ctl-row-go { color: var(--blue); }
.ctl-row:hover .ctl-row-go svg { transform: translateX(3px); }

/* --- Ce que voit le robot ----------------------------------------------- */
.robot { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 24px; align-items: stretch; }
.browser { background: #fff; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow-2); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 16px; height: 40px; padding: 0 16px; background: var(--mist); border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: #d6dbe3; }
.url { display: inline-flex; align-items: center; gap: 8px; height: 24px; padding: 0 12px; border-radius: 6px; background: #fff; border: 1px solid var(--line); font: .75rem var(--mono); color: var(--ink-2); }
.url svg { width: 12px; height: 12px; fill: none; stroke: var(--ok); stroke-width: 1.5; }
.browser-page { position: relative; height: 360px; padding: 20px 24px; overflow: hidden; }
.browser-page i, .browser-page span.sk-img { display: block; border-radius: 4px; background: #e8ebf0; }
.sk-nav { display: flex; align-items: center; gap: 16px; }
.sk-nav i { width: 48px; height: 8px; }
.sk-nav .sk-logo { width: 24px; height: 24px; border-radius: 6px; background: #cdd5e3; margin-right: auto; }
.sk-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; align-items: center; }
.sk-hero div { display: grid; gap: 12px; }
.sk-hero i { height: 16px; }
.sk-hero .w80 { width: 80%; height: 20px; } .sk-hero .w60 { width: 60%; } .sk-hero .w40 { width: 40%; height: 28px; background: #cdd5e3; border-radius: 6px; }
.sk-img { aspect-ratio: 4 / 3; border-radius: 10px !important; background: linear-gradient(160deg, #eef1f5, #e2e6ec) !important; }
.sk-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.sk-row span { height: 56px; border-radius: 8px; background: #f0f2f5; }
.cookie { position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; grid-template-columns: 1fr auto; gap: 12px 24px; align-items: center; padding: 16px 20px; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow-3); }
.cookie p { font-size: .8125rem; color: var(--ink-2); line-height: 1.45; }
.cookie p b { display: block; font-size: .875rem; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.cookie-btns { display: flex; align-items: center; gap: 12px; }
.cb-accept { padding: 8px 16px; border-radius: 8px; background: var(--ink); color: #fff; font: 600 .8125rem var(--sans); }
.cb-more { font-size: .8125rem; color: var(--muted); text-decoration: underline; }
.cookie::after { content: ""; position: absolute; inset: -6px; border: 1.5px dashed var(--ko); border-radius: 16px; pointer-events: none; }
.redline { position: absolute; top: -14px; right: 20px; padding: 4px 8px; border-radius: 4px; background: var(--ko); color: #fff; font: 500 .75rem var(--sans); }
.js .robot.rv .cookie { transform: translateY(24px); opacity: 0; transition: transform .5s .2s var(--ease), opacity .5s .2s var(--ease); }
.js .robot.rv.is-in .cookie { transform: none; opacity: 1; }
.js .robot.rv .cookie::after, .js .robot.rv .redline { opacity: 0; transition: opacity .3s 1s var(--ease); }
.js .robot.rv.is-in .cookie::after, .js .robot.rv.is-in .redline { opacity: 1; }
.netlog { display: flex; flex-direction: column; gap: 16px; padding: 20px; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow-2); }
.netlog-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.netlog-head b { font-weight: 600; font-size: .9375rem; }
.netlog-head .mono { font-size: .75rem; color: var(--muted); }
.netlog ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.netlog li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px; border-radius: 10px; background: var(--mist); }
.netlog li .mono { font-size: .8125rem; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.netlog li > span:not(.mono) { grid-column: 1; font-size: .8125rem; color: var(--muted); }
.netlog li em { grid-column: 2; grid-row: 1 / 3; align-self: center; font: normal 500 .75rem var(--sans); display: inline-flex; align-items: center; gap: 6px; }
.netlog li em::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.netlog li.is-ko em { color: var(--ko); } .netlog li.is-na em { color: var(--na); } .netlog li.is-ok em { color: var(--ok); }
.js .robot.rv .netlog li { opacity: 0; transform: translateY(8px); transition: opacity .4s calc(.4s + var(--i) * .15s) var(--ease), transform .4s calc(.4s + var(--i) * .15s) var(--ease); }
.js .robot.rv.is-in .netlog li { opacity: 1; transform: none; }
.netlog-foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: .8125rem; color: var(--muted); }
.steps3 { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps3 li { display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 1px solid var(--line-2); }
.steps3 .mono { font-size: .8125rem; color: var(--blue); }
.steps3 b { font: 400 1.3125rem/1.25 var(--serif); }
.steps3 li > span:last-child { color: var(--ink-2); font-size: .9375rem; }

/* --- Registre en chiffres ------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-block: 1px solid var(--line-2); }
.stats div { display: flex; flex-direction: column-reverse; gap: 8px; padding: 24px 24px 24px 0; }
.stats div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stats dt { font-size: .875rem; color: var(--muted); }
.stats dd { margin: 0; font: 400 clamp(2rem, 3.6vw, 2.75rem)/1 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; }
.reg-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; margin-top: 32px; align-items: stretch; }
.chart { margin: 0; border-radius: 14px; border: 1px solid var(--line); }
.chart figcaption h3 { font: 600 1rem var(--sans); }
.chart figcaption p { color: var(--muted); font-size: .875rem; margin-top: 4px; }
.chart-bar { background: #c3ccdb; }
.chart-bar.is-peak { background: var(--blue); }
.chart-bars { background: linear-gradient(to top, var(--line) 1px, transparent 1px) 0 0 / 100% 25%; border-bottom-color: var(--line-2); }
.chart-axis span, .chart-x { font-family: var(--mono); font-size: .6875rem; }
.reg-latest { display: flex; flex-direction: column; gap: 16px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.reg-latest h3 { font: 600 1rem var(--sans); }
.reg-latest ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.reg-latest li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
.reg-latest li span { min-width: 0; }
.reg-latest li b { display: block; font-weight: 500; font-size: .875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reg-latest li small { font-size: .75rem; color: var(--muted); }
.reg-latest li em { font: normal 600 .9375rem var(--sans); font-variant-numeric: tabular-nums; }
.reg-latest li i { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: var(--raised); position: relative; overflow: hidden; }
.reg-latest li i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--w) * 100%); background: var(--blue); border-radius: 2px; transform-origin: left; }
.reg-latest li:not(:first-child) i::after { background: #9fb0d4; }
.js .reg-latest.rv li i::after { transform: scaleX(0); transition: transform .8s .2s var(--ease); }
.js .reg-latest.rv.is-in li i::after { transform: none; }
.reg-latest .link-arrow { margin-top: auto; }

/* --- Guides ---------------------------------------------------------------- */
.guides-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: stretch; }
.gf-main { display: flex; flex-direction: column; gap: 16px; padding: 40px; border-radius: 16px; background: var(--blue); color: #fff; text-decoration: none; transition: background-color .16s var(--ease); }
.gf-main:hover { background: var(--blue-deep); text-decoration: none; }
.gf-main .gf-meta { color: #b9c7ea; }
.gf-main h3 { color: #fff; font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1.15; }
.gf-main p { color: #d6def4; font-size: 1.0625rem; }
.gf-main .link-arrow { margin-top: auto; color: #fff; }
.gf-meta { font-size: .8125rem; color: var(--muted); }
.gf-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.gf-list a { display: grid; grid-template-columns: 1fr 24px; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.gf-list .gf-meta { grid-column: 1; }
.gf-list b { grid-column: 1; font: 400 1.1875rem/1.3 var(--serif); transition: color .16s var(--ease); }
.gf-list svg { grid-column: 2; grid-row: 1 / 3; align-self: center; width: 18px; height: 18px; color: var(--muted); transition: transform .16s var(--ease), color .16s var(--ease); }
.gf-list a:hover b, .gf-list a:hover svg { color: var(--blue); }
.gf-list a:hover svg { transform: translateX(3px); }

/* --- Secteurs -------------------------------------------------------------- */
.sector-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.sector-rows a { display: grid; grid-template-columns: 240px 1fr 24px; gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.sector-rows b { font: 400 1.5rem/1.2 var(--serif); transition: color .16s var(--ease); }
.sector-rows span { color: var(--ink-2); font-size: .9375rem; }
.sector-rows svg { width: 20px; height: 20px; color: var(--muted); transition: transform .16s var(--ease), color .16s var(--ease); }
.sector-rows a:hover b, .sector-rows a:hover svg { color: var(--blue); }
.sector-rows a:hover svg { transform: translateX(3px); }

/* --- Engagements, questions, appel final -------------------------------- */
.pledges2 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.pledges2 li { display: grid; gap: 8px; align-content: start; padding-top: 20px; border-top: 1px solid var(--line-2); }
.pledges2 svg { width: 24px; height: 24px; color: var(--blue); margin-bottom: 8px; }
.pledges2 b { font-weight: 600; font-size: 1rem; }
.pledges2 span { color: var(--ink-2); font-size: .9375rem; }
.faq-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq { max-width: none; }
.faq details { border-radius: 10px; }
.faq summary { font-weight: 500; }
.final { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: clamp(32px, 5vw, 56px); border-radius: 16px; background: var(--blue); }
.final h2 { color: #fff; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.15; letter-spacing: -.02em; }
.final p { color: #d6def4; margin-top: 12px; font-size: 1.0625rem; }
.final-actions { display: flex; align-items: center; gap: 24px; }
.final-actions .btn { height: 48px; padding: 0 24px; }
.final-alt { color: #fff; font-weight: 500; }

/* --- Apparitions : une seule montée courte ------------------------------ */
.js .rv { transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--d, 0) * 50ms); }
.js .section-head.rv h2, .js .head-2col.rv h2 { clip-path: none; transform: none; }

@media (max-width: 1080px) {
  .hero2-in { grid-template-columns: 1fr; }
  .hero2-visual { max-width: 640px; }
  .latest-in { grid-template-columns: 1fr; gap: 12px; }
  .latest-list li:first-child { border-left: 0; padding-left: 0; }
  .split, .faq-split { grid-template-columns: 1fr; }
  .sticky-col { position: static; }
  .mini-ring { display: none; }
  .robot { grid-template-columns: 1fr; }
  .reg-grid, .guides-feature { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pledges2 { grid-template-columns: repeat(2, 1fr); }
  .head-2col { grid-template-columns: 1fr; }
  .head-2col .body-lg { justify-self: start; }
  .head-2col > .body-lg { padding-top: 0; }
}
@media (max-width: 680px) {
  .pv-paper { padding: 20px 16px 12px; }
  .pv-head { grid-template-columns: 44px 1fr; }
  .pv-flag { width: 44px; }
  .pv-ref { grid-column: 1 / -1; text-align: left; grid-auto-flow: column; justify-content: start; gap: 12px; }
  .pv-body { grid-template-columns: 1fr; }
  .pv-ring { width: 148px; margin-inline: auto; }
  .pv-line:nth-child(n+7) { display: none; }
  .pv-stamp { left: auto; right: 16px; bottom: 48px; }
  .latest-list { grid-template-columns: 1fr; gap: 12px; }
  .latest-list li { border-left: 0; padding-left: 0; }
  .browser-page { height: 300px; padding: 16px; }
  .sk-hero { grid-template-columns: 1fr; } .sk-img { display: none !important; }
  .cookie { grid-template-columns: 1fr; }
  .steps3, .pledges2 { grid-template-columns: 1fr; gap: 24px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div { padding: 20px 12px 20px 0; }
  .stats div + div { padding-left: 12px; }
  .sector-rows a { grid-template-columns: 1fr 24px; gap: 8px 16px; }
  .sector-rows span { grid-column: 1; }
  .sector-rows svg { grid-row: 1 / 3; grid-column: 2; }
  .final { grid-template-columns: 1fr; }
  .final-actions { flex-wrap: wrap; }
  .gf-main { padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .rv { transform: none; }
  .pv-flag .wave i, .wave i { animation: none; }
}

/* --- Articles, accordés à la charte v4 -------------------------------- */
.article-head { background: #fff; border-bottom: 1px solid var(--line); }
.page-head { background: #fff; }
.page-head h1 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); line-height: 1.08; letter-spacing: -.02em; }
.part-n { font: 400 .8125rem var(--mono); color: var(--muted); background: none; padding: 0; transform: translateY(-6px); }
.article-part h2 { margin: 56px 0 16px; }
.callout { border-left: 2px solid var(--blue); background: var(--blue-soft); color: var(--ink) !important; border-radius: 0 8px 8px 0; padding: 16px 20px; }
.steps-list li { border-radius: 10px; }
.steps-list li::before { background: var(--ink); }
.checklist-box { background: var(--mist); border-color: var(--line); border-radius: 16px; }
.toc { border-left-color: var(--line-2); }
.side-box { border-radius: 14px; background: #fff; border-color: var(--line); }
.side-cta { background: var(--mist); }
.fiche { background: #fff; border-color: var(--line); border-radius: 16px; }
.article-meta span:not(.tag)::before { background: var(--line-2); }
.mini-sanctions li { border-radius: 12px; }
.ms-amount { color: var(--ink); }
.tag { border-radius: 4px; font-weight: 500; }

/* ==========================================================================
   v5 : dossier pour les autorités (exemple signé en ligne, page signalement, carte)
   ========================================================================== */

/* --- Exemple de dossier : formulaire à gauche, document à droite --------- */
.dossier-section { padding-top: clamp(40px, 6vw, 64px); background: var(--mist); border-top: 1px solid var(--line); }
.dossier-layout { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 40px; align-items: start; }
.dossier-form { position: sticky; top: 104px; }
.df-card { display: grid; gap: 16px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-2); }
.df-step { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9375rem; margin-top: 4px; }
.df-step .mono { font-size: .75rem; color: var(--blue); }
.df-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dossier-form .field input { padding: 10px 12px; font-size: .9375rem; }
.sig-pad { position: relative; border: 1px dashed var(--line-2); border-radius: 10px; background: var(--mist); }
.sig-pad canvas { display: block; width: 100%; height: 120px; touch-action: none; cursor: crosshair; }
.sig-pad::after { content: "Signez ici"; position: absolute; left: 12px; bottom: 8px; font-size: .75rem; color: var(--muted); pointer-events: none; }
.sig-pad.has-ink::after { content: none; }
.sig-clear { position: absolute; top: 8px; right: 8px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; font: 500 .75rem var(--sans); color: var(--ink-2); cursor: pointer; }
.df-actions { display: grid; gap: 8px; }
.df-actions .btn { width: 100%; height: 44px; padding: 0 16px; font-size: .9375rem; }
.df-note { font-size: .8125rem; color: var(--muted); }

.paper { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-3); font-size: .875rem; line-height: 1.6; color: var(--ink); overflow: hidden; }
.paper-hd { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 48px; background: var(--mist); border-bottom: 1px solid var(--line); }
.paper-hd div { display: grid; gap: 2px; }
.paper-hd b { font-size: .75rem; font-weight: 600; color: var(--ink-2); }
.paper-hd span { font-size: .75rem; color: var(--muted); }
.paper-logo .logo-mark { width: 28px; height: 28px; }
.paper-logo .logo-word { font-size: 1.125rem; }
.paper-title { padding: 32px 48px 8px; }
.paper-k { display: inline-block; padding: 4px 10px; border-radius: 4px; background: var(--blue); color: #fff; font: 600 .75rem var(--sans); }
.paper-title h2 { margin: 12px 0 6px; font-size: 1.75rem; line-height: 1.2; }
.paper-title h2 span { color: var(--blue); overflow-wrap: anywhere; }
.paper-title p { color: var(--ink-2); }
.cite { color: var(--blue); font: 600 .75rem var(--mono); white-space: nowrap; }
.paper-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 20px 48px 0; }
.paper-kpis div { display: grid; gap: 2px; padding: 12px 16px; border-radius: 10px; background: var(--mist); }
.paper-kpis b { font: 400 1.75rem/1.1 var(--serif); font-variant-numeric: tabular-nums; }
.paper-kpis span { font-size: .75rem; color: var(--ink-2); }
.paper-kpis .is-ko { background: var(--ko-soft); } .paper-kpis .is-ko b { color: var(--ko); }
.paper-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px 48px 0; }
.pbox { padding: 16px; border: 1px solid var(--line); border-radius: 10px; }
.pbox h3 { font: 600 .75rem var(--sans); color: var(--muted); margin-bottom: 8px; }
.pbox p { margin-bottom: 2px; }
.muted { color: var(--muted); }
.fill { display: block; min-height: 22px; border-bottom: 1px dotted #a7afbf; font-weight: 600; line-height: 22px; overflow-wrap: anywhere; transition: background-color .3s var(--ease); }
.fill.is-new { background: var(--gold-soft); }
.fill-l { display: block; margin-bottom: 6px; font-size: .6875rem; color: var(--muted); }
.fill-sig { min-height: 64px; display: flex; align-items: flex-end; }
.fill-sig img { height: 60px; width: auto; }
.psec { padding: 4px 48px 0; }
.psec h3 { display: flex; align-items: center; gap: 12px; margin: 28px 0 12px; font: 600 1rem var(--sans); }
.psec h3 i { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: normal 600 .75rem var(--sans); color: #fff; background: var(--ink); }
.psec p { margin-bottom: 8px; }
.pcard { margin-bottom: 12px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; break-inside: avoid; }
.pcard-h { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: var(--ko-soft); }
.pcard-h b { flex: none; padding: 2px 8px; border-radius: 4px; background: var(--ko); color: #fff; font-size: .75rem; }
.pcard-h h4 { margin: 0; font: 600 .9375rem var(--sans); }
.conf { margin-left: auto; flex: none; padding: 2px 8px; border-radius: 4px; border: 1px solid currentColor; font-size: .6875rem; font-weight: 600; }
.conf-certain { color: var(--ko); } .conf-probable { color: var(--muted); }
.pcard-b { padding: 12px 16px 4px; }
.k { display: block; margin: 8px 0 4px; font-size: .6875rem; font-weight: 600; color: var(--muted); }
.proofs { margin: 0 0 8px; padding: 8px 12px 8px 28px; border-radius: 8px; background: var(--mist); font-size: .8125rem; }
.law { font-size: .8125rem; color: var(--ink-2); }
.ptable { width: 100%; border-collapse: collapse; font-size: .8125rem; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.ptable th, .ptable td { padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.ptable th { background: var(--mist); font-size: .6875rem; color: var(--muted); font-weight: 600; }
.ptable td:last-child, .ptable th:last-child { text-align: right; }
.hash { display: block; padding: 10px 12px; border-radius: 8px; background: var(--ink); color: #b9f5cf; font: .75rem/1.5 var(--mono); word-break: break-all; }
.sign { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-top: 20px; }
.psrc { margin: 0; padding-left: 0; list-style: none; counter-reset: s; }
.psrc li { position: relative; padding: 8px 0 8px 40px; border-bottom: 1px solid var(--line); font-size: .8125rem; counter-increment: s; }
.psrc li::before { content: counter(s); position: absolute; left: 0; top: 8px; width: 28px; height: 22px; border-radius: 4px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font: 600 .75rem var(--mono); }
.psrc li b { display: block; font-weight: 500; }
.psrc li span { display: block; font: .75rem var(--mono); color: var(--muted); word-break: break-all; }
.paper-ft { margin-top: 32px; padding: 16px 48px 24px; background: var(--mist); font-size: .75rem; color: var(--muted); }
@media print {
  .notice-bar, .site-header, .site-footer, .page-head, .dossier-form, .skip, .read-progress { display: none !important; }
  .dossier-section { padding: 0; background: #fff; border: 0; }
  .dossier-layout { display: block; }
  .paper { border: 0; box-shadow: none; border-radius: 0; }
  .wrap { max-width: none; padding: 0; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* --- Page « Dossier pour les autorités » ----------------------------------- */
.sig-head { padding-block: clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.sig-head-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.sig-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }
.sig-cta .btn { height: 48px; padding: 0 24px; }
.sig-thumb { position: relative; display: block; height: 400px; text-decoration: none; color: inherit; }
.sheet { position: absolute; inset: 24px 24px 0 48px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-2); transition: transform .4s var(--ease); }
.sheet-3 { transform: rotate(6deg) translate(28px, 8px); background: var(--mist); }
.sheet-2 { transform: rotate(3deg) translate(14px, 4px); padding: 20px 24px; }
.sheet-2 b { font: 600 .75rem var(--sans); color: var(--gold-ink); }
.sheet-1 { display: flex; flex-direction: column; gap: 16px; padding: 28px; border-top: 4px solid var(--blue); }
.sig-thumb:hover .sheet-1 { transform: translateY(-6px); }
.sig-thumb:hover .sheet-2 { transform: rotate(4deg) translate(22px, 4px); }
.sh-k { align-self: flex-start; padding: 4px 10px; border-radius: 4px; background: var(--blue); color: #fff; font: 600 .75rem var(--sans); }
.sh-t { font: 400 1.375rem/1.25 var(--serif); }
.sh-t em { font-style: normal; color: var(--blue); }
.sh-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sh-kpis i { font-style: normal; display: grid; gap: 2px; padding: 10px 12px; border-radius: 8px; background: var(--mist); font-size: .75rem; color: var(--ink-2); }
.sh-kpis i:first-child { background: var(--ko-soft); }
.sh-kpis b { font: 400 1.5rem/1 var(--serif); color: var(--ink); }
.sh-kpis i:first-child b { color: var(--ko); }
.sh-lines { display: grid; gap: 8px; }
.sh-lines i { height: 8px; border-radius: 4px; background: #e8ebf0; }
.sh-lines i.s { width: 70%; }
.sh-sign { margin-top: auto; align-self: flex-end; width: 50%; padding-top: 28px; border-bottom: 1px dotted #a7afbf; font-size: .6875rem; color: var(--muted); text-align: right; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: f; }
.flow > li { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.flow > li:not(:last-child)::after { content: ""; position: absolute; top: 44px; right: -20px; width: 16px; height: 2px; background: var(--line-2); }
.flow-n { font-size: .8125rem; color: var(--blue); }
.flow b { font: 400 1.5rem/1.2 var(--serif); }
.flow p { color: var(--ink-2); font-size: .9375rem; }
.flow-tag { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
.contents-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contents-grid > div { position: sticky; top: 112px; }
.contents-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.contents-list li { display: grid; grid-template-columns: 32px 1fr; gap: 4px 12px; padding: 20px 0; border-top: 1px solid var(--line-2); align-content: start; }
.contents-list .mono { grid-row: 1 / 3; font-size: .8125rem; color: var(--blue); padding-top: 3px; }
.contents-list b { font: 400 1.1875rem/1.3 var(--serif); }
.contents-list p { color: var(--ink-2); font-size: .9375rem; }
.routes { display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); align-items: stretch; }
.route-col { display: grid; gap: 16px; align-content: start; }
.route-h { font-size: .8125rem; color: var(--muted); font-weight: 500; }
.route-col ul { list-style: none; margin: 0; padding: 16px 20px; display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: .9375rem; }
.route-col ul li { display: flex; gap: 10px; align-items: baseline; }
.route-col ul li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ko); transform: translateY(-1px); }
.route-arrows { display: grid; grid-template-rows: auto 1fr 1fr; padding-top: 32px; }
.route-arrows span { position: relative; align-self: center; height: 2px; margin: 0 12px; background: var(--line-2); }
.route-arrows span::after { content: ""; position: absolute; right: -2px; top: -4px; width: 8px; height: 8px; border-top: 2px solid var(--line-2); border-right: 2px solid var(--line-2); transform: rotate(45deg); }
.route-arrows span:first-child { grid-row: 2; } .route-arrows span:last-child { grid-row: 3; }
.route-dest .dest { display: grid; gap: 4px; padding: 20px; border-radius: 12px; background: var(--blue); color: #fff; min-height: 128px; align-content: center; }
.route-dest .dest + .dest { background: var(--blue-deep); }
.dest b { font-weight: 600; }
.dest span { color: #cfdaf5; font-size: .9375rem; }
.europe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.europe-panel { margin-top: 24px; min-height: 164px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.ep-hint { color: var(--muted); font-size: .9375rem; }
.ep-pays { font: 400 1.5rem/1.2 var(--serif); }
.ep-row { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--line); font-size: .875rem; }
.ep-row dt { color: var(--muted); }
.ep-row dd { margin: 0; }
.ep-row a { font-weight: 500; }
.ep-note { margin-top: 12px; font-size: .8125rem; color: var(--muted); }
.europe-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-size: .8125rem; color: var(--ink-2); }
.europe-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 12px; height: 12px; border-radius: 3px; }
.lg-full { background: var(--blue); } .lg-eu { background: #c8d3ec; }
.tilemap { position: relative; display: grid; grid-template-columns: repeat(9, 1fr); grid-template-rows: repeat(7, 1fr); gap: 6px; aspect-ratio: 9 / 7; }
.tile { grid-column: calc(var(--x) + 1); grid-row: calc(var(--y) + 1); display: grid; place-content: center; gap: 0; border: 0; border-radius: 8px; cursor: pointer; font: 600 .875rem var(--sans); line-height: 1.1; text-align: center; transition: transform .16s var(--ease), background-color .16s var(--ease), box-shadow .16s var(--ease); }
.tile span { font: 500 .5625rem var(--sans); opacity: .8; }
.tile.is-full { background: var(--blue); color: #fff; }
.tile.is-eu { background: #dbe3f3; color: var(--blue-deep); }
.tile.is-none { background: var(--raised); color: var(--muted); cursor: default; }
.tile:not(:disabled):hover, .tile.is-on { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 33, 95, .22); }
.tile.is-on { outline: 2px solid var(--gold); outline-offset: 2px; }
.js .tilemap.rv .tile { opacity: 0; transform: scale(.85); transition: opacity .4s calc(var(--i) * 18ms) var(--ease), transform .4s calc(var(--i) * 18ms) var(--ease); }
.js .tilemap.rv.is-in .tile { opacity: 1; transform: none; }
.js .tilemap.rv.is-in .tile:not(:disabled):hover, .js .tilemap.rv.is-in .tile.is-on { transform: translateY(-2px); }

@media (max-width: 1080px) {
  .dossier-layout { grid-template-columns: 1fr; }
  .dossier-form { position: static; }
  .sig-head-in, .contents-grid, .europe { grid-template-columns: 1fr; }
  .contents-grid > div { position: static; }
  .sig-thumb { height: 340px; max-width: 520px; }
  .flow { grid-template-columns: 1fr; }
  .flow > li::after { display: none; }
  .routes { grid-template-columns: 1fr; gap: 16px; }
  .route-arrows { display: none; }
}
@media (max-width: 680px) {
  .paper-hd, .paper-title, .paper-kpis, .paper-parties, .psec, .paper-ft { padding-left: 20px; padding-right: 20px; }
  .paper-kpis { grid-template-columns: 1fr 1fr; }
  .paper-parties, .sign, .df-row, .contents-list { grid-template-columns: 1fr; }
  .paper-logo { display: none; }
  .tile { font-size: .6875rem; border-radius: 6px; }
  .tile span { display: none; }
  .tilemap { gap: 4px; }
}

/* --- v5 accueil : choix du mode, dossier derrière le constat, bande dossier */
.mode { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 16px; border-radius: 10px; background: var(--raised); }
.mode label { position: relative; cursor: pointer; }
.mode input { position: absolute; opacity: 0; }
.mode span { display: block; padding: 8px 16px; border-radius: 8px; font: 500 .9375rem var(--sans); color: var(--ink-2); transition: background-color .16s var(--ease), color .16s var(--ease), box-shadow .16s var(--ease); }
.mode input:checked + span { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.mode input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.hero2 h1 { max-width: 13em; }
.pv-stack { position: relative; margin-bottom: 72px; }
.pv-dossier { position: absolute; z-index: 0; left: 24px; right: 24px; bottom: 0; height: 120px; display: flex; align-items: flex-end; gap: 12px; padding: 0 20px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-2); color: inherit; text-decoration: none; transform: translateY(-48px); transition: transform .6s var(--ease), box-shadow .16s var(--ease); }
.pv-dossier .sh-k { flex: none; align-self: auto; }
.pv-dossier b { font: 400 1.125rem/1.3 var(--serif); }
.pv-dossier-go { margin-left: auto; font: 500 .875rem var(--sans); color: var(--blue); white-space: nowrap; }
.pv-paper { z-index: 1; }
.pv-cap { margin-top: 16px; }
.pv.is-stamped .pv-dossier { transform: translateY(64px); }
.pv-dossier:hover { text-decoration: none; box-shadow: var(--shadow-3); }
.pv:not(.is-armed) .pv-dossier { transform: translateY(64px); }
.dossier-band { background: #fff; }
.db-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.db-points { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.db-points li { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.db-points b { font-weight: 600; font-size: .9375rem; }
.db-points span { color: var(--ink-2); font-size: .9375rem; }
.db-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }
.db-cta .btn { height: 48px; padding: 0 24px; }
.db-visual { height: 460px; }
.js .db-visual.rv .sheet-1 { transform: translateY(40px); transition: transform .8s .1s var(--ease); }
.js .db-visual.rv .sheet-2 { transform: rotate(0) translate(0, 40px); transition: transform .8s .25s var(--ease); }
.js .db-visual.rv .sheet-3 { transform: rotate(0) translate(0, 40px); transition: transform .8s .4s var(--ease); }
.js .db-visual.rv.is-in .sheet-1 { transform: none; }
.js .db-visual.rv.is-in .sheet-2 { transform: rotate(3deg) translate(14px, 4px); }
.js .db-visual.rv.is-in .sheet-3 { transform: rotate(6deg) translate(28px, 8px); }
@media (max-width: 1080px) {
  .db-in { grid-template-columns: 1fr; }
  .db-visual { height: 360px; max-width: 520px; }
  .pv-dossier { left: 12px; right: 12px; }
}
@media (max-width: 680px) {
  .db-points li { grid-template-columns: 1fr; gap: 4px; }
  .mode { display: flex; }
  .mode label { flex: 1; text-align: center; }
}
@media (max-width: 680px) {
  .pv-dossier .sh-k { display: none; }
  .pv-dossier b { font-size: 1rem; white-space: nowrap; }
}

/* ==========================================================================
   v6 : méga-menu en trois volets, pages Signaler, Pour, Modèles, Thèmes, Pays
   ========================================================================== */

/* --- Méga-menu ------------------------------------------------------------ */
.nav { gap: 2px; }
.nav-link { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .9375rem; padding: 8px 12px; border-radius: 8px; transition: color .16s var(--ease), background-color .16s var(--ease); }
.nav-link:hover, .nav-link.is-on { color: var(--blue); background: var(--blue-soft); text-decoration: none; }
.nav-drop-btn { border-radius: 8px; transition: color .16s var(--ease), background-color .16s var(--ease); }
.nav-drop-btn:hover, .nav-drop-btn[aria-expanded="true"] { background: var(--blue-soft); }
.nav-drop-btn .chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .2s var(--ease); }
.nav-drop-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-drop { position: static; }
.nav-drop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
/* L'en-tête a un backdrop-filter : il devient le repère du panneau, qu'on ancre donc juste sous lui */
.mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 32px 64px -32px rgba(17, 24, 39, .28); animation: mm-in .22s var(--ease); }
.mega::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--line); }
@keyframes mm-in { from { opacity: 0; transform: translateY(-6px); } }
.mega-in { max-width: 1200px; margin: 0 auto; padding: 32px var(--gutter) 36px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) 300px; gap: 40px; }
.mega-in > * { animation: mm-col .3s var(--ease) both; }
.mega-in > :nth-child(2) { animation-delay: .04s; } .mega-in > :nth-child(3) { animation-delay: .08s; }
@keyframes mm-col { from { opacity: 0; transform: translateY(6px); } }
.mm-col { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mm-h { font: 500 .8125rem var(--sans); color: var(--muted); margin: 0 0 8px; }
.mm-link { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; padding: 8px; margin-inline: -8px; border-radius: 10px; color: var(--ink); text-decoration: none; transition: background-color .16s var(--ease); }
.mm-link:hover, .mm-link:focus-visible { background: var(--mist); text-decoration: none; }
.mm-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); transition: background-color .16s var(--ease), color .16s var(--ease); }
.mm-ic svg { width: 18px; height: 18px; }
.mm-link:hover .mm-ic { background: var(--blue); color: #fff; }
.mm-link b { display: block; font-weight: 600; font-size: .9375rem; }
.mm-link small { display: block; font-size: .8125rem; color: var(--muted); line-height: 1.35; }
.mm-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; }
.mm-mini { display: flex; align-items: center; gap: 10px; padding: 8px 8px; margin-inline: -8px; border-radius: 8px; color: var(--ink-2); font-size: .9375rem; text-decoration: none; transition: background-color .16s var(--ease), color .16s var(--ease); }
.mm-mini svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.mm-mini:hover { background: var(--mist); color: var(--blue); text-decoration: none; }
.mm-all { margin-top: 12px; font: 500 .875rem var(--sans); text-decoration: none; }
.mm-all:hover { text-decoration: underline; }
.mm-ctl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.mm-ctl a { display: flex; gap: 10px; align-items: baseline; padding: 6px 8px; margin-inline: -8px; border-radius: 8px; color: var(--ink-2); font-size: .875rem; text-decoration: none; }
.mm-ctl a .mono { font-size: .75rem; color: var(--muted); }
.mm-ctl a:hover { background: var(--mist); color: var(--blue); text-decoration: none; }
.mm-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.mm-pills a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .8125rem; color: var(--ink-2); text-decoration: none; }
.mm-pills a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.mm-feature { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 20px; border-radius: 16px; background: var(--blue); color: #fff; text-decoration: none; min-height: 260px; position: relative; overflow: hidden; transition: background-color .16s var(--ease); }
.mm-feature:hover { background: var(--blue-deep); text-decoration: none; }
.mm-feature > b { font: 400 1.25rem/1.2 var(--serif); color: #fff; }
.mm-feature > span:last-child { font-size: .8125rem; color: #c6d2ef; }
.mmf-sheet { position: absolute; top: 20px; left: 20px; right: 20px; display: grid; gap: 8px; padding: 16px; background: #fff; border-radius: 8px; border-top: 3px solid var(--gold); transform: rotate(-3deg); box-shadow: 0 16px 32px -12px rgba(0, 0, 0, .35); transition: transform .3s var(--ease); }
.mm-feature:hover .mmf-sheet { transform: rotate(-1deg) translateY(-4px); }
.mmf-sheet .sh-k { justify-self: start; font-size: .6875rem; padding: 2px 8px; }
.mmf-t { font: 400 .9375rem var(--serif); color: var(--ink); }
.mmf-sheet i { height: 6px; border-radius: 3px; background: #e6e9ef; }
.mmf-sheet i.s { width: 60%; }
.mmf-sign { justify-self: end; width: 50%; padding-top: 12px; border-bottom: 1px dotted #a7afbf; font-size: .625rem; color: var(--muted); text-align: right; }
.mmf-ring { position: absolute; top: 16px; left: 50%; width: 150px; aspect-ratio: 1; translate: -50% 0; display: grid; place-items: center; }
.mmf-ring .stars { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .6s var(--ease); }
.mmf-ring .stars .star { fill: var(--gold); }
.mm-feature:hover .mmf-ring .stars { transform: rotate(30deg); }
.mmf-ring b { font: 400 2.25rem var(--serif); color: #fff; }
.mmf-bars { position: absolute; top: 24px; left: 20px; right: 20px; height: 120px; display: flex; align-items: flex-end; gap: 6px; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.mmf-bars i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: rgba(255, 255, 255, .35); transform-origin: bottom; animation: bar-up .5s var(--ease) both; }
.mmf-bars i:nth-child(2) { animation-delay: .03s; } .mmf-bars i:nth-child(3) { animation-delay: .06s; } .mmf-bars i:nth-child(4) { animation-delay: .09s; } .mmf-bars i:nth-child(5) { animation-delay: .12s; } .mmf-bars i:nth-child(6) { animation-delay: .15s; } .mmf-bars i:nth-child(7) { animation-delay: .18s; } .mmf-bars i:nth-child(8) { animation-delay: .21s; }
.mmf-bars i.is-peak { background: var(--gold); }
@keyframes bar-up { from { transform: scaleY(0); } }
body.has-mega::after { content: ""; position: fixed; inset: var(--header-bottom, 108px) 0 0; z-index: 40; background: rgba(17, 24, 39, .18); animation: fade-in .2s var(--ease); pointer-events: none; }
@keyframes fade-in { from { opacity: 0; } }

/* Menu mobile en volets */
.nm-group { border-bottom: 1px solid var(--line); }
.nm-group summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; font-weight: 600; }
.nm-group summary::-webkit-details-marker { display: none; }
.nm-group summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s var(--ease); }
.nm-group[open] summary::after { transform: rotate(-135deg); }
.nav-mobile .nm-group a { display: block; padding: 10px 4px 10px 16px; border: 0 !important; color: var(--ink-2); font-weight: 400; }
.nm-group[open] { padding-bottom: 8px; }

/* --- Signaler --------------------------------------------------------------- */
.sig-group + .sig-group { margin-top: 56px; }
.problem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.problem { display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: inherit; text-decoration: none; transition: border-color .16s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.problem:hover { border-color: var(--blue-line); box-shadow: var(--shadow-2); transform: translateY(-2px); text-decoration: none; }
.problem-k { font-size: .75rem; color: var(--muted); }
.problem b { font: 400 1.3125rem/1.25 var(--serif); }
.problem-s { color: var(--ink-2); font-size: .9375rem; }
.problem-go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; color: var(--blue); font: 500 .875rem var(--sans); }
.problem-go svg { width: 16px; height: 16px; transition: transform .16s var(--ease); }
.problem:hover .problem-go svg { transform: translateX(3px); }
.inline-scan { margin-top: 32px; max-width: 560px; }
.symptoms { padding: 28px; border-radius: 16px; background: var(--blue); color: #fff; }
.symptoms-h { font: 500 .875rem var(--sans); color: #b9c7ea; }
.symptoms ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.symptoms li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font: 400 1.125rem/1.35 var(--serif); }
.symptoms li::before { content: ""; width: 12px; height: 12px; margin-top: 6px; border-radius: 50%; border: 2px solid var(--gold); }
.symptoms-f { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: .875rem; color: #c6d2ef; }
.symptoms-f a { color: #fff; }
.mini-src { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .8125rem; color: var(--ink-2); }
.mini-src li { display: grid; grid-template-columns: 32px 1fr; gap: 8px; }
.mini-src .mono { color: var(--blue); }

/* --- Pour qui --------------------------------------------------------------- */
.audience-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.audience-list li { display: grid; grid-template-columns: 40px 1fr; gap: 4px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.audience-list .mono { grid-row: 1 / 3; color: var(--blue); font-size: .8125rem; padding-top: 4px; }
.audience-list b { font: 400 1.25rem/1.3 var(--serif); }
.audience-list p { color: var(--ink-2); font-size: .9375rem; }
.audience-others { padding: 32px; border-radius: 16px; background: var(--mist); border: 1px solid var(--line); }
.audience-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.audience-links a { display: grid; grid-template-columns: 1fr 20px; gap: 4px 12px; padding: 20px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: inherit; text-decoration: none; }
.audience-links a:hover { border-color: var(--blue); text-decoration: none; }
.audience-links b { font-weight: 600; }
.audience-links span { grid-column: 1; color: var(--ink-2); font-size: .875rem; }
.audience-links svg { grid-column: 2; grid-row: 1 / 3; align-self: center; width: 18px; height: 18px; color: var(--blue); }

/* --- Modèles de lettres ---------------------------------------------------- */
.letter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.letter { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 88px 24px 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: inherit; text-decoration: none; overflow: hidden; transition: border-color .16s var(--ease), box-shadow .2s var(--ease); }
.letter:hover { border-color: var(--blue-line); box-shadow: var(--shadow-2); text-decoration: none; }
.letter-env { position: absolute; top: 20px; left: 24px; width: 64px; height: 44px; border-radius: 6px; background: var(--blue-soft); border: 1px solid var(--blue-line); overflow: hidden; }
.letter-env::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 44px; border: 1px solid var(--blue-line); background: #fff; transform: rotate(45deg) scale(.72); transform-origin: center; transition: transform .3s var(--ease); }
.letter-env i { position: absolute; left: 10px; right: 10px; top: 8px; height: 30px; background: #fff; border-radius: 2px; box-shadow: var(--shadow-1); transform: translateY(24px); transition: transform .35s var(--ease); }
.letter:hover .letter-env i { transform: translateY(-14px); }
.letter-art { font-size: .75rem; color: var(--blue); }
.letter b { font: 400 1.25rem/1.25 var(--serif); }
.letter-s { color: var(--ink-2); font-size: .9375rem; }
.letter-go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; color: var(--blue); font: 500 .875rem var(--sans); }
.letter-go svg { width: 16px; height: 16px; }
.letter-doc { margin-bottom: 24px; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow-2); }
.letter-doc-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; background: var(--mist); border-bottom: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
.letter-doc-body { padding: 28px 32px; font: 400 1rem/1.7 var(--serif); color: var(--ink); }
.letter-doc-body p + p { margin-top: 12px; }
.letter-from { color: var(--ink-2); }
.letter-to { text-align: right; color: var(--ink-2); margin: 16px 0 !important; }
.letter-obj b { font-family: var(--sans); font-weight: 600; font-size: .9375rem; }
.letter-delay { display: flex; gap: 12px; align-items: baseline; padding: 12px 16px; background: var(--gold-soft); font-size: .875rem; }
.letter-delay b { flex: none; font-weight: 600; }

/* --- Registre par thème ---------------------------------------------------- */
.theme-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.theme-chips a { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .875rem; color: var(--ink-2); text-decoration: none; }
.theme-chips a span { font-size: .75rem; color: var(--muted); }
.theme-chips a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.theme-chips a[aria-current="page"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.theme-chips a[aria-current="page"] span { color: #c6d2ef; }
.theme-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.theme-list li { display: grid; grid-template-columns: 180px 1fr 140px; grid-template-areas: "meta org amount" "meta desc amount" "meta src amount"; gap: 4px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.tl-meta2 { grid-area: meta; display: grid; gap: 8px; align-content: start; justify-items: start; font-size: .8125rem; color: var(--muted); }
.theme-list b { grid-area: org; font-weight: 600; overflow-wrap: anywhere; }
.theme-list p { grid-area: desc; color: var(--ink-2); font-size: .9375rem; }
.theme-list p em { display: block; font-style: normal; color: var(--muted); font-size: .8125rem; margin-top: 4px; }
.theme-amount { grid-area: amount; text-align: right; font: 400 1.5rem var(--serif); font-variant-numeric: tabular-nums; }
.theme-list a { grid-area: src; font-size: .8125rem; }

/* --- Pays ------------------------------------------------------------------ */
.country-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.country { position: relative; display: grid; gap: 4px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: inherit; text-decoration: none; transition: border-color .16s var(--ease), box-shadow .2s var(--ease); }
.country:hover { border-color: var(--blue); box-shadow: var(--shadow-2); text-decoration: none; }
.country-code { font-size: .75rem; color: var(--blue); }
.country b { font: 400 1.25rem var(--serif); }
.country > span:not(.country-code) { font-size: .8125rem; color: var(--muted); }
.country em { position: absolute; top: 16px; right: 16px; font: normal 500 .6875rem var(--sans); color: var(--ok); }
.auth-cards { display: grid; gap: 12px; }
.auth-card { display: grid; gap: 6px; padding: 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.auth-card.is-main { background: var(--blue); border-color: var(--blue); color: #fff; }
.auth-k { font-size: .8125rem; color: var(--muted); }
.auth-card.is-main .auth-k { color: #b9c7ea; }
.auth-card b { font: 400 1.75rem var(--serif); }
.auth-card > span:not(.auth-k) { font-size: .9375rem; }
.auth-card em { display: block; font-style: normal; font-size: .8125rem; opacity: .75; margin-top: 2px; }
.auth-card a { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 500; }
.auth-card.is-main a { color: #fff; }
.auth-card a svg { width: 16px; height: 16px; }
.country-strip { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 40px; }
.country-strip a { padding: 6px 10px; border-radius: 6px; border: 1px solid var(--line); font: 500 .8125rem var(--mono); color: var(--ink-2); text-decoration: none; }
.country-strip a:hover { border-color: var(--blue); color: var(--blue); }
.country-strip a[aria-current="page"] { background: var(--blue); border-color: var(--blue); color: #fff; }

@media (max-width: 1180px) {
  .mega-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .mm-feature { display: none; }
}
@media (max-width: 1080px) {
  .problem-grid, .letter-grid { grid-template-columns: 1fr 1fr; }
  .audience-links { grid-template-columns: 1fr; }
  .country-grid { grid-template-columns: repeat(3, 1fr); }
  .theme-list li { grid-template-columns: 1fr auto; grid-template-areas: "meta amount" "org org" "desc desc" "src src"; }
  .tl-meta2 { display: flex; align-items: center; gap: 12px; }
}
@media (max-width: 680px) {
  .problem-grid, .letter-grid { grid-template-columns: 1fr; }
  .country-grid { grid-template-columns: 1fr 1fr; }
  .letter-doc-body { padding: 20px; }
}

/* ==========================================================================
   v7 : charte éditoriale « papier et encre marine »
   Papier crème, bleu marine profond, didone en capitales (Bodoni Moda),
   un mot en écriture calligraphique (Pinyon Script) qui chevauche le titre,
   chiffres en italique didone, filets fins et angles droits.
   ========================================================================== */
@font-face { font-family: "Bodoni Moda"; src: url("/fonts/bodoni-moda.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("/fonts/bodoni-moda-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Pinyon Script"; src: url("/fonts/pinyon-script.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --cream: #efeae0;
  --cream-2: #f6f2ea;
  --cream-3: #e6dfd1;
  --navy: #1f2a5c;
  --navy-deep: #161e45;
  --on-navy: #efeae0;
  --on-navy-2: #b9bfd8;

  --paper: var(--cream);
  --mist: var(--cream-3);
  --raised: #ddd5c5;
  --ink: #1c2550;
  --ink-2: #444b70;
  --muted: #6f7392;
  --line: rgba(28, 37, 80, .16);
  --line-2: rgba(28, 37, 80, .34);
  --blue: var(--navy);
  --blue-deep: var(--navy-deep);
  --blue-soft: #e2ddd1;
  --blue-line: rgba(28, 37, 80, .3);
  --ok: #2f6b4f;
  --ok-soft: #dde6dc;
  --ko: #a8322d;
  --ko-soft: #f0dcd5;
  --na-soft: #e4ded2;

  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;
  --serif: var(--display);
  --r-sm: 2px; --r: 2px; --r-lg: 2px;
  --shadow-1: none;
  --shadow-2: 0 1px 0 rgba(28, 37, 80, .06);
  --shadow-3: 0 30px 60px -30px rgba(10, 14, 40, .45);
}

body { background: var(--cream); color: var(--ink); }
::selection { background: var(--navy); color: var(--cream); }
:focus-visible { outline-color: var(--navy); }
.notice-bar { background: var(--navy); color: var(--on-navy-2); border-bottom: 0; }
.notice-dot { background: #ffcc00; box-shadow: none; }
.site-header { background: rgba(239, 234, 224, .94); border-bottom-color: var(--line-2); }
.logo-word { font-family: var(--display); font-weight: 500; letter-spacing: .02em; }
.logo-mark { background: var(--navy); }

/* --- Titres : didone en capitales, mot calligraphié ---------------------- */
h1, h2, h3, .h-section { font-family: var(--display); font-weight: 500; }
h1, .h-section, .page-head h1, .final h2, .gf-main h3 { text-transform: uppercase; letter-spacing: -.005em; line-height: .98; }
.page-head h1 { font-size: clamp(2.25rem, 5vw, 4.25rem); }
.h-section { font-size: clamp(2rem, 4vw, 3.25rem); }
h1 em, .h-section em, .final h2 em, .page-head h1 em {
  display: block; font-family: var(--script); font-style: normal; font-weight: 400; text-transform: none;
  letter-spacing: 0; line-height: .9; font-size: 1.12em; margin: -.08em 0 0 .6em; color: inherit;
}
.kicker, .eyebrow { font: 500 .75rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.lead, .body-lg { color: var(--ink-2); }
.article-part h2, .prose h2 { text-transform: uppercase; font-size: clamp(1.375rem, 2.2vw, 1.75rem); letter-spacing: .01em; }
h3, .ctl-row-body b, .c-body b, .gf-list b, .sector-rows b, .steps3 b, .contents-list b, .flow b, .problem b, .letter b, .country b, .audience-list b, .tl-card h2, .pager b, .res-card b, .gl-item dt { font-family: var(--display); font-weight: 500; }

/* Chiffres en italique didone */
.stats dd, .pv-score b, .ring-val, .tile-value, .theme-amount, .fiche-stats b, .paper-kpis b, .constellation-center b, .diag-center b, .run-center b,
.ms-amount, .latest-amount, .reg-latest li em, .mmf-ring b, .tl-year, .ct-item b, .figure b, .sh-kpis b, .auth-card b, .hero-stats b {
  font-family: var(--display); font-style: italic; font-weight: 500; letter-spacing: -.01em;
}
.stats dd { font-size: clamp(2.5rem, 4.6vw, 3.75rem); }

/* --- Angles droits, filets, pas d'ombres décoratives -------------------- */
.btn, .scan-field, .scan-field .btn, .pv-paper, .pv-dossier, .browser, .netlog, .netlog li, .chart, .reg-latest, .gf-main, .final, .problem, .letter,
.country, .auth-card, .symptoms, .df-card, .paper, .pbox, .flow > li, .faq details, .side-box, .fiche, .checklist-box, .checklist label, .guide-card, .res-card,
.c-item, .tile, .mini-sanctions li, .cookie, .sheet, .pcard, .ptable, .mega, .mm-feature, .mmf-sheet, .mm-link, .mm-ic, .mm-mini, .tag, .sh-k, .paper-k,
.url, .sk-row span, .sk-img, .audience-others, .audience-links a, .mode, .mode span, .cross-links a, .callout, .steps-list li, .letter-doc, .tilemap .tile,
.europe-panel, .route-col ul, .dest, .stats, .tile, .tiles .tile, .filters, .sanctions-wrap, .report-summary, .finding, .disclaimer, .success, .field input,
.field select, .field textarea, .sig-pad, .dossier-form .field input, .paper-kpis div, .proofs, .hash, .pv-stamp, .diag-answers span, .diag-todo a, .run-item,
.glossary .gl-item, .alpha a, .pager a, .country-strip a, .ctl-strip a, .side-n, .mini-ring, .letter-env, .db-visual .sheet { border-radius: 2px; }
.chip-btn, .theme-chips a, .mm-pills a { border-radius: 999px; }
.pv-paper, .browser, .netlog, .chart, .reg-latest, .problem, .letter, .country, .auth-card, .df-card, .paper, .flow > li, .side-box, .fiche,
.guide-card, .res-card, .c-item, .mini-sanctions li, .letter-doc, .europe-panel, .pbox, .audience-links a, .faq details, .route-col ul {
  background: var(--cream-2); border: 1px solid var(--line-2); box-shadow: none;
}
.pv-paper, .paper, .browser { box-shadow: var(--shadow-3); }

/* Boutons : marine plein, contour fin */
.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--navy); }
.btn-light:hover { background: #fff; }
.scan-field { background: var(--cream-2); border: 1px solid var(--navy); box-shadow: none; }
.scan-field:focus-within { box-shadow: 0 0 0 3px rgba(31, 42, 92, .15); }
.tag-cnil { background: var(--navy); color: var(--cream); }
.tag-dgccrf { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.tag-eu { background: transparent; color: var(--ink-2); border: 1px solid var(--line-2); }

/* --- Sections alternées : crème / marine ---------------------------------- */
.section-alt { background: var(--navy); border-color: var(--navy); }
.section-alt :is(.h-section, .kicker, .body-lg, .ctl-group-head b, .gf-meta, .steps3 b, .steps3 li > span, .faq-split > div p, .contents-list b, .contents-list p,
  .tl-year, .route-h, .europe-text .body-lg, .europe-legend, .sector-rows b, .sector-rows span, .related-sanctions > h2, .head-2col p, .gf-list b) { color: var(--on-navy); }
.section-alt :is(.body-lg, .contents-list p, .gf-meta, .sector-rows span, .steps3 li > span:last-child, .kicker) { color: var(--on-navy-2); }
.section-alt .link-arrow, .section-alt a:not(.btn):not([class]) { color: var(--on-navy); }
.section-alt :is(.gf-list, .gf-list a, .sector-rows, .sector-rows a, .contents-list li, .steps3 li, .ctl-group-head) { border-color: rgba(239, 234, 224, .22); }
.section-alt .gf-list svg, .section-alt .sector-rows svg { color: var(--on-navy-2); }
.section-alt .contents-list .mono, .section-alt .steps3 .mono { color: #ffcc00; }
.section-alt .gf-main { background: var(--cream); color: var(--ink); }
.section-alt .gf-main :is(h3, p, .gf-meta, .link-arrow) { color: var(--ink); }
.section-alt .gf-main .gf-meta { color: var(--muted); }
.section-alt .faq details { background: transparent; border: 0; border-bottom: 1px solid rgba(239, 234, 224, .22); }
.section-alt .faq summary { color: var(--on-navy); }
.section-alt .faq summary::after { border-color: var(--on-navy-2); }
.section-alt .faq details p { color: var(--on-navy-2); }
.section-alt .europe-panel, .section-alt .tile.is-eu { color: var(--ink); }
.section-alt .tile.is-full { background: var(--cream); color: var(--navy); }
.section-alt .tile.is-eu { background: rgba(239, 234, 224, .2); color: var(--on-navy); }
.section-alt .tile.is-none { background: rgba(239, 234, 224, .06); color: var(--on-navy-2); }
.section-alt .lg-full { background: var(--cream); } .section-alt .lg-eu { background: rgba(239, 234, 224, .3); }
.section-alt .timeline::before { background: rgba(239, 234, 224, .22); }
.section-alt .mini-sanctions li { color: var(--ink); }
.dossier-section { background: var(--cream-3); }

/* --- Héros partagé : crème à gauche, marine à droite --------------------- */
.hero2 { position: relative; background: linear-gradient(90deg, var(--cream) 0 54%, var(--navy) 54% 100%); border-bottom: 0; padding-block: clamp(48px, 7vw, 104px); }
.hero2::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-2); }
.hero2 h1 { font-size: clamp(2.75rem, 6vw, 5.5rem); line-height: .92; margin: 20px 0 28px; max-width: none; }
.hero2 h1 em { font-size: 1.02em; margin: .02em 0 0 1.2em; color: var(--navy); }
.hero2 .h1-d { display: block; }
.hero2 .lead { max-width: 30rem; }
.hero2-visual { position: relative; }
.hero2-visual::before { content: "Procès-verbal de constat"; position: absolute; top: -40px; right: 0; font: 500 .75rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy-2); }
.pv-cap { color: var(--on-navy-2); }
.pv-cap a, .pv-replay { color: var(--on-navy); }
.pv-paper { background: var(--cream-2); }
.pv-paper::before { background: var(--navy); }
.pv-line.is-cur { background: var(--cream-3) !important; }
.pv-dossier { background: var(--cream); border-color: var(--line-2); }
.pv-stamp { background: rgba(246, 242, 234, .92); border-color: var(--navy); color: var(--navy); box-shadow: inset 0 0 0 2px var(--cream-2), inset 0 0 0 3px var(--navy); }
.pv-stamp b { font-family: var(--script); font-size: 1.375rem; line-height: 1.1; }
.mode { background: var(--cream-3); }
.mode input:checked + span { background: var(--navy); color: var(--cream); box-shadow: none; }

/* Cadre « ticket » à coins échancrés, comme les encarts de la référence */
.final { position: relative; background: var(--navy); }
.final::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(239, 234, 224, .35); pointer-events: none;
  -webkit-mask: radial-gradient(circle 14px at 0 0, transparent 13px, #000 14px) top left, radial-gradient(circle 14px at 100% 0, transparent 13px, #000 14px) top right,
    radial-gradient(circle 14px at 0 100%, transparent 13px, #000 14px) bottom left, radial-gradient(circle 14px at 100% 100%, transparent 13px, #000 14px) bottom right;
  -webkit-mask-size: 51% 51%; -webkit-mask-repeat: no-repeat;
  mask: radial-gradient(circle 14px at 0 0, transparent 13px, #000 14px) top left, radial-gradient(circle 14px at 100% 0, transparent 13px, #000 14px) top right,
    radial-gradient(circle 14px at 0 100%, transparent 13px, #000 14px) bottom left, radial-gradient(circle 14px at 100% 100%, transparent 13px, #000 14px) bottom right;
  mask-size: 51% 51%; mask-repeat: no-repeat; }
.final h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.final h2 em { margin-left: .4em; }

/* Lignes et listes en filets marine */
.latest { background: var(--cream-2); border-bottom: 1px solid var(--line-2); }
.stats { border-color: var(--navy); }
.stats div + div { border-left-color: var(--line-2); }
.chart-bar { background: #b9bccd; }
.chart-bar.is-peak { background: var(--navy); }
.reg-latest li i::after { background: var(--navy); }
.reg-latest li:not(:first-child) i::after { background: #9da2bd; }
.ctl-group-head { border-bottom-color: var(--navy); }
.mini-stars .star { fill: #cfc8b8; }
.cookie { background: var(--cream-2); }
.cb-accept { background: var(--navy); }
.sig-thumb .sheet-1 { border-top-color: var(--navy); }
.paper-hd, .paper-ft { background: var(--cream-3); }
.psec h3 i { background: var(--navy); }
.hash { background: var(--navy); color: var(--cream); }

/* Méga-menu sur papier */
.mega { background: var(--cream); border-bottom-color: var(--line-2); }
.mm-ic { background: transparent; border: 1px solid var(--line-2); color: var(--navy); }
.mm-link:hover .mm-ic { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.mm-link:hover, .mm-mini:hover, .mm-ctl a:hover { background: var(--cream-3); }
.mm-feature { background: var(--navy); }
.mm-feature > b { font-family: var(--display); text-transform: uppercase; font-size: 1.125rem; letter-spacing: .02em; }
.mmf-sheet { background: var(--cream-2); border-top-color: #ffcc00; }
.nav-drop-btn:hover, .nav-drop-btn[aria-expanded="true"], .nav-link:hover, .nav-link.is-on { background: var(--cream-3); color: var(--navy); }

/* Pages intérieures */
.page-head, .article-head { background: var(--cream); border-bottom: 1px solid var(--line-2); }
.sig-head { background: linear-gradient(90deg, var(--cream) 0 58%, var(--navy) 58% 100%); }
.sig-head .sig-thumb .sheet { box-shadow: var(--shadow-3); }
.site-footer { background: var(--navy); color: var(--on-navy-2); border-top: 0; }
.site-footer .footer-h, .site-footer .logo-word { color: var(--on-navy); }
.site-footer ul a { color: var(--on-navy-2); }
.site-footer ul a:hover { color: var(--on-navy); }
.site-footer .footer-legal { border-top-color: rgba(239, 234, 224, .2); color: var(--on-navy-2); }
.site-footer .footer-note { color: #c8d8c2; }
.site-footer .logo-mark { background: var(--cream); }
.site-footer .logo-check { stroke: var(--navy); }
.site-footer .logo-tld { color: #ffcc00; }

@media (max-width: 1080px) {
  .hero2 { background: var(--cream); }
  .hero2-visual { background: var(--navy); margin-inline: calc(var(--gutter) * -1); padding: 56px var(--gutter) 32px; max-width: none; }
  .hero2-visual::before { top: 20px; right: var(--gutter); }
  .sig-head { background: var(--cream); }
}
@media (max-width: 680px) {
  .hero2 h1 em, h1 em, .h-section em { margin-left: .2em; }
}

/* --- Logo : sceau et mot-symbole éditorial --------------------------------- */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.seal { width: 42px; height: 42px; flex: none; }
.seal-bg { fill: var(--navy); }
.seal-ring { fill: none; stroke: var(--cream); stroke-opacity: .5; stroke-width: 2; }
.seal-ring-in { stroke-opacity: .25; stroke-width: 1.5; }
.seal-stars polygon { fill: #ffcc00; }
.seal-c { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 78px; fill: var(--cream); }
.brand:hover .seal-stars { transform-origin: 0 0; animation: seal-turn 1.2s var(--ease); }
@keyframes seal-turn { to { transform: rotate(30deg); } }
.logo-word { display: inline-flex; align-items: baseline; gap: 2px; line-height: 1; }
.lw-main { font-family: var(--display); font-weight: 500; font-size: 1.3125rem; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }
.lw-tld { font-family: var(--script); font-size: 1.875rem; color: var(--navy); transform: translateY(4px); margin-left: 2px; }
.site-footer .lw-main, .site-footer .lw-tld { color: var(--cream); }
.site-footer .seal-bg { fill: var(--cream); }
.site-footer .seal-c { fill: var(--navy); }
.site-footer .seal-ring { stroke: var(--navy); }
.paper-logo .seal { width: 32px; height: 32px; }
.paper-logo .lw-main { font-size: 1rem; }
.paper-logo .lw-tld { font-size: 1.125rem; }
/* Héros : la phrase calligraphiée tient sur deux lignes au plus */
.hero2 h1 em { font-size: .74em; margin: .06em 0 0 .5em; line-height: .95; }
@media (max-width: 560px) { .lw-main { font-size: 1.0625rem; letter-spacing: .12em; } .seal { width: 36px; height: 36px; } }
@media (prefers-reduced-motion: reduce) { .brand:hover .seal-stars { animation: none; } }
.dossier-band { background: var(--cream); }
.split-aside .h-section { font-size: clamp(1.875rem, 3vw, 2.625rem); }
.hero2-text .scan-form { max-width: 520px; }

/* Le € de la didone italique a des barres trop fines (on lit « MC ») : il est pris dans Work Sans */
@font-face { font-family: "Euro Sans"; src: url("/fonts/WorkSans-Medium.woff2") format("woff2"); unicode-range: U+20AC; font-weight: 400 900; font-style: normal; }
@font-face { font-family: "Euro Sans"; src: url("/fonts/WorkSans-Medium.woff2") format("woff2"); unicode-range: U+20AC; font-weight: 400 900; font-style: italic; }
.stats dd, .pv-score b, .ring-val, .tile-value, .theme-amount, .fiche-stats b, .paper-kpis b, .constellation-center b, .diag-center b, .run-center b,
.ms-amount, .latest-amount, .reg-latest li em, .mmf-ring b, .tl-year, .ct-item b, .figure b, .sh-kpis b, .auth-card b, .hero-stats b { font-family: "Euro Sans", var(--display); }

/* ==========================================================================
   v8 : logo « O étoilé », méga-menu éditorial, animations d'écriture
   ========================================================================== */

/* --- Logo : CONFORME, le O est le cercle des douze étoiles ------------- */
.logo { display: inline-flex; align-items: center; gap: 0; }
.logo-word { display: inline-flex; align-items: center; font-family: var(--display); font-weight: 500; font-size: 1.375rem; line-height: 1; letter-spacing: .14em; color: var(--navy); text-transform: uppercase; }
.logo-word .lw { display: inline-block; }
.lw-o { width: 1.18em; height: 1.18em; margin: 0 .1em 0 .06em; overflow: visible; flex: none; }
.lw-o-ring { fill: none; stroke: var(--navy); stroke-width: 11; }
.lw-o polygon { fill: #e8b800; transform-box: fill-box; transform-origin: center; }
.lw-tld { font-family: var(--script); font-size: 1.6em; letter-spacing: 0; text-transform: none; margin-left: .04em; transform: translateY(.12em); color: var(--navy); }
.brand:hover .lw-o polygon { animation: star-blink .9s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
@keyframes star-blink { 50% { transform: scale(1.6); } }
.site-footer .logo-word, .site-footer .lw-tld { color: var(--cream); }
.site-footer .lw-o-ring { stroke: var(--cream); }
.paper-logo .logo-word { font-size: 1rem; }
.seal { display: none; }
@media (max-width: 560px) { .logo-word { font-size: 1.125rem; letter-spacing: .1em; } }

/* --- Méga-menu éditorial ----------------------------------------------------- */
.mega { background: var(--cream); border-bottom: 1px solid var(--navy); box-shadow: 0 40px 80px -40px rgba(10, 14, 40, .45); animation: none; }
.mega:not([hidden]) { animation: curtain .5s var(--ease) both; }
@keyframes curtain { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.mega::before { display: none; }
.mega-in { display: grid; grid-template-columns: 340px minmax(0, 1fr) minmax(0, 1fr); gap: 0; padding: 0 var(--gutter); max-width: 1280px; }
.mega-in > * { animation: none; }
.mm-col { padding: 32px 40px 36px; border-left: 1px solid var(--line-2); gap: 0; }
.mm-h { font: 500 .6875rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }

.mm-hero { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 36px 32px; margin: 20px 0; background: var(--navy); color: var(--cream); text-decoration: none; overflow: hidden; }
.mm-hero::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(239, 234, 224, .3); pointer-events: none; }
.mm-hero:hover { text-decoration: none; background: var(--navy-deep); }
.mm-hero-k { font: 500 .6875rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--on-navy-2); }
.mm-hero-t { font: 500 2.25rem/.95 var(--display); text-transform: uppercase; color: var(--cream); }
.mm-hero-t em { display: block; font: 400 1.15em/1 var(--script); text-transform: none; margin: -.02em 0 0 .7em; color: #f3d98a; }
.mm-hero-p { font-size: .875rem; line-height: 1.5; color: var(--on-navy-2); }
.mm-hero-cta { margin-top: auto; padding-top: 12px; font: 500 .875rem var(--sans); color: var(--cream); }
.mm-hero-cta i { font-style: normal; display: inline-block; transition: transform .25s var(--ease); }
.mm-hero:hover .mm-hero-cta i { transform: translateX(6px); }
.mm-hero-ring { position: absolute; right: -36px; top: -36px; width: 150px; height: 150px; opacity: .85; }
.mm-hero-ring .stars { width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.mm-hero-ring .star { fill: #ffcc00; }
.mm-hero:hover .mm-hero-ring .stars { transform: rotate(30deg); }
.mm-hero-bars { position: absolute; right: 24px; top: 28px; width: 120px; height: 56px; display: flex; align-items: flex-end; gap: 4px; border-bottom: 1px solid rgba(239, 234, 224, .3); }
.mm-hero-bars i { flex: 1; height: var(--h); background: rgba(239, 234, 224, .35); transform-origin: bottom; }
.mm-hero-bars i.is-peak { background: #ffcc00; }
.mega:not([hidden]) .mm-hero-bars i { animation: bar-up .6s var(--ease) both; animation-delay: calc(.25s + var(--i) * 40ms); }

.mm-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line-2); }
.mm-list a, .mm-compact a, .mm-ctl a { position: relative; isolation: isolate; color: var(--ink); text-decoration: none; }
.mm-list a { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: baseline; padding: 14px 12px 14px 0; border-top: 1px solid var(--line-2); }
.mm-list b { display: block; font: 500 1.125rem/1.25 var(--display); }
.mm-list small { display: block; margin-top: 2px; font-size: .8125rem; color: var(--muted); }
.mm-list-tight a { padding-block: 10px; }
.mm-n { font: 500 .75rem var(--mono); color: var(--muted); padding-left: 4px; }
.mm-compact { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; border-bottom: 1px solid var(--line-2); }
.mm-compact-1 { grid-template-columns: 1fr; }
.mm-compact a { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 11px 8px 11px 4px; border-top: 1px solid var(--line-2); font-size: .9375rem; }
.mm-compact a span { font: 500 .6875rem var(--sans); letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.mm-ctl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; border-bottom: 1px solid var(--line-2); }
.mm-ctl a { display: grid; grid-template-columns: 32px 1fr; gap: 8px; align-items: baseline; padding: 9px 8px 9px 0; margin: 0; border-top: 1px solid var(--line-2); border-radius: 0; font-size: .875rem; }
.mm-ctl a .mono { display: none; }
/* Survol : la ligne se remplit de marine de gauche à droite */
.mm-list a::before, .mm-compact a::before, .mm-ctl a::before {
  content: ""; position: absolute; inset: -1px 0 0 0; z-index: -1; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.mm-list a:hover::before, .mm-compact a:hover::before, .mm-ctl a:hover::before,
.mm-list a:focus-visible::before, .mm-compact a:focus-visible::before, .mm-ctl a:focus-visible::before { transform: scaleX(1); }
.mm-list a:hover, .mm-compact a:hover, .mm-ctl a:hover, .mm-list a:focus-visible, .mm-compact a:focus-visible, .mm-ctl a:focus-visible { color: var(--cream); background: none; outline: none; }
.mm-list a:hover :is(small, .mm-n), .mm-compact a:hover span, .mm-ctl a:hover .mm-n { color: var(--on-navy-2); }
.mm-list a, .mm-compact a, .mm-ctl a { transition: color .25s var(--ease); }
.mm-all { display: inline-flex; gap: 8px; margin-top: 16px; font: 500 .875rem var(--sans); color: var(--navy); }
.mm-all i { font-style: normal; transition: transform .25s var(--ease); }
.mm-all:hover i { transform: translateX(4px); }
/* Apparition échelonnée des lignes */
.mega:not([hidden]) :is(.mm-list, .mm-compact, .mm-ctl) > li { animation: mm-row .45s var(--ease) both; }
@keyframes mm-row { from { opacity: 0; transform: translateY(8px); } }
:is(.mm-list, .mm-compact, .mm-ctl) > li:nth-child(1) { animation-delay: .12s; } :is(.mm-list, .mm-compact, .mm-ctl) > li:nth-child(2) { animation-delay: .15s; }
:is(.mm-list, .mm-compact, .mm-ctl) > li:nth-child(3) { animation-delay: .18s; } :is(.mm-list, .mm-compact, .mm-ctl) > li:nth-child(4) { animation-delay: .21s; }
:is(.mm-list, .mm-compact, .mm-ctl) > li:nth-child(5) { animation-delay: .24s; } :is(.mm-list, .mm-compact, .mm-ctl) > li:nth-child(6) { animation-delay: .27s; }
:is(.mm-list, .mm-compact, .mm-ctl) > li:nth-child(7) { animation-delay: .3s; } :is(.mm-list, .mm-compact, .mm-ctl) > li:nth-child(8) { animation-delay: .33s; }
:is(.mm-list, .mm-compact, .mm-ctl) > li:nth-child(n+9) { animation-delay: .36s; }
.mega:not([hidden]) .mm-hero { animation: mm-row .5s .05s var(--ease) both; }
.nav-drop-btn, .nav-link { font-weight: 500; letter-spacing: .01em; }
.nav-drop-btn[aria-expanded="true"] { background: var(--navy); color: var(--cream); }
body.has-mega::after { background: rgba(22, 30, 69, .35); }
@media (max-width: 1180px) { .mega-in { grid-template-columns: 300px minmax(0, 1fr); } .mega-in > .mm-col:last-child { display: none; } }

/* --- Titres qui s'écrivent : mots qui montent, mot calligraphié tracé à la main */
.wsplit .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em .02em .1em; margin: -.06em -.02em -.1em; }
.wsplit .wi { display: inline-block; transform: translateY(108%); transition: transform 1s var(--ease); transition-delay: calc(var(--w) * 70ms); }
.wsplit.is-in .wi { transform: none; }
.wsplit em { clip-path: inset(-30% 100% -30% -5%); transition: clip-path 1.6s cubic-bezier(.55, .1, .3, 1); transition-delay: var(--wd, .4s); }
.wsplit.is-in em { clip-path: inset(-30% -10% -30% -5%); }

/* --- Survols éditoriaux sur les listes de la page --------------------------- */
.ctl-row, .gf-list a, .sector-rows a { position: relative; isolation: isolate; }
.ctl-row::before, .gf-list a::before, .sector-rows a::before { content: ""; position: absolute; inset: 0 -16px; z-index: -1; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.ctl-row:hover::before, .gf-list a:hover::before, .sector-rows a:hover::before { transform: scaleX(1); }
.ctl-row:hover :is(.ctl-row-n, .ctl-row-body b, .ctl-row-body span, .ctl-row-go) { color: var(--cream); }
.ctl-row:hover .ctl-row-body span { color: var(--on-navy-2); }
.section-alt .gf-list a::before, .section-alt .sector-rows a::before { background: var(--cream); }
.section-alt .gf-list a:hover :is(b, svg, .gf-meta), .section-alt .sector-rows a:hover :is(b, span, svg) { color: var(--navy); }
.sector-rows a:hover :is(b, span, svg) { color: var(--cream); }
.ctl-row-body b, .ctl-row-n, .ctl-row-go, .ctl-row-body span { transition: color .3s var(--ease); }
/* Liens fléchés : soulignement qui balaie */
.link-arrow { background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; padding-bottom: 2px; transition: background-size .35s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  .wsplit .wi { transform: none; } .wsplit em { clip-path: none; }
  .mega:not([hidden]) { animation: none; }
}
/* Logo : le O est le drapeau européen, en disque */
.lw-o { width: 1.06em; height: 1.06em; margin: 0 .12em 0 .08em; transform: translateY(-.01em); }
.lw-o-flag { fill: #003399; }
.lw-o polygon { fill: #ffcc00; }
.site-footer .lw-o-flag { fill: #003399; stroke: var(--cream); stroke-width: 4; }
/* Encarts du méga-menu : décor dans les coins, jamais sur le titre */
.mm-hero { padding: 32px 28px 28px; }
.mm-hero-ring { right: -44px; top: auto; bottom: -44px; width: 160px; height: 160px; opacity: .55; }
.mm-hero-bars { right: 24px; top: auto; bottom: 64px; width: 96px; height: 44px; opacity: .9; }
.mm-hero-t { position: relative; z-index: 1; }

/* ==========================================================================
   Titres plus lisibles : DM Serif Display remplace Bodoni (déliés trop fins en grand)
   ========================================================================== */
@font-face { font-family: "DM Serif Display"; src: url("/fonts/dm-serif-display.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
:root { --display: "DM Serif Display", "Bodoni Moda", Georgia, serif; --serif: var(--display); }
h1, h2, h3, .h-section, .page-head h1, .final h2, .gf-main h3, .mm-hero-t, .mm-list b, .logo-word { font-weight: 400; }
h1, .h-section, .page-head h1, .final h2, .gf-main h3, .mm-hero-t { letter-spacing: .01em; line-height: 1.02; }
.stats dd, .pv-score b, .ring-val, .tile-value, .theme-amount, .fiche-stats b, .paper-kpis b, .constellation-center b, .diag-center b, .run-center b,
.ms-amount, .latest-amount, .reg-latest li em, .mmf-ring b, .tl-year, .ct-item b, .figure b, .sh-kpis b, .auth-card b, .hero-stats b {
  font-family: var(--display); font-style: normal; font-weight: 400; letter-spacing: 0;
}
.logo-word { letter-spacing: .12em; }

/* ==========================================================================
   Procès-verbal v2 : trait de lecture, constat scellé, signature
   ========================================================================== */
.pv-stamp { display: none; }
.pv-scanbox { position: relative; }
.pv-lines { position: relative; z-index: 1; }
.pv-scan { position: absolute; z-index: 0; left: -12px; right: -12px; top: 0; height: 28px; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, rgba(232, 184, 0, 0), rgba(232, 184, 0, .14) 18%, rgba(232, 184, 0, .14) 82%, rgba(232, 184, 0, 0));
  border-bottom: 2px solid #e8b800; transition: transform .3s cubic-bezier(.4, 0, .2, 1), opacity .3s var(--ease); }
.pv.is-scanning .pv-scan { opacity: 1; }
.pv-line.is-cur { background: none !important; }
.pv.is-armed .pv-line { opacity: .38; }
.pv.is-armed .pv-line .pv-st { opacity: 0; transform: translateX(10px); }
.pv-line .pv-st { transition: opacity .3s var(--ease), transform .4s var(--ease); }
.pv.is-armed .pv-line.is-on { opacity: 1; }
.pv.is-armed .pv-line.is-on .pv-st { opacity: 1; transform: none; }
.pv-line .pv-n { transition: color .3s var(--ease); }
.pv-line.is-on .pv-n { color: var(--navy); }
.pv-foot { align-items: center; min-height: 40px; }
.pv-sealed { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.pv-sealed svg { width: 16px; height: 16px; color: var(--ok); stroke-width: 2.2; stroke-dasharray: 24; stroke-dashoffset: 0; }
.pv-verdict { font-size: .8125rem; color: var(--ink-2); }
.pv-verdict b { font: 400 1.25rem var(--display); color: var(--ko); margin-right: 4px; }
.pv.is-armed :is(.pv-sealed, .pv-verdict) { opacity: 0; transform: translateY(6px); }
.pv :is(.pv-sealed, .pv-verdict) { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.pv.is-armed.is-sealed :is(.pv-sealed, .pv-verdict) { opacity: 1; transform: none; }
.pv.is-armed .pv-sealed svg { stroke-dashoffset: 24; transition: stroke-dashoffset .5s .15s var(--ease); }
.pv.is-armed.is-sealed .pv-sealed svg { stroke-dashoffset: 0; }
.pv.is-armed.is-sealed .pv-verdict { transition-delay: .2s; }
/* Plainte sous la pile : sort, puis la signature se trace */
.pv-dossier { align-items: center; padding: 0 20px 18px; }
.pv-dossier { align-items: flex-end; }
.pv-sig { width: 120px; height: 38px; margin-left: auto; flex: none; }
.pv-sig path { fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 420; stroke-dashoffset: 0; }
.pv.is-armed .pv-sig path { stroke-dashoffset: 420; }
.pv.is-armed.is-stamped .pv-sig path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s .55s cubic-bezier(.5, 0, .2, 1); }
.pv-dossier-go { margin-left: 16px; }
/* Légende : dans la partie marine, alignée à droite */
.pv-cap { justify-content: flex-end; gap: 12px; margin-top: 20px; font-size: .8125rem; color: var(--on-navy-2); }
.pv-cap a { color: var(--on-navy); }
.pv-cap-note { padding-left: 12px; border-left: 1px solid rgba(239, 234, 224, .25); color: var(--on-navy-2); }
.pv-replay { margin-left: 0; color: var(--on-navy); }
@media (max-width: 680px) {
  .pv-sig { width: 84px; }
  .pv-dossier b { font-size: .9375rem; }
  .pv-foot { flex-direction: column; align-items: flex-start; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { .pv-scan { display: none; } }
.pv-dossier b { white-space: nowrap; }
.pv-sig { width: 92px; height: 32px; }
.pv-dossier { gap: 12px; }
@media (max-width: 680px) { .pv-sig { display: none; } .pv-dossier-go { margin-left: auto; } }

/* --- Frise « Repères » de l'accueil : lisible sur fond marine ------------ */
.chrono-teaser { list-style: none; margin: 0; padding: 0; }
.ct-item { padding-right: 24px; }
.ct-item b { font: 400 2.5rem/1 var(--display); letter-spacing: 0; margin: 0 0 12px; }
.ct-item span { font: 400 1.1875rem/1.25 var(--display); }
.ct-item small { font-size: .875rem; line-height: 1.5; margin-top: 8px; }
.section-alt .chrono-teaser::before { background: rgba(239, 234, 224, .3); top: 6px; }
.section-alt .ct-item::before { background: var(--navy); border-color: var(--cream); }
.section-alt .ct-item:last-child::before { background: #ffcc00; border-color: #ffcc00; }
.section-alt .ct-item b { color: #ffcc00; }
.section-alt .ct-item span { color: var(--cream); }
.section-alt .ct-item small { color: var(--on-navy-2); }

/* Le € des polices de titrage se lit « C » : partout dans les titres, il est pris dans Work Sans */
:root { --display: "Euro Sans", "DM Serif Display", "Bodoni Moda", Georgia, serif; }
/* Héros : deux lignes, « ANALYSEZ UN SITE » puis « Conforme rédige la plainte » */
.hero2 h1 { font-size: clamp(2.25rem, 4.1vw, 3.625rem); line-height: 1; }
.hero2 .h1-d, .hero2 h1 em { white-space: nowrap; }
.hero2 h1 em { font-size: .8em; margin: .04em 0 0 .35em; }
@media (max-width: 680px) { .hero2 .h1-d, .hero2 h1 em { white-space: normal; } }
/* Méga-menu : « Signaler un site qui… » se complète ligne par ligne */
.mm-phrases { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line-2); }
.mm-phrases a { position: relative; isolation: isolate; display: flex; align-items: baseline; gap: 6px; padding: 11px 12px 11px 4px; border-top: 1px solid var(--line-2);
  font: 400 1.0625rem/1.3 var(--display); color: var(--ink); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .25s var(--ease); }
.mm-phrases .mm-ell { color: var(--muted); transition: color .25s var(--ease); }
.mm-phrases a i { margin-left: auto; padding-left: 12px; font-style: normal; font-family: var(--sans); font-size: .875rem; opacity: 0; transform: translateX(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.mm-phrases a::before { content: ""; position: absolute; inset: -1px 0 0 0; z-index: -1; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.mm-phrases a:hover, .mm-phrases a:focus-visible { color: var(--cream); outline: none; }
.mm-phrases a:hover::before, .mm-phrases a:focus-visible::before { transform: scaleX(1); }
.mm-phrases a:hover .mm-ell { color: #ffcc00; }
.mm-phrases a:hover i, .mm-phrases a:focus-visible i { opacity: 1; transform: none; }
.mega:not([hidden]) .mm-phrases > li { animation: mm-row .45s var(--ease) both; }
.mm-phrases > li:nth-child(1) { animation-delay: .14s; } .mm-phrases > li:nth-child(2) { animation-delay: .17s; } .mm-phrases > li:nth-child(3) { animation-delay: .2s; }
.mm-phrases > li:nth-child(4) { animation-delay: .23s; } .mm-phrases > li:nth-child(5) { animation-delay: .26s; } .mm-phrases > li:nth-child(6) { animation-delay: .29s; } .mm-phrases > li:nth-child(7) { animation-delay: .32s; }

/* ==========================================================================
   Visuel du héros v3 : couverture du dossier devant un grand cercle d'étoiles
   ========================================================================== */
.hero2-visual::before { content: none; }
.hv { position: relative; margin: 0; padding: 40px 0 0; min-height: 560px; }
.hv-ring { position: absolute; z-index: 0; top: -40px; right: -120px; width: 620px; aspect-ratio: 1; pointer-events: none; }
.hv-ring .stars { width: 100%; height: 100%; overflow: visible; }
.hv-stars .star { fill: #ffcc00; }
.hv-stars .star polygon { transform-box: fill-box; transform-origin: center; transition: transform .5s var(--ease), opacity .4s var(--ease); }
.hv.is-armed .hv-stars .star:not(.is-on) polygon { opacity: .12; transform: scale(.6); }
.hv-stars .star.is-on polygon { animation: star-in .6s var(--ease) both; }

.hv-card { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; width: min(100%, 460px); margin-left: 8%; padding: 40px 40px 32px;
  background: var(--cream-2); color: var(--ink); text-decoration: none; box-shadow: 0 40px 80px -30px rgba(5, 8, 30, .55); transform: rotate(-1.5deg); transition: transform .5s var(--ease); }
.hv-card:hover { transform: rotate(0); text-decoration: none; }
.hv-frame { position: absolute; inset: 12px; border: 1px solid rgba(31, 42, 92, .45); pointer-events: none;
  -webkit-mask: radial-gradient(circle 14px at 0 0, transparent 13px, #000 14px) top left, radial-gradient(circle 14px at 100% 0, transparent 13px, #000 14px) top right,
    radial-gradient(circle 14px at 0 100%, transparent 13px, #000 14px) bottom left, radial-gradient(circle 14px at 100% 100%, transparent 13px, #000 14px) bottom right;
  -webkit-mask-size: 51% 51%; -webkit-mask-repeat: no-repeat;
  mask: radial-gradient(circle 14px at 0 0, transparent 13px, #000 14px) top left, radial-gradient(circle 14px at 100% 0, transparent 13px, #000 14px) top right,
    radial-gradient(circle 14px at 0 100%, transparent 13px, #000 14px) bottom left, radial-gradient(circle 14px at 100% 100%, transparent 13px, #000 14px) bottom right;
  mask-size: 51% 51%; mask-repeat: no-repeat; }
.hv-top { display: flex; align-items: center; gap: 12px; font-size: .75rem; color: var(--muted); }
.hv-top .mono:last-child { margin-left: auto; }
.hv-flag { width: 40px; flex: none; }
.hv-k { font: 500 .6875rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.hv-title { font: 400 clamp(3rem, 5vw, 4.5rem)/.9 var(--display); text-transform: uppercase; color: var(--navy); letter-spacing: .01em; }
.hv-title em { display: block; font: 400 .5em/1.1 var(--script); text-transform: none; letter-spacing: 0; margin: .1em 0 0 1.2em; color: var(--navy); }
.hv-site { font-size: .875rem; color: var(--ink-2); padding-bottom: 16px; border-bottom: 1px solid var(--line-2); }
.hv-site b { font-weight: 600; color: var(--ink); }
.hv-checks { display: flex; align-items: center; gap: 16px; }
.hv-checks-l { font: 500 .6875rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.hv-cells { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; flex: 1; }
.hv-cells i { height: 18px; background: var(--cream-3); transition: background-color .3s var(--ease), transform .3s var(--ease); }
.hv-cells i.is-ok { background: var(--navy); }
.hv-cells i.is-ko { background: var(--ko); }
.hv-cells i.is-na { background: repeating-linear-gradient(45deg, var(--cream-3) 0 3px, #cfc7b6 3px 5px); }
.hv.is-armed .hv-cells i:not(.is-on) { background: var(--cream-3); transform: scaleY(.4); }
.hv-figs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.hv-fig { display: grid; gap: 4px; padding: 16px 12px 14px 0; }
.hv-fig + .hv-fig { padding-left: 16px; border-left: 1px solid var(--line); }
.hv-fig b { font: 400 2.75rem/1 var(--display); color: var(--navy); font-variant-numeric: tabular-nums; }
.hv-fig.is-ko b { color: var(--ko); }
.hv-fig small { font-size: .75rem; line-height: 1.3; color: var(--ink-2); }
.hv-sign { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 16px; padding-top: 4px; }
.hv-sign-l { font-size: .8125rem; color: var(--ink-2); }
.hv-sig { grid-row: 1 / 3; grid-column: 2; width: 150px; height: 46px; }
.hv-sig path { fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 460; stroke-dashoffset: 0; }
.hv.is-armed .hv-sig path { stroke-dashoffset: 460; }
.hv.is-armed.is-signed .hv-sig path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s cubic-bezier(.5, 0, .2, 1); }
.hv-sign-line { font-size: .6875rem; color: var(--muted); border-top: 1px dotted var(--line-2); padding-top: 4px; grid-column: 2; }

.hv-ticket { position: absolute; z-index: 2; right: 0; bottom: 64px; display: grid; gap: 2px; padding: 16px 24px; background: var(--navy); color: var(--cream); border: 1px solid rgba(239, 234, 224, .35); outline: 1px solid var(--navy); outline-offset: 4px; transform: rotate(3deg); }
.hv-ticket small { font: 500 .6875rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #ffcc00; }
.hv-ticket b { font: 400 1.25rem var(--display); }
.hv.is-armed .hv-ticket { opacity: 0; transform: rotate(3deg) translateY(16px); }
.hv.is-armed.is-ready .hv-ticket { opacity: 1; transform: rotate(3deg); transition: opacity .5s var(--ease), transform .6s var(--ease); }

.hv-cap { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px 16px; margin-top: 40px; font-size: .8125rem; color: var(--on-navy-2); }
.hv-cap a { color: var(--on-navy); }
.hv-replay { background: none; border: 0; padding: 0; font: 500 .8125rem var(--sans); color: var(--on-navy); cursor: pointer; }
.hv-replay:hover { text-decoration: underline; }

@media (max-width: 1080px) {
  .hv { min-height: 0; padding-top: 24px; }
  .hv-ring { width: 520px; top: -60px; right: -180px; }
  .hv-card { margin-left: 0; }
  .hv-ticket { right: 8px; bottom: 56px; }
}
@media (max-width: 680px) {
  .hv-card { padding: 32px 24px 24px; transform: none; }
  .hv-ring { width: 420px; right: -200px; }
  .hv-fig b { font-size: 2.25rem; }
  .hv-sig { width: 110px; }
  .hv-ticket { position: relative; right: auto; bottom: auto; margin: 16px 0 0 auto; width: max-content; }
  .hv-checks { flex-direction: column; align-items: stretch; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .hv-card { transform: none; } }

/* --- 12 contrôles : grand disque du drapeau + fiche du contrôle survolé --- */
.mini-ring, .split-aside .link-arrow { display: none; }
.ctl-showcase { margin-top: 32px; }
.cs-disc { position: relative; width: min(100%, 340px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 42%, #0a3fae 0%, #003399 55%, #002a80 100%); box-shadow: 0 30px 60px -30px rgba(0, 33, 95, .55); }
.cs-disc .stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.cs-disc .star { fill: #ffcc00; }
.cs-disc .star polygon { transform-box: fill-box; transform-origin: center; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.ctl-showcase.has-hot .cs-disc .star:not(.is-hot) polygon { opacity: .3; }
.cs-disc .star.is-hot polygon { transform: scale(1.4); }
.cs-center { position: absolute; inset: 28%; display: grid; place-content: center; text-align: center; color: #fff; }
.cs-center b { font: 400 3.25rem/1 var(--display); }
.cs-center span { font: 400 1rem/1.2 var(--display); margin-top: 6px; }
.cs-card { margin-top: 24px; padding: 20px 0 0; border-top: 1px solid var(--navy); min-height: 168px; }
.cs-card dl { margin: 0; display: grid; gap: 12px; }
.cs-card dt { font: 500 .6875rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cs-card dd { margin: 2px 0 0; font-size: .9375rem; color: var(--ink); }
.cs-card .cs-q { font: 400 1.25rem/1.3 var(--display); }
.cs-card .link-arrow { display: inline-flex; margin-top: 16px; }
@media (max-width: 1080px) { .ctl-showcase { display: none; } .split-aside .link-arrow { display: inline-flex; } }
/* Étoiles : dorée = conforme, éteinte (simple contour) = point non conforme, à peine visible = sans objet. Plus de rouge. */
.stars .star.is-ko { fill: transparent; stroke: rgba(31, 42, 92, .45); stroke-width: 2.5; }
.stars .star.is-na { fill: rgba(31, 42, 92, .12); stroke: none; }
.cs-disc .star.is-ko, .hv-stars .star.is-ko, .section-alt .stars .star.is-ko { stroke: rgba(239, 234, 224, .55); }
.diag-dial .star.is-ko polygon, .run-dial .star.is-ko polygon { fill: transparent; }
/* Grand cercle d'étoiles : centré sur la couverture, ses étoiles l'entourent et débordent sur le crème */
.hero2 { overflow: hidden; }
.hv-ring { width: 860px; top: -110px; left: calc(8% - 200px); right: auto; }
@media (max-width: 1080px) { .hv-ring { width: 680px; top: -100px; left: -110px; } }
@media (max-width: 680px) { .hv-ring { width: 520px; top: -60px; left: -100px; } }

/* Séparation entre deux sections crème consécutives : filet marine et étoile dorée */
.section:not(.section-alt):not(.hero2) + .section:not(.section-alt) { position: relative; padding-top: clamp(64px, 8vw, 96px); }
.section:not(.section-alt):not(.hero2) + .section:not(.section-alt)::before {
  content: ""; position: absolute; top: 0; left: max(var(--gutter), calc((100% - 1200px) / 2 + var(--gutter))); right: max(var(--gutter), calc((100% - 1200px) / 2 + var(--gutter)));
  height: 1px; background: linear-gradient(90deg, var(--navy) 0 calc(50% - 28px), transparent calc(50% - 28px) calc(50% + 28px), var(--navy) calc(50% + 28px));
}
.section:not(.section-alt):not(.hero2) + .section:not(.section-alt)::after {
  content: "★"; position: absolute; top: 0; left: 50%; translate: -50% -52%; font-size: 1.125rem; line-height: 1; color: #e8b800;
}
.dossier-band { padding-bottom: clamp(56px, 7vw, 88px); }
/* Méga-menu calé sur la grille de l’en-tête : encart à l’aplomb du logo, dernière colonne jusqu’au bouton */
.mega-in { max-width: 1200px; padding: 0 var(--gutter); grid-template-columns: 320px minmax(0, 1fr) minmax(0, 1.15fr); }
.mega-in > .mm-col:last-child { padding-right: 0; }
.mm-hero { margin-left: 0; }
.mm-phrases, .mm-list, .mm-ctl, .mm-compact { width: 100%; }
/* --- 12 contrôles : panneau éditorial (remplace le disque bleu) --------- */
.cs-disc, .cs-card { display: none; }
.ctl-showcase { margin-top: 36px; }
.cs-panel { position: relative; padding: 36px 36px 32px; background: var(--navy); color: var(--cream); min-height: 440px; display: flex; flex-direction: column; }
.cs-frame { position: absolute; inset: 10px; border: 1px solid rgba(239, 234, 224, .3); pointer-events: none;
  -webkit-mask: radial-gradient(circle 14px at 0 0, transparent 13px, #000 14px) top left, radial-gradient(circle 14px at 100% 0, transparent 13px, #000 14px) top right,
    radial-gradient(circle 14px at 0 100%, transparent 13px, #000 14px) bottom left, radial-gradient(circle 14px at 100% 100%, transparent 13px, #000 14px) bottom right;
  -webkit-mask-size: 51% 51%; -webkit-mask-repeat: no-repeat;
  mask: radial-gradient(circle 14px at 0 0, transparent 13px, #000 14px) top left, radial-gradient(circle 14px at 100% 0, transparent 13px, #000 14px) top right,
    radial-gradient(circle 14px at 0 100%, transparent 13px, #000 14px) bottom left, radial-gradient(circle 14px at 100% 100%, transparent 13px, #000 14px) bottom right;
  mask-size: 51% 51%; mask-repeat: no-repeat; }
.cs-k { font: 500 .6875rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--on-navy-2); }
.cs-big { display: grid; margin-top: 8px; min-height: 152px; }
.cs-big b { font: 400 6rem/1 var(--display); color: var(--cream); font-variant-numeric: tabular-nums; }
.cs-script { font: 400 2rem/1.05 var(--script); color: #f3d98a; margin: -6px 0 0 .8em; }
.cs-rule { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; padding: 16px 0; border-block: 1px solid rgba(239, 234, 224, .25); }
.cs-rule .star { width: 100%; height: 16px; fill: rgba(239, 234, 224, .28); transition: fill .25s var(--ease), transform .3s var(--ease); }
.cs-rule .star.is-hot { fill: #ffcc00; transform: scale(1.35); }
.ctl-showcase:not(.has-hot) .cs-rule .star { fill: #ffcc00; }
.cs-dl { margin: 20px 0 0; display: grid; gap: 14px; }
.cs-dl dt { font: 500 .6875rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy-2); }
.cs-dl dd { margin: 4px 0 0; font-size: .875rem; line-height: 1.5; color: var(--cream); }
.cs-dl .cs-q { font: 400 1.25rem/1.3 var(--display); min-height: 2.6em; }

/* ==========================================================================
   Pleine largeur : grille élargie à 1 560 px, marges qui grandissent avec l'écran
   ========================================================================== */
:root { --wrap: 1560px; --gutter: clamp(20px, 4.5vw, 72px); }
.wrap { max-width: var(--wrap); }
.mega-in { max-width: var(--wrap); grid-template-columns: 360px minmax(0, 1fr) minmax(0, 1.2fr); }
.section:not(.section-alt):not(.hero2) + .section:not(.section-alt)::before {
  left: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); right: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
}
/* Mises en page élargies : colonnes plus généreuses sur grand écran */
.hero2-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hv-card { width: min(100%, 500px); margin-left: 12%; }
.hv-ring { left: calc(12% - 180px); }
.split { grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr); }
.head-2col { gap: 24px clamp(64px, 8vw, 160px); }
.head-2col .body-lg { max-width: 38rem; }
.reg-grid { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); }
@media (min-width: 1500px) {
  .hero2 h1 { font-size: 4rem; }
  .ctl-grid, .guide-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .problem-grid, .letter-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .country-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* --- Logo A : sceau étoilé + Conforme.eu -------------------------------------- */
.logo-word, .seal { display: none !important; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.seal2 { width: 44px; height: 44px; flex: none; }
.seal2-bg { fill: var(--navy); }
.seal2-stars polygon { fill: #ffcc00; transform-box: fill-box; transform-origin: center; }
.seal2-c { font-family: var(--display); font-size: 88px; fill: var(--cream); }
.logo-name { font: 400 1.75rem/1 var(--display); color: var(--navy); letter-spacing: 0; }
.logo-eu { font: 600 .95rem var(--sans); color: #3a4ea0; margin-left: 1px; }
.site-footer .seal2-bg { fill: var(--cream); }
.site-footer .seal2-c { fill: var(--navy); }
.site-footer .seal2-stars polygon { fill: #e8b800; }
.site-footer .logo-name { color: var(--cream); }
.site-footer .logo-eu { color: #ffcc00; }
.paper-logo .seal2 { width: 32px; height: 32px; }
.paper-logo .logo-name { font-size: 1.25rem; }
@media (max-width: 560px) { .seal2 { width: 38px; height: 38px; } .logo-name { font-size: 1.5rem; } }

/* --- Illustrations au trait ----------------------------------------------------- */
.pic { width: 64px; height: 64px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; color: var(--navy); overflow: visible; }
.pic .acc { fill: #e8b800; stroke: none; }
.pic .acc-s { stroke: #e8b800; stroke-width: 2.4; }
.pic-lg { width: 88px; height: 88px; }
.pic-xl { width: 120px; height: 120px; stroke-width: 1.4; }

/* --- Méga-menu en grandes cartes visuelles --------------------------------------- */
.mm2 { max-width: var(--wrap); margin: 0 auto; padding: 28px var(--gutter) 24px; }
.mm2-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mmc { display: flex; flex-direction: column; background: var(--cream-2); border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), border-color .2s var(--ease), box-shadow .3s var(--ease); }
.mmc:hover, .mmc:focus-visible { transform: translateY(-3px); border-color: var(--navy); box-shadow: 0 18px 36px -20px rgba(10, 14, 40, .45); text-decoration: none; outline: none; }
.mmc-art { position: relative; display: grid; place-items: center; height: 136px; background: var(--cream-3); border-bottom: 1px solid var(--line-2); transition: background-color .3s var(--ease); overflow: hidden; }
.mmc-art .pic { transition: color .3s var(--ease), transform .45s var(--ease); }
.mmc:hover .mmc-art, .mmc:focus-visible .mmc-art { background: var(--navy); }
.mmc:hover .mmc-art .pic, .mmc:focus-visible .mmc-art .pic { color: var(--cream); transform: scale(1.08); }
.mmc-tag { position: absolute; top: 10px; left: 10px; padding: 3px 8px; background: var(--navy); color: var(--cream); font: 500 .6875rem var(--sans); letter-spacing: .06em; }
.mmc:hover .mmc-tag { background: #ffcc00; color: var(--navy); }
.mmc-body { display: grid; gap: 4px; padding: 16px 18px 18px; }
.mmc-body b { font: 400 1.25rem/1.2 var(--display); }
.mmc-body small { font-size: .8125rem; line-height: 1.45; color: var(--muted); }
.mm2-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.mm2-row-l { font: 500 .6875rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 8px; }
.mm2-row-l2 { margin-left: 16px; }
.mm2-chip { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .8125rem; color: var(--ink); text-decoration: none; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.mm2-chip .mono { font-size: .6875rem; color: var(--muted); }
.mm2-chip:hover { background: var(--navy); border-color: var(--navy); color: var(--cream); text-decoration: none; }
.mm2-chip:hover .mono { color: var(--on-navy-2); }
.mm2-more { margin-left: auto; font: 500 .875rem var(--sans); color: var(--navy); }
.mega:not([hidden]) .mmc { animation: mm-row .5s var(--ease) both; }
.mega:not([hidden]) .mmc:nth-child(2) { animation-delay: .06s; } .mega:not([hidden]) .mmc:nth-child(3) { animation-delay: .12s; } .mega:not([hidden]) .mmc:nth-child(4) { animation-delay: .18s; }
.mega:not([hidden]) .mm2-row { animation: mm-row .5s .24s var(--ease) both; }
@media (max-width: 1180px) { .mm2-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mmc-art { height: 96px; } }

/* ==========================================================================
   Sections illustrées et variées
   ========================================================================== */
/* 12 contrôles : grille de cartes */
.ctl-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ctlc { display: flex; flex-direction: column; background: var(--cream-2); border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), border-color .2s var(--ease), box-shadow .3s var(--ease); }
.ctlc:hover { transform: translateY(-4px); border-color: var(--navy); box-shadow: 0 20px 40px -24px rgba(10, 14, 40, .5); text-decoration: none; }
.ctlc-art { position: relative; display: grid; place-items: center; height: 150px; background: var(--cream-3); border-bottom: 1px solid var(--line-2); transition: background-color .3s var(--ease); }
.ctlc-art .pic { transition: color .3s var(--ease), transform .45s var(--ease); }
.ctlc:hover .ctlc-art { background: var(--navy); }
.ctlc:hover .ctlc-art .pic { color: var(--cream); transform: scale(1.08) rotate(-2deg); }
.ctlc-n { position: absolute; top: 12px; left: 14px; font-size: .75rem; color: var(--muted); }
.ctlc-auth { position: absolute; top: 10px; right: 12px; font: 500 .6875rem var(--sans); letter-spacing: .08em; padding: 3px 8px; border: 1px solid var(--line-2); color: var(--ink-2); }
.ctlc:hover .ctlc-n, .ctlc:hover .ctlc-auth { color: var(--on-navy-2); border-color: rgba(239, 234, 224, .3); }
.ctlc-body { display: grid; gap: 6px; padding: 18px 20px 22px; }
.ctlc-body b { font: 400 1.3125rem/1.2 var(--display); }
.ctlc-body small { font-size: .875rem; line-height: 1.45; color: var(--ink-2); }
/* Guides : couvertures de livre */
.covers { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.cover { position: relative; display: flex; flex-direction: column; aspect-ratio: 3 / 4.3; padding: 18px; background: var(--cream); color: var(--navy); text-decoration: none; box-shadow: 6px 6px 0 rgba(0, 0, 0, .18); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.cover::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(31, 42, 92, .3); pointer-events: none; }
.cover::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--navy); opacity: .9; }
.cover:nth-child(even)::after { background: #e8b800; }
.cover:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 10px 14px 0 rgba(0, 0, 0, .22); text-decoration: none; }
.cover-top { display: flex; justify-content: space-between; font: 500 .6875rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-left: 6px; }
.cover-art { flex: 1; display: grid; place-items: center; }
.cover-art .pic-xl { width: 96px; height: 96px; transition: transform .45s var(--ease); }
.cover:hover .cover-art .pic-xl { transform: scale(1.08); }
.cover-title { font: 400 1.25rem/1.15 var(--display); text-transform: uppercase; padding-left: 6px; }
.cover-foot { margin-top: 8px; padding-left: 6px; font-size: .75rem; color: var(--muted); }
/* Secteurs : grandes illustrations */
.sectors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--navy); border-bottom: 1px solid var(--navy); }
.sector { display: flex; flex-direction: column; gap: 8px; padding: 28px 24px 24px; color: var(--ink); text-decoration: none; position: relative; isolation: isolate; }
.sector + .sector { border-left: 1px solid var(--line-2); }
.sector::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.sector:hover::before { transform: none; }
.sector-art { height: 130px; display: grid; place-items: start; }
.sector-art .pic-xl { transition: color .3s var(--ease); }
.sector b { font: 400 1.5rem/1.15 var(--display); transition: color .3s var(--ease); }
.sector small { font-size: .875rem; line-height: 1.5; color: var(--ink-2); transition: color .3s var(--ease); }
.sector-go { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 8px; font: 500 .875rem var(--sans); color: var(--navy); transition: color .3s var(--ease); }
.sector-go svg { width: 16px; height: 16px; }
.sector:hover { text-decoration: none; }
.sector:hover :is(b, .sector-go, .sector-art .pic) { color: var(--cream); }
.sector:hover small { color: var(--on-navy-2); }
/* Engagements : grandes illustrations */
.pledges3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.pledges3 li { display: grid; gap: 10px; align-content: start; }
.pledges3 .pic-xl { width: 104px; height: 104px; margin-bottom: 12px; }
.pledges3 b { font: 400 1.5rem/1.2 var(--display); }
.pledges3 span { font-size: .9375rem; color: var(--ink-2); }
.pledges2 { display: none; }
@media (max-width: 1280px) { .covers { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sectors { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sector:nth-child(4) { border-left: 0; } .sector:nth-child(n+4) { border-top: 1px solid var(--line-2); } }
@media (max-width: 1080px) { .ctl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pledges3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .ctl-cards, .covers { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ctlc-art { height: 110px; } .ctlc-body { padding: 14px; } .ctlc-body b { font-size: 1.125rem; } .ctlc-body small { display: none; }
  .sectors { grid-template-columns: 1fr; } .sector + .sector { border-left: 0; border-top: 1px solid var(--line-2); } .sector-art { height: auto; }
  .pledges3 { grid-template-columns: 1fr; }
}
/* Couvertures : jamais plus larges que leur colonne */
.cover { min-width: 0; }
.cover-title { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 680px) { .cover { padding: 14px; } .cover-title { font-size: .9375rem; } .cover-art .pic-xl { width: 64px; height: 64px; } .cover-top { font-size: .625rem; } }
/* Frise : textes complets, alignés en haut */
.chrono-teaser { align-items: start; }
.ct-item small { display: block; }

/* ==========================================================================
   Pied de page v9 : grille commune de 12 colonnes pour toutes les rangées
   ========================================================================== */
.site-footer { position: relative; padding-top: 0; overflow: hidden; --ft-line: rgba(239, 234, 224, .2); --ft-gap: clamp(24px, 2.6vw, 40px); }
.site-footer :focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.ft-call, .ft-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ft-gap); }

/* Appel final : titre sur 6 colonnes, texte et boutons alignés sur la 2e colonne de liens */
.ft-call { align-items: end; padding-block: clamp(56px, 7vw, 96px) clamp(48px, 5.5vw, 72px); border-bottom: 1px solid var(--ft-line); }
.ft-title { grid-column: 1 / span 6; font-family: var(--display); font-weight: 400; text-transform: uppercase; color: var(--cream);
  font-size: clamp(2.25rem, 4.4vw, 4rem); line-height: .98; letter-spacing: -.005em; }
.ft-title em { display: block; font-family: var(--script); font-style: normal; text-transform: none; letter-spacing: 0;
  font-size: 1.12em; line-height: .9; margin: -.04em 0 0 .8em; color: #f0cf5a; }
.ft-call-side { grid-column: 7 / -1; }
.ft-call-side p { color: #d5d9e8; font-size: 1.0625rem; line-height: 1.6; max-width: 36em; }
.ft-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.ft-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; background: var(--cream); color: var(--navy);
  font: 500 1rem/1 var(--sans); text-decoration: none; border: 1px solid var(--cream); transition: background .25s, color .25s; }
.ft-btn:hover { background: #fff; text-decoration: none; }
.ft-btn span { transition: transform .3s var(--ease); }
.ft-btn:hover span { transform: translateX(4px); }
.ft-btn-2 { background: transparent; color: var(--cream); border-color: rgba(239, 234, 224, .45); }
.ft-btn-2:hover { background: var(--cream); color: var(--navy); }

/* Présentation sur 4 colonnes, puis 4 colonnes de liens de 2 */
.ft-grid { row-gap: 40px; padding-block: clamp(48px, 5.5vw, 72px) clamp(32px, 4vw, 56px); }
.ft-brand { grid-column: 1 / span 4; padding-right: clamp(0px, 3vw, 48px); }
.ft-col { grid-column: span 2; }
.ft-logo { display: inline-block; text-decoration: none; }
.ft-logo:hover { text-decoration: none; }
.ft-desc { margin-top: 20px; color: #d5d9e8; font-size: 1rem; line-height: 1.6; max-width: 26em; }
.ft-h { font: 500 .75rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--cream); white-space: nowrap;
  padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--ft-line); }
.ft-h .mono { color: #e8b800; letter-spacing: 0; margin-right: 6px; }
.site-footer .ft-col ul { display: grid; gap: 12px; font-size: .9375rem; }
.site-footer .ft-col a { color: var(--on-navy-2); text-decoration: none; padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: color .25s, background-size .35s var(--ease); }
.site-footer .ft-col a:hover { color: var(--cream); background-size: 100% 1px; text-decoration: none; }

/* Signature : le nom sur toute la largeur, le O devient le cercle d'étoiles */
.ft-sign { display: flex; justify-content: center; align-items: baseline; padding-inline: var(--gutter); white-space: nowrap; user-select: none;
  font-family: var(--display); font-size: clamp(3.5rem, 15.4vw, 15rem); line-height: .82; color: var(--cream); padding-bottom: .06em; }
.ft-l { display: inline-block; }
.ft-o { display: inline-block; position: relative; top: .103em; width: .86em; height: .86em; margin: 0 -.04em; }
.ft-stars { width: 100%; height: 100%; animation: spin 140s linear infinite; }
.ft-stars .star { fill: #e8b800; }
.js .ft-sign.rv { opacity: 1; transform: none; }
.js .ft-sign.rv .ft-l, .js .ft-sign.rv .ft-o { opacity: 0; translate: 0 28%; transition: opacity .9s var(--ease), translate 1.1s var(--ease); transition-delay: calc(var(--l) * 60ms); }
.js .ft-sign.rv.is-in .ft-l, .js .ft-sign.rv.is-in .ft-o { opacity: 1; translate: 0 0; }

/* Mentions et barre du bas : même grille que les liens (titre sur 4 colonnes, texte sur 8) */
.site-footer .ft-legal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ft-gap); row-gap: 0;
  border-top: 1px solid var(--ft-line); padding-block: 32px 0; font-size: .875rem; color: var(--on-navy-2); }
.ft-legal-h { grid-column: 1 / span 4; font: 400 1.25rem/1.2 var(--display); text-transform: uppercase; color: var(--cream); max-width: 16em; }
.ft-legal-p { grid-column: 5 / -1; line-height: 1.65; max-width: none; }
.ft-bottom { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center;
  margin-top: 32px; padding-block: 20px 28px; border-top: 1px solid rgba(239, 234, 224, .12); font-size: .8125rem; }
.ft-copy { grid-column: 1 / span 4; }
.ft-pledge { grid-column: 5 / span 6; display: inline-flex; align-items: center; gap: 8px; }
.ft-pledge-pic { flex: none; width: 18px; height: 18px; color: #e8b800; stroke-width: 3.2; }
.ft-top { grid-column: 11 / -1; justify-self: end; color: var(--cream); text-decoration: none; }
.ft-top:hover { text-decoration: underline; }

@media (max-width: 1100px) {
  .ft-brand { grid-column: 1 / -1; padding-right: 0; }
  .ft-col { grid-column: span 3; }
}
@media (max-width: 860px) {
  .ft-title, .ft-call-side, .ft-legal-h, .ft-legal-p { grid-column: 1 / -1; }
  .ft-legal-h { margin-bottom: 12px; }
  .ft-bottom { grid-template-columns: 1fr auto; gap: 12px 24px; }
  .ft-copy, .ft-pledge { grid-column: 1; }
  .ft-top { grid-column: 2; grid-row: 1; }
  .ft-call { row-gap: 28px; }
  .ft-col { grid-column: span 6; }
  .ft-h { white-space: normal; }
}
@media (max-width: 480px) {
  .ft-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ft-stars { animation: none; }
  .js .ft-sign.rv .ft-l, .js .ft-sign.rv .ft-o { opacity: 1; translate: none; transition: none; }
}

/* --- Engagements : charte signée, quatre articles -------------------------- */
.charter { position: relative; background: var(--cream-2); border: 1px solid var(--line); padding: clamp(28px, 4.5vw, 64px); }
.charter::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--line); pointer-events: none; }
.charter-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 64px); align-items: end;
  padding-bottom: clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line-2); }
.charter-intro .body-lg { max-width: 30em; }
.charter-seal { position: relative; isolation: isolate; width: clamp(120px, 11vw, 168px); aspect-ratio: 1; align-self: center; }
.charter-seal .logo { display: block; width: 100%; height: 100%; }
.charter-seal .seal2 { display: block; width: 100%; height: 100%; }

.charter-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.charter-list li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(28px, 3vw, 40px) clamp(16px, 2vw, 32px) 8px; }
.charter-list li:first-child { padding-left: 0; }
.charter-list li:last-child { padding-right: 0; }
.charter-list li + li { border-left: 1px solid var(--line); }
.charter-n { display: flex; align-items: baseline; gap: 8px; font: 400 3.5rem/1 var(--display); color: var(--navy); }
.charter-n small { font: 500 .6875rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.charter-pic { width: 64px; height: 64px; color: var(--navy); margin: 8px 0 6px; transition: transform .5s var(--ease); }
.charter-list li:hover .charter-pic { transform: translateY(-4px) rotate(-4deg); }
.charter-list b { font: 400 1.5rem/1.2 var(--display); color: var(--navy); }
.charter-t { font-size: .9375rem; line-height: 1.6; color: var(--ink-2); }
.charter-proof { margin-top: auto; padding-top: 14px; font-size: .875rem; font-weight: 500; color: var(--navy); text-decoration: none; align-self: flex-start;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: background-size .35s var(--ease); }
a.charter-proof:hover { background-size: 100% 1px; text-decoration: none; }
.charter-proof.is-plain { font-weight: 400; color: var(--muted); }

.charter-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px;
  margin-top: clamp(28px, 3.5vw, 40px); padding-top: 24px; border-top: 1px solid var(--line-2); }
.charter-foot > p:first-child { max-width: 40em; color: var(--ink-2); font-size: .9375rem; }
.charter-sign { display: flex; align-items: baseline; gap: 16px; }
.charter-sign span { font: 500 .6875rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.charter-sign em { font: 400 2.75rem/1 var(--script); font-style: normal; color: var(--navy); padding-right: 8px; }
.js .charter.rv .charter-sign em { clip-path: inset(-30% 100% -30% -5%); transition: clip-path 1.8s cubic-bezier(.55, .1, .3, 1) .6s; }
.js .charter.rv.is-in .charter-sign em { clip-path: inset(-30% -10% -30% -5%); }

@media (max-width: 1080px) {
  .charter-head { grid-template-columns: minmax(0, 1fr) auto; }
  .charter-intro { grid-column: 1 / -1; grid-row: 2; }
  .charter-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .charter-list li:nth-child(2n+1) { padding-left: 0; border-left: 0; }
  .charter-list li:nth-child(2n) { padding-right: 0; }
  .charter-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .charter-head { grid-template-columns: 1fr; }
  .charter-intro { grid-row: auto; }
  .charter-seal { order: -1; width: 88px; align-self: start; }
  .charter-list { grid-template-columns: 1fr; }
  .charter-list li { padding-inline: 0 !important; border-left: 0 !important; }
  .charter-list li + li { border-top: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  .js .charter.rv .charter-sign em { clip-path: none; transition: none; }
}

/* --- Repères : règle graduée 1978-2026, éventail vers cinq dates ----------- */
.chrono2 { --c-ink: var(--navy); --c-soft: var(--ink-2); --c-mute: var(--muted); --c-line: var(--line-2); --c-hair: var(--line); --c-acc: #b88a00; --c-bg: var(--cream);
  margin-top: 8px; }
.section-alt .chrono2 { --c-ink: var(--cream); --c-soft: var(--on-navy-2); --c-mute: rgba(185, 191, 216, .8); --c-line: rgba(239, 234, 224, .4);
  --c-hair: rgba(239, 234, 224, .16); --c-acc: #ffcc00; --c-bg: var(--navy); }
.js .chrono2.rv { opacity: 1; transform: none; }

.c2-ruler { position: relative; height: 36px; margin-inline: 2px; }
.c2-ticks { position: absolute; left: 0; right: 0; top: 30px; height: 12px; border-top: 1px solid var(--c-line);
  background: repeating-linear-gradient(90deg, var(--c-line) 0 1px, transparent 1px calc(100% / var(--years)));
  -webkit-mask: linear-gradient(#000 0 6px, transparent 6px); mask: linear-gradient(#000 0 6px, transparent 6px); transform-origin: left; }
.c2-ticks::after { content: ""; position: absolute; inset: -1px 0 auto; height: 12px; border-right: 1px solid var(--c-line); }
.c2-dot { position: absolute; top: 30px; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--c-ink); }
.c2-dot.is-arret { background: var(--c-bg); box-shadow: inset 0 0 0 1.5px var(--c-ink); }
.c2-dot.is-recommandation { border-radius: 1px; transform: rotate(45deg) scale(.85); background: var(--c-soft); }
.c2-dot.is-sanction { background: var(--c-acc); }
.c2-ruler .c2-dot.is-pick { width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px; outline: 1px solid var(--c-acc); outline-offset: 3px; }
.c2-ruler .c2-dot.is-recommandation.is-pick { transform: rotate(45deg); }
.c2-mark { position: absolute; top: 0; transform: translateX(-50%); font: 500 .75rem/1 var(--sans); letter-spacing: .08em; color: var(--c-mute); font-variant-numeric: tabular-nums; }
.c2-mark.is-start { transform: none; }
.c2-mark.is-end { right: 0; left: auto; transform: none; }

.c2-fan { display: block; width: 100%; height: 72px; margin-top: 2px; overflow: visible; }
.c2-fan path { fill: none; stroke: var(--c-acc); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .7; }

.c2-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.c2-item { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 0 clamp(16px, 2vw, 32px) 0 clamp(16px, 1.6vw, 24px); border-left: 1px solid var(--c-hair); }
.c2-item::before { content: ""; position: absolute; left: -4px; top: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--c-acc); }
.c2-year { font: 400 clamp(2.5rem, 3.6vw, 3.5rem)/.95 var(--display); color: var(--c-acc); font-variant-numeric: lining-nums; }
.c2-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .75rem; color: var(--c-mute); }
.c2-type { font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--c-ink); padding: 3px 7px; border: 1px solid var(--c-line); }
.c2-type.is-sanction { color: var(--c-acc); border-color: var(--c-acc); }
.c2-title { margin-top: 6px; font: 400 1.25rem/1.25 var(--display); color: var(--c-ink); }
.c2-text { font-size: .875rem; line-height: 1.6; color: var(--c-soft); }
.c2-src { margin-top: auto; padding-top: 12px; align-self: flex-start; font-size: .8125rem; font-weight: 500; color: var(--c-ink); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: background-size .35s var(--ease); }
.c2-src:hover { background-size: 100% 1px; text-decoration: none; }
.section-alt .chrono2 a.c2-src, .section-alt .chrono2 a.c2-all { color: var(--cream); }

.c2-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 40px;
  margin-top: clamp(32px, 4vw, 48px); padding-top: 20px; border-top: 1px solid var(--c-hair); }
.c2-all { font-weight: 500; color: var(--c-ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px;
  padding-bottom: 2px; transition: background-size .35s var(--ease); }
.c2-all:hover { background-size: 100% 1px; text-decoration: none; }
.c2-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .8125rem; color: var(--c-mute); }
.c2-legend li { display: inline-flex; align-items: center; gap: 10px; }
.c2-legend .c2-dot { position: static; margin: 0; flex: none; }

/* Animation : la règle se trace, les points tombent, l'éventail se déploie, les colonnes montent */
.js .chrono2.rv .c2-ticks { transform: scaleX(0); transition: transform 1.4s var(--ease); }
.js .chrono2.rv .c2-ruler .c2-dot { opacity: 0; translate: 0 -10px; transition: opacity .5s var(--ease), translate .6s var(--ease); transition-delay: calc(.3s + var(--k) * 30ms); }
.js .chrono2.rv .c2-fan path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease); transition-delay: calc(1.2s + var(--i) * .1s); }
.js .chrono2.rv .c2-item { opacity: 0; translate: 0 16px; transition: opacity .7s var(--ease), translate .8s var(--ease); transition-delay: calc(1.4s + var(--i) * .1s); }
.js .chrono2.rv.is-in .c2-ticks { transform: none; }
.js .chrono2.rv.is-in .c2-ruler .c2-dot { opacity: 1; translate: 0 0; }
.js .chrono2.rv.is-in .c2-fan path { stroke-dashoffset: 0; }
.js .chrono2.rv.is-in .c2-item { opacity: 1; translate: 0 0; }

@media (max-width: 1080px) {
  .c2-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .c2-fan { display: none; }
  .c2-ruler { margin-bottom: 24px; }
}
@media (max-width: 680px) {
  .c2-list { grid-template-columns: 1fr; row-gap: 32px; }
  .c2-item { padding-right: 0; }
  .c2-mark:not(.is-start):not(.is-end) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .chrono2.rv .c2-ticks, .js .chrono2.rv .c2-ruler .c2-dot, .js .chrono2.rv .c2-fan path, .js .chrono2.rv .c2-item { transform: none; translate: none; opacity: 1; stroke-dashoffset: 0; transition: none; }
}

/* ==========================================================================
   Méga-menu v3 : volets marine, grille de 12 colonnes, fermeture tolérante
   ========================================================================== */
.mega { background: var(--navy); color: var(--on-navy-2); border-bottom: 0; box-shadow: 0 40px 80px -40px rgba(10, 14, 40, .55); clip-path: none; }
.mega:not([hidden]) { animation: mm3-in .28s var(--ease) both; }
@keyframes mm3-in { from { opacity: 0; transform: translateY(-6px); } }
/* Passerelle invisible entre le bouton et le volet : la souris peut descendre sans refermer le menu */
.mega::after { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 22px; }
.mega :focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }

.mm3 { max-width: var(--wrap); margin: 0 auto; padding: clamp(32px, 3.4vw, 48px) var(--gutter) clamp(32px, 3.4vw, 44px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(24px, 2.6vw, 40px); }
.mm3-intro { grid-column: 1 / span 3; display: flex; flex-direction: column; align-items: flex-start; padding-right: clamp(0px, 1.5vw, 24px); }
.mm3-k { display: flex; gap: 8px; font: 500 .75rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--cream); }
.mm3-k span { color: #e8b800; letter-spacing: 0; }
.mm3-t { margin-top: 14px; font: 400 clamp(1.75rem, 2.3vw, 2.25rem)/1 var(--display); text-transform: uppercase; color: var(--cream); }
.mm3-t em { display: block; margin: .06em 0 0 .5em; font: 400 1.1em/.95 var(--script); text-transform: none; color: #f0cf5a; }
.mm3-d { margin-top: 14px; font-size: .9375rem; line-height: 1.55; color: #d5d9e8; }
.mm3-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px; margin-block-start: 24px;
  background: var(--cream); color: var(--navy); font: 500 .9375rem/1 var(--sans); text-decoration: none; transition: background .2s; }
.mm3-cta:hover { background: #fff; text-decoration: none; }
.mm3-cta span { transition: transform .3s var(--ease); }
.mm3-cta:hover span { transform: translateX(4px); }

.mm3-main { grid-column: 4 / span 5; list-style: none; margin: 0; padding: 0 0 0 clamp(24px, 2.6vw, 40px); border-left: 1px solid rgba(239, 234, 224, .16);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; align-content: start; }
.mm3-link { display: flex; gap: 16px; align-items: flex-start; padding: 16px; margin: 0 -16px; text-decoration: none; color: inherit; transition: background-color .2s var(--ease); }
.mm3-link:hover, .mm3-link:focus-visible { background: rgba(239, 234, 224, .07); text-decoration: none; }
.mm3-ic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(239, 234, 224, .22); color: var(--cream); transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s; }
.mm3-ic .pic { width: 34px; height: 34px; stroke-width: 2; color: inherit; }
.mm3-link:hover .mm3-ic { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.mm3-txt { display: grid; gap: 4px; min-width: 0; }
.mm3-txt b { font: 400 1.1875rem/1.2 var(--display); color: var(--cream); }
.mm3-txt small { font-size: .8125rem; line-height: 1.45; color: var(--on-navy-2); }

.mm3-side { grid-column: 9 / -1; padding-left: clamp(24px, 2.6vw, 40px); border-left: 1px solid rgba(239, 234, 224, .16); }
.mm3-h { font: 500 .75rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--cream); padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid rgba(239, 234, 224, .16); }
.mm3-h2 { margin-top: 20px; }
.mm3-mini { list-style: none; margin: 0; padding: 0; display: grid; }
.mm3-two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.mm3-mini a { display: flex; gap: 8px; align-items: baseline; padding: 6px 0; font-size: .875rem; line-height: 1.35; color: var(--on-navy-2); text-decoration: none; transition: color .2s, transform .25s var(--ease); }
.mm3-mini a:hover { color: var(--cream); transform: translateX(4px); text-decoration: none; }
.mm3-mini .mono { font-size: .75rem; color: #e8b800; }
.mm3-more { display: inline-block; margin-top: 12px; font-size: .875rem; font-weight: 500; color: var(--cream); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; padding-bottom: 2px; transition: background-size .35s var(--ease); }
.mm3-more:hover { background-size: 100% 1px; text-decoration: none; }

.mega:not([hidden]) .mm3 > * { animation: mm-row .45s var(--ease) both; }
.mega:not([hidden]) .mm3 > :nth-child(2) { animation-delay: .05s; }
.mega:not([hidden]) .mm3 > :nth-child(3) { animation-delay: .1s; }
.nav-drop-btn[aria-expanded="true"] { background: var(--navy); color: var(--cream); }

@media (max-width: 1240px) {
  .mm3-intro { grid-column: 1 / span 4; }
  .mm3-main { grid-column: 5 / -1; }
  .mm3-side { grid-column: 5 / -1; padding-left: clamp(24px, 2.6vw, 40px); margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(239, 234, 224, .16); }
  .mm3-side .mm3-mini:not(.mm3-two) { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .mega:not([hidden]), .mega:not([hidden]) .mm3 > * { animation: none; }
}

/* ==========================================================================
   Répertoire des sites analysés : registre marine, lignes de grand livre
   ========================================================================== */
.rp-head, .rs-head { background: var(--navy); color: var(--on-navy-2); padding-block: clamp(32px, 4vw, 48px) clamp(40px, 5vw, 64px); }
.rp-head .crumbs, .rs-head .crumbs { color: var(--on-navy-2); }
.rp-head .crumbs a, .rs-head .crumbs a { color: var(--cream); }
.rp-head .kicker, .rs-head .kicker { color: var(--cream); margin-top: 24px; }
.rp-head h1 { margin-top: 12px; color: var(--cream); font-size: clamp(2.25rem, 4.6vw, 4rem); text-transform: uppercase; line-height: .98; }
.rp-head h1 em { display: block; margin: .05em 0 0 .6em; font: 400 .9em/.95 var(--script); text-transform: none; color: #f0cf5a; }
.rp-head .lead { margin-top: 20px; color: #d5d9e8; max-width: 40em; }
.rp-head-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.rp-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid rgba(239, 234, 224, .25); }
.rp-figs div { padding: 16px 12px 0 0; }
.rp-figs div + div { padding-left: 16px; border-left: 1px solid rgba(239, 234, 224, .16); }
.rp-figs dt { font: 500 .6875rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-2); }
.rp-figs dd { margin: 8px 0 0; font: 400 clamp(2.5rem, 4vw, 3.5rem)/1 var(--display); color: #ffcc00; }

.rp-apercu { margin-top: 24px; padding: 14px 18px; border: 1px dashed var(--navy); background: var(--cream-2); font-size: .9375rem; color: var(--ink-2); }
.rp-apercu b { color: var(--navy); font-weight: 600; }

.rp-body { padding-top: clamp(32px, 4vw, 48px); }
.rp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 4vw, 64px); align-items: start; }
.rp-filters { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 8px; }
.rp-filters input, .rp-filters select { width: 100%; height: 46px; padding: 0 12px; border: 1px solid var(--line-2); background: var(--cream-2); color: var(--ink); font: 400 .9375rem var(--sans); border-radius: 0; }
.rp-filters select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.rp-filters input:focus, .rp-filters select:focus { outline: 2px solid var(--navy); outline-offset: -1px; }
.rp-search { position: relative; }
.rp-search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 1.8; }
.rp-search input { padding-left: 42px; }
.rp-count { margin-top: 16px; font-size: .8125rem; color: var(--muted); }

.rp-list { list-style: none; margin: 12px 0 0; padding: 0; border-top: 2px solid var(--navy); }
.rp-row { border-bottom: 1px solid var(--line-2); }
.rp-link { position: relative; isolation: isolate; display: grid; grid-template-columns: 56px minmax(0, 1.5fr) minmax(0, 1fr) 130px 170px 20px; gap: 20px; align-items: center;
  padding: 18px 8px; color: var(--ink); text-decoration: none; }
.rp-link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.rp-link:hover { text-decoration: none; }
.rp-link:hover::before, .rp-link:focus-visible::before { transform: scaleX(1); }
.rp-link:hover :is(.rp-dom, .rp-date time, .rp-go, .rp-ring b), .rp-link:focus-visible :is(.rp-dom, .rp-date time, .rp-go, .rp-ring b) { color: var(--cream); }
.rp-link:hover :is(.rp-ed, .rp-date small, .rp-cells small) { color: var(--on-navy-2); }
.rp-link :is(.rp-dom, .rp-ed, .rp-date, .rp-go, .rp-ring b, .rp-cells small) { transition: color .3s var(--ease); }
.rp-ring { position: relative; width: 56px; height: 56px; display: grid; place-items: center; }
.rp-stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.rp-ring b { position: relative; font: 400 1.25rem/1 var(--display); color: var(--navy); }
.rp-link:hover .stars .star.is-ok, .rp-link:hover .stars .star.is-na { fill: rgba(239, 234, 224, .35); }
.rp-id { display: grid; gap: 4px; min-width: 0; }
.rp-dom { font: 400 1.375rem/1.15 var(--display); color: var(--navy); overflow-wrap: anywhere; }
.rp-ed { font-size: .8125rem; color: var(--muted); }
.rp-cells { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; }
.rp-cells i { width: 12px; height: 18px; background: rgba(31, 42, 92, .12); }
.rp-cells i.is-ko { background: #b3322d; }
.rp-cells i.is-na { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.rp-cells small { flex-basis: 100%; margin-top: 4px; font-size: .75rem; color: var(--muted); }
.rp-link:hover .rp-cells i.is-ok { background: rgba(239, 234, 224, .3); }
.rp-date { display: grid; gap: 2px; font-size: .875rem; color: var(--ink); }
.rp-date small { font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rp-st { justify-self: start; padding: 5px 10px; border: 1px solid currentColor; font: 500 .75rem/1.2 var(--sans); }
.rp-st.is-sans-reponse { color: #a8322d; }
.rp-st.is-reponse, .rp-st.is-en-correction { color: var(--navy); }
.rp-st.is-corrige { color: #2f6b4f; }
.rp-link:hover .rp-st { color: var(--cream); background: rgba(239, 234, 224, .08); }
.rp-go { font-size: 1.125rem; color: var(--navy); transition: transform .3s var(--ease), color .3s; }
.rp-link:hover .rp-go { transform: translateX(4px); }
.rp-empty { padding: 32px 0; color: var(--muted); }

.rp-aside { position: sticky; top: 96px; display: grid; gap: 24px; }
.rp-h { font: 500 .75rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); padding-bottom: 12px; border-bottom: 2px solid var(--navy); }
.rp-freq ol { list-style: none; margin: 0; padding: 0; }
.rp-freq a { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 4px 8px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .875rem; }
.rp-freq a:hover .rp-fl { text-decoration: underline; }
.rp-freq .mono { font-size: .75rem; color: var(--muted); }
.rp-freq b { font: 400 1.125rem/1 var(--display); color: var(--navy); }
.rp-freq i { grid-column: 2 / -1; height: 4px; background: linear-gradient(90deg, #b3322d var(--w), rgba(31, 42, 92, .08) var(--w)); }
.rp-reply { padding: 24px; background: var(--cream-2); border: 1px solid var(--line-2); }
.rp-reply p { margin-top: 12px; font-size: .9375rem; color: var(--ink-2); }
.rp-reply .btn { margin-top: 16px; width: 100%; justify-content: center; text-align: center; }

.rp-rules { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid rgba(239, 234, 224, .25); }
.rp-rules li { padding: 24px 24px 0 0; display: grid; gap: 10px; align-content: start; }
.rp-rules li + li { padding-left: 24px; border-left: 1px solid rgba(239, 234, 224, .16); }
.rp-rules span { font: 400 2.5rem/1 var(--display); color: #ffcc00; }
.rp-rules b { font: 400 1.25rem/1.2 var(--display); color: var(--cream); }
.rp-rules p { font-size: .875rem; line-height: 1.6; color: var(--on-navy-2); }

/* Fiche d'un site */
.rs-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.rs-dom { margin-top: 12px; font: 400 clamp(2.25rem, 5.4vw, 4.5rem)/1 var(--display); color: var(--cream); overflow-wrap: anywhere; text-transform: none; }
.rs-ed { margin-top: 12px; color: #d5d9e8; }
.rs-st-line { margin-top: 16px; }
.rs-head .rp-st { color: var(--cream); }
.rs-head .rp-st.is-sans-reponse { color: #ff9b8f; }
.rs-head .rp-st.is-corrige { color: #a8d8b9; }
.rs-seal { position: relative; margin: 0; width: clamp(180px, 18vw, 240px); aspect-ratio: 1; display: grid; place-items: center; }
.rs-stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.rs-head .stars .star.is-ok { fill: #ffcc00; }
.rs-head .stars .star.is-na { fill: rgba(239, 234, 224, .2); }
.rs-head .stars .star.is-ko { fill: transparent; stroke: #ff9b8f; stroke-width: 3; }
.rs-seal figcaption { text-align: center; }
.rs-seal b { display: block; font: 400 3.5rem/1 var(--display); color: var(--cream); }
.rs-seal span { font-size: .75rem; line-height: 1.4; color: var(--on-navy-2); }
.rs-steps { list-style: none; margin: clamp(28px, 4vw, 40px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(239, 234, 224, .25); counter-reset: st; }
.rs-steps li { position: relative; padding: 16px 16px 0 0; display: grid; gap: 4px; color: var(--cream); }
.rs-steps li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: #ffcc00; }
.rs-steps li:last-child::before { background: var(--navy); box-shadow: inset 0 0 0 1.5px #ffcc00; }
.rs-steps small { font: 500 .6875rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-2); }
.rs-steps time { font: 400 1.125rem/1.2 var(--display); }

.rs-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 4vw, 64px); align-items: start; }
.rs-h { font: 500 .75rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); padding-bottom: 12px; border-bottom: 2px solid var(--navy); }
.rs-ko { list-style: none; margin: 0; padding: 0; }
.rs-ko li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line-2); }
.rs-n { font: 400 2.5rem/1 var(--display); color: #b3322d; }
.rs-kt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.rs-kt b { font: 400 1.375rem/1.2 var(--display); color: var(--navy); }
.rs-auth { padding: 2px 8px; border: 1px solid var(--line-2); font: 500 .6875rem/1.4 var(--sans); letter-spacing: .1em; color: var(--ink-2); }
.rs-fact { margin-top: 10px; font-size: 1rem; line-height: 1.6; color: var(--ink); }
.rs-base { margin-top: 8px; font-size: .8125rem; color: var(--muted); }
.rs-base a { color: var(--navy); }
.rs-other { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.rs-h3 { font: 500 .75rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.rs-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rs-chips li { padding: 5px 10px; font-size: .8125rem; background: var(--cream-2); border: 1px solid var(--line); color: var(--ink-2); }
.rs-chips li::before { content: "★ "; color: #d9a900; }
.rs-chips.is-na li::before { content: "– "; color: var(--muted); }
.rs-answer { margin-top: 40px; }
.rs-answer blockquote { margin: 20px 0 0; padding: 4px 0 4px 24px; border-left: 3px solid #d9a900; }
.rs-answer blockquote p { font: 400 1.25rem/1.5 var(--display); color: var(--navy); }
.rs-answer blockquote footer { margin-top: 10px; font-size: .8125rem; color: var(--muted); }
.rs-noanswer { margin-top: 16px; color: var(--ink-2); }
.rs-aside { position: sticky; top: 96px; display: grid; gap: 16px; }
.rs-box { padding: 24px; background: var(--cream-2); border: 1px solid var(--line-2); }
.rs-box p { font-size: .9375rem; line-height: 1.55; color: var(--ink-2); }
.rs-box .rs-box-k { margin-bottom: 8px; font: 400 1.125rem/1.25 var(--display); color: var(--navy); }
.rs-box .btn { margin-top: 16px; }
.rs-box-navy { background: var(--navy); border-color: var(--navy); }
.rs-box-navy p { color: var(--on-navy-2); }
.rs-box-navy .rs-box-k { color: var(--cream); }
.rs-link { display: inline-block; margin-top: 12px; font-weight: 500; color: var(--navy); }
.rs-more-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.rp-list-alt { border-top-color: var(--cream); }
.rp-list-alt .rp-row { border-bottom-color: rgba(239, 234, 224, .2); }
.rp-list-alt .rp-link { grid-template-columns: 56px minmax(0, 1.5fr) 150px 190px 20px; color: var(--cream); }
.rp-list-alt .rp-link::before { background: var(--cream); }
.rp-list-alt :is(.rp-dom, .rp-ring b, .rp-go, .rp-date) { color: var(--cream); }
.rp-list-alt .rp-st { color: var(--cream); }
.rp-list-alt .rp-link:hover :is(.rp-dom, .rp-ring b, .rp-go, .rp-date, .rp-st) { color: var(--navy); }

@media (max-width: 1180px) {
  .rp-layout, .rs-layout { grid-template-columns: 1fr; }
  .rp-aside, .rs-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rs-aside { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rp-rules { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .rp-rules li:nth-child(4) { padding-left: 0; border-left: 0; }
}
@media (max-width: 860px) {
  .rp-head-grid, .rs-grid { grid-template-columns: 1fr; }
  .rs-seal { width: 160px; }
  .rp-filters { grid-template-columns: 1fr 1fr; }
  .rp-search { grid-column: 1 / -1; }
  .rp-link, .rp-list-alt .rp-link { grid-template-columns: 48px minmax(0, 1fr) 20px; gap: 8px 14px; }
  .rp-ring { width: 48px; height: 48px; grid-row: span 3; }
  .rp-id { grid-column: 2; }
  .rp-cells, .rp-date, .rp-st { grid-column: 2; }
  .rp-go { grid-column: 3; grid-row: 1; }
  .rp-date { display: flex; gap: 6px; align-items: baseline; }
  .rp-aside, .rs-aside { grid-template-columns: 1fr; }
  .rs-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .rp-rules { grid-template-columns: 1fr; }
  .rp-rules li { padding-left: 0 !important; border-left: 0 !important; }
  .rs-other { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .rp-figs dd { font-size: 2.25rem; }
  .rs-ko li { grid-template-columns: 44px minmax(0, 1fr); }
  .rs-n { font-size: 1.75rem; }
}
.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; }

/* --- Appel final de l'accueil : décor sur le fond crème -------------------- */
.final-sec { position: relative; overflow: hidden; isolation: isolate; }
.final-sec > .wrap { position: relative; z-index: 1; }
.fs-deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
/* Filet pointillé qui traverse la page à mi-hauteur : l'encart semble posé dessus */
.fs-line { position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed rgba(31, 42, 92, .28); }
.fs-line::before, .fs-line::after { content: "★"; position: absolute; top: -.72em; font-size: .875rem; color: #d9a900; }
.fs-line::before { left: calc(var(--gutter) * .5); }
.fs-line::after { right: calc(var(--gutter) * .5); }
/* Deux grands cercles d'étoiles au trait, rognés par les bords */
.fs-ring { position: absolute; top: 50%; aspect-ratio: 1; height: auto; overflow: visible; }
.fs-ring .star { fill: transparent; stroke: rgba(31, 42, 92, .3); stroke-width: 1.4; }
.fs-ring .star:nth-child(3n+1) { fill: rgba(217, 169, 0, .55); stroke: none; }
.fs-ring-l { left: 0; width: clamp(360px, 44vw, 760px); transform: translate(-38%, -50%); animation: spin 200s linear infinite; }
.fs-ring-r { right: 0; width: clamp(300px, 34vw, 600px); transform: translate(36%, -50%); animation: spin 160s linear infinite reverse; }
@keyframes fs-spin-l { to { rotate: 360deg; } }
.fs-ring-l, .fs-ring-r { animation-name: fs-spin-l; }
@media (max-width: 860px) { .fs-ring-l { width: 300px; } .fs-ring-r { display: none; } }
@media (prefers-reduced-motion: reduce) { .fs-ring-l, .fs-ring-r { animation: none; } }
.fs-ring .star polygon { transform: scale(.5); }
.fs-ring .star { stroke-width: 2.4; }
.fs-ring .star:nth-child(3n+1) { fill: rgba(217, 169, 0, .45); }
/* Ondes concentriques au trait, parties des deux bords, qui s'effacent vers le centre */
.fs-deco::before { content: ""; position: absolute; inset: 0;
  background:
    repeating-radial-gradient(circle at 0 50%, transparent 0 27px, rgba(31, 42, 92, .1) 27px 28px),
    repeating-radial-gradient(circle at 100% 50%, transparent 0 27px, rgba(31, 42, 92, .1) 27px 28px);
  -webkit-mask: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .35) 22%, transparent 42%, transparent 58%, rgba(0, 0, 0, .35) 78%, #000 100%);
  mask: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .35) 22%, transparent 42%, transparent 58%, rgba(0, 0, 0, .35) 78%, #000 100%); }
.mm3-more2 { display: block; margin-top: 6px; }

/* --- Correctifs mobiles relevés au contrôle des 32 gabarits ---------------- */
h1, h2, .h-section { overflow-wrap: break-word; }
.page-head h1, .rp-head h1 { overflow-wrap: anywhere; }
.europe > *, .diag > *, .diag-layout > * { min-width: 0; }
@media (max-width: 880px) { .europe { grid-template-columns: minmax(0, 1fr); } }
.diag-q, .diag-form { min-width: 0; min-inline-size: 0; }
.tilemap { grid-template-columns: repeat(9, minmax(0, 1fr)); grid-template-rows: repeat(7, minmax(0, 1fr)); }
.tilemap .tile { min-width: 0; overflow: hidden; }
@media (max-width: 560px) { .tilemap .tile span { display: none; } .tilemap .tile b { font-size: .6875rem; } }
/* Pied de page : la mention longue est retirée, il ne reste que la barre du bas */
.site-footer .ft-legal { padding-top: 0; }
.ft-bottom { margin-top: 0; }

/* ==========================================================================
   En-têtes de page : trois fonds (crème, marine, papier réglé) et un visuel par famille
   ========================================================================== */
.page-head.ph > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto); column-gap: clamp(32px, 6vw, 112px); align-items: center; }
.page-head.ph > .wrap > :not(.ph-art) { grid-column: 1; }
.ph-art { grid-column: 2; grid-row: 1 / span 12; align-self: center; justify-self: end; position: relative; }
.page-head.ph h1 { text-transform: uppercase; }

/* Fond marine */
.page-head.ph-navy { background: var(--navy); border-bottom: 0; color: var(--on-navy-2); }
.ph-navy :is(h1, .kicker, .eyebrow) { color: var(--cream); }
.ph-navy .lead, .ph-navy .article-meta { color: #d5d9e8; }
.ph-navy .crumbs, .ph-navy .crumbs span { color: var(--on-navy-2); }
.ph-navy .crumbs a { color: var(--cream); }
.ph-navy .tag { border-color: rgba(239, 234, 224, .4); color: var(--cream); background: transparent; }
.ph-navy .theme-chips a { color: var(--cream); border-color: rgba(239, 234, 224, .3); }
.ph-navy .theme-chips a:hover, .ph-navy .theme-chips a[aria-current] { background: var(--cream); color: var(--navy); }
.ph-navy .theme-chips span { color: #ffcc00; }

/* Papier réglé : lignes fines comme une feuille de registre, marge rouge pâle */
.page-head.ph-paper { background-color: var(--cream-2);
  background-image: linear-gradient(90deg, transparent calc(var(--gutter) - 14px), rgba(168, 50, 45, .22) calc(var(--gutter) - 14px), rgba(168, 50, 45, .22) calc(var(--gutter) - 13px), transparent calc(var(--gutter) - 13px)),
    repeating-linear-gradient(180deg, transparent 0 31px, rgba(31, 42, 92, .08) 31px 32px); }

/* Crème : un grand filet d'étoiles en filigrane dans le coin */
.page-head.ph-cream { position: relative; overflow: hidden; }

/* --- Visuels ------------------------------------------------------------- */
.pha-ring { position: relative; width: clamp(200px, 20vw, 280px); aspect-ratio: 1; display: grid; place-items: center; }
.pha-stars { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 160s linear infinite; }
.ph-navy .pha-stars .star.is-ok { fill: #ffcc00; }
.pha-ring-c { display: grid; justify-items: center; text-align: center; }
.pha-ring-c b { font: 400 clamp(3.5rem, 6vw, 5.5rem)/.9 var(--display); color: var(--cream); }
.ph-cream .pha-ring-c b, .ph-paper .pha-ring-c b { color: var(--navy); }
.pha-ring-c small { margin-top: 6px; font: 500 .6875rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy-2); }

.pha-numeral { display: grid; justify-items: end; text-align: right; }
.pha-numeral b { font: 400 clamp(7rem, 14vw, 12rem)/.8 var(--display); color: #ffcc00; letter-spacing: -.02em; }
.pha-numeral small { margin-top: 12px; font: 500 .75rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy-2); }
.pha-dots { display: flex; gap: 6px; margin-top: 14px; }
.pha-dots i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(239, 234, 224, .45); }
.pha-dots i.is-on { background: #ffcc00; border-color: #ffcc00; }

.pha-books { display: flex; align-items: flex-end; gap: 6px; height: 240px; padding-bottom: 10px; border-bottom: 3px solid var(--navy); }
.pha-book { display: flex; align-items: flex-end; justify-content: center; width: 40px; height: 200px; padding: 14px 0;
  background: var(--navy); color: var(--cream); border-top: 4px solid #e8b800; transition: transform .35s var(--ease); }
.pha-book:nth-child(3n+2) { background: #2c3a75; height: 88%; }
.pha-book:nth-child(5n+3) { height: 76%; }
.pha-book:nth-child(2n+5) { height: 94%; }
.pha-book:nth-child(3n) { background: var(--cream); color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.pha-book:nth-child(4) { transform: rotate(-6deg) translateX(-4px); transform-origin: bottom left; }
.pha-book em { writing-mode: vertical-rl; transform: rotate(180deg); font: 400 .9375rem/1 var(--display); font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-height: 100%; }

.pha-alpha { display: grid; grid-template-columns: auto auto auto; align-items: baseline; column-gap: 14px; }
.pha-alpha b { font: 400 clamp(7rem, 13vw, 11rem)/.85 var(--display); color: var(--navy); }
.pha-alpha b:last-of-type { color: transparent; -webkit-text-stroke: 1.5px var(--navy); }
.pha-alpha span { font: 400 2.5rem/1 var(--script); color: #b88a00; }
.pha-alpha small { grid-column: 1 / -1; margin-top: 10px; font: 500 .75rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.pha-ruler { display: grid; grid-template-columns: auto minmax(140px, 1fr) auto; align-items: center; column-gap: 16px; width: clamp(320px, 34vw, 520px); }
.pha-ruler b { font: 400 clamp(2.5rem, 4.4vw, 4rem)/1 var(--display); color: var(--cream); }
.pha-ruler b.is-to { color: #ffcc00; }
.pha-ruler-line { height: 14px; border-top: 2px solid rgba(239, 234, 224, .6);
  background: repeating-linear-gradient(90deg, rgba(239, 234, 224, .5) 0 1px, transparent 1px calc(100% / var(--n))) top / 100% 7px no-repeat; }
.pha-ruler small { grid-column: 1 / -1; margin-top: 14px; font: 500 .75rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy-2); }

.pha-env { width: clamp(220px, 22vw, 300px); height: auto; display: block; overflow: visible; transform: rotate(-4deg); }
.pha-env .env-back { fill: var(--cream-3); stroke: var(--navy); stroke-width: 1.5; }
.pha-env .env-letter { fill: #fff; stroke: rgba(31, 42, 92, .4); transform: translateY(-26px); }
.pha-env .env-lines { fill: none; stroke: rgba(31, 42, 92, .35); stroke-width: 2; transform: translateY(-26px); }
.pha-env .env-front { fill: var(--cream); stroke: var(--navy); stroke-width: 1.5; }
.pha-env .env-flap { fill: none; stroke: var(--navy); stroke-width: 1.5; }
.pha-env .env-seal { fill: #a8322d; }
.pha-env .env-seal-c { font: 400 22px var(--display); fill: var(--cream); }
.pha-cap { margin-top: 18px; text-align: center; font: 500 .75rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); max-width: 22em; margin-inline: auto; }
.ph-navy .pha-cap { color: var(--on-navy-2); }

.pha-stamp { padding: 10px; border: 3px solid #a8322d; transform: rotate(-8deg); color: #a8322d; opacity: .92; }
.pha-stamp-in { display: grid; justify-items: center; gap: 6px; padding: 18px 28px; border: 1.5px solid #a8322d; }
.pha-stamp-in b { font: 400 clamp(2.25rem, 4vw, 3.25rem)/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.pha-stamp-in small { font: 600 .75rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }

.pha-figure { display: grid; justify-items: end; text-align: right; max-width: 26rem; }
.pha-figure small { font: 500 .75rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy-2); }
.pha-figure b { margin-top: 8px; font: 400 clamp(3.5rem, 7vw, 6.5rem)/.9 var(--display); color: #ffcc00; white-space: nowrap; }
.pha-figure span { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(239, 234, 224, .3); font-size: .9375rem; color: var(--cream); }

.pha-cover { display: grid; justify-items: center; align-content: space-between; gap: 12px; width: clamp(200px, 17vw, 240px); aspect-ratio: 3 / 4; padding: 22px 18px;
  background: var(--navy); color: var(--cream); text-align: center; box-shadow: 10px 10px 0 -1px var(--cream-3), 10px 10px 0 0 var(--navy); transform: rotate(2deg); }
.pha-cover-k { font: 500 .625rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #ffcc00; padding-bottom: 10px; border-bottom: 1px solid rgba(239, 234, 224, .3); }
.pha-cover-pic { width: 84px; height: 84px; color: var(--cream); stroke-width: 1.8; }
.pha-cover b { font: 400 1.375rem/1.15 var(--display); text-transform: uppercase; }
.pha-cover small { font-size: .75rem; color: var(--on-navy-2); }

.pha-seal { position: relative; width: clamp(190px, 18vw, 240px); aspect-ratio: 1; display: grid; place-items: center; align-content: center; text-align: center; }
.pha-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pha-seal .ps-o { fill: none; stroke: #ffcc00; stroke-width: 2; }
.pha-seal .ps-i { fill: none; stroke: rgba(239, 234, 224, .4); stroke-width: 1; stroke-dasharray: 3 4; }
.pha-seal .ps-dot { fill: #ffcc00; }
.pha-seal b { position: relative; font: 400 clamp(2.5rem, 4vw, 3.5rem)/1 var(--display); color: var(--cream); }
.pha-seal small { position: relative; margin-top: 6px; font: 500 .625rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--on-navy-2); }

.pha-doc { display: grid; gap: 14px; width: clamp(220px, 20vw, 280px); padding: 26px 24px 30px; background: #fff; border: 1px solid var(--line-2);
  box-shadow: 8px 8px 0 -1px var(--cream-2), 8px 8px 0 0 var(--line-2); transform: rotate(-2deg); }
.pha-doc-ref { padding-bottom: 12px; border-bottom: 2px solid var(--navy); font: 400 1.375rem/1.1 var(--display); color: var(--navy); text-transform: uppercase; }
.pha-doc-l { display: grid; gap: 6px; }
.pha-doc-l b { font: 600 .75rem/1 var(--sans); letter-spacing: .06em; color: var(--navy); }
.pha-doc-l i { height: 5px; background: rgba(31, 42, 92, .12); }
.pha-doc-l i + i { width: 70%; }

.pha-logo { width: clamp(160px, 15vw, 210px); }
.pha-logo .logo, .pha-logo .seal2 { display: block; width: 100%; height: auto; }

.pha-medal { display: grid; place-items: center; width: clamp(180px, 16vw, 220px); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line-2); background: var(--cream-2);
  box-shadow: 0 0 0 10px var(--cream), 0 0 0 11px var(--line-2); margin-inline: auto; }
.pha-medal-pic { width: 52%; height: 52%; color: var(--navy); stroke-width: 1.4; }
.ph-navy .pha-medal { background: transparent; border-color: rgba(239, 234, 224, .35); box-shadow: 0 0 0 10px var(--navy), 0 0 0 11px rgba(239, 234, 224, .2); }
.ph-navy .pha-medal-pic { color: var(--cream); }

@media (max-width: 860px) {
  .page-head.ph > .wrap { grid-template-columns: minmax(0, 1fr); }
  .ph-art { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 28px; }
  .pha-ring { width: 160px; }
  .pha-numeral { justify-items: start; text-align: left; }
  .pha-numeral b { font-size: 6rem; }
  .pha-books { height: 170px; }
  .pha-book { width: 30px; height: 140px; } .pha-books { gap: 4px; }
  .pha-book em { font-size: .75rem; }
  .pha-alpha b { font-size: 5rem; }
  .pha-ruler { width: 100%; }
  .pha-figure { justify-items: start; text-align: left; }
  .pha-figure b { font-size: 3.25rem; }
  .pha-cover { width: 170px; }
  .pha-seal { width: 160px; }
  .pha-doc { width: 220px; }
  .pha-medal { width: 140px; margin-inline: 0; }
  .pha-cap { text-align: left; margin-inline: 0; }
  .pha-env { width: 200px; }
  .pha-logo { width: 120px; }
}
@media (prefers-reduced-motion: reduce) { .pha-stars { animation: none; } }
main { overflow-x: clip; } /* garde-fou : aucune animation ne fait déborder la page en largeur */
/* Fiche du répertoire : la légende passe sous le cercle, le chiffre seul au centre */
.rs-seal { margin-bottom: 44px; }
.rs-seal span { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: max-content; margin-top: 10px; text-align: center; }
.rs-seal span br { display: none; }
@media (max-width: 860px) { .rs-seal { margin-bottom: 40px; } .rs-seal span { left: 0; transform: none; text-align: left; } }
.rp-filters select { font-size: .875rem; }

/* ==========================================================================
   Héros v2 : maquette réaliste (fenêtre d'analyse + lettre de plainte)
   ========================================================================== */
.hv2 { position: relative; margin: 0; padding: 8px 0 0; min-height: 600px; }
.hv2-app { position: absolute; z-index: 0; top: 0; left: 0; width: min(78%, 440px); background: #f7f5f0; border-radius: 10px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 30px 60px -24px rgba(5, 8, 25, .7), 0 0 0 1px rgba(255, 255, 255, .08); }
.hv2-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #e6e1d6; border-bottom: 1px solid rgba(31, 42, 92, .12); }
.hv2-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfc8b9; }
.hv2-url { flex: 1; margin-left: 10px; padding: 4px 10px; border-radius: 6px; background: #f7f5f0; font: 400 .6875rem/1.2 var(--mono); color: #5b6180; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv2-app-body { padding: 14px 16px 16px; }
.hv2-app-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.hv2-app-head b { font: 400 1rem/1.2 var(--display); color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv2-app-head .mono { font-size: .75rem; color: var(--muted); }
.hv2-progress { height: 3px; margin: 10px 0 8px; background: rgba(31, 42, 92, .1); }
.hv2-progress span { display: block; height: 100%; width: 100%; background: var(--navy); transform-origin: left; }
.hv2-rows { list-style: none; margin: 0; padding: 0; }
.hv2-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 5px 0; border-bottom: 1px solid rgba(31, 42, 92, .07); font-size: .75rem; color: var(--ink); }
.hv2-row .mono { font-size: .6875rem; color: var(--muted); }
.hv2-row-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv2-pill { padding: 2px 7px; border-radius: 999px; font: 500 .625rem/1.4 var(--sans); white-space: nowrap; background: rgba(31, 42, 92, .08); color: var(--muted); }
.hv2-row.is-ok .hv2-pill { background: #dde6dc; color: #2f6b4f; }
.hv2-row.is-ko .hv2-pill { background: #f2d9d4; color: #a8322d; }
.hv2-row.is-na .hv2-pill { background: rgba(31, 42, 92, .06); color: var(--muted); }
/* États pendant l'animation */
.hv2.is-armed .hv2-row:not(.is-done) .hv2-pill { background: transparent; color: transparent; box-shadow: inset 0 0 0 1px rgba(31, 42, 92, .14); }
.hv2.is-armed .hv2-row:not(.is-done) .hv2-pill::before { content: "En attente"; color: var(--muted); }
.hv2.is-armed .hv2-row.is-busy .hv2-pill::before { content: "Vérification…"; color: var(--navy); }
.hv2.is-armed .hv2-row.is-busy { background: rgba(31, 42, 92, .04); }
.hv2.is-armed .hv2-row .hv2-pill { position: relative; }
.hv2.is-armed .hv2-row:not(.is-done) .hv2-pill::before { position: absolute; inset: 0; display: grid; place-items: center; font-size: .625rem; }
.hv2-row.is-done .hv2-pill { animation: hv2-pop .35s var(--ease); }
@keyframes hv2-pop { from { transform: scale(.85); opacity: 0; } }

/* Lettre */
.hv2-doc { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; width: min(86%, 470px); margin: 150px 0 0 auto; padding: 30px 32px 26px;
  background: #fffdf8; color: var(--ink); text-decoration: none; border-radius: 2px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .08), 0 34px 70px -28px rgba(5, 8, 25, .8); transition: transform .4s var(--ease); }
.hv2-doc:hover { transform: translateY(-4px); text-decoration: none; }
.hv2-doc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--navy); }
.hv2-doc-k { font: 400 1.0625rem/1.2 var(--display); color: var(--navy); text-transform: uppercase; letter-spacing: .02em; }
.hv2-doc-top .mono { font-size: .6875rem; color: var(--muted); }
.hv2-addr { display: grid; grid-template-columns: 1fr 1.25fr; gap: 16px; align-items: start; }
.hv2-from { display: grid; gap: 5px; padding-top: 3px; }
.hv2-from i { height: 6px; width: 90%; background: rgba(31, 42, 92, .1); }
.hv2-from i.s { width: 60%; }
.hv2-to { display: grid; gap: 3px; text-align: right; }
.hv2-to b { font: 600 .75rem/1.35 var(--sans); color: var(--ink); }
.hv2-to small { font-size: .6875rem; color: var(--muted); }
.hv2-date { align-self: flex-end; font-size: .75rem; color: var(--ink-2); }
.hv2-obj { font-size: .8125rem; line-height: 1.45; color: var(--ink); }
.hv2-obj b { font-weight: 600; }
.hv2-caret { display: none; width: 1px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--navy); animation: hv2-blink .8s steps(1) infinite; }
.hv2.is-typing .hv2-caret { display: inline-block; }
@keyframes hv2-blink { 50% { opacity: 0; } }
.hv2-p { font-size: .75rem; line-height: 1.5; color: var(--ink-2); }
.hv2-facts { margin: 0; padding: 0 0 0 18px; display: grid; gap: 7px; font-size: .8125rem; color: var(--ink); }
.hv2-facts li { padding-left: 2px; }
.hv2-facts li::marker { font: 400 .875rem var(--display); color: #a8322d; }
.hv2-facts span { display: block; font-weight: 500; line-height: 1.35; }
.hv2-facts small { font-size: .6875rem; color: var(--muted); }
.hv2-pj { padding: 8px 10px; background: rgba(31, 42, 92, .04); border-left: 2px solid #d9a900; font-size: .6875rem; line-height: 1.5; color: var(--ink-2); }
.hv2-pj b { color: var(--ink); font-weight: 600; }
.hv2-pj .mono { font-size: .6875rem; }
.hv2-sign { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 4px; }
.hv2-cite { font-size: .6875rem; color: var(--muted); }
.hv2-sigbox { display: grid; justify-items: center; }
.hv2-sig { width: 130px; height: 40px; }
.hv2-sig path { fill: none; stroke: #1b2a6b; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 460; stroke-dashoffset: 0; }
.hv2-sigbox small { width: 140px; padding-top: 3px; border-top: 1px solid var(--line-2); text-align: center; font-size: .625rem; color: var(--muted); }
.hv2-page { position: absolute; right: 14px; bottom: 8px; font-size: .625rem; color: rgba(31, 42, 92, .4); }

.hv2.is-armed .hv2-facts li { opacity: 0; transform: translateY(6px); max-height: 0; overflow: hidden; }
.hv2.is-armed .hv2-facts li.is-on { opacity: 1; transform: none; max-height: 80px; transition: opacity .5s var(--ease), transform .5s var(--ease), max-height .5s var(--ease); }
.hv2.is-armed .hv2-pj, .hv2.is-armed .hv2-cite { opacity: 0; }
.hv2.is-armed.is-pj .hv2-pj, .hv2.is-armed.is-pj .hv2-cite { opacity: 1; transition: opacity .6s var(--ease); }
.hv2.is-armed .hv2-sig path { stroke-dashoffset: 460; }
.hv2.is-armed.is-signed .hv2-sig path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s cubic-bezier(.5, 0, .2, 1); }

/* Fichier prêt */
.hv2-ready { position: absolute; z-index: 2; left: 4%; bottom: 72px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: var(--cream); color: var(--navy); border-radius: 8px;
  box-shadow: 0 18px 40px -16px rgba(5, 8, 25, .7); }
.hv2-ready svg { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: #2f6b4f; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hv2-ready span { display: grid; gap: 2px; }
.hv2-ready b { font: 600 .8125rem/1.2 var(--sans); }
.hv2-ready small { font-size: .75rem; color: var(--ink-2); }
.hv2.is-armed .hv2-ready { opacity: 0; transform: translateY(12px) scale(.96); }
.hv2.is-armed.is-ready .hv2-ready { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.hv2 .hv-cap { margin-top: 28px; }

@media (max-width: 1180px) { .hv2-app { width: min(82%, 400px); } .hv2-doc { width: min(90%, 440px); } }
@media (max-width: 680px) {
  .hv2 { min-height: 0; }
  .hv2-app { position: relative; width: 100%; }
  .hv2-rows li:nth-child(n+7) { display: none; }
  .hv2-doc { width: calc(100% - 16px); margin: -40px 0 0 auto; padding: 22px 18px 20px; }
  .hv2-addr { grid-template-columns: 1fr; }
  .hv2-to { text-align: left; }
  .hv2-ready { position: relative; left: auto; bottom: auto; margin-top: 14px; width: max-content; max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .hv2-doc { transition: none; } }

/* ==========================================================================
   Parcours guidé : quatre étapes, chacune avec sa maquette, en zigzag
   ========================================================================== */
.pc { position: relative; display: grid; gap: clamp(48px, 6vw, 88px); margin-top: clamp(40px, 5vw, 64px); }
.pc::before { content: ""; position: absolute; left: 50%; top: 24px; bottom: 24px; border-left: 1px dashed var(--line-2); }
.pc-step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.pc-step:nth-child(even) .pc-txt { order: 2; }
.pc-step::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%; background: var(--cream); border: 2px solid var(--navy); }
.pc-txt { max-width: 30rem; }
.pc-step:nth-child(odd) .pc-txt { justify-self: end; }
.pc-n { display: block; font: 400 3.5rem/1 var(--display); color: #b88a00; }
.pc-txt h3 { margin-top: 12px; font: 400 clamp(1.5rem, 2.4vw, 2rem)/1.15 var(--display); color: var(--navy); }
.pc-txt p { margin-top: 12px; font-size: 1rem; line-height: 1.65; color: var(--ink-2); }
.pc-txt .pc-tip { margin-top: 18px; padding: 12px 16px; border-left: 2px solid #d9a900; background: var(--cream-2); font-size: .875rem; }
.pc-tip b { display: block; margin-bottom: 2px; color: var(--navy); font-weight: 600; }

.pc-mock { position: relative; max-width: 480px; width: 100%; padding: 22px; background: #fffdf8; border: 1px solid var(--line-2); border-radius: 10px;
  box-shadow: 0 1px 0 rgba(31, 42, 92, .05), 0 24px 48px -28px rgba(31, 42, 92, .45); font-size: .8125rem; color: var(--ink); }
.pc-step:nth-child(even) .pc-mock { justify-self: end; }

/* 1. Champ d'adresse */
.m1-tabs { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 8px; gap: 2px; }
.m1-tabs span { padding: 6px 12px; border-radius: 6px; font-weight: 500; color: var(--ink-2); }
.m1-tabs .is-on { background: var(--navy); color: var(--cream); }
.m1-field { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 6px 6px 12px; border: 1.5px solid var(--navy); border-radius: 8px; background: #fff; }
.m1-pre { color: var(--muted); }
.m1-val { flex: 1; min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; }
.m1-caret { display: inline-block; width: 1px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--navy); animation: hv2-blink .8s steps(1) infinite; }
.m1-btn { padding: 8px 12px; border-radius: 6px; background: var(--navy); color: var(--cream); font-weight: 500; white-space: nowrap; }
.m1-hint { margin-top: 10px; font-size: .75rem; color: var(--muted); }
.pc-cursor { position: absolute; left: var(--x); top: var(--y); width: 18px; height: 22px; background: var(--ink);
  clip-path: polygon(0 0, 0 78%, 26% 60%, 44% 100%, 58% 94%, 40% 56%, 72% 56%); filter: drop-shadow(0 0 1px #fff); }

/* 2. Navigateur et journal */
.pc-m2 { padding: 0; overflow: hidden; }
.m2-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: #e6e1d6; }
.m2-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfc8b9; }
.m2-bar span { margin-left: 10px; padding: 3px 10px; border-radius: 6px; background: #f7f5f0; font: .6875rem var(--mono); color: #5b6180; }
.m2-page { position: relative; height: 150px; padding: 14px; background: #fff; display: grid; gap: 8px; align-content: start; }
.m2-hero { height: 52px; background: linear-gradient(120deg, #e7e2d6, #f2eee5); }
.m2-l { height: 7px; width: 80%; background: #eeebe3; }
.m2-l.s { width: 55%; }
.m2-banner { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px;
  background: var(--ink); color: #fff; border-radius: 6px; font-size: .75rem; }
.m2-btns { display: flex; gap: 6px; }
.m2-btns em { font-style: normal; padding: 4px 8px; border-radius: 4px; background: #fff; color: var(--ink); font-weight: 600; }
.m2-btns em.g { background: transparent; color: #c9cbd6; box-shadow: inset 0 0 0 1px #5b6180; font-weight: 400; }
.m2-log { list-style: none; margin: 0; padding: 10px 14px 14px; display: grid; gap: 6px; font-size: .75rem; background: #f7f5f0; border-top: 1px solid var(--line); }
.m2-log li { display: flex; gap: 8px; align-items: baseline; }
.m2-log .mono { font-size: .6875rem; color: var(--muted); }
.m2-log li.is-ko::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #a8322d; transform: translateY(-1px); }
.m2-log li:not(.is-ko)::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #d9a900; transform: translateY(-1px); }

/* 3. Constat */
.pc-m3 { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: center; }
.m3-ring { position: relative; width: 120px; aspect-ratio: 1; display: grid; place-items: center; }
.m3-stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.m3-ring b { font: 400 1.75rem/1 var(--display); color: var(--navy); }
.m3-ring small { font-size: .875rem; color: var(--muted); }
.m3-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.m3-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 8px; padding: 8px 10px; border-radius: 6px; background: #f7f5f0; }
.m3-list li.is-ko { box-shadow: inset 2px 0 0 #a8322d; }
.m3-list li.is-ok { box-shadow: inset 2px 0 0 #2f6b4f; }
.m3-list .mono { grid-row: span 2; font-size: .6875rem; color: var(--muted); padding-top: 2px; }
.m3-list b { font-weight: 600; }
.m3-list small { font-size: .75rem; color: var(--ink-2); }

/* 4. Formulaire et PDF */
.pc-m4 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: end; }
.m4-form { display: grid; gap: 10px; }
.m4-f { display: grid; gap: 4px; }
.m4-f small { font-size: .6875rem; color: var(--muted); }
.m4-f i { font-style: normal; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; }
.m4-sig svg { width: 100%; height: 46px; padding: 2px 6px; border: 1px dashed var(--line-2); border-radius: 6px; background: #fff; }
.m4-sig path { fill: none; stroke: #1b2a6b; stroke-width: 1.8; stroke-linecap: round; }
.m4-pdf { display: grid; gap: 6px; padding: 16px 14px; background: var(--navy); color: var(--cream); border-radius: 8px; }
.m4-pdf-k { justify-self: start; padding: 3px 7px; border-radius: 4px; background: #a8322d; color: #fff; font: 600 .625rem/1.2 var(--sans); letter-spacing: .08em; }
.m4-pdf b { font-weight: 500; font-size: .8125rem; overflow-wrap: anywhere; }
.m4-pdf small { font-size: .6875rem; color: var(--on-navy-2); }
.m4-go { margin-top: 6px; padding: 8px 10px; border-radius: 6px; background: var(--cream); color: var(--navy); font-weight: 600; font-size: .75rem; text-align: center; }

@media (max-width: 860px) {
  .pc::before, .pc-step::after { display: none; }
  .pc-step { grid-template-columns: 1fr; gap: 24px; }
  .pc-step:nth-child(even) .pc-txt { order: 0; }
  .pc-step:nth-child(odd) .pc-txt { justify-self: start; }
  .pc-step:nth-child(even) .pc-mock { justify-self: start; }
}
@media (max-width: 480px) {
  .pc-m3 { grid-template-columns: 1fr; }
  .pc-m4 { grid-template-columns: 1fr; }
  .m1-field { flex-wrap: wrap; }
  .m1-btn { width: 100%; text-align: center; }
}

/* ==========================================================================
   Page Risques
   ========================================================================== */
.rk-fam { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--navy); counter-reset: f; }
.rk-fam > li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 20px 0 0; }
.rk-fam > li + li { padding-left: 20px; border-left: 1px solid var(--line-2); }
/* Échelle : une barre dont l'épaisseur croît de la gauche vers la droite */
.rk-fam > li::before { content: ""; position: absolute; top: -2px; left: 0; right: 0; height: calc(2px + var(--d) * 2px); background: #a8322d; opacity: calc(.25 + var(--d) * .18); }
.rk-fam-n { font: 400 .875rem var(--mono); color: var(--muted); }
.rk-fam-pic { width: 56px; height: 56px; color: var(--navy); }
.rk-fam b { font: 400 1.25rem/1.2 var(--display); color: var(--navy); }
.rk-fam p { font-size: .875rem; line-height: 1.55; color: var(--ink-2); }
.rk-fam ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.rk-fam ul li { position: relative; padding-left: 14px; font-size: .8125rem; line-height: 1.45; color: var(--ink); }
.rk-fam ul li::before { content: "—"; position: absolute; left: 0; color: #b88a00; }

.rk-list { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; border-top: 1px solid rgba(239, 234, 224, .35); }
.rk-row { display: grid; grid-template-columns: 220px minmax(0, 1.2fr) minmax(0, 1.3fr) 220px; gap: 24px; padding: 24px 0; border-bottom: 1px solid rgba(239, 234, 224, .16); color: var(--on-navy-2); }
.rk-id { display: grid; align-content: start; gap: 6px; }
.rk-n { font: 400 2.25rem/1 var(--display); color: #ffcc00; }
.rk-id a { color: var(--cream); text-decoration: none; }
.rk-id a:hover { text-decoration: underline; }
.rk-id b { font: 400 1.25rem/1.2 var(--display); }
.rk-auth { justify-self: start; padding: 2px 8px; border: 1px solid rgba(239, 234, 224, .4); font: 500 .6875rem/1.4 var(--sans); letter-spacing: .1em; color: var(--cream); }
.rk-m { font-size: 1rem; line-height: 1.5; color: var(--cream); }
.rk-t { margin-top: 8px; font-size: .8125rem; }
.section-alt .rk-t a { color: var(--on-navy-2); }
.rk-cost small, .rk-ex small { display: block; font: 500 .6875rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-2); }
.rk-cost b { display: block; margin-top: 6px; font: 400 1.0625rem/1.35 var(--display); color: #ffcc00; }
.rk-cost b.is-none { color: var(--cream); font-family: var(--sans); font-size: .875rem; font-weight: 400; opacity: .8; }
.rk-cost ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; font-size: .8125rem; line-height: 1.45; }
.rk-cost ul li::before { content: "+ "; color: #ffcc00; }
.rk-ex { padding-left: 20px; border-left: 1px solid rgba(239, 234, 224, .16); display: grid; align-content: start; gap: 4px; }
.rk-ex b { font: 400 2rem/1 var(--display); color: var(--cream); margin-top: 4px; }
.rk-ex span { font-size: .8125rem; line-height: 1.4; }
.section-alt .rk-ex a { font-size: .8125rem; color: var(--cream); }

.rk-weigh { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.rk-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.rk-crit { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.rk-crit li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.rk-crit b { font: 400 1.125rem/1.25 var(--display); color: var(--navy); }
.rk-crit span { grid-column: 1; font-size: .875rem; color: var(--ink-2); }
.rk-crit i { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 500 .75rem/1 var(--sans); font-style: normal; padding: 5px 10px; border: 1px solid currentColor; }
.rk-crit i.up { color: #a8322d; }
.rk-crit i.down { color: #2f6b4f; }

.rk-sources .rk-h { font: 500 .75rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--cream); padding-bottom: 12px; border-bottom: 1px solid rgba(239, 234, 224, .25); }
.rk-sources ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px 24px; }
.section-alt .rk-sources a { color: var(--cream); font-size: .9375rem; }
.rk-note { margin-top: 24px; max-width: 60em; font-size: .875rem; color: var(--on-navy-2); }

@media (max-width: 1180px) {
  .rk-fam { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .rk-fam > li:nth-child(4) { padding-left: 0; border-left: 0; }
  .rk-row { grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1fr); }
  .rk-ex { grid-column: 2 / -1; padding-left: 0; border-left: 0; padding-top: 12px; border-top: 1px dashed rgba(239, 234, 224, .16); }
}
@media (max-width: 760px) {
  .rk-fam { grid-template-columns: 1fr; }
  .rk-fam > li { padding-left: 0 !important; border-left: 0 !important; }
  .rk-row { grid-template-columns: 1fr; gap: 14px; }
  .rk-ex { grid-column: auto; }
  .rk-weigh { grid-template-columns: 1fr; }
}

/* --- Héros : une colonne sous 1080 px (la règle à deux colonnes plus haut écrasait le mobile) */
@media (max-width: 1080px) { .hero2-in { grid-template-columns: minmax(0, 1fr); } }

/* --- Bouton « Comment ça marche ? » du héros ------------------------------- */
.hero-guide { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding: 8px 16px 8px 8px; border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--cream-2); color: var(--navy); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, background-color .2s; }
.hero-guide:hover { border-color: var(--navy); background: #fff; }
.hero-guide-play { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); }
.hero-guide-play svg { width: 16px; height: 16px; fill: var(--cream); transform: translateX(1px); }
.hero-guide span:last-child { display: grid; line-height: 1.25; }
.hero-guide b { font-weight: 600; font-size: .9375rem; }
.hero-guide small { font-size: .75rem; color: var(--muted); }
.hero-guide:hover .hero-guide-play { animation: guide-pulse 1s var(--ease); }
@keyframes guide-pulse { 50% { transform: scale(1.12); } }

/* --- Fenêtre des 4 étapes --------------------------------------------------- */
.guide-dlg { width: min(960px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 14px; background: var(--cream); color: var(--ink);
  box-shadow: 0 40px 100px -30px rgba(5, 8, 25, .7); overflow: auto; }
.guide-dlg::backdrop { background: rgba(22, 30, 69, .6); backdrop-filter: blur(3px); }
.guide-dlg[open] { animation: guide-in .35s var(--ease); }
@keyframes guide-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.guide-head { display: flex; align-items: center; gap: 16px; padding: 18px 24px 14px; }
.guide-head .kicker { margin: 0; }
.guide-count { margin-left: auto; font-size: .8125rem; color: var(--muted); }
.guide-x { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line-2); border-radius: 50%; background: transparent; cursor: pointer; }
.guide-x svg { width: 16px; height: 16px; stroke: var(--navy); stroke-width: 2; }
.guide-x:hover { background: var(--navy); } .guide-x:hover svg { stroke: var(--cream); }
.guide-progress { height: 3px; margin: 0 24px; background: var(--line); }
.guide-progress span { display: block; height: 100%; background: var(--navy); transform-origin: left; transform: scaleX(.25); transition: transform .4s var(--ease); }
.pc-modal { margin: 0; padding: 28px 24px 8px; gap: 0; }
.pc-modal::before, .pc-modal .pc-step::after { display: none; }
.pc-modal .pc-step { display: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; }
.pc-modal .pc-step.is-cur { display: grid; animation: guide-step .4s var(--ease); }
.pc-modal .pc-step.is-back { animation-name: guide-step-back; }
@keyframes guide-step { from { opacity: 0; transform: translateX(24px); } }
@keyframes guide-step-back { from { opacity: 0; transform: translateX(-24px); } }
.pc-modal .pc-step .pc-txt { order: 0 !important; justify-self: start !important; }
.pc-modal .pc-step .pc-mock { justify-self: end !important; }
.guide-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px 24px; border-top: 1px solid var(--line); margin-top: 24px; }
.guide-dots { display: flex; gap: 8px; }
.guide-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: background-color .2s, transform .2s; }
.guide-dots i.is-on { background: var(--navy); transform: scale(1.25); }
.guide-foot [data-guide-prev][disabled] { visibility: hidden; }
@media (max-width: 760px) {
  .pc-modal .pc-step { grid-template-columns: 1fr; gap: 20px; }
  .pc-modal .pc-step .pc-mock { justify-self: start !important; order: -1; }
  .pc-modal { padding: 20px 16px 4px; }
  .guide-head, .guide-foot { padding-inline: 16px; }
  .guide-progress { margin-inline: 16px; }
  .guide-foot .btn { padding-inline: 14px; }
}
@media (prefers-reduced-motion: reduce) { .guide-dlg[open], .pc-modal .pc-step.is-cur, .hero-guide:hover .hero-guide-play { animation: none; } }
.guide-foot { position: sticky; bottom: 0; z-index: 2; background: var(--cream); }
.guide-head { position: sticky; top: 0; z-index: 2; background: var(--cream); }
@media (max-width: 560px) { .hero2 .h1-d, .hero2 h1 em { white-space: normal; } .hero2 h1 em { margin-left: .4em; } }

/* ==========================================================================
   Fenêtre d'accueil (.gd) : bandeau visuel marine, texte, progression en segments
   ========================================================================== */
.gd { width: min(720px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 16px; overflow: hidden auto;
  background: var(--cream); color: var(--ink); box-shadow: 0 50px 120px -40px rgba(5, 8, 25, .75), 0 0 0 1px rgba(31, 42, 92, .08); }
.gd::backdrop { background: rgba(14, 19, 46, .62); backdrop-filter: blur(4px); }
.gd[open] { animation: gd-in .45s cubic-bezier(.2, .9, .25, 1); }
.gd[open]::backdrop { animation: gd-fade .45s ease; }
@keyframes gd-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes gd-fade { from { opacity: 0; } }

.gd-x { position: absolute; z-index: 3; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: rgba(239, 234, 224, .14); cursor: pointer; transition: background-color .2s; }
.gd-x svg { width: 16px; height: 16px; stroke: var(--cream); stroke-width: 2; }
.gd-x:hover { background: rgba(239, 234, 224, .28); }
.gd-x:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }

/* Bandeau visuel : hauteur fixe, les écrans s'y succèdent sans faire sauter la fenêtre */
.gd-visual { position: relative; height: 300px; overflow: hidden; background: var(--navy);
  background-image: radial-gradient(circle at 50% 120%, rgba(255, 255, 255, .07), transparent 60%); }
.gd-ring { position: absolute; left: 50%; top: 50%; width: 560px; aspect-ratio: 1; transform: translate(-50%, -50%); opacity: .14; }
.gd-stars { width: 100%; height: 100%; animation: spin 180s linear infinite; }
.gd-stars .star { fill: #ffcc00; }
.gd-slide { position: absolute; inset: 0; display: none; place-items: center; padding: 28px 32px; }
.gd-slide.is-cur { display: grid; }
.gd-slide.is-fwd { animation: gd-slide-in .5s cubic-bezier(.2, .9, .25, 1); }
.gd-slide.is-back { animation: gd-slide-back .5s cubic-bezier(.2, .9, .25, 1); }
@keyframes gd-slide-in { from { opacity: 0; transform: translateX(40px); } }
@keyframes gd-slide-back { from { opacity: 0; transform: translateX(-40px); } }
.gd-slide .pc-mock { max-width: 440px; margin: 0; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6); transform: scale(.94); transform-origin: center; }

.gd-welcome { display: grid; justify-items: center; text-align: center; }
.gd-seal { width: 96px; }
.gd-seal .logo, .gd-seal .seal2 { display: block; width: 100%; height: auto; }
.gd-seal .seal2-bg { fill: var(--cream); }
.gd-seal .seal2-c { fill: var(--navy); }
.gd-brand { margin-top: 14px; font: 400 2.25rem/1 var(--display); color: var(--cream); }
.gd-brand span { font: 600 1rem var(--sans); color: #ffcc00; }
.gd-pills { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.gd-pills li { padding: 6px 12px; border: 1px solid rgba(239, 234, 224, .3); border-radius: 999px; font-size: .8125rem; color: var(--cream); }

/* Texte */
.gd-body { position: relative; padding: 28px 36px 8px; min-height: 196px; }
.gd-text { display: none; }
.gd-text.is-cur { display: block; animation: gd-text-in .45s ease both .05s; }
@keyframes gd-text-in { from { opacity: 0; transform: translateY(8px); } }
.gd-k { font: 500 .75rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #9a7400; }
.gd-t { margin-top: 8px; font: 400 clamp(1.5rem, 3.2vw, 1.875rem)/1.15 var(--display); color: var(--navy); text-transform: none; }
.gd-p { margin-top: 10px; font-size: 1rem; line-height: 1.6; color: var(--ink-2); max-width: 36em; }
.gd-tip { display: flex; gap: 10px; margin-top: 14px; padding: 10px 14px; border-radius: 8px; background: var(--cream-2); border: 1px solid var(--line); font-size: .875rem; line-height: 1.5; color: var(--ink-2); }
.gd-tip::before { content: "i"; flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--navy); color: var(--cream); font: 600 .75rem/1 var(--display); margin-top: 1px; }

/* Pied : segments + boutons */
.gd-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 36px 26px; }
.gd-seg { display: flex; gap: 6px; flex: 0 1 200px; }
.gd-seg i { flex: 1; height: 4px; border-radius: 2px; background: var(--line-2); overflow: hidden; position: relative; }
.gd-seg i::after { content: ""; position: absolute; inset: 0; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.gd-seg i.is-done::after, .gd-seg i.is-on::after { transform: scaleX(1); }
.gd.is-welcome .gd-seg { visibility: hidden; }
.gd-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.gd-actions .btn { height: 46px; padding: 0 22px; border-radius: 8px; }
.gd-skip { background: none; border: 0; padding: 8px 6px; font: 500 .9375rem var(--sans); color: var(--muted); cursor: pointer; }
.gd-skip:hover { color: var(--navy); text-decoration: underline; }
.gd [hidden] { display: none !important; }

@media (max-width: 600px) {
  .gd { width: calc(100vw - 16px); border-radius: 14px; }
  .gd-visual { height: 250px; }
  .gd-slide { padding: 18px 16px; }
  .gd-slide .pc-mock { transform: scale(.86); }
  .gd-slide .pc-m3, .gd-slide .pc-m4 { grid-template-columns: 1fr 1fr; }
  .gd-slide .pc-m3 .m3-list li:nth-child(n+3), .gd-slide .m2-log li:nth-child(n+3) { display: none; }
  .gd-body { padding: 22px 20px 4px; min-height: 0; }
  .gd-foot { padding: 16px 20px 20px; flex-wrap: wrap; }
  .gd-seg { flex-basis: 100%; }
  .gd-actions { width: 100%; }
  .gd-actions .btn { flex: 1; padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .gd[open], .gd[open]::backdrop, .gd-slide.is-fwd, .gd-slide.is-back, .gd-text.is-cur { animation: none; }
  .gd-stars { animation: none; }
}

/* --- Plus aucune barre d'accent à gauche des cartes et encadrés (demande de l'utilisateur) --- */
.finding, .finding.is-ok, .finding.is-ko, .diag-todo a, .diag-todo a.is-na { border-left: 1px solid var(--line); }
.callout, .diag-help, .pc-txt .pc-tip, .hv2-pj, .figure { border-left: 0; }
.callout, .diag-help { border-radius: var(--r-sm); }
.figure { padding-left: 0; }
.rs-answer blockquote { border-left: 0; padding-left: 0; }
.m3-list li.is-ko, .m3-list li.is-ok { box-shadow: none; }
.guide-card::before { content: none; }

/* ==========================================================================
   Lisibilité v10 : texte aéré, longueur de ligne maîtrisée, rythme vertical régulier
   ========================================================================== */
body { line-height: 1.7; letter-spacing: .003em; }
/* Longueur de ligne : jamais plus de ~72 caractères pour un paragraphe courant */
/* (appliqué aux seuls paragraphes de texte : jamais aux lignes de liste qui servent de cartes ou de tableaux) */
:where(main) :where(.prose p, .prose li, .prose blockquote, .page-head .lead, .faq details p) { max-width: 72ch; }
:where(main) :where(.lead, .body-lg) { max-width: 40rem; line-height: 1.7; }
/* Titres en capitales : un peu plus d'air entre les lettres et les lignes */
h1, .h-section, .page-head h1, .final h2, .gf-main h3 { letter-spacing: .022em; line-height: 1.06; }
.hero2 h1 { line-height: 1; }
h2, h3 { line-height: 1.22; }
h1 em, .h-section em, .final h2 em, .page-head h1 em { line-height: 1.05; margin-top: .02em; }
/* Petits libellés en capitales : lisibles */
.kicker, .eyebrow { font-size: .8125rem; letter-spacing: .12em; line-height: 1.5; }
/* Rythme des sections */
.section { padding-block: clamp(80px, 9.5vw, 136px); }
.head-2col { margin-bottom: clamp(48px, 5vw, 72px); }
.head-2col .body-lg { line-height: 1.75; }
.page-head { padding-block: clamp(48px, 6.5vw, 96px) clamp(40px, 5vw, 72px); }
.page-head h1 { margin-top: 16px; margin-bottom: 0; }
.page-head .lead { margin-top: 22px; line-height: 1.7; }
.page-head .kicker { margin-bottom: 4px; }

/* Articles (guides, contrôles, autorités, textes, secteurs, lettres) */
.prose { font-size: 1.0625rem; line-height: 1.8; }
.prose p + p, .prose p + ul, .prose ul + p, .prose p + ol, .prose ol + p { margin-top: 1.1em; }
.prose h2 { margin: clamp(56px, 6vw, 80px) 0 20px; line-height: 1.2; }
.prose h3 { margin: 40px 0 12px; line-height: 1.3; }
.prose ul, .prose ol { gap: 12px; margin-block: 1.1em; }
.prose li { line-height: 1.75; padding-left: .2em; }
.prose .callout { margin-block: 28px; padding: 20px 24px; line-height: 1.7; }
.article-intro { margin-bottom: 8px; }
.article-part + .article-part { margin-top: 8px; }

/* Cartes et listes : un peu plus de respiration */
.faq details p, .faq-split details p { line-height: 1.75; }
.faq summary { line-height: 1.45; padding-block: 22px; }
:where(.problem, .guide-card, .res-card, .ctlc, .cover, .sector, .letter, .country) p { line-height: 1.65; }
.footer-legal p, .ft-legal p, .site-footer ul { line-height: 1.6; }
small { line-height: 1.5; }
/* Titres d'articles souvent longs : plus petits pour rester lisibles en capitales */
.article-head h1 { font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.1; max-width: 22em; }
/* Page des contrôles : disque à plat, marine de la charte, sans dégradé ni ombre portée */
.constellation-ring { background: var(--navy); box-shadow: none; border: 1px solid var(--navy); outline: 1px solid var(--line-2); outline-offset: 10px; }
.constellation-ring .orbit { stroke: rgba(239, 234, 224, .18); }
.c-star polygon { fill: #ffcc00; }
.constellation-center small { color: var(--on-navy-2); letter-spacing: .1em; }

/* ==========================================================================
   Cartes alignées : dans une rangée, titres, textes et liens commencent et finissent à la même hauteur
   (chaque carte reprend les rangées de la grille parente grâce à « subgrid »)
   ========================================================================== */
.sectors > .sector, .guide-grid > .guide-card, .problem-grid > .problem, .country-grid > .country { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 10px; align-content: start; }
.c2-list > .c2-item, .charter-list > li, .rk-fam > li, .letter-grid > .letter { display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 10px; align-content: start; }
.contents-list > li, .rp-rules > li { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 10px; align-content: start; }
.res-grid > .res-card { display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: 8px; align-content: start; }
/* Le lien ou la mention de bas de carte se cale en bas de sa rangée commune */
.sector-go, .guide-card-more, .problem-go, .letter-go, .c2-src, .charter-proof { align-self: end; }
.contents-list > li > .mono { grid-row: 1 / span 3; }

/* Méga-menu : chaque contrôle sur une seule ligne, sans trou dans la liste */
.mm3-two { grid-auto-rows: 1fr; column-gap: 16px; }
.mm3-two a { white-space: nowrap; font-size: .8125rem; }
.mm3-two a { overflow: hidden; text-overflow: ellipsis; }
/* Pages « Pour … » : la liste des besoins ne tombe plus à cheval sur le fond marine (texte marine sur marine) */
.sig-head:has(.audience-list) { background: var(--cream); }
.sig-head .audience-list { border-top: 2px solid var(--navy); }
.sig-head .audience-list li { padding: 22px 0; }
.sig-head .audience-list .mono { color: #9a7400; }
/* 12 contrôles du menu : une colonne (une ligne chacun) tant que deux colonnes ne tiennent pas sans couper */
.mm3-two { grid-template-columns: minmax(0, 1fr); }
.mm3-two a { padding-block: 4px; }
@media (min-width: 2200px) { .mm3-two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1240px) { .mm3-two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --- Pages de texte (méthode, mentions, confidentialité) : colonne de lecture + sommaire latéral */
.doc-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(260px, 340px); justify-content: space-between; gap: clamp(40px, 6vw, 120px); align-items: start; }
.doc-main { min-width: 0; }
.doc-main.prose, .doc-main .prose { max-width: none; }
.doc-main .prose + .prose { margin-top: 8px; }
.doc-aside { position: sticky; top: 104px; display: grid; gap: 20px; }
.doc-toc { padding-bottom: 4px; }
.doc-toc-h { font: 500 .75rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); padding-bottom: 12px; border-bottom: 2px solid var(--navy); }
.doc-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.doc-toc li { counter-increment: t; border-bottom: 1px solid var(--line); }
.doc-toc a { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 11px 0; font-size: .9375rem; line-height: 1.4; color: var(--ink-2); text-decoration: none; transition: color .2s; }
.doc-toc a::before { content: counter(t, decimal-leading-zero); font: 400 .75rem/1.9 var(--mono); color: var(--muted); }
.doc-toc a:hover, .doc-toc a.is-on { color: var(--navy); }
.doc-toc a.is-on::before { color: #9a7400; }
.doc-box { padding: 24px; background: var(--navy); color: var(--on-navy-2); }
.doc-box-k { font: 400 1.25rem/1.25 var(--display); color: var(--cream); margin-bottom: 8px; }
.doc-box p { font-size: .9375rem; line-height: 1.6; }
.doc-box .btn { margin-top: 18px; background: var(--cream); color: var(--navy); }
@media (max-width: 1080px) { .doc-layout { grid-template-columns: minmax(0, 1fr); } .doc-aside { position: static; } .doc-toc { display: none; } }
/* Marque ConformEU : « EU » en or dans la signature du pied de page et dans le logo */
.ft-sign { font-size: clamp(3rem, 13.4vw, 13.5rem); }
.ft-eu { color: #e8b800; margin-left: .02em; }
.logo-eu { font: 400 1.75rem/1 var(--display); color: #2f4bb0; letter-spacing: 0; }
.site-footer .logo-eu, .gd-brand span { color: #ffcc00; }
.gd-brand span { font: 400 2.25rem/1 var(--display); }
/* Marque Plainteo */
.logo-eu { font: 600 .95rem var(--sans); color: #2f4bb0; }
.gd-brand span { font: 600 1rem var(--sans); }
.ft-sign { font-size: clamp(3.25rem, 14.2vw, 14rem); }
.ft-sign .ft-o { margin: 0 0 0 .02em; }
/* Dernière section marine collée au pied de page marine : pas de bande crème entre les deux, un filet à la place */
main:has(> section:last-child.section-alt) + .site-footer, main:has(> section:last-child.ph-navy) + .site-footer, main:has(> .es-auth:last-child) + .site-footer { margin-top: 0; }
main:has(> section:last-child.section-alt) + .site-footer .ft-call, main:has(> section:last-child.section-alt) + .site-footer > .ft-grid:first-child { border-top: 1px solid rgba(239, 234, 224, .16); }

/* --- Pages « Pour… » : situations, parcours, livrables -------------------------- */
.pu-cases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pu-cases > li { display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 14px; padding: 28px 28px 30px; background: var(--cream-2); border: 1px solid var(--line-2); }
.pu-n { font: 400 2.5rem/1 var(--display); color: #9a7400; }
.pu-t { font: 400 1.375rem/1.25 var(--display); color: var(--navy); }
.pu-cases p { font-size: .9375rem; line-height: 1.65; color: var(--ink-2); padding-top: 14px; border-top: 1px solid var(--line); }
.pu-cases p small { display: block; margin-bottom: 4px; font: 500 .6875rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pu-cases .pu-get { color: var(--navy); font-weight: 500; }
.pu-flow .pc-txt h3 { color: var(--cream); }
.pu-flow .pc-txt p { color: var(--on-navy-2); }
.pu-flow .pc-txt .pc-tip { background: rgba(239, 234, 224, .08); color: var(--on-navy-2); }
.pu-flow .pc-tip b { color: var(--cream); }
.pu-flow .pc-n { color: #ffcc00; }
.pu-flow .pc::before { border-color: rgba(239, 234, 224, .25); }
.pu-flow .pc-step::after { background: var(--navy); border-color: var(--cream); }
.pu-deliv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 112px); align-items: center; }
.pu-list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 2px solid var(--navy); }
.pu-list li { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 8px 24px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.pu-list b { font: 400 1.125rem/1.3 var(--display); color: var(--navy); }
.pu-list span { font-size: .9375rem; line-height: 1.6; color: var(--ink-2); }
.pu-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; }
.pu-visual { position: relative; display: grid; gap: 20px; justify-items: end; }
.pu-visual .pc-mock:last-child { margin-right: 48px; }
@media (max-width: 1080px) { .pu-cases { grid-template-columns: minmax(0, 1fr); } .pu-cases > li { grid-row: auto; display: flex; flex-direction: column; } .pu-deliv { grid-template-columns: 1fr; } .pu-visual { justify-items: start; } .pu-visual .pc-mock:last-child { margin-right: 0; } }
@media (max-width: 560px) { .pu-list li { grid-template-columns: 1fr; } }
/* Méga-menu : numéros jamais tronqués, colonnes qui remplissent toute la hauteur du volet (plus de vide) */
.mm3-mini .mono { flex: none; width: 1.6em; }
.mm3-two a { display: flex; }
.mm3-lbl { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.mm3 { align-items: stretch; }
.mm3-main { grid-auto-rows: 1fr; align-content: stretch; gap: 12px 16px; }
.mm3-link { height: 100%; margin: 0; padding: 18px; border: 1px solid rgba(239, 234, 224, .14); align-items: flex-start; }
.mm3-link:hover, .mm3-link:focus-visible { border-color: rgba(239, 234, 224, .35); }
.mm3-side { display: flex; flex-direction: column; }
.mm3-side .mm3-mini { flex: 1; grid-auto-rows: 1fr; align-content: stretch; }
.mm3-side .mm3-mini + .mm3-h2 { margin-top: 20px; }
.mm3-side .mm3-more { margin-top: 16px; }
/* Tuiles de chiffres (registre, thèmes) : séparées des tuiles de la carte d'Europe qui portaient le même nom */
.tiles > .tile { grid-column: auto; grid-row: auto; display: grid; place-content: start; gap: 8px; padding: 24px 26px 26px; text-align: left; cursor: default;
  background: var(--cream-2); border: 1px solid var(--line-2); border-radius: 0; font: inherit; color: var(--ink); box-shadow: none; transform: none; }
.tiles > .tile:hover { transform: none; box-shadow: none; }
.tiles > .tile span { opacity: 1; }
.tiles > .tile .tile-label { font: 500 .75rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tiles > .tile .tile-value { font: 400 clamp(2rem, 3.2vw, 2.75rem)/1 var(--display); color: var(--navy); }
.tiles > .tile .tile-value-sm { font-size: 1.5rem; line-height: 1.2; }
.tiles > .tile .tile-sub { font: 400 .875rem/1.5 var(--sans); color: var(--ink-2); }
.tiles { gap: 16px; margin-bottom: 32px; }

/* ==========================================================================
   Pages des contrôles : carte d'identité, maquettes, risque, puis sections pleine largeur
   ========================================================================== */
/* Correctifs : numéros des listes ordonnées, colonne latérale sous l'en-tête */
.prose li { padding-left: 0; }
.prose ul > li { padding-left: .2em; }
.prose .steps-list li { padding: 16px 18px 16px 60px; line-height: 1.65; background: var(--cream-2); border: 1px solid var(--line-2); border-radius: 0; }
.prose .steps-list li::before { left: 16px; top: 15px; background: var(--navy); color: var(--cream); font: 400 .9375rem/28px var(--display); text-align: center; }

.cf-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
.cf-card { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 8px; align-content: start; padding: 20px; background: var(--cream-2); border: 1px solid var(--line-2); }
.cf-pic { width: 44px; height: 44px; color: var(--navy); }
.cf-card small { font: 500 .6875rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cf-card b { font: 400 1.0625rem/1.35 var(--display); color: var(--navy); }
.cf-card span { font-size: .8125rem; line-height: 1.5; color: var(--ink-2); }

.cf-demo { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; margin-bottom: 28px; align-items: stretch; }
.cf-browser { margin: 0; display: flex; flex-direction: column; background: #fffdf8; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.cf-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #e6e1d6; }
.cf-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfc8b9; }
.cf-bar span { margin-left: 8px; padding: 2px 10px; border-radius: 6px; background: #f7f5f0; font: .6875rem var(--mono); color: #5b6180; }
.cf-screen { position: relative; flex: 1; min-height: 170px; display: grid; place-items: center; background: linear-gradient(180deg, #fff, #f6f2ea); overflow: hidden; }
.cf-screen-pic { width: 96px; height: 96px; color: var(--navy); position: relative; z-index: 1; }
.cf-lines { position: absolute; left: 16px; right: 16px; bottom: 14px; display: grid; gap: 6px; }
.cf-lines i { height: 6px; background: rgba(31, 42, 92, .08); }
.cf-lines i.s { width: 60%; }
.cf-scan { position: absolute; left: 0; right: 0; height: 40%; top: -40%; background: linear-gradient(180deg, transparent, rgba(217, 169, 0, .18), transparent); animation: cf-scan 3.2s ease-in-out infinite; }
@keyframes cf-scan { to { top: 100%; } }
.cf-browser figcaption { padding: 12px 14px; font-size: .8125rem; line-height: 1.5; color: var(--ink-2); border-top: 1px solid var(--line); }
.cf-report { position: relative; padding: 18px 20px; background: #fffdf8; border: 1px solid var(--line-2); border-radius: 10px; box-shadow: 0 20px 40px -28px rgba(31, 42, 92, .45); }
.cf-report-top { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--navy); font-size: .6875rem; color: var(--muted); }
.cf-report-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 12px 0 6px; }
.cf-report-h b { font: 400 1.0625rem/1.25 var(--display); color: var(--navy); }
.cf-pill { flex: none; padding: 3px 9px; border-radius: 999px; font: 600 .6875rem/1.4 var(--sans); }
.cf-pill.is-ok { background: #dde6dc; color: #2f6b4f; }
.cf-pill.is-ko { background: #f2d9d4; color: #a8322d; }
.cf-pill.is-na { background: rgba(31, 42, 92, .08); color: var(--muted); }
.cf-k { margin-top: 10px; font: 500 .6875rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cf-v { font-size: .875rem; line-height: 1.6; color: var(--ink); }
.cf-proof { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: .6875rem; color: var(--muted); }
.cf-tag { position: absolute; top: -10px; right: 14px; padding: 2px 8px; background: var(--navy); color: var(--cream); font: 500 .625rem/1.6 var(--sans); letter-spacing: .1em; text-transform: uppercase; }

.cf-risk { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 40px; background: var(--navy); color: var(--on-navy-2); }
.cf-risk > div { display: flex; flex-direction: column; gap: 6px; padding: 20px; }
.cf-risk > div + div { border-left: 1px solid rgba(239, 234, 224, .16); }
.cf-risk small { font: 500 .6875rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-2); }
.cf-risk b { font: 400 1.0625rem/1.35 var(--display); color: var(--cream); }
.cf-risk .cf-risk-v { color: #ffcc00; }
.cf-risk .cf-risk-n { font-size: 2rem; line-height: 1; color: #ffcc00; }
.cf-risk span { font-size: .8125rem; line-height: 1.5; }
.cf-risk a { margin-top: auto; padding-top: 6px; font-size: .8125rem; color: var(--cream); }

.cf-act-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 112px); align-items: center; }
.cf-act-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; }
.section-alt .cf-act-cta .link-arrow { color: var(--cream); }
.cf-act-mock { display: grid; gap: 18px; justify-items: end; }
.cf-act-mock .pc-mock:last-child { margin-right: 56px; }
.cf-sanc .related-sanctions { margin: 0; }
.cf-sanc .mini-sanctions { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.cf-guides .guide-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.cf-nav { padding-top: 0; }
.cf-nav .ctl-strip { margin-top: 0; }
.cf-nav .ctl-strip ol { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cf-nav .pager { margin-top: 24px; }

@media (max-width: 1080px) {
  .cf-act-in { grid-template-columns: 1fr; }
  .cf-act-mock { justify-items: start; } .cf-act-mock .pc-mock:last-child { margin-right: 0; }
  .cf-nav .ctl-strip ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .cf-cards, .cf-demo, .cf-risk { grid-template-columns: 1fr; }
  .cf-card { grid-row: auto; display: flex; flex-direction: column; }
  .cf-risk > div + div { border-left: 0; border-top: 1px solid rgba(239, 234, 224, .16); }
  .cf-nav .ctl-strip ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .cf-scan { animation: none; display: none; } }
/* Pages des contrôles : pastilles des 12 contrôles de même hauteur, décisions alignées, titre de section */
.cf-nav .ctl-strip ol { grid-auto-rows: 1fr; }
.cf-nav .ctl-strip a { height: 100%; align-items: center; }
.cf-nav .ctl-strip h2, .cf-sanc .related-sanctions > h2 { font: 400 clamp(1.75rem, 3vw, 2.5rem)/1.06 var(--display); text-transform: uppercase; letter-spacing: .022em; color: var(--navy); margin-bottom: 28px; }
.mini-sanctions { display: grid; }
.mini-sanctions > li { display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 8px; align-content: start; }
.mini-sanctions > li .ms-src { align-self: end; }

/* ==========================================================================
   Pages des contrôles v2 : modules pleine largeur, sous-menu collant
   ========================================================================== */
.ctl-hero > .wrap { padding-bottom: 8px; }
.ctl-hero h1 { font-size: clamp(2.75rem, 6vw, 5.25rem); line-height: 1; }
.ctl-hero .lead { max-width: 44rem; }
.ctl-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 32px; }
.ctl-hero-link { color: var(--cream); font-weight: 500; text-decoration: none; }
.ctl-hero-link:hover { text-decoration: underline; }
.ctl-hero-meta { font-size: .8125rem; color: var(--on-navy-2); }

.ctl-subnav { position: sticky; top: 74px; z-index: 30; background: rgba(239, 234, 224, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-2); }
.ctl-subnav-in { display: flex; align-items: center; gap: 24px; min-height: 58px; }
.ctl-subnav ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.ctl-subnav ol::-webkit-scrollbar { display: none; }
.ctl-subnav a[data-toc] { display: block; padding: 8px 14px; border-radius: 999px; font-size: .875rem; color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s; }
.ctl-subnav a[data-toc]:hover { background: var(--cream-3); color: var(--navy); }
.ctl-subnav a[data-toc].is-active { background: var(--navy); color: var(--cream); }
.ctl-subnav-cta { flex: none; padding: 9px 16px; background: var(--navy); color: var(--cream); font-size: .875rem; font-weight: 500; text-decoration: none; }
.is-ctl .article-part, .is-ctl #en-bref { scroll-margin-top: 150px; }

.ctl-brief { padding-block: clamp(48px, 6vw, 80px); }
.ctl-brief .cf-cards { margin-bottom: 20px; }
.ctl-brief-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, .95fr); gap: 20px; align-items: stretch; }
.ctl-brief .cf-browser figcaption { display: grid; gap: 4px; }
.ctl-brief .cf-browser figcaption b { font: 400 1rem/1.3 var(--display); color: var(--navy); }
.ctl-risk { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--navy); color: var(--on-navy-2); }
.ctl-risk small { font: 500 .6875rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-2); }
.ctl-risk-v { font: 400 1.25rem/1.3 var(--display); color: #ffcc00; }
.ctl-risk ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .8125rem; line-height: 1.5; }
.ctl-risk ul li::before { content: "+ "; color: #ffcc00; }
.ctl-risk-ex { display: grid; gap: 4px; padding-top: 12px; border-top: 1px solid rgba(239, 234, 224, .16); }
.ctl-risk-ex b { font: 400 2rem/1 var(--display); color: var(--cream); }
.ctl-risk-ex span { font-size: .8125rem; }
.ctl-risk > a { margin-top: auto; font-size: .8125rem; color: var(--cream); }

.ctl-sec { padding-block: clamp(56px, 7vw, 104px); border-top: 1px solid var(--line-2); }
.ctl-sec-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.ctl-sec-head { position: sticky; top: 156px; display: grid; gap: 12px; }
.ctl-sec-n { font: 400 clamp(3rem, 5vw, 4.5rem)/1 var(--display); color: #b88a00; }
.ctl-sec-head h2 { font: 400 clamp(1.75rem, 3vw, 2.5rem)/1.08 var(--display); text-transform: uppercase; letter-spacing: .022em; color: var(--navy); }
.ctl-sec-body { display: grid; gap: 18px; max-width: 760px; }
.ctl-p { font-size: 1.0625rem; line-height: 1.8; color: var(--ink-2); }
.ctl-h { margin-top: 18px; font: 400 1.375rem/1.25 var(--display); color: var(--navy); }
.ctl-note { padding: 20px 24px; background: var(--navy); color: var(--cream); font-size: 1rem; line-height: 1.7; }
.ctl-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line-2); }
.ctl-list li { position: relative; padding: 14px 0 14px 32px; border-bottom: 1px solid var(--line-2); font-size: 1rem; line-height: 1.65; color: var(--ink-2); }
.ctl-list li::before { content: ""; position: absolute; left: 4px; top: 26px; width: 12px; height: 1.5px; background: #b88a00; }
.ctl-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ctl-tiles li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; align-items: start; padding: 20px; background: var(--cream-2); border: 1px solid var(--line-2); }
.ctl-tiles svg { width: 32px; height: 32px; padding: 6px; border-radius: 50%; fill: none; stroke-width: 2.4; stroke-linecap: round; }
.ctl-tiles-ko svg { background: #f2d9d4; stroke: #a8322d; }
.ctl-tiles-ok svg { background: #dde6dc; stroke: #2f6b4f; }
.ctl-tiles p { font-size: .9375rem; line-height: 1.6; color: var(--ink); }
.ctl-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ctl-steps li { display: grid; grid-template-rows: auto 1fr; gap: 12px; padding: 22px; background: #fffdf8; border: 1px solid var(--line-2); }
.ctl-steps-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--cream); font: 400 1.125rem/1 var(--display); }
.ctl-steps p { font-size: .9375rem; line-height: 1.65; color: var(--ink); }

.ctl-check .ctl-sec-head h2 { color: var(--cream); }
.ctl-check .ctl-sec-n { color: #ffcc00; }
.ctl-check-score { font-size: 1rem; color: var(--on-navy-2); }
.ctl-check-score b { font: 400 2.25rem/1 var(--display); color: #ffcc00; }
.ctl-check-help { font-size: .875rem; color: var(--on-navy-2); }
.ctl-checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ctl-checklist label { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; align-items: start; height: 100%; padding: 18px; border: 1px solid rgba(239, 234, 224, .2); color: var(--cream); font-size: .9375rem; line-height: 1.55; cursor: pointer; transition: background-color .2s; }
.ctl-checklist label:hover { background: rgba(239, 234, 224, .06); }
.ctl-checklist input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: #ffcc00; }
.ctl-checklist input:checked + span { color: var(--on-navy-2); text-decoration: line-through; text-decoration-color: rgba(239, 234, 224, .4); }

.ctl-faq { display: grid; border-top: 2px solid var(--navy); }
.ctl-faq details { border-bottom: 1px solid var(--line-2); }
.ctl-faq summary { list-style: none; position: relative; padding: 22px 48px 22px 0; cursor: pointer; font: 400 1.25rem/1.35 var(--display); color: var(--navy); }
.ctl-faq summary::-webkit-details-marker { display: none; }
.ctl-faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; width: 32px; height: 32px; margin-top: -16px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; font: 400 1.25rem/1 var(--sans); color: var(--navy); transition: transform .3s; }
.ctl-faq details[open] summary::after { transform: rotate(45deg); background: var(--navy); color: var(--cream); }
.ctl-faq details p { padding: 0 48px 24px 0; font-size: 1rem; line-height: 1.75; color: var(--ink-2); }
.ctl-sources { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ctl-sources a { display: grid; gap: 6px; height: 100%; padding: 18px 20px; background: var(--cream-2); border: 1px solid var(--line-2); text-decoration: none; transition: border-color .2s; }
.ctl-sources a:hover { border-color: var(--navy); }
.ctl-sources span { font-size: .9375rem; line-height: 1.5; color: var(--navy); font-weight: 500; }
.ctl-sources small { font: .75rem var(--mono); color: var(--muted); }
.ctl-disclaimer { margin-top: 20px; font-size: .8125rem; color: var(--muted); }

/* Méga-menu : contenu des cartes centré verticalement */
.mm3-link { align-items: center; }
.mm3-txt { align-self: center; }

@media (max-width: 1180px) {
  .ctl-brief-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ctl-risk { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .ctl-sec-in { grid-template-columns: 1fr; gap: 24px; }
  .ctl-sec-head { position: static; grid-template-columns: auto 1fr; align-items: end; }
  .ctl-sec-head > p { grid-column: 1 / -1; }
  .ctl-brief-grid, .ctl-tiles, .ctl-steps, .ctl-checklist, .ctl-sources { grid-template-columns: 1fr; }
  .ctl-subnav-cta { display: none; }
  .ctl-subnav { top: 64px; }
}
/* Accueil : la bande « Du constat au dossier » passe en marine (plus de trois sections claires d'affilée) */
.dossier-band.section-alt { background: var(--navy); }
.dossier-band.section-alt .db-points { border-top-color: rgba(239, 234, 224, .3); }
.dossier-band.section-alt .db-points li { border-bottom-color: rgba(239, 234, 224, .16); }
.dossier-band.section-alt .db-points b { color: var(--cream); font: 400 1.0625rem/1.3 var(--display); }
.dossier-band.section-alt .db-points span { color: var(--on-navy-2); }
.dossier-band.section-alt .db-cta .link-arrow { color: var(--cream); }
.dossier-band.section-alt .db-cta .btn-primary { background: var(--cream); color: var(--navy); }
.dossier-band.section-alt .h-section em { color: #f0cf5a; }
.is-ctl .article-body { max-width: none; margin: 0; padding: 0; }
/* Contrastes corrigés (détectés par le contrôle automatique) */
.res-card.res-card-accent { background: var(--navy); border-color: var(--navy); }
.res-card.res-card-accent b { color: var(--cream); }
.res-card.res-card-accent span { color: var(--on-navy-2); }
.section-alt .europe-panel a, .section-alt .europe-panel a:not(.btn):not([class]) { color: var(--navy); }
.section-alt .btn-ghost { color: var(--cream); border-color: rgba(239, 234, 224, .6); background: transparent; }
.section-alt .btn-ghost:hover { background: var(--cream); color: var(--navy); }

/* ==========================================================================
   Sections penchées et textes inclinés
   Les sections marine ont des bords en diagonale (le fond crème apparaît dans les coins),
   les en-têtes marine finissent en biais, le héros est coupé en oblique.
   ========================================================================== */
:root { --slant: clamp(28px, 3.6vw, 64px); }

/* Sections marine : diagonale en haut et en bas */
main .section-alt {
  clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%);
  padding-block: calc(clamp(80px, 9.5vw, 136px) + var(--slant));
  border-block: 0;
}
/* Dernière section marine avant le pied de page (marine lui aussi) : pas de biais en bas */
main > section.section-alt:last-child { clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%); padding-bottom: clamp(80px, 9.5vw, 136px); }
/* Liste à cocher des contrôles : même traitement, avec un rythme un peu plus serré */
main .ctl-check.section-alt { padding-block: calc(clamp(56px, 7vw, 104px) + var(--slant)); }

/* En-têtes de page marine : bas en biais */
.page-head.ph-navy, .rp-head, .rs-head {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%);
  padding-bottom: calc(clamp(40px, 5vw, 72px) + var(--slant));
}
/* Le sous-menu collant des contrôles remonte sous le biais */
.ctl-hero + .ctl-subnav { margin-top: calc(var(--slant) * -.5); }

/* Héros de l'accueil : séparation crème / marine en oblique */
.hero2 { background: linear-gradient(100deg, var(--cream) 0 52%, var(--navy) calc(52% + 1px) 100%); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%); padding-bottom: calc(clamp(48px, 7vw, 104px) + var(--slant)); }
@media (max-width: 1080px) { .hero2 { background: var(--cream); clip-path: none; } }

/* Appel final de l'accueil : l'encart marine est légèrement penché */
.final-sec .final { transform: rotate(-1.2deg); }
.final-sec .final > * { transform: rotate(1.2deg); }

/* Textes inclinés */
h1 em, .h-section em, .final h2 em, .page-head h1 em, .ft-title em, .mm3-t em { transform: rotate(-3deg); transform-origin: 0 50%; }
.kicker { display: inline-block; transform: skewX(-10deg); transform-origin: 0 100%; }
.kicker::before { content: ""; display: inline-block; width: 18px; height: 2px; margin-right: 10px; vertical-align: .3em; background: #d9a900; }
.page-head .kicker, .rp-head .kicker, .rs-head .kicker { display: block; width: max-content; max-width: 100%; }
.ctl-sec-n, .pu-n, .charter-n, .pc-n, .rk-n, .rp-rules span, .c2-year, .pha-numeral b, .rk-fam-n { display: inline-block; transform: rotate(-5deg); transform-origin: 0 100%; }
.cf-tag, .mmc-tag, .rp-st, .rk-auth, .c2-type, .cf-pill { transform: rotate(-2deg); }

@media (prefers-reduced-motion: reduce) { .final-sec .final, .final-sec .final > * { transform: none; } }
@media (max-width: 680px) {
  :root { --slant: 22px; }
  .final-sec .final, .final-sec .final > * { transform: none; }
}
/* Mot calligraphié incliné : un peu d'air au-dessus pour qu'il ne morde pas sur la ligne en capitales */
h1 em, .h-section em, .final h2 em, .page-head h1 em, .ft-title em, .mm3-t em { transform: rotate(-2.5deg); margin-top: .2em; }
.hero2 h1 em { margin-top: .26em; }

/* Motifs de fond : cercle des douze étoiles en filigrane, grain de papier (images intégrées, aucune ressource externe) */
:root {
  --ring-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-125 -125 250 250'%3E%3Cg fill='%23ffcc00' fill-opacity='.13'%3E%3Cpolygon points='0.0,-17.0 3.8,-5.3 16.2,-5.3 6.2,2.0 10.0,13.8 0.0,6.5 -10.0,13.8 -6.2,2.0 -16.2,-5.3 -3.8,-5.3' transform='translate(0.0 -100.0)'/%3E%3Cpolygon points='0.0,-17.0 3.8,-5.3 16.2,-5.3 6.2,2.0 10.0,13.8 0.0,6.5 -10.0,13.8 -6.2,2.0 -16.2,-5.3 -3.8,-5.3' transform='translate(50.0 -86.6)'/%3E%3Cpolygon points='0.0,-17.0 3.8,-5.3 16.2,-5.3 6.2,2.0 10.0,13.8 0.0,6.5 -10.0,13.8 -6.2,2.0 -16.2,-5.3 -3.8,-5.3' transform='translate(86.6 -50.0)'/%3E%3Cpolygon points='0.0,-17.0 3.8,-5.3 16.2,-5.3 6.2,2.0 10.0,13.8 0.0,6.5 -10.0,13.8 -6.2,2.0 -16.2,-5.3 -3.8,-5.3' transform='translate(100.0 0.0)'/%3E%3Cpolygon points='0.0,-17.0 3.8,-5.3 16.2,-5.3 6.2,2.0 10.0,13.8 0.0,6.5 -10.0,13.8 -6.2,2.0 -16.2,-5.3 -3.8,-5.3' transform='translate(86.6 50.0)'/%3E%3Cpolygon points='0.0,-17.0 3.8,-5.3 16.2,-5.3 6.2,2.0 10.0,13.8 0.0,6.5 -10.0,13.8 -6.2,2.0 -16.2,-5.3 -3.8,-5.3' transform='translate(50.0 86.6)'/%3E%3Cpolygon points='0.0,-17.0 3.8,-5.3 16.2,-5.3 6.2,2.0 10.0,13.8 0.0,6.5 -10.0,13.8 -6.2,2.0 -16.2,-5.3 -3.8,-5.3' transform='translate(0.0 100.0)'/%3E%3Cpolygon points='0.0,-17.0 3.8,-5.3 16.2,-5.3 6.2,2.0 10.0,13.8 0.0,6.5 -10.0,13.8 -6.2,2.0 -16.2,-5.3 -3.8,-5.3' transform='translate(-50.0 86.6)'/%3E%3Cpolygon points='0.0,-17.0 3.8,-5.3 16.2,-5.3 6.2,2.0 10.0,13.8 0.0,6.5 -10.0,13.8 -6.2,2.0 -16.2,-5.3 -3.8,-5.3' transform='translate(-86.6 50.0)'/%3E%3Cpolygon points='0.0,-17.0 3.8,-5.3 16.2,-5.3 6.2,2.0 10.0,13.8 0.0,6.5 -10.0,13.8 -6.2,2.0 -16.2,-5.3 -3.8,-5.3' transform='translate(-100.0 0.0)'/%3E%3Cpolygon points='0.0,-17.0 3.8,-5.3 16.2,-5.3 6.2,2.0 10.0,13.8 0.0,6.5 -10.0,13.8 -6.2,2.0 -16.2,-5.3 -3.8,-5.3' transform='translate(-86.6 -50.0)'/%3E%3Cpolygon points='0.0,-17.0 3.8,-5.3 16.2,-5.3 6.2,2.0 10.0,13.8 0.0,6.5 -10.0,13.8 -6.2,2.0 -16.2,-5.3 -3.8,-5.3' transform='translate(-50.0 -86.6)'/%3E%3C/g%3E%3C/svg%3E");
  --ring-navy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-125 -125 250 250'%3E%3Cg fill='%231f2a5c' fill-opacity='.07'%3E%3Cpolygon points='0.0,-17.0 3.8,-5.3 16.2,-5.3 6.2,2.0 10.0,13.8 0.0,6.5 -10.0,13.8 -6.2,2.0 -16.2,-5.3 -3.8,-5.3' transform='translate(0.0 -100.0)'/%3E%3Cpolygon points='0.0,-17.0 3.8,-5.3 16.2,-5.3 6.2,2.0 10.0,13.8 0.0,6.5 -10.0,13.8 -6.2,2.0 -16.2,-5.3 -3.8,-5.3' transform='translate(50.0 -86.6)'/%3E%3Cpolygon points='0.0,-17.0 3.8,-5.3 16.2,-5.3 6.2,2.0 10.0,13.8 0.0,6.5 -10.0,13.8 -6.2,2.0 -16.2,-5.3 -3.8,-5.3' transform='translate(86.6 -50.0)'/%3E%3Cpolygon points='0.0,-17.0 3.8,-5.3 16.2,-5.3 6.2,2.0 10.0,13.8 0.0,6.5 -10.0,13.8 -6.2,2.0 -16.2,-5.3 -3.8,-5.3' transform='translate(100.0 0.0)'/%3E%3Cpolygon points='0.0,-17.0 3.8,-5.3 16.2,-5.3 6.2,2.0 10.0,13.8 0.0,6.5 -10.0,13.8 -6.2,2.0 -16.2,-5.3 -3.8,-5.3' transform='translate(86.6 50.0)'/%3E%3Cpolygon points='0.0,-17.0 3.8,-5.3 16.2,-5.3 6.2,2.0 10.0,13.8 0.0,6.5 -10.0,13.8 -6.2,2.0 -16.2,-5.3 -3.8,-5.3' transform='translate(50.0 86.6)'/%3E%3Cpolygon points='0.0,-17.0 3.8,-5.3 16.2,-5.3 6.2,2.0 10.0,13.8 0.0,6.5 -10.0,13.8 -6.2,2.0 -16.2,-5.3 -3.8,-5.3' transform='translate(0.0 100.0)'/%3E%3Cpolygon points='0.0,-17.0 3.8,-5.3 16.2,-5.3 6.2,2.0 10.0,13.8 0.0,6.5 -10.0,13.8 -6.2,2.0 -16.2,-5.3 -3.8,-5.3' transform='translate(-50.0 86.6)'/%3E%3Cpolygon points='0.0,-17.0 3.8,-5.3 16.2,-5.3 6.2,2.0 10.0,13.8 0.0,6.5 -10.0,13.8 -6.2,2.0 -16.2,-5.3 -3.8,-5.3' transform='translate(-86.6 50.0)'/%3E%3Cpolygon points='0.0,-17.0 3.8,-5.3 16.2,-5.3 6.2,2.0 10.0,13.8 0.0,6.5 -10.0,13.8 -6.2,2.0 -16.2,-5.3 -3.8,-5.3' transform='translate(-100.0 0.0)'/%3E%3Cpolygon points='0.0,-17.0 3.8,-5.3 16.2,-5.3 6.2,2.0 10.0,13.8 0.0,6.5 -10.0,13.8 -6.2,2.0 -16.2,-5.3 -3.8,-5.3' transform='translate(-86.6 -50.0)'/%3E%3Cpolygon points='0.0,-17.0 3.8,-5.3 16.2,-5.3 6.2,2.0 10.0,13.8 0.0,6.5 -10.0,13.8 -6.2,2.0 -16.2,-5.3 -3.8,-5.3' transform='translate(-50.0 -86.6)'/%3E%3C/g%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .12 0 0 0 0 .16 0 0 0 0 .36 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Décors de fond sur tout le site (dans la charte : papier crème, marine, or)
   ========================================================================== */
body { background-image: var(--grain); background-size: 180px 180px; }
/* Sections marine : lueur douce, grand cercle d'étoiles en filigrane, fin quadrillage */
main .section-alt, main .dossier-band.section-alt, .page-head.ph-navy, .rp-head, .rs-head {
  background-image: var(--ring-gold), radial-gradient(90% 120% at 100% 0%, rgba(86, 110, 220, .28), transparent 60%), radial-gradient(70% 90% at 0% 100%, rgba(9, 13, 40, .55), transparent 65%),
    linear-gradient(rgba(239, 234, 224, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(239, 234, 224, .035) 1px, transparent 1px);
  background-size: clamp(420px, 46vw, 760px) auto, auto, auto, 56px 56px, 56px 56px;
  background-position: right -14% top 46%, 0 0, 0 0, 0 0, 0 0;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat, repeat;
}
main .section-alt:nth-of-type(even) { background-position: left -14% top 54%, 0 0, 0 0, 0 0, 0 0; }
.site-footer { background-image: radial-gradient(70% 60% at 100% 0%, rgba(86, 110, 220, .22), transparent 60%), linear-gradient(rgba(239, 234, 224, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(239, 234, 224, .03) 1px, transparent 1px); background-size: auto, 56px 56px, 56px 56px; }
/* Sections crème : cercle d'étoiles marine en filigrane, alterné gauche / droite */
main > .section:not(.section-alt):not(.hero2):not(.es-auth):not(.final-sec):not(.cy-intro):not(.cy-list) { background-image: var(--ring-navy); background-repeat: no-repeat; background-size: clamp(360px, 38vw, 640px) auto; background-position: right -12% top 40%; }
main > .section:not(.section-alt):nth-of-type(odd) { background-position: left -12% top 60%; }
.page-head.ph-cream, .page-head.ph-paper { background-blend-mode: normal; }

/* ==========================================================================
   Maquette animée « suivi d'un dossier » (.sv) et pages d'accès à l'espace
   ========================================================================== */
.sv { position: relative; width: 100%; max-width: 620px; aspect-ratio: 62 / 58; margin-inline: auto; }
.sv-ring { position: absolute; inset: -14% -10% -10% -14%; opacity: .22; pointer-events: none; }
.sv-stars { width: 100%; height: 100%; animation: spin 160s linear infinite; }
.sv-stars .star { fill: #ffcc00; }

.sv-app { position: absolute; left: 0; top: 6%; width: 88%; background: #f7f5f0; border-radius: 12px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(4, 7, 24, .85), 0 0 0 1px rgba(255, 255, 255, .08); animation: sv-float 9s ease-in-out infinite; }
.sv-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #e6e1d6; }
.sv-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfc8b9; }
.sv-bar span { margin-left: 10px; padding: 4px 12px; border-radius: 6px; background: #f7f5f0; font: .6875rem var(--mono); color: #5b6180; }
.sv-body { padding: 16px 18px 18px; display: grid; gap: 12px; }
.sv-top { display: flex; justify-content: space-between; align-items: center; }
.sv-top b { font: 400 1.125rem/1 var(--display); color: var(--navy); }
.sv-chip { padding: 3px 10px; border-radius: 999px; background: var(--navy); color: var(--cream); font: 500 .6875rem/1.5 var(--sans); }
.sv-dossier { padding: 14px 16px 16px; background: #fff; border: 1px solid rgba(31, 42, 92, .14); border-radius: 8px; }
.sv-d-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; }
.sv-d-head .mono { grid-column: 1; font-size: .625rem; color: var(--muted); }
.sv-d-head b { grid-column: 1; font: 400 1rem/1.2 var(--display); color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-status { grid-column: 2; grid-row: 1 / span 2; position: relative; display: grid; min-width: 118px; height: 24px; }
.sv-st { grid-area: 1 / 1; display: grid; place-items: center; padding: 0 10px; border-radius: 999px; font: 600 .6875rem/1 var(--sans); font-style: normal; white-space: nowrap; background: #dde6dc; color: #2f6b4f; opacity: 0; }
.sv-st-4, .sv-st-5 { background: var(--navy); color: #ffcc00; }
.sv-status-fixed em { display: grid; place-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: rgba(31, 42, 92, .08); color: var(--navy); font: 600 .6875rem/1 var(--sans); font-style: normal; white-space: nowrap; }

.sv-steps { position: relative; list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.sv-steps::before, .sv-steps::after { content: ""; position: absolute; left: 10%; right: 10%; top: 8px; height: 2px; background: rgba(31, 42, 92, .12); }
.sv-steps::after { background: #d9a900; transform-origin: left; transform: scaleX(1); animation: sv-line 14s cubic-bezier(.6, 0, .2, 1) infinite; }
.sv-step { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; }
.sv-step i { width: 18px; height: 18px; border-radius: 50%; background: #d9a900; border: 3px solid #fff; box-shadow: 0 0 0 1px #d9a900; }
.sv-step span { font-size: .625rem; line-height: 1.3; text-align: center; color: var(--navy); font-weight: 500; }
.sv-files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.sv-file { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px 5px 5px; border: 1px solid rgba(31, 42, 92, .16); border-radius: 6px; font-size: .6875rem; color: var(--ink); background: #fffdf8; }
.sv-file b { padding: 2px 5px; border-radius: 3px; background: #a8322d; color: #fff; font: 600 .5625rem/1.3 var(--sans); letter-spacing: .06em; }
.sv-file-3 b { background: var(--navy); }
.sv-dossier-2 { opacity: .75; }
.sv-mini { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 10px; }
.sv-mini i { height: 4px; border-radius: 2px; background: #d9a900; }

.sv-sheet { position: absolute; right: 0; top: 0; width: 34%; padding: 14px 14px 12px; background: #fffdf8; border-radius: 3px; transform: rotate(5deg);
  box-shadow: 0 26px 50px -20px rgba(4, 7, 24, .8); animation: sv-float 11s ease-in-out -3s infinite; display: grid; gap: 8px; }
.sv-sheet small { font: 400 .75rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .04em; color: var(--navy); padding-bottom: 6px; border-bottom: 1.5px solid var(--navy); }
.sv-lines { display: grid; gap: 5px; }
.sv-lines i { height: 5px; background: rgba(31, 42, 92, .1); }
.sv-lines i.s { width: 60%; }
.sv-sheet svg { width: 100%; height: 34px; }
.sv-sheet path { fill: none; stroke: #1b2a6b; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; animation: sv-sign 14s ease-in-out infinite; }
.sv-sheet em { font: 500 .5625rem/1 var(--sans); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: #2f6b4f; }

.sv-toast { position: absolute; right: 2%; bottom: 4%; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: var(--cream); border-radius: 10px;
  box-shadow: 0 24px 48px -18px rgba(4, 7, 24, .85); animation: sv-toast 14s ease-in-out infinite; }
.sv-toast svg { flex: none; width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: #2f6b4f; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.sv-toast span { display: grid; gap: 2px; }
.sv-toast b { font: 600 .8125rem/1.2 var(--sans); color: var(--navy); }
.sv-toast small { font-size: .6875rem; color: var(--ink-2); }

/* Boucle de 14 s : une étape toutes les 2,2 s, pause, puis retour au début */
@keyframes sv-float { 50% { translate: 0 -10px; } }
@keyframes sv-line { 0%, 6% { transform: scaleX(0); } 16%, 22% { transform: scaleX(.25); } 32%, 38% { transform: scaleX(.5); } 48%, 54% { transform: scaleX(.75); } 64%, 94% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes sv-dot-1 { 0%, 3% { background: #fff; box-shadow: 0 0 0 1px rgba(31, 42, 92, .25); } 5%, 96% { background: #d9a900; box-shadow: 0 0 0 1px #d9a900, 0 0 0 6px rgba(217, 169, 0, .18); } 100% { background: #fff; box-shadow: 0 0 0 1px rgba(31, 42, 92, .25); } }
@keyframes sv-dot-2 { 0%, 16% { background: #fff; box-shadow: 0 0 0 1px rgba(31, 42, 92, .25); } 19%, 96% { background: #d9a900; box-shadow: 0 0 0 1px #d9a900, 0 0 0 6px rgba(217, 169, 0, .18); } 100% { background: #fff; box-shadow: 0 0 0 1px rgba(31, 42, 92, .25); } }
@keyframes sv-dot-3 { 0%, 32% { background: #fff; box-shadow: 0 0 0 1px rgba(31, 42, 92, .25); } 35%, 96% { background: #d9a900; box-shadow: 0 0 0 1px #d9a900, 0 0 0 6px rgba(217, 169, 0, .18); } 100% { background: #fff; box-shadow: 0 0 0 1px rgba(31, 42, 92, .25); } }
@keyframes sv-dot-4 { 0%, 48% { background: #fff; box-shadow: 0 0 0 1px rgba(31, 42, 92, .25); } 51%, 96% { background: #d9a900; box-shadow: 0 0 0 1px #d9a900, 0 0 0 6px rgba(217, 169, 0, .18); } 100% { background: #fff; box-shadow: 0 0 0 1px rgba(31, 42, 92, .25); } }
@keyframes sv-dot-5 { 0%, 64% { background: #fff; box-shadow: 0 0 0 1px rgba(31, 42, 92, .25); } 67%, 96% { background: #d9a900; box-shadow: 0 0 0 1px #d9a900, 0 0 0 6px rgba(217, 169, 0, .18); } 100% { background: #fff; box-shadow: 0 0 0 1px rgba(31, 42, 92, .25); } }
.sv-step-1 i { animation: sv-dot-1 14s infinite; } .sv-step-2 i { animation: sv-dot-2 14s infinite; } .sv-step-3 i { animation: sv-dot-3 14s infinite; }
.sv-step-4 i { animation: sv-dot-4 14s infinite; } .sv-step-5 i { animation: sv-dot-5 14s infinite; }
@keyframes sv-st-1 { 0%, 3% { opacity: 0; } 5%, 17% { opacity: 1; } 19%, 100% { opacity: 0; } }
@keyframes sv-st-2 { 0%, 17% { opacity: 0; } 19%, 33% { opacity: 1; } 35%, 100% { opacity: 0; } }
@keyframes sv-st-3 { 0%, 33% { opacity: 0; } 35%, 49% { opacity: 1; } 51%, 100% { opacity: 0; } }
@keyframes sv-st-4 { 0%, 49% { opacity: 0; } 51%, 65% { opacity: 1; } 67%, 100% { opacity: 0; } }
@keyframes sv-st-5 { 0%, 65% { opacity: 0; } 67%, 96% { opacity: 1; } 100% { opacity: 0; } }
.sv-st-1 { animation: sv-st-1 14s infinite; } .sv-st-2 { animation: sv-st-2 14s infinite; } .sv-st-3 { animation: sv-st-3 14s infinite; }
.sv-st-4 { animation: sv-st-4 14s infinite; } .sv-st-5 { animation: sv-st-5 14s infinite; opacity: 1; }
@keyframes sv-file-1 { 0%, 5% { opacity: 0; translate: 0 6px; } 8%, 96% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
@keyframes sv-file-2 { 0%, 19% { opacity: 0; translate: 0 6px; } 22%, 96% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
@keyframes sv-file-4 { 0%, 67% { opacity: 0; translate: 0 6px; } 70%, 96% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
.sv-file-1, .sv-file-3 { animation: sv-file-1 14s infinite; } .sv-file-2 { animation: sv-file-2 14s infinite; } .sv-file-4 { animation: sv-file-4 14s infinite; }
@keyframes sv-sign { 0%, 12% { stroke-dashoffset: 1; } 22%, 96% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@keyframes sv-toast { 0%, 52% { opacity: 0; transform: translateY(14px) scale(.96); } 56%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(14px) scale(.96); } }

/* Pages d'accès à l'espace : formulaire sur papier à gauche, maquette sur marine en biais à droite */
main .es-auth { position: relative; overflow: hidden; padding-block: clamp(56px, 7vw, 112px);
  background: linear-gradient(100deg, transparent 0 47%, var(--navy) calc(47% + 1px) 100%); }
main .es-auth::before { content: ""; position: absolute; inset: 0 0 0 47%; pointer-events: none;
  background: radial-gradient(80% 90% at 80% 10%, rgba(86, 110, 220, .35), transparent 60%), linear-gradient(rgba(239, 234, 224, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(239, 234, 224, .04) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px; clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%); }
main .es-auth > .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); column-gap: clamp(48px, 9vw, 160px); row-gap: 28px; align-items: center; max-width: var(--wrap); }
main .es-auth > .wrap > * { grid-column: 1; }
main .es-auth > .wrap > .sv { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
main .es-auth .es-card { background: #fffdf8; box-shadow: 0 30px 60px -36px rgba(31, 42, 92, .5); border-color: var(--line-2); }
main .es-auth .es-card .btn-primary { width: 100%; justify-content: center; height: 52px; }

@media (max-width: 1080px) {
  main .es-auth { background: none; }
  main .es-auth::before { display: none; }
  main .es-auth > .wrap { grid-template-columns: minmax(0, 1fr); }
  main .es-auth > .wrap > .sv { grid-column: 1; grid-row: auto; order: 9; margin-top: 24px; padding: 28px 16px 40px; background: var(--navy); max-width: none; aspect-ratio: auto; display: grid; }
  main .es-auth > .wrap > .sv .sv-app { position: relative; top: 0; width: 100%; }
  main .es-auth > .wrap > .sv .sv-sheet { display: none; }
  main .es-auth > .wrap > .sv .sv-toast { position: relative; right: auto; bottom: auto; margin-top: 14px; justify-self: start; }
  .sv-ring { inset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sv *, .sv-steps::after { animation: none !important; }
  .sv-st-5, .sv-file, .sv-toast { opacity: 1; }
}
main .es-auth .es-auth-intro h1 { font-size: clamp(2.5rem, 4.6vw, 4.25rem); line-height: 1; }
main .es-auth .es-auth-intro h1 em { font-size: .9em; margin: .2em 0 0 .5em; }
main .es-auth .es-auth-intro .lead { max-width: 30rem; }

/* --- Frise de l'accueil v3 : piste à cinq jalons alignés sur les colonnes -------- */
.c2-track { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.c2-track li { position: relative; height: 34px; display: flex; align-items: center; }
.c2-track li::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: linear-gradient(90deg, var(--c-acc), var(--c-acc)) no-repeat 0 0 / 100% 100%, var(--c-hair); }
.c2-track li:last-child::before { background: linear-gradient(90deg, var(--c-acc), transparent); }
.c2-track i { position: relative; z-index: 1; flex: none; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--c-bg); border: 2px solid var(--c-acc); box-shadow: 0 0 0 5px var(--c-bg); }
.c2-track li:last-child i { background: var(--c-acc); box-shadow: 0 0 0 5px var(--c-bg), 0 0 0 6px var(--c-acc); animation: c2-pulse 2.4s ease-in-out infinite; }
@keyframes c2-pulse { 50% { box-shadow: 0 0 0 5px var(--c-bg), 0 0 0 12px rgba(255, 204, 0, 0); } }
.c2-track span { position: relative; z-index: 1; margin: 0 auto; padding: 4px 12px; border: 1px solid var(--c-hair); border-radius: 999px; background: var(--c-bg); font: 500 .6875rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--c-soft); white-space: nowrap; }
.c2-track span.is-now { color: var(--c-acc); border-color: var(--c-acc); }
.c2-item::before { display: none; }
.c2-sum { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .875rem; color: var(--c-mute); }
.c2-sum b { font: 400 1.25rem/1 var(--display); color: var(--c-ink); margin-right: 4px; }
.js .chrono2.rv .c2-track li::before { transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); transition-delay: calc(.2s + var(--i) * .25s); }
.js .chrono2.rv .c2-track i, .js .chrono2.rv .c2-track span { opacity: 0; scale: .6; transition: opacity .4s var(--ease), scale .5s var(--ease); transition-delay: calc(.1s + var(--i) * .25s); }
.js .chrono2.rv.is-in .c2-track li::before { transform: none; }
.js .chrono2.rv.is-in .c2-track i, .js .chrono2.rv.is-in .c2-track span { opacity: 1; scale: 1; }
.js .chrono2.rv .c2-item { transition-delay: calc(.3s + var(--i) * .25s); }
@media (max-width: 1080px) { .c2-track { display: none; } .c2-item::before { display: block; } }
@media (prefers-reduced-motion: reduce) { .c2-track li:last-child i { animation: none; } .js .chrono2.rv .c2-track li::before, .js .chrono2.rv .c2-track i, .js .chrono2.rv .c2-track span { transform: none; opacity: 1; scale: 1; transition: none; } }

/* ==========================================================================
   Maquettes v2 : fenêtres réalistes, scènes animées en boucle (10 s)
   ========================================================================== */
.pc-mock { padding: 0; overflow: hidden; border-radius: 12px; border: 1px solid rgba(31, 42, 92, .18); background: #fffdf8;
  box-shadow: 0 2px 0 rgba(255, 255, 255, .7) inset, 0 36px 70px -34px rgba(13, 19, 52, .65), 0 12px 24px -18px rgba(13, 19, 52, .4);
  transition: translate .5s var(--ease), box-shadow .5s var(--ease), rotate .5s var(--ease); }
.pc-mock:hover { translate: 0 -6px; box-shadow: 0 2px 0 rgba(255, 255, 255, .7) inset, 0 50px 90px -36px rgba(13, 19, 52, .7), 0 16px 30px -18px rgba(13, 19, 52, .45); }
.pc-step:nth-child(odd) .pc-mock { rotate: 1.2deg; } .pc-step:nth-child(even) .pc-mock { rotate: -1.2deg; }
.pc-step .pc-mock:hover { rotate: 0deg; }
.mk-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: linear-gradient(#ece7dc, #e3ddd0); border-bottom: 1px solid rgba(31, 42, 92, .12); }
.mk-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3a59f; } .mk-bar i:nth-child(2) { background: #dcc48a; } .mk-bar i:nth-child(3) { background: #a9c2a8; }
.mk-bar span { flex: 1; min-width: 0; margin-left: 10px; padding: 4px 12px; border-radius: 6px; background: #f8f6f1; font: .6875rem/1.3 var(--mono); color: #5b6180; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-body { padding: 20px 20px 22px; }
.pc-m2 .m2-bar { display: none; }

/* 1. L'adresse se tape, le curseur clique */
.m1-typed { display: inline-block; vertical-align: bottom; overflow: hidden; white-space: nowrap; animation: m1-type 10s steps(26, end) infinite; }
@keyframes m1-type { 0%, 6% { max-width: 0; } 34%, 92% { max-width: 26ch; } 100% { max-width: 0; } }
.pc-m1 .pc-cursor { left: 30%; top: 48%; animation: m1-cursor 10s var(--ease) infinite; }
@keyframes m1-cursor { 0%, 34% { left: 30%; top: 50%; } 48%, 60% { left: 82%; top: 56%; } 52% { scale: .82; } 56% { scale: 1; } 70%, 100% { left: 60%; top: 86%; } }
.m1-btn { animation: m1-btn 10s infinite; }
@keyframes m1-btn { 0%, 50% { background: var(--navy); } 53% { background: #101737; } 58%, 92% { background: #2f6b4f; } 100% { background: var(--navy); } }
.m1-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 16px; }
.m1-steps span { padding: 7px 4px; text-align: center; border-radius: 6px; background: rgba(31, 42, 92, .06); font: 500 .6875rem/1.2 var(--sans); color: var(--muted); animation: m1-step 10s infinite; }
.m1-steps span:nth-child(1) { animation-delay: .0s; } .m1-steps span:nth-child(2) { animation-delay: .5s; } .m1-steps span:nth-child(3) { animation-delay: 1s; } .m1-steps span:nth-child(4) { animation-delay: 1.5s; }
@keyframes m1-step { 0%, 56% { background: rgba(31, 42, 92, .06); color: var(--muted); } 60%, 84% { background: var(--navy); color: var(--cream); } 90%, 100% { background: rgba(31, 42, 92, .06); color: var(--muted); } }

/* 2. La page est balayée, les relevés tombent un à un */
.m2-page { overflow: hidden; }
.m2-scan { position: absolute; left: 0; right: 0; top: -30%; height: 30%; background: linear-gradient(180deg, transparent, rgba(217, 169, 0, .28)); border-bottom: 1.5px solid #d9a900; animation: m2-scan 10s ease-in-out infinite; }
@keyframes m2-scan { 0%, 4% { top: -30%; } 40%, 100% { top: 100%; } }
.m2-banner { animation: m2-banner 10s var(--ease) infinite; }
@keyframes m2-banner { 0%, 4% { translate: 0 130%; } 12%, 94% { translate: 0 0; } 100% { translate: 0 130%; } }
.m2-log li { animation: m2-log 10s var(--ease) infinite; }
.m2-log li:nth-child(1) { --t: 22%; animation-name: m2-log-1; } .m2-log li:nth-child(2) { animation-name: m2-log-2; } .m2-log li:nth-child(3) { animation-name: m2-log-3; }
@keyframes m2-log-1 { 0%, 20% { opacity: 0; translate: -10px 0; } 26%, 94% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
@keyframes m2-log-2 { 0%, 34% { opacity: 0; translate: -10px 0; } 40%, 94% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
@keyframes m2-log-3 { 0%, 48% { opacity: 0; translate: -10px 0; } 54%, 94% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
.m2-count { flex: none; padding: 3px 9px; border-radius: 999px; background: #a8322d; color: #fff; font: 600 .625rem/1.4 var(--sans); font-style: normal; animation: m2-count 10s infinite; }
@keyframes m2-count { 0%, 52% { opacity: 0; scale: .7; } 57%, 94% { opacity: 1; scale: 1; } 100% { opacity: 0; } }

/* 3. Les étoiles s'allument ou s'éteignent, les points du constat arrivent */
.pc-m3 { display: block; }
.m3-body { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: center; }
.m3-stars .star polygon { animation: m3-star 10s var(--ease) infinite; animation-delay: calc(var(--i) * .22s); transform-box: fill-box; transform-origin: center; }
@keyframes m3-star { 0%, 4% { opacity: 0; transform: scale(.2) rotate(-40deg); } 12%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(.2); } }
.m3-ring b { animation: m3-num 10s var(--ease) infinite; }
@keyframes m3-num { 0%, 30% { opacity: 0; scale: .7; } 38%, 92% { opacity: 1; scale: 1; } 100% { opacity: 0; } }
.m3-list li { animation: m3-row 10s var(--ease) infinite; }
.m3-list li:nth-child(1) { animation-name: m3-row-1; } .m3-list li:nth-child(2) { animation-name: m3-row-2; } .m3-list li:nth-child(3) { animation-name: m3-row-3; }
@keyframes m3-row-1 { 0%, 34% { opacity: 0; translate: 14px 0; } 40%, 92% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
@keyframes m3-row-2 { 0%, 44% { opacity: 0; translate: 14px 0; } 50%, 92% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
@keyframes m3-row-3 { 0%, 54% { opacity: 0; translate: 14px 0; } 60%, 92% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
.m3-list li.is-ko { border-left: 0; background: #f6e7e3; } .m3-list li.is-ok { background: #e6eee4; }

/* 4. Les champs se remplissent, la signature se trace, le mandat est signé */
.pc-m4 { display: block; }
.m4-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: end; }
.m4-f i { overflow: hidden; }
.m4-f i span { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; max-width: 24ch; }
.m4-f:nth-child(1) i span { animation: m4-fill-1 10s steps(14, end) infinite; } .m4-f:nth-child(2) i span { animation: m4-fill-2 10s steps(18, end) infinite; }
@keyframes m4-fill-1 { 0%, 4% { max-width: 0; } 18%, 94% { max-width: 24ch; } 100% { max-width: 0; } }
@keyframes m4-fill-2 { 0%, 20% { max-width: 0; } 36%, 94% { max-width: 24ch; } 100% { max-width: 0; } }
.m4-sig path { stroke-dasharray: 1; animation: m4-sign 10s ease-in-out infinite; }
@keyframes m4-sign { 0%, 40% { stroke-dashoffset: 1; } 58%, 94% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
.m4-pdf { animation: m4-pdf 10s var(--ease) infinite; }
@keyframes m4-pdf { 0%, 58% { translate: 0 0; } 62% { translate: 0 -5px; } 66%, 100% { translate: 0 0; } }
.m4-go { position: relative; display: grid; animation: m4-go 10s infinite; }
.m4-go > span { grid-area: 1 / 1; }
.m4-go-b { opacity: 0; animation: m4-go-b 10s infinite; } .m4-go-a { animation: m4-go-a 10s infinite; }
@keyframes m4-go { 0%, 60% { background: var(--cream); color: var(--navy); } 64%, 94% { background: #2f6b4f; color: #fff; } 100% { background: var(--cream); color: var(--navy); } }
@keyframes m4-go-a { 0%, 60% { opacity: 1; } 64%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes m4-go-b { 0%, 60% { opacity: 0; } 64%, 94% { opacity: 1; } 100% { opacity: 0; } }

/* Dans la fenêtre d'accueil : pas de rotation, taille réduite */
.gd-slide .pc-mock { rotate: 0deg; }
.cf-act-mock .pc-mock:first-child, .pu-visual .pc-mock:first-child { rotate: -1.5deg; } .cf-act-mock .pc-mock:last-child, .pu-visual .pc-mock:last-child { rotate: 1.5deg; }
@media (max-width: 480px) { .m3-body, .m4-body { grid-template-columns: 1fr; } .gd-slide .m3-body, .gd-slide .m4-body { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .pc-mock *, .pc-mock { animation: none !important; rotate: 0deg; }
  .m1-typed, .m4-f i span { max-width: none; } .m4-go-b { display: none; }
}

/* Filigranes au trait (plus fins que les étoiles pleines, jugées trop lourdes) */
:root { --ring-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-125 -125 250 250'%3E%3Ccircle r='100' fill='none' stroke='%23ffcc00' stroke-opacity='.2' stroke-width='.4' stroke-dasharray='1 3'/%3E%3Cg fill='none' stroke='%23ffcc00' stroke-opacity='.2' stroke-width='.7' stroke-linejoin='round'%3E%3Cpolygon points='0.0,-15.0 3.4,-4.7 14.3,-4.6 5.5,1.8 8.8,12.1 0.0,5.8 -8.8,12.1 -5.5,1.8 -14.3,-4.6 -3.4,-4.7' transform='translate(0.0 -100.0)'/%3E%3Cpolygon points='0.0,-15.0 3.4,-4.7 14.3,-4.6 5.5,1.8 8.8,12.1 0.0,5.8 -8.8,12.1 -5.5,1.8 -14.3,-4.6 -3.4,-4.7' transform='translate(50.0 -86.6)'/%3E%3Cpolygon points='0.0,-15.0 3.4,-4.7 14.3,-4.6 5.5,1.8 8.8,12.1 0.0,5.8 -8.8,12.1 -5.5,1.8 -14.3,-4.6 -3.4,-4.7' transform='translate(86.6 -50.0)'/%3E%3Cpolygon points='0.0,-15.0 3.4,-4.7 14.3,-4.6 5.5,1.8 8.8,12.1 0.0,5.8 -8.8,12.1 -5.5,1.8 -14.3,-4.6 -3.4,-4.7' transform='translate(100.0 0.0)'/%3E%3Cpolygon points='0.0,-15.0 3.4,-4.7 14.3,-4.6 5.5,1.8 8.8,12.1 0.0,5.8 -8.8,12.1 -5.5,1.8 -14.3,-4.6 -3.4,-4.7' transform='translate(86.6 50.0)'/%3E%3Cpolygon points='0.0,-15.0 3.4,-4.7 14.3,-4.6 5.5,1.8 8.8,12.1 0.0,5.8 -8.8,12.1 -5.5,1.8 -14.3,-4.6 -3.4,-4.7' transform='translate(50.0 86.6)'/%3E%3Cpolygon points='0.0,-15.0 3.4,-4.7 14.3,-4.6 5.5,1.8 8.8,12.1 0.0,5.8 -8.8,12.1 -5.5,1.8 -14.3,-4.6 -3.4,-4.7' transform='translate(0.0 100.0)'/%3E%3Cpolygon points='0.0,-15.0 3.4,-4.7 14.3,-4.6 5.5,1.8 8.8,12.1 0.0,5.8 -8.8,12.1 -5.5,1.8 -14.3,-4.6 -3.4,-4.7' transform='translate(-50.0 86.6)'/%3E%3Cpolygon points='0.0,-15.0 3.4,-4.7 14.3,-4.6 5.5,1.8 8.8,12.1 0.0,5.8 -8.8,12.1 -5.5,1.8 -14.3,-4.6 -3.4,-4.7' transform='translate(-86.6 50.0)'/%3E%3Cpolygon points='0.0,-15.0 3.4,-4.7 14.3,-4.6 5.5,1.8 8.8,12.1 0.0,5.8 -8.8,12.1 -5.5,1.8 -14.3,-4.6 -3.4,-4.7' transform='translate(-100.0 0.0)'/%3E%3Cpolygon points='0.0,-15.0 3.4,-4.7 14.3,-4.6 5.5,1.8 8.8,12.1 0.0,5.8 -8.8,12.1 -5.5,1.8 -14.3,-4.6 -3.4,-4.7' transform='translate(-86.6 -50.0)'/%3E%3Cpolygon points='0.0,-15.0 3.4,-4.7 14.3,-4.6 5.5,1.8 8.8,12.1 0.0,5.8 -8.8,12.1 -5.5,1.8 -14.3,-4.6 -3.4,-4.7' transform='translate(-50.0 -86.6)'/%3E%3C/g%3E%3C/svg%3E"); --ring-navy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-125 -125 250 250'%3E%3Ccircle r='100' fill='none' stroke='%231f2a5c' stroke-opacity='.2' stroke-width='.4' stroke-dasharray='1 3'/%3E%3Cg fill='none' stroke='%231f2a5c' stroke-opacity='.2' stroke-width='.6' stroke-linejoin='round'%3E%3Cpolygon points='0.0,-15.0 3.4,-4.7 14.3,-4.6 5.5,1.8 8.8,12.1 0.0,5.8 -8.8,12.1 -5.5,1.8 -14.3,-4.6 -3.4,-4.7' transform='translate(0.0 -100.0)'/%3E%3Cpolygon points='0.0,-15.0 3.4,-4.7 14.3,-4.6 5.5,1.8 8.8,12.1 0.0,5.8 -8.8,12.1 -5.5,1.8 -14.3,-4.6 -3.4,-4.7' transform='translate(50.0 -86.6)'/%3E%3Cpolygon points='0.0,-15.0 3.4,-4.7 14.3,-4.6 5.5,1.8 8.8,12.1 0.0,5.8 -8.8,12.1 -5.5,1.8 -14.3,-4.6 -3.4,-4.7' transform='translate(86.6 -50.0)'/%3E%3Cpolygon points='0.0,-15.0 3.4,-4.7 14.3,-4.6 5.5,1.8 8.8,12.1 0.0,5.8 -8.8,12.1 -5.5,1.8 -14.3,-4.6 -3.4,-4.7' transform='translate(100.0 0.0)'/%3E%3Cpolygon points='0.0,-15.0 3.4,-4.7 14.3,-4.6 5.5,1.8 8.8,12.1 0.0,5.8 -8.8,12.1 -5.5,1.8 -14.3,-4.6 -3.4,-4.7' transform='translate(86.6 50.0)'/%3E%3Cpolygon points='0.0,-15.0 3.4,-4.7 14.3,-4.6 5.5,1.8 8.8,12.1 0.0,5.8 -8.8,12.1 -5.5,1.8 -14.3,-4.6 -3.4,-4.7' transform='translate(50.0 86.6)'/%3E%3Cpolygon points='0.0,-15.0 3.4,-4.7 14.3,-4.6 5.5,1.8 8.8,12.1 0.0,5.8 -8.8,12.1 -5.5,1.8 -14.3,-4.6 -3.4,-4.7' transform='translate(0.0 100.0)'/%3E%3Cpolygon points='0.0,-15.0 3.4,-4.7 14.3,-4.6 5.5,1.8 8.8,12.1 0.0,5.8 -8.8,12.1 -5.5,1.8 -14.3,-4.6 -3.4,-4.7' transform='translate(-50.0 86.6)'/%3E%3Cpolygon points='0.0,-15.0 3.4,-4.7 14.3,-4.6 5.5,1.8 8.8,12.1 0.0,5.8 -8.8,12.1 -5.5,1.8 -14.3,-4.6 -3.4,-4.7' transform='translate(-86.6 50.0)'/%3E%3Cpolygon points='0.0,-15.0 3.4,-4.7 14.3,-4.6 5.5,1.8 8.8,12.1 0.0,5.8 -8.8,12.1 -5.5,1.8 -14.3,-4.6 -3.4,-4.7' transform='translate(-100.0 0.0)'/%3E%3Cpolygon points='0.0,-15.0 3.4,-4.7 14.3,-4.6 5.5,1.8 8.8,12.1 0.0,5.8 -8.8,12.1 -5.5,1.8 -14.3,-4.6 -3.4,-4.7' transform='translate(-86.6 -50.0)'/%3E%3Cpolygon points='0.0,-15.0 3.4,-4.7 14.3,-4.6 5.5,1.8 8.8,12.1 0.0,5.8 -8.8,12.1 -5.5,1.8 -14.3,-4.6 -3.4,-4.7' transform='translate(-50.0 -86.6)'/%3E%3C/g%3E%3C/svg%3E"); }

/* ==========================================================================
   Vivant v11 : bandeau défilant, héros, FAQ, grilles pleines, pastilles, couche de vie
   ========================================================================== */

/* --- Bande des sanctions : ruban de papier ivoire pose sur la jonction heros / section, parallele aux biais --- */
.tape { position: relative; z-index: 3; display: flex; align-items: stretch; height: 64px; margin-block: calc(var(--slant) * -.5 - 10px);
  background: #fffdf8 var(--grain) 0 0 / 180px 180px; color: var(--navy); text-decoration: none; 
  box-shadow: inset 0 2px 0 var(--navy), inset 0 -2px 0 var(--navy), 0 22px 34px -24px rgba(9, 13, 38, .85); overflow: hidden; transform: skewY(-2deg); }
@supports (transform: skewY(atan2(1px, 100px))) { .tape { transform: skewY(calc(atan2(var(--slant), 100vw) * -1)); } }
.tape:hover { text-decoration: none; }
.tape::before { content: ""; position: absolute; inset: 6px 0; border-block: 1px solid rgba(31, 42, 92, .2); pointer-events: none; }
.tape-tag { position: relative; z-index: 1; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 calc(clamp(18px, 2.4vw, 36px) + 18px) 0 var(--gutter, 24px);
  background: var(--navy); color: var(--cream); font: 500 .75rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%); }
.tape-tag i { font-style: normal; color: #ffcc00; font-size: .8125rem; letter-spacing: 0; }
.tape-view { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center;
  -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.tape-run { display: flex; width: max-content; animation: tape-run 64s linear infinite; }
.tape:hover .tape-run, .tape:focus-visible .tape-run { animation-play-state: paused; }
.tape-set { display: flex; }
.tape-item { display: inline-flex; align-items: baseline; gap: 12px; white-space: nowrap; }
.tape-item::before { content: "\2605"; align-self: center; margin-inline: clamp(20px, 2.2vw, 34px); color: #c99a00; font-size: .625rem; }
.tape-item b { font: 400 1.625rem/1 var(--display); letter-spacing: .01em; }
.tape-org { font: 600 .9375rem/1 var(--sans); }
.tape-item small { font: 400 .75rem/1 var(--mono); color: #5b6180; }
.tape-go { position: relative; z-index: 1; flex: none; display: flex; align-items: center; gap: 12px; padding: 0 var(--gutter, 24px) 0 clamp(18px, 2vw, 28px);
  border-left: 1px solid rgba(31, 42, 92, .2); font: 500 .75rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.tape-go i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--cream); font-style: normal; font-size: .875rem; letter-spacing: 0;
  transition: background .3s var(--ease), color .3s var(--ease), translate .3s var(--ease); }
.tape:hover .tape-go i { background: #ffcc00; color: var(--navy); translate: 4px 0; }
.tape:focus-visible { outline: 3px solid #ffcc00; outline-offset: -5px; }
@keyframes tape-run { to { transform: translateX(-50%); } }
@media (max-width: 680px) {
  .tape { height: 54px; }
  .tape-go, .tape-tag-long { display: none; }
  .tape-tag { padding: 0 30px 0 16px; font-size: .625rem; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); }
  .tape-item b { font-size: 1.3125rem; } .tape-org { font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) { .tape-run { animation: none; } }

/* --- Héros : fenêtre d'analyse large (2 colonnes), lettre qui s'écrit sans grand vide --- */
.hv2 { min-height: 0; padding-bottom: 8px; }
.hv2-app { position: relative; width: 100%; max-width: 640px; }
.hv2-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: repeat(6, auto); column-gap: 22px; }
.hv2-doc { width: min(78%, 470px); margin: -150px 0 0 auto; }
.hv2.is-armed .hv2-pj { opacity: 1; display: none; }
.hv2.is-armed.is-pj .hv2-pj { display: block; animation: gd-text-in .5s var(--ease); }
.hv2-ready { left: 0; bottom: 64px; }
.hv2-doc::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--navy) 0 60%, #ffcc00 60% 100%); }
@media (max-width: 680px) { .hv2-rows { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; } .hv2-doc { margin-top: -40px; width: calc(100% - 16px); } }

/* --- FAQ : colonne gauche remplie et collante, cartes numérotées et vivantes --- */
.faq-split > div:first-child { position: sticky; top: 128px; }
.faq-aside { display: grid; gap: 22px; margin-top: 22px; max-width: 30rem; }
.faq-aside-card { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 20px; background: var(--navy); color: var(--cream); text-decoration: none; transition: translate .3s var(--ease), box-shadow .3s var(--ease); }
.faq-aside-card:hover { translate: 0 -4px; box-shadow: 0 22px 40px -24px rgba(13, 19, 52, .7); text-decoration: none; }
.faq-aside-pic { width: 52px; height: 52px; color: var(--cream); }
.faq-aside-card b { display: block; font: 400 1.25rem/1.2 var(--display); }
.faq-aside-card small { font-size: .8125rem; color: var(--on-navy-2); }
.faq-aside-card i { font-style: normal; font-size: 1.25rem; transition: translate .3s var(--ease); }
.faq-aside-card:hover i { translate: 5px 0; }
.faq-aside-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--navy); }
.faq-aside-facts li { display: grid; gap: 2px; padding: 14px 12px 0 0; }
.faq-aside-facts li + li { padding-left: 14px; border-left: 1px solid var(--line-2); }
.faq-aside-facts b { font: 400 2.25rem/1 var(--display); color: var(--navy); }
.faq-aside-facts span { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.section-alt .faq-aside-card { background: var(--cream); color: var(--navy); }
.section-alt .faq-aside-card small { color: var(--ink-2); } .section-alt .faq-aside-pic { color: var(--navy); }
.section-alt .faq-aside-facts { border-top-color: rgba(239, 234, 224, .5); }
.section-alt .faq-aside-facts li + li { border-left-color: rgba(239, 234, 224, .2); }
.section-alt .faq-aside-facts b { color: #ffcc00; } .section-alt .faq-aside-facts span { color: var(--on-navy-2); }
.faq-split .faq { counter-reset: q; gap: 12px; }
.faq-split .faq details { counter-increment: q; background: #fffdf8; border: 1px solid var(--line-2); border-radius: 0; transition: border-color .25s, box-shadow .3s var(--ease), translate .3s var(--ease); }
.faq-split .faq details:hover { border-color: var(--navy); translate: 6px 0; }
.faq-split .faq details[open] { border-color: var(--navy); box-shadow: 0 24px 44px -30px rgba(13, 19, 52, .55); }
.faq-split .faq summary { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: baseline; padding: 22px 60px 22px 22px; font: 400 1.1875rem/1.35 var(--display); color: var(--navy); }
.faq-split .faq summary::before { content: counter(q, decimal-leading-zero); font: 400 .8125rem var(--mono); color: #9a7400; }
.faq-split .faq summary::after { right: 24px; width: 30px; height: 30px; border: 1px solid var(--line-2); border-radius: 50%; transform: none; margin-top: -15px;
  background: linear-gradient(var(--navy), var(--navy)) center / 12px 1.5px no-repeat, linear-gradient(var(--navy), var(--navy)) center / 1.5px 12px no-repeat; transition: rotate .35s var(--ease), background-color .25s; }
.faq-split .faq details[open] summary::after { transform: none; rotate: 135deg; background-color: #ffcc00; border-color: #ffcc00; }
.faq-split .faq details p { padding: 0 60px 24px 66px; font-size: 1rem; }
.faq-split .faq details[open] p { animation: gd-text-in .4s var(--ease); }
.section-alt .faq-split .faq details { background: rgba(239, 234, 224, .05); border: 1px solid rgba(239, 234, 224, .18); }
.section-alt .faq-split .faq details:hover, .section-alt .faq-split .faq details[open] { border-color: #ffcc00; background: rgba(239, 234, 224, .09); }
.section-alt .faq-split .faq summary { color: var(--cream); }
.section-alt .faq-split .faq summary::before { color: #ffcc00; }
.section-alt .faq-split .faq summary::after { border-color: rgba(239, 234, 224, .4); background: linear-gradient(var(--cream), var(--cream)) center / 12px 1.5px no-repeat, linear-gradient(var(--cream), var(--cream)) center / 1.5px 12px no-repeat; }
.section-alt .faq-split .faq details[open] summary::after { background: linear-gradient(var(--navy), var(--navy)) center / 12px 1.5px no-repeat, linear-gradient(var(--navy), var(--navy)) center / 1.5px 12px no-repeat, #ffcc00; }
@media (max-width: 1080px) { .faq-split > div:first-child { position: static; } }
@media (max-width: 560px) { .faq-split .faq summary { grid-template-columns: 32px minmax(0, 1fr); padding: 18px 52px 18px 16px; font-size: 1.0625rem; } .faq-split .faq details p { padding: 0 18px 20px 48px; } .faq-split .faq summary::after { right: 14px; } }

/* --- Grilles toujours pleines : aucune case vide en bout de rangée --- */
.mini-sanctions.ms-cols { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 14px; }
.cf-sanc .mini-sanctions.ms-cols { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
@media (max-width: 1080px) { .mini-sanctions.ms-cols, .cf-sanc .mini-sanctions.ms-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .mini-sanctions.ms-cols, .cf-sanc .mini-sanctions.ms-cols { grid-template-columns: 1fr; } }
.mini-sanctions > li { padding: 20px; background: #fffdf8; border: 1px solid var(--line-2); border-radius: 0; }
.mini-sanctions .ms-org { font: 400 1.125rem/1.25 var(--display); color: var(--navy); text-transform: none; }
.mini-sanctions .ms-amount { font: 400 1.75rem/1 var(--display); color: #a8322d; }
/* Guides liés d'une page contrôle : les cartes se partagent toute la largeur */
.cf-guides .guide-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.cf-guides .guide-grid > .guide-card { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; grid-row: auto; padding: 28px; }
.cf-guides .guide-grid > .guide-card h2 { font-size: clamp(1.375rem, 2vw, 1.75rem); }
.cf-guides .guide-grid > .guide-card p { max-width: 46em; }
.cf-guides .guide-grid > .guide-card .guide-card-more { margin-top: auto; }

/* --- Les 12 contrôles en bas de page : cartes illustrées, pager illustré --- */
.cf-nav .ctl-strip ol { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.cf-nav .ctl-strip a { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; gap: 14px 8px; align-items: start; height: 100%; padding: 16px; background: #fffdf8; border: 1px solid var(--line-2); border-radius: 0; color: var(--navy); font-size: .875rem; line-height: 1.3;
  transition: background-color .3s var(--ease), color .3s var(--ease), translate .3s var(--ease), box-shadow .3s var(--ease); }
.cf-nav .ctl-strip .cs-pic { width: 40px; height: 40px; color: var(--navy); transition: color .3s, rotate .4s var(--ease); }
.cf-nav .ctl-strip .cs-n { width: auto; height: auto; background: none; border-radius: 0; font: 400 .75rem var(--mono); color: #9a7400; }
.cf-nav .ctl-strip .cs-t { grid-column: 1 / -1; align-self: end; font: 400 1rem/1.25 var(--display); }
.cf-nav .ctl-strip a:hover, .cf-nav .ctl-strip a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: var(--cream); translate: 0 -5px; box-shadow: 0 22px 36px -24px rgba(13, 19, 52, .7); }
.cf-nav .ctl-strip a:hover .cs-pic, .cf-nav .ctl-strip a[aria-current="page"] .cs-pic { color: var(--cream); rotate: -6deg; }
.cf-nav .ctl-strip a:hover .cs-n, .cf-nav .ctl-strip a[aria-current="page"] .cs-n { background: none; color: #ffcc00; }
.cf-nav .pager { gap: 10px; margin-top: 10px; }
.cf-nav .pager a { display: flex; align-items: center; gap: 20px; padding: 24px 28px; background: var(--navy); border: 0; border-radius: 0; color: var(--cream); transition: translate .3s var(--ease), background-color .3s; }
.cf-nav .pager a:hover { transform: none; background: var(--navy-deep); }
.cf-nav .pager-prev:hover { translate: -6px 0; } .cf-nav .pager-next:hover { translate: 6px 0; }
.cf-nav .pager-next { justify-content: flex-end; }
.cf-nav .pager a > span { display: grid; gap: 4px; }
.cf-nav .pager small { color: var(--on-navy-2); letter-spacing: .1em; text-transform: uppercase; font-size: .6875rem; }
.cf-nav .pager b { font: 400 1.5rem/1.2 var(--display); color: var(--cream); }
.pager-pic { flex: none; width: 56px; height: 56px; color: #ffcc00; }
@media (max-width: 1080px) { .cf-nav .ctl-strip ol { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 680px) { .cf-nav .ctl-strip ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cf-nav .pager { grid-template-columns: 1fr; } .pager-pic { width: 40px; height: 40px; } }

/* --- Couche de vie : apparitions (classe .lv posée par le script), survols, fonds qui respirent --- */
.js .lv { opacity: 0; translate: 0 26px; transition: opacity .7s var(--ease), translate .8s var(--ease), scale .8s var(--ease); }
.js .lv.lv-left { translate: -30px 0; } .js .lv.lv-right { translate: 30px 0; } .js .lv.lv-pop { translate: 0 30px; scale: .94; }
.js .lv.is-in { opacity: 1; translate: 0 0; scale: 1; }
/* Cartes : elles se soulèvent au survol (propriété translate, indépendante des autres transformations) */
.js.js main :is(.guide-card, .problem, .country, .res-card, .ctlc, .cf-card, .ctl-tiles > li, .ctl-steps > li, .ctl-sources a, .pu-cases > li, .mini-sanctions > li, .tiles > .tile, .letter, .gl-item, .finding, .cover, .audience-links a, .cf-report, .cf-browser, .rs-box, .rp-reply, .doc-box):hover {
  translate: 0 -6px; box-shadow: 0 26px 44px -30px rgba(13, 19, 52, .6); }
main :is(.guide-card, .problem, .country, .res-card, .ctlc, .sector, .cf-card, .ctl-tiles > li, .ctl-steps > li, .ctl-sources a, .pu-cases > li, .mini-sanctions > li, .tiles > .tile, .letter, .gl-item, .finding, .cover, .audience-links a, .cf-report, .cf-browser, .rs-box, .rp-reply, .doc-box) {
  transition: opacity .7s var(--ease), translate .45s var(--ease), scale .8s var(--ease), box-shadow .45s var(--ease), border-color .3s, background-color .3s; }
/* Illustrations : petit mouvement au survol de leur carte */
main :is(.cf-card, .ctlc, .sector, .res-card, .rk-fam > li, .charter-list > li):hover .pic { rotate: -6deg; scale: 1.08; }
main .pic { transition: rotate .45s var(--ease), scale .45s var(--ease), color .3s; }
.pic .acc { transform-box: fill-box; transform-origin: center; animation: acc-pulse 3.6s ease-in-out infinite; }
@keyframes acc-pulse { 50% { opacity: .55; } }
/* Sections marine : le filigrane dérive lentement, un halo suit la souris */
main .section-alt, .page-head.ph-navy, .rp-head, .rs-head { animation: bg-drift 26s ease-in-out infinite alternate; }
@keyframes bg-drift { from { background-position: right -14% top 40%, 0 0, 0 0, 0 0, 0 0; } to { background-position: right -8% top 60%, 0 0, 0 0, 28px 28px, 28px 28px; } }
main .section-alt:nth-of-type(even) { animation-name: bg-drift-l; }
@keyframes bg-drift-l { from { background-position: left -14% top 60%, 0 0, 0 0, 0 0, 0 0; } to { background-position: left -8% top 40%, 0 0, 0 0, 28px 28px, 28px 28px; } }
main .section-alt, .page-head.ph-navy, .rp-head, .rs-head { position: relative; }
.spot { position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .5s; background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 50%), rgba(140, 165, 255, .2), transparent 70%); }
:hover > .spot { opacity: 1; }
main .section-alt > .wrap, .page-head.ph-navy > .wrap, .rp-head > .wrap, .rs-head > .wrap { position: relative; z-index: 1; }
/* Sections crème : le filigrane glisse avec le défilement (navigateurs récents) */
@supports (animation-timeline: view()) {
  main > .section:not(.section-alt):not(.hero2):not(.es-auth):not(.final-sec) { animation: ring-scroll linear both; animation-timeline: view(); }
  @keyframes ring-scroll { from { background-position-y: 10%; } to { background-position-y: 90%; } }
}
/* Titres de section : le trait doré du petit libellé se trace */
.js .kicker.lv { translate: 0 0; }
.js .kicker.lv::before { width: 0; transition: width .7s var(--ease) .2s; }
.js .kicker.lv.is-in::before { width: 18px; }
/* Boutons : reflet qui passe */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .28) 50%, transparent 60%); translate: -120% 0; transition: translate .7s var(--ease); pointer-events: none; }
.btn:hover::after { translate: 120% 0; }
@media (prefers-reduced-motion: reduce) {
  .js .lv { opacity: 1; translate: none; scale: 1; transition: none; }
  main .section-alt, .page-head.ph-navy, .rp-head, .rs-head, .pic .acc { animation: none; }
  .btn::after { display: none; }
}
.hv2-doc { margin-top: -92px; }
@media (max-width: 680px) { .hv2-doc { margin-top: -24px; } }

/* ==========================================================================
   Colonne laterale des articles v2 : sommaire en carte qui suit la lecture (sans barre de defilement),
   encarts complementaires en bas de colonne, a la fin de l article
   ========================================================================== */
.article { align-items: stretch; }
.article > .article-body { align-self: start; }
.article-side { position: static; top: auto; max-height: none; overflow: visible; display: flex; flex-direction: column; gap: 16px; }
.side-follow { flex: 1 1 auto; }
.side-stick { position: sticky; top: 124px; display: grid; gap: 16px; }
.toc { padding: 0; border: 1px solid var(--line-2); background: #fbf8f1; }
.toc h2 { display: flex; align-items: center; gap: 10px; margin: 0; padding: 15px 18px 13px; border-bottom: 1px solid var(--line-2); font: 500 .6875rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.toc h2::before { content: ""; width: 18px; height: 2px; background: #d9a900; }
.toc ol { position: relative; counter-reset: toc; gap: 0; padding: 6px; max-height: max(160px, calc(100vh - 500px)); overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; }
.toc ol::-webkit-scrollbar { display: none; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; align-items: baseline; padding: 9px 12px; font-size: .875rem; line-height: 1.4; color: var(--ink-2); transition: background .25s var(--ease), color .25s var(--ease); }
.toc a::before { content: counter(toc, decimal-leading-zero); position: static; inset: auto; width: auto; background: none; transform: none; font: 400 .6875rem/1 var(--mono); color: var(--muted); transition: color .25s var(--ease); }
.toc a:hover { background: rgba(31, 42, 92, .07); color: var(--navy); }
.toc a.is-active { background: var(--navy); color: var(--cream); font-weight: 500; }
.toc a.is-active::before { color: #f0cf5a; transform: none; }
.side-stick .side-cta { padding: 20px; }
.side-stick .side-cta p { margin-bottom: 14px; }
@media (max-width: 880px) {
  .side-stick { position: static; }
  .side-follow .toc { display: none; }
}

/* ==========================================================================
   Autorités européennes : règles communes, recherche, grandes fiches par pays (préfixe .cy-)
   Texte agrandi : accroche 1.3125rem, analyse 1.0625rem, sigles en DM Serif Display
   ========================================================================== */
.cy-intro { padding-bottom: clamp(24px, 4vw, 48px); }
.cy-rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cy-rules > li { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 14px; padding: clamp(24px, 2.6vw, 36px); background: #fbf8f1; border: 1px solid var(--line-2); border-top: 2px solid var(--navy); }
.cy-rule-n { font: 400 3.25rem/1 var(--display); color: var(--navy); rotate: -5deg; transform-origin: 0 100%; justify-self: start; }
.cy-rules h3 { margin: 0; font: 400 1.375rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--navy); }
.cy-rules p { margin: 0; font-size: 1.0625rem; line-height: 1.7; color: var(--ink-2); }
.cy-rules small { align-self: end; padding-top: 14px; border-top: 1px solid var(--line-2); font: 400 .8125rem/1.4 var(--mono); color: var(--muted); }

.cy-list { padding-top: clamp(32px, 5vw, 56px); }
.cy-tools { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; }
.cy-search { position: relative; flex: 1 1 320px; max-width: 460px; display: block; }
.cy-search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; translate: 0 -50%; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
.cy-search input { width: 100%; min-height: 54px; padding: 12px 16px 12px 48px; border: 1px solid var(--navy); border-radius: 0; background: #fffdf8; color: var(--navy); font: 400 1.0625rem/1.3 var(--sans); }
.cy-search input::placeholder { color: var(--muted); }
.cy-search input:focus-visible { outline: 3px solid #d9a900; outline-offset: 2px; }
.cy-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cy-chips button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--navy); background: transparent; color: var(--navy); font: 500 .9375rem/1 var(--sans); cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease); }
.cy-chips button b { font: 400 .75rem/1 var(--mono); opacity: .7; }
.cy-chips button:hover { background: rgba(31, 42, 92, .08); }
.cy-chips button.is-on { background: var(--navy); color: var(--cream); }
.cy-chips button:focus-visible { outline: 3px solid #d9a900; outline-offset: 2px; }
.cy-jump { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.cy-jump a { min-width: 44px; padding: 9px 8px; border: 1px solid var(--line-2); background: #fbf8f1; color: var(--navy); font: 500 .8125rem/1 var(--mono); text-align: center; text-decoration: none; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.cy-jump a:hover { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.cy-jump a[hidden] { display: none; }
.cy-count { margin: 18px 0 0; font-size: .9375rem; color: var(--muted); }
.cy-count b { color: var(--navy); font: 400 1.25rem/1 var(--display); margin-right: 4px; }

.cy-items { display: grid; gap: clamp(20px, 2.6vw, 32px); margin-top: 24px; }
.cy { scroll-margin-top: 112px; background: #fbf8f1; border: 1px solid var(--line-2); border-top: 3px solid var(--navy); }
.cy[hidden] { display: none; }
.cy:target { border-top-color: #d9a900; box-shadow: 0 0 0 3px rgba(217, 169, 0, .35); }
.cy-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px clamp(16px, 2vw, 28px); align-items: center; padding: clamp(22px, 2.6vw, 34px) clamp(22px, 3vw, 44px); border-bottom: 1px solid var(--line-2); }
.cy-code { display: grid; place-items: center; width: clamp(60px, 5.4vw, 76px); aspect-ratio: 1; background: var(--navy); color: var(--cream); font: 400 clamp(1.375rem, 2vw, 1.75rem)/1 var(--display); letter-spacing: .04em; rotate: -4deg; }
.cy-title h2 { margin: 0; font: 400 clamp(1.75rem, 3vw, 2.5rem)/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--navy); }
.cy-tags { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 10px 0 0; }
.cy-tags span { padding: 5px 10px; border: 1px solid rgba(31, 42, 92, .35); font: 500 .75rem/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.cy-tags .is-full { background: #f0cf5a; border-color: #f0cf5a; }
.cy-more { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--navy); color: var(--navy); font: 500 .9375rem/1 var(--sans); text-decoration: none; white-space: nowrap; transition: background .25s var(--ease), color .25s var(--ease); }
.cy-more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: translate .25s var(--ease); }
.cy-more:hover { background: var(--navy); color: var(--cream); text-decoration: none; }
.cy-more:hover svg { translate: 4px 0; }

.cy-body { padding: clamp(22px, 2.8vw, 38px) clamp(22px, 3vw, 44px) clamp(24px, 3vw, 44px); }
.cy-lead { margin: 0 0 clamp(22px, 2.6vw, 34px); max-width: 46ch; font: 400 clamp(1.25rem, 1.9vw, 1.625rem)/1.32 var(--display); color: var(--navy); text-wrap: balance; }
.cy-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3.4vw, 56px); }
.cy-col { display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 10px; padding-top: 20px; border-top: 1px solid var(--navy); }
.cy-k { margin: 0; font: 500 .75rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cy-k::before { content: ""; display: inline-block; width: 18px; height: 2px; margin-right: 10px; vertical-align: .3em; background: #d9a900; }
.cy-col h3 { margin: 4px 0 0; font: 400 clamp(1.5rem, 2.2vw, 2rem)/1.12 var(--display); color: var(--navy); overflow-wrap: anywhere; }
.cy-name { margin: 0; font-size: 1rem; line-height: 1.5; font-weight: 500; color: var(--navy); }
.cy-name em { display: block; margin-top: 2px; font-style: italic; font-weight: 400; font-size: .9375rem; color: var(--muted); }
.cy-text { margin: 6px 0 0; font-size: 1.0625rem; line-height: 1.75; color: var(--ink-2); }
.cy-links { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; align-self: end; margin: 12px 0 0; }
.cy-go { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 18px; background: var(--navy); color: var(--cream); font: 500 .9375rem/1 var(--sans); text-decoration: none; transition: background .25s var(--ease); }
.cy-go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: translate .25s var(--ease); }
.cy-go:hover { background: #141b40; color: #fff; text-decoration: none; }
.cy-go:hover svg { translate: 2px -2px; }
.cy-site { font: 400 .875rem/1.3 var(--mono); color: var(--navy); overflow-wrap: anywhere; }

.cy-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0; margin: clamp(26px, 3vw, 40px) 0 0; border: 1px solid var(--line-2); background: #fffdf8; }
.cy-facts > div { padding: 18px 20px; border-right: 1px solid var(--line-2); margin-right: -1px; border-bottom: 1px solid var(--line-2); margin-bottom: -1px; }
.cy-facts dt { margin: 0 0 8px; font: 500 .6875rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cy-facts dd { margin: 0; font-size: .9375rem; line-height: 1.6; color: var(--ink-2); }
.cy-facts dd b { display: block; margin-bottom: 2px; font: 400 1.125rem/1.25 var(--display); color: var(--navy); }

.cy-keep { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px clamp(18px, 2.4vw, 36px); align-items: start; margin: clamp(20px, 2.4vw, 28px) calc(clamp(22px, 3vw, 44px) * -1) calc(clamp(24px, 3vw, 44px) * -1); padding: clamp(20px, 2.4vw, 28px) clamp(22px, 3vw, 44px); background: var(--navy); color: var(--cream); }
.cy-keep-k { margin: 0; font: 400 1.875rem/1 var(--script); color: #f0cf5a; rotate: -3deg; white-space: nowrap; }
.cy-keep ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px clamp(18px, 2.4vw, 36px); }
.cy-keep li { position: relative; padding-left: 26px; font-size: 1rem; line-height: 1.55; color: var(--cream); max-width: none; }
.cy-keep li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2px solid #f0cf5a; border-bottom: 2px solid #f0cf5a; rotate: -45deg; }

.cy-empty { margin: 32px 0 0; padding: 28px; border: 1px dashed rgba(31, 42, 92, .4); font-size: 1.0625rem; color: var(--navy); }
.cy-empty[hidden] { display: none; }
.cy-empty button { margin-left: 8px; padding: 0; border: 0; background: none; color: var(--navy); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.cy-list .disclaimer { margin-top: 32px; }
.cy-solo { margin-bottom: clamp(40px, 5vw, 64px); }

@media (max-width: 880px) {
  .cy-rules { grid-template-columns: 1fr; }
  .cy-rules > li { grid-row: auto; grid-template-rows: none; }
  .cy-head { grid-template-columns: auto minmax(0, 1fr); }
  .cy-more { grid-column: 1 / -1; justify-content: center; }
  .cy-cols { grid-template-columns: 1fr; gap: 28px; }
  .cy-col { grid-row: auto; grid-template-rows: none; }
  .cy-keep { grid-template-columns: 1fr; }
  .cy-keep ul { grid-template-columns: 1fr; }
  .cy-search { max-width: none; }
}
@media (max-width: 480px) {
  .cy-chips button { flex: 1 1 auto; justify-content: center; }
  .cy-jump a { min-width: 40px; }
}
@media (prefers-reduced-motion: reduce) { .cy-code, .cy-rule-n, .cy-keep-k { rotate: 0deg; } }

/* ==========================================================================
   Ressources v2 : page-carrefour étoffée (préfixe .rz-)
   Autorités, textes (marine), secteurs, guides et modèles, repères (marine)
   ========================================================================== */
.rz-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.rz-nav a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--navy); color: var(--navy); font: 500 .9375rem/1 var(--sans); text-decoration: none; transition: background .25s var(--ease), color .25s var(--ease); }
.rz-nav a b { font: 400 .75rem/1 var(--mono); opacity: .7; }
.rz-nav a:hover { background: var(--navy); color: var(--cream); }
.rz-sec { scroll-margin-top: 96px; }
main > .section.rz-sec:not(.section-alt) { background-position: right -14% top 12%; }
/* Le cercle d'étoiles ne passe jamais derrière du texte : glissé sous les cartes pleines, ou sorti du cadre sur les sections marine */
main > .section.rz-guides-sec:not(.section-alt) { background-position: left -16% bottom 3%; }
main .rz-sec.section-alt { background-size: 0 0, auto, auto, 56px 56px, 56px 56px; }
.rz-guide { padding-left: 12px; }

/* Cartes communes : illustration, titre, texte, repère, lien, alignés par sous-grille */
.rz-card { display: grid; grid-template-rows: subgrid; row-gap: 12px; align-content: start; padding: clamp(24px, 2.6vw, 34px); background: #fbf8f1; border: 1px solid var(--line-2); border-top: 2px solid var(--navy); color: inherit; text-decoration: none; transition: background .3s var(--ease), translate .3s var(--ease); }
.rz-card:hover { background: #fffdf8; translate: 0 -4px; text-decoration: none; }
.rz-pic { width: 56px; height: 56px; color: var(--navy); transition: rotate .35s var(--ease), scale .35s var(--ease); }
.rz-card:hover .rz-pic, .rz-tool:hover .rz-pic { rotate: -6deg; scale: 1.08; }
.rz-card h3 { margin: 6px 0 0; font: 400 clamp(1.5rem, 2.1vw, 1.875rem)/1.1 var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--navy); }
.rz-sub { margin: 0; font-size: .9375rem; line-height: 1.45; font-weight: 500; color: var(--navy); }
.rz-text { margin: 0; font-size: 1.0625rem; line-height: 1.7; color: var(--ink-2); }
.rz-meta { margin: 0; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: .9375rem; color: var(--ink-2); align-self: end; }
.rz-meta b { margin-right: 4px; font: 400 1.375rem/1 var(--display); color: var(--navy); }
.rz-go { display: inline-flex; align-items: center; gap: 10px; align-self: end; font: 500 .9375rem/1 var(--sans); color: var(--navy); }
.rz-go svg, .rz-link svg, .rz-wide > svg, .rz-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: translate .3s var(--ease); }
.rz-card:hover .rz-go svg, .rz-link:hover svg, .rz-wide:hover > svg { translate: 5px 0; }

.rz-auth { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rz-auth > .rz-card { grid-row: span 6; }
.rz-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.rz-wide { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(16px, 2vw, 28px); align-items: center; padding: clamp(22px, 2.4vw, 30px) clamp(24px, 2.6vw, 34px); border: 1px solid var(--navy); color: var(--navy); text-decoration: none; transition: background .3s var(--ease), color .3s var(--ease); }
.rz-wide .rz-num { font: 400 clamp(2.75rem, 4.4vw, 4rem)/1 var(--display); rotate: -4deg; }
.rz-wide strong { display: block; font: 400 1.375rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.rz-wide small { display: block; margin-top: 8px; font-size: 1rem; line-height: 1.6; opacity: .85; }
.rz-wide:hover { background: var(--navy); color: var(--cream); text-decoration: none; }
.rz-wide.is-navy { background: var(--navy); color: var(--cream); }
.rz-wide.is-navy .rz-num { color: #f0cf5a; }
.rz-wide.is-navy:hover { background: #141b40; }

/* Textes : lignes sur fond marine, qui se remplissent au survol */
.rz-texts { border-top: 1px solid rgba(239, 234, 224, .35); }
.rz-textrow { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr) auto; gap: 8px clamp(20px, 3vw, 48px); align-items: start; padding: clamp(24px, 2.8vw, 36px) clamp(12px, 1.6vw, 24px); border-bottom: 1px solid rgba(239, 234, 224, .2); color: var(--cream); text-decoration: none; transition: background .35s var(--ease), color .35s var(--ease); }
.rz-code { font: 400 clamp(1.75rem, 2.8vw, 2.5rem)/1.05 var(--display); text-transform: uppercase; color: #f0cf5a; overflow-wrap: anywhere; transition: color .35s var(--ease); }
.rz-textbody { display: grid; gap: 10px; }
.rz-textbody strong { font: 400 clamp(1.25rem, 1.8vw, 1.5rem)/1.2 var(--display); }
.rz-ref { font: 400 .8125rem/1.5 var(--mono); color: var(--on-navy-2); transition: color .35s var(--ease); }
.rz-textrow .rz-text { color: #dfe2f0; transition: color .35s var(--ease); }
.rz-arts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.rz-arts i { padding: 6px 10px; border: 1px solid rgba(239, 234, 224, .3); font: normal 400 .8125rem/1.3 var(--sans); color: var(--cream); transition: border-color .35s var(--ease), color .35s var(--ease); }
.rz-arts i b { font-weight: 600; margin-right: 4px; }
.rz-arts .is-more { border-style: dashed; }
.rz-arrow { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(239, 234, 224, .4); border-radius: 50%; transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), translate .35s var(--ease); }
.rz-textrow:hover { background: var(--cream); color: var(--navy); text-decoration: none; }
.rz-textrow:hover .rz-code { color: var(--navy); }
.rz-textrow:hover .rz-ref { color: #5b6180; }
.rz-textrow:hover .rz-text { color: #3b4266; }
.rz-textrow:hover .rz-arts i { border-color: rgba(31, 42, 92, .35); color: var(--navy); }
.rz-textrow:hover .rz-arrow { background: var(--navy); border-color: var(--navy); color: var(--cream); translate: 4px 0; }

/* Secteurs : cinq cartes, trois puis deux plus larges, sans case vide */
.rz-sectors { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.rz-sectors > .rz-card { grid-column: span 2; grid-row: span 6; }
.rz-sectors.rz-n5 > .rz-card:nth-child(n+4), .rz-sectors.rz-n4 > .rz-card, .rz-sectors.rz-n2 > .rz-card { grid-column: span 3; }
.rz-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.rz-points li { position: relative; padding-left: 24px; font-size: .9375rem; line-height: 1.55; color: var(--navy); max-width: none; }
.rz-points li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 2px solid #c99a00; border-bottom: 2px solid #c99a00; rotate: -45deg; }

/* Guides : douze lignes numérotées en trois colonnes */
.rz-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 2.6vw, 40px); border-top: 1px solid var(--navy); }
.rz-guide { position: relative; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); grid-template-rows: subgrid; grid-row: span 3; gap: 8px 16px; padding: 24px 12px 24px 8px; border-bottom: 1px solid var(--line-2); color: inherit; text-decoration: none; transition: background .3s var(--ease), padding .3s var(--ease); }
.rz-guide-n { grid-row: 1 / span 3; font: 400 1.5rem/1 var(--display); color: #c99a00; rotate: -5deg; transform-origin: 0 100%; padding-top: 2px; }
.rz-guide strong { font: 400 1.3125rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--navy); }
.rz-guide .rz-text { font-size: 1rem; line-height: 1.65; }
.rz-guide small { align-self: end; font: 400 .75rem/1.4 var(--mono); color: var(--muted); transition: color .3s var(--ease); }
.rz-guide:hover { background: var(--navy); text-decoration: none; }
.rz-guide:hover strong { color: var(--cream); }
.rz-guide:hover .rz-text { color: #dfe2f0; }
.rz-guide:hover small { color: var(--on-navy-2); }
.rz-guide:hover .rz-guide-n { color: #f0cf5a; }
.rz-guide strong, .rz-guide .rz-text { transition: color .3s var(--ease); }
.rz-sub-head { margin-top: clamp(64px, 8vw, 112px); scroll-margin-top: 96px; }
.rz-letters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rz-letters > .rz-card { grid-row: span 4; }
.rz-letter h3 { margin-top: 0; font-size: clamp(1.25rem, 1.7vw, 1.5rem); }
.rz-tag { margin: 0; justify-self: start; padding: 5px 10px; border: 1px solid rgba(31, 42, 92, .35); font: 500 .75rem/1.2 var(--mono); color: var(--navy); rotate: -2deg; }

/* Repères : chronologie et glossaire côte à côte, puis quatre outils */
.rz-marks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.rz-mark { display: grid; grid-template-rows: auto 1fr auto; gap: 20px; align-content: start; }
.rz-mark h3 { margin: 0; padding-bottom: 16px; border-bottom: 1px solid rgba(239, 234, 224, .35); font: 400 1.375rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--cream); }
.rz-dates { list-style: none; margin: 0; padding: 0 0 0 22px; display: grid; gap: 22px; align-content: start; border-left: 1px solid rgba(239, 234, 224, .3); }
.rz-dates li { position: relative; display: grid; gap: 6px; max-width: none; }
.rz-dates li::before { content: ""; position: absolute; left: -27px; top: 6px; width: 9px; height: 9px; background: #f0cf5a; rotate: 45deg; }
.rz-dates time { font: 400 .8125rem/1.3 var(--mono); color: #f0cf5a; }
.rz-dates strong { font: 400 1.1875rem/1.25 var(--display); color: var(--cream); }
.rz-dates p { margin: 0; font-size: 1rem; line-height: 1.65; color: #dfe2f0; max-width: none; }
.rz-dates small { font: 500 .6875rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy-2); }
.rz-terms { margin: 0; display: grid; gap: 0; align-content: start; }
.rz-terms > div { padding: 14px 0; border-bottom: 1px solid rgba(239, 234, 224, .16); }
.rz-terms > div:first-child { padding-top: 0; }
.rz-terms dt { font: 400 1.125rem/1.3 var(--display); color: var(--cream); }
.rz-terms dd { margin: 6px 0 0; font-size: 1rem; line-height: 1.6; color: #dfe2f0; }
.rz-link { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 12px 18px; border: 1px solid rgba(239, 234, 224, .5); color: var(--cream); font: 500 .9375rem/1.2 var(--sans); text-decoration: none; transition: background .3s var(--ease), color .3s var(--ease); }
.rz-link:hover { background: var(--cream); color: var(--navy); text-decoration: none; }
.rz-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 72px); }
.rz-tool { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 12px; padding: 24px; border: 1px solid rgba(239, 234, 224, .28); color: var(--cream); text-decoration: none; transition: background .3s var(--ease), color .3s var(--ease), translate .3s var(--ease); }
.rz-tool .rz-pic { color: #f0cf5a; width: 48px; height: 48px; }
.rz-tool strong { font: 400 1.25rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.rz-tool span { font-size: 1rem; line-height: 1.6; color: #dfe2f0; transition: color .3s var(--ease); }
.rz-tool:hover { background: var(--cream); color: var(--navy); translate: 0 -4px; text-decoration: none; }
.rz-tool:hover span { color: #3b4266; }
.rz-tool:hover .rz-pic { color: var(--navy); }

@media (max-width: 1080px) {
  .rz-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rz-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rz-letters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  .rz-auth, .rz-duo, .rz-marks { grid-template-columns: 1fr; }
  .rz-auth > .rz-card, .rz-sectors > .rz-card, .rz-letters > .rz-card { grid-row: auto; grid-template-rows: none; }
  .rz-sectors { grid-template-columns: 1fr; }
  .rz-sectors > .rz-card, .rz-sectors.rz-n5 > .rz-card:nth-child(n+4), .rz-sectors.rz-n4 > .rz-card, .rz-sectors.rz-n2 > .rz-card { grid-column: auto; }
  .rz-textrow { grid-template-columns: minmax(0, 1fr) auto; }
  .rz-code { grid-column: 1; }
  .rz-textbody { grid-column: 1 / -1; grid-row: 2; }
  .rz-arrow { grid-column: 2; grid-row: 1; }
}
@media (max-width: 680px) {
  .rz-guides, .rz-letters, .rz-tools { grid-template-columns: 1fr; }
  .rz-guide, .rz-tool { grid-row: auto; grid-template-rows: none; }
  .rz-guide { grid-template-columns: 2.25rem minmax(0, 1fr); }
  .rz-wide { grid-template-columns: auto minmax(0, 1fr); }
  .rz-wide > svg { display: none; }
  .rz-nav a { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .rz-num, .rz-guide-n, .rz-tag { rotate: 0deg; } .rz-card:hover, .rz-tool:hover { translate: none; } }
