/* =============================================================================
   AudioMoney — feuille de style du site vitrine
   Polices auto-hébergées, jetons repris de myBox (base.css), aucune ressource
   tierce. Sections : base, en-tête, boutons, hero, références, solution,
   écouter (player de démonstration), A2PRL, monétisation, myBox, contact,
   pied de page, pages de texte, animations, responsive, mouvement réduit.
   ========================================================================== */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

:root {
  --ink: #16131f;
  --text: #3d3850;
  --muted: #7e7894;
  --faint: #aaa5bd;
  --bg: #ffffff;
  --bg-2: #f6f4fb;
  --surface: #ffffff;
  --border: #e9e5f3;
  --border-strong: #d9d3ea;

  --p: #8c5cf6;
  --p-deep: #4700d3;
  --p-light: #ad39ff;
  --p-pale: #d5a9ff;
  --p-50: #f3eefe;
  --p-100: #e9e0fd;
  --grad: linear-gradient(120deg, #4700d3 0%, #8c5cf6 55%, #ad39ff 100%);
  --grad-light: linear-gradient(120deg, #c7a6ff 0%, #ad39ff 60%, #ffffff 130%);

  --dark: #120f1c;
  --dark-2: #1b1629;
  --dark-3: #241d36;
  --dark-text: #cfc8e6;
  --dark-muted: #8f88a8;
  --dark-border: rgba(255, 255, 255, .08);

  --ok: #1e9e62;
  --ok-bg: #e6f7ef;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(22, 19, 31, .04), 0 1px 6px rgba(140, 92, 246, .06);
  --shadow-md: 0 6px 18px rgba(46, 26, 99, .08), 0 2px 6px rgba(22, 19, 31, .04);
  --shadow-lg: 0 24px 60px rgba(46, 26, 99, .16), 0 6px 16px rgba(22, 19, 31, .06);
  --shadow-glow: 0 20px 60px rgba(140, 92, 246, .28);

  --font-display: "Outfit", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 72px;
  --section: clamp(80px, 10vw, 140px);
}

/* ---------------------------------------------------------------------------
   Base
   ------------------------------------------------------------------------- */

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video, canvas { max-width: 100%; height: auto; display: block; }
a { color: var(--p); text-decoration: none; }
a:hover { color: var(--p-deep); }
button { font: inherit; color: inherit; }
code {
  font-family: var(--font-mono);
  font-size: .9em;
  background: var(--p-50);
  color: var(--p-deep);
  padding: .1em .4em;
  border-radius: 6px;
}
sup { font-size: .6em; line-height: 0; vertical-align: super; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  letter-spacing: -.025em;
  line-height: 1.08;
  font-weight: 700;
}
h1 { font-size: clamp(40px, 5.6vw, 68px); font-weight: 800; }
h2 { font-size: clamp(30px, 3.8vw, 46px); }
h3 { font-size: 20px; letter-spacing: -.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.am-container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.am-container--narrow { width: min(760px, 100% - 2 * var(--gutter)); }

.am-skip {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px;
}
.am-skip:focus { top: 12px; }

.am-eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--p);
  margin-bottom: 16px;
}
.am-lead {
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.65;
  color: var(--text);
  max-width: 62ch;
}
.am-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.am-grad--light { background: var(--grad-light); -webkit-background-clip: text; background-clip: text; }

.am-section-head { max-width: 760px; margin-bottom: clamp(44px, 5vw, 64px); }
.am-section-head h2 { margin-bottom: 18px; }
.am-section-head--light h2 { color: #fff; }
.am-section-head--light .am-lead { color: var(--dark-text); }
.am-section-head--light .am-eyebrow { color: var(--p-pale); }

.am-icon { width: 1.25em; height: 1.25em; flex: none; }

.am-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; }
.am-dot--ok { background: var(--ok); box-shadow: 0 0 0 4px var(--ok-bg); }
.am-dot--live { background: #ff3b5c; box-shadow: 0 0 0 0 rgba(255, 59, 92, .5); animation: am-ping 1.8s ease-out infinite; }

/* Égaliseur (barres animées) */
.am-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 16px; }
.am-eq i { display: block; width: 3px; height: 30%; border-radius: 2px; background: var(--p); animation: am-eq 1s ease-in-out infinite; }
.am-eq i:nth-child(2) { animation-delay: -.2s; }
.am-eq i:nth-child(3) { animation-delay: -.45s; }
.am-eq i:nth-child(4) { animation-delay: -.7s; }
.am-eq i:nth-child(5) { animation-delay: -.3s; }
.am-eq--sm { height: 12px; }

/* ---------------------------------------------------------------------------
   Logotype et emblème
   ------------------------------------------------------------------------- */

.am-logo { overflow: visible; }
.am-logo__text {
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "wght" 800;
  font-size: 239.86px;
}
.am-logo__ink { fill: #000; }
.am-logo__brand { fill: #8c5cf6; }
.am-logo--inverse .am-logo__ink { fill: #fff; }
.am-logo--anime .am-logo__text {
  opacity: 0;
  transform: translateY(14%);
  transform-box: fill-box;
  animation: am-logo-in .9s var(--ease-out) forwards;
  animation-delay: calc(.35s + var(--i) * .11s);
}

/* ---------------------------------------------------------------------------
   En-tête
   ------------------------------------------------------------------------- */

.am-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.am-header.is-scrolled, .am-header.is-open {
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--border), 0 8px 30px rgba(22, 19, 31, .05);
}
.am-header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.am-brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; }
.am-brand__mark { transition: transform .4s var(--ease); }
.am-brand:hover .am-brand__mark { transform: translateX(3px); }
.am-nav { display: flex; gap: 6px; margin-left: 12px; }
.am-nav a {
  padding: 8px 12px; border-radius: 999px;
  color: var(--text); font-weight: 500; font-size: 15px;
  transition: background .2s, color .2s;
}
.am-nav a:hover { background: var(--p-50); color: var(--p-deep); }
.am-header__cta { margin-left: auto; display: flex; gap: 10px; }
.am-burger {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-strong);
  background: #fff; align-items: center; justify-content: center; cursor: pointer;
}
.am-burger .am-icon { width: 22px; height: 22px; }
.am-burger__close { display: none; }
.am-header.is-open .am-burger__open { display: none; }
.am-header.is-open .am-burger__close { display: block; }

.am-menu-mobile {
  position: absolute; left: 0; right: 0; top: var(--header-h);
  background: #fff; border-top: 1px solid var(--border);
  padding: 12px var(--gutter) 24px;
  box-shadow: 0 30px 40px rgba(22, 19, 31, .08);
}
.am-menu-mobile nav { display: flex; flex-direction: column; }
.am-menu-mobile nav a { padding: 14px 4px; border-bottom: 1px solid var(--border); color: var(--ink); font-weight: 600; font-size: 17px; }
.am-menu-mobile__cta { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.am-menu-mobile__cta .am-btn { justify-content: center; }

/* ---------------------------------------------------------------------------
   Boutons
   ------------------------------------------------------------------------- */

.am-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; line-height: 1.2;
  cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
}
.am-btn .am-icon { width: 18px; height: 18px; }
.am-btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(140, 92, 246, .28); }
.am-btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(140, 92, 246, .38); }
.am-btn--ghost { background: rgba(255, 255, 255, .7); color: var(--ink); border-color: var(--border-strong); }
.am-btn--ghost:hover { color: var(--p-deep); border-color: var(--p); background: #fff; transform: translateY(-2px); }
.am-btn--lg { padding: 16px 28px; font-size: 17px; }
.am-btn--sm { padding: 9px 16px; font-size: 14px; }
.am-btn:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid rgba(140, 92, 246, .45); outline-offset: 2px; }
.am-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--p-deep); }
.am-link .am-icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.am-link:hover .am-icon { transform: translate(2px, -2px); }

