/* =========================================================
   SIMORIA — prototype (charte graphique v1.0)
   Beaucoup de noir et de blanc, le rouge Simoria en signal :
   réservé au "fil" (liens, accents, chiffres clés, boutons forts).
   Titres : League Spartan. Texte : Manrope.
   ========================================================= */
:root {
  /* Couleurs de la charte */
  --red: #FF4C4C;        /* Rouge Simoria, principale 15 % */
  --red-text: #D63A3A;   /* rouge lisible en petit */
  --black: #000000;      /* titres, fonds forts */
  --white: #FFFFFF;      /* fonds, respiration */
  --graphite: #292B2D;   /* texte courant */
  --grey: #D9D9D9;       /* filets, cartes */
  --prune: #823E7A;      /* accent rare, graphiques */
  --grad-0: #020201; --grad-1: #FF4B4B; --grad-2: #FCA9A6; /* dégradé signature */

  /* Dérivés */
  --ink: var(--black);
  --ink-2: #55585C;      /* texte secondaire (graphite éclairci) */
  --ink-3: #6B6E72;      /* légendes */
  --rule: var(--grey);
  --surface: #F5F5F5;    /* gris clair adouci pour les surfaces */
  --fil: var(--red);
  --signature: linear-gradient(90deg, var(--grad-0) 0%, var(--grad-1) 55%, var(--grad-2) 100%);

  /* Typographie */
  --f-display: "League Spartan", "Futura", "Avenir Next", Arial, sans-serif;
  --f-body: "Manrope", "Helvetica Neue", Arial, sans-serif;

  /* Échelle */
  --t-xs: 0.75rem; --t-s: 0.875rem; --t-m: 1rem; --t-l: 1.1875rem;
  --t-h3: clamp(1.35rem, 1.1rem + .9vw, 1.8rem);
  --t-h2: clamp(2rem, 1.3rem + 2.6vw, 3.5rem);
  --t-h1: clamp(2.5rem, 1.3rem + 3.8vw, 5rem);

  --gutter: max(1rem, env(safe-area-inset-left, 0px));
  --gutter-r: max(1rem, env(safe-area-inset-right, 0px));
  --maxw: 70rem;
  --narrow: 51.25rem;
  --ease: cubic-bezier(.22,.61,.36,1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--graphite);
  font-family: var(--f-body); font-size: var(--t-m); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 0.1875rem; border-radius: 0.25rem; }
