/* ════════════════════════════════════════════════════════════════════
   refonte.css — design system + sections de la home/Tarifs/FAQ
   Maquette Figma « bdeasy x louise ». Couleurs : variables tokens.css
   (issues de _figma-maquette/figma-variables.json). Aucune couleur hors palette.
   ════════════════════════════════════════════════════════════════════ */

/* ── Base ───────────────────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: var(--text-body-m);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* clip (et non hidden) : empêche le scroll horizontal SANS créer de conteneur
     de scroll sur <body>, ce qui casserait position:sticky (features mobile). */
  overflow-x: clip;
}
img, svg, picture, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; color: var(--text); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--purple-600); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--purple-600); outline-offset: 2px; border-radius: 4px; }

/* ── Layout ─────────────────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-6); }
.section { padding: var(--sp-32) 0; }
@media (max-width: 768px) { .container { padding: 0 var(--sp-4); } .section { padding: var(--sp-16) 0; } }

.section-head { max-width: 720px; }
.section-head.is-center { margin: 0 auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body); font-weight: 600;
  font-size: var(--text-eyebrow); letter-spacing: 0.5em; text-transform: uppercase;
  color: var(--purple-600);
}

.h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--text-h2); line-height: 1.11; letter-spacing: -0.02em;
  color: var(--text);
}
.h2 .accent { color: var(--purple-600); }

.lead {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--text-h6); line-height: 1.4; color: var(--text-muted);
  margin-top: var(--sp-4);
}
.body-l { font-size: var(--text-body-l); line-height: 1.5; color: var(--text-muted); }

/* ── Boutons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; line-height: 1.4;
  padding: 16px 24px; border-radius: var(--radius-lg); border: none; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* CTA primaire hero : dégradé orange, texte sombre (Figma 944:2002) */
.btn-primary { background: linear-gradient(90deg, var(--orange-300), var(--orange-500)); color: var(--grey-800); }
.btn-primary:hover { box-shadow: 0 10px 24px rgba(254,126,79,0.32); }

/* CTA pill jaune (header + sections) */
.btn-cta { background: linear-gradient(90deg, var(--yellow-200), var(--yellow-500)); color: var(--grey-800); }
.btn-cta:hover { box-shadow: 0 10px 24px rgba(253,207,23,0.34); }

/* Secondaire : contour purple */
.btn-outline { background: transparent; color: var(--purple-600); border: 3px solid var(--purple-600); padding: 13px 21px; }
.btn-outline:hover { background: var(--purple-50); }

/* Pill compacte du header */
.btn-pill {
  display: inline-flex; align-items: center; gap: 6px; position: relative; overflow: hidden;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 24px;
  padding: 8px 16px; border-radius: var(--radius-md);
  background: var(--yellow-500); color: var(--grey-800);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn-pill::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--white-16) 0%, var(--white-00) 55%); pointer-events: none; }
.btn-pill:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(253,207,23,0.3); }

/* ── Header / Nav ───────────────────────────────────────────────────── */
#nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease; }
#nav.is-scrolled { background: var(--grey-0); border-bottom-color: var(--border); box-shadow: 0 1px 12px rgba(20,20,18,0.04); }
.nav-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-6); height: 64px; display: flex; align-items: center; gap: var(--sp-8); }
.nav-logo { display: inline-flex; align-items: center; gap: var(--sp-6); margin-right: auto; }
.nav-logo-mark { width: 32px; height: 32px; flex-shrink: 0; }
.nav-logo-word { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 30px; color: var(--text); }

.nav-links { display: flex; align-items: center; gap: var(--sp-6); list-style: none; }
.nav-links a { font-family: var(--font-body); font-weight: 500; font-size: 1rem; line-height: 24px; color: var(--grey-600); transition: color .15s ease; white-space: nowrap; }
.nav-links a:hover { color: var(--text); }
.nav-utility { padding-left: 17px; margin-left: var(--sp-4); border-left: 1px solid var(--border); white-space: nowrap; }
.nav-cta { margin-left: var(--sp-4); white-space: nowrap; }
.nav-burger { display: none; }

@media (max-width: 1024px) {
  .nav-links, .nav-utility { display: none; }
  .nav-burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: auto; gap: 0; background: none; border: none; color: var(--text); }
  /* flex-shrink:0 : le bouton garde sa largeur naturelle → "Réserver un appel"
     ne se fait plus couper par l'overflow:hidden du .btn-pill (Figma 949:5362). */
  .nav-cta { margin-left: var(--sp-2); flex-shrink: 0; }
  .nav-logo { flex-shrink: 0; }
}
/* Mobile étroit : compacter le CTA pour que tout (logo + bouton + burger)
   tienne sur une ligne dès 360px, comme le Figma. */
@media (max-width: 480px) {
  .nav-inner { gap: var(--sp-3); padding: 0 var(--sp-4); }
  .nav-cta { font-size: 0.8125rem; padding: 8px 13px; margin-left: var(--sp-3); }
  .nav-burger { width: 36px; }
}

/* Drawer mobile (burger) */
.nav-drawer { position: fixed; inset: 64px 0 auto 0; z-index: 99; background: var(--grey-0);
  border-bottom: 1px solid var(--border); transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: opacity .22s ease, transform .22s ease, visibility .22s; max-height: calc(100vh - 64px); overflow-y: auto; }
.nav-drawer[data-open="true"] { transform: translateY(0); opacity: 1; visibility: visible; }
.nav-drawer ul { list-style: none; padding: var(--sp-2) var(--sp-4) var(--sp-6); }
.nav-drawer li { border-bottom: 1px solid var(--border); }
.nav-drawer > ul > li > a, .nav-drawer .drawer-acc-trigger {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 16px 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; color: var(--text); background: none; border: none; }
.nav-drawer .drawer-sub { list-style: none; padding: 0 0 12px; display: none; }
.nav-drawer .drawer-acc[data-open="true"] .drawer-sub { display: block; }
.nav-drawer .drawer-sub a { display: block; padding: 10px 8px 10px 20px; font-family: var(--font-body); font-weight: 500; font-size: 1rem; color: var(--grey-600); border: none; }
.nav-drawer .drawer-acc[data-open="true"] .drawer-chevron { transform: rotate(180deg); }
.drawer-chevron { transition: transform .2s ease; }