/* ---------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */

.am-hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + clamp(48px, 8vh, 96px)) 0 clamp(64px, 8vh, 110px);
  display: flex; align-items: center;
  overflow: hidden;
}
.am-hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.am-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.am-glow--1 { width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; right: -12vw; top: -20vw; background: radial-gradient(circle, #d5a9ff 0%, rgba(213, 169, 255, 0) 65%); }
.am-glow--2 { width: 44vw; height: 44vw; max-width: 560px; max-height: 560px; left: -14vw; bottom: -18vw; background: radial-gradient(circle, #c9d8ff 0%, rgba(201, 216, 255, 0) 65%); opacity: .7; }
.am-grid-bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(22, 19, 31, .09) 1px, transparent 1.2px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%);
}
.am-hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.am-hero__title { margin-bottom: 22px; max-width: 12ch; }
.am-hero__copy .am-lead { margin-bottom: 30px; }
.am-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.am-hero__proof { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; color: var(--muted); }
.am-hero__proof li { display: flex; align-items: center; gap: 8px; }
.am-hero__proof .am-icon { width: 18px; height: 18px; color: var(--ok); }

.am-hero__visual { position: relative; }
.am-hero__card {
  position: relative;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-lg), inset 0 1px 0 #fff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.am-lottie { width: 100%; aspect-ratio: 2253 / 743; margin-bottom: 8px; }
.am-lottie svg { width: 100% !important; height: 100% !important; }
.am-hero__logo { display: flex; justify-content: center; padding-top: 6px; }
.am-hero__logo .am-logo { width: min(100%, 420px); height: auto; }
.am-hero__tagline {
  text-align: center; margin-top: 12px;
  font-family: var(--font-display); font-weight: 500; letter-spacing: .02em; color: var(--muted); font-size: 14px;
}

.am-float {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px;
  background: #fff; border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  font-size: 13px; line-height: 1.25;
  will-change: transform;
}
.am-float__text { display: flex; flex-direction: column; gap: 2px; }
.am-float__text strong { color: var(--ink); font-family: var(--font-display); font-size: 14px; }
.am-float__text small { color: var(--muted); font-size: 12px; }
.am-float__play, .am-float__icon {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--grad); color: #fff;
}
.am-float__play .am-icon, .am-float__icon .am-icon { width: 20px; height: 20px; }
.am-float--player { left: -8%; top: 8%; animation-delay: -1s; }
.am-float--seen { right: -6%; top: 38%; animation-delay: -3s; }
.am-float--money { left: 6%; bottom: -7%; animation-delay: -5s; }

.am-hero__scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 1;
  width: 26px; height: 42px; border: 2px solid var(--border-strong); border-radius: 14px;
}
.am-hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px;
  background: var(--p); animation: am-scroll 1.8s ease-in-out infinite;
}