/* Étiquette : capitales espacées, comme dans la charte ("PRINCIPALE · 15 %") */
.label { font-family: var(--f-body); font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.wrap > * { min-width: 0; }
h1, h2, h3 { color: var(--ink); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; height: 2.875rem; padding: 0 1.35rem; border-radius: 62.4375rem; font-size: var(--t-s); font-weight: 600; text-decoration: none; transition: transform .3s var(--ease), background .3s var(--ease), color .3s, border-color .3s; white-space: nowrap; }
.btn-ink { background: var(--black); color: var(--white); }
.btn-ink:hover { transform: translateY(-1px); background: var(--red); }
.btn-ghost { border: 1px solid var(--grey); background: rgba(255,255,255,.6); backdrop-filter: blur(0.5rem); -webkit-backdrop-filter: blur(0.5rem); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.linklike { text-decoration: underline; text-underline-offset: 0.25rem; text-decoration-color: var(--grey); }
.linklike:hover { text-decoration-color: var(--red); }

/* ---------- Loader : grille isométrique ---------- */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 1.75rem; background: var(--white); transition: opacity .7s var(--ease), visibility .7s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader-grid { width: 6.75rem; height: 6.75rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.625rem; transform: rotateX(58deg) rotateZ(45deg); transform-style: preserve-3d; }
.loader-grid span { position: relative; width: 1.125rem; height: 1.125rem; border-radius: 50%; background: var(--white); border: 1px solid #BDBDBD; animation: lift 1.6s var(--ease) infinite; animation-delay: calc(var(--d) * 110ms); transform-style: preserve-3d; }
.loader-grid span::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid #BDBDBD; transform: translateZ(-6px); opacity: .55; }
@keyframes lift { 0%, 60%, 100% { transform: translateZ(0); background: var(--white); } 25% { transform: translateZ(0.625rem); background: var(--grad-2); border-color: var(--red); } }
.loader-label { color: var(--ink-3); margin: 0; }
.loader-dots::after { content: ""; animation: dots 1.4s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }

/* ---------- Navigation ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background .4s var(--ease), box-shadow .4s; }
.nav.is-scrolled, .nav.is-open { background: rgba(255,255,255,.8); backdrop-filter: blur(1.125rem) saturate(1.2); -webkit-backdrop-filter: blur(1.125rem) saturate(1.2); box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.nav-inner { max-width: var(--maxw); margin-inline: auto; height: 4.25rem; display: flex; align-items: center; gap: 2rem; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; letter-spacing: -.01em; color: var(--black); line-height: 1; }
.logo img { width: 1.625rem; height: 1.625rem; }
.logo span { padding-top: .15em; }
.nav-links { display: flex; gap: .25rem; margin-left: auto; }
.nav-links > * { padding: .5rem .85rem; border-radius: 62.4375rem; font-size: var(--t-s); font-weight: 500; text-decoration: none; color: var(--graphite); transition: color .25s, background .25s; display: inline-flex; align-items: center; gap: .4rem; }
.nav-links > *:hover, .nav-trigger[aria-expanded="true"] { color: var(--black); background: rgba(0,0,0,.05); }
.nav-trigger i { width: 0.375rem; height: 0.375rem; border-right: 1.3px solid currentColor; border-bottom: 1.3px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); }
.nav-trigger[aria-expanded="true"] i { transform: translateY(1px) rotate(225deg); }
.nav-cta { height: 2.5rem; }
.burger { display: none; width: 2.75rem; height: 2.75rem; margin-left: auto; position: relative; }
.burger span { position: absolute; left: 0.75rem; right: 0.75rem; height: 1.5px; background: var(--black); transition: transform .35s var(--ease); }
.burger span:first-child { top: 1.125rem; } .burger span:last-child { top: 1.5625rem; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(0.2188rem) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mega { position: absolute; left: 0; right: 0; top: 100%; padding: 0.5rem var(--gutter-r) 0 var(--gutter); }
.mega-inner { max-width: var(--maxw); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 2rem; padding: 2rem; border-radius: 1.375rem; background: rgba(255,255,255,.74); backdrop-filter: blur(1.75rem) saturate(1.3); -webkit-backdrop-filter: blur(1.75rem) saturate(1.3); box-shadow: 0 1.875rem 5rem -30px rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,255,255,.8); animation: megaIn .45s var(--ease); }
@keyframes megaIn { from { opacity: 0; transform: translateY(-8px); } }
.mega-kicker { color: var(--ink-3); margin: 0 0 .75rem; }
.mega-col { display: flex; flex-direction: column; gap: .15rem; }
.mega-link { display: flex; flex-direction: column; padding: .55rem .75rem; margin-inline: -.75rem; border-radius: 0.75rem; text-decoration: none; transition: background .25s; }
.mega-link:hover { background: rgba(255,255,255,.8); }
.mega-link b { font-weight: 600; font-size: var(--t-m); color: var(--black); }
.mega-link span { color: var(--ink-2); font-size: var(--t-s); }
.mega-card { position: relative; border-radius: 1rem; overflow: hidden; min-height: 13.75rem; display: flex; align-items: flex-end; text-decoration: none; background: linear-gradient(180deg, #FFFFFF 0%, #FBEDEC 100%); box-shadow: inset 0 0 0 1px var(--grey); }
.mega-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.mega-card--fil { background: var(--black); color: var(--white); box-shadow: none; }
.mega-card--fil .mega-card-text b { color: var(--white); }
.mega-fil { position: absolute; inset: 1.125rem 1.125rem auto; width: calc(100% - 2.25rem); color: var(--red); fill: var(--red); }
.mega-card-text { position: relative; display: flex; flex-direction: column; gap: .35rem; padding: 1.25rem; }
.mega-card-text .label { opacity: .7; }
.mega-card-text b { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; line-height: 1.15; color: var(--black); }
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(255,255,255,.2); backdrop-filter: blur(0.375rem); -webkit-backdrop-filter: blur(0.375rem); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.scrim.is-on { opacity: 1; visibility: visible; }

.mobile-menu { padding: .5rem var(--gutter-r) 1.5rem var(--gutter); display: flex; flex-direction: column; gap: .25rem; max-height: calc(100dvh - 4.25rem); overflow: auto; }
.mobile-menu details { border-bottom: 1px solid var(--rule); padding: .5rem 0; }
.mobile-menu summary { font-family: var(--f-display); font-size: 1.7rem; color: var(--black); padding: .4rem 0; cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu details a { display: block; padding: .5rem 0; color: var(--ink-2); text-decoration: none; }
.mobile-menu .btn { margin-top: 1rem; }

/* ---------- Hero (texte centré) ---------- */
.hero { position: relative; min-height: min(100svh, 58.75rem); display: flex; flex-direction: column; justify-content: flex-end; padding-block: 7.5rem 6rem; background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 55%, #FDF1F0 100%); overflow: hidden; }
.flock { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.hero-content { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; pointer-events: none; }
.hero-content > * { pointer-events: auto; }
.verbs { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.25rem; margin: 0 0 1.5rem; color: var(--ink-3); }
.verbs span { transition: color .8s var(--ease); }
.verbs span.is-on { color: var(--red-text); }
.display { font-family: var(--f-display); font-weight: 400; font-size: var(--t-h1); line-height: .98; letter-spacing: -.03em; margin: 0; max-width: 17ch; text-wrap: balance; }
.lede { font-size: var(--t-l); color: var(--ink-2); max-width: 34rem; margin: 1.5rem auto 2rem; text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.fig-caption { color: var(--ink-3); font-size: var(--t-xs); margin: 0; }
.hero-caption { position: absolute; left: 0; right: 0; bottom: 1.75rem; text-align: center; padding-inline: 1rem; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(5rem, 12vw, 10rem); }
.section-head { max-width: 52rem; }
.kicker { color: var(--ink-3); margin: 0 0 1.25rem; display: flex; align-items: center; gap: .6rem; }
.kicker::before { content: ""; width: 1.125rem; height: 2px; background: var(--red); }
.h2 { font-family: var(--f-display); font-weight: 400; font-size: var(--t-h2); line-height: 1.02; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
.body-l { font-size: var(--t-l); color: var(--ink-2); max-width: 40rem; margin: 1.5rem 0 0; }
.reveal { transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal:not(.is-in) { opacity: .15; transform: translateY(1.125rem); }

/* ---------- Interdépendances : récit au défilement ---------- */
.interdep { padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.story { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 4vw, 4rem); margin-top: clamp(1.5rem, 4vw, 3rem); }
.story-steps { list-style: none; margin: 0; padding: 0; }
.story-step { min-height: 50vh; display: flex; flex-direction: column; justify-content: center; opacity: .55; transition: opacity .6s var(--ease); }
.story-step.is-active { opacity: 1; }
.story-step .label { color: var(--red-text); margin: 0; }
.story-step h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); line-height: 1.1; letter-spacing: -.015em; margin: .6rem 0 .75rem; text-wrap: balance; }
.story-step p:not(.label) { margin: 0; color: var(--ink-2); max-width: 26rem; }
.story-next { display: inline-block; margin-top: 1.25rem; font-weight: 600; color: var(--black); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 0.25rem; }
.story-stage { position: sticky; top: 5.25rem; height: calc(100vh - 6.5rem); align-self: start; display: grid; grid-template-rows: 1fr auto auto; gap: 0.875rem; }
.sfig { grid-row: 1; grid-column: 1; align-self: center; margin: 0; padding: clamp(1.25rem, 3vw, 2.25rem) clamp(0.75rem, 2vw, 1.75rem); border: 1px solid var(--grey); border-radius: 1.25rem; background-color: #FCFCFC; background-image: linear-gradient(var(--surface) 1px, transparent 1px), linear-gradient(90deg, var(--surface) 1px, transparent 1px); background-size: 25% 33.33%; opacity: 0; transform: translateY(0.75rem); transition: opacity .7s var(--ease), transform .7s var(--ease); pointer-events: none; }
.sfig.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fig-label { color: var(--ink-3); text-align: center; margin: 0 0 clamp(1rem, 2.5vw, 1.75rem); }
.fig-note { text-align: center; color: var(--ink-3); font-size: var(--t-xs); margin: 0; }
.story-progress { height: 2px; background: var(--surface); border-radius: 2px; overflow: hidden; }
.story-progress span { display: block; height: 100%; width: 0; background: var(--red); transition: width .3s linear; }
.srow { display: grid; grid-template-columns: 1fr 2.25rem 1fr 2.25rem 1fr; align-items: start; }
.spanel { text-align: center; display: flex; flex-direction: column; align-items: center; opacity: .2; transition: opacity .6s var(--ease); }
.spanel.is-drawn { opacity: .55; }
.spanel.is-active { opacity: 1; }
.spanel h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.15rem; line-height: 1.15; margin: .7rem 0 .25rem; }
.spanel p { margin: 0; color: var(--ink-2); font-size: var(--t-xs); max-width: 13rem; line-height: 1.45; }
.spanel--mission { margin: 0.375rem auto 0; }
.ill, .sart { width: 100%; max-width: 11.875rem; aspect-ratio: 160 / 110; height: auto; overflow: visible; }
.spanel--mission .ill { max-width: 14.375rem; aspect-ratio: 200 / 110; }
.sart svg { width: 100%; height: 100%; overflow: visible; }
.ill:not(.ill-gen) { fill: none; stroke: var(--black); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ill .sun { fill: var(--grad-2); stroke: none; opacity: .45; }
.ill .red { stroke: var(--red); fill: var(--red); }
.ill .wire { stroke: var(--ink-3); stroke-width: 1; }
.ill .wave { stroke: var(--red); stroke-dasharray: 2 4; opacity: 0; }
.spanel.is-active .ill .wave { animation: wave 2.4s var(--ease) infinite; }
.spanel.is-active .ill .w2 { animation-delay: .4s; } .spanel.is-active .ill .w3 { animation-delay: .8s; }
@keyframes wave { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
.ill:not(.ill-gen) path:not(.red):not(.wire) { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.8s var(--ease); }
.spanel.is-drawn .ill:not(.ill-gen) path { stroke-dashoffset: 0; }
.sarrow { align-self: center; margin-top: -54px; height: 1px; background: var(--red); position: relative; transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); margin-inline: 2px; }
.sarrow::after { content: ""; position: absolute; right: -1px; top: -4px; width: 0.5rem; height: 0.5rem; border-top: 1px solid var(--red); border-right: 1px solid var(--red); transform: rotate(45deg); }
.sarrow.is-drawn { transform: scaleX(1); }
.sloop { position: relative; height: 2.125rem; margin: 0.625rem calc(100% / 6.6) 0; border: 1px solid var(--red); border-top: 0; border-radius: 0 0 1rem 1rem; clip-path: inset(0 100% 0 0); transition: clip-path 1.2s var(--ease); }
.sloop.is-drawn { clip-path: inset(0 0 -40px 0); }
.sloop span { position: absolute; left: 50%; bottom: -1px; width: 1px; height: 1.5rem; background: var(--red); transform: translate(-50%, 100%); }
.sloop span::after { content: ""; position: absolute; left: -4px; bottom: 0; width: 0.5rem; height: 0.5rem; border-right: 1px solid var(--red); border-bottom: 1px solid var(--red); transform: rotate(45deg); }
.sloop--back::before { content: ""; position: absolute; left: -5px; top: -2px; width: 0.5rem; height: 0.5rem; border-left: 1px solid var(--red); border-top: 1px solid var(--red); transform: rotate(45deg); }

/* ---------- Ariane : la visualisation ---------- */
.ariane { padding-top: clamp(4rem, 8vw, 7.5rem); }
.ariane-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.ariane-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(3.2rem, 2rem + 4vw, 5.6rem); line-height: .95; letter-spacing: -.03em; margin: 0; }
.ariane-sign { font-family: var(--f-display); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); color: var(--red); margin: .35rem 0 1.5rem; letter-spacing: -.01em; }
.ariane-para { font-size: var(--t-l); line-height: 1.6; color: var(--graphite); margin: 0; max-width: 34rem; transition: color .3s; }
.ariane-para span { text-decoration: underline; text-decoration-color: var(--grey); text-underline-offset: 0.25rem; cursor: default; transition: color .3s, text-decoration-color .3s; }
.ariane-para.is-dim { color: #B9BBBE; }
.ariane-para span.is-on { color: var(--black); text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.ariane-meta { font-size: var(--t-s); color: var(--ink-2); margin: 1.5rem 0 1.25rem; line-height: 1.5; }
.ariane-meta b { color: var(--black); font-weight: 600; }
.ariane-links { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: var(--t-s); margin: 0; }
.ariane-links a, .ariane-links button { text-decoration: underline; text-underline-offset: 0.25rem; text-decoration-color: var(--grey); color: var(--black); }
.ariane-links a:hover, .ariane-links button:hover { text-decoration-color: var(--red); }
.viz-caption { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--t-xs); color: var(--ink-2); line-height: 1.5; margin: 2.5rem 0 0; max-width: 30rem; }
.viz-check { flex: none; width: 1.375rem; height: 1.375rem; border-radius: 50%; background: var(--red); position: relative; }
.viz-check::after { content: ""; position: absolute; left: 0.4375rem; top: 0.3125rem; width: 0.375rem; height: 0.625rem; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.viz { position: relative; width: 100%; max-width: 100%; aspect-ratio: 1.12; }
.viz canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; touch-action: pan-y; }
.viz-tip { position: absolute; z-index: 3; width: min(20.625rem, 92%); padding: 1rem 1.1rem; background: var(--white); border: 1px solid #B3B3B3; color: var(--black); font-size: var(--t-s); line-height: 1.45; pointer-events: none; box-shadow: 0 0.625rem 1.875rem -18px rgba(0,0,0,.35); }
.viz-tip b { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .3rem; }
.viz-tip .meta { color: var(--ink-2); display: block; }
.viz-tip hr { border: 0; border-top: 1px solid var(--grey); margin: .7rem 0; }
.viz-tip p { margin: 0; color: var(--graphite); }
.viz-tip u { text-decoration: none; border-bottom: 2px solid var(--black); font-weight: 700; color: var(--black); }
.viz-tip .vis { display: inline-block; margin-top: .55rem; font-size: var(--t-xs); color: var(--red-text); font-weight: 600; }

/* ---------- Segments ---------- */
.segments { background: var(--black); color: var(--white); }
.segments h2, .segments h3 { color: var(--white); }
.segments .kicker { color: rgba(255,255,255,.55); }
.seg-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 4rem); margin-top: clamp(2.5rem, 6vw, 4.5rem); align-items: center; }
.seg-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.18); }
.seg-list li { border-bottom: 1px solid rgba(255,255,255,.18); }
.seg-list button { width: 100%; display: grid; grid-template-columns: 2.5rem 1fr; align-items: baseline; text-align: left; padding: 1.1rem 0; color: rgba(255,255,255,.62); transition: color .35s; }
.seg-list .label { color: rgba(255,255,255,.62); }
.seg-list b { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); line-height: 1; letter-spacing: -.02em; }
.seg-list em { grid-column: 2; font-style: normal; font-size: var(--t-s); margin-top: .35rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .5s; color: rgba(255,255,255,.7); }
.seg-list button[aria-pressed="true"], .seg-list button:hover { color: var(--white); }
.seg-list button[aria-pressed="true"] .label { color: var(--red); }
.seg-list button[aria-pressed="true"] em { max-height: 3em; opacity: 1; }
.seg-media { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 1.125rem; overflow: hidden; background: #1a0606; }
.seg-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .8s var(--ease), transform 1.6s var(--ease); }
.seg-media img.is-on { opacity: 1; transform: scale(1); }
.partners { margin-top: clamp(3rem, 7vw, 5.5rem); }
.partners ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.partners li { padding: .5rem 1rem; border-radius: 62.4375rem; border: 1px solid rgba(255,255,255,.22); font-size: var(--t-s); color: rgba(255,255,255,.85); }

/* ---------- Bénéfices ---------- */
.benefits { padding-bottom: clamp(5rem, 10vw, 8.75rem); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.875rem; max-width: calc(var(--maxw) + 7.5rem); margin: clamp(2.5rem, 6vw, 4.5rem) auto 0; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.card { position: relative; aspect-ratio: 3 / 5.2; max-width: 100%; border-radius: 1.375rem; overflow: hidden; color: var(--white); background: radial-gradient(120% 80% at 30% 0%, #3A0F0F 0%, #120404 45%, var(--grad-0) 100%); isolation: isolate; }
.card h3 { color: var(--white); }
.card canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.card-tag { position: absolute; top: 1.25rem; left: 1.25rem; margin: 0; opacity: .6; }
.card-word { position: absolute; margin: 0; font-family: var(--f-display); font-weight: 400; letter-spacing: -.025em; line-height: 1; }
.card-line { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; margin: 0; font-size: .8125rem; line-height: 1.5; color: rgba(255,255,255,.8); max-width: 17rem; }
/* Quatre traitements éditoriaux d'une même identité */
.card--a .card-word { left: 1.25rem; top: 3.25rem; font-size: clamp(2rem, 1.2rem + 1.6vw, 2.8rem); }
.card--b { background: linear-gradient(200deg, var(--grad-2) 0%, var(--grad-1) 38%, #5A0E0E 75%, var(--grad-0) 100%); }
.card--b .card-word { right: 0.625rem; top: 50%; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); font-size: clamp(2.4rem, 1.4rem + 2vw, 3.4rem); }
.card--c { background: radial-gradient(120% 70% at 50% 100%, #3A1414 0%, var(--graphite) 45%, var(--grad-0) 100%); }
.card--c .card-word { left: 0; right: 0; text-align: center; bottom: 9.375rem; font-size: clamp(1.9rem, 1.1rem + 1.6vw, 2.7rem); }
.card--d { background: linear-gradient(180deg, var(--grad-0) 0%, #4A0C0C 55%, var(--grad-1) 100%); }
.card--d .card-word { left: 1.25rem; top: 3.25rem; font-size: clamp(2rem, 1.2rem + 1.6vw, 2.8rem); }

/* ---------- Pourquoi Ariane ---------- */
.garanties { padding-block: 0 clamp(5rem, 10vw, 8.75rem); }
.guarantees { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; border-top: 1px solid var(--rule); }
.guarantees li { padding-top: 1.25rem; display: flex; flex-direction: column; gap: .35rem; }
.guarantees b { font-family: var(--f-display); font-weight: 500; font-size: 1.2rem; color: var(--black); line-height: 1.2; }
.guarantees span { color: var(--ink-2); font-size: var(--t-s); }

/* ---------- Ambition + trajectoire ---------- */
.ambition { background: var(--white); }
.amb-intro { padding-block: clamp(5rem, 12vw, 10rem) clamp(2.5rem, 6vw, 5rem); }
.journey { position: relative; height: 330vh; }
.journey-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; background: linear-gradient(180deg, var(--white) 0%, var(--white) 55%, #FDF0EF 100%); }
.journey-sticky .wrap { width: 100%; }
.journey-hint { margin: 2rem 0 0; font-size: var(--t-xs); color: var(--ink-3); }
.world-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.seg { position: relative; display: inline-flex; padding: 0.25rem; margin-top: 2rem; border-radius: 62.4375rem; background: var(--white); box-shadow: inset 0 0 0 1px var(--grey); }
.seg button { position: relative; z-index: 1; height: 2.25rem; padding: 0 1.1rem; border-radius: 62.4375rem; font-size: var(--t-s); font-weight: 500; color: var(--ink-2); transition: color .35s; }
.seg button[aria-selected="true"] { color: var(--white); }
.seg-pill { position: absolute; top: 0.25rem; bottom: 0.25rem; left: 0.25rem; border-radius: 62.4375rem; background: var(--black); transition: transform .45s var(--ease), width .45s var(--ease); }
.world-states { display: grid; margin-top: 1.75rem; }
.world-state { grid-area: 1 / 1; opacity: 0; transform: translateY(0.375rem); transition: opacity .45s var(--ease), transform .45s var(--ease); pointer-events: none; }
.world-state.is-on { opacity: 1; transform: none; pointer-events: auto; }
.world-state .label { color: var(--red-text); margin: 0 0 .4rem; }
.world-state p:last-child { margin: 0; color: var(--ink-2); max-width: 28rem; }
.globe-wrap { position: relative; aspect-ratio: 1; width: 100%; max-width: min(38.75rem, 78vh); justify-self: center; }
.globe-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.globe-label { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); margin: 0; color: var(--ink-3); white-space: nowrap; }
.footer { padding-block: 2.5rem; background: #FDF0EF; }
.footer-bottom { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem 2.5rem; align-items: center; padding-top: 2rem; border-top: 1px solid var(--grey); }
.logo--foot img { width: 1.875rem; height: 1.875rem; }
.footer-sign { font-family: var(--f-display); font-weight: 400; color: var(--black); font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem); margin: 0; letter-spacing: -.015em; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: var(--t-s); color: var(--ink-2); }
.footer-links a { text-decoration: none; }
.footer-links a:hover, .footer-links .linklike:hover { color: var(--black); }
.footer-copy { color: var(--ink-3); margin: 0; grid-column: 1 / -1; font-size: var(--t-xs); }

/* ---------- Pop-up ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 1rem max(1rem, env(safe-area-inset-right, 0px)) 1rem max(1rem, env(safe-area-inset-left, 0px)); }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.3); backdrop-filter: blur(0.5rem); -webkit-backdrop-filter: blur(0.5rem); animation: fade .5s var(--ease); }
.modal-card { position: relative; width: min(27.5rem, 100%); max-height: calc(100dvh - 2rem); overflow: auto; border-radius: 1.5rem; background: var(--white); box-shadow: 0 2.5rem 6.25rem -30px rgba(0,0,0,.45); animation: pop .6s var(--ease); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(1rem) scale(.98); } }
.modal-close { position: absolute; top: 0.625rem; right: 0.75rem; z-index: 2; width: 2.25rem; height: 2.25rem; border-radius: 50%; font-size: 1.4rem; line-height: 1; color: var(--ink-2); }
.modal-close:hover { background: var(--surface); color: var(--black); }
.modal-art { position: relative; height: 9.375rem; overflow: hidden; display: grid; place-items: center; }
.iris { grid-area: 1 / 1; font-family: var(--f-display); font-weight: 500; font-size: 5.4rem; letter-spacing: -.04em; line-height: 1; padding-top: .12em; background: linear-gradient(90deg, var(--grad-1), var(--grad-2), var(--prune), var(--grad-0), var(--grad-1)) 0 0 / 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: iris 7s linear infinite; }
.iris--blur { filter: blur(1rem); transform: scale(1.35, 2.1); opacity: .7; }
@keyframes iris { to { background-position: 300% 0; } }
.modal-body { padding: 0 1.75rem 1.75rem; }
.modal-title { font-family: var(--f-display); font-weight: 400; font-size: 2rem; line-height: 1.05; margin: 0 0 .75rem; letter-spacing: -.02em; }
.modal-body p { color: var(--ink-2); font-size: var(--t-s); margin: 0 0 1.25rem; }
.modal-body form { display: flex; flex-direction: column; gap: .4rem; }
.modal-body label { color: var(--ink-3); margin-top: .5rem; }
.modal-body input, .modal-body select { height: 2.875rem; border-radius: 0.75rem; border: 1px solid var(--grey); padding: 0 .9rem; font: inherit; font-size: var(--t-m); background: var(--white); color: var(--black); }
.modal-body input:focus, .modal-body select:focus { outline: none; border-color: var(--black); }
.modal-body .btn { margin-top: 1rem; height: 3rem; }
.form-error { color: var(--red-text) !important; margin: .4rem 0 0 !important; }
.proto-note { color: var(--ink-3) !important; font-size: var(--t-xs) !important; }

/* Ambition : deux intelligences et vision */
.intel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.intel-col svg { width: 7.5rem; height: 3.75rem; fill: none; stroke: var(--black); stroke-width: 1.2; margin-bottom: 1.25rem; }
.intel-col svg circle:last-child { fill: var(--red); stroke: none; }
.intel-col h3 { font-family: var(--f-display); font-weight: 400; font-size: var(--t-h3); margin: 0 0 .6rem; }
.intel-col p { color: var(--ink-2); margin: 0; max-width: 30rem; font-size: var(--t-l); }
.vision { margin: clamp(4rem, 9vw, 7.5rem) auto 0; }
.vision p { font-family: var(--f-display); font-weight: 300; color: var(--black); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem); line-height: 1.2; letter-spacing: -.015em; margin: 0 0 1rem; }
.vision cite { font-style: normal; color: var(--ink-3); }

/* ---------- Respiration (itération 3) ----------
   Moins "diapositive" : conteneur plus étroit, sections plus aérées,
   compositions variées (centré, décalé, encart) au lieu d'un
   découpage gauche / droite systématique. */
.section { padding-block: clamp(6.875rem, 14vw, 12.5rem); }
.section-head { max-width: 46rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }
.section-head--center .body-l { margin-inline: auto; }
.section-head--offset { margin-left: clamp(0px, 8vw, 6.875rem); }
.nav-inner { max-width: 77.5rem; }

/* Interdépendances : figure plus resserrée */
.story { max-width: 65rem; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); }

/* Ariane : plus d'air autour du texte */
.ariane-grid { gap: clamp(2rem, 6vw, 6rem); }
.ariane-text { max-width: 30rem; }

/* Pour qui : encart arrondi plutôt qu'une bande pleine largeur */
.segments { background: var(--white); color: var(--graphite); padding-block: clamp(2.5rem, 6vw, 5rem); }
.segments-panel { max-width: 77.5rem; margin-inline: auto; border-radius: 1.75rem; background: var(--black); color: var(--white); padding: clamp(3.5rem, 8vw, 7rem) 0; }
.segments-panel h2 { color: var(--white); }
.segments-panel .body-l { color: rgba(255,255,255,.7); }
.seg-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); }

/* Cartes : même largeur que le texte, plus d'écart */
.cards { max-width: var(--maxw); gap: 1.125rem; }

/* Pourquoi Ariane : titre à gauche, 2 × 2 à droite */
.why { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); }
.why .h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); }
.guarantees { grid-template-columns: 1fr 1fr; gap: 2.5rem 3rem; border-top: 0; }
.guarantees li { border-top: 1px solid var(--rule); }

/* Ambition : centré, mesure courte */
.amb-intro { max-width: 61.25rem; }
.intel { max-width: 51.25rem; margin-inline: auto; }
.vision { margin-inline: auto; max-width: 44rem; text-align: center; border-top: 0; padding-top: 0; }
.vision::before { content: ""; display: block; width: 2.5rem; height: 2px; background: var(--red); margin: 0 auto 1.75rem; }
.world-grid { max-width: 65rem; }

/* ---------- Itération 4 ---------- */
/* Espacements entre sections resserrés ; l'air reste dans les compositions */
.section { padding-block: clamp(4rem, 7.5vw, 7rem); }
.garanties { padding-block: 0 clamp(3.5rem, 6vw, 5.5rem); }
.segments { padding-block: clamp(1rem, 2.5vw, 2rem); }

/* Logo plus présent dans la barre */
.nav .logo { font-size: 1.75rem; gap: .65rem; }
.nav .logo img { width: 2.125rem; height: 2.125rem; }

/* Hero : grande nuée, voile clair derrière le texte */
.hero { min-height: max(100svh, 40rem); }
.hero-content::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(53.75rem, 110%); height: 125%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255,255,255,.94), rgba(255,255,255,.75) 60%, rgba(255,255,255,0)); pointer-events: none; }
.hero-content { isolation: isolate; }