/* ── Hero (Figma 944:2002, frame 1280×855, collage 674×744) ─────────── */
.hero { position: relative; padding-top: calc(64px + 70px); padding-bottom: var(--sp-10); overflow: hidden; }
/* Aura : grand blob lavande derrière texte + collage (x -45→1195, y 196→995 du frame) */
.hero-aura { position: absolute; left: -3.5%; top: 23%; width: 97%; height: 93%; z-index: 0; pointer-events: none; }
.hero-aura img { width: 100%; height: 100%; object-fit: contain; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.875fr) minmax(0, 1fr); gap: 0; align-items: start; padding-left: 40px; }
/* Texte : colonne 760px Figma qui déborde sur le collage (mr -172) */
.hero-text { position: relative; z-index: 5; padding-top: 0; }
.hero-heading { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.9rem, 7.5vw, 6rem); line-height: 1.165; letter-spacing: -0.0233em; color: var(--text); width: 133%; max-width: none; }
.hero-heading .accent { color: var(--purple-600); }
.hero-sub { font-family: var(--font-display); font-weight: 600; font-size: var(--text-h6); line-height: 1.4; color: var(--grey-500); margin-top: var(--sp-6); max-width: 466px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-6); }
.hero-ctas .btn { font-size: 1.25rem; font-weight: 700; }

.hero-visual { position: relative; }
.hero-collage { position: relative; aspect-ratio: 674 / 744; width: 100%; }
/* Photo étudiants détourée (flou + fondu cuits dans l'asset). Décalée à droite
   pour déborder hors du conteneur (pas de marge à droite, comme la maquette). */
.hc-photo { position: absolute; right: -8%; left: auto; top: 19.75%; width: 82%; z-index: 2; }
.hc-photo img { width: 100%; height: auto; display: block; }

.hc-card { position: absolute; z-index: 1; }
.hc-event { position: absolute; z-index: 3; }
.hc-notif { position: absolute; z-index: 4; }

