/* AutoCut — marketing site (/site).
   Aesthetic: "futuristic SaaS 2026", inspired by prompthq.fr — very dark
   background, neon violet→cyan gradient accents, frosted-glass cards, subtle
   glows, terminal/monospace touches, big confident type, CSS-only motion with
   IntersectionObserver-driven reveals. No frameworks, no external fonts. */

:root {
  --bg: #05060a;
  --bg-2: #0a0c14;
  --bg-3: #10131f;
  --ink: #f2f4fa;
  --ink-soft: #9ba0b4;
  --ink-mute: #5e6275;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --violet: #a78bfa;
  --cyan: #22d3ee;
  --win: #4ade80;
  --grad: linear-gradient(115deg, #a78bfa 0%, #6d8cff 45%, #22d3ee 100%);
  --glass: rgba(255, 255, 255, 0.035);
  --glass-hover: rgba(255, 255, 255, 0.06);
  --radius: 18px;
  --maxw: 1140px;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  /* clip (PAS hidden) : hidden ferait de body un conteneur de défilement et
     casserait le position:sticky du scrollytelling « How it works ». */
  overflow-x: clip;
}
a { color: inherit; }
.mono { font-family: var(--mono); }

/* ----- Ambient background --------------------------------------------- */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(75% 55% at 50% 0%, rgba(0, 0, 0, 0.9), transparent 75%);
  mask-image: radial-gradient(75% 55% at 50% 0%, rgba(0, 0, 0, 0.9), transparent 75%);
}
.bg__orb {
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 760px;
  max-height: 760px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.32;
  animation: orb-drift 22s ease-in-out infinite alternate;
}
.bg__orb--violet { top: -28vw; left: -14vw; background: radial-gradient(circle, #6d28d9, transparent 65%); }
.bg__orb--cyan { top: -20vw; right: -18vw; background: radial-gradient(circle, #0e7490, transparent 65%); animation-delay: -11s; }
@keyframes orb-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(6vw, 5vh, 0) scale(1.12); }
}

/* ----- Shared atoms ----------------------------------------------------- */
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.eyebrow {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--cyan);
  margin: 0 0 0.9rem;
}
.section-title {
  text-align: center;
  font-size: clamp(1.9rem, 4.6vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 auto 3rem;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  margin: 0 0 1.6rem;
}
.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--win);
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* ----- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.5rem;
  font: 600 0.92rem/1 inherit;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.25s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn--lg { padding: 1rem 2.2rem; font-size: 1rem; }
.btn--primary {
  background: var(--grad);
  color: #04060c;
  font-weight: 700;
  box-shadow:
    0 0 0 1px rgba(167, 139, 250, 0.45),
    0 12px 40px -10px rgba(109, 140, 255, 0.65);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(167, 139, 250, 0.75),
    0 18px 55px -10px rgba(34, 211, 238, 0.7);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn--ghost:hover { border-color: var(--cyan); transform: translateY(-2px); }

/* ----- Bascule de langue FR/EN -------------------------------------------- */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  height: 2.3rem;
  padding: 0 0.55rem;
  font: 600 0.8rem/1 var(--mono, ui-monospace, monospace);
  letter-spacing: 0.05em;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease, color 0.15s ease;
}
.lang-toggle:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-1px); }
.lang-toggle:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ----- Lien démo du hero --------------------------------------------------- */
.hero__demo-link {
  display: inline-block;
  margin-top: 1.1rem;
  padding: 0;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cyan);
  background: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: opacity 0.15s ease;
}
.hero__demo-link:hover { opacity: 0.78; text-decoration: underline; text-underline-offset: 4px; }
.hero__demo-link:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* ----- Bande « plan gratuit » (pricing) ------------------------------------ */
.free-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
  max-width: 60rem;
  margin: 0 auto 2.2rem;
  padding: 1.5rem 1.9rem;
  border-radius: 18px;
}
.free-band__text { display: flex; flex-direction: column; gap: 0.4rem; }
.free-band__text h3 { margin: 0.35rem 0 0; font-size: 1.35rem; font-weight: 700; }
.free-band__text p { margin: 0; color: var(--ink-mute, #9ba0b4); max-width: 42ch; }
.free-band .btn { flex: none; }

/* ----- Lightbox démo ------------------------------------------------------- */
.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vw;
}
.demo-modal[hidden] { display: none; }
.demo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 3, 8, 0.82);
  backdrop-filter: blur(6px);
}
.demo-modal__inner {
  position: relative;
  width: min(960px, 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.8);
}
.demo-modal__video { display: block; width: 100%; height: auto; background: #000; }
.demo-modal__close {
  position: absolute;
  top: 0.6rem;
  right: 0.7rem;
  z-index: 1;
  width: 2.3rem;
  height: 2.3rem;
  font-size: 1.5rem;
  line-height: 1;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  cursor: pointer;
}
.demo-modal__close:hover { background: rgba(0, 0, 0, 0.8); }
@media (max-width: 640px) {
  .free-band { flex-direction: column; align-items: flex-start; }
}

/* ----- Nav ----------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 6, 10, 0.55);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(5, 6, 10, 0.78); }
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem 1.6rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  text-decoration: none;
}
.brand__mark {
  display: inline-flex;
  width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.22), rgba(34, 211, 238, 0.22));
  border: 1px solid rgba(167, 139, 250, 0.4);
  color: var(--cyan);
}
.brand__mark svg { width: 100%; height: 100%; }
.brand__accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav__links { display: flex; gap: 1.8rem; margin-left: auto; }
.nav__links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__cta { display: flex; align-items: center; gap: 1.1rem; }

/* ----- Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  text-align: center;
  padding: 6.5rem 1.5rem 5rem;
}
.hero__content { position: relative; max-width: 900px; margin: 0 auto; }
.hero__title {
  font-size: clamp(2.7rem, 7.6vw, 5.3rem);
  line-height: 1.0;
  letter-spacing: -0.045em;
  font-weight: 800;
  margin: 0 0 1.4rem;
}
.hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 2.3rem;
  font-weight: 400;
}
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero__note {
  margin: 1.7rem 0 0;
  font-size: 0.72rem;
  color: var(--ink-mute);
  letter-spacing: 0.16em;
}

/* Hero console demo */
.hero__demo {
  position: relative;
  max-width: 780px;
  margin: 4.2rem auto 0;
  overflow: hidden;
  box-shadow:
    0 40px 90px -40px rgba(0, 0, 0, 0.9),
    0 0 80px -30px rgba(109, 140, 255, 0.45);
}
.demo__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.demo__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.demo__file {
  margin-left: 0.6rem;
  font-size: 0.74rem;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.demo__status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--win);
  white-space: nowrap;
}
.demo__body { padding: 1.4rem 1.4rem 1.2rem; }
.demo__curve { display: block; width: 100%; height: 150px; }
.curve__line {
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  animation: curve-draw 2.6s ease-out 0.5s forwards;
  filter: drop-shadow(0 0 6px rgba(109, 140, 255, 0.6));
}
.curve__area { opacity: 0; animation: curve-fade 1.2s ease-out 1.6s forwards; }
@keyframes curve-draw { to { stroke-dashoffset: 0; } }
@keyframes curve-fade { to { opacity: 1; } }
.curve__hit {
  fill: var(--win);
  stroke: rgba(74, 222, 128, 0.35);
  stroke-width: 6;
  opacity: 0;
  animation: hit-pop 0.5s ease-out forwards;
}
.curve__hit { animation-delay: 1.4s; }
.curve__hit--2 { animation-delay: 1.9s; }
.curve__hit--3 { animation-delay: 2.5s; }
@keyframes hit-pop {
  0% { opacity: 0; transform: scale(0.2); transform-origin: center; transform-box: fill-box; }
  70% { opacity: 1; transform: scale(1.35); transform-origin: center; transform-box: fill-box; }
  100% { opacity: 1; transform: scale(1); transform-origin: center; transform-box: fill-box; }
}
.demo__rail {
  display: flex;
  gap: 4px;
  height: 30px;
  margin: 1.1rem 0 1rem;
  padding: 5px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.seg { display: block; border-radius: 4px; height: 100%; }
.seg--keep { flex: 2; background: var(--grad); box-shadow: 0 0 14px -2px rgba(109, 140, 255, 0.5); }
.seg--keep-big { flex: 3; }
.seg--cut { flex: 1.4; background: rgba(255, 255, 255, 0.055); }
.demo__tags { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.tag {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
}
.tag--win {
  color: var(--win);
  border-color: rgba(74, 222, 128, 0.35);
  background: rgba(74, 222, 128, 0.07);
}

/* ----- Stats ------------------------------------------------------------------ */
.stats {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat strong { display: block; font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -0.01em; font-weight: 800; }
.stat span {
  display: block;
  margin-top: 0.3rem;
  color: var(--ink-mute);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ----- Statement ---------------------------------------------------------------- */
.statement { padding: 7.5rem 1.5rem; text-align: center; }
.statement h2 {
  font-size: clamp(1.9rem, 5.4vw, 3.7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0;
  line-height: 1.12;
}

/* ----- How it works --------------------------------------------------------------- */
.how { max-width: var(--maxw); margin: 0 auto; padding: 1rem 1.5rem 6.5rem; }
.how .eyebrow, .features .eyebrow, .pricing .eyebrow, .faq .eyebrow { display: block; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: step; }
.step { position: relative; padding: 2.2rem 1.9rem; transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease; }
.step:hover { background: var(--glass-hover); border-color: var(--line-2); transform: translateY(-4px); }
.step__num {
  position: absolute;
  top: 1.5rem;
  right: 1.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
}
.step__icon, .feature__icon {
  width: 46px;
  height: 46px;
  padding: 11px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.16), rgba(34, 211, 238, 0.16));
  border: 1px solid rgba(167, 139, 250, 0.32);
  color: var(--cyan);
  margin-bottom: 1.2rem;
}
.step__icon svg, .feature__icon svg { display: block; width: 100%; height: 100%; }
.step h3 { font-size: 1.22rem; margin: 0 0 0.45rem; letter-spacing: -0.01em; font-weight: 700; }
.step p { color: var(--ink-soft); margin: 0; font-size: 0.94rem; }

/* ----- Features ---------------------------------------------------------------------- */
.features { max-width: var(--maxw); margin: 0 auto; padding: 1rem 1.5rem 6.5rem; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.feature {
  position: relative;
  padding: 2.1rem 1.8rem;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  overflow: hidden;
}
.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 0%, rgba(109, 140, 255, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.feature:hover { border-color: rgba(167, 139, 250, 0.4); transform: translateY(-4px); }
.feature:hover::after { opacity: 1; }
.feature h3 { font-size: 1.12rem; margin: 0 0 0.5rem; letter-spacing: -0.01em; font-weight: 700; }
.feature p { color: var(--ink-soft); margin: 0; font-size: 0.93rem; }

/* ----- Social proof ----------------------------------------------------------------------- */
.proof { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem 6.5rem; }
.proof__inner {
  position: relative;
  text-align: center;
  padding: 4.2rem 2rem 3.4rem;
  overflow: hidden;
}
.proof__glow {
  position: absolute;
  inset: -60% 25% auto 25%;
  height: 110%;
  background: radial-gradient(closest-side, rgba(109, 140, 255, 0.22), transparent);
  filter: blur(34px);
  pointer-events: none;
}
.proof__inner blockquote {
  position: relative;
  font-size: clamp(1.3rem, 3.1vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  max-width: 760px;
  margin: 0 auto 1.2rem;
}
.proof__author { position: relative; color: var(--ink-mute); font-size: 0.72rem; letter-spacing: 0.16em; margin: 0 0 2.4rem; }
.proof__row {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem 2.6rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}

/* ----- Pricing -------------------------------------------------------------------------------- */
.pricing { max-width: var(--maxw); margin: 0 auto; padding: 1rem 1.5rem 6.5rem; }
.billing-toggle {
  display: flex;
  gap: 0.25rem;
  width: fit-content;
  margin: -1.2rem auto 3.2rem;
  padding: 0.3rem;
  background: var(--glass);
  border-radius: 999px;
  border: 1px solid var(--line);
}
.billing-toggle__btn {
  border: 0;
  background: transparent;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  font: 600 0.92rem inherit;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}
.billing-toggle__btn.is-active { background: rgba(255, 255, 255, 0.09); color: var(--ink); }
.badge-save {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: start; }
.plan { position: relative; padding: 2.3rem 1.9rem; display: flex; flex-direction: column; }
.plan--featured {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    var(--grad) border-box;
  box-shadow: 0 30px 80px -38px rgba(109, 140, 255, 0.65);
  transform: translateY(-10px);
}
.plan__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #04060c;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}
.plan__name { font-size: 1.3rem; margin: 0 0 0.3rem; letter-spacing: -0.01em; }
.plan__tagline { color: var(--ink-mute); margin: 0 0 1.4rem; font-size: 0.92rem; }
.plan__price { margin: 0; font-weight: 800; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 0.1rem; }
.plan__currency { font-size: 1.5rem; color: var(--ink-soft); }
.plan__amount { font-size: 3rem; line-height: 1; }
.plan__unit { font-size: 1rem; color: var(--ink-mute); font-weight: 600; }
.plan__billed { color: var(--ink-mute); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; margin: 0.4rem 0 1.4rem; visibility: hidden; }
.plan__billed.show { visibility: visible; }
.plan__features { list-style: none; padding: 0; margin: 0 0 1.9rem; display: grid; gap: 0.7rem; flex: 1; }
.plan__features li { padding-left: 1.6rem; position: relative; color: var(--ink-soft); font-size: 0.93rem; }
.plan__features li strong { color: var(--ink); }
.plan__features li::before { content: "›"; position: absolute; left: 0.2rem; color: var(--cyan); font-weight: 800; }
.plan__cta { width: 100%; text-align: center; }
.pricing__foot { text-align: center; margin-top: 2.6rem; color: var(--ink-mute); font-size: 0.92rem; }
.pricing__foot a {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
  font-weight: 600;
}

/* ----- FAQ ---------------------------------------------------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; padding: 1rem 1.5rem 6.5rem; }
.faq__list { display: grid; gap: 0.8rem; }
.faq__item { padding: 0; overflow: hidden; transition: border-color 0.25s ease; }
.faq__item[open] { border-color: rgba(167, 139, 250, 0.4); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 3rem 1.15rem 1.4rem;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--cyan);
  transition: transform 0.25s ease;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p {
  margin: 0;
  padding: 0 1.4rem 1.3rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* ----- Final CTA -------------------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  max-width: var(--maxw);
  margin: 0 auto 5.5rem;
  border: 1px solid var(--line-2);
  border-radius: 26px;
  text-align: center;
  padding: 5rem 1.5rem;
  background: var(--bg-2);
}
.cta-band__glow {
  position: absolute;
  inset: -55% 18% auto 18%;
  height: 110%;
  background: radial-gradient(closest-side, rgba(109, 140, 255, 0.3), transparent);
  filter: blur(34px);
  pointer-events: none;
  animation: glow-breathe 6s ease-in-out infinite alternate;
}
@keyframes glow-breathe {
  from { opacity: 0.75; transform: scale(1); }
  to { opacity: 1; transform: scale(1.12); }
}
.cta-band h2 {
  position: relative;
  font-size: clamp(2rem, 5vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0 0 2rem;
}
.cta-band .status-pill { position: relative; }
.cta-band .btn { position: relative; }
.cta-band .hero__note { position: relative; }

/* ----- Footer -------------------------------------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding: 2.8rem 1.5rem; text-align: center; }
.footer__brand { font-weight: 800; letter-spacing: 0.14em; font-size: 1.05rem; }
.footer__legal { color: var(--ink-mute); font-size: 0.68rem; letter-spacing: 0.16em; margin: 0.7rem 0 0; }

/* ----- Reveal on scroll -------------------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal--delay { transition-delay: 0.15s; }
.reveal.is-visible { opacity: 1; transform: none; }
/* Staggered children inside grids */
.steps .reveal:nth-child(2), .grid .reveal:nth-child(2), .plans .reveal:nth-child(2) { transition-delay: 0.1s; }
.steps .reveal:nth-child(3), .grid .reveal:nth-child(3), .plans .reveal:nth-child(3) { transition-delay: 0.2s; }
.grid .reveal:nth-child(4) { transition-delay: 0.1s; }
.grid .reveal:nth-child(5) { transition-delay: 0.2s; }
.grid .reveal:nth-child(6) { transition-delay: 0.3s; }

/* ----- Barre de progression de scroll (rappel « vitesse » permanent) ------- */
.scrollbar-top { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.scrollbar-top i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.8);
  transition: width 0.08s linear;
}

/* ----- Scrollytelling « How it works » -------------------------------------- */
.scrolly { position: relative; }
.scrolly__sticky {
  position: sticky;
  top: max(64px, calc(50vh - 290px));
  display: flex;
  gap: 2.4rem;
  align-items: stretch;
  z-index: 1;
}
.scrolly__track { position: relative; margin-top: -1px; }
.scrolly__trigger { height: 85vh; }

.scrolly__stage {
  position: relative;
  flex: 1.45;
  min-height: 480px;
  overflow: hidden;
  box-shadow:
    0 40px 90px -40px rgba(0, 0, 0, 0.9),
    0 0 80px -30px rgba(109, 140, 255, 0.4);
}
.stage {
  position: absolute;
  inset: 0 0 58px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.stage.is-active { opacity: 1; transform: none; }

/* Scène 1 — upload */
.upzone {
  width: min(420px, 90%);
  text-align: center;
  border: 1.5px dashed rgba(167, 139, 250, 0.45);
  border-radius: 18px;
  padding: 2.6rem 2rem 2.2rem;
  background: rgba(167, 139, 250, 0.04);
}
.upzone__icon { width: 44px; height: 44px; color: var(--cyan); opacity: 0; }
.stage--upload.is-active .upzone__icon { animation: file-drop 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.2) 0.15s forwards; }
@keyframes file-drop { from { opacity: 0; transform: translateY(-26px); } to { opacity: 1; transform: none; } }
.upzone__file {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.4rem 0 0.8rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
}
.upzone__file em { font-style: normal; color: var(--ink-mute); }
.loadbar {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  overflow: hidden;
}
.loadbar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); box-shadow: 0 0 14px rgba(34, 211, 238, 0.55); }
.stage--upload.is-active .loadbar i { animation: bar-fill 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.4s forwards; }
@keyframes bar-fill { to { width: 100%; } }
.upzone__ok { margin: 0.9rem 0 0; font-size: 0.68rem; letter-spacing: 0.14em; color: var(--win); opacity: 0; }
.stage--upload.is-active .upzone__ok { animation: curve-fade 0.4s ease 1.5s forwards; }

/* Scène 2 — détection IA */
.stage--detect { justify-content: flex-end; }
.detect__curve { position: absolute; inset: 2rem 2rem 5.4rem; width: calc(100% - 4rem); height: auto; max-height: calc(100% - 7.4rem); }
.dcurve__line { stroke-dasharray: 1500; stroke-dashoffset: 1500; filter: drop-shadow(0 0 7px rgba(109, 140, 255, 0.6)); }
.stage--detect.is-active .dcurve__line { animation: curve-draw 2s ease-out 0.2s forwards; }
.dcurve__area { opacity: 0; }
.stage--detect.is-active .dcurve__area { animation: curve-fade 1s ease-out 1.2s forwards; }
.dhit { fill: var(--win); stroke: rgba(74, 222, 128, 0.35); stroke-width: 7; opacity: 0; }
.stage--detect.is-active .dhit { animation: hit-pop 0.5s ease-out 1s forwards; }
.stage--detect.is-active .dhit--2 { animation-delay: 1.45s; }
.stage--detect.is-active .dhit--3 { animation-delay: 1.95s; }
.detect__scan {
  position: absolute;
  top: 1.4rem;
  bottom: 5rem;
  left: 2rem;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.8);
  opacity: 0;
}
.stage--detect.is-active .detect__scan { animation: scan-sweep 2.2s cubic-bezier(0.4, 0, 0.6, 1) 0.15s forwards; }
@keyframes scan-sweep {
  0% { opacity: 0; transform: translateX(0); }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { opacity: 0; transform: translateX(calc(min(640px, 76vw) - 4rem)); }
}
.detect__tags { position: relative; display: flex; flex-wrap: wrap; gap: 0.55rem; justify-content: center; }
.detect__tags .tag { opacity: 0; transform: translateY(10px); }
.stage--detect.is-active .detect__tags .tag { animation: tag-up 0.45s ease forwards; }
.stage--detect.is-active .detect__tags .tag:nth-child(1) { animation-delay: 1.1s; }
.stage--detect.is-active .detect__tags .tag:nth-child(2) { animation-delay: 1.55s; }
.stage--detect.is-active .detect__tags .tag:nth-child(3) { animation-delay: 2.05s; }
.stage--detect.is-active .detect__tags .tag:nth-child(4) { animation-delay: 2.45s; }
@keyframes tag-up { to { opacity: 1; transform: none; } }

/* Scène 3 — export deux formats */
.exp__row { display: flex; align-items: center; gap: 2rem; }
.exp {
  position: relative;
  border: 1px solid transparent;
  border-radius: 12px;
  background:
    linear-gradient(var(--bg-3), var(--bg-3)) padding-box,
    var(--grad) border-box;
  box-shadow: 0 18px 50px -18px rgba(109, 140, 255, 0.55);
  opacity: 0;
  transform: translateY(24px) scale(0.92);
}
.stage--export.is-active .exp--wide { animation: exp-pop 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.15) 0.25s forwards; }
.stage--export.is-active .exp--tall { animation: exp-pop 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.15) 0.55s forwards; }
@keyframes exp-pop { to { opacity: 1; transform: none; } }
.exp--wide { width: min(330px, 44vw); aspect-ratio: 16 / 9; }
.exp--tall { width: min(150px, 20vw); aspect-ratio: 9 / 16; }
.exp__label {
  position: absolute;
  left: 50%;
  bottom: -1.7rem;
  transform: translateX(-50%);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  white-space: nowrap;
}
.exp__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-left: 22px solid rgba(255, 255, 255, 0.85);
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.5));
}
/* mini maquette du 9:16 : caméra en haut, bandeau, slot en bas (comme l'app) */
.exp__cam { position: absolute; top: 0; left: 0; right: 0; height: 34%; border-radius: 11px 11px 0 0; background: linear-gradient(135deg, rgba(167, 139, 250, 0.35), rgba(34, 211, 238, 0.18)); }
.exp__banner { position: absolute; top: 34%; left: 0; right: 0; height: 9%; background: rgba(242, 244, 250, 0.92); }
.exp__banner::after { content: ""; position: absolute; left: 14%; top: 30%; width: 72%; height: 40%; border-radius: 999px; background: rgba(204, 0, 0, 0.75); }
.exp__slot { position: absolute; top: 43%; bottom: 0; left: 0; right: 0; border-radius: 0 0 11px 11px; background: linear-gradient(180deg, rgba(34, 211, 238, 0.16), rgba(109, 140, 255, 0.25)); }
.exp__ready { margin: 3rem 0 0; font-size: 0.68rem; letter-spacing: 0.16em; color: var(--win); opacity: 0; }
.stage--export.is-active .exp__ready { animation: curve-fade 0.5s ease 1.1s forwards; }

