/* Theras Guard · site de présentation, version 2 (d'après la maquette du 11/11/2026).
   Même direction artistique que l'ancien site et la console : encre, Manrope,
   rosaces guillochées lentes, ondes ; en plus, un thème clair. */

:root {
  /* Thème clair par défaut ; le sombre se choisit avec le bouton de la barre. */
  --bg: #f6f7f4; --surface: #ffffff; --raised: #eef1ec;
  --line: rgba(11, 15, 14, 0.09); --line-strong: rgba(11, 15, 14, 0.16);
  --text: #0b0f0e; --soft: #2c3532; --muted: #5b6662;
  --cobalt: #3d66dc; --cobalt-ink: #2b4fb8; --cobalt-field: #e8eefc;
  --allow: #1f9a5f; --allow-ink: #17744a; --allow-field: #e3f4ea;
  --review: #c98a1c; --review-ink: #8a5a08; --review-field: #fbf0d9;
  --deny: #d93a50; --deny-ink: #b02338; --deny-field: #fbe6e9;
  --on-accent: #ffffff; --button-hover: #0b0f0e;
  --shadow: 0 30px 70px -34px rgba(20, 30, 50, 0.35);
  --waves-color: #3d66dc;
  color-scheme: light;

  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --s-display: clamp(42px, 5vw, 76px);
  --s-h2: clamp(32px, 3.6vw, 54px);
  --s-h3: clamp(22px, 2vw, 28px);
  --s-body: 18px;
  --s-small: 15px;
  --m: clamp(16px, 4vw, 64px);
  --max: 1280px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}
:root[data-theme="dark"] {
  --bg: #0b0f0e;
  --surface: #111716;
  --raised: #161d1c;
  --line: rgba(238, 242, 239, 0.09);
  --line-strong: rgba(238, 242, 239, 0.16);
  --text: #eef2ef;
  --soft: #c9d0cc;
  --muted: #a3ada8;
  --cobalt: #7aa2ff;
  --cobalt-ink: #b3c8ff;
  --cobalt-field: #141d33;
  --allow: #4cc38a;
  --allow-ink: #93e2b8;
  --allow-field: #10221a;
  --review: #f0b44c;
  --review-ink: #f6cd84;
  --review-field: #251d10;
  --deny: #ff6b7d;
  --deny-ink: #ffa2ad;
  --deny-field: #2a1418;
  --on-accent: #0b0f0e;
  --button-hover: #ffffff;
  --shadow: 0 30px 70px -28px rgba(0, 0, 0, 0.8);
  --waves-color: #7aa2ff;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: var(--s-body); line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
  transition: background-color 300ms ease, color 300ms ease;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--cobalt); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.pane[hidden] { display: block !important; }
.skip { position: absolute; left: var(--m); top: -60px; z-index: 50; padding: 10px 18px; background: var(--cobalt); color: var(--on-accent); border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 14px; }

/* ---------- Boutons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0;
  background: var(--cobalt); color: var(--on-accent);
  font-weight: 700; font-size: var(--s-small); text-decoration: none; cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 140ms var(--ease-out);
}
.button:hover { background: var(--button-hover); color: var(--bg); }
.button:active { transform: scale(0.97); }
.button--small { min-height: 42px; padding: 0 20px; }
.button--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.button--ghost:hover { background: var(--raised); color: var(--text); }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--s-small); text-decoration: none; padding: 12px 4px; }
.link span { transition: transform 320ms var(--ease-out); }
.link:hover span { transform: translateX(6px); }
.tag { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--cobalt-field); color: var(--cobalt-ink); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- Barre du haut ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 30; height: 72px; padding: 0 var(--m);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: transform 420ms var(--ease-out), border-color 300ms ease;
}
.bar.is-scrolled { border-bottom-color: var(--line); }
.bar.is-hidden { transform: translateY(-100%); }
.bar__mark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; justify-self: start; }
.glyph { width: 26px; height: 26px; }
.bar__nav { display: flex; gap: 4px; }
.bar__nav a { padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--muted); transition: color 180ms ease, background-color 180ms ease; }
.bar__nav a:hover { color: var(--text); background: var(--raised); }
.bar__end { justify-self: end; display: flex; align-items: center; gap: 10px; }
.theme { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); cursor: pointer; transition: background-color 180ms ease; }
.theme:hover { background: var(--raised); }
.theme svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.theme__sun { display: none; }
:root[data-theme="dark"] .theme__sun { display: block; }
:root[data-theme="dark"] .theme__moon { display: none; }

/* ---------- Rosace ---------- */
.ros { width: 100%; height: 100%; overflow: visible; }
.ros__ring { transform-box: view-box; transform-origin: 50% 50%; stroke: var(--tone, var(--cobalt)); animation: spin var(--dur, 200s) linear infinite; }
.ros__ring.is-rev { animation-direction: reverse; }
.ros__pulse { fill: none; stroke: var(--tone, var(--cobalt)); stroke-width: 1; transform-box: view-box; transform-origin: 50% 50%; opacity: 0; animation: pulse 7s var(--ease-out) infinite; }
.ros__pulse.is-late { animation-delay: 3.5s; }
.ros__hub { fill: var(--bg); transition: fill 300ms ease; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0; } 15% { opacity: 0.5; } 100% { transform: scale(1.03); opacity: 0; } }