/* Carte membre (gauche, derrière la photo, inclinée) — purples app du Figma */
.hc-card { left: 0; top: 53.5%; width: 43.6%; padding: 16px; border-radius: 19px; transform: rotate(-5.31deg);
  background: linear-gradient(144.56deg, #2d1468 0%, #4c1d95 42.86%, var(--purple-600) 71.43%);
  color: #fff; box-shadow: 0 6px 16px rgba(76,29,149,0.1); }
.hc-card .hc-label { font-size: 0.55rem; letter-spacing: 0.137em; text-transform: uppercase; opacity: .7; font-weight: 600; }
.hc-card .hc-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin: 11px 0 14px; }
.hc-card .hc-num-label { font-size: 0.5rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: .6; }
.hc-card .hc-num { font-weight: 600; font-size: 0.75rem; margin-top: 2px; }

/* Event card "Soirée blanche" (haut centre, inclinée) — Figma 809:5127 */
.hc-event { left: 37%; top: 0; width: 40%; border-radius: 10px; transform: rotate(-5.67deg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); box-shadow: 0 3px 10px rgba(20,20,18,0.12); }
/* Bandeau photo */
.hc-event .hc-ev-photo { position: relative; aspect-ratio: 129 / 71; overflow: hidden;
  background: linear-gradient(30.5deg, #0f99b2 14%, #334dd9 86%); }
.hc-event .hc-ev-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hc-ev-open { position: absolute; top: 7px; right: 7px; padding: 2px 7px; border-radius: 999px;
  background: rgba(255,255,255,0.95); border: 0.5px solid rgba(34,197,94,0.4); color: #22c55e; font-weight: 700; font-size: 0.55rem; }
.hc-ev-date { position: absolute; bottom: 7px; left: 7px; padding: 2px 7px; border-radius: 5px;
  background: rgba(0,0,0,0.78); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 0.55rem; letter-spacing: 0.04em; }
/* Contenu */
.hc-event .hc-ev-content { padding: 9px 10px; display: flex; flex-direction: column; gap: 6px; }
.hc-event .hc-ev-title { font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; color: var(--grey-800); }
.hc-event .hc-ev-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.hc-event .hc-ev-meta { display: flex; align-items: center; gap: 4px; font-size: 0.6rem; color: var(--muted, #6b6b64); white-space: nowrap; }
.hc-event .hc-ev-meta svg { width: 11px; height: 11px; flex-shrink: 0; }
.hc-event .hc-ev-foot { display: flex; align-items: center; justify-content: space-between; }
.hc-event .hc-ev-price { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; color: var(--purple-600); }
.hc-event .hc-ev-btn { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px;
  border-radius: 6px; background: rgba(109,40,217,0.1); color: var(--purple-600); }
.hc-event .hc-ev-btn svg { width: 15px; height: 15px; }

/* Notification iOS (verre dépoli, légère rotation) */
.hc-notif { left: 7.1%; top: 48%; width: 43.2%; padding: 9px 0; border-radius: 9px; transform: rotate(2.36deg);
  background: rgba(240,240,238,0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 14px rgba(20,20,18,0.08);
  font-family: -apple-system, BlinkMacSystemFont, var(--font-body); }
.hc-notif .hcn-head { display: flex; align-items: center; gap: 7px; padding: 0 14px 0 9px; }
.hc-notif .hcn-head img { width: 18px; height: 18px; flex-shrink: 0; }
.hc-notif .hcn-app { font-size: 0.84rem; font-weight: 500; color: #4f4f4d; text-transform: uppercase; }
.hc-notif .hcn-time { margin-left: auto; font-size: 0.84rem; font-weight: 500; color: #4f4f4d; text-transform: lowercase; }
.hc-notif .hcn-body { padding: 6px 11px 0; font-size: 0.78rem; font-weight: 700; color: #373735; }

/* Bulles rondes flottantes */
.hc-badge { position: absolute; z-index: 3; width: 10.7%; aspect-ratio: 1; border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 4px 2.5px rgba(20,20,18,0.1)); }
.hc-badge svg { width: 54%; height: 54%; color: #fff; }
.hc-badge.is-green { background: var(--green-500); left: 37.5%; top: 34.1%; transform: rotate(-9.79deg); }
.hc-badge.is-orange { background: var(--orange-500); left: 74.9%; top: 4%; transform: rotate(14.33deg); }

/* Mockup central du collage : mobile uniquement */
.hc-phone-m { display: none; }

/* ── Hero mobile (Figma 717:4256) : centré, CTAs empilés, collage compact ── */
@media (max-width: 1024px) {
  .hero { padding-top: calc(64px + 44px); }
  /* container centré symétriquement : un padding-left:0 traînait (padding asymétrique),
     décalant tout le collage contre le bord gauche -> cartes flottantes qui débordaient
     ("Soirée blanche" coupée à gauche, "Léa Martin" collée au bord droit). */
  .hero .container { padding-left: var(--sp-4); padding-right: var(--sp-4); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-8); padding-left: 0; }
  .hero-text { text-align: center; }
  .hero-heading { width: 100%; font-size: clamp(2.6rem, 11.5vw, 3.6rem); letter-spacing: -0.03em; line-height: 1.12; }
  .hero-tail { display: none; }
  .hero-sub { margin-left: auto; margin-right: auto; max-width: 420px; font-size: 1.02rem; }
  .hero-ctas { flex-direction: column; margin-top: var(--sp-6); }
  .hero-ctas .btn, .hero-ctas .btn-outline { width: 100%; flex: none; font-size: 1.08rem; }
  /* Collage mobile : event card à gauche, mockup central, carte membre à droite */
  .hero-collage { max-width: 440px; margin: 0 auto; aspect-ratio: 376 / 420; }
  .hc-photo, .hc-notif { display: none; }
  .hc-phone-m { display: block; position: absolute; left: 50%; transform: translateX(-50%); top: 2%; width: 44%; aspect-ratio: 1080 / 1920; z-index: 2; filter: drop-shadow(0 16px 30px rgba(20,20,18,0.18)); }
  .hcpm-screen { position: absolute; top: 1.9%; left: 7.4%; right: 7.5%; bottom: 1.9%; border-radius: 22px; overflow: hidden; background: var(--surface); }
  .hcpm-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
  .hcpm-frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
  .hc-event { left: 0; top: 7%; width: 44%; z-index: 1; }
  /* tailles compactes pour la petite carte event */
  .hc-event .hc-ev-content { padding: 7px 8px; gap: 4px; }
  .hc-event .hc-ev-title { font-size: 0.78rem; }
  .hc-event .hc-ev-row { gap: 4px; flex-wrap: wrap; }
  .hc-event .hc-ev-meta { font-size: 0.52rem; gap: 3px; }
  .hc-event .hc-ev-meta svg { width: 9px; height: 9px; }
  .hc-event .hc-ev-price { font-size: 0.82rem; }
  .hc-event .hc-ev-btn { width: 21px; height: 21px; }
  .hc-event .hc-ev-btn svg { width: 12px; height: 12px; }
  .hc-ev-open, .hc-ev-date { font-size: 0.5rem; padding: 2px 5px; }
  .hc-badge.is-orange { left: 13%; top: 66%; width: 13.5%; z-index: 3; }
  .hc-badge.is-green { left: 27%; top: 76%; width: 12%; z-index: 3; }
  .hc-card { left: auto; right: 0; top: 52%; width: 46%; transform: rotate(6deg); z-index: 3; }
}

/* ── Verbes (4 cards) ───────────────────────────────────────────────── */
.verbes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); margin-top: var(--sp-12); }
.verb-card { padding: var(--sp-6); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.verb-card .verb-icon { width: 40px; height: 40px; }
.verbes-grid .verb-card:nth-child(1) .verb-icon { color: var(--purple-600); }
.verbes-grid .verb-card:nth-child(2) .verb-icon { color: var(--yellow-500); }
.verbes-grid .verb-card:nth-child(3) .verb-icon { color: var(--orange-500); }
.verbes-grid .verb-card:nth-child(4) .verb-icon { color: var(--green-600); }
.verb-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; margin: var(--sp-6) 0 var(--sp-4); }
.verb-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.verb-card li { font-size: 1rem; color: var(--grey-600); display: flex; align-items: flex-start; gap: 9px; }
.verb-card li::before { content: ""; flex-shrink: 0; width: 5px; height: 5px; margin-top: 9px; border-radius: 50%; background: var(--grey-400); }
/* Hover : léger soulèvement + ombre + scale de l'icône (spécificité > .anim-up.is-visible) */
.verbes-grid .verb-card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, opacity .6s ease; will-change: transform; }
.verbes-grid .verb-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(20,20,18,0.07); border-color: var(--grey-300); }
.verb-card .verb-icon { transition: transform .25s ease; }
.verbes-grid .verb-card:hover .verb-icon { transform: scale(1.12) rotate(-4deg); }
@media (max-width: 1024px) { .verbes-grid { grid-template-columns: repeat(2, 1fr); } }
/* Mobile : la maquette garde 2 colonnes compactes (Figma 717:4256) */
@media (max-width: 560px) {
  .verbes-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
  .verb-card { padding: var(--sp-5); }
  .verb-card h3 { font-size: 1.2rem; margin: var(--sp-4) 0 var(--sp-3); }
  .verb-card li { font-size: 0.88rem; }
  .verb-card .verb-icon { width: 34px; height: 34px; }
}

/* ── Fonctionnalités : showreel desktop + carrousel mobile ──────────── */
.features { background: var(--bg); }
/* fond opaque + z-index sur l'élément PINNÉ (pas seulement sur .features) : quand
   GSAP le passe en position:fixed, un wrapper transparent laissait voir le hero qui
   défile derrière (superposition de texte au scroll rapide, où anticipatePin épingle
   trop tôt). Le fond masque le hero, le z-index le place au-dessus (sous le nav). */
.features-sticky-wrapper { position: relative; z-index: 2; background: var(--bg); }
.features-grid { display: grid; grid-template-columns: minmax(0, 420px) 24px minmax(0, 1fr); gap: var(--sp-8); align-items: center; }

/* Rail de progression (point qui descend selon l'étape active) */
.feature-rail { position: relative; align-self: stretch; min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: space-evenly; padding: 24px 0; }
.feature-rail::before { content: ""; position: absolute; top: 24px; bottom: 24px; left: 50%; transform: translateX(-50%); width: 2px; background: var(--grey-100); border-radius: 2px; }
.fr-dot { position: relative; z-index: 1; width: 10px; height: 10px; border-radius: 50%; background: var(--grey-200); transition: background .3s ease, transform .3s ease, box-shadow .3s ease; }
.fr-dot.is-active { background: var(--purple-600); transform: scale(1.5); box-shadow: 0 0 0 5px var(--purple-50); }

.feature-list { margin-top: var(--sp-8); }
.feature-list-track { display: flex; flex-direction: column; gap: 8px; }
/* Mode rail (desktop épinglé) : la liste devient une fenêtre à hauteur fixe ;
   la piste se décale (JS) pour garder l'item actif visible, 1er comme dernier. */
.features-left.is-railmode .feature-list { height: min(440px, calc(100vh - 360px)); overflow: hidden; position: relative; }
.features-left.is-railmode .feature-list-track { transition: transform .45s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
@media (prefers-reduced-motion: reduce) { .features-left.is-railmode .feature-list-track { transition: none; } }
.feature-item { border-radius: var(--radius-lg); border: 1px solid transparent; padding: 0; overflow: hidden; transition: background .25s ease, border-color .25s ease; }
.feature-item .fi-head { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; background: none; border: none; text-align: left; }
.feature-item .fi-title { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--grey-500); transition: color .2s ease; }
.feature-item .fi-body { max-height: 0; opacity: 0; transition: max-height .35s ease, opacity .25s ease, padding .35s ease; padding: 0 24px; }
.feature-item .fi-chip { display: inline-block; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--purple-50); color: var(--purple-600); font-size: 0.8rem; font-weight: 600; }
.feature-item .fi-h { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--text); margin: 12px 0 8px; }
.feature-item .fi-p { font-size: 1rem; color: var(--grey-600); }
/* Sous-navigateur : on parcourt les sous-fonctionnalités une par une (flèches),
   chaque sous-fonctionnalité change l'écran de la démo + son texte. */
.feature-item .fi-subnav { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.feature-item .fi-arrow { display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--border);
  background: var(--grey-0); color: var(--purple-600); cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .12s ease; }
.feature-item .fi-arrow svg { width: 18px; height: 18px; }
.feature-item .fi-arrow:hover { background: var(--purple-50); border-color: var(--purple-200); }
.feature-item .fi-arrow:active { transform: scale(0.9); }
.feature-item .fi-arrow:disabled { opacity: 0.35; cursor: default; }
.feature-item .fi-sub-name { flex: 1; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--text); }
.feature-item .fi-sub-count { flex-shrink: 0; font-size: 0.8rem; font-weight: 600; color: var(--purple-600);
  background: var(--purple-50); padding: 3px 9px; border-radius: var(--radius-pill); }
.feature-item .fi-sub-desc { margin-top: 12px; font-size: 1rem; color: var(--grey-600); line-height: 1.5;
  min-height: 4.5em; transition: opacity .22s ease, transform .22s ease; }
/* micro-transition au changement de sous-fonctionnalité (JS togggle .is-switching) */
.feature-item .fi-subnav.is-switching ~ .fi-sub-desc,
.feature-item .fi-sub-desc.is-switching { opacity: 0; transform: translateY(4px); }
.feature-item .fi-subdata { display: none; }
.feature-item.is-active { background: var(--surface); border-color: var(--border); box-shadow: 0 2px 12px rgba(20,20,18,0.04); }
/* item ouvert : on masque l'en-tête catégorie (sinon doublon avec le titre du corps) */
.feature-item.is-active .fi-head { display: none; }
.feature-item.is-active .fi-body { max-height: 340px; opacity: 1; padding: var(--sp-6); }
@media (prefers-reduced-motion: reduce) { .feature-item .fi-sub-desc { transition: none; } }

/* Châssis iPhone du showreel : cadre PNG réaliste + vraie démo Flutter
   Box au ratio exact du PNG (1080×1920) pour éviter toute déformation ;
   écran positionné sur la découpe transparente réelle (mesurée). */
/* Téléphone top-aligné (haut du mockup ≈ ligne "chaque" du titre), pas centré. */
.feature-stage { position: relative; align-self: start; margin-top: 1.9rem; }
.feature-phone { width: min(412px, 100%); max-width: 100%; margin: 0 2.5rem 0 auto; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.feature-live-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--radius-pill);
  background: var(--purple-50); color: var(--purple-700); font-size: 0.82rem; font-weight: 600; white-space: nowrap; }
.feature-live-badge .flb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-600); box-shadow: 0 0 0 0 rgba(102,204,105,0.5); animation: flb-pulse 2s ease-out infinite; }
@keyframes flb-pulse { 0% { box-shadow: 0 0 0 0 rgba(102,204,105,0.5); } 70% { box-shadow: 0 0 0 7px rgba(102,204,105,0); } 100% { box-shadow: 0 0 0 0 rgba(102,204,105,0); } }
@media (prefers-reduced-motion: reduce) { .feature-live-badge .flb-dot { animation: none; } }
/* Hauteur plafonnée au viewport : tout le téléphone (barre de nav comprise)
   reste visible quand la section est épinglée. Largeur dérivée via l'aspect. */