/* Notre ambition : note encadrée, sobre, éditoriale */
.amb-intro { max-width: 70rem; padding-block: clamp(4rem, 7.5vw, 7rem) clamp(1.5rem, 3vw, 2.5rem); }
.note { position: relative; max-width: 47.5rem; margin-inline: auto; background: #FBFAF9; border: 1px solid var(--grey); border-radius: 0.25rem;
  padding: clamp(1.75rem, 4vw, 3.5rem) clamp(1.5rem, 4.5vw, 4rem) clamp(1.5rem, 3vw, 2.25rem); box-shadow: 0 1px 0 rgba(0,0,0,.03), 0 1.5rem 3rem -32px rgba(41,43,45,.25); }
.note::before { content: ""; position: absolute; top: -1px; left: clamp(1.5rem, 4.5vw, 4rem); width: 2.75rem; height: 0.1875rem; background: var(--red); }
.note-head { display: flex; justify-content: space-between; color: var(--ink-3); padding-bottom: 1rem; border-bottom: 1px solid var(--grey); margin: 0 0 clamp(1.5rem, 3vw, 2.25rem); }
.note-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); line-height: 1.08; letter-spacing: -.02em; margin: 0; color: var(--black); text-wrap: balance; }
.note-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2.5rem); margin-top: clamp(1.75rem, 3.5vw, 2.75rem); }
.note-cols p { margin: 0; color: var(--ink-2); }
.note-cols .note-num { color: var(--black); margin-bottom: .5rem; }
.note-vision { margin: clamp(1.75rem, 3.5vw, 2.75rem) 0 0; padding: clamp(1.25rem, 2.5vw, 1.75rem) 0 0 1.25rem; border-top: 1px solid var(--grey); position: relative; }
.note-vision::before { content: ""; position: absolute; left: 0; top: clamp(1.25rem, 2.5vw, 1.75rem); bottom: .3rem; width: 2px; background: var(--red); }
.note-vision .label { color: var(--red-text); margin: 0 0 .6rem; }
.note-vision p:last-child { margin: 0; font-family: var(--f-display); font-weight: 300; font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.35; color: var(--graphite); }
.note-foot { display: flex; align-items: center; gap: .45rem; justify-content: flex-end; margin-top: clamp(1.5rem, 3vw, 2.25rem); font-family: var(--f-display); color: var(--ink-3); font-size: .95rem; }
.note-foot img { opacity: .8; }
@media (max-width: 600px) {
  .note-cols { grid-template-columns: 1fr; }
  .nav .logo { font-size: 1.5rem; }
  .nav .logo img { width: 1.875rem; height: 1.875rem; }
}