/* ---------- Mise en page commune ---------- */
section { position: relative; padding: clamp(80px, 11vw, 150px) var(--m) 0; }
/* Ancres : le titre de la section arrive juste sous la barre, pas le haut de sa marge. */
main > section { scroll-margin-top: calc(16px - clamp(80px, 11vw, 150px)); }
main > section.hero { scroll-margin-top: 0; }
#demo, #console-frame, #simulation { scroll-margin-top: 16px; }
section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.h2 { font-size: var(--s-h2); font-weight: 700; line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
.h3 { font-size: var(--s-h3); font-weight: 700; letter-spacing: -0.02em; margin: clamp(56px, 7vw, 88px) auto 24px; }
.sub { margin-top: 18px; max-width: 46em; font-size: 19px; color: var(--muted); text-wrap: pretty; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cobalt); }

/* ---------- 1. Premier écran ---------- */
.hero {
  min-height: max(100svh, 760px); padding-top: 120px; padding-bottom: 80px;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 48px;
  align-items: center; overflow: clip; isolation: isolate;
}
.hero > * { max-width: none; margin: 0; }
.hero__art { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: clip;
  -webkit-mask-image: linear-gradient(#000 64%, transparent 98%); mask-image: linear-gradient(#000 64%, transparent 98%); }
.hero__waves {
  position: absolute; inset: 0; background-image: var(--waves-a), var(--waves-b);
  background-repeat: repeat-x; background-position: 0 86%, 0 86%; background-size: 1040px 420px;
  -webkit-mask-image: radial-gradient(ellipse 60% 30% at 30% 86%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 30% at 30% 86%, #000 30%, transparent 100%);
  opacity: 0.55; animation: drift 90s linear infinite;
}
@keyframes drift { to { background-position: -1040px 86%, 1040px 86%; } }
.hero__seal { position: absolute; width: min(118vh, 1100px); aspect-ratio: 1; left: 76%; top: 54%; transform: translate(-50%, -50%); opacity: 0.85; }
.hero__copy { position: relative; z-index: 2; max-width: 760px; }
.display { margin-top: 22px; font-size: var(--s-display); font-weight: 800; line-height: 1; letter-spacing: -0.045em; text-wrap: balance; }
.lead { margin-top: 30px; max-width: 32em; font-size: 20px; line-height: 1.55; color: var(--soft); }
.hero__actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
.verdicts { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-weight: 700; font-size: 16px; }
.verdicts li { display: inline-flex; align-items: center; gap: 9px; }
.verdicts li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.is-allow { color: var(--allow-ink); }
.is-review { color: var(--review-ink); }
.is-deny { color: var(--deny-ink); }
.is-cobalt { color: var(--cobalt-ink); }

/* La simulation */
.sim {
  position: relative; z-index: 2; justify-self: end; width: min(100%, 460px);
  padding: 28px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
}
.sim__kicker { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cobalt); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.sim__title { margin-top: 20px; font-size: 25px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.sim__meta { margin-top: 6px; color: var(--muted); font-size: 15px; }
.sim__state { margin-top: 22px; padding: 16px 18px; border-radius: 14px; transition: background-color 400ms ease; }
.sim__state.is-review { background: var(--review-field); }
.sim__state.is-allow { background: var(--allow-field); }
.sim__state.is-deny { background: var(--deny-field); }
.sim__state-title { font-weight: 700; font-size: 17px; }
.sim__state.is-review .sim__state-title { color: var(--review-ink); }
.sim__state.is-allow .sim__state-title { color: var(--allow-ink); }
.sim__state.is-deny .sim__state-title { color: var(--deny-ink); }
.sim__state-text { margin-top: 3px; font-size: 15px; color: var(--soft); }
.sim__actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.sim__btn {
  min-height: 46px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer;
  font-weight: 700; font-size: 15px; background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background-color 180ms ease, transform 140ms var(--ease-out);
}
.sim__btn:hover { background: var(--raised); }
.sim__btn:active { transform: scale(0.97); }
.sim__btn.is-primary { background: var(--cobalt); color: var(--on-accent); box-shadow: none; }
.sim__btn.is-primary:hover { background: var(--button-hover); color: var(--bg); }
.sim__replay { margin-top: 20px; }
.sim__log { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14.5px; }
.sim__log li { display: grid; grid-template-columns: 78px 1fr; gap: 10px; color: var(--soft); }
.sim__log li.is-new { animation: logIn 500ms var(--ease-out) both; }
.sim__log time { font-family: var(--mono); font-size: 13px; color: var(--cobalt-ink); padding-top: 1px; }
@keyframes logIn { from { opacity: 0; transform: translateY(6px); } }
.sim__rule { margin-top: 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.sim.is-flash { animation: flash 900ms var(--ease-out); }
@keyframes flash { 30% { box-shadow: var(--shadow), inset 0 0 0 2px var(--cobalt); } }

/* ---------- 2. La console ---------- */
.frame { border-radius: 22px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.frame__bar { display: flex; align-items: center; gap: 18px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.frame__dots { display: flex; gap: 6px; flex: none; }
.frame__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.frame__tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.frame__tabs::-webkit-scrollbar { display: none; }
.frame__tabs button {
  flex: none; padding: 8px 14px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--muted); transition: color 180ms ease, background-color 180ms ease;
}
.frame__tabs button:hover { color: var(--text); }
.frame__tabs button[aria-selected="true"] { background: var(--text); color: var(--bg); }
.frame__note { flex: none; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cobalt); }
.frame__view { position: relative; aspect-ratio: 1440 / 900; background: #f4f6f5; }
:root[data-theme="dark"] .frame__view { background: #0b0f0e; }
.pane { position: absolute; inset: 0; }
.pane[hidden] { display: block; visibility: hidden; opacity: 0; }
.pane { transition: opacity 400ms ease, visibility 0s linear 400ms; }
.pane.is-on { opacity: 1; visibility: visible; transition: opacity 400ms ease; }
.pane img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* Captures de la console : claires avec le site clair, sombres avec le site sombre. */
.pane .shot--dark { display: none; }
:root[data-theme="dark"] .pane .shot--light { display: none; }
:root[data-theme="dark"] .pane .shot--dark { display: block; }
.captions { margin-top: 26px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.captions div { padding-top: 14px; border-top: 2px solid var(--line); cursor: pointer; transition: border-color 300ms ease; }
.captions div.is-on { border-top-color: var(--cobalt); }
.captions dt { font-weight: 700; font-size: 15px; }
.captions dd { margin-top: 4px; font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------- 3. Le problème ---------- */
.flow { overflow: visible; display: grid; grid-template-columns: 1fr 1.2fr 1fr; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.flow__step { position: relative; padding: 28px 30px; display: grid; gap: 6px; align-content: start; }
.flow__step + .flow__step { border-left: 1px solid var(--line); }
.flow__step + .flow__step::before {
  content: '›'; position: absolute; z-index: 2; left: -15px; top: 50%; width: 30px; height: 30px; margin-top: -15px;
  display: grid; place-items: center; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--cobalt); font-size: 20px; font-weight: 700; line-height: 1; padding-bottom: 2px;
}
.flow__step b { font-size: 19px; letter-spacing: -0.01em; }
.flow__step span:last-child { color: var(--muted); font-size: 15px; }
.flow__n { font-family: var(--mono); font-size: 13px; color: var(--cobalt); }
.flow__step--hub { background: var(--cobalt-field); isolation: isolate; }
.flow__ros { position: absolute; z-index: -1; inset: 0; overflow: hidden; opacity: 0.5; }
.flow__ros .ros { position: absolute; width: 260px; height: 260px; right: -70px; top: 50%; margin-top: -130px; }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; padding: 28px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 10px; }
.card__label { font-size: 23px; font-weight: 700; letter-spacing: -0.02em; }
.card.is-allow .card__label { color: var(--allow-ink); }
.card.is-review .card__label { color: var(--review-ink); }
.card.is-deny .card__label { color: var(--deny-ink); }
.card.is-allow, .card.is-review, .card.is-deny { color: var(--text); }
.card__text { font-size: 17px; color: var(--soft); }
.card__ex { margin-top: auto; padding-top: 22px; font-size: 14.5px; color: var(--muted); }
.card__ex span { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.card::after { content: ''; position: absolute; left: 28px; right: 28px; top: 0; height: 2px; border-radius: 2px; background: var(--tone, transparent); }
.card.is-allow { --tone: var(--allow); }
.card.is-review { --tone: var(--review); }
.card.is-deny { --tone: var(--deny); }
.note { margin-top: 26px; color: var(--muted); font-size: 16px; }

/* ---------- 4. Scénario ---------- */
.scenario__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.steps { display: grid; gap: 14px; counter-reset: step; }
.step { padding: 24px 26px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.step__kicker { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.step__title { margin-top: 8px; font-size: 21px; font-weight: 700; letter-spacing: -0.015em; }
.step__text { margin-top: 4px; color: var(--muted); font-size: 16px; }
.journal { padding: 24px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); position: sticky; top: 96px; }
.journal__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.journal__brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px; }
.journal__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cobalt); }
.journal__title { margin-top: 18px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.journal__meta { margin-top: 4px; font-size: 14px; color: var(--muted); }
.journal__result { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--allow-field); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--allow) 30%, transparent); display: grid; gap: 2px; }
.journal__result b { color: var(--allow-ink); font-size: 17px; }
.journal__result span { font-size: 13.5px; color: var(--soft); }
.journal__table { margin-top: 16px; width: 100%; border-collapse: collapse; font-size: 14px; }
.journal__table th { text-align: left; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 8px 0; border-bottom: 1px solid var(--line); }
.journal__table td { padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--soft); }
.journal__table td:first-child { width: 96px; font-family: var(--mono); font-size: 13px; color: var(--cobalt-ink); }
.journal__rule { margin-top: 16px; font-size: 13px; color: var(--muted); }
.journal__rule b { color: var(--text); margin-right: 8px; }
.scenario__actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }

/* ---------- 5. Démo et contact ---------- */
.trio--steps .card { min-height: 180px; }
.card__n { font-family: var(--mono); font-size: 13px; color: var(--cobalt); }
.contact-card { margin-top: 24px; padding: clamp(24px, 4vw, 44px); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.contact-card__head { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.contact-card__seal { width: 52px; height: 52px; flex: none; }
.contact-card__title { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.contact-card__hint { color: var(--muted); font-size: 15px; }
.contact-card__hint a { color: var(--cobalt-ink); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact__field { display: grid; gap: 7px; font-size: 14px; font-weight: 600; }
.contact__field small { font-weight: 500; color: var(--muted); }
.contact__field--wide { grid-column: 1 / -1; }
.contact__field input, .contact__field textarea {
  width: 100%; padding: 13px 15px; border: 0; border-radius: 12px; background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 16px; font-weight: 500; resize: vertical;
  transition: box-shadow 180ms ease;
}
.contact__field input:focus, .contact__field textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--cobalt); }
.contact__field textarea::placeholder { color: var(--muted); }
.contact__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact__foot { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.contact__status { font-size: 15px; color: var(--muted); }
.contact__status.is-error { color: var(--deny-ink); }
.contact__legal { margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.contact__done b { font-size: 20px; }
.contact__done p { margin-top: 6px; color: var(--muted); }

/* ---------- Questions ---------- */
.questions__list { margin-top: 36px; border-top: 1px solid var(--line); }
.questions details { border-bottom: 1px solid var(--line); }
.questions summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-size: 20px; font-weight: 700; letter-spacing: -0.015em;
}
.questions summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 16px; height: 16px; flex: none; }
.plus::before, .plus::after { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 300ms var(--ease-out); }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0); }
.answer { padding: 0 0 24px; max-width: 52em; color: var(--muted); font-size: 17px; }
.questions__more { margin-top: 22px; color: var(--muted); font-size: 15px; }
.questions__more a { color: var(--cobalt-ink); }

/* ---------- Pied de page ---------- */
.foot {
  margin-top: clamp(80px, 11vw, 150px); padding: 56px var(--m) 40px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px;
}
.foot > * { min-width: 0; }
.foot__name { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
.foot__glyph { width: 26px; height: 26px; }
.foot__motto { margin-top: 12px; color: var(--muted); font-size: 15px; }
.foot__col { display: grid; gap: 8px; align-content: start; font-size: 15px; }
.foot__col a { text-decoration: none; color: var(--soft); }
.foot__col a:hover { color: var(--text); }
.foot__h { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.foot__last { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* ---------- Chiffres clés (le risque, les résultats) ---------- */
.hero__proof { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 15px; color: var(--muted); }
.hero__proof b { color: var(--text); font-weight: 800; }
.hero__proof span { color: var(--line-strong); }
.section-head .eyebrow + .h2 { margin-top: 16px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { position: relative; padding: 30px 28px 26px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 14px; }
.stat__n { font-size: clamp(54px, 6.2vw, 92px); font-weight: 800; line-height: 0.92; letter-spacing: -0.055em; color: var(--cobalt-ink); white-space: nowrap; }
.stat__n small { font-size: 0.42em; letter-spacing: -0.02em; margin-left: 0.08em; }
.stat.is-deny .stat__n { color: var(--deny-ink); }
.stat.is-review .stat__n { color: var(--review-ink); }
.stat__t { font-size: 17px; line-height: 1.45; color: var(--soft); }
.stat__src { margin-top: auto; padding-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); }

/* Bande des résultats : encre pleine largeur, inversée dans les deux thèmes */
.band { margin-top: clamp(80px, 11vw, 150px); padding-bottom: clamp(72px, 9vw, 120px); background: var(--text); color: var(--bg); isolation: isolate; overflow: clip; }
.band .eyebrow { color: color-mix(in srgb, var(--cobalt) 60%, var(--bg)); }
.band .sub { color: color-mix(in srgb, var(--bg) 70%, var(--text)); }
.band .stat { background: color-mix(in srgb, var(--bg) 6%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg) 16%, transparent); }
.band .stat__n { color: var(--bg); }
.band .stat__t { color: color-mix(in srgb, var(--bg) 78%, var(--text)); }
.band__foot { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.band__foot p { max-width: 40em; font-size: 15px; color: color-mix(in srgb, var(--bg) 62%, var(--text)); }
.band .button { background: var(--bg); color: var(--text); }
.band .button:hover { background: var(--cobalt); color: var(--on-accent); }
:root[data-theme="dark"] .band .button:hover { color: var(--bg); }

/* Pourquoi Theras */
.why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.why .card { padding: 32px; }

/* Dernier appel */
.final__card { padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 64px); border-radius: 28px; background: var(--cobalt-field); box-shadow: inset 0 0 0 1px var(--line); text-align: center; display: grid; justify-items: center; }
.final__card .sub { margin-left: auto; margin-right: auto; color: var(--soft); }
.final__card .hero__actions { justify-content: center; }

/* ---------- Pages intérieures (produit, sécurité, démo) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: clip; padding: 160px var(--m) 8px; }
.page-hero__seal { position: absolute; z-index: -1; width: 720px; max-width: none; aspect-ratio: 1; right: -180px; top: -160px; opacity: 0.45; pointer-events: none; -webkit-mask-image: linear-gradient(#000 35%, transparent 75%); mask-image: linear-gradient(#000 35%, transparent 75%); }
.page-hero__in > * { margin-left: 0; margin-right: 0; }
.page-hero__title { margin-top: 20px; max-width: 15em; font-size: clamp(40px, 4.6vw, 68px); font-weight: 800; line-height: 1.02; letter-spacing: -0.045em; text-wrap: balance; }
.page-hero .lead { max-width: 40em; }
.page-hero .hero__actions { margin-top: 32px; }
main > .page-hero + section { padding-top: clamp(48px, 6vw, 80px); }
.bar__nav a[aria-current="page"] { color: var(--text); background: var(--raised); }
.more { margin-top: 28px; }
.more .link { color: var(--cobalt-ink); padding-left: 0; }
.band__foot a:not(.button) { color: inherit; }

.faq-group { font-size: var(--s-h3); font-weight: 700; letter-spacing: -0.02em; }
.questions--group .questions__list { margin-top: 20px; }
main > .questions--group + .questions--group { padding-top: clamp(48px, 6vw, 72px); }
.page-hero .lead a { color: var(--cobalt-ink); }

/* ---------- Apparitions ---------- */
.js [data-load] { opacity: 0; transform: translateY(14px); animation: rise 900ms var(--ease-out) forwards; animation-delay: var(--d, 0ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--k, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-load], .js [data-reveal] { opacity: 1; transform: none; animation: none; transition: none; }
  .ros__ring, .ros__pulse, .hero__waves { animation: none; }
}

/* ---------- Écrans moyens et petits ---------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; padding-top: 112px; gap: 40px; }
  .sim { justify-self: start; }
  .hero__seal { left: 70%; top: 70%; }
  .captions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .captions div:not(.is-on) { display: none; }
  .captions div.is-on { grid-column: 1 / -1; }
  .scenario__grid { grid-template-columns: 1fr; }
  .journal { position: static; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .flow { grid-template-columns: 1fr; }
  .flow__step + .flow__step { border-left: 0; border-top: 1px solid var(--line); }
  .flow__step + .flow__step::before { left: 50%; top: -15px; margin: 0 0 0 -15px; transform: rotate(90deg); }
  .trio { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .stat { padding: 24px 20px 20px; }
  .stat__t { font-size: 15.5px; }
  .contact__grid { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .frame__note { display: none; }
  .frame__dots { display: none; }
  .frame__view { aspect-ratio: 4 / 3; }
  /* Console v2 : barre latérale à gauche ; on garde le bord gauche (logo, menu) plutôt que de la couper au milieu. */
  .pane img { object-position: left top; }
  .lead { font-size: 18px; }
  .hero__waves { display: none; }
  .hero__seal { opacity: 0.35; left: 80%; top: 78%; }
  .page-hero { padding-top: 120px; }
  .page-hero__seal { width: 420px; right: -200px; top: -60px; }
}
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
}

/* =====================================================================
   Refonte du 21/11/2026 : navigation complète (menu sur téléphone),
   pages Solution, Cas d'usage, Console, À propos, Devenir pilote.
   ===================================================================== */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Barre : menu ---------- */
.bar__nav a[aria-current="page"] { color: var(--text); background: var(--raised); }
.bar__home, .bar__menu-foot { display: none; }
.bar__cta[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--text); }
.burger {
  display: none; align-items: center; gap: 10px; min-height: 42px; padding: 0 16px 0 14px;
  border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line-strong); font-weight: 700; font-size: 15px;
  transition: background-color 180ms ease;
}
.burger:hover { background: var(--raised); }
.burger__lines { position: relative; width: 18px; height: 12px; }
.burger__lines i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform 320ms var(--ease-out), top 320ms var(--ease-out); }
.burger__lines i:first-child { top: 2px; }
.burger__lines i:last-child { top: 8px; }
.bar.is-menu .burger__lines i:first-child { top: 5px; transform: rotate(45deg); }
.bar.is-menu .burger__lines i:last-child { top: 5px; transform: rotate(-45deg); }