.phone-device { position: relative; aspect-ratio: 1080 / 1920; height: min(740px, calc(100vh - 185px)); width: auto; max-width: 100%; margin: 0 auto; filter: drop-shadow(0 28px 56px rgba(20,20,18,0.22)); }
.phone-frame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.phone-screen { position: absolute; top: 1.9%; left: 7.4%; right: 7.5%; bottom: 1.9%; border-radius: 40px; overflow: hidden; background: var(--surface); z-index: 1; }
/* Barre de statut iOS factice (heure + réseau/wifi/batterie), de part et d'autre
   de l'encoche du cadre PNG. L'app est décalée dessous. */
.phone-statusbar { position: absolute; top: 0; left: 0; right: 0; height: 42px; z-index: 4; pointer-events: none;
  display: flex; align-items: center; justify-content: space-between; padding: 12px 28px 0;
  font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--grey-800); }
.phone-statusbar .sb-icons { display: flex; align-items: center; gap: 6px; }
.phone-statusbar svg { display: block; color: var(--grey-800); }
/* Viewport logique fixe (≈ largeur iPhone) ; JS le met à l'échelle pour remplir
   l'écran du mockup → l'app garde un layout de vrai téléphone, jamais cramponné.
   Fallback no-JS : remplit 100% (width/height ci-dessous). */
.feature-phone iframe { position: absolute; top: 42px; left: 0; width: 100%; height: calc(100% - 42px); border: 0; display: block; z-index: 1; transform-origin: top left; }
/* placeholder pendant le chargement : ne JAMAIS bloquer les clics (sinon l'iframe
   en dessous semble figée comme une image) */
