/* Police Inter (SIL Open Font License, voir /fonts/Inter-OFL.txt), hébergée sur le site :
   rendu identique sur tous les appareils, sans service tiers. */
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2-variations"), url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations"), url("/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #f6f8fb;
  --card: #ffffff;
  --text: #14202e;
  --muted: #5b6b7d;
  --brand: #0a6cff;
  --brand-dark: #0852c4;
  --cyan: #19c3e6;
  --accent: #e8f1ff;
  --border: #dfe6ee;
  --navy: #0b1a2e;
  --green: #12a150;
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: "Inter Variable", Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---------- Barre de progression ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; }
.scroll-progress span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--brand), var(--cyan));
  transform-origin: left; transform: scaleX(0);
}

/* ---------- En-tête ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  padding: 14px 0;
  background: rgba(11, 26, 46, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s, box-shadow 0.3s;
}
header.site.scrolled { background: rgba(11, 26, 46, 0.92); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18); }
header.site .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
header.site nav { display: flex; align-items: center; gap: 22px; }
.logo { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; color: #fff; text-decoration: none; }
.logo span { color: var(--cyan); }
header.site a.link { color: #c4d2e3; text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
header.site a.link:hover { color: #fff; }

/* ---------- Boutons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--brand), #2d8bff);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 13px 24px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(10, 108, 255, 0.3);
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(10, 108, 255, 0.4); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:disabled { opacity: 0.7; cursor: wait; transform: none; }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn.small { padding: 8px 16px; font-size: 0.9rem; border-radius: 10px; }
.btn.big { padding: 16px 30px; font-size: 1.08rem; }
.btn.secondary { background: var(--accent); color: var(--brand-dark); box-shadow: none; }
.btn.secondary:hover { background: #d6e6ff; box-shadow: 0 8px 20px rgba(10, 108, 255, 0.15); }
.btn.ghost { background: rgba(255, 255, 255, 0.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.16); }
.btn.light { background: #fff; color: var(--brand-dark); }

/* Reflet animé */
.btn.shine::after {
  content: ""; position: absolute; top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  animation: shine 3.6s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  margin-top: -66px; padding: 130px 0 56px;
  background: radial-gradient(1200px 600px at 80% -10%, #12345e 0%, transparent 60%), var(--navy);
  color: #fff;
}
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; pointer-events: none; }
.glow.g1 { width: 420px; height: 420px; background: var(--brand); top: -80px; left: -120px; animation: float 12s ease-in-out infinite; }
.glow.g2 { width: 360px; height: 360px; background: var(--cyan); bottom: -140px; right: -80px; opacity: 0.35; animation: float 14s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translate(40px, 30px) scale(1.1); } }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.1; margin: 18px 0 18px; letter-spacing: -0.035em; }
.grad { background: linear-gradient(90deg, #6fb2ff, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 1.15rem; color: #b8c7da; max-width: 560px; margin: 0 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.reassure { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: #9fb3cb; font-size: 0.92rem; }
.hero-note { color: #7d93ad; position: relative; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem; color: #d3e0ef;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ee08a; box-shadow: 0 0 0 0 rgba(62, 224, 138, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(62, 224, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 224, 138, 0); } }

/* ---------- Démo téléphone ---------- */
.phone {
  background: #fff; color: var(--text);
  border-radius: 28px; padding: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 8px rgba(255, 255, 255, 0.06);
  min-height: 470px;
  display: flex; flex-direction: column;
  scroll-margin-top: 100px;
}
.phone-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.rec { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: #c0392b; }
.rec-dot { width: 10px; height: 10px; border-radius: 50%; background: #e74c3c; animation: blink 1s infinite; }
.phone.done .rec { color: var(--green); }
.phone.done .rec-dot { background: var(--green); animation: none; }
@keyframes blink { 50% { opacity: 0.25; } }
.wave { display: inline-flex; gap: 3px; align-items: center; height: 22px; }
.wave i { width: 3px; height: 100%; background: var(--brand); border-radius: 2px; animation: wave 0.9s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: 0.1s; } .wave i:nth-child(3) { animation-delay: 0.2s; }
.wave i:nth-child(4) { animation-delay: 0.3s; } .wave i:nth-child(5) { animation-delay: 0.4s; }
.wave i:nth-child(6) { animation-delay: 0.5s; } .wave i:nth-child(7) { animation-delay: 0.6s; }
.phone:not(.recording) .wave i { animation: none; transform: scaleY(0.2); }
@keyframes wave { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }

.phone .dictation {
  margin: 0 0 14px; padding: 12px 14px;
  background: var(--accent); border-radius: 14px 14px 14px 4px;
  font-size: 0.92rem; font-style: italic; color: #2a3b50; max-width: none;
  min-height: 92px;
}
.caret { display: inline-block; width: 2px; height: 1em; background: var(--brand); vertical-align: -2px; margin-left: 1px; animation: blink 0.8s infinite; }

.report-mini { border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; flex: 1; }
.report-mini h3 { margin: 0 0 8px; font-size: 1rem; }
.report-mini dl { margin: 0; display: grid; grid-template-columns: 96px 1fr; gap: 4px 12px; font-size: 0.86rem; }
.report-mini dt { font-weight: 600; color: var(--muted); }
.report-mini dd { margin: 0; }
.report-mini dt, .report-mini dd, .report-mini .validated, .report-mini h3 {
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.report-mini .on { opacity: 1; transform: none; }
.validated {
  margin-top: 12px; padding: 8px 12px; border-radius: 10px;
  background: #e6f7ee; color: var(--green); font-weight: 700; font-size: 0.88rem; text-align: center;
}
.replay {
  margin-top: 12px; align-self: center;
  background: none; border: 0; color: var(--muted); font: inherit; font-size: 0.85rem; cursor: pointer;
}
.replay:hover { color: var(--brand); }

/* ---------- Bandeau ---------- */
.band { padding: 0; margin-top: -1px; background: var(--navy); }
.band-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255, 255, 255, 0.08); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden;
  transform: translateY(1px);
}
.band-grid > div { background: #fff; padding: 22px 20px; display: flex; flex-direction: column; }
.band-grid strong { font-size: 1.02rem; }
.band-grid span { color: var(--muted); font-size: 0.9rem; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section h2 { text-align: center; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 32px; letter-spacing: -0.025em; line-height: 1.2; }
.eyebrow {
  display: block; text-align: center; margin-bottom: 8px;
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--brand);
}
.sub { text-align: center; color: var(--muted); margin: -18px auto 28px; max-width: 560px; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin: 0 0 6px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); }

.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.step { position: relative; transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s; }
.step:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(20, 32, 46, 0.1); border-color: #bcd4f5; }
.step .num {
  position: absolute; top: 18px; right: 20px;
  font-size: 2.4rem; font-weight: 800; color: var(--accent); line-height: 1;
}
.step .icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 14px;
  display: grid; place-items: center; font-size: 1.5rem;
  background: linear-gradient(135deg, var(--accent), #f2f8ff);
  transition: transform 0.3s var(--ease);
}
.step:hover .icon { transform: rotate(-8deg) scale(1.1); }

/* ---------- Simulateur ---------- */
.sim-section { background: linear-gradient(180deg, var(--bg), #eaf2ff); }
.sim { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; padding: 32px; box-shadow: 0 20px 50px rgba(10, 108, 255, 0.08); }
.sim-inputs { display: grid; gap: 22px; }
.sim-inputs label span, .team-picker label { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; margin-bottom: 8px; font-size: 0.95rem; }
output { color: var(--brand); font-weight: 800; font-variant-numeric: tabular-nums; }

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 8px; border-radius: 999px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, var(--brand) var(--fill, 50%), var(--border) var(--fill, 50%));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand);
  box-shadow: 0 3px 10px rgba(10, 108, 255, 0.35);
  transition: transform 0.15s;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand);
  box-shadow: 0 3px 10px rgba(10, 108, 255, 0.35);
}
input[type="range"]:focus-visible { box-shadow: 0 0 0 4px rgba(10, 108, 255, 0.2); }

.sim-result {
  background: var(--navy); color: #fff; border-radius: 14px; padding: 28px;
  display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center;
}
.sim-result p { color: #b8c7da; margin: 4px 0 10px; }
.big-num { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.big-num small { font-size: 1rem; font-weight: 600; color: #9fb3cb; letter-spacing: 0; }
.big-num.accent { color: #3ee08a; }
.sim-result .sim-plan { margin: 14px 0 18px; color: #d3e0ef; }
.sim-result .sim-plan strong { color: #fff; }
.sim-result .fine { font-size: 0.78rem; color: #7d93ad; margin: 14px 0 0; }

/* ---------- Tarifs ---------- */
.team-picker {
  max-width: 560px; margin: 0 auto 32px; padding: 20px 24px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
}
.pricing { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s, opacity 0.35s;
}
.plan:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(20, 32, 46, 0.12); }
.plan .price { font-size: 2.3rem; font-weight: 800; margin: 6px 0 0; letter-spacing: -0.03em; }
.plan .price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan .per-tech { font-size: 0.85rem; margin-bottom: 4px; }
.plan ul { padding-left: 0; list-style: none; color: var(--muted); flex: 1; font-size: 0.94rem; }
.plan li { padding-left: 26px; position: relative; margin-bottom: 6px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.plan .btn { width: 100%; text-align: center; }

.plan .badge {
  position: absolute; top: -13px; left: 50%; transform: translate(-50%, 6px);
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
  background: linear-gradient(135deg, var(--brand), var(--cyan)); color: #fff;
  font-size: 0.78rem; font-weight: 700;
  opacity: 0; transition: opacity 0.3s, transform 0.3s var(--ease);
}
.plan .ribbon {
  position: absolute; top: 16px; right: 16px;
  font-size: 0.72rem; font-weight: 700; color: var(--brand-dark);
  background: var(--accent); padding: 3px 10px; border-radius: 999px;
}
.pricing.has-pick .plan:not(.picked) { opacity: 0.6; }
.pricing.has-pick .plan:not(.picked):hover { opacity: 1; }
.plan.picked {
  border-color: var(--brand); border-width: 2px;
  box-shadow: 0 20px 50px rgba(10, 108, 255, 0.2);
  transform: translateY(-8px);
}
.plan.picked .badge { opacity: 1; transform: translate(-50%, 0); }
.plan.picked .btn.secondary { background: linear-gradient(135deg, var(--brand), #2d8bff); color: #fff; box-shadow: 0 6px 18px rgba(10, 108, 255, 0.3); }
.plan.bump { animation: bump 0.45s var(--ease); }
@keyframes bump { 40% { transform: translateY(-12px) scale(1.02); } }

.note { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 16px; }

.error {
  max-width: 560px; margin: 18px auto 0; padding: 12px 16px;
  background: #fdecec; color: #8a1f1f; border-radius: 10px; text-align: center;
}

/* ---------- FAQ ---------- */
details {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 20px; margin-bottom: 10px; transition: border-color 0.2s, box-shadow 0.2s;
}
details:hover { border-color: #bcd4f5; }
details[open] { box-shadow: 0 10px 26px rgba(20, 32, 46, 0.06); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand); font-size: 1.3rem; line-height: 1; transition: transform 0.25s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 10px 0 0; }
.faq { max-width: 720px; margin: 0 auto; }

/* ---------- CTA final ---------- */
.final-cta {
  text-align: center; color: #fff;
  background: radial-gradient(800px 300px at 50% 0%, #1a4f96, transparent 70%), var(--navy);
}
.final-cta h2 { color: #fff; margin-bottom: 12px; }
.final-cta p { color: #b8c7da; margin: 0 0 26px; }

footer { padding: 32px 0 96px; text-align: center; color: var(--muted); font-size: 0.9rem; }
footer a { color: var(--muted); }

/* ---------- CTA collant ---------- */
.sticky-cta {
  position: fixed; left: 50%; bottom: 18px; z-index: 55;
  display: flex; align-items: center; gap: 16px;
  padding: 10px 10px 10px 20px; border-radius: 999px;
  background: rgba(11, 26, 46, 0.94); color: #fff; font-size: 0.92rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
  transform: translate(-50%, 140%); opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.sticky-cta.show { transform: translate(-50%, 0); opacity: 1; }
.sticky-cta .btn { border-radius: 999px; }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.steps .reveal:nth-child(2), .band-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.steps .reveal:nth-child(3), .band-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.band-grid .reveal:nth-child(4) { transition-delay: 0.3s; }

/* ---------- Pages succès / annulation ---------- */
.center-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; text-align: center; }
.center-page .card { max-width: 520px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .sim { grid-template-columns: 1fr; }
  .band-grid { grid-template-columns: repeat(2, 1fr); }
  }
@media (max-width: 520px) {
  .band-grid { grid-template-columns: 1fr; }
  .sim { padding: 20px; }
  .report-mini dl { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Page de confirmation : clé d'accès gérant ---------- */
.key-card { margin: 18px 0; padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: #f7faff; text-align: left; }
.key-card h2 { font-size: 1.05rem; margin: 0 0 10px; }
.key-status { margin: 0; color: var(--muted); }
.key-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.key-value {
  flex: 1 1 auto; font: 700 1.25rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.08em;
  padding: 12px 14px; border-radius: 10px; background: var(--accent); color: var(--brand-dark); user-select: all; word-break: break-all;
}
.key-warn { margin: 12px 0; padding: 10px 12px; border-radius: 10px; background: #fff4de; color: #7a5000; font-size: 0.92rem; }

/* ---------- Contrastes WCAG 2.1 AA (texte ≥ 4,5:1) ---------- */
/* Offres non sélectionnées : estompées par l'ombre et la bordure, jamais par la transparence du texte. */
.pricing.has-pick .plan:not(.picked) { opacity: 1; filter: saturate(0.6); box-shadow: none; }
.pricing.has-pick .plan:not(.picked):hover { filter: none; }
.eyebrow { color: var(--brand-dark); }
.validated { color: #0b7a3b; }

/* ---------- Correctifs d'animation ---------- */
/* « overflow: clip » au lieu de « hidden » : un bloc décoratif ne peut plus être défilé par le navigateur
   (le bouton « Rejouer la démo » décalait tout l'en-tête vers la gauche). */
.hero, .dash-section, .dash, .band-grid, .trade-doc, .review-slot, .btn { overflow: clip; }
/* Démo : texte rouge pendant la dictée, vert quand le compte rendu est prêt (contrastes AA). */
.phone .rec { color: #b42318; }
.phone.done .rec { color: #0b7a3b; }
/* CTA collant sur mobile : une seule ligne, sans recouvrir la largeur de l'écran. */
.sticky-cta > span { white-space: nowrap; }
@media (max-width: 520px) {
  .sticky-cta { left: 12px; right: 12px; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 16px; font-size: 0.84rem; transform: translateY(140%); }
  .sticky-cta.show { transform: translateY(0); }
  .sticky-cta .btn { white-space: nowrap; }
}
/* Mention « Exemple fictif » : alignée sous la démo, dans la grille du site. */
.hero .hero-note { position: relative; max-width: none; margin: 14px 0 0; font-size: 0.85rem; text-align: right; color: #9fb3c8; }
@media (max-width: 900px) { .hero .hero-note { text-align: center; } }

/* ---------- En-tête : logo calé à gauche, menu dépliant sur mobile ---------- */
header.site .container, .app-bar .container { width: calc(100% - 48px); max-width: none; }
.menu-toggle, .cta-mobile { display: none; }
.menu-toggle {
  width: 44px; height: 44px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, 0.08);
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; flex: none;
}
.menu-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.25s var(--ease), opacity 0.2s; }
.menu-toggle:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
header.site.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
header.site.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
header.site.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) {
  header.site .container { width: calc(100% - 32px); gap: 10px; }
  header.site .logo { margin-right: auto; }
  .menu-toggle { display: inline-flex; }
  .cta-mobile { display: inline-flex; }
  header.site nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 18px; background: #0b1a2e; isolation: isolate; z-index: 2;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    max-height: calc(100vh - 72px); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }
  header.site.menu-open nav { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0s; }
  header.site nav a.link { display: block; padding: 14px 6px; font-size: 1.05rem; color: #e3ebf5; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  header.site nav .btn { margin-top: 14px; padding: 14px; font-size: 1rem; }
}
@media (max-width: 360px) { .cta-mobile { display: none; } }