@media (max-width: 1120px) {
  .bar { grid-template-columns: 1fr auto; }
  .burger { display: inline-flex; }
  .bar.is-menu { background: var(--bg); border-bottom-color: var(--line); }
  .bar__nav {
    position: absolute; top: 72px; left: 0; right: 0; height: calc(100dvh - 72px);
    display: flex; flex-direction: column; gap: 0; padding: 12px var(--m) max(28px, env(safe-area-inset-bottom));
    background: var(--bg); overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; opacity: 0; transform: translateY(-10px);
    transition: opacity 260ms ease, transform 360ms var(--ease-out), visibility 0s linear 360ms;
  }
  .bar.is-menu .bar__nav { visibility: visible; opacity: 1; transform: none; transition: opacity 260ms ease, transform 360ms var(--ease-out); }
  .bar__nav a:not(.button):not(.bar__mail) {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 2px; border-radius: 0; border-bottom: 1px solid var(--line);
    font-size: clamp(22px, 6vw, 30px); font-weight: 700; letter-spacing: -0.025em; color: var(--text);
  }
  .bar__nav a:not(.button):not(.bar__mail)::after { content: '→'; font-size: 0.7em; color: var(--muted); transition: transform 320ms var(--ease-out); }
  .bar__nav a:not(.button):not(.bar__mail):hover { background: transparent; }
  .bar__nav a:not(.button):not(.bar__mail):hover::after { transform: translateX(4px); color: var(--cobalt); }
  .bar__nav a[aria-current="page"]:not(.button) { background: transparent; color: var(--cobalt-ink); }
  .bar__nav a[aria-current="page"]:not(.button)::after { content: '•'; color: var(--cobalt); }
  .bar__home { display: flex; }
  .bar__menu-foot { display: grid; gap: 14px; margin-top: auto; padding-top: 28px; justify-items: start; }
  .bar__mail { color: var(--muted); font-size: 15px; text-decoration: none; padding: 4px 0; }
  .bar.is-menu .bar__nav > * { animation: menuIn 520ms var(--ease-out) both; }
  .bar.is-menu .bar__nav > *:nth-child(2) { animation-delay: 30ms; }
  .bar.is-menu .bar__nav > *:nth-child(3) { animation-delay: 60ms; }
  .bar.is-menu .bar__nav > *:nth-child(4) { animation-delay: 90ms; }
  .bar.is-menu .bar__nav > *:nth-child(5) { animation-delay: 120ms; }
  .bar.is-menu .bar__nav > *:nth-child(6) { animation-delay: 150ms; }
  .bar.is-menu .bar__nav > *:nth-child(7) { animation-delay: 180ms; }
  .bar.is-menu .bar__nav > *:nth-child(8) { animation-delay: 210ms; }
}
@keyframes menuIn { from { opacity: 0; transform: translateY(8px); } }
html.menu-open { overflow: hidden; }
@media (max-width: 600px) {
  .bar__cta { display: none; }
  .bar__end { gap: 8px; }
}
@media (max-width: 360px) {
  .bar__mark span:last-child { display: none; }
}