.feature-phone .phone-fallback { position: absolute; top: 42px; left: 0; width: 100%; height: calc(100% - 42px); object-fit: cover; object-position: top; z-index: 2; pointer-events: none; transition: opacity .4s ease; }

/* Fonctionnalités mobile : navigation 2D comme le showreel PC.
   VERTICAL (scroll, sticky) = catégorie active → l'écran « bloque » puis glisse,
   remplacé par le suivant. HORIZONTAL (swipe) = écrans en plus d'une même catégorie
   qui dépassent sur le côté (coupés, atténués).
   Séparation propre : .fm-cat porte le déplacement VERTICAL (scroll, sans transition,
   suit le scroll) ; .fm-screen porte le déplacement HORIZONTAL (swipe, avec transition).
   Les opacités se composent (cat × écran). Les images portent déjà le mockup. */
.features-mobile { display: none; }

@media (max-width: 1024px) {
  .features-grid, .feature-list, .feature-stage, .feature-rail { display: none; }
  .features-mobile { display: block; }
  .fm-intro .lead { margin-top: var(--sp-3); }

  /* Piste de scroll : pilote la catégorie active (7 catégories × dwell). */
  /* hauteur = NCat (7) x distance de scroll par catégorie. Plus c'est grand,
     moins le défilement est "sensible" (plus de scroll pour changer d'écran).
     75vh/catégorie (et non 125) : section ~2x moins longue, défilement plus nerveux. */
  .fm-scroll { position: relative; height: calc(7 * 75vh); margin-top: var(--sp-6); }
  .fm-stage { position: sticky; top: 64px; height: calc(100vh - 64px); height: calc(100svh - 64px);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: var(--sp-8); overflow: hidden; }

  /* Zone du téléphone, full-bleed pour que les voisins horizontaux débordent au bord. */
  .fm-deck { position: relative; width: 100vw; margin-left: calc(50% - 50vw);
    height: 95vw; max-height: 510px; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
  /* Catégorie : remplit le deck, déplacée verticalement par le scroll (JS, sans transition) */
  .fm-cat { position: absolute; inset: 0; opacity: 0; will-change: transform, opacity; }
  /* Écran : déplacé horizontalement par le swipe (JS, avec transition douce) */
  .fm-screen { position: absolute; left: 50%; top: 50%; height: 100%; width: auto;
    transform: translate(-50%, -50%); transform-origin: center center; opacity: 1;
    filter: drop-shadow(0 16px 34px rgba(20,20,18,0.16));
    transition: transform .3s cubic-bezier(.22, 1, .36, 1), opacity .3s ease;
    will-change: transform, opacity; }

  /* Caption : bien détachée du téléphone (gap du stage) + respirante */
  .fm-caption { text-align: center; max-width: 340px; padding: 0 var(--sp-4); transition: opacity .2s ease; }
  .fm-caption.is-fading { opacity: 0; }
  @keyframes fm-cap-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  .fm-caption.is-in { animation: fm-cap-in .3s cubic-bezier(.22, 1, .36, 1); }
  .fm-chip { display: inline-block; padding: 6px 14px; border-radius: var(--radius-pill); background: var(--purple-50); color: var(--purple-600); font-size: 0.8rem; font-weight: 600; }
  .fm-caption h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; margin: var(--sp-4) 0 var(--sp-3); }
  .fm-caption p { font-size: 0.95rem; color: var(--grey-600); line-height: 1.6; margin: 0 auto; }
  .fm-dots { display: flex; justify-content: center; gap: 8px; min-height: 8px; }
  .fm-dots button { width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; background: var(--grey-200); transition: background .25s ease, width .25s ease; }
  .fm-dots button[aria-current="true"] { background: var(--purple-600); width: 22px; border-radius: 4px; }

  /* Repli quand le JS n'est PAS actif (JS désactivé). Clé = .fm-live, posée par le JS
     lui-même → indépendant de js-ready/GSAP. Tous les écrans empilés, lisibles. */
  .features-mobile:not(.fm-live) .fm-scroll { height: auto; }
  .features-mobile:not(.fm-live) .fm-stage { position: static; height: auto; overflow: visible; gap: var(--sp-8); }
  .features-mobile:not(.fm-live) .fm-deck { height: auto; width: auto; margin-left: 0;
    display: flex; flex-direction: column; align-items: center; gap: var(--sp-8); }
  .features-mobile:not(.fm-live) .fm-cat { position: static; opacity: 1; display: flex; flex-direction: column; align-items: center; gap: var(--sp-6); }
  .features-mobile:not(.fm-live) .fm-screen { position: static; transform: none !important; opacity: 1 !important;
    height: auto; max-height: 64vh; width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .fm-screen { transition: opacity .25s ease; }
}

/* ── Personnalisation ───────────────────────────────────────────────── */
.perso-grid { display: grid; grid-template-columns: minmax(0, 479px) minmax(0, 1fr); gap: var(--sp-16); align-items: center; }
.perso-card { --perso-accent: var(--purple-600); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); padding: var(--sp-8); color: var(--text); box-shadow: 0 20px 50px rgba(20,20,18,0.08); }
.perso-card .pc-badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--radius-md); background: var(--purple-50); color: var(--perso-accent); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em; }
.perso-card .pc-badge svg { width: 20px; height: 20px; }
.perso-card .pc-section-label { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-500); margin: var(--sp-6) 0 var(--sp-4); }
.perso-modules { display: flex; flex-wrap: wrap; gap: 10px; }
.perso-module { display: inline-flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: var(--radius-md); font-size: 0.95rem; transition: background .25s ease, color .25s ease; }
.perso-module svg { width: 22px; height: 22px; }
.perso-module.is-on { background: var(--perso-accent); color: #fff; }
.perso-module.is-off { background: var(--grey-100); color: var(--grey-500); }
.perso-colors { display: flex; gap: 14px; margin-top: var(--sp-2); }
.perso-colors .pc-swatch { width: 44px; height: 44px; border-radius: 50%; border: none; padding: 0; cursor: pointer; transition: transform .15s ease; }
.perso-colors .pc-swatch:hover { transform: scale(1.08); }
.perso-colors .pc-swatch.is-selected { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--text); }

/* Mobile : la carte modules vient AVANT le texte (Figma 717:4256) */
@media (max-width: 1024px) {
  .perso-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .perso-grid .perso-card { order: -1; }
  .perso-text .btn-cta { width: 100%; justify-content: center; }
}