/* ---------------------------------------------------------------------------
   Références (défilement)
   ------------------------------------------------------------------------- */

.am-trust { padding: 36px 0 clamp(48px, 6vw, 72px); border-top: 1px solid var(--border); }
.am-trust__title {
  text-align: center; font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px;
}
.am-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.am-marquee__track { display: flex; align-items: center; gap: clamp(48px, 7vw, 96px); width: max-content; padding-right: clamp(48px, 7vw, 96px); animation: am-marquee 32s linear infinite; }
.am-marquee:hover .am-marquee__track { animation-play-state: paused; }
.am-wm {
  white-space: nowrap; color: var(--ink); opacity: .55; font-size: clamp(22px, 2.4vw, 30px); line-height: 1;
  transition: opacity .3s, color .3s;
}
.am-wm:hover { opacity: 1; color: var(--p-deep); }
.am-wm--depeche { font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: -.01em; }
.am-wm--infoccitanie { font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; }
.am-wm--feux { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: clamp(18px, 2vw, 24px); }
.am-wm--20min { font-family: var(--font-body); font-weight: 900; letter-spacing: -.04em; }
.am-wm--airzen { font-family: var(--font-display); font-weight: 600; letter-spacing: .02em; }

/* ---------------------------------------------------------------------------
   La solution
   ------------------------------------------------------------------------- */

.am-how { padding: var(--section) 0; }
.am-steps {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px);
  counter-reset: etape;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.am-steps__line { position: absolute; left: 0; right: 0; top: 30px; height: 4px; width: 100%; z-index: 0; }
.am-steps__track { stroke: var(--border-strong); stroke-width: 4; fill: none; }
.am-steps__draw { stroke-width: 4; fill: none; stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.am-step { position: relative; z-index: 1; padding-top: 0; }
.am-step__num {
  display: inline-grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: #fff; border: 2px solid var(--border-strong);
  font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--muted);
  margin-bottom: 22px;
  transition: background .5s var(--ease), color .5s, border-color .5s, box-shadow .5s, transform .5s var(--ease);
}
.am-step.is-lit .am-step__num {
  background: var(--grad); color: #fff; border-color: transparent;
  box-shadow: 0 12px 30px rgba(140, 92, 246, .35); transform: scale(1.06);
}
.am-step h3 { margin-bottom: 10px; font-size: 22px; }
.am-step p { color: var(--text); max-width: 34ch; }

.am-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.am-benefit {
  padding: 28px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.am-benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--p-100); }
.am-benefit__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--p-50); color: var(--p-deep); margin-bottom: 18px;
}
.am-benefit__icon .am-icon { width: 24px; height: 24px; }
.am-benefit h3 { margin-bottom: 8px; font-size: 18px; }
.am-benefit p { font-size: 15px; color: var(--text); }

/* ---------------------------------------------------------------------------
   Écouter — player de démonstration
   ------------------------------------------------------------------------- */

.am-listen { padding: var(--section) 0; background: var(--bg-2); }
.am-listen__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: start; }