/* ---------- Premier écran ---------- */
.eyebrow--line { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow--line::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.display em { font-style: normal; color: var(--cobalt); }
.hero__sub { margin-top: 26px; font-size: clamp(21px, 2vw, 26px); line-height: 1.35; letter-spacing: -0.02em; color: var(--soft); }
.hero__sub strong { color: var(--text); }
.hero .lead { margin-top: 18px; font-size: 18px; color: var(--muted); }
.hero__visual { position: relative; z-index: 2; justify-self: end; width: min(100%, 480px); padding-bottom: 34px; }

.req { position: relative; padding: 26px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.req__head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.req__icon { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--cobalt-field); color: var(--cobalt-ink); }
.req__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.req__who { display: grid; font-size: 15px; line-height: 1.3; min-width: 0; }
.req__who small { font-size: 13px; color: var(--muted); }
.req__head .tag { margin-left: auto; }
.req__title { margin-top: 20px; font-size: 25px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.req__info { margin-top: 16px; display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 6px 12px; font-size: 14px; }
.req__info dt { color: var(--muted); }
.req__info dd { font-weight: 600; overflow-wrap: anywhere; }
.req .sim__state { margin-top: 18px; }
.req .sim__log { margin-top: 18px; }
.req__caption { margin-top: 16px; font-size: 12.5px; color: var(--muted); text-align: center; }
.req.is-flash { animation: flash 900ms var(--ease-out); }

.pill { position: absolute; z-index: 3; left: -36px; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 13px 20px 13px 14px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.pill small { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.pill__check { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--allow-field); color: var(--allow-ink); }
.pill__check svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Constat ---------- */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fact { color: var(--text); padding: 30px 28px 26px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 10px; }
.fact__n { font-size: clamp(52px, 5.4vw, 80px); font-weight: 800; line-height: 0.95; letter-spacing: -0.055em; color: var(--cobalt-ink); }
.fact.is-deny .fact__n { color: var(--deny-ink); }
.fact.is-review .fact__n { color: var(--review-ink); }
.fact__t { margin-top: 8px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.fact__d { font-size: 15.5px; color: var(--muted); }
.fact__src { margin-top: auto; padding-top: 14px; font-size: 13px; font-weight: 600; color: var(--soft); text-decoration: none; }
.fact__src:hover { color: var(--cobalt-ink); text-decoration: underline; }
.facts + .note { font-size: 14px; }

/* ---------- Aperçu de la console ---------- */
.apercu__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.apercu__grid > * { margin: 0; }
.points { margin-top: 28px; display: grid; gap: 12px; }
.points li { padding-left: 22px; position: relative; color: var(--soft); font-size: 17px; }
.points li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--cobalt); }
.points b { color: var(--text); }
.frame__path { flex: 1; font-family: var(--mono); font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame--still .frame__view img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.frame--still .shot--dark, :root[data-theme="dark"] .frame--still .shot--light { display: none; }
:root[data-theme="dark"] .frame--still .shot--dark { display: block; }
.pane__zoom { display: block; width: 100%; height: 100%; cursor: zoom-in; }

/* ---------- Incubateur ---------- */
.incub__card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 28px; background: var(--cobalt-field); box-shadow: inset 0 0 0 1px var(--line); }
.incub__mark { display: grid; place-items: center; width: clamp(130px, 15vw, 190px); aspect-ratio: 1; border-radius: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; text-align: center; color: var(--cobalt-ink); }
.incub .more { margin-top: 18px; }

/* ---------- Médias ---------- */
.press { padding: 28px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 12px; }
.press__src { font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--cobalt); }
.press__title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.press__text { color: var(--muted); font-size: 15.5px; }
.press .link { margin-top: auto; padding-left: 0; color: var(--cobalt-ink); }

/* ---------- Bandeau pilote ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 72px); border-radius: 28px; background: var(--text); color: var(--bg); }
.cta__copy { max-width: 36em; }
.cta .eyebrow { color: color-mix(in srgb, var(--cobalt) 55%, var(--bg)); }
.cta .h2 { margin-top: 16px; }
.cta__text { margin-top: 18px; font-size: 17px; color: color-mix(in srgb, var(--bg) 72%, var(--text)); }
.cta .button { flex: none; background: var(--bg); color: var(--text); }
.cta .button:hover { background: var(--cobalt); color: #fff; }
.cta__ros { position: absolute; z-index: -1; width: 440px; height: 440px; right: -120px; top: -170px; opacity: 0.4; --tone: color-mix(in srgb, var(--cobalt) 60%, var(--bg)); pointer-events: none; }
.cta__ros .ros__hub { fill: transparent; }

/* ---------- Solution ---------- */
.card__icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; font-weight: 800; font-size: 18px; background: var(--raised); }
.card.is-allow .card__icon { background: var(--allow-field); color: var(--allow-ink); }
.card.is-review .card__icon { background: var(--review-field); color: var(--review-ink); }
.card.is-deny .card__icon { background: var(--deny-field); color: var(--deny-ink); }
.essai__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(32px, 6vw, 88px); align-items: center; }
.essai__grid > * { margin: 0; }
.h3--flush { margin: 0 0 8px; }
.questions__more a { margin: 0 2px; }