/* ── Comparaison ────────────────────────────────────────────────────── */
.comparaison-head { display: grid; grid-template-columns: minmax(0, 564px) minmax(0, 1fr); gap: var(--sp-12); align-items: center; }
.comp-logos { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.comp-logos .comp-tile { width: 63px; height: 63px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; padding: 7px; }
.comp-logos .comp-tile img { width: 100%; height: 100%; object-fit: contain; }
.comp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); margin-top: var(--sp-12); }
.comp-col { border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); padding: var(--sp-8); }
.comp-col.is-them { background: var(--bg-alt); }
.comp-col h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; margin-bottom: var(--sp-6); }
.comp-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--sp-4); }
.comp-col li { display: flex; align-items: flex-start; gap: 18px; font-size: 1.05rem; line-height: 1.4; }
.comp-col li svg { width: 28px; height: 28px; flex-shrink: 0; }
.comp-col.is-us li svg { color: var(--green-600); }
.comp-col.is-them li svg { color: var(--orange-600); }
.comp-col.is-them li { color: var(--grey-600); }
/* Toggle mobile : une colonne à la fois (Figma 717:4256) */
.comp-toggle { display: none; }
@media (max-width: 768px) {
  .comparaison-head, .comp-cols { grid-template-columns: 1fr; }
  .comp-logos { justify-content: flex-start; margin-top: var(--sp-6); }
  .comp-toggle { display: flex; width: fit-content; gap: 2px; margin: var(--sp-6) auto 0; padding: 5px;
    background: var(--surface); border: 1px solid var(--grey-100); border-radius: var(--radius-pill); }
  .ct-btn { padding: 8px 18px; border: none; border-radius: var(--radius-pill); font-family: var(--font-body); font-weight: 500; font-size: 0.875rem;
    background: transparent; color: var(--grey-500); white-space: nowrap; transition: background .2s ease, color .2s ease; }
  .ct-btn.is-active { background: var(--purple-600); color: #fffdfb; box-shadow: 0 1px 2px rgba(109,40,217,0.24); }
  .comp-cols { margin-top: var(--sp-6); }
  /* le JS bascule data-show ; défaut = "us" */
  .comp-cols[data-show="us"] .comp-col.is-them { display: none; }
  .comp-cols[data-show="them"] .comp-col.is-us { display: none; }
}

/* ── Avis ───────────────────────────────────────────────────────────── */
.avis { text-align: center; }
.avis-card { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-12); text-align: left;
  margin-top: var(--sp-12); padding: var(--sp-12); border-radius: var(--radius-xl);
  background: var(--surface); border: 1px solid var(--grey-100); box-shadow: 0 8px 12px rgba(109,40,217,0.16); }
.avis-bde { display: flex; flex-direction: column; gap: var(--sp-4); flex-shrink: 0; max-width: 445px; }
.avis-bde .avis-logo { width: 96px; height: 96px; border-radius: 18px; overflow: hidden; }
.avis-bde .avis-logo img { width: 100%; height: 100%; object-fit: cover; }
.avis-bde .avis-name { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.33; }
.avis-bde .avis-meta { font-size: 1rem; color: var(--grey-500); }
.avis-quote { max-width: 483px; }
.avis-quote blockquote { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; line-height: 1.4; color: var(--text); }
.avis-quote cite { display: block; margin-top: var(--sp-6); font-style: normal; font-weight: 600; color: var(--purple-600); }
@media (max-width: 900px) {
  .avis-card { flex-direction: column; align-items: flex-start; gap: var(--sp-8); padding: var(--sp-8); }
  /* Figma 742:989 : logo à gauche + nom/meta à droite (en ligne), citation dessous */
  .avis-bde { flex-direction: row; align-items: center; gap: var(--sp-4); max-width: none; }
  .avis-bde .avis-logo { width: 64px; height: 64px; flex-shrink: 0; }
  .avis-bde .avis-name { font-size: 1.25rem; }
  .avis-bde .avis-meta { font-size: 0.9rem; }
}

/* ── CTA finale (purple plein) ──────────────────────────────────────── */
.cta-final { background: var(--purple-600); color: #fff; }
.cta-final-grid { display: grid; grid-template-columns: minmax(0, 561px) minmax(0, 1fr);
  grid-template-areas: "h2 checks" "sub checks" "btn checks" "contact checks";
  gap: var(--sp-5) var(--sp-16); align-items: start; }
.cta-final .cta-h2 { grid-area: h2; font-family: var(--font-display); font-weight: 700; font-size: var(--text-h2); line-height: 1.11; letter-spacing: -0.02em; color: #fff; }
.cta-final .cta-sub { grid-area: sub; font-family: var(--font-display); font-weight: 600; font-size: var(--text-h6); line-height: 1.4; color: var(--grey-50); margin: var(--sp-2) 0 var(--sp-4); }
.cta-final .cta-btn { grid-area: btn; justify-self: start; }
.cta-final .cta-contact { grid-area: contact; margin-top: var(--sp-4); font-size: 0.95rem; color: var(--purple-100); }
.cta-final .cta-contact a { color: #fff; text-decoration: underline; }
.cta-checks { grid-area: checks; align-self: center; list-style: none; display: flex; flex-direction: column; gap: var(--sp-6); }
.cta-checks li { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; }
.cta-checks li svg { width: 32px; height: 32px; color: var(--yellow-500); flex-shrink: 0; }
@media (max-width: 900px) {
  .cta-final-grid { grid-template-columns: 1fr; grid-template-areas: "h2" "sub" "checks" "btn" "contact"; gap: var(--sp-6); }
  .cta-final .cta-btn { width: 100%; justify-content: center; }
  .cta-checks { align-self: start; }
}

/* ── Footer (dark) ──────────────────────────────────────────────────── */
.site-footer { background: var(--grey-800); color: var(--grey-200); padding: var(--sp-16) var(--sp-6) 44px; }
.footer-inner { max-width: var(--container); margin: 0 auto; }
.footer-top { display: flex; gap: var(--sp-16); flex-wrap: wrap; justify-content: space-between; }
.footer-brand { max-width: 340px; display: flex; flex-direction: column; gap: 14px; }
.footer-brand .footer-logo { display: inline-flex; align-items: center; gap: 12px; }
.footer-brand .footer-logo .footer-word { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--grey-50); }
.footer-tagline { font-size: 0.82rem; line-height: 1.5; color: var(--grey-200); }
.footer-contacts { display: flex; flex-direction: column; gap: 8px; }
.footer-contacts a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.82rem; color: var(--purple-200); }
.footer-contacts a svg { width: 18px; height: 18px; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col { width: 180px; display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--grey-100); }
.footer-col a { font-size: 0.82rem; color: var(--grey-300); transition: color .15s ease; }
.footer-col a:hover { color: var(--grey-50); }
.footer-divider { height: 1px; background: var(--surface-border); margin: var(--sp-8) 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.78rem; color: var(--grey-400); }
@media (max-width: 768px) {
  /* Figma 1080:3409 : marque en haut, puis Produit | Société en 2 colonnes,
     Légal en pleine largeur dessous, crédits empilés en bas. */
  .footer-top { flex-direction: column; gap: var(--sp-8); }
  /* espace explicite contacts → colonnes (Figma 1080:3409) */
  .footer-brand { margin-bottom: var(--sp-2); }
  .footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8) var(--sp-6); }
  .footer-col { width: auto; }
  .footer-col:nth-child(3) { grid-column: 1 / -1; }
  .footer-legal { flex-direction: column; gap: 6px; }
}

