/* ==========================================================================
   AMTF Conseil — feuille de style du site public
   Charte d'origine « ivoire chaud & bleu acier ».
   Règle d'or : l'or (#A16207 / #C9A84C) est réservé au logo. Tout le reste est en bleu acier.
   Les sections sombres utilisent la « nuit » (#0D1B2A / #12243A).
   Typographies : Archivo (étendue) · Instrument Serif (italiques) · JetBrains Mono
   ========================================================================== */

:root {
  /* Fonds */
  --bg: #FAF8F4;          /* ivoire chaud */
  --bg-2: #F2EEE6;        /* ivoire alterné */
  --card: #FFFFFF;
  --card-2: #FCFBF8;
  /* Textes */
  --tx: #1C1917;          /* anthracite */
  --tx-2: #44403C;
  --tx-3: #57534E;
  --tx-4: #78716C;
  /* Traits */
  --line: #E7E2D8;
  --line-2: rgba(30, 58, 95, .22);
  /* Bleu acier */
  --ac: #1E3A5F;
  --ac-2: #274B78;
  --ac-link: #16324F;
  --ac-soft: #4E7BB0;
  --ac-pale: #A9C4E0;
  --ac-grad: linear-gradient(135deg, #274B78, #1E3A5F 55%, #16324F);
  --ac-text: linear-gradient(100deg, #1E3A5F 0%, #4E7BB0 30%, #16324F 60%, #4E7BB0 100%);
  --outline: rgba(30, 58, 95, .5);
  --btn-tx: #FAF8F4;
  /* Nuit */
  --nuit: #0D1B2A;
  --nuit-2: #12243A;
  /* Or : logo uniquement */
  --logo-gold: #A16207;
  --logo-gold-2: #C9A84C;

  --shadow-sm: 0 2px 10px rgba(28, 25, 23, .06);
  --shadow-md: 0 14px 34px rgba(28, 25, 23, .10);
  --f-display: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --wrap: 1380px;
  --gutter: clamp(16px, 4.2vw, 64px);
  --header-h: 72px;
  --radius: 4px;
}

/* Zones sombres : les mêmes variables, redéfinies pour la nuit */
.dark, .hero, .results, .audit, .sector, .cta-band, .site-footer, .menu, .intro, .m-hero {
  --bg: #0D1B2A;
  --bg-2: #12243A;
  --card: #12243A;
  --card-2: #17304B;
  --tx: #FAF8F4;
  --tx-2: rgba(250, 248, 244, .8);
  --tx-3: rgba(250, 248, 244, .6);
  --tx-4: rgba(250, 248, 244, .38);
  --line: rgba(250, 248, 244, .12);
  --line-2: rgba(169, 196, 224, .32);
  --ac: #A9C4E0;
  --ac-2: #C9DBEE;
  --ac-link: #A9C4E0;
  --ac-grad: linear-gradient(135deg, #DCE7F3, #A9C4E0 55%, #7FA3CC);
  --ac-text: linear-gradient(100deg, #A9C4E0 0%, #FAF8F4 30%, #7FA3CC 60%, #C9DBEE 100%);
  --outline: rgba(169, 196, 224, .6);
  --btn-tx: #0D1B2A;
  color: var(--tx);
}

/* ------------------------------------------------------------------ Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font-family: var(--f-display);
  font-size: 17px;
  line-height: 1.65;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.05; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: #1E3A5F; color: #FAF8F4; }
:focus-visible { outline: 2px solid var(--ac-soft); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--ac); color: var(--btn-tx); padding: 10px 16px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 16px; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--arrow { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Texture papier très légère sur toute la page.
   Statique et sans mode de fusion : elle est dessinée une seule fois et ne ralentit pas le défilement. */
.grain {
  position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1  0 0 0 0 .1  0 0 0 0 .1  0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #4E7BB0, #1E3A5F); transform: scaleX(0); transform-origin: left; }

/* Rideau de transition entre les pages */
.curtain { position: fixed; inset: 0; z-index: 250; pointer-events: none; }
.curtain::before { content: ""; position: absolute; inset: 0; background: var(--nuit); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-io); }
.curtain span { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, #A9C4E0, transparent); transform: scaleX(0); transition: transform .5s var(--ease-io) .1s; }
html.is-leaving .curtain::before { transform: scaleY(1); }
html.is-leaving .curtain span { transform: scaleX(1); }
main { animation: page-in .8s var(--ease) both; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

/* ------------------------------------------------------------- Typo / titres */
.h-display {
  font-family: var(--f-display);
  font-stretch: 125%;
  font-weight: 750;
  font-size: clamp(32px, 4.8vw, 76px);
  line-height: 1.02;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.h-display em, .hero-title em, .m-title em, .b-title em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  letter-spacing: -.01em;
  font-size: 1.1em;
  line-height: .9;
  background: var(--ac-text);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding: 0 .08em 0 .02em;
  animation: shine 9s linear infinite;
}
@keyframes shine { to { background-position: -200% 0; } }

.kicker { display: flex; align-items: center; gap: 14px; color: var(--ac-soft); margin: 0 0 22px; }
.dark .kicker, .hero .kicker, .results .kicker, .audit .kicker, .cta-band .kicker { color: var(--ac); }
.kicker-line { display: inline-block; width: 36px; height: 1px; background: currentColor; }
.section-head { max-width: 900px; margin-bottom: clamp(36px, 5vw, 72px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }
.section-lead { margin: 24px 0 0; max-width: 620px; color: var(--tx-2); font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; }
.section-head--center .section-lead { margin-inline: auto; }
.note { margin: 40px 0 0; color: var(--tx-3); font-family: var(--f-serif); font-style: italic; font-size: 22px; }

section { position: relative; padding-block: clamp(80px, 10vw, 150px); }

/* Mots découpés pour les animations de titres.
   Le masque déborde largement autour du mot : accents (É, Û) et jambages (g, p) ne sont jamais rognés. */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em .08em .2em; margin: -.16em -.08em -.2em; }
[data-split] .w > span { display: inline-block; transform: translateY(115%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
[data-split].is-in .w > span { transform: none; }
html.no-js [data-split] .w > span { transform: none; }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
html.no-js [data-reveal] { opacity: 1; transform: none; }

/* ----------------------------------------------------------------- Boutons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 28px;
  font-family: var(--f-display); font-stretch: 112%; font-weight: 650; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  border-radius: var(--radius); overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s;
}
.btn span { position: relative; z-index: 2; }
.btn--primary { background: var(--ac-grad); color: var(--btn-tx); box-shadow: var(--shadow-sm); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn--primary:hover { box-shadow: var(--shadow-md); }
.btn--primary:hover::before { transform: translateX(120%); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--tx); }
.btn--ghost::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--tx); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.btn--ghost:hover { color: var(--bg); border-color: var(--tx); }
.btn--ghost:hover::before { transform: scaleY(1); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 11.5px; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; color: var(--ac); }
.link-arrow:hover .ico--arrow { transform: translateX(6px); }

/* ------------------------------------------------------------------ Intro */
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; }
html.no-js .intro, html.intro-done .intro { display: none; }
.intro-panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--nuit); transition: transform 1.1s var(--ease-io); }
.intro-panel--top { top: 0; }
.intro-panel--bottom { bottom: 0; }
.intro-stage { position: relative; z-index: 2; display: grid; justify-items: center; gap: 26px; transition: opacity .5s, transform 1.1s var(--ease-io); }
.intro-symbol { width: clamp(96px, 13vw, 150px); height: auto; overflow: visible; }
.intro-symbol path { transform-box: fill-box; }
.intro-symbol [id^="amtf-pilier"] { transform-origin: 50% 100%; animation: rise 1s var(--ease) both; }
.intro-symbol [id^="amtf-pilier-1"] { animation-delay: .15s; }
.intro-symbol [id^="amtf-pilier-2"] { animation-delay: .27s; }
.intro-symbol [id^="amtf-pilier-3"] { animation-delay: .39s; }
.intro-symbol [id^="amtf-pilier-4"] { animation-delay: .51s; }
.intro-symbol [id^="amtf-fronton-g"] { animation: drop-l 1s var(--ease) .75s both; }
.intro-symbol [id^="amtf-fronton-d"] { animation: drop-r 1s var(--ease) .75s both; }
@keyframes rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes drop-l { from { transform: translate(-30%, -60%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes drop-r { from { transform: translate(30%, -60%); opacity: 0; } to { transform: none; opacity: 1; } }
.intro-meta { display: flex; gap: 28px; color: var(--tx-3); }
.intro-count { color: var(--ac); min-width: 3ch; }
.intro-scan { position: absolute; left: 50%; top: 42%; width: 70vw; height: 1px; background: linear-gradient(90deg, transparent, #A9C4E0, transparent); transform: translateX(-50%) scaleX(0); opacity: 0; }
.intro.is-scanning .intro-scan { animation: scan-x 1s var(--ease-io) forwards; }
@keyframes scan-x { 0% { transform: translateX(-50%) scaleX(0); opacity: 1; } 60% { transform: translateX(-50%) scaleX(1); opacity: 1; } 100% { transform: translateX(-50%) scaleX(1); opacity: 0; } }
.intro.is-leaving .intro-panel--top { transform: translateY(-100%); }
.intro.is-leaving .intro-panel--bottom { transform: translateY(100%); }
.intro.is-leaving .intro-stage { opacity: 0; transform: scale(.92); }
.intro-skip { position: absolute; z-index: 3; right: var(--gutter); bottom: 32px; color: var(--tx-3); padding: 10px 0; }
.intro-skip:hover { color: var(--ac); }

/* ----------------------------------------------------------------- En-tête
   Clair par défaut ; texte ivoire tant qu'il survole un visuel sombre (body.has-dark-hero). */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h); color: var(--tx);
  transition: transform .6s var(--ease), background-color .4s, border-color .4s, color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(250, 248, 244, .97); border-color: var(--line); box-shadow: 0 2px 18px rgba(28, 25, 23, .05); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex: none; }
.brand-logo { height: 36px; width: auto; }
.brand-logo--dark { display: none; }
body.has-dark-hero .site-header:not(.is-scrolled), body.menu-open .site-header { color: #FAF8F4; }
body.has-dark-hero .site-header:not(.is-scrolled) .brand-logo--light, body.menu-open .brand-logo--light { display: none; }
body.has-dark-hero .site-header:not(.is-scrolled) .brand-logo--dark, body.menu-open .brand-logo--dark { display: block; }
body.menu-open .site-header { transform: none; background: transparent; border-color: transparent; backdrop-filter: none; }
.nav { display: none; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 4px; }
.nav-link { position: relative; display: block; padding: 10px 14px; font-size: 14px; font-weight: 500; opacity: .78; transition: opacity .3s; }
.nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav-link:hover, .nav-link.is-current, .nav-link.is-active { opacity: 1; }
.nav-link:hover::after, .nav-link.is-current::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }
body.has-dark-hero .site-header:not(.is-scrolled) .nav-cta { --ac-grad: linear-gradient(135deg, #DCE7F3, #A9C4E0 55%, #7FA3CC); --btn-tx: #0D1B2A; }

.has-mega { position: relative; }
.mega { position: absolute; top: 100%; left: -24px; padding-top: 14px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .35s, transform .5s var(--ease), visibility .35s; color: #1C1917; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { display: grid; grid-template-columns: repeat(5, 168px); gap: 1px; background: #E7E2D8; border: 1px solid #E7E2D8; border-radius: 6px; overflow: hidden; box-shadow: 0 30px 80px rgba(13, 27, 42, .18); }
.mega-item { display: grid; gap: 14px; padding: 22px 20px 24px; background: #FFFFFF; transition: background .3s; }
.mega-item:hover { background: #F2EEE6; }
.mega-item .ico { color: #1E3A5F; width: 26px; height: 26px; }
.mega-num { color: #78716C; }
.mega-title { font-stretch: 112%; font-weight: 600; font-size: 15px; line-height: 1.25; }

.burger { position: relative; width: 48px; height: 48px; display: grid; place-items: center; z-index: 2; }
.burger span { position: absolute; width: 26px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.burger span:first-child { transform: translateY(-4px); }
.burger span:last-child { transform: translateY(4px); }
body.menu-open .burger span:first-child { transform: rotate(45deg); }
body.menu-open .burger span:last-child { transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 90; background: var(--nuit); clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); overflow-y: auto; }
body.menu-open .menu { clip-path: inset(0 0 0 0); }
body.menu-open { overflow: hidden; }
.menu-inner { min-height: 100%; padding-top: calc(var(--header-h) + 32px); padding-bottom: 40px; display: flex; flex-direction: column; gap: 40px; }
.menu-list a { display: flex; align-items: baseline; gap: 16px; padding: 6px 0; font-stretch: 125%; font-weight: 750; font-size: clamp(32px, 9vw, 64px); line-height: 1.1; letter-spacing: -.02em; transform: translateY(40px); opacity: 0; transition: transform .8s var(--ease), opacity .8s var(--ease), color .3s; }
.menu-list a span { color: var(--ac); font-size: 11px; }
.menu-list a:hover { color: var(--ac); }
body.menu-open .menu-list a { transform: none; opacity: 1; }
.menu-list li:nth-child(1) a { transition-delay: .15s; } .menu-list li:nth-child(2) a { transition-delay: .2s; }
.menu-list li:nth-child(3) a { transition-delay: .25s; } .menu-list li:nth-child(4) a { transition-delay: .3s; }
.menu-list li:nth-child(5) a { transition-delay: .35s; } .menu-list li:nth-child(6) a { transition-delay: .4s; }
.menu-missions { display: grid; gap: 8px; color: var(--tx-2); border-top: 1px solid var(--line); padding-top: 24px; }
.menu-missions p { color: var(--tx-3); margin: 0 0 6px; }
.menu-mail { color: var(--ac); margin-top: auto; }

@media (min-width: 1100px) {
  .nav { display: flex; }
  .burger, .menu { display: none; }
}

/* ------------------------------------------------------------------- Hero
   La hauteur du titre dépend aussi de la hauteur d'écran : le hero tient toujours en entier. */
.hero { min-height: 100vh; min-height: 100svh; padding: 0; display: flex; overflow: hidden; isolation: isolate; background: var(--nuit); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-vignette { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 55% at 72% 50%, transparent 0, rgba(13, 27, 42, .15) 55%, rgba(13, 27, 42, .85) 100%),
    linear-gradient(90deg, rgba(13, 27, 42, .94) 0%, rgba(13, 27, 42, .6) 42%, transparent 70%),
    linear-gradient(0deg, var(--nuit) 0, transparent 20%); }
.hero-inner { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding-top: calc(var(--header-h) + 20px); padding-bottom: 52px; min-height: 100%; }
.hero-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; color: var(--tx-3); }
.hero-tag { display: inline-flex; align-items: center; gap: 12px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #A9C4E0; box-shadow: 0 0 0 0 rgba(169, 196, 224, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(169, 196, 224, .55); } 70% { box-shadow: 0 0 0 12px rgba(169, 196, 224, 0); } 100% { box-shadow: 0 0 0 0 rgba(169, 196, 224, 0); } }
.hero-readout { display: none; }
.hero-readout b { color: var(--ac); font-weight: 500; }
.hero-title {
  font-stretch: 125%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(28px, 8.4vw, 50px);
  line-height: .96; letter-spacing: -.035em;
  margin: auto 0 0;
}
.hero-title .line { display: block; overflow: hidden; padding: .12em .1em .18em 0; margin: -.12em -.1em -.18em 0; }
.hero-title .line > span { display: inline-block; transform: translateY(115%); transition: transform 1.3s var(--ease); }
.hero-title .line:nth-child(2) > span { transition-delay: .08s; }
.hero-title .line:nth-child(3) > span { transition-delay: .16s; }
.hero-title .line:nth-child(4) > span { transition-delay: .24s; }
.hero.is-in .hero-title .line > span, html.no-js .hero-title .line > span { transform: none; }
.hero-title em { text-transform: none; font-size: 1.08em; letter-spacing: -.02em; }
[data-hero-fade] { opacity: 0; transform: translateY(16px); transition: opacity 1.2s var(--ease) .5s, transform 1.2s var(--ease) .5s; }
.hero.is-in [data-hero-fade], html.no-js [data-hero-fade] { opacity: 1; transform: none; }
.hero-bottom { display: grid; gap: 28px; }
.hero-tagline { font-family: var(--f-serif); font-style: italic; font-size: clamp(19px, 1.7vw, 26px); line-height: 1.25; color: var(--tx); margin-bottom: 8px; }
.hero-sub { color: var(--tx-2); max-width: 560px; margin-bottom: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); align-self: end; }
.hero-badges li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--tx-2); }
.hero-badges li span { color: var(--ac); }
.hero-scroll { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 8px; color: var(--tx-3); }
.hero-scroll i { width: 1px; height: 36px; background: linear-gradient(#A9C4E0, transparent); animation: drip 2s var(--ease-io) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (min-width: 900px) {
  .hero-readout { display: inline; }
  /* Plafond 84 px : la plus longue ligne (« LES MAINS D'EXPERTS », ~14,3 em) tient toujours dans la zone de contenu (1 252 px max) */
  .hero-title { font-size: clamp(30px, min(5.4vw, calc((100vh - 430px) / 3.9)), 84px); }
  .hero-title .line > span { white-space: nowrap; }
  .hero-bottom { grid-template-columns: minmax(0, 660px) minmax(0, 320px); justify-content: space-between; align-items: end; }
  .hero-badges { grid-template-columns: 1fr; }
}
@supports (height: 100svh) {
  @media (min-width: 900px) { .hero-title { font-size: clamp(30px, min(5.4vw, calc((100svh - 430px) / 3.9)), 84px); } }
}
@media (min-width: 900px) and (min-height: 820px) { .hero-scroll { display: flex; } }
@media (max-width: 899px) {
  .hero-inner { gap: 18px; padding-top: calc(var(--header-h) + 12px); padding-bottom: 32px; }
  .hero-top { font-size: 10.5px; letter-spacing: .06em; }
  .hero-cta { margin-top: 16px; gap: 10px; }
  .hero-cta .btn { min-height: 48px; padding: 0 20px; }
}

/* ----------------------------------------------------------------- Bandeau */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 24px 0; background: var(--bg-2); color: var(--ac); }
.marquee-track { display: flex; align-items: center; gap: 44px; width: max-content; animation: marquee 48s linear infinite; will-change: transform; }
.marquee span, .marquee b { font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(32px, 5vw, 80px); line-height: 1.15; letter-spacing: -.02em; white-space: nowrap; }
.marquee .outline { color: transparent; -webkit-text-stroke: 1px var(--outline); }
.marquee b { color: var(--ac-soft); font-size: clamp(20px, 2.4vw, 36px); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------- Chiffres clés */
.keyfigures { padding-block: clamp(64px, 8vw, 120px); }
.keyfigures-grid { display: grid; grid-template-columns: 1fr 1fr; }
.kf { padding: 28px 18px 28px 0; border-top: 1px solid var(--line); }
.kf:nth-child(2n) { padding-left: 18px; border-left: 1px solid var(--line); }
.kf-num { font-stretch: 125%; font-weight: 800; font-size: clamp(36px, 5.2vw, 84px); line-height: 1.1; letter-spacing: -.03em; white-space: nowrap; color: var(--ac); }
.kf-num small { font-size: .42em; font-weight: 600; color: var(--ac-soft); letter-spacing: 0; }
.kf-num em { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-stretch: 100%; color: var(--ac-soft); }
.kf-label { margin-top: 12px; color: var(--tx-3); }
@media (min-width: 900px) {
  .keyfigures-grid { grid-template-columns: 1.5fr repeat(3, 1fr); }
  .kf { padding: 36px 28px; border-left: 1px solid var(--line); }
  .kf:first-child { border-left: 0; padding-left: 0; }
  .kf:nth-child(2n) { padding-left: 28px; }
}

/* ------------------------------------------------------------------- Film */
.film { padding-top: clamp(40px, 5vw, 80px); padding-bottom: clamp(40px, 5vw, 80px); }
.film-stage { position: relative; }
.film-frame { position: relative; margin-inline: var(--gutter); aspect-ratio: 1920 / 822; overflow: hidden; border-radius: 6px; background: var(--nuit); box-shadow: var(--shadow-md); will-change: clip-path; }
html.has-gsap .film-frame { margin-inline: 0; border-radius: 0; clip-path: inset(0 12% 0 12% round 10px); }
.film-frame video { width: 100%; height: 100%; object-fit: cover; }
.film-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(13, 27, 42, .45), transparent 40%); }
.film-toggle { position: absolute; z-index: 2; right: 18px; bottom: 16px; padding: 8px 14px; border: 1px solid rgba(250, 248, 244, .3); border-radius: 30px; background: rgba(13, 27, 42, .78); color: rgba(250, 248, 244, .85); font-size: 10.5px; }
.film-toggle:hover { color: #FAF8F4; border-color: #A9C4E0; }
.film-chapters { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 28px; }
.film-chapters li { position: relative; display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding: 14px 0 16px; border-top: 1px solid var(--line); color: var(--tx-4); transition: color .4s; }
.film-chapters li .mono { grid-row: span 2; color: var(--tx-4); padding-top: 3px; }
.film-chapters strong { font-stretch: 112%; font-weight: 600; font-size: 16px; color: inherit; }
.film-chapters em { font-style: normal; font-size: 14px; }
.film-chapters .bar { position: absolute; top: -1px; left: 0; height: 2px; width: 100%; background: linear-gradient(90deg, #4E7BB0, #1E3A5F); transform: scaleX(var(--p, 0)); transform-origin: left; }
.film-chapters li.is-active { color: var(--tx); }
.film-chapters li.is-active .mono { color: var(--ac); }
@media (min-width: 900px) {
  .film-chapters { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .film-chapters li { grid-template-columns: 1fr; }
  .film-chapters li .mono { grid-row: auto; margin-bottom: 8px; }
}

/* --------------------------------------------------------------- Missions */
.missions { padding-top: clamp(60px, 7vw, 110px); padding-bottom: clamp(60px, 8vw, 120px); background: var(--bg-2); }
.missions-pin { position: relative; }
.missions-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.missions-counter { display: none; position: absolute; z-index: 2; top: calc(var(--header-h) + 8px); right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); color: var(--tx-3); }
.missions-counter b { color: var(--ac); font-weight: 500; font-size: 28px; letter-spacing: 0; }
.missions-track { display: grid; gap: 20px; padding-inline: var(--gutter); max-width: var(--wrap); margin-inline: auto; }
.mission { position: relative; display: grid; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--card); box-shadow: var(--shadow-sm); transition: border-color .5s, box-shadow .5s; }
.mission:hover { border-color: var(--line-2); box-shadow: var(--shadow-md); }
.mission-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--nuit); }
.mission-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05) brightness(.9); transform: scale(1.08); transition: transform 1.4s var(--ease), filter .8s; }
.mission-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(30, 58, 95, .35), transparent 60%); }
.mission:hover .mission-media img { transform: scale(1.02); filter: none; }
.mission-body { position: relative; display: flex; flex-direction: column; padding: 28px 24px 30px; }
.mission-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.mission-num { font-stretch: 125%; font-weight: 800; font-size: clamp(72px, 9vw, 150px); line-height: .9; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--outline); }
.mission-ico { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--ac); }
.mission-title { font-stretch: 125%; font-weight: 750; font-size: clamp(28px, 3vw, 46px); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 22px; color: var(--ac); }
.mission-list { display: grid; gap: 0; margin-bottom: 28px; }
.mission-list li { position: relative; padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line); color: var(--tx-2); font-size: 15.5px; line-height: 1.45; }
.mission-list li::before { content: ""; position: absolute; left: 0; top: 19px; width: 12px; height: 1px; background: var(--ac-soft); }
.mission-more { display: inline-flex; align-items: center; gap: 12px; color: var(--ac); margin-top: auto; }
.mission:hover .mission-more .ico--arrow { transform: translateX(8px); }
.missions-progress { display: none; }

@media (min-width: 700px) {
  .mission { grid-template-columns: 1fr 1.1fr; }
  .mission-media { aspect-ratio: auto; min-height: 100%; }
}
/* Défilement horizontal épinglé (desktop + GSAP disponible) */
@media (min-width: 1000px) {
  html.has-gsap .missions-counter { display: block; }
  html.has-gsap .missions-pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  html.has-gsap .missions-track { display: flex; gap: 28px; width: max-content; max-width: none; margin: 0; padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); padding-right: 12vw; }
  html.has-gsap .mission { width: min(74vw, 1120px); height: min(72vh, 660px); grid-template-columns: 1.05fr 1fr; }
  html.has-gsap .mission-body { padding: 40px 44px; }
  html.has-gsap .missions-progress { display: block; position: absolute; left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); bottom: 5vh; height: 1px; background: var(--line); }
  html.has-gsap .missions-progress span { display: block; height: 100%; background: linear-gradient(90deg, #4E7BB0, #1E3A5F); transform: scaleX(0); transform-origin: left; }
}
@media (min-width: 1000px) and (max-height: 760px) {
  html.has-gsap .mission { height: 78vh; }
  html.has-gsap .mission-num { font-size: 96px; }
  html.has-gsap .mission-body { padding: 28px 36px; }
}

/* --------------------------------------------------------- Pourquoi nous */
.why-grid { display: grid; gap: 48px; }
.why-intro .h-display { font-size: clamp(32px, 4.4vw, 68px); }
.why-pillars { display: none; margin-top: 56px; }
.why-symbol { width: 240px; height: auto; overflow: visible; }
.why-symbol path { transform-box: fill-box; transform-origin: 50% 100%; opacity: .14; transition: opacity 1s var(--ease), transform 1.2s var(--ease); transform: scaleY(.35); }
.why-symbol [id^="amtf-fronton"] { transform: translateY(-20px); }
.why-symbol.lit-0 [id^="amtf-fronton"] { opacity: 1; transform: none; }
.why-symbol.lit-1 [id^="amtf-pilier-1"], .why-symbol.lit-2 [id^="amtf-pilier-2"], .why-symbol.lit-3 [id^="amtf-pilier-3"], .why-symbol.lit-4 [id^="amtf-pilier-4"] { opacity: 1; transform: none; }
.why-item { display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 34px 0; border-top: 1px solid var(--line); }
.why-item:last-child { border-bottom: 1px solid var(--line); }
.why-num { color: var(--ac-soft); padding-top: 8px; }
.why-item h3 { font-stretch: 118%; font-weight: 650; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.15; letter-spacing: -.01em; margin-bottom: 12px; color: var(--ac); }
.why-item p { color: var(--tx-2); margin: 0; max-width: 520px; }
@media (min-width: 1000px) {
  .why-grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
  .why-intro { position: sticky; top: calc(var(--header-h) + 48px); }
  .why-pillars { display: block; }
}

.audit { position: relative; display: grid; gap: 36px; margin-top: clamp(72px, 9vw, 140px); padding: clamp(28px, 4vw, 56px); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-md);
  background: radial-gradient(ellipse 70% 90% at 0% 50%, rgba(78, 123, 176, .3), transparent 60%), var(--nuit); }
.audit-dial { position: relative; width: min(240px, 70vw); aspect-ratio: 1; justify-self: center; }
.dial { width: 100%; height: 100%; overflow: visible; }
.dial-ticks line { stroke: rgba(250, 248, 244, .3); stroke-width: 1; }
.dial-ticks line.major { stroke: #A9C4E0; }
.dial-arc { transform: rotate(-90deg); transform-origin: 100px 100px; transition: stroke-dasharray 2.6s var(--ease); }
.audit.is-in .dial-arc { stroke-dasharray: 360 360; }
.dial-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.dial-center .mono { color: var(--tx-3); }
.dial-center strong { font-stretch: 125%; font-weight: 800; font-size: 48px; line-height: 1.1; background: var(--ac-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.audit-title { font-stretch: 118%; font-weight: 700; font-size: clamp(26px, 2.8vw, 42px); line-height: 1.08; letter-spacing: -.015em; margin-bottom: 18px; }
.audit-body > p { color: var(--tx-2); max-width: 560px; }
.audit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 26px; }
.audit-note { color: var(--tx-3); margin: 0; font-size: 11px; }
.audit-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--line); }
.audit-mini div { padding: 18px 10px 0 0; }
.audit-mini dt { font-stretch: 125%; font-weight: 800; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; color: var(--ac); }
.audit-mini dd { margin: 8px 0 0; color: var(--tx-3); font-size: 10.5px; }
@media (min-width: 1000px) {
  .audit { grid-template-columns: 240px 1fr 220px; align-items: center; gap: 56px; }
  .audit-mini { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); padding-left: 32px; }
  .audit-mini div { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .audit-mini div:last-child { border-bottom: 0; }
}

/* ---------------------------------------------------------------- Secteurs */
.sectors { background: var(--bg-2); }
.sector-row { display: grid; gap: 12px; }
.sector { position: relative; border-radius: 8px; background: var(--nuit); overflow: hidden; outline: none; box-shadow: var(--shadow-sm); }
.sector::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 70% at 100% 0%, rgba(78, 123, 176, .35), transparent 60%); opacity: 0; transition: opacity .8s; }
.sector-closed { display: none; }
.sector-open { position: relative; padding: 28px 24px 30px; }
.sector-index { display: block; font-stretch: 125%; font-weight: 800; font-size: 64px; line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--outline); margin-bottom: 22px; }
.sector-open h3 { font-stretch: 125%; font-weight: 750; font-size: clamp(30px, 3.4vw, 54px); line-height: 1.1; letter-spacing: -.02em; }
.sector-sub { color: var(--ac); margin: 12px 0 22px; }
.sector-open ul { display: grid; gap: 0; }
.sector-open li { padding: 10px 0; border-top: 1px solid var(--line); color: var(--tx-2); }
@media (min-width: 1000px) {
  .sector-row { display: flex; height: 520px; gap: 14px; }
  .sector { flex: 1 1 0; min-width: 0; cursor: pointer; background: var(--nuit-2); transition: flex 1s var(--ease), background .5s; }
  .sector.is-open { flex: 3.4 1 0; cursor: default; background: var(--nuit); }
  .sector.is-open::before { opacity: 1; }
  .sector-closed { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 30px 0; transition: opacity .5s; }
  .sector-closed .mono { color: var(--ac); }
  .sector-closed h3 { writing-mode: vertical-rl; transform: rotate(180deg); font-stretch: 125%; font-weight: 750; font-size: 34px; letter-spacing: -.01em; white-space: nowrap; }
  .sector.is-open .sector-closed { opacity: 0; pointer-events: none; }
  .sector-open { position: absolute; inset: 0; width: min(760px, 62vw); padding: 44px 48px; opacity: 0; transform: translateX(-20px); transition: opacity .4s, transform .8s var(--ease); pointer-events: none; }
  .sector.is-open .sector-open { opacity: 1; transform: none; transition-delay: .25s; pointer-events: auto; }
  .sector-open ul { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}

/* --------------------------------------------------------------- Résultats */
.results { background: var(--nuit); }
.results-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 0 32px; }
.live { display: inline-flex; align-items: center; gap: 10px; color: var(--tx-2); padding: 10px 16px; border: 1px solid var(--line); border-radius: 30px; margin-bottom: clamp(36px, 5vw, 72px); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #5FB98A; box-shadow: 0 0 12px #5FB98A; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.counter { border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: var(--nuit-2); }
.counter-tabs { display: flex; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.counter-tabs::-webkit-scrollbar { display: none; }
.counter-tab { position: relative; flex: 1 0 auto; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 20px 22px; color: var(--tx-3); font-size: 14px; font-weight: 500; white-space: nowrap; border-right: 1px solid var(--line); transition: color .3s, background .3s; }
.counter-tab:last-child { border-right: 0; }
.counter-tab .ico { width: 18px; height: 18px; }
.counter-tab:hover { color: var(--tx); }
.counter-tab.is-active { color: var(--tx); background: rgba(78, 123, 176, .14); }
.counter-tab.is-active .ico { color: var(--ac); }
.tab-timer { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: linear-gradient(90deg, #4E7BB0, #A9C4E0); transform: scaleX(0); transform-origin: left; }
.counter-tab.is-active .tab-timer { transform: scaleX(1); transition: transform .4s; }
.counter.is-auto .counter-tab.is-active .tab-timer { transform: scaleX(0); animation: timer 7s linear forwards; }
@keyframes timer { to { transform: scaleX(1); } }
.counter-panels { position: relative; }
.counter-panel { display: none; position: relative; grid-template-columns: 1fr; padding: 12px clamp(20px, 3vw, 44px) 28px; overflow: hidden; }
.counter-panel.is-active { display: grid; animation: panel-in .7s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.counter-wm { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); opacity: .06; pointer-events: none; }
.counter-wm .ico { width: 360px; height: 360px; stroke-width: .6; }
.stat { position: relative; padding: 28px 0; border-bottom: 1px solid var(--line); }
.stat:last-child { border-bottom: 0; }
.stat-value { display: flex; align-items: baseline; flex-wrap: nowrap; gap: .12em; font-stretch: 125%; font-weight: 800; font-size: clamp(38px, 5vw, 80px); line-height: 1.1; letter-spacing: -.03em; white-space: nowrap; }
.stat-value .odo, .stat-prefix { background: var(--ac-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-unit { font-size: .36em; font-weight: 600; letter-spacing: 0; color: var(--tx-2); margin-left: .25em; }
.stat-label { margin: 14px 0 0; color: var(--tx-2); font-size: 15.5px; max-width: 300px; }
@media (min-width: 900px) {
  .counter-panel { grid-template-columns: repeat(3, 1fr); padding-block: 28px 40px; }
  .stat { padding: 32px 28px; border-bottom: 0; border-left: 1px solid var(--line); }
  .counter-wm + .stat { border-left: 0; padding-left: 0; }
}
/* Odomètre : chaque chiffre est une bande verticale de 0 à 9 */
.odo { display: inline-flex; overflow: hidden; height: 1.1em; line-height: 1.1; }
.odo .d { display: inline-block; height: 1.1em; overflow: hidden; }
.odo .d-strip { display: flex; flex-direction: column; transform: translateY(0); transition: transform 1.8s var(--ease); transition-delay: calc(var(--k, 0) * 70ms); }
.odo .d-strip span { height: 1.1em; line-height: 1.1; color: #DCE7F3; }
.odo .sep { display: inline-block; height: 1.1em; color: #DCE7F3; }
.odo .sep--space { width: .22em; }

/* ------------------------------------------------------------------- Blog */
.home-blog-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 0 32px; }
.home-blog-head .link-arrow { margin-bottom: clamp(36px, 5vw, 72px); }
.post-grid { display: grid; gap: 40px 28px; }
@media (min-width: 760px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; }
.post-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--nuit); margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.post-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.92); transform: scale(1.04); transition: transform 1.2s var(--ease), filter .8s; }
.post-card:hover .post-media img { transform: scale(1); filter: none; }
.post-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: #A9C4E0;
  background: linear-gradient(rgba(250, 248, 244, .08) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(250, 248, 244, .08) 1px, transparent 1px) 0 0 / 28px 28px, radial-gradient(circle at 70% 30%, rgba(78, 123, 176, .35), transparent 60%), var(--nuit); }
.post-placeholder .ico { width: 64px; height: 64px; stroke-width: 1; }
.post-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--tx-4); font-size: 11px; margin-bottom: 12px; }
.post-meta span:first-child { color: var(--ac-soft); }
.post-title { font-stretch: 112%; font-weight: 650; font-size: clamp(20px, 1.7vw, 25px); line-height: 1.22; letter-spacing: -.01em; margin-bottom: 12px; color: var(--ac); transition: color .3s; }
.post-card:hover .post-title { color: var(--ac-soft); }
.post-excerpt { color: var(--tx-2); font-size: 15.5px; margin-bottom: 16px; }
.post-read { color: var(--tx-4); font-size: 10.5px; margin-top: auto; }

/* -------------------------------------------------------------------- FAQ */
.faq { background: var(--bg-2); }
.faq-grid { display: grid; gap: 24px; }
@media (min-width: 1000px) {
  .faq-grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .faq-grid > div:first-child { position: sticky; top: calc(var(--header-h) + 48px); }
}
.faq-list { border-bottom: 1px solid var(--line); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item summary { display: grid; grid-template-columns: 44px 1fr 28px; gap: 8px; align-items: start; padding: 28px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-num { color: var(--ac-soft); padding-top: 6px; }
.faq-q { font-stretch: 112%; font-weight: 600; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.3; transition: color .3s; }
.faq-item summary:hover .faq-q, .faq-item[open] .faq-q { color: var(--ac); }
.faq-plus { position: relative; width: 28px; height: 28px; border: 1px solid var(--line-2); border-radius: 50%; margin-top: 2px; transition: transform .6s var(--ease), border-color .3s, background .3s; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; background: var(--ac); transform: translate(-50%, -50%); }
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .6s var(--ease); }
.faq-item[open] .faq-plus { transform: rotate(180deg); border-color: var(--ac); }
.faq-item[open] .faq-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 36px 30px 52px; margin: 0; color: var(--tx-2); max-width: 760px; }
@media (max-width: 600px) { .faq-a p { padding-left: 0; padding-right: 0; } }

/* -------------------------------------------------------------- Signature */
.signature { padding-block: clamp(80px, 12vw, 190px); overflow: hidden; }
.signature-text { margin: 0; padding-inline: var(--gutter); text-align: center; font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 8vw, 140px); line-height: 1.02; letter-spacing: -.04em; color: var(--ac); }
.sig-line { display: block; }
.signature-text .w { display: inline-block; opacity: .1; transition: opacity .6s var(--ease); }
.signature-text .w.is-on { opacity: 1; }
.signature-text em { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-stretch: 100%; text-transform: none; letter-spacing: -.01em; font-size: 1.12em; color: var(--ac-soft); }
html.no-js .signature-text .w { opacity: 1; }