/* ---------- Itération 5 ---------- */
/* Bandeau d'annonce */
.announce { position: absolute; top: 0; left: 0; right: 0; z-index: 51; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.75rem; padding: 0.5rem var(--gutter-r) 0.5rem var(--gutter); background: var(--graphite); color: rgba(255,255,255,.86); font-size: var(--t-s); }
.announce p { margin: 0; }
.announce a { color: var(--white); text-decoration: underline; text-underline-offset: 0.1875rem; text-decoration-color: var(--red); }
.announce-x { position: relative; width: 1.75rem; height: 1.75rem; flex: none; color: var(--white); }
.announce-x span { position: absolute; left: 0.4375rem; right: 0.4375rem; top: 50%; height: 1.4px; background: currentColor; transform: rotate(45deg); }
.announce-x span + span { transform: rotate(-45deg); }
.nav { top: var(--ann, 0px); }
.hero { padding-top: 10rem; }

/* Interdépendances : figure C (canal commun) */
.spanel--hub .hub { width: 100%; max-width: 35rem; height: auto; overflow: visible; }
.hub-link { fill: none; stroke: var(--black); stroke-width: 1; stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1.1s var(--ease) calc(var(--i) * .08s); }
.hub-node { fill: var(--white); stroke: var(--black); stroke-width: 1.2; opacity: 0; transition: opacity .5s calc(var(--i) * .08s); }
.hub-txt { font: 500 0.75rem var(--f-body); fill: var(--graphite); opacity: 0; transition: opacity .5s calc(var(--i) * .08s + .2s); }
.hub-core { fill: var(--black); }
.hub-core-txt { font: 600 0.8125rem var(--f-body); fill: var(--white); }
.hub-core-sub { font: 700 0.5rem var(--f-body); letter-spacing: .14em; fill: var(--red); }
.hub-pulse { fill: var(--red); opacity: 0; transition: opacity .4s .9s; }
.spanel--hub.is-drawn .hub-link { stroke-dashoffset: 0; }
.spanel--hub.is-drawn .hub-node, .spanel--hub.is-drawn .hub-txt, .spanel--hub.is-drawn .hub-pulse { opacity: 1; }
.spanel--hub p { max-width: 24rem; }