/* ── Reveal au scroll (compat scroll.js) ────────────────────────────── */
.anim-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.anim-up.is-visible { opacity: 1; transform: none; }
html:not(.js-ready) .anim-up { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .anim-up { opacity: 1; transform: none; transition: none; } }
@media (prefers-reduced-motion: reduce) {
  .verbes-grid .verb-card, .dossier-grid .dossier-card, .verb-card .verb-icon, .dossier-card .di { transition: none; }
  .verbes-grid .verb-card:hover, .dossier-grid .dossier-card:hover { transform: none; }
  .verbes-grid .verb-card:hover .verb-icon, .dossier-grid .dossier-card:hover .di { transform: none; }
}

/* ════ Pages Tarifs / FAQ / Ressources ════════════════════════════════ */

/* Intro de page (sous nav fixe) */
.page-top { padding-top: calc(64px + var(--sp-24)); padding-bottom: var(--sp-16); text-align: center; }
.page-top h1 { font-family: var(--font-display); font-weight: 700; font-size: var(--text-h2); line-height: 1.11; letter-spacing: -0.02em; }
.page-top .lead { max-width: 720px; margin: var(--sp-6) auto 0; }
.page-top .page-cta { margin-top: var(--sp-8); }

/* Dossier direction (6 cards) */
.dossier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); margin-top: var(--sp-12); }
.dossier-card { padding: var(--sp-8); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.dossier-card .di { width: 40px; height: 40px; margin-bottom: var(--sp-4); }
.dossier-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; margin-bottom: var(--sp-3); }
.dossier-card p, .dossier-card li { font-size: 1rem; color: var(--grey-600); line-height: 1.5; }
.dossier-card ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.dossier-card li { display: flex; gap: 8px; }
.dossier-card li::before { content: ""; flex-shrink: 0; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--purple-600); }
/* Hover : même soulèvement que les cartes verbes */
.dossier-grid .dossier-card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, opacity .6s ease; will-change: transform; }
.dossier-grid .dossier-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(20,20,18,0.07); border-color: var(--grey-300); }
.dossier-card .di { transition: transform .25s ease; }
.dossier-grid .dossier-card:hover .di { transform: scale(1.1); }
.di-lock    { color: var(--purple-600); }
.di-bank    { color: var(--green-600); }
.di-file    { color: var(--purple-600); }
.di-settings{ color: var(--orange-600); }
.di-chart   { color: var(--purple-600); }
.di-users   { color: var(--yellow-800); }
@media (max-width: 980px) { .dossier-grid { grid-template-columns: repeat(2, 1fr); } }
/* Mobile : icône À GAUCHE du titre (même ligne), desc pleine largeur dessous,
   cartes compactes — conforme Figma 926:3629. */
@media (max-width: 620px) {
  .dossier-grid { grid-template-columns: 1fr; gap: var(--sp-4); margin-top: var(--sp-8); }
  .dossier-card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 10px;
    align-items: center; padding: var(--sp-6); }
  .dossier-card .di { width: 30px; height: 30px; margin: 0; }
  .dossier-card h3 { margin: 0; font-size: 1.125rem; }
  .dossier-card p, .dossier-card ul { grid-column: 1 / -1; margin: 0; }
}

/* Timeline 4 semaines (compat scroll.js stepsTimeline) */
.steps-timeline { position: relative; max-width: 760px; margin: var(--sp-12) 0 0 auto; padding-left: var(--sp-8); }
.steps-line { position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--grey-100); border-radius: 2px; }
.steps-line-fill { position: absolute; left: 0; top: 0; width: 100%; height: 0%; border-radius: 2px;
  background: linear-gradient(180deg, var(--purple-600), var(--purple-300)); }
.step-item { position: relative; padding: 0 0 var(--sp-12) var(--sp-8); }
.step-item:last-child { padding-bottom: 0; }
.step-item::before { content: ""; position: absolute; left: -1px; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--grey-0); border: 2px solid var(--grey-200); transition: border-color .3s ease, background .3s ease; }
.step-item.reached::before { border-color: var(--purple-600); background: var(--purple-600); }
.step-item .step-week { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--grey-400); transition: color .3s ease; }
.step-item.reached .step-week { color: var(--text); }
.step-item p { margin-top: var(--sp-2); font-size: 1rem; color: var(--grey-600); line-height: 1.5; }
.steps-section .h2 { max-width: 460px; }
@media (min-width: 981px) { .steps-section .container { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); gap: var(--sp-16); align-items: start; } .steps-timeline { margin-top: 0; } }