.am-player {
  --pc: #8c5cf6;
  --pc-soft: color-mix(in srgb, var(--pc) 14%, #fff);
  --pc-deep: color-mix(in srgb, var(--pc) 75%, #000);
  --fg: var(--ink);
  --fg-2: var(--muted);
  --surface-p: #fff;
  position: relative; background: var(--surface-p); color: var(--fg);
  border-radius: 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  overflow: hidden;
  transition: border-radius .4s var(--ease), background .4s, color .4s;
}
.am-player__visual {
  position: relative; height: 200px;
  background: linear-gradient(135deg, var(--pc-deep), var(--pc) 60%, color-mix(in srgb, var(--pc) 70%, #fff));
  transition: height .4s var(--ease), background .4s;
}
.am-player__canvas { width: 100%; height: 100%; }
.am-player__badge {
  position: absolute; top: 14px; left: 14px;
  padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  background: rgba(255, 255, 255, .22); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-family: var(--font-display);
}
.am-player__body { display: flex; align-items: center; gap: 16px; padding: 20px 22px 14px; }
.am-player__play {
  flex: none; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--pc); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--pc) 40%, transparent);
  transition: transform .25s var(--ease), box-shadow .25s, background .3s;
}
.am-player__play:hover { transform: scale(1.06); }
.am-player__play .am-icon { width: 30px; height: 30px; }
.am-player__ico-pause { display: none; }
.am-player.is-playing .am-player__ico-play { display: none; }
.am-player.is-playing .am-player__ico-pause { display: block; }
.am-player.is-loading .am-player__play { animation: am-pulse-btn 1s ease-in-out infinite; }
.am-player__info { flex: 1; min-width: 0; }
.am-player__title { font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1.2; color: var(--fg); }
.am-player__sub { font-size: 14px; color: var(--fg-2); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.am-player__progress { margin-top: 10px; cursor: pointer; outline-offset: 4px; border-radius: 4px; }
.am-player__bar { height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--fg) 10%, transparent); overflow: hidden; }
.am-player__fill { height: 100%; width: 0; background: var(--pc); border-radius: 3px; transition: width .1s linear; }
.am-player__time { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; font-weight: 500; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.am-player__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 10px 22px 14px; font-size: 11px; color: var(--fg-2);
}
.am-player__brand { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 700; letter-spacing: .02em; }