/* ---------- Cas d'usage ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 15px; font-weight: 600; color: var(--soft); cursor: pointer; transition: background-color 180ms ease, color 180ms ease; }
.filter:hover { background: var(--raised); }
.filter[aria-pressed="true"] { background: var(--text); color: var(--bg); box-shadow: none; }
.note--top { margin: 18px auto 28px; font-size: 14px; }
.usages__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.usage { padding: 28px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 10px; color: var(--text); }
.usage[hidden] { display: none !important; }
.usage__svc { font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.usage__title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.usage__text { color: var(--soft); font-size: 16px; }
.usage__out { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 8px; justify-items: start; }
.usage__out p { font-size: 14.5px; color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip.is-allow { background: var(--allow-field); }
.chip.is-review { background: var(--review-field); }
.chip.is-deny { background: var(--deny-field); }

/* ---------- À propos ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.split .h2 { margin-top: 16px; }
.split__body { display: grid; gap: 18px; font-size: 19px; color: var(--soft); padding-top: 8px; }

/* ---------- Devenir pilote ---------- */
.pilote__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.pilote__grid > * { margin: 0; }
.pilote .contact-card { margin-top: 0; }
.psteps { margin-top: 20px; }
.psteps li { padding: 22px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.psteps h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }
.psteps p { color: var(--muted); font-size: 16px; }