/* Paiements — reversement direct */
.reversement { background: var(--bg-alt); }
.reversement-flow { display: flex; align-items: center; justify-content: center; gap: var(--sp-4); flex-wrap: wrap; margin-top: var(--sp-12); }
.rev-node { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: var(--sp-6); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); min-width: 160px; text-align: center; }
.rev-node svg { width: 36px; height: 36px; color: var(--purple-600); }
.rev-node b { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.rev-node span { font-size: 0.85rem; color: var(--grey-500); }
.rev-arrow { color: var(--purple-300); flex-shrink: 0; }
.rev-arrow svg { width: 28px; height: 28px; }
/* Mobile : flow vertical propre, cartes pleine largeur, flèches centrées
   ENTRE les cartes (pointant vers le bas), au lieu de wrapper à droite. */
@media (max-width: 720px) {
  .reversement-flow { flex-direction: column; gap: 0; }
  .rev-node { width: 100%; min-width: 0; }
  .rev-arrow { transform: rotate(90deg); margin: var(--sp-3) 0; }
}

/* FAQ — desktop 2 colonnes (questions à gauche, panneau Réponse à droite) */
.page-top-pad { padding-top: calc(64px + var(--sp-16)); }
.faq-2col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: var(--sp-12); align-items: start; }
.faq-left h1 { margin-bottom: var(--sp-8); }
.faq-q-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.faq-q-item { width: 100%; text-align: left; padding: var(--sp-6); border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: var(--surface);
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--text);
  transition: background .2s ease, color .2s ease, border-color .2s ease; }
.faq-q-item:hover { border-color: var(--purple-200); }
.faq-q-item.is-active { background: var(--purple-600); color: #fff; border-color: var(--purple-600); }
.faq-answer-card { position: sticky; top: 96px; padding: var(--sp-12); border-radius: var(--radius-xl);
  /* aligne le haut de la carte avec la 1re question : on compense la hauteur
     du titre « FAQ » (h2 fluide × line-height 1.11 + sa marge basse) */
  margin-top: calc(var(--text-h2) * 1.11 + var(--sp-8));
  border: 1px solid var(--grey-100); background: var(--surface); box-shadow: 0 8px 12px rgba(109,40,217,0.10); }
.faq-answer-card .eyebrow { color: var(--purple-600); }
.faq-answer { display: none; margin-top: var(--sp-4); }
.faq-answer.is-active { display: block; }
.faq-answer p { font-size: 1.05rem; color: var(--grey-600); line-height: 1.65; }
@media (max-width: 860px) {
  .faq-2col { grid-template-columns: 1fr; gap: var(--sp-8); }
  .faq-answer-card { position: static; padding: var(--sp-8); margin-top: 0; }
}

/* Ressources (placeholder) */
.ressources-empty { text-align: center; padding: var(--sp-24) 0; }
.ressources-empty .lead { max-width: 560px; margin: var(--sp-6) auto 0; }

/* ══ Calage mobile global sur la maquette (Figma 717:4256) ═══════════ */
@media (max-width: 768px) {
  .h2 { font-size: 1.75rem; }
  .lead { font-size: 0.95rem; }
  /* Hero : titre 3 lignes comme la maquette, sub compact */
  .hero-heading { max-width: 8.5ch; margin-left: auto; margin-right: auto; }
  .hero-sub { font-size: 0.92rem; max-width: 330px; }
  /* Collage : proportions maquette (event 38 %, phone 47 %, metas 1 ligne) */
  .hero-collage { aspect-ratio: 376 / 400; }
  .hc-event { width: 38%; }
  .hc-event .hc-ev-meta:nth-child(2) { display: none; } /* "Le Spot" masqué (maquette) */
  .hc-phone-m { width: 47%; }
  .hc-card { width: 44%; top: 48%; }
  /* Verbes : cartes compactes */
  .verb-card h3 { font-size: 1.05rem; margin: var(--sp-3) 0 var(--sp-2); }
  .verb-card li { font-size: 0.78rem; gap: 6px; }
  .verb-card li::before { width: 4px; height: 4px; margin-top: 8px; }
  .verb-card .verb-icon { width: 28px; height: 28px; }
  .verb-card { padding: var(--sp-4); }
  /* Personnalisation : carte compacte */
  .perso-card { padding: var(--sp-6); }
  .perso-module { font-size: 0.78rem; padding: 7px 12px; }
  .pc-swatch { width: 38px; height: 38px; }
  /* Comparaison (Figma 735:708) : logos EN HAUT nus, H2 32px, lead 12px, listes sans carte */
  .comparaison-head { display: flex; flex-direction: column; gap: var(--sp-6); }
  .comparaison-head .h2 { font-size: 2rem; line-height: 1.11; letter-spacing: -0.02em; }
  .comparaison-head .lead { font-size: 0.75rem; line-height: 1.5; color: var(--grey-600); margin-top: var(--sp-4); }
  .comp-logos { order: -1; justify-content: space-between; gap: 4px; width: 100%; margin-top: 0; }
  .comp-logos .comp-tile { width: 32px; height: 32px; padding: 0; border: none; background: none; border-radius: 0; }
  .comp-col, .comp-col.is-them { padding: 0; border: none; background: none; }
  .comp-col h3 { display: none; }
  .comp-col li { font-size: 0.875rem; gap: 12px; line-height: 1.5; align-items: center; color: var(--grey-800); }
  .comp-col li svg { width: 24px; height: 24px; }
  .comp-col ul { gap: var(--sp-3); }
  /* Avis + CTA final : titres calés */
  .avis-quote blockquote { font-size: 1.05rem; }
  .cta-final h2 { font-size: 1.85rem; }
  .cta-final .cta-sub { font-size: 0.95rem; }
}

/* ══ FAQ mobile : accordéon (Figma 934:3900) ═════════════════════════ */
.faq-a-inline { display: none; }
@media (max-width: 768px) {
  .faq-2col { display: block; }
  .faq-answer-card { display: none; }
  /* Questions en texte simple + séparateur + « + / × » (Figma 934:3900) */
  .faq-q-list { gap: 0; }
  .faq-q-list .faq-q-item { position: relative; padding: 18px 44px 18px 0; background: none; border: none;
    border-bottom: 1px solid var(--border); border-radius: 0; box-shadow: none;
    font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--text); }
  .faq-q-list .faq-q-item.is-active { background: none; color: var(--text); border-color: var(--border); }
  .faq-q-list .faq-q-item::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    font-family: var(--font-body); font-weight: 400; font-size: 1.6rem; color: var(--purple-600); line-height: 1; }
  .faq-q-list .faq-q-item.is-active::after { content: "×"; }
  .faq-q-item.is-active + .faq-a-inline { display: block; padding: var(--sp-4) 0 var(--sp-5); border-bottom: 1px solid var(--border); }
  .faq-a-inline p { font-size: 0.95rem; color: var(--grey-600); line-height: 1.6; }
  .faq-a-inline p + p { margin-top: var(--sp-3); }
}