/* Pied « EXECUTION » : rejoué à chaque étape (rappel de la rapidité) */
.stage__speed {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1.3rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.speed__tag { font-size: 0.62rem; letter-spacing: 0.22em; color: var(--cyan); }
.loadbar--speed { flex: 1; height: 5px; }
.loadbar--speed i { animation: bar-fill 0.9s cubic-bezier(0.1, 0.8, 0.2, 1) 0.3s forwards; }
.speed__time { font-size: 0.64rem; letter-spacing: 0.1em; color: var(--ink-soft); white-space: nowrap; }

/* Colonne des étapes (texte minimal) + rail de progression */
.scrolly__steps {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.1rem;
  padding-left: 1.9rem;
}
.scrolly__rail { position: absolute; left: 0; top: 8%; bottom: 8%; width: 2px; background: rgba(255, 255, 255, 0.08); border-radius: 999px; --prog: 33%; }
.scrolly__rail i { display: block; width: 100%; height: var(--prog); background: var(--grad); border-radius: inherit; box-shadow: 0 0 12px rgba(109, 140, 255, 0.7); transition: height 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), width 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.scrolly-step { opacity: 0.32; transform: translateX(0); transition: opacity 0.4s ease, transform 0.4s ease; }
.scrolly-step.is-active { opacity: 1; transform: translateX(8px); }
.scrolly-step__num { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; color: var(--cyan); margin-bottom: 0.35rem; }
.scrolly-step h3 { margin: 0 0 0.3rem; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; }
.scrolly-step p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ----- Responsive ---------------------------------------------------------------------------------------------- */
@media (max-width: 880px) {
  .nav__links { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
  .grid, .steps, .plans { grid-template-columns: 1fr; }
  .plan--featured { transform: none; }
  .demo__file { display: none; }
  .proof__row { flex-direction: column; gap: 0.7rem; }
  .scrolly__sticky { flex-direction: column; gap: 1.4rem; top: 70px; }
  .scrolly__stage { min-height: 360px; width: 100%; }
  .scrolly__trigger { height: 70vh; }
  .scrolly__steps { flex-direction: row; gap: 1rem; padding-left: 0; padding-top: 1.1rem; }
  .scrolly__rail { left: 8%; right: 8%; top: 0; bottom: auto; width: auto; height: 2px; }
  .scrolly__rail i { height: 100%; width: var(--prog); }
  .scrolly-step { flex: 1; }
  .scrolly-step.is-active { transform: translateY(4px); }
  .scrolly-step h3 { font-size: 0.95rem; }
  .scrolly-step p { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal--delay { transition: none; opacity: 1; transform: none; }
  .btn, .step, .feature { transition: none; }
  .bg__orb, .cta-band__glow, .pulse { animation: none; }
  .curve__line { animation: none; stroke-dashoffset: 0; }
  .curve__area { animation: none; opacity: 1; }
  .curve__hit, .curve__hit--2, .curve__hit--3 { animation: none; opacity: 1; }
  .stage, .scrolly-step, .scrolly__rail i { transition: none; }
  .stage.is-active .upzone__icon, .stage.is-active .upzone__ok,
  .stage.is-active .dcurve__line, .stage.is-active .dcurve__area, .stage.is-active .dhit,
  .stage.is-active .detect__tags .tag, .stage.is-active .exp, .stage.is-active .exp__ready {
    animation: none; opacity: 1; transform: none; stroke-dashoffset: 0;
  }
  .stage.is-active .loadbar i, .loadbar--speed i { animation: none; width: 100%; }
  .detect__scan { display: none; }
  .scrollbar-top { display: none; }
}