/* ---------- Pied de page ---------- */
.foot__mail { display: inline-block; margin-top: 14px; font-size: 15px; color: var(--cobalt-ink); text-decoration: none; }
.foot__mail:hover { text-decoration: underline; }

/* ---------- Adaptations ---------- */
@media (max-width: 1080px) {
  .hero__visual { justify-self: start; }
  .apercu__grid, .essai__grid, .pilote__grid { grid-template-columns: 1fr; }
  .usages__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: 1fr; }
  .fact { display: grid; grid-template-columns: minmax(120px, 0.3fr) 1fr; column-gap: 28px; align-items: start; }
  .fact__n { grid-row: span 3; }
  .fact__t { margin-top: 0; }
  .fact__src { grid-column: 2; padding-top: 6px; }
}
@media (max-width: 760px) {
  .hero__visual { width: 100%; }
  .pill { position: relative; left: auto; bottom: auto; margin-top: 14px; display: inline-flex; }
  .hero__visual { padding-bottom: 0; }
  .req { padding: 22px 20px; }
  .req__info { grid-template-columns: 1fr; gap: 0; }
  .req__info dd + dt { margin-top: 8px; }
  .usages__grid { grid-template-columns: 1fr; }
  .fact { display: flex; }
  .incub__card { grid-template-columns: 1fr; }
  .incub__mark { width: 120px; font-size: 20px; border-radius: 18px; }
  .split { grid-template-columns: 1fr; }
  .split__body { font-size: 17px; }
  .cta { flex-direction: column; align-items: flex-start; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(-1 * var(--m)); margin-right: calc(-1 * var(--m)); padding: 2px var(--m); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .frame__path { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bar.is-menu .bar__nav > * { animation: none; }
  .bar__nav, .burger__lines i { transition: none; }
}

/* Bouton « Devenir entreprise pilote » du menu : texte blanc (ou encre en thème sombre), pas gris. */
.bar__nav a.button { min-height: 52px; padding: 0 28px; font-size: var(--s-small); font-weight: 700; color: var(--on-accent); background: var(--cobalt); }
.bar__nav a.button:hover { color: var(--bg); background: var(--button-hover); }