/* ---------------------------------------------------------------- Contact */
.contact-grid { display: grid; gap: 56px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
.contact-cards li { padding: 22px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.contact-cards li:last-child { border-bottom: 1px solid var(--line); }
.contact-cards .mono { color: var(--tx-4); }
.contact-cards a, .contact-cards p { font-stretch: 112%; font-weight: 600; font-size: clamp(18px, 1.7vw, 24px); margin: 0; color: var(--ac); }
.contact-cards a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; width: fit-content; }
.contact-cards a:hover { color: var(--ac-soft); background-size: 100% 1px; }
.form-box { padding: clamp(24px, 3.4vw, 48px); border: 1px solid var(--line); border-radius: 10px; background: var(--card); box-shadow: var(--shadow-md); }
.form-title { font-stretch: 118%; font-weight: 700; font-size: clamp(22px, 2vw, 30px); line-height: 1.12; margin-bottom: 30px; color: var(--ac); }
.form-row { display: grid; gap: 0 24px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { position: relative; margin-bottom: 22px; }
.field input, .field textarea {
  width: 100%; padding: 26px 0 10px; border: 0; border-bottom: 1px solid #D6CFC2; background: transparent;
  color: var(--tx); font: inherit; font-size: 17px; border-radius: 0; transition: border-color .3s; outline: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field label { position: absolute; left: 0; top: 24px; color: var(--tx-3); font-size: 15.5px; pointer-events: none; transform-origin: left top; transition: transform .45s var(--ease), color .3s; }
.field input:focus, .field textarea:focus { border-color: var(--ac); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-22px) scale(.78); color: var(--ac); }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ac); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #B42318; }
.field.is-invalid label { color: #B42318; }
.field-hint { display: block; margin-top: 8px; color: var(--tx-4); font-size: 10.5px; letter-spacing: .08em; }
.form .btn { margin-top: 10px; }
.form-status { min-height: 1.5em; margin: 16px 0 0; color: #2F7D5B; letter-spacing: .06em; text-transform: none; font-size: 12.5px; }
.form-status.is-error { color: #B42318; }
.form-note { margin: 12px 0 0; color: var(--tx-3); font-size: 13px; line-height: 1.5; }
.form-note a { color: var(--ac-link); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form.is-sent .field, .form.is-sent .btn { opacity: .35; pointer-events: none; }

/* -------------------------------------------------------------- Pied de page */
.site-footer { position: relative; padding-top: clamp(64px, 8vw, 120px); overflow: hidden; background: var(--nuit); }
.footer-cta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; padding-bottom: clamp(44px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.footer-cta .mono { color: var(--tx-3); margin: 0; }
.footer-cta-link { display: inline-flex; align-items: center; gap: .3em; width: fit-content; font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 4.2vw, 64px); line-height: 1.04; letter-spacing: -.035em; transition: color .4s; }
.footer-cta-link .ico--arrow { width: .7em; height: .7em; stroke-width: 1.2; color: var(--ac); }
.footer-cta-link:hover { color: var(--ac); }
.footer-cta-link:hover .ico--arrow { transform: translateX(.15em) rotate(-45deg); }

.footer-main { display: grid; gap: 48px; padding-block: clamp(48px, 6vw, 80px); }
@media (min-width: 1100px) { .footer-main { grid-template-columns: minmax(260px, 1.15fr) 3fr; gap: 64px; } }
.footer-logo { display: inline-block; }
.footer-logo-svg { height: 42px; width: auto; }
.footer-brand > p { margin: 22px 0 22px; max-width: 380px; color: var(--tx-2); font-size: 15.5px; line-height: 1.6; }
.footer-contact { display: grid; gap: 6px; font-size: 15px; color: var(--tx-2); }
.footer-contact a { color: var(--tx); transition: color .3s; }
.footer-contact a:hover { color: var(--ac); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--ac); transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease); }
.socials a:hover { background: var(--ac); border-color: var(--ac); color: var(--nuit); transform: translateY(-2px); }

.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; }
@media (min-width: 900px) { .footer-nav { grid-template-columns: repeat(4, 1fr); } }
.footer-col ul { display: grid; gap: 9px; font-size: 15px; color: var(--tx-2); }
.footer-col a { transition: color .3s; }
.footer-col a:hover { color: var(--ac); }
.footer-title { color: var(--ac); margin: 0 0 16px; }
.footer-title--sub { margin-top: 28px; }
.footer-posts { font-size: 14px !important; line-height: 1.4; }
.footer-posts a { color: var(--tx-3); }

.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; padding-block: 32px; border-top: 1px solid var(--line); }
.footer-mark { display: block; width: clamp(150px, 16vw, 230px); opacity: .9; transition: opacity .3s; }
.footer-mark:hover { opacity: 1; }
.footer-wordmark { width: 100%; height: auto; }
.footer-sig { font-family: var(--f-serif); font-style: italic; font-size: clamp(18px, 1.6vw, 24px); color: var(--tx-2); margin: 0; }
.footer-sig i { color: var(--ac); padding-inline: .3em; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 24px; color: var(--tx-3); font-size: 10.5px; border-top: 1px solid var(--line); }
.to-top:hover { color: var(--ac); }

/* Plan du site */
.sitemap-grid { display: grid; gap: 40px 32px; }
@media (min-width: 760px) { .sitemap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .sitemap-grid { grid-template-columns: repeat(4, 1fr); } }
.sitemap-col h2 { font-stretch: 115%; font-size: 22px; color: var(--ac); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.sitemap-col ul { display: grid; gap: 10px; }
.sitemap-col li a { color: var(--tx-2); transition: color .3s; }
.sitemap-col li a:hover { color: var(--ac); }
.sitemap-col ul ul { margin: 8px 0 4px 16px; gap: 6px; font-size: 14.5px; }

/* --------------------------------------------------------------- Curseur */
.cursor { display: none; }
@media (pointer: fine) and (min-width: 1000px) {
  html.has-cursor .cursor { display: block; position: fixed; inset: 0; z-index: 400; pointer-events: none; }
  .cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
  .cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #4E7BB0; }
  .cursor-ring { display: grid; place-items: center; width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(78, 123, 176, .6); transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .45s, border-color .45s; }
  .cursor-ring em { font-family: var(--f-mono); font-style: normal; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #FAF8F4; opacity: 0; transition: opacity .3s; }
  html.cursor-hover .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: #4E7BB0; }
  html.cursor-label .cursor-ring { width: 104px; height: 104px; margin: -52px 0 0 -52px; background: #1E3A5F; border-color: #1E3A5F; }
  html.cursor-label .cursor-ring em { opacity: 1; }
  html.cursor-label .cursor-dot { opacity: 0; }
}

/* ======================================================= Pages intérieures */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(48px, 8vw, 120px)) 0 clamp(48px, 6vw, 90px); overflow: hidden; isolation: isolate; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; color: var(--tx-4); margin-bottom: 32px; }
.breadcrumb a:hover { color: var(--ac); }
.breadcrumb span[aria-hidden] { color: var(--ac-soft); }

/* Pages missions */
.m-hero { min-height: 88vh; min-height: 88svh; display: flex; align-items: flex-end; background: var(--nuit); }
.m-hero-bg { position: absolute; inset: 0; z-index: -1; }
.m-hero-bg img { width: 100%; height: 115%; object-fit: cover; filter: saturate(.8) brightness(.62) contrast(1.08); will-change: transform; }
.m-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 27, 42, .94) 0, rgba(13, 27, 42, .72) 45%, rgba(13, 27, 42, .3) 100%), linear-gradient(0deg, var(--nuit) 0, transparent 45%); }
.m-hero .wrap { width: 100%; }
@media (max-width: 699px) {
  .m-hero-bg img { filter: saturate(.7) brightness(.5); }
  .m-hero-bg::after { background: linear-gradient(180deg, rgba(13, 27, 42, .72) 0, rgba(13, 27, 42, .9) 55%, var(--nuit) 100%); }
}
.m-hero.page-hero { padding-top: calc(var(--header-h) + 32px); padding-bottom: clamp(36px, 5vh, 72px); }
.m-num { display: block; font-stretch: 125%; font-weight: 800; font-size: clamp(64px, min(11vw, 17vh), 190px); line-height: .9; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px var(--outline); margin-bottom: 12px; }
.m-title { font-stretch: 125%; font-weight: 800; font-size: clamp(34px, min(6vw, 9.5vh), 104px); line-height: 1; letter-spacing: -.04em; text-transform: uppercase; max-width: 15ch; }
.m-lead { margin: 22px 0 0; max-width: 640px; color: var(--tx); font-family: var(--f-serif); font-style: italic; font-size: clamp(20px, min(2vw, 3.6vh), 30px); line-height: 1.28; }
.m-switch { display: flex; gap: 6px; flex-wrap: wrap; margin-top: clamp(22px, 4vh, 40px); }
.m-switch a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 30px; font-size: 13px; color: var(--tx-2); background: rgba(13, 27, 42, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: border-color .3s, color .3s, background .3s; }
.m-switch a .mono { font-size: 10px; color: var(--ac); }
.m-switch a:hover { border-color: var(--ac); color: var(--tx); }
.m-switch a[aria-current] { background: #FAF8F4; border-color: #FAF8F4; color: #1E3A5F; }
.m-switch a[aria-current] .mono { color: #1E3A5F; }

.m-prose { display: grid; gap: 40px; }
.m-prose-body p { color: var(--tx-2); font-size: clamp(17px, 1.3vw, 19.5px); line-height: 1.75; }
.m-prose-body p:first-child::first-letter { float: left; font-family: var(--f-serif); font-size: 5.2em; line-height: .78; padding: .06em .1em 0 0; color: var(--ac); }
.m-prose-body strong { color: var(--tx); }
@media (min-width: 1000px) {
  .m-prose { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .m-prose .section-head { position: sticky; top: calc(var(--header-h) + 48px); }
}
.services { counter-reset: s; border-bottom: 1px solid var(--line); }
.service { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 6px 16px; padding: 28px 0; border-top: 1px solid var(--line); counter-increment: s; }
.service::before { content: counter(s, decimal-leading-zero); font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; color: var(--ac-soft); padding-top: 8px; }
.service h3 { font-stretch: 115%; font-weight: 650; font-size: clamp(19px, 1.8vw, 26px); line-height: 1.22; letter-spacing: -.01em; color: var(--ac); transition: color .3s; }
.service p { grid-column: 2; margin: 0; color: var(--tx-2); }
.service h3 small { display: block; margin-top: 8px; font-family: var(--f-mono); font-size: 11px; font-weight: 400; font-stretch: 100%; letter-spacing: .06em; line-height: 1.5; color: var(--tx-4); }
.service:hover h3 { color: var(--ac-soft); }
@media (min-width: 900px) {
  .service { grid-template-columns: 80px 1fr 1fr; gap: 32px; align-items: baseline; }
  .service p { grid-column: 3; }
}
.m-note { margin-top: 28px; color: var(--tx-3); }
.m-note a { color: var(--ac-link); text-decoration: underline; text-underline-offset: 3px; }
.m-benefits { background: var(--bg-2); padding-top: clamp(80px, 10vw, 150px) !important; }

.benefits { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); }
@media (min-width: 700px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .benefits { grid-template-columns: repeat(4, 1fr); } }
.benefit { position: relative; padding: 36px 28px 40px; background: var(--card); transition: background .5s; overflow: hidden; }
.benefit::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, #4E7BB0, #1E3A5F); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.benefit:hover { background: var(--card-2); }
.benefit:hover::before { transform: scaleX(1); }
.benefit .mono { color: var(--ac-soft); display: block; margin-bottom: 40px; }
.benefit h3 { font-stretch: 118%; font-weight: 700; font-size: 22px; line-height: 1.18; margin-bottom: 14px; color: var(--ac); }
.benefit p { color: var(--tx-2); margin: 0; font-size: 15.5px; }

.cta-band { position: relative; display: grid; gap: 24px; padding: clamp(36px, 6vw, 88px); border-radius: 12px; overflow: hidden; isolation: isolate; background: var(--nuit); box-shadow: var(--shadow-md); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 120% at 100% 100%, rgba(78, 123, 176, .4), transparent 60%), linear-gradient(rgba(250, 248, 244, .07) 1px, transparent 1px) 0 0 / 44px 44px, linear-gradient(90deg, rgba(250, 248, 244, .07) 1px, transparent 1px) 0 0 / 44px 44px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.cta-band h2 { font-stretch: 125%; font-weight: 800; font-size: clamp(28px, 4.2vw, 62px); line-height: 1.04; letter-spacing: -.03em; max-width: 16ch; }
.cta-band p { color: var(--tx-2); max-width: 560px; margin: 0; font-size: 18px; }
.cta-band .btn { width: fit-content; }

.next-mission { display: block; padding-block: clamp(64px, 9vw, 130px); border-top: 1px solid var(--line); }
.next-mission .mono { color: var(--tx-4); display: block; margin-bottom: 18px; }
.next-mission strong { display: flex; align-items: center; gap: .3em; font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(32px, 6.4vw, 108px); line-height: 1.04; letter-spacing: -.04em; color: var(--ac); transition: color .4s; }
.next-mission .ico--arrow { width: .62em; height: .62em; stroke-width: 1.1; color: var(--ac-soft); }
.next-mission:hover strong { color: var(--ac-soft); }
.next-mission:hover .ico--arrow { transform: translateX(.2em); }

/* Blog : liste */
.b-hero { padding-bottom: clamp(40px, 5vw, 64px); }
.b-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 50% 70% at 85% 0%, rgba(78, 123, 176, .16), transparent 60%), linear-gradient(rgba(30, 58, 95, .07) 1px, transparent 1px) 0 0 / 64px 64px, linear-gradient(90deg, rgba(30, 58, 95, .07) 1px, transparent 1px) 0 0 / 64px 64px; mask-image: linear-gradient(180deg, #000 30%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); }
.b-title { font-stretch: 125%; font-weight: 800; font-size: clamp(50px, 10vw, 176px); line-height: .98; letter-spacing: -.05em; text-transform: uppercase; color: var(--ac); }
.b-lead { margin: 28px 0 0; max-width: 620px; color: var(--tx-2); font-size: clamp(17px, 1.4vw, 20px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 30px; font-size: 13.5px; color: var(--tx-2); background: var(--card); transition: border-color .3s, color .3s, background .3s; }
.chip:hover { border-color: var(--ac); color: var(--ac); }
.chip.is-active { background: var(--ac); border-color: var(--ac); color: var(--btn-tx); font-weight: 600; }
.chip small { font-family: var(--f-mono); font-size: 10px; opacity: .7; }
.b-list { padding-top: clamp(24px, 3vw, 40px); }
.feature { display: grid; gap: 28px; padding-bottom: clamp(56px, 7vw, 96px); margin-bottom: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.feature .post-media { aspect-ratio: 16 / 10; margin: 0; }
.feature .post-title { font-stretch: 120%; font-weight: 750; font-size: clamp(26px, 2.8vw, 44px); line-height: 1.08; letter-spacing: -.025em; }
.feature .post-excerpt { font-size: 18px; max-width: 560px; }
.feature-tag { display: inline-flex; gap: 10px; align-items: center; color: var(--ac-soft); margin-bottom: 18px; }
@media (min-width: 1000px) { .feature { grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; } }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 72px; }
.pager a, .pager span { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 30px; font-family: var(--f-mono); font-size: 12px; }
.pager a:hover { border-color: var(--ac); color: var(--ac); }
.pager .is-current { background: var(--ac); color: var(--btn-tx); border-color: var(--ac); }
.empty { padding: 80px 0; text-align: center; color: var(--tx-3); font-family: var(--f-serif); font-style: italic; font-size: 26px; }

/* Blog : article */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 121; background: transparent; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: linear-gradient(90deg, #4E7BB0, #1E3A5F); transform: scaleX(0); transform-origin: left; }
.a-hero { padding-bottom: 48px; }
.a-head { max-width: 1040px; }
.a-title { font-stretch: 122%; font-weight: 780; font-size: clamp(32px, 5vw, 80px); line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; color: var(--ac); }
.a-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 32px; color: var(--tx-4); }
.a-meta b { color: var(--tx); font-weight: 500; }
.a-cover { position: relative; overflow: hidden; border-radius: 8px; aspect-ratio: 21 / 9; margin-inline: var(--gutter); max-width: calc(var(--wrap) - 2 * var(--gutter)); background: var(--nuit); box-shadow: var(--shadow-md); }
@media (min-width: 1380px) { .a-cover { margin-inline: auto; } }
.a-cover img { width: 100%; height: 120%; object-fit: cover; filter: saturate(.9); will-change: transform; }
.a-layout { display: grid; gap: 48px; padding-top: clamp(56px, 7vw, 96px); }
@media (min-width: 1100px) { .a-layout { grid-template-columns: 260px minmax(0, 720px) 1fr; gap: 64px; } }
.toc { display: none; }
@media (min-width: 1100px) {
  .toc { display: block; position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
  .toc p { color: var(--ac-soft); margin-bottom: 18px; }
  .toc ol { display: grid; gap: 2px; border-left: 1px solid var(--line); }
  .toc a { display: block; padding: 8px 0 8px 18px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.4; color: var(--tx-3); transition: color .3s, border-color .3s; }
  .toc a:hover { color: var(--tx); }
  .toc a.is-active { color: var(--ac); border-color: var(--ac); }
  .toc .lvl-3 a { padding-left: 32px; }
}
.prose { font-size: clamp(17px, 1.25vw, 19px); line-height: 1.8; color: var(--tx-2); }
.prose > *:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.4em; }
.prose > p:first-child { font-size: 1.18em; line-height: 1.6; color: var(--tx); }
.prose h2 { font-stretch: 118%; font-weight: 720; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.15; letter-spacing: -.02em; color: var(--ac); margin: 2.2em 0 .8em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { font-stretch: 112%; font-weight: 650; font-size: clamp(20px, 1.7vw, 25px); color: var(--ac); margin: 1.8em 0 .6em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h4 { font-size: 18px; color: var(--tx); margin: 1.6em 0 .5em; }
.prose a { color: var(--ac-link); text-decoration: underline; text-decoration-color: rgba(30, 58, 95, .4); text-underline-offset: 4px; }
.prose a:hover { text-decoration-color: var(--ac-link); }
.prose strong, .prose b { color: var(--tx); font-weight: 650; }
.prose ul, .prose ol { margin: 0 0 1.6em; display: grid; gap: .5em; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .9em; width: 14px; height: 1px; background: var(--ac-soft); }
.prose ol { counter-reset: o; }
.prose ol li { position: relative; padding-left: 40px; counter-increment: o; }
.prose ol li::before { content: counter(o, decimal-leading-zero); position: absolute; left: 0; top: .2em; font-family: var(--f-mono); font-size: 12px; color: var(--ac-soft); }
.prose blockquote { position: relative; margin: 2em 0; padding: 8px 0 8px 32px; border-left: 3px solid var(--ac); font-family: var(--f-serif); font-style: italic; font-size: 1.45em; line-height: 1.38; color: var(--ac); }
.prose img { border-radius: 6px; margin: 2em 0; }
.prose figure { margin: 2em 0; }
.prose figcaption { margin-top: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--tx-4); }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 3em 0; }
.prose pre { background: var(--bg-2); padding: 20px; border-radius: 6px; overflow-x: auto; font-size: 14px; }
.prose code { font-family: var(--f-mono); font-size: .88em; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-size: .92em; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose .ql-align-center { text-align: center; } .prose .ql-align-right { text-align: right; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.share .mono { color: var(--tx-4); margin-right: 8px; }
.share a, .share button { padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 30px; font-size: 13px; color: var(--tx-2); background: var(--card); transition: border-color .3s, color .3s; }
.share a:hover, .share button:hover { border-color: var(--ac); color: var(--ac); }
.a-cta { margin-top: 56px; }
.related { border-top: 1px solid var(--line); background: var(--bg-2); }
.preview-bar { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 130; padding: 10px 18px; border-radius: 30px; background: #B7791F; color: #FFFFFF; font-weight: 600; font-size: 13px; box-shadow: var(--shadow-md); }

/* Pages légales */
.doc { max-width: 820px; }
.doc .updated { color: var(--tx-4); }
.doc h2 { font-stretch: 115%; font-weight: 680; font-size: clamp(22px, 2vw, 28px); margin: 2.4em 0 .7em; color: var(--ac); }
.doc p, .doc li { color: var(--tx-2); }
.doc ul { display: grid; gap: .4em; margin: 0 0 1.4em; }
.doc li { position: relative; padding-left: 22px; }
.doc li::before { content: ""; position: absolute; left: 0; top: .85em; width: 10px; height: 1px; background: var(--ac-soft); }
.doc a { color: var(--ac-link); text-decoration: underline; text-underline-offset: 3px; }
.doc strong { color: var(--tx); font-weight: 600; }
.todo { background: rgba(234, 140, 0, .12); border-bottom: 1px dashed #C2410C; color: #9A3412; padding: 0 4px; border-radius: 2px; }

/* 404 */
.notfound { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--header-h) var(--gutter) 40px; }
.notfound-code { font-stretch: 125%; font-weight: 800; font-size: clamp(120px, 26vw, 360px); line-height: .9; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px var(--outline); }
.notfound h1 { font-stretch: 118%; font-size: clamp(24px, 3vw, 40px); margin: 28px 0 14px; color: var(--ac); }
.notfound p { color: var(--tx-2); margin-bottom: 32px; }

/* ------------------------------------------------------- Mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .intro { display: none !important; }
  [data-reveal], [data-hero-fade], .hero-title .line > span, [data-split] .w > span { opacity: 1 !important; transform: none !important; }
  .signature-text .w { opacity: 1; }
  .marquee-track { animation: none; }
}