/* Modèles */
.am-player[data-skin="compact"] { border-radius: 18px; }
.am-player[data-skin="compact"] .am-player__visual { height: 0; }
.am-player[data-skin="compact"] .am-player__badge { display: none; }
.am-player[data-skin="compact"] .am-player__body { padding-top: 18px; }
.am-player[data-skin="bandeau"] { border-radius: 14px; }
.am-player[data-skin="bandeau"] .am-player__visual { height: 64px; }
.am-player[data-skin="bandeau"] .am-player__badge { top: 50%; transform: translateY(-50%); }
.am-player[data-skin="bandeau"] .am-player__body { padding: 14px 22px 8px; }
.am-player[data-skin="bandeau"] .am-player__title { font-size: 17px; }
.am-player[data-skin="studio"] { --surface-p: #1b1629; --fg: #fff; --fg-2: #b9b1d3; border-color: rgba(255, 255, 255, .08); }
.am-player[data-skin="studio"] .am-player__visual { background: radial-gradient(120% 140% at 20% 0%, color-mix(in srgb, var(--pc) 55%, #1b1629), #1b1629 70%); }
.am-player[data-skin="studio"] .am-player__bar { background: rgba(255, 255, 255, .12); }

.am-demo__controls { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 22px; }
.am-demo__group { display: flex; align-items: center; gap: 12px; }
.am-demo__label { font-size: 13px; font-weight: 600; color: var(--muted); font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; }
.am-seg { display: inline-flex; padding: 4px; background: #fff; border: 1px solid var(--border-strong); border-radius: 999px; }
.am-seg button {
  border: 0; background: transparent; padding: 7px 14px; border-radius: 999px; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--muted); transition: background .2s, color .2s;
}
.am-seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.am-swatches { display: inline-flex; gap: 8px; }
.am-swatches button {
  width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; cursor: pointer;
  background: var(--sw); box-shadow: 0 0 0 1px var(--border-strong); transition: transform .2s var(--ease), box-shadow .2s;
}
.am-swatches button:hover { transform: scale(1.12); }
.am-swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }

.am-playlist { display: flex; flex-direction: column; gap: 10px; }
.am-track__btn {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 14px 16px; border-radius: 16px; border: 1px solid var(--border); background: #fff; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.am-track__btn:hover { transform: translateX(4px); box-shadow: var(--shadow-md); border-color: var(--p-100); }
.am-track.is-active .am-track__btn { border-color: var(--p); box-shadow: 0 0 0 3px rgba(140, 92, 246, .14); }
.am-track__play {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--p-50); color: var(--p-deep);
}
.am-track__play .am-icon { width: 20px; height: 20px; }
.am-track__play .am-icon--pause, .am-track__play .am-eq { display: none; }
.am-track.is-active .am-track__play { background: var(--p); color: #fff; }
.am-track.is-active.is-playing .am-track__play .am-icon--play { display: none; }
.am-track.is-active.is-playing .am-track__play .am-eq { display: inline-flex; }
.am-track.is-active.is-playing .am-track__play .am-eq i { background: #fff; }
.am-track__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.am-track__text strong { font-family: var(--font-display); color: var(--ink); font-size: 16px; }
.am-track__text small { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.am-track__dur { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.am-playlist__note { font-size: 13px; color: var(--muted); padding: 6px 4px 0; }

/* ---------------------------------------------------------------------------
   A2PRL
   ------------------------------------------------------------------------- */

.am-a2prl { padding: var(--section) 0; }
.am-a2prl__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.am-a2prl__media { position: relative; }
.am-a2prl__card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: clamp(28px, 3.5vw, 48px); box-shadow: var(--shadow-lg); text-align: center;
}
.am-a2prl__card img { width: min(100%, 360px); margin: 0 auto 18px; }
.am-a2prl__claim { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink); margin-bottom: 18px; }
.am-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.am-pills li { padding: 7px 12px; border-radius: 999px; background: var(--p-50); color: var(--p-deep); font-size: 13px; font-weight: 600; }
.am-a2prl__onair {
  position: absolute; right: -14px; top: -14px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px; background: var(--ink); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 13px; box-shadow: var(--shadow-md);
}
.am-a2prl__copy h2 { margin-bottom: 18px; }
.am-a2prl__copy .am-lead { margin-bottom: 26px; }
.am-checklist { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.am-checklist li { display: flex; gap: 12px; align-items: flex-start; }
.am-checklist .am-icon { width: 22px; height: 22px; color: var(--ok); margin-top: 2px; }
.am-checklist strong { color: var(--ink); }

/* ---------------------------------------------------------------------------
   Monétisation (fond sombre)
   ------------------------------------------------------------------------- */

.am-money { position: relative; padding: var(--section) 0; background: var(--dark); color: var(--dark-text); overflow: hidden; }
.am-money__bg { position: absolute; inset: 0; pointer-events: none; }
.am-glow--3 { width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; right: -20vw; top: -30vw; background: radial-gradient(circle, rgba(140, 92, 246, .45) 0%, rgba(140, 92, 246, 0) 65%); opacity: .8; }
.am-money .am-container { position: relative; }
.am-money code { background: rgba(255, 255, 255, .08); color: var(--p-pale); }

.am-flow {
  display: grid; grid-template-columns: 1fr 56px 1fr 56px 1fr 56px 1fr; align-items: stretch; gap: 8px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.am-flow__node {
  display: flex; flex-direction: column; gap: 8px;
  padding: 24px 22px; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--dark-border);
  transition: border-color .5s, background .5s;
}
.am-flow__node.is-in { border-color: rgba(173, 57, 255, .35); background: rgba(140, 92, 246, .08); }
.am-flow__node--end.is-in { background: rgba(140, 92, 246, .16); box-shadow: 0 0 0 1px rgba(173, 57, 255, .4), 0 20px 60px rgba(140, 92, 246, .25); }
.am-flow__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 6px; }
.am-flow__icon .am-icon { width: 22px; height: 22px; }
.am-flow__node strong { color: #fff; font-family: var(--font-display); font-size: 17px; }
.am-flow__node small { font-size: 13.5px; line-height: 1.5; color: var(--dark-muted); }
.am-flow__link { position: relative; align-self: center; height: 2px; background: rgba(255, 255, 255, .1); border-radius: 2px; }
.am-flow__link::after {
  content: ""; position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--p-light); box-shadow: 0 0 14px var(--p-light);
  animation: am-pulse-x 2.4s linear infinite;
}
.am-flow__link:nth-of-type(4)::after { animation-delay: -.8s; }
.am-flow__link:nth-of-type(6)::after { animation-delay: -1.6s; }

.am-money__points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.am-point { padding: 24px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .04); border: 1px solid var(--dark-border); }
.am-point > .am-icon { width: 26px; height: 26px; color: var(--p-pale); margin-bottom: 14px; }
.am-point h3 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.am-point p { font-size: 14.5px; color: var(--dark-muted); }

/* ---------------------------------------------------------------------------
   myBox — l'interface
   ------------------------------------------------------------------------- */

.am-box { padding: var(--section) 0; }
.am-box__stage { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.am-box__features { display: flex; flex-direction: column; gap: 8px; }
.am-feature button {
  width: 100%; display: flex; gap: 14px; align-items: flex-start; text-align: left;
  padding: 16px; border-radius: 16px; border: 1px solid transparent; background: transparent; cursor: pointer;
  transition: background .35s, border-color .35s, transform .35s var(--ease);
}
.am-feature button:hover { background: var(--bg-2); }
.am-feature.is-active button { background: #fff; border-color: var(--border); box-shadow: var(--shadow-md); transform: translateX(6px); }
.am-feature__icon {
  flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--p-50); color: var(--p-deep); transition: background .35s, color .35s;
}
.am-feature.is-active .am-feature__icon { background: var(--grad); color: #fff; }
.am-feature__icon .am-icon { width: 20px; height: 20px; }
.am-feature__text { display: flex; flex-direction: column; gap: 4px; }
.am-feature__text strong { font-family: var(--font-display); color: var(--ink); font-size: 16px; }
.am-feature__text small { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.am-feature__text code { font-size: .85em; }

.am-device {
  position: relative;
  border-radius: 18px; background: #fff; border: 1px solid var(--border);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(22, 19, 31, .02);
  overflow: hidden;
  transform-origin: 50% 100%;
}
.am-device__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--bg-2); border-bottom: 1px solid var(--border); }
.am-device__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.am-device__url {
  margin-left: 12px; flex: 1; max-width: 320px; padding: 5px 12px; border-radius: 8px;
  background: #fff; border: 1px solid var(--border); font-size: 11.5px; color: var(--muted); font-family: var(--font-mono);
}
.am-device__screen { display: grid; grid-template-columns: 150px 1fr; min-height: 380px; font-size: 11.5px; color: var(--text); }
.am-device__note { position: absolute; right: 12px; bottom: 8px; margin: 0; font-size: 10px; color: var(--faint); }

.am-ui-side { background: #f9f8fc; border-right: 1px solid var(--border); padding: 14px 10px; display: flex; flex-direction: column; }
.am-ui-side__brand { display: flex; align-items: center; gap: 6px; padding: 4px 8px 12px; font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 13px; }
.am-ui-nav { display: flex; flex-direction: column; gap: 2px; }
.am-ui-nav li { padding: 7px 10px; border-radius: 8px; color: var(--muted); font-weight: 500; transition: background .3s, color .3s; }
.am-ui-nav li.is-active { background: #fff; color: var(--p-deep); box-shadow: var(--shadow-sm); font-weight: 600; }
.am-ui-side__user { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 6px 8px; color: var(--muted); }
.am-ui-avatar { width: 20px; height: 20px; border-radius: 50%; background: var(--grad); }

.am-ui-main { position: relative; padding: 16px 18px; background: #fff; }
.am-ui-screen { position: absolute; inset: 16px 18px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.am-ui-screen.is-active { position: relative; inset: auto; opacity: 1; transform: none; pointer-events: auto; }
.am-ui-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.am-ui-head h4 { font-size: 15px; letter-spacing: -.01em; }
.am-ui-chip { padding: 4px 9px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--border); font-size: 10.5px; font-weight: 500; color: var(--muted); }
.am-ui-chip--ok { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.am-ui-btn { padding: 5px 10px; border-radius: 8px; background: var(--grad); color: #fff; font-weight: 600; font-size: 10.5px; font-family: var(--font-display); }
.am-ui-btn--ghost { display: inline-block; margin-top: 8px; background: #fff; color: var(--ink); border: 1px solid var(--border-strong); }
.am-ui-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.am-ui-kpis--3 { grid-template-columns: repeat(3, 1fr); margin: 10px 0 0; }
.am-ui-kpi { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: #fff; display: flex; flex-direction: column; gap: 2px; }
.am-ui-kpi small { font-size: 10px; color: var(--muted); font-weight: 500; }
.am-ui-kpi strong { font-family: var(--font-display); font-size: 17px; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.am-ui-kpi em { font-style: normal; font-size: 9.5px; color: var(--faint); }
.am-ui-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.am-ui-card { padding: 12px; border-radius: 10px; border: 1px solid var(--border); background: #fff; }
.am-ui-card--wide { margin-bottom: 0; }
.am-ui-card h5 { margin: 0 0 8px; font-family: var(--font-display); font-size: 12px; color: var(--ink); }
.am-ui-card .am-ui-mt { margin-top: 12px; }
.am-ui-p { font-size: 10.5px; color: var(--muted); margin-bottom: 8px; }
.am-ui-bars { display: flex; align-items: flex-end; gap: 6px; height: 110px; padding-top: 6px; }
.am-ui-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--p), var(--p-pale)); transform-origin: bottom; animation: am-bar-in .8s var(--ease-out) both; }
.am-ui-bars i:nth-child(2n) { animation-delay: .08s; }
.am-ui-bars i:nth-child(3n) { animation-delay: .16s; }
.am-ui-bars--many { height: 120px; gap: 4px; }
.am-ui-bars--many i:nth-child(2n) { background: linear-gradient(180deg, var(--p-pale), #ece2ff); }
.am-ui-legend { display: flex; gap: 14px; margin-top: 8px; font-size: 10px; color: var(--muted); }
.am-ui-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--c); margin-right: 5px; }
.am-ui-list { display: flex; flex-direction: column; }
.am-ui-list li { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--border); color: var(--ink); font-weight: 500; }
.am-ui-list li:first-child { border-top: 0; }
.am-ui-list li em { margin-left: auto; font-style: normal; color: var(--muted); font-weight: 400; }
.am-ui-players { display: flex; flex-direction: column; }
.am-ui-players li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--border); color: var(--ink); font-weight: 500; }
.am-ui-players li:first-child { border-top: 0; }
.am-ui-players li em { margin-left: auto; font-style: normal; color: var(--muted); font-weight: 400; }
.am-ui-mini { width: 34px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 60%, #fff)); position: relative; }
.am-ui-mini::after { content: ""; position: absolute; left: 6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.am-ui-code { margin: 0; padding: 10px 12px; border-radius: 8px; background: #1d1830; color: #e9e2ff; font-family: var(--font-mono); font-size: 9.5px; line-height: 1.6; white-space: pre-wrap; word-break: break-all; }
.am-ui-tabs { display: flex; gap: 4px; margin-bottom: 10px; border-bottom: 1px solid var(--border); }
.am-ui-tabs span { padding: 6px 10px; color: var(--muted); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.am-ui-tabs span.is-active { color: var(--p-deep); border-bottom-color: var(--p); font-weight: 600; }
.am-ui-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.am-ui-chips span { padding: 4px 9px; border-radius: 999px; background: var(--p-50); color: var(--p-deep); font-weight: 500; font-size: 10.5px; }
.am-ui-chips span.is-off { background: #fdecee; color: #e0424d; text-decoration: line-through; }

.am-box__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }

/* ---------------------------------------------------------------------------
   Contact
   ------------------------------------------------------------------------- */

.am-contact { padding: 0 0 var(--section); }
.am-contact__card {
  display: grid; grid-template-columns: .85fr 1.15fr;
  background: var(--bg-2); border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--border);
}
.am-contact__photo { position: relative; min-height: 360px; }
.am-contact__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.am-contact__body { padding: clamp(28px, 4vw, 56px); }
.am-contact__body h2 { margin-bottom: 16px; }
.am-contact__body .am-lead { margin-bottom: 24px; }
.am-contact__person { display: flex; flex-direction: column; margin-bottom: 22px; }
.am-contact__person strong { font-family: var(--font-display); font-size: 20px; color: var(--ink); }
.am-contact__person span { color: var(--muted); }
.am-contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.am-contact__mail { font-size: 14px; color: var(--muted); }

/* ---------------------------------------------------------------------------
   Pied de page
   ------------------------------------------------------------------------- */

.am-footer { background: var(--dark); color: var(--dark-text); padding: clamp(48px, 6vw, 80px) 0 28px; }
.am-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.am-footer__brand p { margin-top: 18px; font-size: 14.5px; color: var(--dark-muted); max-width: 40ch; }
.am-footer__col { display: flex; flex-direction: column; gap: 10px; }
.am-footer__col h3 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.am-footer__col a { color: var(--dark-text); font-size: 15px; }
.am-footer__col a:hover { color: #fff; }
.am-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 22px; border-top: 1px solid var(--dark-border); font-size: 13px; color: var(--dark-muted); }

/* ---------------------------------------------------------------------------
   Pages de texte
   ------------------------------------------------------------------------- */

.am-page-article { padding: calc(var(--header-h) + clamp(48px, 8vh, 96px)) 0 var(--section); }
.am-page-head { margin-bottom: 36px; }
.am-page-head h1 { font-size: clamp(34px, 4.5vw, 52px); margin-bottom: 14px; }
.am-prose { font-size: 17px; }
.am-prose h2 { font-size: 26px; margin: 40px 0 12px; }
.am-prose h3 { font-size: 20px; margin: 28px 0 8px; }
.am-prose p, .am-prose ul, .am-prose ol { margin-bottom: 16px; }
.am-prose ul { list-style: disc; padding-left: 22px; }
.am-prose ol { list-style: decimal; padding-left: 22px; }
.am-prose a { text-decoration: underline; text-underline-offset: 3px; }
.am-page-retour { margin-top: 40px; }
.am-icon--retour { transform: scaleX(-1); }

/* ---------------------------------------------------------------------------
   Apparitions au défilement
   ------------------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Le hero apparaît en cascade par animation CSS pure : il ne dépend pas du
   chargement des scripts, même lent au premier passage. */
.am-hero [data-hero] {
  opacity: 0;
  animation: am-hero-in 1s var(--ease-out) forwards;
  animation-delay: calc(var(--d, 0ms) + 120ms);
}
.am-hero__copy > [data-hero]:nth-child(2) { --d: 90ms; }
.am-hero__copy > [data-hero]:nth-child(3) { --d: 180ms; }
.am-hero__copy > [data-hero]:nth-child(4) { --d: 270ms; }
.am-hero__copy > [data-hero]:nth-child(5) { --d: 360ms; }
.am-hero__visual[data-hero] { --d: 260ms; animation-duration: 1.2s; }
/* Sans GSAP, les cartes flottantes ondulent en CSS ; avec GSAP, c'est lui qui
   les anime (le défilement et l'ondulation se composent). */
html:not(.has-gsap) .am-float { animation: am-float 6s ease-in-out infinite; }

/* ---------------------------------------------------------------------------
   Images-clés
   ------------------------------------------------------------------------- */

@keyframes am-logo-in { to { opacity: 1; transform: none; } }
@keyframes am-hero-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes am-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes am-scroll { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@keyframes am-marquee { to { transform: translateX(-50%); } }
@keyframes am-eq { 0%, 100% { height: 30%; } 50% { height: 100%; } }
@keyframes am-ping { 0% { box-shadow: 0 0 0 0 rgba(255, 59, 92, .5); } 100% { box-shadow: 0 0 0 10px rgba(255, 59, 92, 0); } }
@keyframes am-pulse-x { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }
@keyframes am-pulse-y { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: calc(100% - 8px); opacity: 0; } }
@keyframes am-pulse-btn { 0%, 100% { transform: scale(1); } 50% { transform: scale(.94); } }
@keyframes am-bar-in { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ---------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .am-header__cta .am-btn--ghost { display: none; }
  .am-box__stage { grid-template-columns: 300px 1fr; }
  .am-money__points { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1023px) {
  .am-nav, .am-header__cta { display: none; }
  .am-burger { display: inline-flex; }
  .am-hero { min-height: 0; }
  .am-hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .am-hero__title { max-width: none; }
  .am-hero__visual { max-width: 620px; margin: 0 auto; width: 100%; padding-bottom: 34px; }
  .am-float--player { left: -2%; top: -6%; }
  .am-float--seen { right: -2%; top: 30%; }
  .am-float--money { left: auto; right: 6%; bottom: 0; }
  .am-hero__scroll { display: none; }
  .am-steps { grid-template-columns: 1fr; gap: 32px; }
  .am-steps__line { display: none; }
  .am-step { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; }
  .am-step__num { grid-row: 1 / 3; margin: 0; }
  .am-step p { max-width: none; }
  .am-benefits { grid-template-columns: repeat(2, 1fr); }
  .am-listen__grid { grid-template-columns: 1fr; }
  .am-a2prl__inner { grid-template-columns: 1fr; }
  .am-a2prl__media { max-width: 520px; }
  .am-flow { grid-template-columns: 1fr; gap: 0; }
  .am-flow__link { height: 44px; width: 2px; margin: 0 auto; }
  .am-flow__link::after { top: 0; left: -3px; animation-name: am-pulse-y; }
  .am-box__stage { grid-template-columns: 1fr; gap: 28px; }
  .am-box__features { flex-direction: row; overflow-x: auto; gap: 10px; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .am-feature { flex: 0 0 260px; scroll-snap-align: start; }
  .am-feature.is-active button { transform: none; }
  .am-contact__card { grid-template-columns: 1fr; }
  .am-contact__photo { min-height: 300px; }
  .am-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  h1 { font-size: clamp(34px, 9.5vw, 44px); }
  .am-brand__logo { height: 20px; width: auto; }
  .am-hero__cta .am-btn { width: 100%; }
  .am-hero__card { padding: 22px 18px; }
  .am-float { padding: 10px 12px; }
  .am-float--seen { top: 26%; }
  .am-float--money .am-float__text small { display: none; }
  .am-benefits { grid-template-columns: 1fr; }
  .am-money__points { grid-template-columns: 1fr; }
  .am-device__screen { grid-template-columns: 1fr; min-height: 0; }
  .am-ui-side { display: none; }
  .am-ui-kpis { grid-template-columns: repeat(2, 1fr); }
  .am-ui-row { grid-template-columns: 1fr; }
  .am-demo__controls { flex-direction: column; align-items: flex-start; }
  .am-seg { flex-wrap: wrap; }
  .am-a2prl__onair { right: 8px; top: -14px; }
  .am-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .am-box__cta .am-btn, .am-contact__actions .am-btn { width: 100%; }
}

/* ---------------------------------------------------------------------------
   Mouvement réduit
   ------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .am-hero [data-hero] { opacity: 1; animation: none; }
  .am-logo--anime .am-logo__text { animation: none; opacity: 1; transform: none; }
  .am-float, .am-hero__scroll span, .am-eq i, .am-dot--live, .am-flow__link::after, .am-ui-bars i { animation: none !important; }
  .am-marquee__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .am-marquee__track > [aria-hidden="true"] { display: none; }
  .am-marquee { -webkit-mask-image: none; mask-image: none; }
  .am-steps__draw { stroke-dashoffset: 0; }
  .am-step .am-step__num { transition: none; }
  * { transition-duration: .01ms !important; }
}