/* Pont vers Ariane : décalé, aligné à gauche */
.bridge { max-width: 65rem; margin-top: clamp(3.5rem, 7vw, 6rem); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.bridge-lead { margin: 0; font-family: var(--f-display); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.08; letter-spacing: -.02em; color: var(--black); text-wrap: balance; }
.bridge-head { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 0 0 .75rem; color: var(--ink-3); }
.bridge-head span + span { color: var(--red-text); }
.bridge-rows { margin: 0; }
.bridge-rows div { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 1rem 0; border-top: 1px solid var(--grey); }
.bridge-rows dt { display: none; }
.bridge-rows dd { margin: 0; color: var(--ink-3); }
.bridge-rows dd.is-new { color: var(--black); }

/* Pour qui : 7 segments, liste plus serrée */
.seg-list button { padding-block: .7rem; }
@media (max-width: 980px) {
  .bridge { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .announce { font-size: .8125rem; }
  .bridge-head, .bridge-rows div { gap: 1rem; }
  .bridge-rows dd { font-size: var(--t-s); }
}

/* Itération 6 : sur mobile, la Fig. 3 tient en une ligne de trois vignettes */
@media (max-width: 980px) {
  #figB .srow { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
  #figB .sarrow, #figB .sloop, #figB .spanel p { display: none !important; }
  #figB .spanel { display: flex !important; }
  #figB .spanel .sart { max-width: 100%; }
  #figB .spanel h3 { font-size: .95rem; }
}

/* Itération 7 : carte en pointillés en fond de la trajectoire */
.journey-sticky { position: sticky; }
.journey-sticky .globe-wrap { position: absolute; inset: 0; max-width: none; width: 100%; height: 100%; justify-self: stretch; aspect-ratio: auto; z-index: 0; }
.journey-sticky .world-text { position: relative; z-index: 1; }
.journey-sticky .globe-label { position: absolute; right: var(--gutter-r); bottom: 1.5rem; left: auto; transform: none; }
@media (max-width: 980px) { .journey-sticky { align-items: flex-start; padding-top: 88px; } }

/* Itération 9 : grands écrans (TV) — toute la mise en page grandit avec la largeur
   (les tailles sont en rem), au lieu de rester une colonne étroite au milieu. */
@media (min-width: 1680px) { html { font-size: calc(100vw / 105); } }

/* ---------- Itération 10 ---------- */
/* Ariane mise en avant : « Notre premier produit », puis le nom en très grand */
.ariane-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.ariane-title { display: flex; flex-direction: column; gap: .2em; }
.ariane-pre { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); letter-spacing: -.015em; color: var(--ink-2); line-height: 1.1; }
.ariane-name { position: relative; align-self: flex-start; font-family: var(--f-display); font-weight: 500; font-size: clamp(5rem, 2.5rem + 10vw, 11rem); line-height: .9; letter-spacing: -.045em; padding-bottom: .12em;
  background: linear-gradient(100deg, var(--grad-0) 0%, var(--grad-0) 30%, var(--grad-1) 72%, var(--grad-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ariane-thread { position: absolute; left: 0; right: -4%; bottom: -.02em; width: 104%; height: .22em; overflow: visible; }
.ariane-thread path { fill: none; stroke: var(--red); stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-dasharray: 700; stroke-dashoffset: 700; transition: stroke-dashoffset 1.8s var(--ease) .3s; }
.ariane-head.is-in .ariane-thread path { stroke-dashoffset: 0; }
.ariane-head .ariane-sign { margin: .4rem 0 0; }

/* Ce que nous proposons : fonds fondus aux couleurs de la charte, sans images */
.card { background: var(--grad-0); }
.card::before { content: ""; position: absolute; inset: -20%; z-index: -1; filter: blur(2.5rem); transition: transform 1.2s var(--ease); }
.card:hover::before { transform: translate(3%, -3%) scale(1.05); }
.card--a::before { background: radial-gradient(45% 40% at 70% 78%, var(--grad-1), transparent 70%), radial-gradient(50% 45% at 20% 20%, var(--graphite), transparent 70%), var(--grad-0); }
.card--b::before { background: radial-gradient(55% 45% at 30% 15%, var(--grad-2), transparent 72%), radial-gradient(60% 50% at 70% 60%, var(--grad-1), transparent 72%), radial-gradient(60% 40% at 40% 100%, #5A0E0E, transparent 70%), var(--grad-1); }
.card--c::before { background: radial-gradient(55% 45% at 50% 30%, var(--prune), transparent 72%), radial-gradient(50% 40% at 80% 90%, var(--grad-1), transparent 70%), var(--graphite); }
.card--d::before { background: radial-gradient(55% 45% at 70% 25%, var(--grad-2), transparent 72%), radial-gradient(55% 50% at 30% 65%, var(--prune), transparent 72%), radial-gradient(50% 40% at 80% 100%, var(--grad-1), transparent 70%), #3A1A36; }

/* Pop-up : le nom sans halo lumineux */
.modal-art .iris { animation-duration: 12s; }

/* Itération 11 : « Ariane » à gauche, « Notre premier produit » à droite, en décalé */
.ariane-title { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 1.5rem; }
.ariane-name { order: 1; margin-top: .25em; }
.ariane-pre { order: 2; text-align: right; display: flex; align-items: center; gap: .75rem; padding-top: .2em; }
.ariane-pre::before { content: ""; width: 2.5rem; height: 2px; background: var(--red); flex: none; }
.ariane-head .ariane-sign { margin-left: .2em; }
@media (max-width: 700px) {
  .ariane-title { flex-direction: column; align-items: stretch; gap: .4rem; }
  .ariane-pre { order: 0; justify-content: flex-end; }
  .ariane-name { margin-top: 0; }
}

/* Itération 12 : Ariane plus mesurée, écrite à l'écran */
.ariane-name { font-size: clamp(3.4rem, 1.8rem + 4.6vw, 6.4rem); font-weight: 500; }
.ariane-pre { font-size: clamp(1.1rem, .9rem + .8vw, 1.6rem); }
.type { white-space: pre; }
.ariane-name, .ariane-pre { min-height: 1.05em; }
.type .ch { display: inline-block; white-space: pre; opacity: 0; filter: grayscale(1) brightness(1.9); transform: translateY(.04em); transition: opacity .45s var(--ease), filter .6s var(--ease), transform .45s var(--ease); }
.type.is-on .ch { opacity: 1; filter: none; transform: none; }
.ariane-head .ariane-sign { opacity: 0; transform: translateY(6px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.ariane-head.is-written .ariane-sign { opacity: 1; transform: none; }
.ariane-head .ariane-thread path { transition-delay: 0s; }
.ariane-head:not(.is-written) .ariane-thread path { stroke-dashoffset: 700 !important; }
.ariane-pre::before { transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.ariane-head.is-typing .ariane-pre::before, .ariane-head.is-written .ariane-pre::before { transform: none; }
@media (prefers-reduced-motion: reduce) { .ariane-head .ariane-sign { opacity: 1; transform: none; } }

.ariane-name.is-split { background: none; color: inherit; }
.ariane-name.is-split .type { position: relative; }
.ariane-name.is-split .ch { background-image: linear-gradient(100deg, var(--grad-0) 0%, var(--grad-0) 30%, var(--grad-1) 72%, var(--grad-2) 100%); background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Corrections de l'audit (critiques) ---------- */
/* Petits téléphones et écrans bas : le hero se centre et ne passe plus sous la barre */
@media (max-height: 760px) and (max-width: 700px), (max-height: 620px) {
  .hero { justify-content: center; min-height: 100svh; padding-top: calc(var(--ann, 0px) + 5rem); padding-bottom: 3.5rem; }
  .hero .display { font-size: clamp(2.1rem, 9vw, 2.6rem); }
  .hero .verbs { display: none; }
  .hero .lede { margin: 1rem auto 1.5rem; }
  .hero-caption { display: none; }
}
/* Signature d'Ariane : rouge lisible quand elle est petite */
@media (max-width: 700px) { .ariane-sign { color: var(--red-text); } }

/* Récit : les étapes inactives restent lisibles (AA), on les atténue par la couleur */
.story-step { opacity: 1; }
.story-step:not(.is-active) .label, .story-step:not(.is-active) h3, .story-step:not(.is-active) p:not(.label) { color: var(--ink-3); }
.story-step h3, .story-step .label, .story-step p { transition: color .5s var(--ease); }
.spanel, .spanel.is-drawn { opacity: 1; }
.spanel > .ill, .spanel > .sart, .spanel > .hub { opacity: .25; transition: opacity .6s var(--ease); }
.spanel.is-drawn > .ill, .spanel.is-drawn > .sart, .spanel.is-drawn > .hub { opacity: .55; }
.spanel.is-active > .ill, .spanel.is-active > .sart, .spanel.is-active > .hub { opacity: 1; }
.spanel:not(.is-active) h3, .spanel:not(.is-active) p { color: var(--ink-3); }

/* Itération 20 : pas de fil sous « Ariane », schéma remonté au niveau du texte */
.ariane-thread { display: none; }
.ariane-grid { align-items: start; }
.viz { aspect-ratio: 1.5; }
.ariane-name { padding-bottom: .04em; }
.ariane-head { margin-bottom: clamp(1.5rem, 2.6vw, 2.5rem); }

/* Itération 21 : l'intro des Interdépendances partage la colonne du récit (même bord gauche) */
.interdep > .wrap:first-child { max-width: 65rem; }
.interdep .section-head--offset { margin-left: 0; max-width: 46rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .mega { display: none !important; }
  .ariane-grid, .world-grid, .seg-grid { grid-template-columns: 1fr; }
  .world-grid { gap: 0.75rem; }
  .world-text .h2 { font-size: 1.9rem; }
  .seg { margin-top: 1rem; }
  .world-states { margin-top: 1rem; }
  .story, .why { grid-template-columns: 1fr; }
  .section-head--offset { margin-left: 0; }
  .segments-panel { border-radius: 1.25rem; }
  .guarantees { grid-template-columns: 1fr; }
  .story-stage { order: -1; position: sticky; top: 4.25rem; z-index: 2; height: auto; background: var(--white); padding-block: 0.5rem; grid-template-rows: auto auto auto; }
  .story-step { min-height: 50vh; }
  .srow { display: block; }
  .sarrow, .sloop { display: none; }
  .spanel:not(.is-active) { display: none; }
  .spanel .ill, .spanel .sart { max-width: 13.75rem; }
  .sfig:not(.is-on) { display: none; }
  .journey { height: 300vh; }
  .journey-sticky { align-items: flex-start; padding-top: 5.25rem; }
  .globe-wrap { max-width: min(88vw, 44svh); }
  .journey-hint { display: none; }
  .guarantees { grid-template-columns: 1fr 1fr; }
  .cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 0.5rem; }
  .cards::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 min(72vw, 18.75rem); scroll-snap-align: start; }
  .seg-media { order: -1; }
  .footer-bottom { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero { padding-block: 6.25rem 5.75rem; }
  .guarantees, .intel { grid-template-columns: 1fr; }
  .viz { aspect-ratio: 1 / 1.05; }
  .iris { font-size: 4.4rem; }
}
/* ---------- Questions fréquentes : colonne étroite décalée, filets fins ---------- */
.faq { padding-block: clamp(3.5rem, 8vw, 7rem); }
.faq .wrap { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.faq-head { max-width: 40rem; }
.faq-head .h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); }
.faq-list { width: 100%; max-width: 46rem; margin-left: auto; border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: 1.2rem; line-height: 1.25; transition: color .3s ease; }
.faq-item summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.faq-sign { position: relative; flex: none; width: .875rem; height: .875rem; }
.faq-sign::before, .faq-sign::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: var(--ink); transition: transform .3s ease; }
.faq-sign::after { transform: rotate(90deg); }
.faq-item[open] .faq-sign::after { transform: rotate(0deg); }
.faq-item[open] summary h3 { color: #D63A3A; }
.faq-item p { margin: 0 0 1.5rem; color: var(--ink-2); max-width: 40rem; line-height: 1.6; }
.faq-item .linklike { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) { .faq-list { margin-left: 0; } .faq-item h3 { font-size: 1.05rem; } }

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

/* Itération 22 : angles nets (rayon quasi nul) pour les boutons, cartes et panneaux */
:root { --r-s: 0.1875rem; --r-m: 0.3125rem; }
.btn, .nav-links > *, .partners li, .seg, .seg button, .seg-pill, .modal-body input, .modal-body select, .mega-link, :focus-visible { border-radius: var(--r-s); }
.card, .seg-media, .sfig, .mega-inner, .mega-card, .modal-card, .segments-panel, .note { border-radius: var(--r-m); }

/* Itération 22 : le 1er et le dernier texte du récit sont centrés sur la figure collante (plus de décalage) */
@media (min-width: 981px) {
  .story-step:first-child, .story-step:last-child { min-height: calc(100vh - 6.5rem); }
  .story-step:first-child { justify-content: flex-start; }
  .interdep .story { margin-top: clamp(2rem, 4vw, 3rem); }
  .story-stage .sfig { align-self: start; }  /* la figure part du haut : jamais sur l'intro */
}
/* étiquette longue de la 1re carte : elle peut passer sur deux lignes sans toucher le mot */
.card-tag { right: 1.25rem; line-height: 1.5; }
.card--a .card-word, .card--d .card-word { top: 4.25rem; }

/* Bandeau d'annonce : texte centré, croix de fermeture à droite */
.announce { justify-content: center; padding-inline: 3.25rem; }
.announce p { text-align: center; }
.announce-x { position: absolute; right: max(0.5rem, calc(var(--gutter-r) - 0.5rem)); top: 50%; transform: translateY(-50%); }

/* Itération 24 : FAQ discrète, intégrée au pied de page (pas une section à part) */
.footer-faq { padding-bottom: 2rem; }
.footer-faq-title { margin: 0 0 .75rem; font-size: var(--t-xs); color: var(--ink-3); font-weight: 600; }
.footer-faq .faq-list { max-width: none; margin: 0; border-top: 0; columns: 2 22rem; column-gap: 3rem; }
.footer-faq .faq-item { break-inside: avoid; border-bottom: 1px solid rgba(0,0,0,.07); }
.footer-faq .faq-item summary { padding: .6rem 0; gap: 1rem; }
.footer-faq .faq-item h3 { font-family: var(--f-body, inherit); font-weight: 500; font-size: var(--t-s); color: var(--ink-2); }
.footer-faq .faq-item summary:hover h3 { color: var(--black); }
.footer-faq .faq-item[open] summary h3 { color: var(--black); }
.footer-faq .faq-sign { width: .625rem; height: .625rem; opacity: .55; }
.footer-faq .faq-item p { margin: 0 0 .9rem; font-size: var(--t-s); line-height: 1.55; }

/* Champ piège anti-robots du formulaire (invisible pour les visiteurs) */
.lead-honey { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Itération 32 : mobile — le récit reste animé au défilement, mais le cadre du schéma garde
   une hauteur fixe : les trois schémas sont superposés et se relaient en fondu (plus de saut). */
@media (max-width: 980px) {
  .story-stage { grid-template-rows: auto auto auto; gap: .5rem; }
  .sfig, .sfig:not(.is-on) { display: grid; grid-template-rows: auto 1fr; grid-area: 1 / 1; align-self: stretch; align-items: center; padding: .9rem .6rem; }
  .sfig .fig-label { margin: 0 0 .6rem; font-size: .66rem; }
  .sfig .srow, #figB .srow { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; align-items: start; }
  .sarrow, .sloop, .spanel p, #figB .spanel p { display: none !important; }
  .spanel, .spanel:not(.is-active) { display: flex; }
  .spanel .ill, .spanel .sart { max-width: 100%; }
  .spanel h3, #figB .spanel h3 { font-size: .82rem; margin: .45rem 0 0; }
  #figA .srow, #figA .spanel--mission { grid-area: 2 / 1; transition: opacity .6s var(--ease); }
  #figA .spanel--mission { margin: 0; opacity: 0; }
  #figA.is-mission .srow { opacity: 0; }
  #figA.is-mission .spanel--mission { opacity: 1; }
  #figA .spanel--mission .ill { max-width: 10rem; }
  .spanel--hub .hub { max-width: 100%; }
  .fig-note { font-size: .66rem; line-height: 1.4; }
  /* moins de flou coûteux pendant le défilement */
  .card::before { filter: blur(1.5rem); }
}
