/* v7.css — nouvelle DA du site (maquette Figma « bdeasy x louise », frame V7, node 3112:6102).
   Chargé APRÈS refonte.css par BaseLayout et MarketingLayout.
   - Nav : règles globales (toutes les pages qui chargent ce fichier). Le footer V7 vit
     dans refonte.css + footer.css (24 pages, cf. _tools/normalise-footer.py).
   - Home : tout est scopé sous `.v7-home` (classe du <body>) pour ne rien casser ailleurs.
   - Briques réutilisables par les sous-pages : `.v7-btn`, `.v7-link`, `.v7-h2`, `.v7-lead`,
     `Iphone.astro` (.v7-device), `IosNotif.astro` (.v7-ios-notif), `.v7-faq`, `.v7-cta`.
   Couleurs : uniquement via tokens.css (section « Maquette V7 »). */

/* ═════════════════════════ Socle ═════════════════════════ */
body.v7-home,
body.v7-page { background: var(--v7-bg); overflow-x: clip; }

/* Grands écrans : la maquette est dessinée pour 1440 px. Au-delà, on agrandit toute la
   page d'un bloc (texte, cartes, mockups) au lieu de laisser une colonne de 1280 px
   perdue au milieu d'un écran de 2560 px. Paliers ≈ largeur ÷ 1550, pour que la largeur
   utile reste autour de 1450-1550 px quelle que soit la taille de l'écran.
   Exclue de /pages/demo : la démo Flutter tourne dans une iframe mise à l'échelle par
   script, on ne lui ajoute pas un second facteur d'échelle. */
@media (min-width: 1680px) { body.v7-home:not(.v7-demo), body.v7-page { zoom: 1.1; --v7-zoom: 1.1; } }
@media (min-width: 1880px) { body.v7-home:not(.v7-demo), body.v7-page { zoom: 1.22; --v7-zoom: 1.22; } }
@media (min-width: 2100px) { body.v7-home:not(.v7-demo), body.v7-page { zoom: 1.36; --v7-zoom: 1.36; } }
@media (min-width: 2400px) { body.v7-home:not(.v7-demo), body.v7-page { zoom: 1.55; --v7-zoom: 1.55; } }
@media (min-width: 2800px) { body.v7-home:not(.v7-demo), body.v7-page { zoom: 1.8; --v7-zoom: 1.8; } }
@media (min-width: 3300px) { body.v7-home:not(.v7-demo), body.v7-page { zoom: 2.1; --v7-zoom: 2.1; } }

.v7-wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-6); }
@media (max-width: 768px) { .v7-wrap { padding: 0 var(--sp-4); } }

.v7-h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem);   /* 32 → 48 */
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--grey-800);
  text-wrap: balance;
}
.v7-lead {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.25rem);   /* 17 → 20 */
  line-height: 1.4;
  color: var(--v7-text-body);
  text-wrap: pretty;
}

/* Bouton pilule (purple plein) */
.v7-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius-lg);
  background: var(--purple-600);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.6;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease;
}
.v7-btn:hover { background: var(--purple-700); }
.v7-btn:active { transform: translateY(1px); }
.v7-btn:focus-visible { outline: 3px solid var(--purple-200); outline-offset: 3px; }
.v7-btn--lg { padding: var(--sp-4) var(--sp-6); font-size: var(--text-body-l); }
.v7-btn--dark { background: var(--purple-900); color: var(--purple-50); }
.v7-btn--dark:hover { background: #000; }
/* Bouton secondaire, même gabarit que le principal (deux CTA côte à côte restent alignés) */
.v7-btn--ghost { background: transparent; color: var(--grey-800); box-shadow: inset 0 0 0 1.5px var(--grey-300, #d4d4cc); }
.v7-btn--ghost:hover { background: #fff; color: var(--purple-700); box-shadow: inset 0 0 0 1.5px var(--purple-500, #8b5cf6); }
.v7-btn--ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55); }
.v7-btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1.5px #fff; }

/* Lien souligné + flèche */
.v7-link {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.3;
  color: var(--grey-700);
  text-decoration: underline;
  text-decoration-color: var(--purple-500);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: color .2s ease, gap .2s ease;
}
.v7-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.v7-link:hover { color: var(--purple-600); gap: var(--sp-3); }
.v7-link--light { color: #fff; text-decoration-color: currentColor; font-size: 1.125rem; }
.v7-link--light:hover { color: var(--purple-100); }

/* ═════════════════════════ Nav (globale) ═════════════════════════ */
#nav { background: var(--v7-bg); }
#nav.is-scrolled { background: color-mix(in srgb, var(--v7-bg) 94%, transparent); border-bottom-color: var(--grey-89); }
#nav .nav-inner { max-width: 1440px; height: 72px; padding: 0 var(--sp-7); gap: var(--sp-6); }
#nav .nav-logo { gap: var(--sp-4); font-size: 1.40625rem; line-height: 1.5; }
#nav .nav-logo-mark { width: 44px; height: 44px; }
#nav .nav-links { gap: 36px; }
#nav .nav-links a {
  font-family: var(--font-body); font-weight: 500; font-size: var(--text-body-l); line-height: 1.5;
  color: var(--v7-text-body); text-decoration: none; transition: color .2s ease;
}
#nav .nav-links a:hover { color: var(--purple-600); }
#nav .nav-cta {
  background: var(--purple-600); color: #fff;
  padding: 9px var(--sp-4) 9px var(--sp-4);
  border-radius: var(--radius-lg);
  font-family: var(--font-body); font-weight: 500; font-size: var(--text-body-l); line-height: 1.5;
}
#nav .nav-cta:hover { background: var(--purple-700); }
@media (max-width: 1180px) {
  #nav .nav-links { gap: var(--sp-6); }
  #nav .nav-links a, #nav .nav-cta { font-size: 1rem; }
}
@media (max-width: 1024px) {
  #nav .nav-inner { padding: 0 var(--sp-4); height: 64px; }
  #nav .nav-logo-mark { width: 40px; height: 40px; }
  #nav .nav-cta { font-size: 0.875rem; padding: 8px 14px; }
  #nav .nav-cta-more { display: none; }
  .v7-home main { padding-top: 64px; }
}

/* ═════════════════════════ Téléphone (vrai cadre) ═════════════════════════
   Composant `Iphone.astro`. Cadre : assets/iphone-mockup.webp (1080 × 1920), découpe
   d'écran de 850 × 1848 à partir de (115, 36) → tout est en pourcentages et suit la
   largeur. L'écran logique d'un iPhone fait 393 × 852 pt : barre d'état 54 pt,
   capture de l'app 744 pt (ratio des captures 620 × 1173), zone d'accueil 54 pt.
   Tailles internes en cqw (1 pt ≈ 0,2545 cqw). */
.v7-device { position: relative; width: 320px; max-width: 100%; }
.v7-iphone {
  position: relative; aspect-ratio: 1080 / 1920;
  filter: drop-shadow(0 34px 30px rgba(26, 10, 61, 0.22)) drop-shadow(0 8px 10px rgba(26, 10, 61, 0.12));
}
.v7-iphone-frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.v7-iphone-screen {
  position: absolute; left: 10.65%; top: 1.875%; width: 78.7%; height: 96.25%;
  border-radius: 11.8% / 5.4%; overflow: hidden;
  background: #fff; container-type: inline-size;
}
.v7-sb {
  position: absolute; top: 0; left: 0; right: 0; height: 13.74cqw;
  display: flex; align-items: center; justify-content: space-between;
  font: 600 4.3cqw/1 -apple-system, BlinkMacSystemFont, 'SF Pro Text', var(--font-body);
  letter-spacing: -0.01em; color: #111;
}
.v7-sb > span { width: 32%; display: flex; align-items: center; justify-content: center; gap: 1.3cqw; padding-top: 1cqw; }
.v7-sb-icons svg { height: 2.9cqw; width: auto; }
.v7-iphone-capture { position: absolute; left: 0; top: 13.74cqw; display: block; width: 100%; height: auto; }
.v7-iphone-home { position: absolute; left: 33%; bottom: 2cqw; width: 34%; height: 1.3cqw; border-radius: 999px; background: #111; }

/* ═════════════════════════ Notification iOS (Liquid Glass) ═════════════════════════
   Composant `IosNotif.astro`. Seule surface en verre du site : elle imite la vraie
   notification d'iOS 26, posée de biais à côté de l'écran (le reste du site reste
   mat, cf. la règle « pas de glassmorphism » de la charte). */
.v7-ios-notif {
  position: absolute; z-index: 3; left: var(--x); top: var(--y);
  width: 340px; transform: rotate(var(--r));
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', var(--font-body);
  color: #111;
}
.v7-ios-notif-float { position: relative; }
.v7-ios-card,
.v7-ios-ghost {
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.46) 100%);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  backdrop-filter: blur(20px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.95),
    inset 0 -1px 2px rgba(255, 255, 255, 0.35),
    0 22px 44px -14px rgba(26, 10, 61, 0.3),
    0 3px 8px rgba(26, 10, 61, 0.08);
}
.v7-ios-card { position: relative; display: flex; align-items: flex-start; gap: 11px; padding: 13px 15px 13px 13px; overflow: hidden; }
.v7-ios-card::before {   /* reflet spéculaire du verre */
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(120% 70% at 12% 0%, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 55%);
  mix-blend-mode: soft-light;
}
.v7-ios-card img { position: relative; width: 38px; height: 38px; flex-shrink: 0; border-radius: 9px; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.08); }
.v7-ios-text { position: relative; min-width: 0; flex: 1; }
.v7-ios-head { display: flex; align-items: baseline; gap: 8px; }
.v7-ios-head strong { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.v7-ios-head span { margin-left: auto; flex-shrink: 0; font-size: 13px; color: rgba(60, 60, 67, 0.62); }
.v7-ios-text p { margin: 1px 0 0; font-size: 15px; line-height: 1.3; letter-spacing: -0.02em; }
.v7-ios-text small { display: block; margin-top: 3px; font-size: 13px; color: rgba(60, 60, 67, 0.62); }
/* Pile iOS : les notifications suivantes dépassent sous la première. */
.v7-ios-ghost { position: absolute; left: 50%; bottom: -9px; height: 40px; transform: translateX(-50%); width: 93%; }
.v7-ios-ghost--2 { bottom: -17px; width: 86%; opacity: 0.8; }

/* Flottement léger, décalé d'une notification à l'autre. */
@media (prefers-reduced-motion: no-preference) {
  .v7-ios-notif-float { animation: v7-notif-float 6s ease-in-out var(--fd, 0s) infinite alternate; }
  .js-ready [data-v7-reveal] .v7-ios-notif { opacity: 0; translate: 0 14px; transition: opacity .6s ease .35s, translate .7s cubic-bezier(.2, .7, .2, 1) .35s; }
  .js-ready [data-v7-reveal].is-in .v7-ios-notif { opacity: 1; translate: 0 0; }
}
@keyframes v7-notif-float { from { transform: translateY(-4px); } to { transform: translateY(5px); } }
/* Téléphone : la notification se recentre sur l'écran au lieu de déborder du bord. */
@media (max-width: 600px) {
  .v7-device { width: 260px; }
  .v7-feat .v7-ios-notif { width: 300px; left: calc(50% - 150px); }
}

/* ═════════════════════════ HOME ═════════════════════════ */
.v7-home main { padding-top: 72px; }
.v7-home section { scroll-margin-top: 88px; }

/* ── 1 · Hero ───────────────────────────────────── */
.v7-home .hero { padding: 0 var(--sp-12); overflow: visible; }
.v7-hero-card {
  position: relative;
  max-width: 1344px; min-height: min(844px, calc(100svh / var(--v7-zoom, 1) - 96px)); /* le zoom grands écrans agrandit aussi les svh */
  margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 650px) minmax(0, 1fr);
  align-items: center;
  border-radius: 33px;
  overflow: hidden;
  isolation: isolate;
  background: var(--purple-900);
}
.v7-hero-bg { position: absolute; inset: 0; z-index: -2; }
.v7-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.v7-hero-card::before {   /* voile Figma + renfort de lisibilité à gauche */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 10, 40, 0.55) 0%, rgba(20, 10, 40, 0.18) 55%, rgba(0, 0, 0, 0) 75%),
    linear-gradient(180deg, rgba(102, 102, 102, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%);
}
.v7-hero-text {
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-4);
  padding: var(--sp-16) var(--sp-6) var(--sp-16) 83px;
  color: var(--grey-0);
}
.v7-home .hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.5rem, 1.2rem + 4.2vw, 4.25rem);   /* 40 → 68 */
  line-height: 1.1; letter-spacing: -0.03em;
  color: var(--grey-0);
  text-wrap: balance;
}
.v7-home .hero-sub {
  font-weight: 500;
  font-size: clamp(1.125rem, 0.85rem + 1vw, 1.75rem);  /* 18 → 28 */
  line-height: 1.2;
  color: var(--grey-0);
  max-width: 34ch;
}
.v7-hero-text .v7-btn { margin-top: var(--sp-1); }
.v7-hero-proof { font-size: 0.9375rem; line-height: 1.5; color: rgba(255, 255, 255, 0.85); }

.v7-hero-collage { position: relative; height: 100%; min-height: 600px; }
.v7-hero-collage > * { position: absolute; }

/* Carte évènement */
.v7-evt {
  left: 54.5%; top: 32%;
  width: 280px;
  transform: rotate(-4deg);
  background: #fff; border-radius: 13px; overflow: hidden;
  box-shadow: 0 16px 40px rgba(20, 10, 51, 0.18);
  font-family: var(--font-body);
}
.v7-evt-img { position: relative; height: 175px; }
.v7-evt-img img { width: 100%; height: 100%; object-fit: cover; }
.v7-evt-tag { position: absolute; top: 11px; right: 11px; padding: 4px var(--sp-2); border-radius: var(--radius-md); background: #fff; color: var(--purple-700); font-size: 0.6875rem; font-weight: 600; line-height: 1.45; }
.v7-evt-date { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 6px; background: rgba(20, 20, 18, 0.72); color: #fff; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.01em; }
.v7-evt-body { padding: var(--sp-2) 14px 14px; }
.v7-evt-title { font-weight: 600; font-size: 1.03rem; line-height: 1.5; color: var(--grey-800); }
.v7-evt-meta { display: flex; align-items: center; gap: 3px; white-space: nowrap; font-size: 0.64rem; line-height: 1.45; color: #6b6b64; margin-top: 2px; }
.v7-evt-meta img { width: 13px; height: 13px; }
.v7-evt-meta .sep { width: 6px; }
.v7-evt-rate { margin-top: 6px; font-weight: 700; font-size: 0.78rem; color: var(--purple-700); }

/* Notification du hero : seule notification gardée sur le site. Posée sur une photo
   chargée, elle prend un verre plus dense (lisible), une ombre plus nette, et vient
   mordre le coin de la carte évènement dont elle parle. */
.v7-home .v7-hero-notif { width: 330px; }
.v7-hero-notif .v7-ios-card {
  align-items: center; padding: 12px 16px 12px 12px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9) 0%, rgba(250, 248, 255, 0.78) 100%);
  box-shadow: inset 0 1px 1px #fff, 0 24px 48px -16px rgba(20, 10, 51, 0.45), 0 4px 12px rgba(20, 10, 51, 0.12);
}
.v7-hero-notif .v7-ios-card img { width: 40px; height: 40px; border-radius: 10px; }
.v7-hero-notif .v7-ios-head strong { font-size: 14px; }
.v7-hero-notif .v7-ios-head span { font-size: 12px; }
.v7-hero-notif .v7-ios-text p { font-size: 14px; line-height: 1.32; color: #1c1c1e; }

/* Carte adhérent : reprise exacte de la maquette Figma (nœud 3120:3486).
   Carte 290.33×187.86, fond #33136A, tracé rose « Vector 563 » tourné de 149.34°
   dans une boîte de 632×570 posée à (-159.52, -184.98) : mêmes cotes qu'en Figma. */
.v7-member {
  left: 6%; top: 69%;
  width: 290.332px; height: 187.855px;
  transform: rotate(4deg);
  border-radius: 21.152px; overflow: hidden;
  background: #33136A;
  box-shadow: 0 16px 40px rgba(20, 10, 51, 0.18);
  color: #F5F3F5;
  font-family: 'Hanken Grotesk', var(--font-body);
  line-height: normal;
}
.v7-member-swirl {
  position: absolute; left: -159.52px; top: -184.98px; width: 631.996px; height: 569.528px;
  display: flex; align-items: center; justify-content: center; pointer-events: none;
}
.v7-member-swirl img {
  display: block; flex: none; width: 548.379px; height: 370.006px; max-width: none;
  transform: rotate(149.34deg);
}
.v7-member span { position: absolute; white-space: nowrap; }
.v7-member .m-num { left: 13.08px; top: 21.64px; font-weight: 500; font-size: 8.461px; }
.v7-member .m-num b { margin-left: 3px; font-weight: 500; color: #fff; }
.v7-member .m-bde { right: 13.08px; top: 21.64px; font-family: 'Host Grotesk', 'Hanken Grotesk', var(--font-body); font-weight: 500; font-size: 8.461px; }
.v7-member .m-role { left: 13.07px; top: 89.9px; font-weight: 700; font-size: 12.087px; }
.v7-member .m-name { left: 13.3px; top: 155.89px; font-weight: 700; font-size: 9.14px; letter-spacing: 0.3656px; color: #fff; }
.v7-member .m-sign { left: 187.9px; top: 135.67px; width: 84.28px; text-align: center; font-weight: 400; font-size: 9.037px; }
.v7-member .m-sign i { display: block; margin: -1px 0 0; font-style: normal; font-family: 'Caveat', cursive; font-weight: 700; font-size: 20.979px; line-height: 26px; color: #FF8F6B; text-align: center; }

/* ── 2 · Moments ────────────────────────────────── */
.v7-moments { padding: var(--sp-16) 0; }
.v7-moments .v7-wrap { display: flex; flex-direction: column; align-items: center; gap: var(--sp-12); }
.v7-head-center { max-width: 650px; text-align: center; display: flex; flex-direction: column; gap: var(--sp-6); }
.v7-cards { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-6); }
.v7-card {
  display: flex; flex-direction: column; gap: var(--sp-2);
  padding: var(--sp-6) var(--sp-7) var(--sp-7);
  border-radius: var(--radius-lg);
  color: var(--grey-800);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.v7-card { position: relative; overflow: hidden; text-decoration: none; isolation: isolate; min-height: 200px;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s cubic-bezier(.2,.8,.2,1); }
.v7-card p { max-width: 64%; }
.v7-card-ic { width: 28px; height: 28px; margin-bottom: var(--sp-3); transition: transform .45s cubic-bezier(.3,1.6,.5,1); }
.v7-card-go { margin-top: auto; padding-top: var(--sp-4); display: inline-flex; align-items: center; gap: var(--sp-2); font-weight: 600; font-size: 0.9375rem; opacity: .8; transition: gap .3s ease, opacity .3s ease; }
.v7-card-go svg { width: 16px; height: 16px; }
/* Vrai iPhone (cadre + Dynamic Island) glissé dans le coin : à moitié visible au repos, il monte au survol. */
.v7-card-peek {
  position: absolute; right: 18px; bottom: 0; z-index: -1; width: 132px;
  transform: translateY(60%) rotate(6deg); transform-origin: 50% 100%;
  transition: transform .55s cubic-bezier(.2,.8,.2,1);
}
.v7-card-peek .v7-device { width: 100%; }
.v7-card:focus-visible { outline: 3px solid var(--purple-300, #c4b5fd); outline-offset: 3px; }
@media (hover: hover) {
  .v7-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -18px rgba(26, 10, 61, 0.35); }
  .v7-card:hover .v7-card-ic { transform: scale(1.18) rotate(-10deg); }
  .v7-card:hover .v7-card-go { gap: var(--sp-3); opacity: 1; }
  .v7-card:hover .v7-card-peek { transform: translateY(24%) rotate(-3deg); }
}
.v7-card:focus-visible .v7-card-peek { transform: translateY(24%) rotate(-3deg); }
.v7-card h3 { color: inherit; font-family: var(--font-display); font-weight: 600; font-size: var(--text-h5); line-height: 1.1; letter-spacing: -0.02em; }
.v7-card p { font-size: 1rem; line-height: 1.5; }
.v7-card--purple { background: var(--purple-600); color: #fff; }
.v7-card--lime   { background: var(--v7-lime); }
.v7-card--sky    { background: var(--v7-sky); }
.v7-card--coral  { background: var(--v7-coral); }
.v7-card--pink   { background: var(--v7-pink); }
.v7-card--night  { background: var(--purple-800); color: #fff; }

/* ── 4/5/6 · Fonctionnalités ─────────────────────── */
.v7-feat { padding: var(--sp-16) 0; }
.v7-feat-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.v7-feat-text { display: flex; flex-direction: column; align-items: flex-start; }
.v7-feat-text .v7-lead { margin-top: var(--sp-6); max-width: 34em; }
.v7-feat-text .v7-link { margin-top: var(--sp-8); }
.v7-feat-visual { position: relative; height: 560px; display: grid; place-items: center; }
.v7-feat--rev .v7-feat-visual { order: -1; }
.v7-feat--rev .v7-feat-text { padding-left: var(--sp-6); }

/* ── 6b · Personnalisation ───────────────────────── */
.v7-perso { background: var(--purple-800); padding: var(--sp-32) 0; color: #fff; }
.v7-perso .v7-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: var(--sp-24); align-items: center; }
.v7-perso .v7-h2 { color: #fff; }
.v7-perso .v7-lead { color: rgba(255, 255, 255, 0.75); margin-top: var(--sp-6); }
.v7-perso .v7-link { margin-top: var(--sp-10); }
.v7-config { background: #fff; border-radius: var(--radius-lg); color: var(--grey-800); padding-bottom: var(--sp-3); --cfg: var(--purple-600); }
.v7-config-row { padding: var(--sp-6) var(--sp-8); display: flex; flex-direction: column; gap: 14px; }
.v7-config-label { font-weight: 600; font-size: 0.8125rem; line-height: 1.3; color: var(--v7-text-body); text-transform: uppercase; letter-spacing: 0.02em; }
.v7-config-logo { display: flex; align-items: center; gap: var(--sp-4); }
.v7-config-logo img { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 0 0 1px var(--grey-200, #e5e5e0), 0 2px 6px rgba(26, 10, 61, 0.08); }
.v7-config-logo div { flex: 1; min-width: 0; }
.v7-config-logo strong { display: block; font-weight: 600; font-size: 1rem; line-height: 1.3; }
.v7-config-logo small { display: block; font-size: 0.8125rem; line-height: 1.5; color: var(--v7-text-body); }
.v7-config-logo a { font-weight: 600; font-size: 0.875rem; color: var(--grey-800); text-decoration: underline; text-underline-offset: 3px; }
.v7-swatches { display: flex; gap: 14px; }
.v7-swatch {
  width: 40px; height: 40px; border-radius: 50%;
  border: 3px solid transparent; padding: 0; cursor: pointer;
  background: var(--sw); background-clip: padding-box;
  box-shadow: inset 0 0 0 2px #fff;
  transition: transform .15s ease, border-color .15s ease;
}
.v7-swatch:hover { transform: scale(1.08); }
.v7-swatch[aria-pressed="true"] { border-color: var(--grey-800); }
.v7-swatch:focus-visible { outline: 2px solid var(--purple-300); outline-offset: 2px; }
.v7-chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.v7-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px 9px var(--sp-3);
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--cfg);
  background: var(--cfg); color: #fff;
  font: 600 0.875rem/1.3 var(--font-body);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.v7-chip svg { width: 14px; height: 14px; transition: opacity .2s ease, width .2s ease; }
.v7-chip[aria-pressed="false"] { background: transparent; color: var(--v7-text-body); border-color: var(--grey-200); }
.v7-chip[aria-pressed="false"] svg { opacity: 0; width: 0; }
.v7-chip:focus-visible { outline: 2px solid var(--purple-300); outline-offset: 2px; }

/* ── 7 · Moins d'outils ──────────────────────────── */
.v7-tools { background: var(--v7-bg-cream); padding: var(--sp-16) 0 var(--sp-32); overflow: hidden; }
.v7-tools-stage { position: relative; height: 660px; }
.v7-tools-text { position: absolute; z-index: 1; left: 0; right: 0; margin: 0 auto; top: 194px; width: min(640px, 100%); text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--sp-6); }
.v7-tools-text .v7-h2 { font-size: clamp(2.25rem, 1.4rem + 3vw, 3.5rem); }
.v7-tools-text .v7-lead { max-width: 560px; }
.v7-bubble {
  position: absolute; left: var(--x); top: var(--y);
  width: 80px; height: 80px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; box-shadow: var(--v7-shadow-bubble);
  animation: v7-float var(--d, 7s) ease-in-out var(--delay, 0s) infinite;
}
.v7-bubble img { max-width: 48px; max-height: 48px; }
.v7-msg {
  position: absolute; left: var(--x, auto); right: var(--r, auto); top: var(--y);
  display: flex; align-items: flex-end; gap: 9px;
  animation: v7-drift var(--d, 9s) ease-in-out var(--delay, 0s) infinite;
}
.v7-msg-av { width: 37px; height: 37px; border-radius: 50%; display: grid; place-items: center; background: var(--grey-300); font-weight: 600; font-size: 0.8rem; color: var(--grey-800); flex-shrink: 0; }
.v7-msg-txt { padding: 10px 15px; background: #fff; border-radius: 17px 17px 17px 5px; box-shadow: var(--v7-shadow-bubble); font-size: 0.79rem; line-height: 1.5; color: var(--grey-800); white-space: nowrap; }
.v7-msg--right .v7-msg-txt { border-radius: 17px 17px 5px 17px; }
@keyframes v7-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  25%      { transform: translate3d(4px, -10px, 0) rotate(6deg); }
  50%      { transform: translate3d(0, -16px, 0) rotate(-3deg); }
  75%      { transform: translate3d(-5px, -7px, 0) rotate(-7deg); }
}
@keyframes v7-drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(6px, -10px, 0); }
}

/* ── 8 · Avis ───────────────────────────────────── */
.v7-avis { padding: var(--sp-16) 0; }
.v7-avis-head { display: flex; align-items: flex-end; gap: var(--sp-12); }
.v7-avis-head .v7-h2 { flex: 1; max-width: 914px; }
.v7-stat { background: #fff; border-radius: var(--radius-lg); padding: var(--sp-6) var(--sp-7); flex-shrink: 0; }
.v7-stat-line { display: flex; align-items: flex-end; gap: 6px; }
.v7-stat-num { font-family: var(--font-display); font-weight: 600; font-size: 2.5rem; line-height: 1.1; letter-spacing: -0.02em; color: var(--grey-800); }
.v7-stat-lbl { font-weight: 500; font-size: 1.25rem; line-height: 1.4; color: var(--v7-text-body); }
.v7-stat small { display: block; margin-top: 6px; font-size: 0.875rem; color: var(--v7-text-body); }
.v7-quote {
  margin-top: var(--sp-14);
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--sp-6);
}
.v7-quote-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--sp-8);
  padding: var(--sp-8); border-radius: 28px;
  background: var(--purple-600); color: #fff;
}
.v7-quote-card blockquote { font-weight: 500; font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem); line-height: 1.4; text-wrap: pretty; }
.v7-quote-who { display: flex; align-items: center; gap: var(--sp-3); }
.v7-quote-av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--purple-600); font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; flex-shrink: 0; }
.v7-quote-who strong { display: block; font-weight: 600; font-size: 0.9375rem; line-height: 1.3; }
.v7-quote-role { display: block; font-size: 0.875rem; line-height: 1.5; }
.v7-quote-side { display: flex; flex-direction: column; justify-content: space-between; gap: var(--sp-6); padding: var(--sp-8); border-radius: 28px; background: #fff; }
.v7-quote-side p { font-weight: 500; font-size: 1.25rem; line-height: 1.4; color: var(--v7-text-body); }
.v7-quote-side .v7-link { align-self: flex-start; }
.v7-quote-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
/* Clients : chaque BDE mène à l'aperçu de son app (/pages/clients/<slug>) et à son Instagram. */
.v7-clients-title { margin-top: var(--sp-16); font-family: var(--font-display); font-weight: 600; font-size: var(--text-h5); letter-spacing: -0.02em; color: var(--grey-800); }
.v7-clients { list-style: none; margin: var(--sp-6) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); }
.v7-client-card { display: flex; flex-direction: column; gap: var(--sp-4); padding: var(--sp-6); border-radius: var(--radius-lg); background: #fff; box-shadow: 0 0 0 1px rgba(20, 20, 18, 0.06); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
.v7-client-card img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; }
.v7-client-card-id strong { display: block; font-weight: 600; font-size: 1.0625rem; color: var(--grey-800); }
.v7-client-card-id span { display: block; margin-top: 2px; font-size: 0.875rem; line-height: 1.4; color: var(--v7-text-body); }
.v7-client-card-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.v7-client-card-links a { padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: 0.875rem; text-decoration: none; color: var(--client); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--client) 35%, transparent); transition: background .2s ease, color .2s ease; }
.v7-client-card-links a:first-child { background: var(--client); color: #fff; box-shadow: none; }
.v7-client-card-links a:hover { background: color-mix(in srgb, var(--client) 12%, #fff); }
.v7-client-card-links a:first-child:hover { background: color-mix(in srgb, var(--client) 85%, #000); }
@media (hover: hover) { .v7-client-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(20, 20, 18, 0.06), 0 18px 36px -16px rgba(26, 10, 61, 0.25); } }
@media (max-width: 1024px) { .v7-clients { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .v7-clients { gap: var(--sp-3); } .v7-client-card { padding: var(--sp-4); } }

/* ── Page client (/pages/clients/<slug>) ─────────── */
.v7-client-hero { padding: var(--sp-12) 0 var(--sp-24); }
.v7-client-hero .v7-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: var(--sp-16); align-items: center; }
.v7-client-info { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-6); }
.v7-client-back { font-weight: 600; font-size: 0.9375rem; color: var(--v7-text-body); text-decoration: none; }
.v7-client-back:hover { color: var(--grey-800); }
.v7-client-id { display: flex; align-items: center; gap: var(--sp-5); }
.v7-client-id img { width: 88px; height: 88px; border-radius: 22px; object-fit: cover; box-shadow: 0 0 0 1px rgba(20, 20, 18, 0.08); }
.v7-client-id p { margin-top: var(--sp-1); font-size: 1.125rem; color: var(--v7-text-body); }
.v7-client-note { max-width: 560px; font-size: 1rem; line-height: 1.5; color: var(--v7-text-body); }
.v7-client-ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.v7-client-hero .v7-client-ctas .v7-btn:first-child { background: var(--client); }
.v7-client-hero .v7-client-ctas .v7-btn:first-child:hover { background: color-mix(in srgb, var(--client) 85%, #000); }

/* Carrousel des captures App Store : une grande capture au centre, les voisines dépassent. */
.v7-carousel { --slide: clamp(220px, calc((100svh - 300px) * 0.46), 300px); min-width: 0; }
.v7-carousel-track {
  position: relative; /* offsetLeft des captures mesuré depuis la piste */
  display: flex; gap: var(--sp-5); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: var(--sp-6) calc((100% - var(--slide)) / 2) var(--sp-12);
  outline: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.v7-carousel-track::-webkit-scrollbar { display: none; }
.v7-carousel-track:focus-visible { outline: 2px solid var(--client); outline-offset: 2px; border-radius: 24px; }
.v7-carousel-slide { flex: 0 0 var(--slide); margin: 0; scroll-snap-align: center; scroll-snap-stop: always; }
.v7-carousel-slide img { display: block; width: 100%; height: auto; border-radius: 24px; box-shadow: 0 0 0 1px rgba(20, 20, 18, 0.06), 0 24px 48px -20px rgba(26, 10, 61, 0.35); }
.v7-carousel.is-ready .v7-carousel-slide { opacity: .4; transform: scale(.9); cursor: pointer; transition: opacity .4s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
.v7-carousel.is-ready .v7-carousel-slide.is-on { opacity: 1; transform: none; cursor: default; }
.v7-carousel-nav { display: flex; align-items: center; justify-content: center; gap: var(--sp-5); }
.v7-carousel-nav[hidden] { display: none; }
.v7-carousel-arrow {
  display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: #fff; color: var(--grey-800); cursor: pointer;
  box-shadow: 0 0 0 1px rgba(20, 20, 18, 0.1); transition: background .2s ease, opacity .2s ease;
}
.v7-carousel-arrow svg { width: 20px; height: 20px; }
@media (hover: hover) { .v7-carousel-arrow:hover:not(:disabled) { background: #F3F3F0; } }
.v7-carousel-arrow:disabled { opacity: .35; cursor: default; }
.v7-carousel-dots { display: flex; gap: var(--sp-2); }
.v7-carousel-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(20, 20, 18, 0.18); cursor: pointer; transition: width .3s ease, background .3s ease; }
.v7-carousel-dot[aria-current="true"] { width: 24px; background: var(--client); }
.v7-carousel-arrow:focus-visible, .v7-carousel-dot:focus-visible { outline: 2px solid var(--client); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .v7-carousel.is-ready .v7-carousel-slide, .v7-carousel-dot { transition: none; }
}
@media (max-width: 900px) {
  .v7-client-hero .v7-wrap { grid-template-columns: 1fr; gap: var(--sp-10); }
  .v7-carousel { --slide: min(280px, 68vw); margin: 0 calc(-1 * var(--sp-4)); }
}

/* ── 9 · Tarifs ─────────────────────────────────── */
.v7-pricing { padding: var(--sp-16) 0; }
.v7-pricing-box {
  display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: var(--sp-24); align-items: center;
  padding: var(--sp-20);
  border-radius: var(--radius-xl);
  background: var(--v7-pricing);
}
.v7-pricing-box .v7-lead { color: var(--grey-800); margin-top: var(--sp-6); }
.v7-pricing-box .v7-btn { margin-top: var(--sp-10); }
.v7-incl { list-style: none; display: flex; flex-direction: column; gap: var(--sp-5); }
.v7-incl li { display: flex; align-items: center; gap: 14px; font-weight: 500; font-size: var(--text-body-l); line-height: 1.4; color: var(--grey-800); }
.v7-incl li::before {
  content: ""; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%;
  background: var(--grey-0);
}
.v7-incl li { position: relative; }
.v7-incl li::after {   /* coche violette, dessinée par masque sur la pastille */
  content: ""; position: absolute; left: 8px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  background: var(--purple-600);
  -webkit-mask: url("/assets/v7/ic-check-dark.svg") center / contain no-repeat;
          mask: url("/assets/v7/ic-check-dark.svg") center / contain no-repeat;
}

/* ── 3 · Étapes ─────────────────────────────────── */
.v7-steps { padding: var(--sp-16) 0; }
.v7-steps .v7-wrap { display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: var(--sp-24); align-items: start; }
.v7-steps-head .v7-link { margin-top: var(--sp-14); }
.v7-steps ol { list-style: none; display: flex; flex-direction: column; gap: var(--sp-12); }
.v7-steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--sp-4); }
.v7-step-n { font-family: var(--font-display); font-weight: 600; font-size: 2.5rem; line-height: 1.1; letter-spacing: -0.02em; color: var(--purple-600); }
.v7-steps h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--grey-800); }
.v7-steps p { margin-top: var(--sp-2); font-size: var(--text-body-l); line-height: 1.5; color: var(--v7-text-body); }

/* ── 10 · FAQ ───────────────────────────────────── */
.v7-faq-sec { background: var(--v7-bg-cream); padding: var(--sp-32) 0; }
.v7-faq-sec .v7-wrap { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: var(--sp-24); align-items: start; }
.v7-faq-sec .v7-link { margin-top: var(--sp-8); }
.v7-faq { display: flex; flex-direction: column; gap: var(--sp-2); }
.v7-faq details { background: #fff; border-radius: var(--sp-4); }
.v7-faq summary {
  display: flex; align-items: center; gap: var(--sp-4);
  padding: var(--sp-6) var(--sp-7);
  font-weight: 500; font-size: var(--text-body-l); line-height: 1.4; color: var(--grey-800);
  cursor: pointer; list-style: none;
}
.v7-faq summary::-webkit-details-marker { display: none; }
.v7-faq summary::after {
  content: ""; width: 22px; height: 22px; flex-shrink: 0; margin-left: auto;
  background: url("/assets/v7/ic-chevron.svg") center / contain no-repeat;
  transition: transform .25s ease;
}
.v7-faq details[open] summary::after { transform: rotate(180deg); }
.v7-faq summary:focus-visible { outline: 2px solid var(--purple-300); outline-offset: -2px; border-radius: var(--sp-4); }
.v7-faq .v7-faq-a { padding: 0 var(--sp-7) var(--sp-6); margin-top: calc(-1 * var(--sp-3)); font-size: 1rem; line-height: 1.5; color: var(--v7-text-body); }

/* ── CTA ────────────────────────────────────────── */
.v7-cta-sec { background: var(--purple-900); }
.v7-cta {
  background: var(--purple-600);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  padding: var(--sp-32) var(--sp-6);
  display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff;
}
.v7-cta .v7-h2 { color: #fff; max-width: 720px; }
.v7-cta .v7-lead { color: #fff; max-width: 600px; margin-top: var(--sp-6); }
.v7-cta .v7-btn { margin-top: var(--sp-12); }
.v7-cta-alt { margin-top: var(--sp-7); font-size: 1rem; line-height: 1.5; }
.v7-cta-alt a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ═════════════════════════ Sous-pages (body.v7-page) ═════════════════════════
   Pages servies par MarketingLayout (Tarifs, FAQ, Ressources) : on aligne leurs
   briques héritées de la refonte de juin sur la DA V7, sans toucher leur balisage. */
.v7-page h1, .v7-page h2 { font-weight: 600; }
.v7-page .btn-primary,
.v7-page .btn-cta { background: var(--purple-600); color: #fff; border-radius: var(--radius-lg); }
.v7-page .btn-primary:hover,
.v7-page .btn-cta:hover { background: var(--purple-700); box-shadow: none; }
.v7-page .reversement { background: var(--v7-bg-cream); }

/* CTA finale : centrée, bouton violet nuit, coins bas arrondis posés sur le footer */
.v7-page .cta-final { position: relative; z-index: 1; border-radius: 0 0 var(--radius-xl) var(--radius-xl); padding-top: var(--sp-32); padding-bottom: var(--sp-32); }
.v7-page .cta-final + .site-footer,
.v7-page main:has(.cta-final:last-child) + .site-footer { margin-top: calc(-1 * var(--radius-xl)); padding-top: calc(var(--sp-16) + var(--radius-xl)); }
.v7-page .cta-final-grid { grid-template-columns: 1fr; grid-template-areas: "h2" "sub" "checks" "btn" "contact"; justify-items: center; text-align: center; gap: var(--sp-6); max-width: 760px; }
.v7-page .cta-final .cta-h2 { font-weight: 600; font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); line-height: 1.1; }
.v7-page .cta-final .cta-sub { font-family: var(--font-body); font-weight: 500; color: #fff; max-width: 600px; margin: 0; }
.v7-page .cta-checks { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: var(--sp-2) var(--sp-6); }
.v7-page .cta-checks li { font-weight: 500; font-size: 1.0625rem; }
.v7-page .cta-checks li svg { width: 18px; height: 18px; color: var(--purple-100); }
.v7-page .cta-final .cta-btn { justify-self: center; margin-top: var(--sp-6); background: var(--purple-900); color: var(--purple-50); }
.v7-page .cta-final .cta-btn:hover { background: #000; }
.v7-page .cta-final .cta-contact { color: #fff; margin-top: 0; }
@media (max-width: 768px) {
  .v7-page .cta-final { border-radius: 0 0 var(--radius-lg) var(--radius-lg); padding-top: var(--sp-16); padding-bottom: var(--sp-16); }
  .v7-page .cta-final .cta-btn { width: auto; }
}

/* ═════════════════════════ Apparition au scroll ═════════════════════════
   Le contenu est visible sans JS : seule la classe `js-ready` (posée en tête de
   page) arme l'état de départ, et v7.js ajoute `.is-in` à l'entrée dans l'écran. */
.js-ready [data-v7-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: var(--rd, 0s); }
.js-ready [data-v7-reveal].is-in { opacity: 1; transform: none; }

/* ═════════════════════════ Responsive ═════════════════════════ */
@media (max-width: 1180px) {
  .v7-home .hero { padding: 0 var(--sp-6); }
  .v7-hero-card { grid-template-columns: 1fr; min-height: 0; }
  .v7-hero-text { padding: var(--sp-16) var(--sp-10) var(--sp-6); }
  .v7-hero-collage { min-height: 520px; max-width: 720px; width: 100%; margin: 0 auto; }
  .v7-evt { left: 50%; top: 14%; }
  .v7-notif { left: 22%; top: 4%; }
  .v7-member { left: 8%; top: 52%; }
  .v7-perso .v7-wrap { grid-template-columns: 1fr; gap: var(--sp-12); }
  .v7-config { max-width: 560px; }
  .v7-pricing-box { grid-template-columns: 1fr; gap: var(--sp-10); padding: var(--sp-12); }
  .v7-steps .v7-wrap, .v7-faq-sec .v7-wrap { grid-template-columns: 1fr; gap: var(--sp-10); }
  .v7-steps-head .v7-link { margin-top: var(--sp-6); }
  .v7-tools-stage { height: 720px; }
}
@media (max-width: 900px) {
  .v7-cards { grid-template-columns: 1fr 1fr; }
  .v7-feat-grid { grid-template-columns: 1fr; gap: var(--sp-10); }
  .v7-feat--rev .v7-feat-visual { order: 0; }
  .v7-feat--rev .v7-feat-text { padding-left: 0; }
  .v7-feat-visual { height: 600px; }
  .v7-avis-head { flex-direction: column; align-items: flex-start; gap: var(--sp-6); }
  .v7-quote { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .v7-home main { padding-top: 64px; }
  .v7-home .hero { padding: var(--sp-2) var(--sp-3) 0; }
  .v7-hero-card { border-radius: var(--radius-lg); }
  .v7-hero-bg img { object-position: 72% center; }
  .v7-hero-card::before { background: linear-gradient(180deg, rgba(20, 10, 40, 0.62) 0%, rgba(20, 10, 40, 0.25) 55%, rgba(0, 0, 0, 0.45) 100%); }
  .v7-hero-text { padding: var(--sp-10) var(--sp-5) var(--sp-4); }
  .v7-hero-collage { min-height: 460px; }
  .v7-evt { width: 220px; left: auto; right: 4%; top: 18%; }
  .v7-evt-img { height: 130px; }
  .v7-evt-meta { white-space: normal; flex-wrap: wrap; row-gap: 2px; }
  .v7-home .v7-hero-notif { width: 270px; left: 4%; top: 3%; }
  .v7-member { left: 4%; top: 62%; transform: rotate(4deg) scale(.82); transform-origin: 0 0; }
  .v7-moments, .v7-feat, .v7-avis, .v7-pricing, .v7-steps { padding: var(--sp-12) 0; }
  .v7-cards { grid-template-columns: 1fr; gap: var(--sp-3); }
  .v7-feat-visual { height: 560px; }
  .v7-perso, .v7-faq-sec { padding: var(--sp-16) 0; }
  .v7-config-row { padding: var(--sp-5); }
  .v7-tools { padding: var(--sp-12) 0 var(--sp-16); }
  .v7-tools-stage { height: auto; display: flex; flex-direction: column; align-items: center; }
  .v7-tools-text { position: static; order: 0; }
  .v7-tools-cloud { position: relative; width: 100%; height: 300px; order: 1; margin-top: var(--sp-6); }
  .v7-msg { display: none; }
  /* Mobile : positions propres à cet écran (--mx/--my), sans chevauchement (retour Thibaud 2026-11-11). */
  .v7-bubble { width: 60px; height: 60px; left: var(--mx, var(--x)); top: var(--my, var(--y)); }
  .v7-bubble img { max-width: 34px; max-height: 34px; }
  .v7-pricing-box { padding: var(--sp-8) var(--sp-5); border-radius: var(--radius-lg); }
  .v7-quote-card, .v7-quote-side { padding: var(--sp-6); }
  .v7-cta { padding: var(--sp-16) var(--sp-5); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .v7-cta-alt { max-width: 34ch; }
}
@media (min-width: 769px) { .v7-tools-cloud { position: absolute; inset: 0; } }

@media (prefers-reduced-motion: reduce) {
  .v7-bubble, .v7-msg { animation: none; }
  .js-ready [data-v7-reveal] { opacity: 1; transform: none; transition: none; }
  .v7-card, .v7-btn, .v7-link, .v7-card-ic, .v7-card-peek, .v7-card-go { transition: none; }
}

/* ═════════════════════════ Blocs « fonctionnalités » (home + /pages/fonctionnalites) ═════════════════════════
   2026-11-11, retours Thibaud : texte court + VRAIS morceaux d'écran de l'app (découpes
   exactes des captures de la démo, components/Morceau.astro), pas de fond de couleur, pas
   de dessins, une mise en page qui change à chaque bloc (texte | visuel, deux colonnes,
   visuel | texte, centré, frise). Les compositions sont des conteneurs de requête : les
   morceaux y sont placés en % et se réduisent d'un bloc sur mobile.
   Body : `v7-home` (home) ou `v7-home v7-fonc`. `.v7-fonc-ctas` sert aussi aux pages clients. */
.v7-fonc-ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--sp-3); }
.v7-cta .v7-fonc-ctas { margin-top: var(--sp-10); gap: var(--sp-4); }
.v7-cta .v7-fonc-ctas .v7-btn { margin-top: 0; }

.v7-home .fx-eyebrow { font-weight: 600; font-size: var(--text-eyebrow); letter-spacing: 0.12em; text-transform: uppercase; color: var(--purple-600); }
.v7-home .fx-h2, .v7-home .fx-h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; color: var(--grey-800); text-wrap: balance; }
.v7-home .fx-h2 { font-size: clamp(1.875rem, 1.2rem + 2.2vw, 2.875rem); }
.v7-home .fx-h3 { font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2rem); }

/* ── En-tête de /pages/fonctionnalites ── */
.fx-hero { padding: var(--sp-24) 0 var(--sp-12); text-align: center; }
.fx-hero .v7-wrap { display: flex; flex-direction: column; align-items: center; gap: var(--sp-5); }
.fx-h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.75rem); line-height: 1.02; letter-spacing: -0.03em; color: var(--grey-800); text-wrap: balance; }
.fx-h1 span { color: var(--purple-600); }
.fx-hero .v7-fonc-ctas { margin-top: var(--sp-2); }
.fx-index { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-1) var(--sp-6); margin-top: var(--sp-8); }
.fx-index a { font-weight: 500; font-size: 0.9375rem; color: var(--v7-text-body); text-decoration: underline; text-decoration-color: var(--grey-200); text-underline-offset: 5px; transition: color .2s ease, text-decoration-color .2s ease; }
.fx-index a:hover { color: var(--purple-600); text-decoration-color: currentColor; }

/* ── Blocs ── */
.fx-sec { padding: var(--sp-24) 0; scroll-margin-top: 72px; }
.fx-sec [id] { scroll-margin-top: 96px; }
.fx-split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--sp-16); align-items: center; }
.fx-split--rev { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.fx-split--rev .fx-compo { order: -1; }
.fx-texte { max-width: 30rem; }
.fx-texte .fx-h2, .fx-texte .fx-h3 { margin-top: var(--sp-3); }
.fx-phrase { margin-top: var(--sp-4); font-size: clamp(1.0625rem, 0.97rem + 0.35vw, 1.1875rem); font-weight: 500; line-height: 1.5; color: var(--v7-text-body); text-wrap: pretty; }
.fx-mots { list-style: none; margin: var(--sp-6) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-2); }
.fx-mots li { display: flex; align-items: center; gap: var(--sp-2); font-size: 1rem; font-weight: 500; color: var(--grey-800); }
.fx-mots svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--purple-600); }
.fx-texte--centre { margin: 0 auto; max-width: 36rem; text-align: center; }
.fx-plus-loin { display: flex; justify-content: center; margin-top: var(--sp-16); }

/* Deux colonnes séparées d'un filet : visuel au-dessus, texte dessous */
.fx-sec--duo { padding-top: var(--sp-16); border-top: 1px solid var(--grey-89); border-bottom: 1px solid var(--grey-89); }
.fx-duo { display: grid; grid-template-columns: 1fr 1fr; }
.fx-col { display: flex; flex-direction: column; gap: var(--sp-8); padding: 0 var(--sp-12); scroll-margin-top: 96px; }
.fx-col + .fx-col { border-left: 1px solid var(--grey-89); }
.fx-col:first-child { padding-left: 0; }
.fx-col:last-child { padding-right: 0; }
.fx-col .fx-compo { width: 100%; }

/* Titre et texte côte à côte, puis une frise de morceaux */
.fx-bureau-tete { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16); align-items: end; }
.fx-bureau-tete .fx-texte { max-width: 34rem; }
.fx-bureau-tete .fx-mots { flex-direction: row; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); }
.fx-frise { display: grid; gap: var(--sp-6); align-items: start; margin-top: var(--sp-12); }
.fx-frise--2 { grid-template-columns: 1fr 1fr; max-width: 980px; margin-left: auto; margin-right: auto; }
.fx-frise--2 > :last-child { margin-top: var(--sp-16); }
.fx-frise--3 { grid-template-columns: 1fr 1.1fr 1fr; }
.fx-frise--3 > :nth-child(2) { margin-top: var(--sp-16); }
.fx-frise--3 > :nth-child(3) { margin-top: var(--sp-6); }
.fx-sec--apps { border-top: 1px solid var(--grey-89); }


/* Compositions : morceaux placés en % de la largeur */
.fx-compo { position: relative; width: min(100%, 560px); justify-self: center; container-type: inline-size; }

.fx-compo--fil { aspect-ratio: 1 / 1.04; }

.fx-compo--billet { aspect-ratio: 1 / 0.86; }

.fx-compo--boutique { aspect-ratio: 1 / 0.7; }
.fx-compo--points { aspect-ratio: 1 / 0.7; }

.fx-compo--annonces { aspect-ratio: 1 / 0.78; }


.fx-compo--campus { aspect-ratio: 1 / 0.84; }

/* Compositions : chaque morceau recodé (.ap) est placé en % et occupe --part de la largeur */
.fx-compo > .ap, .fx-compo > .fx-carte-flip { position: absolute; }
.fx-cell { container-type: inline-size; }
.fx-cell--bulles { width: min(100%, 440px); margin: var(--sp-12) auto 0; }

.fx-compo--fil { aspect-ratio: 1 / 1.16; }
.fx-e-post { --part: .66; left: 17%; top: 0; }

.fx-compo--billet { aspect-ratio: 1 / 0.86; }
.fx-e-evt { --part: .58; left: 0; top: 7%; }
.fx-e-qr { --part: .36; right: 0; top: 0; }
.fx-e-valide { --part: .6; right: 3%; bottom: 0; }

.fx-compo--boutique { aspect-ratio: 1 / 0.72; }
.fx-e-prod1 { --part: .38; left: 0; top: 0; }
.fx-e-prod2 { --part: .38; left: 41%; top: 0; }
.fx-e-stock { --part: .74; right: 0; bottom: 0; }
.fx-compo--points { aspect-ratio: 1 / 0.7; }
.fx-e-points { --part: .82; left: 0; top: 0; }
.fx-e-recompense { --part: .78; right: 0; bottom: 0; }

.fx-compo--annonces { aspect-ratio: 1 / 0.88; }
.fx-e-annonces { --part: .72; left: 0; top: 0; }
.fx-e-ciblage { --part: .66; right: 0; bottom: 0; padding: 3cqi; border-radius: 3cqi; background: #fff; box-shadow: 0 14px 34px rgba(26, 10, 61, 0.10); box-sizing: content-box; }

.fx-compo--campus { aspect-ratio: 1 / 0.86; }
.fx-e-crous { --part: .6; left: 0; top: 0; }
.fx-e-edt { --part: .56; right: 0; bottom: 0; }

.fx-e-prod-g, .fx-e-prod-d { --part: .23; top: 9%; }
.fx-e-prod-g { left: 2%; transform: rotate(-3deg); }
.fx-e-prod-d { right: 2%; transform: rotate(3deg); }

/* La carte d'adhérent entre deux places au tarif adhérent */
.fx-sec--adhesion { border-top: 1px solid var(--grey-89); border-bottom: 1px solid var(--grey-89); }
.fx-compo--adhesion { width: min(100%, 980px); margin: var(--sp-12) auto 0; aspect-ratio: 1 / 0.42; }

/* Carte retournable (petit secret) : le bouton porte la position, la rotation et la
   perspective ; ses deux faces partagent la boîte (backface-visibility). Même geste que
   FlippableMemberCard dans l'app : 520 ms, easeInOut, rotation autour de l'axe vertical. */
.fx-carte-flip {
  position: absolute; left: 50%; top: 4%; translate: -50% 0; width: 20.02em; aspect-ratio: 290.332 / 187.855; font-size: 2.15cqi;
  padding: 0; border: 0; background: none; cursor: pointer; perspective: 60em;
  transform: rotate(-3deg); transition: transform .3s ease;
}
.fx-carte-flip:hover { transform: rotate(-3deg) translateY(-0.3em); }
.fx-carte-flip:focus-visible { outline: 3px solid var(--purple-200); outline-offset: 6px; border-radius: 1.6em; }
.fx-carte-flip-in { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .52s cubic-bezier(.42, 0, .58, 1); }
.fx-carte-flip.is-retournee .fx-carte-flip-in { transform: rotateY(180deg); }
.fx-face { position: absolute; inset: 0; display: block; backface-visibility: hidden; -webkit-backface-visibility: hidden; }

/* Carte adhérent du héros : mêmes cotes que .v7-member (Figma 3120:3486), en % et em.
   Base : 1em = 14.5 px pour une carte de 290 px (20.02em). */
.fx-member { border-radius: 1.459em; overflow: hidden; background: #33136A; color: #F5F3F5; line-height: normal; font-family: 'Hanken Grotesk', var(--font-body); box-shadow: 0 1.1em 2.8em rgba(20, 10, 51, 0.2); }
.fx-member-swirl { position: absolute; left: -54.94%; top: -98.47%; width: 217.68%; height: 303.17%; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.fx-member-swirl img { display: block; flex: none; width: 86.77%; height: auto; max-width: none; transform: rotate(149.34deg); }
.fx-member .m-num, .fx-member .m-bde, .fx-member .m-role, .fx-member .m-name, .fx-member .m-sign { position: absolute; white-space: nowrap; }
.fx-member .m-num { left: 4.5%; top: 11.52%; font-weight: 500; font-size: 0.5835em; }
.fx-member .m-num b { margin-left: 0.35em; font-weight: 500; color: #fff; }
.fx-member .m-bde { right: 4.5%; top: 11.52%; font-weight: 500; font-size: 0.5835em; }
.fx-member .m-role { left: 4.5%; top: 47.86%; font-weight: 700; font-size: 0.8336em; }
.fx-member .m-name { left: 4.58%; top: 82.98%; font-weight: 700; font-size: 0.6303em; letter-spacing: 0.04em; color: #fff; }
.fx-member .m-sign { left: 64.72%; top: 72.22%; width: 29.03%; text-align: center; font-weight: 400; font-size: 0.6232em; white-space: normal; }
.fx-member .m-sign i { display: block; margin: -0.1em 0 0; font-style: normal; font-family: 'Caveat', cursive; font-weight: 700; font-size: 2.32em; line-height: 1.24; color: #FF8F6B; text-align: center; }
/* Dos : _CardBack de l'app avec une image de verso (comme la carte du BDE MMI) : le motif
   du recto en miroir occupe tout le fond, et par-dessus, padding 16 : le QR (BdeasyQRCard,
   marge 6, rayon 18, bord 1,5 px #EDE9FE, côté = 44 % de la largeur utile), gap 16, puis le
   NOM en DM Sans 12/600 blanc espacé de 1 px, gap 8, la consigne en DM Sans 12 blanc à 70 %.
   Conversion : 1 px de l'app = 0,0554em (carte de 361 px dans l'app, 20,02em ici). */
.fx-member-dos { transform: rotateY(180deg); display: flex; align-items: center; gap: 0.886em; padding: 0.886em; }
.fx-member-dos .fx-member-swirl { transform: scaleX(-1); }
.fx-dos-qr { position: relative; flex: none; width: calc((100% - 0.886em) * 0.44); aspect-ratio: 1; box-sizing: border-box; padding: 0.332em; border-radius: 0.997em; background: #fff; border: 0.083em solid #EDE9FE; }
.fx-dos-qr svg { display: block; width: 100%; height: 100%; }
.fx-dos-qr img { position: absolute; top: 50%; left: 50%; width: 22%; height: auto; translate: -50% -50%; padding: 0.22em; background: #fff; border-radius: 0.554em; }
.fx-dos-texte { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 0.443em; text-align: left; font-family: 'DM Sans', var(--font-body); }
.fx-dos-texte b { font-size: 0.665em; font-weight: 600; letter-spacing: 0.0831em; color: #fff; text-transform: uppercase; }
.fx-dos-texte span { font-size: 0.665em; font-weight: 400; line-height: 1.35; color: rgba(255, 255, 255, 0.7); }

/* Entrée : le second morceau arrive après le premier. */
@media (prefers-reduced-motion: no-preference) {
  .js-ready .fx-compo[data-v7-reveal] > .ap:nth-child(n+2) { opacity: 0; translate: 0 14px; transition: opacity .6s ease .3s, translate .7s cubic-bezier(.2, .7, .2, 1) .3s; }
  .js-ready .fx-compo[data-v7-reveal] > .ap:nth-child(3) { transition-delay: .5s; }
  .js-ready .fx-compo[data-v7-reveal].is-in > .ap:nth-child(n+2) { opacity: 1; translate: 0 0; }
  .js-ready .fx-compo--adhesion[data-v7-reveal] > .ap { opacity: 1; translate: none; }
}
@media (prefers-reduced-motion: reduce) { .fx-carte-flip-in, .fx-carte-flip { transition: none; } }

/* ── Le reste : liste sur trois colonnes ── */
.fx-reste { padding: var(--sp-24) 0; border-top: 1px solid var(--grey-89); }
.fx-liste { list-style: none; margin: var(--sp-10) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-8) var(--sp-10); }
.fx-liste li { display: flex; align-items: flex-start; gap: var(--sp-4); }
.fx-liste svg { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; color: var(--purple-600); }
.fx-liste h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; line-height: 1.3; color: var(--grey-800); }
.fx-liste p { margin-top: var(--sp-1); font-size: 0.9375rem; line-height: 1.5; color: var(--v7-text-body); }

@media (max-width: 1080px) {
  .fx-split, .fx-split--rev { gap: var(--sp-10); }
  .fx-col { padding: 0 var(--sp-8); }
}
@media (max-width: 900px) {
  .fx-split, .fx-split--rev { grid-template-columns: 1fr; gap: var(--sp-10); }
  .fx-split--rev .fx-compo { order: 0; }
  .fx-texte { max-width: 36rem; }
  .fx-duo { grid-template-columns: 1fr; gap: var(--sp-16); }
  .fx-col { padding: 0; }
  .fx-col + .fx-col { border-left: 0; padding-top: var(--sp-16); border-top: 1px solid var(--grey-89); }
  .fx-bureau-tete { grid-template-columns: 1fr; gap: 0; }
  .fx-liste { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .fx-hero { padding: var(--sp-14) 0 var(--sp-8); }
  .fx-sec { padding: var(--sp-16) 0; }
  .fx-sec--duo { padding-top: var(--sp-12); }
  .fx-compo--fil { aspect-ratio: 1 / 1.2; }
  .fx-compo--billet { aspect-ratio: 1 / 0.92; }
  .fx-compo--boutique { aspect-ratio: 1 / 0.78; }
  .fx-compo--points { aspect-ratio: 1 / 0.72; }
  .fx-compo--annonces { aspect-ratio: 1 / 0.92; }
  .fx-compo--campus { aspect-ratio: 1 / 0.98; }
  .fx-compo--fil { aspect-ratio: 1 / 1.5; }
  .fx-e-post { --part: .86; left: 7%; }
  .fx-compo--billet { aspect-ratio: 1 / 1.02; }
  .fx-e-evt { --part: .64; } .fx-e-qr { --part: .4; } .fx-e-valide { --part: .7; right: 0; }
  .fx-compo--boutique { aspect-ratio: 1 / 0.8; }
  .fx-e-prod1, .fx-e-prod2 { --part: .44; } .fx-e-prod2 { left: 47%; } .fx-e-stock { --part: .86; }
  .fx-compo--points { aspect-ratio: 1 / 0.84; }
  .fx-e-points { --part: .9; } .fx-e-recompense { --part: .88; }
  .fx-compo--annonces { aspect-ratio: 1 / 1.02; }
  .fx-e-annonces { --part: .9; } .fx-e-ciblage { --part: .8; }
  .fx-compo--campus { aspect-ratio: 1 / 1.08; }
  .fx-e-crous { --part: .74; } .fx-e-edt { --part: .7; }
  .fx-e-prod-g, .fx-e-prod-d { --part: .42; top: auto; bottom: 1%; }
  .fx-e-prod-g { left: 4%; } .fx-e-prod-d { right: 4%; }
  .fx-compo--adhesion { aspect-ratio: 1 / 1.16; margin-top: var(--sp-8); }
  .fx-carte-flip { top: 0; font-size: 3.9cqi; }
  .fx-frise--2, .fx-frise--3 { grid-template-columns: 1fr; gap: var(--sp-4); max-width: 420px; }
  .fx-frise--2 > :last-child, .fx-frise--3 > :nth-child(2), .fx-frise--3 > :nth-child(3) { margin-top: 0; }
  .fx-reste { padding: var(--sp-16) 0; }
  .fx-liste { grid-template-columns: 1fr; gap: var(--sp-8); }
}

/* ═════════════════════════ Morceaux d'écran recodés (components/Ecran.astro) ═════════════════════════
   Cotes reprises du code Flutter du template (relevé du 2026-11-11), en px logiques de
   l'app multipliés par --p. --p vaut (largeur occupée dans le conteneur) / (largeur du
   morceau dans l'app) : `--part` = fraction de la largeur du conteneur de requête le plus
   proche (.fx-compo ou une cellule .fx-cell). Polices : Space Grotesk (titres) et DM Sans
   (texte), comme le thème par défaut. Couleurs : AppColors (primary #6D28D9). */
@property --p { syntax: '<length>'; inherits: true; initial-value: 1px; }
:where(.ap) { --part: 1; }
.ap { --p: calc(100cqi * var(--part) / var(--w)); width: calc(var(--w) * var(--p)); font-family: 'DM Sans', var(--font-body); color: #141412; line-height: normal; text-align: left; }
.ap p { margin: 0; }
.ap img { display: block; }
.ap-ic { display: block; flex: none; width: 1em; height: 1em; }
.ap--produit { --w: 181; } .ap--evenement { --w: 353; } .ap--qr { --w: 268; } .ap--valide { --w: 345; }
.ap--stock { --w: 361; } .ap--points { --w: 361; } .ap--recompense { --w: 361; } .ap--annonces { --w: 353; }
.ap--bulles { --w: 369; } .ap--ciblage { --w: 353; } .ap--crous { --w: 353; } .ap--edt { --w: 353; }
.ap--hub { --w: 353; } .ap--canaux { --w: 353; } .ap--bureau { --w: 353; } .ap--projet { --w: 361; }
.ap--taches { --w: 361; } .ap--post { --w: 393; }

/* Textes communs (AppStyles) */
.ap-t14 { font-family: 'Space Grotesk', sans-serif; font-size: calc(14 * var(--p)); font-weight: 600; }
.ap-t15 { font-family: 'Space Grotesk', sans-serif; font-size: calc(15 * var(--p)); font-weight: 600; }
.ap-b12 { font-size: calc(12 * var(--p)); font-weight: 600; }
.ap-r11 { font-size: calc(11 * var(--p)); color: #6B6B64; }
.ap-r12 { font-size: calc(12 * var(--p)); color: #6B6B64; }
.ap-r13 { font-size: calc(13 * var(--p)); color: #6B6B64; }
.ap-meta { display: flex; align-items: center; gap: calc(5 * var(--p)); font-size: calc(13 * var(--p)); color: #6B6B64; white-space: nowrap; }
.ap-meta .ap-ic { font-size: calc(14 * var(--p)); }
.ap-meta i { width: calc(7 * var(--p)); }
.ap-card { background: #fff; border: 0.5px solid #E5E5E0; border-radius: calc(16 * var(--p)); overflow: hidden; }
.ap-menu { color: #6B6B64; font-size: calc(18 * var(--p)); }
.ap-chev { font-size: calc(18 * var(--p)); }

/* Ombre « posé sur la page » (le morceau flotte, comme une carte qu'on aurait sortie de l'app) */
.ap-card, .ap-points, .ap-valide, .ap-qr-cadre, .ap-annonce, .ap-tuile, .ap-tuile-card, .ap-outil, .ap-post, .ap-bulle { box-shadow: 0 calc(14 * var(--p)) calc(34 * var(--p)) rgba(26, 10, 61, 0.10); }

/* 1. Carte produit : 3:4, photo pleine, « + » 40 px en bas à droite */
.ap-produit { display: flex; flex-direction: column; aspect-ratio: 3 / 4; border-width: 1px; }
.ap-produit-photo { position: relative; flex: 1; min-height: 0; }
.ap-produit-photo img { width: 100%; height: 100%; object-fit: cover; }
.ap-plus { position: absolute; right: calc(8 * var(--p)); bottom: calc(8 * var(--p)); display: grid; place-items: center; width: calc(40 * var(--p)); height: calc(40 * var(--p)); border-radius: 50%; background: #6D28D9; color: #fff; font-size: calc(20 * var(--p)); box-shadow: 0 calc(2 * var(--p)) calc(4 * var(--p)) rgba(0,0,0,.3), 0 calc(1 * var(--p)) calc(8 * var(--p)) rgba(0,0,0,.15); }
.ap-produit-txt { padding: calc(8 * var(--p)) calc(12 * var(--p)) calc(10 * var(--p)); }
.ap-produit-txt .ap-t14 { line-height: 1.25; }
.ap-prix { display: flex; flex-wrap: wrap; align-items: center; gap: calc(2 * var(--p)) calc(6 * var(--p)); margin-top: calc(4 * var(--p)) !important; }
.ap-prix b { font-size: calc(14 * var(--p)); font-weight: 600; color: #6D28D9; }
.ap-prix s { font-size: calc(13 * var(--p)); color: #6B6B64; }
.ap-badge-or { padding: calc(1 * var(--p)) calc(5 * var(--p)); border-radius: calc(4 * var(--p)); background: #FEF3C7; color: #D97706; font-family: 'Space Grotesk', sans-serif; font-size: calc(11 * var(--p)); font-weight: 700; letter-spacing: calc(0.5 * var(--p)); }

/* 2. Carte événement */
.ap-evt-photo { position: relative; aspect-ratio: 16 / 10; }
.ap-evt-photo img { width: 100%; height: 100%; object-fit: cover; }
.ap-statut { position: absolute; top: calc(12 * var(--p)); right: calc(12 * var(--p)); padding: calc(7 * var(--p)) calc(12 * var(--p)); border-radius: calc(20 * var(--p)); background: rgba(255,255,255,.95); border: 1px solid rgba(34,197,94,.35); color: #22C55E; font-size: calc(12 * var(--p)); font-weight: 700; }
.ap-date { position: absolute; left: calc(12 * var(--p)); bottom: calc(12 * var(--p)); padding: calc(7 * var(--p)) calc(14 * var(--p)); border-radius: calc(6 * var(--p)); background: rgba(0,0,0,.78); color: #fff; font-family: 'Space Grotesk', sans-serif; font-size: calc(13 * var(--p)); font-weight: 700; letter-spacing: calc(0.4 * var(--p)); }
.ap-evt-info { padding: calc(14 * var(--p)) calc(16 * var(--p)); }
.ap-evt-titre { font-family: 'Space Grotesk', sans-serif; font-size: calc(20 * var(--p)); font-weight: 700; line-height: 1.15; }
.ap-evt-info .ap-meta { margin-top: calc(8 * var(--p)); }
.ap-evt-infos { margin-top: calc(12 * var(--p)) !important; font-size: calc(13 * var(--p)); font-weight: 600; color: #6B6B64; }

/* 3. QR de commande (BdeasyQRCard) et carte « Commande validée ! » */
.ap-qr { display: flex; flex-direction: column; align-items: center; }
.ap-qr-cadre { position: relative; width: calc(268 * var(--p)); height: calc(268 * var(--p)); padding: calc(24 * var(--p)); box-sizing: border-box; background: #fff; border: 1.5px solid #EDE9FE; border-radius: calc(24 * var(--p)); }
.ap-qr-cadre svg { display: block; width: 100%; height: 100%; }
.ap-qr-logo { position: absolute; top: 50%; left: 50%; width: calc(48 * var(--p)); height: calc(48 * var(--p)); padding: calc(4 * var(--p)); box-sizing: border-box; translate: -50% -50%; background: #fff; border-radius: calc(10 * var(--p)); }
.ap-qr-logo img { width: 100%; height: 100%; border-radius: calc(6 * var(--p)); }
.ap-qr-num { margin-top: calc(16 * var(--p)); padding: calc(8 * var(--p)) calc(16 * var(--p)); border-radius: calc(10 * var(--p)); background: rgba(109,40,217,.10); color: #6D28D9; font-size: calc(14 * var(--p)); font-weight: 500; letter-spacing: calc(3 * var(--p)); }
.ap-qr-mini { margin-top: calc(8 * var(--p)) !important; font-size: calc(11 * var(--p)); color: #6B6B64; }
.ap-valide { display: flex; flex-direction: column; align-items: center; text-align: center; padding: calc(20 * var(--p)); border-radius: calc(16 * var(--p)); background: #E6F9EE; border: 1px solid rgba(0,200,81,.4); }
.ap-valide-ic { color: #00C851; font-size: calc(48 * var(--p)); }
.ap-valide-ic .ap-ic { stroke-width: 1.8; }
.ap-valide-t { margin-top: calc(12 * var(--p)) !important; font-family: 'Space Grotesk', sans-serif; font-size: calc(16 * var(--p)); font-weight: 600; color: #00C851; }
.ap-valide-txt { margin-top: calc(6 * var(--p)) !important; font-size: calc(13 * var(--p)); color: #6B6B64; }
.ap-valide-date { margin-top: calc(6 * var(--p)) !important; font-size: calc(12 * var(--p)); color: #6B6B64; }

/* 4. Ligne de stock (version actuelle : un bouton, le reste dans le menu) */
.ap-stock { display: flex; gap: calc(12 * var(--p)); padding: calc(12 * var(--p)); border-radius: calc(14 * var(--p)); border-width: 1px; }
.ap-vignette { width: calc(48 * var(--p)); height: calc(48 * var(--p)); border-radius: calc(8 * var(--p)); object-fit: cover; flex: none; }
.ap-vignette--56 { width: calc(56 * var(--p)); height: calc(56 * var(--p)); border-radius: calc(10 * var(--p)); }
.ap-stock-col { flex: 1; min-width: 0; }
.ap-stock-l1 { display: flex; align-items: center; gap: calc(8 * var(--p)); }
.ap-stock-l1 .ap-b12 { flex: 1; }
.ap-pastille-stock { padding: calc(4 * var(--p)) calc(8 * var(--p)); border-radius: calc(6 * var(--p)); background: #22C55E; color: #fff; font-size: calc(11 * var(--p)); font-weight: 700; white-space: nowrap; }
.ap-stock-col .ap-r12 { margin-top: calc(4 * var(--p)) !important; }
.ap-stock-actions { display: flex; align-items: center; gap: calc(6 * var(--p)); margin-top: calc(8 * var(--p)); }
.ap-btn-contour { flex: 1; display: flex; align-items: center; justify-content: center; gap: calc(8 * var(--p)); min-height: calc(36 * var(--p)); border: 1px solid #6D28D9; border-radius: calc(12 * var(--p)); color: #6D28D9; font-size: calc(11 * var(--p)); font-weight: 600; }
.ap-btn-contour .ap-ic { font-size: calc(15 * var(--p)); }

/* 5. Points et récompense */
.ap-points { padding: calc(18 * var(--p)); border-radius: calc(16 * var(--p)); color: #fff; background: linear-gradient(135deg, #6D28D9, #4C1D95); box-shadow: 0 calc(6 * var(--p)) calc(16 * var(--p)) rgba(109,40,217,.2), 0 calc(14 * var(--p)) calc(34 * var(--p)) rgba(26,10,61,.10); }
.ap-points-haut { display: flex; align-items: center; gap: calc(14 * var(--p)); }
.ap-points-ic { color: #FFD27A; font-size: calc(28 * var(--p)); }
.ap-points-lbl { font-size: calc(13 * var(--p)); font-weight: 500; color: rgba(255,255,255,.7); }
.ap-points-nb { margin-top: calc(2 * var(--p)) !important; font-size: calc(14 * var(--p)); font-weight: 500; color: rgba(255,255,255,.7); }
.ap-points-nb b { font-family: 'Space Grotesk', sans-serif; font-size: calc(28 * var(--p)); font-weight: 700; line-height: 1; color: #fff; }
.ap-points-barre { height: calc(8 * var(--p)); margin-top: calc(16 * var(--p)); border-radius: calc(6 * var(--p)); background: rgba(255,255,255,.22); overflow: hidden; }
.ap-points-barre i { display: block; height: 100%; border-radius: inherit; background: #FFD27A; }
.ap-points-cap { margin-top: calc(8 * var(--p)) !important; font-size: calc(12 * var(--p)); font-weight: 500; color: rgba(255,255,255,.85); }
.ap-recompense { border-radius: calc(14 * var(--p)); }
.ap-recompense-haut { display: flex; align-items: center; gap: calc(12 * var(--p)); padding: calc(14 * var(--p)); }
.ap-recompense-pts { display: flex; align-items: center; gap: calc(4 * var(--p)); margin-top: calc(4 * var(--p)) !important; color: #D97706; font-size: calc(12 * var(--p)); font-weight: 600; }
.ap-recompense-pts .ap-ic { font-size: calc(14 * var(--p)); }
.ap-dispo { margin-left: calc(4 * var(--p)); padding: calc(2 * var(--p)) calc(6 * var(--p)); border-radius: calc(4 * var(--p)); background: #EDE9FE; color: #6D28D9; font-size: calc(11 * var(--p)); font-weight: 600; }
.ap-recompense-bas { padding: calc(10 * var(--p)) calc(12 * var(--p)) calc(12 * var(--p)); border-top: 1px solid #E5E5E0; text-align: center; }
.ap-btn-plein { display: flex; align-items: center; justify-content: center; gap: calc(8 * var(--p)); height: calc(44 * var(--p)); border-radius: calc(12 * var(--p)); background: #6D28D9; color: #fff; font-family: 'Space Grotesk', sans-serif; font-size: calc(16 * var(--p)); font-weight: 600; }
.ap-btn-plein .ap-ic { font-size: calc(16 * var(--p)); }
.ap-recompense-bas .ap-r11 { margin-top: calc(6 * var(--p)) !important; }

/* 6. Annonces et bulles */
.ap-annonces { display: flex; flex-direction: column; gap: calc(12 * var(--p)); }
.ap-annonce { padding: calc(16 * var(--p)); border-radius: calc(16 * var(--p)); background: #fff; border: 1px solid rgba(109,40,217,.25); }
.ap-annonce--urgent { border: 1.5px solid rgba(239,68,68,.55); }
.ap-annonce-l1 { display: flex; align-items: center; justify-content: space-between; }
.ap-pill-urgent, .ap-pill-bde { display: inline-flex; align-items: center; gap: calc(4 * var(--p)); padding: calc(3 * var(--p)) calc(8 * var(--p)); border-radius: calc(6 * var(--p)); }
.ap-pill-urgent { background: #EF4444; color: #fff; font-size: calc(10 * var(--p)); font-weight: 700; letter-spacing: calc(0.6 * var(--p)); }
.ap-pill-urgent .ap-ic { font-size: calc(11 * var(--p)); }
.ap-pill-bde { background: rgba(109,40,217,.10); color: #6D28D9; font-size: calc(11 * var(--p)); font-weight: 600; }
.ap-pill-bde .ap-ic { font-size: calc(12 * var(--p)); }
.ap-annonce-t { margin-top: calc(10 * var(--p)) !important; font-family: 'Space Grotesk', sans-serif; font-size: calc(13 * var(--p)); font-weight: 600; }
.ap-annonce .ap-r13 { margin-top: calc(6 * var(--p)) !important; line-height: 1.4; }
.ap-bulles { display: flex; flex-direction: column; gap: calc(8 * var(--p)); }
.ap-msg { display: flex; flex-direction: column; align-items: flex-start; }
.ap-msg--moi { align-items: flex-end; }
.ap-bulle { max-width: calc(317 * var(--p)); padding: calc(10 * var(--p)) calc(14 * var(--p)); border-radius: calc(12 * var(--p)) calc(12 * var(--p)) calc(12 * var(--p)) calc(2 * var(--p)); background: #F3F3F0; font-size: calc(15 * var(--p)); line-height: 1.35; }
.ap-msg--moi .ap-bulle { border-radius: calc(12 * var(--p)) calc(12 * var(--p)) calc(2 * var(--p)) calc(12 * var(--p)); background: rgba(109,40,217,.9); color: #fff; }
.ap-msg-meta { display: flex; align-items: center; gap: calc(2 * var(--p)); padding: calc(4 * var(--p)) calc(4 * var(--p)) calc(2 * var(--p)); font-size: calc(10 * var(--p)); color: #6B6B64; }
.ap-msg-meta .ap-ic { font-size: calc(13 * var(--p)); margin-left: calc(4 * var(--p)); stroke-width: 2.5; }

/* 7. Ciblage */
.ap-ciblage-lbl { font-size: calc(11 * var(--p)); font-weight: 700; letter-spacing: calc(1.2 * var(--p)); color: #6B6B64; }
.ap-chips { display: flex; flex-wrap: wrap; gap: calc(8 * var(--p)); margin-top: calc(8 * var(--p)); }
.ap-chips span { padding: calc(8 * var(--p)) calc(14 * var(--p)); border-radius: calc(20 * var(--p)); background: #F3F3F0; border: 1px solid #E5E5E0; font-size: calc(13 * var(--p)); font-weight: 500; }
.ap-chips .is-on { background: #6D28D9; border-color: #6D28D9; color: #fff; font-weight: 600; }

/* 8-9. Calendrier : Resto U et EDT */
.ap-cal-tete { display: flex; align-items: center; gap: calc(12 * var(--p)); }
.ap-cal-tete > span { font-size: calc(18 * var(--p)); color: #6D28D9; }
.ap-cal-tete .ap-r12 { margin-top: calc(1 * var(--p)) !important; }
.ap-jours { display: flex; gap: calc(8 * var(--p)); margin-top: calc(14 * var(--p)); }
.ap-jours span { display: flex; align-items: center; height: calc(36 * var(--p)); padding: 0 calc(14 * var(--p)); border-radius: calc(10 * var(--p)); background: #F3F3F0; border: 0.5px solid #E5E5E0; font-size: calc(12 * var(--p)); font-weight: 600; }
.ap-jours .is-on { background: #6D28D9; border-color: #6D28D9; color: #fff; }
.ap-repas { margin-top: calc(12 * var(--p)); }
.ap-repas-bandeau { display: flex; align-items: center; gap: calc(6 * var(--p)); padding: calc(10 * var(--p)) calc(16 * var(--p)); background: rgba(109,40,217,.08); color: #6D28D9; font-size: calc(12 * var(--p)); font-weight: 600; }
.ap-repas-bandeau .ap-ic { font-size: calc(14 * var(--p)); }
.ap-repas-corps { padding: calc(16 * var(--p)); }
.ap-plat { position: relative; margin-bottom: calc(6 * var(--p)) !important; padding-left: calc(15 * var(--p)); font-size: calc(13 * var(--p)); }
.ap-plat::before { content: ''; position: absolute; left: 0; top: calc(6 * var(--p)); width: calc(5 * var(--p)); height: calc(5 * var(--p)); border-radius: 50%; background: #6D28D9; }
.ap-plat--vege::before { background: #22A06B; }
.ap-vege { display: inline-flex; align-items: center; gap: calc(5 * var(--p)); margin: calc(4 * var(--p)) 0 calc(8 * var(--p)); padding: calc(4 * var(--p)) calc(8 * var(--p)); border-radius: calc(6 * var(--p)); background: rgba(34,160,107,.10); color: #22A06B; font-size: calc(11 * var(--p)); font-weight: 600; }
.ap-vege .ap-ic { font-size: calc(12 * var(--p)); }
.ap-cours-liste { display: flex; flex-direction: column; gap: calc(10 * var(--p)); margin-top: calc(14 * var(--p)); }
.ap-cours { display: flex; align-items: stretch; }
.ap-cours > i { width: calc(4 * var(--p)); flex: none; background: #6D28D9; }
.ap-cours-h { display: flex; flex-direction: column; justify-content: center; gap: calc(2 * var(--p)); padding: calc(12 * var(--p)) calc(14 * var(--p)); }
.ap-cours-h b { font-size: calc(12 * var(--p)); font-weight: 600; }
.ap-cours-h span { font-size: calc(12 * var(--p)); color: #6B6B64; }
.ap-cours-d { flex: 1; padding: calc(12 * var(--p)) calc(14 * var(--p)) calc(12 * var(--p)) calc(2 * var(--p)); }
.ap-cours-d .ap-meta { margin-top: calc(4 * var(--p)); gap: calc(4 * var(--p)); font-size: calc(12 * var(--p)); }
.ap-cours-d .ap-meta .ap-ic { font-size: calc(12 * var(--p)); }

/* 10. Hub : outils et canaux */
.ap-hub { display: flex; flex-direction: column; gap: calc(12 * var(--p)); }
.ap-hub-ligne { display: grid; grid-template-columns: 1fr 1fr; gap: calc(12 * var(--p)); }
.ap-outil { display: flex; flex-direction: column; justify-content: space-between; gap: calc(12 * var(--p)); min-height: calc(112 * var(--p)); padding: calc(14 * var(--p)); box-sizing: border-box; border-radius: calc(16 * var(--p)); background: color-mix(in srgb, var(--c) 10%, #fff); }
.ap-outil > span:first-child { color: var(--c); font-size: calc(26 * var(--p)); }
.ap-outil-n { margin-top: calc(2 * var(--p)) !important; font-size: calc(12 * var(--p)); font-weight: 600; color: var(--c); }
.ap-outil--large { flex-direction: row; align-items: center; gap: calc(14 * var(--p)); min-height: calc(76 * var(--p)); }
.ap-outil--large > span:first-child { font-size: calc(24 * var(--p)); }
.ap-outil--large > div { flex: 1; }
.ap-outil--large .ap-chev { color: color-mix(in srgb, var(--c) 70%, transparent); }
.ap-canaux { display: grid; grid-template-columns: 1fr 1fr; gap: calc(12 * var(--p)); }
.ap-canal { display: flex; flex-direction: column; height: calc(237 * var(--p)); padding: calc(14 * var(--p)); box-sizing: border-box; }
.ap-canal > span:first-child { color: var(--c); font-size: calc(24 * var(--p)); }
.ap-canal .ap-t14 { margin-top: calc(10 * var(--p)) !important; }
.ap-canal-desc { height: calc(57 * var(--p)); margin-top: calc(3 * var(--p)) !important; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; font-size: calc(13 * var(--p)); line-height: 1.3; color: #6B6B64; }
.ap-canal-act { margin-top: auto !important; }
.ap-suivre { align-self: flex-start; display: flex; align-items: center; gap: calc(5 * var(--p)); margin-top: calc(8 * var(--p)); padding: calc(7 * var(--p)) calc(12 * var(--p)); border: 0.8px solid #E5E5E0; border-radius: calc(20 * var(--p)); font-size: calc(11 * var(--p)); font-weight: 600; }
.ap-suivre .ap-ic { font-size: calc(15 * var(--p)); stroke-width: 2.4; }

/* 11. Tuiles du Bureau : blanches, sans bordure */
.ap-bureau { display: flex; flex-direction: column; gap: calc(12 * var(--p)); }
.ap-tuile { display: flex; align-items: center; gap: calc(14 * var(--p)); padding: calc(16 * var(--p)); border-radius: calc(16 * var(--p)); background: #fff; }
.ap-tuile > span:first-child { font-size: calc(24 * var(--p)); }
.ap-tuile > div { flex: 1; }
.ap-tuile .ap-chev { color: #6B6B64; }
.ap-etat { display: flex; align-items: center; gap: calc(5 * var(--p)); margin-top: calc(4 * var(--p)) !important; font-size: calc(11 * var(--p)); font-weight: 600; }
.ap-etat i { width: calc(6 * var(--p)); height: calc(6 * var(--p)); border-radius: 50%; background: currentColor; }

/* 12. Carte projet */
.ap-tuile-card { padding: calc(14 * var(--p)); border-radius: calc(14 * var(--p)); background: #fff; }
.ap-projet-tete { display: flex; align-items: flex-start; gap: calc(12 * var(--p)); }
.ap-projet-ic { color: #6D28D9; font-size: calc(20 * var(--p)); }
.ap-projet-tete > div { flex: 1; }
.ap-projet-tete .ap-r12 { margin-top: calc(2 * var(--p)) !important; }
.ap-statut-pj { padding: calc(3 * var(--p)) calc(8 * var(--p)); border-radius: calc(6 * var(--p)); background: rgba(245,158,11,.15); color: #F59E0B; font-size: calc(11 * var(--p)); font-weight: 600; }
.ap-projet-desc { margin-top: calc(6 * var(--p)) !important; }
.ap-projet-date { margin-top: calc(8 * var(--p)); font-size: calc(12 * var(--p)); }
.ap-projet-date .ap-ic { font-size: calc(13 * var(--p)); }
.ap-budget { display: flex; align-items: center; gap: calc(5 * var(--p)); margin-top: calc(12 * var(--p)); color: #B45309; font-size: calc(13 * var(--p)); }
.ap-budget p { flex: 1; font-size: calc(12 * var(--p)); color: #6B6B64; }
.ap-budget b { font-size: calc(11 * var(--p)); font-weight: 600; color: #B45309; }
.ap-budget strong { font-size: calc(11 * var(--p)); font-weight: 600; color: #6B6B64; }
.ap-budget-barre { height: calc(6 * var(--p)); margin-top: calc(6 * var(--p)); border-radius: calc(4 * var(--p)); background: #F3F3F0; overflow: hidden; }
.ap-budget-barre i { display: block; height: 100%; border-radius: inherit; background: #D97706; }
.ap-resp { display: flex; align-items: center; gap: calc(6 * var(--p)); margin-top: calc(12 * var(--p)) !important; font-size: calc(11 * var(--p)); font-weight: 600; }
.ap-av { display: grid; place-items: center; width: calc(22 * var(--p)); height: calc(22 * var(--p)); border-radius: 50%; background: #EDE9FE; color: #6D28D9; font-size: calc(11 * var(--p)); font-weight: 600; }
.ap-av--s { width: calc(18 * var(--p)); height: calc(18 * var(--p)); background: rgba(109,40,217,.15); font-size: calc(9 * var(--p)); }

/* 13. Tâches */
.ap-taches { display: flex; flex-direction: column; }
.ap-section { display: flex; align-items: center; gap: calc(6 * var(--p)); padding: calc(8 * var(--p)) 0; font-size: calc(11 * var(--p)); font-weight: 600; letter-spacing: calc(0.4 * var(--p)); color: #6B6B64; }
.ap-section i { width: calc(8 * var(--p)); height: calc(8 * var(--p)); border-radius: 50%; background: var(--c); }
.ap-tache { margin-bottom: calc(8 * var(--p)); }
.ap-tache-l1 { display: flex; align-items: flex-start; gap: calc(12 * var(--p)); }
.ap-tache-l1 > div { flex: 1; }
.ap-tache-l1 .ap-r12 { margin-top: calc(2 * var(--p)) !important; }
.ap-case { display: grid; place-items: center; width: calc(22 * var(--p)); height: calc(22 * var(--p)); box-sizing: border-box; flex: none; border: 1.5px solid #E5E5E0; border-radius: calc(6 * var(--p)); color: #6D28D9; font-size: calc(16 * var(--p)); }
.ap-case.is-ok { border-color: #6D28D9; }
.ap-tache--fait .ap-t15 { text-decoration: line-through; color: #6B6B64; }
.ap-tache-chips { display: flex; flex-wrap: wrap; align-items: center; gap: calc(8 * var(--p)); margin: calc(8 * var(--p)) 0 0 calc(34 * var(--p)); }
.ap-prio { display: flex; align-items: center; gap: calc(5 * var(--p)); padding: calc(3 * var(--p)) calc(8 * var(--p)); border-radius: calc(6 * var(--p)); background: color-mix(in srgb, var(--c) 12%, transparent); color: var(--c); font-size: calc(11 * var(--p)); font-weight: 600; }
.ap-prio i { width: calc(8 * var(--p)); height: calc(8 * var(--p)); border-radius: 50%; background: currentColor; }
.ap-assigne { display: flex; align-items: center; gap: calc(5 * var(--p)); padding: calc(3 * var(--p)) calc(8 * var(--p)) calc(3 * var(--p)) calc(3 * var(--p)); border-radius: calc(20 * var(--p)); background: #F3F3F0; color: #6B6B64; font-size: calc(11 * var(--p)); font-weight: 600; }
.ap-due { display: flex; align-items: center; gap: calc(4 * var(--p)); color: #6B6B64; font-size: calc(11 * var(--p)); font-weight: 600; }
.ap-due .ap-ic { font-size: calc(13 * var(--p)); }

/* 14. Post du fil : pleine largeur, filets haut et bas, image 4:5 */
.ap-post { background: #fff; border-top: 1px solid #E5E5E0; border-bottom: 1px solid #E5E5E0; }
.ap-post-tete { display: flex; align-items: center; gap: calc(10 * var(--p)); padding: calc(14 * var(--p)) calc(16 * var(--p)) calc(10 * var(--p)); }
.ap-post-tete > div { flex: 1; }
.ap-logo { display: block; width: calc(36 * var(--p)); height: calc(36 * var(--p)); padding: calc(3 * var(--p)); box-sizing: border-box; border: 1px solid #E5E5E0; border-radius: calc(8 * var(--p)); background: #fff; }
.ap-logo img { width: 100%; height: 100%; object-fit: contain; }
.ap-post-temps { font-size: calc(12 * var(--p)); color: #A8A89E; }
.ap-cat { padding: calc(4 * var(--p)) calc(8 * var(--p)); border-radius: calc(20 * var(--p)); background: #F3F3F0; color: #6B6B64; font-size: calc(11 * var(--p)); font-weight: 600; }
.ap-post-media { position: relative; aspect-ratio: 4 / 5; }
.ap-post-media img { width: 100%; height: 100%; object-fit: cover; }
.ap-post-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 45%, rgba(0,0,0,.25) 75%, rgba(0,0,0,.62) 100%); }
.ap-post-titre { position: absolute; left: calc(16 * var(--p)); right: calc(16 * var(--p)); bottom: calc(16 * var(--p)); z-index: 1; font-family: 'Space Grotesk', sans-serif; font-size: calc(20 * var(--p)); font-weight: 700; line-height: 1.18; color: #fff; text-shadow: 0 0 calc(8 * var(--p)) rgba(0,0,0,.54); }
.ap-post-texte { padding: calc(12 * var(--p)) calc(16 * var(--p)); font-size: calc(14 * var(--p)); line-height: 1.45; }
.ap-post-actions { display: flex; gap: 0; padding: calc(4 * var(--p)) calc(8 * var(--p)); border-top: 1px solid #E5E5E0; }
.ap-post-actions > span { display: flex; align-items: center; gap: calc(6 * var(--p)); padding: calc(10 * var(--p)) calc(12 * var(--p)); color: #6B6B64; font-size: calc(12 * var(--p)); font-weight: 600; }
.ap-post-actions .ap-ic { font-size: calc(20 * var(--p)); }



/* Tap to Pay sur iPhone : barre d'encaissement de la vente externe (external_payment_screen.dart,
   _buildBottomBar) et écran « OK » de la simulation de la démo. */
.ap--ttp { --w: 361; } .ap--ttp-ok { --w: 300; }
.ap-ttp { border-radius: calc(16 * var(--p)); overflow: hidden; background: #FAFAF8; box-shadow: 0 0 0 1px rgba(20,20,18,.06), 0 calc(14 * var(--p)) calc(34 * var(--p)) rgba(26,10,61,.10); }
.ap-ttp-panier { display: flex; flex-direction: column; gap: calc(8 * var(--p)); padding: calc(14 * var(--p)); }
.ap-ttp-ligne { display: flex; align-items: center; gap: calc(12 * var(--p)); padding: calc(10 * var(--p)); border-radius: calc(14 * var(--p)); background: #fff; border: 1px solid #E5E5E0; }
.ap-ttp-ligne > div { flex: 1; }
.ap-ttp-ligne .ap-r12 { margin-top: calc(2 * var(--p)) !important; }
.ap-vignette-vide { display: grid; place-items: center; background: #F3F3F0; color: #6D28D9; font-size: calc(22 * var(--p)); }
.ap-ttp-qte { display: grid; place-items: center; min-width: calc(30 * var(--p)); height: calc(30 * var(--p)); border-radius: calc(10 * var(--p)); background: #EDE9FE; color: #6D28D9; font-size: calc(13 * var(--p)); font-weight: 700; }
.ap-ttp-barre { display: flex; flex-direction: column; gap: calc(8 * var(--p)); padding: calc(12 * var(--p)) calc(16 * var(--p)) calc(16 * var(--p)); background: #fff; border-top: 1px solid #E5E5E0; }
.ap-ttp-total { display: flex; align-items: center; justify-content: space-between; }
.ap-ttp-total span { font-size: calc(12 * var(--p)); color: #6B6B64; }
.ap-ttp-total b { font-family: 'Space Grotesk', sans-serif; font-size: calc(20 * var(--p)); font-weight: 700; color: #6D28D9; }
.ap-ttp-btn, .ap-ttp-especes { display: flex; align-items: center; justify-content: center; gap: calc(8 * var(--p)); padding: calc(16 * var(--p)) 0; border-radius: calc(12 * var(--p)); font-family: 'Space Grotesk', sans-serif; font-size: calc(15 * var(--p)); font-weight: 600; }
.ap-ttp-btn { background: #6D28D9; color: #fff; }
.ap-ttp-btn .ap-ic { font-size: calc(18 * var(--p)); }
.ap-ttp-especes { border: 1px solid #E5E5E0; color: #6D28D9; }
.ap-ttp-ok { display: flex; flex-direction: column; align-items: center; padding: calc(32 * var(--p)) calc(24 * var(--p)) calc(28 * var(--p)); border-radius: calc(24 * var(--p)); background: #111114; color: #fff; box-shadow: 0 calc(18 * var(--p)) calc(44 * var(--p)) rgba(17,17,20,.35); }
.ap-ttp-coche { display: grid; place-items: center; width: calc(84 * var(--p)); height: calc(84 * var(--p)); border-radius: 50%; background: #22C55E; font-size: calc(44 * var(--p)); }
.ap-ttp-coche .ap-ic { stroke-width: 2.6; }
.ap-ttp-montant { margin-top: calc(24 * var(--p)) !important; font-family: 'Space Grotesk', sans-serif; font-size: calc(24 * var(--p)); font-weight: 700; }
.ap-ttp-oktxt { margin-top: calc(8 * var(--p)) !important; font-size: calc(16 * var(--p)); color: rgba(255,255,255,.7); }


/* Section Tap to Pay sur iPhone (home + fonctionnalités) */
.fx-sec--ttp { border-top: 1px solid var(--grey-89); }
.fx-etapes-ttp { list-style: decimal outside; margin: var(--sp-6) 0 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: var(--sp-2); font-size: 0.9375rem; line-height: 1.5; color: var(--v7-text-body); }
.fx-etapes-ttp li::marker { color: var(--purple-600); font-weight: 700; }
.fx-ttp-note { margin-top: var(--sp-6); font-size: 0.9375rem; line-height: 1.5; color: var(--grey-800); font-weight: 500; }
.fx-ttp-note a { color: var(--purple-600); text-decoration: underline; text-underline-offset: 3px; }
.fx-ttp-legal { margin: var(--sp-12) 0 0; max-width: 62rem; font-size: 0.75rem; line-height: 1.5; color: var(--grey-500); }
.fx-compo--ttp { aspect-ratio: 1 / 0.84; }
.fx-e-ttp { --part: .66; left: 0; top: 0; }
.fx-e-ttp-ok { --part: .44; right: 0; bottom: 0; }
@media (max-width: 768px) {
  .fx-compo--ttp { aspect-ratio: 1 / 1.08; }
  .fx-e-ttp { --part: .84; } .fx-e-ttp-ok { --part: .56; }
}


/* ═════════ Animation Tap to Pay sur iPhone (components/TtpAnimation.astro) ═════════
   Boucle de 8 s : vente externe → appui sur le bouton → écran sans contact → la carte
   s'approche du haut de l'iPhone → coche + OK → retour. Écran calé sur la découpe du
   cadre (849 × 1848 à (116, 36) sur 1080 × 1920). Figé sous prefers-reduced-motion. */
.ttpa { width: min(100%, 330px); margin: 0 auto; }
.ttpa-phone { position: relative; aspect-ratio: 1080 / 1920; filter: drop-shadow(0 30px 30px rgba(26,10,61,.2)); }
.ttpa-cadre { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.ttpa-screen { position: absolute; left: 10.65%; top: 1.875%; width: 78.7%; height: 96.25%; border-radius: 11.8% / 5.4%; overflow: hidden; background: #FAFAF8; container-type: inline-size; z-index: 1; }
.ttpa-s1, .ttpa-s2 { --p: calc(100cqi / 393); position: absolute; inset: 0; font-family: 'DM Sans', var(--font-body); color: #141412; }
.ttpa-s1 .v7-sb { position: relative; }
.ttpa-titre { margin: 0; padding: calc(6 * var(--p)) calc(16 * var(--p)) calc(10 * var(--p)); font-family: 'Space Grotesk', sans-serif; font-size: calc(18 * var(--p)); font-weight: 600; }
.ttpa-onglets { display: flex; border-bottom: 1px solid #E5E5E0; }
.ttpa-onglets span { flex: 1; padding: calc(10 * var(--p)) 0; text-align: center; font-size: calc(13 * var(--p)); font-weight: 600; color: #6B6B64; }
.ttpa-onglets .is-on { color: #6D28D9; box-shadow: inset 0 calc(-2 * var(--p)) 0 #6D28D9; }
.ttpa-corps { padding: calc(14 * var(--p)) calc(16 * var(--p)); display: flex; flex-direction: column; gap: calc(8 * var(--p)); }
.ttpa-h { margin: 0 0 calc(4 * var(--p)); font-family: 'Space Grotesk', sans-serif; font-size: calc(15 * var(--p)); font-weight: 600; }
.ttpa-ligne { display: flex; align-items: center; gap: calc(12 * var(--p)); padding: calc(10 * var(--p)); border-radius: calc(14 * var(--p)); background: #fff; border: 1px solid #E5E5E0; }
.ttpa-ligne img { width: calc(46 * var(--p)); height: calc(46 * var(--p)); border-radius: calc(8 * var(--p)); object-fit: cover; flex: none; }
.ttpa-ligne > div { flex: 1; min-width: 0; }
.ttpa-nom { margin: 0; font-size: calc(14 * var(--p)); font-weight: 600; }
.ttpa-prix { margin: calc(2 * var(--p)) 0 0; font-size: calc(12 * var(--p)); color: #6B6B64; }
.ttpa-qte { display: grid; place-items: center; min-width: calc(30 * var(--p)); height: calc(30 * var(--p)); border-radius: calc(10 * var(--p)); background: #6D28D9; color: #fff; font-size: calc(13 * var(--p)); font-weight: 700; }
.ttpa-plus { color: #6D28D9; width: calc(24 * var(--p)); height: calc(24 * var(--p)); }
.ttpa-plus svg, .ttpa-btn svg, .ttpa-sym svg, .ttpa-coche svg, .ttpa-ondes svg { display: block; width: 100%; height: 100%; }
.ttpa-barre { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: calc(8 * var(--p)); padding: calc(12 * var(--p)) calc(16 * var(--p)) calc(26 * var(--p)); background: #fff; border-top: 1px solid #E5E5E0; }
.ttpa-total { display: flex; align-items: center; justify-content: space-between; }
.ttpa-total span { font-size: calc(12 * var(--p)); color: #6B6B64; }
.ttpa-total b { font-family: 'Space Grotesk', sans-serif; font-size: calc(20 * var(--p)); font-weight: 700; color: #6D28D9; }
.ttpa-btn, .ttpa-especes { display: flex; align-items: center; justify-content: center; gap: calc(8 * var(--p)); padding: calc(15 * var(--p)) 0; border-radius: calc(12 * var(--p)); font-family: 'Space Grotesk', sans-serif; font-size: calc(14 * var(--p)); font-weight: 600; }
.ttpa-btn { background: #6D28D9; color: #fff; }
.ttpa-btn > span { width: calc(18 * var(--p)); height: calc(18 * var(--p)); }
.ttpa-especes { border: 1px solid #E5E5E0; color: #6D28D9; }
.ttpa-doigt { position: absolute; left: 50%; top: calc(72 * var(--p)); width: calc(44 * var(--p)); height: calc(44 * var(--p)); margin-left: calc(-22 * var(--p)); border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 0 calc(2 * var(--p)) rgba(255,255,255,.8); opacity: 0; }
.ttpa-s2 { display: flex; align-items: center; justify-content: center; background: #111114; color: #fff; opacity: 0; }
.ttpa-attente, .ttpa-ok { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 calc(32 * var(--p)); text-align: center; }
.ttpa-ok { opacity: 0; }
.ttpa-sym { width: calc(88 * var(--p)); height: calc(88 * var(--p)); color: #fff; }
.ttpa-coche { display: grid; place-items: center; width: calc(88 * var(--p)); height: calc(88 * var(--p)); padding: calc(20 * var(--p)); box-sizing: border-box; border-radius: 50%; background: #22C55E; color: #fff; }
.ttpa-montant { margin: calc(24 * var(--p)) 0 0; font-family: 'Space Grotesk', sans-serif; font-size: calc(28 * var(--p)); font-weight: 700; }
.ttpa-consigne { margin: calc(8 * var(--p)) 0 0; font-size: calc(15 * var(--p)); line-height: 1.4; color: rgba(255,255,255,.72); }
.ttpa-carte { position: absolute; z-index: 3; left: 22%; top: -2%; width: 56%; aspect-ratio: 85.6 / 54; border-radius: 7%/11%; background: linear-gradient(135deg, #1f2937, #4b5563 55%, #111827); box-shadow: 0 18px 30px rgba(0,0,0,.35); color: #fff; opacity: 0; transform: translate(70%, 150%) rotate(18deg); }
.ttpa-puce { position: absolute; left: 9%; top: 30%; width: 15%; aspect-ratio: 1.3; border-radius: 18%; background: linear-gradient(135deg, #f5d27a, #c9a646); }
.ttpa-ondes { position: absolute; right: 8%; top: 12%; width: 13%; aspect-ratio: 1; opacity: .8; }
.ttpa-carte b { position: absolute; left: 9%; bottom: 14%; font: 600 clamp(9px, 2.6vw, 13px)/1 ui-monospace, Menlo, monospace; letter-spacing: .12em; }
@media (prefers-reduced-motion: no-preference) {
  .ttpa-s2 { animation: ttpa-s2 8s infinite; }
  .ttpa-attente { animation: ttpa-attente 8s infinite; }
  .ttpa-ok { animation: ttpa-ok 8s infinite; }
  .ttpa-carte { animation: ttpa-carte 8s infinite; }
  .ttpa-doigt { animation: ttpa-doigt 8s infinite; }
  .ttpa-btn { animation: ttpa-btn 8s infinite; }
  .ttpa-sym { animation: ttpa-pulse 1.2s ease-in-out infinite; }
}
@keyframes ttpa-s2 { 0%, 21% { opacity: 0; } 24%, 72% { opacity: 1; } 76%, 100% { opacity: 0; } }
@keyframes ttpa-attente { 0%, 45% { opacity: 1; } 47%, 100% { opacity: 0; } }
@keyframes ttpa-ok { 0%, 45% { opacity: 0; transform: scale(.9); } 48% { opacity: 1; transform: scale(1.04); } 51%, 72% { opacity: 1; transform: scale(1); } 76%, 100% { opacity: 0; } }
@keyframes ttpa-carte {
  0%, 26% { opacity: 0; transform: translate(70%, 150%) rotate(18deg); }
  30% { opacity: 1; }
  38%, 47% { opacity: 1; transform: translate(0, -14%) rotate(-4deg); }
  56% { opacity: 0; transform: translate(-70%, -40%) rotate(-14deg); }
  100% { opacity: 0; transform: translate(70%, 150%) rotate(18deg); }
}
@keyframes ttpa-doigt { 0%, 11% { opacity: 0; transform: scale(.4); } 14% { opacity: 1; transform: scale(1); } 19%, 100% { opacity: 0; transform: scale(1.3); } }
@keyframes ttpa-btn { 0%, 13% { transform: scale(1); } 15% { transform: scale(.96); } 18%, 100% { transform: scale(1); } }
@keyframes ttpa-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

/* ═════════════════════════ Page Démo (/pages/demo) ═════════════════════════
   Body : `v7-home v7-demo` (pas de zoom grands écrans, cf. Socle). Le téléphone
   (.phone-device de refonte.css) est piloté par la HAUTEUR : panneau = écran moins la
   nav et les marges, téléphone = panneau moins son padding. La largeur est calculée
   explicitement (Safari ne la dérive pas de height + aspect-ratio). */
.v7-demo { --demo-panel-h: clamp(560px, calc(100svh - 72px - 2 * var(--sp-5)), 900px); --demo-phone-h: calc(var(--demo-panel-h) - 88px); }
.v7-demo-stage { padding: var(--sp-5) var(--sp-6); }
.v7-demo-grid { max-width: 1344px; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--sp-16); align-items: center; padding: 0; }
.v7-demo-copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-6); max-width: 540px; padding-left: var(--sp-10); }
.v7-demo-copy h1.v7-h2 { font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.5rem); }
.v7-demo-badge { display: inline-flex; align-items: center; gap: var(--sp-2); padding: 6px 14px; border-radius: 999px; background: var(--purple-50); color: var(--purple-700); font-size: 0.875rem; font-weight: 600; }
.v7-demo-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
@media (prefers-reduced-motion: no-preference) { .v7-demo-dot { animation: v7-demo-pulse 2s ease-out infinite; } }
@keyframes v7-demo-pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); } 70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.v7-demo-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-3); }
.v7-demo-list li { display: flex; align-items: center; gap: var(--sp-3); font-size: 1rem; line-height: 1.4; color: var(--v7-text-body); }
.v7-demo-list svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--purple-700); }
.v7-demo-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-6); margin-top: var(--sp-2); }
.v7-demo-more { font-size: 0.9375rem; color: var(--v7-text-body); }
.v7-demo-more a { color: var(--grey-800); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.v7-demo-panel {
  position: relative; height: var(--demo-panel-h); align-self: start;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-3);
  /* Plus de panneau coloré autour du téléphone (retour Thibaud 2026-11-10) : le
     téléphone est posé directement sur le fond de la page. */
  overflow: visible;
}
.v7-demo-hint { font-size: 0.875rem; font-weight: 600; color: var(--purple-700); }
.v7-demo .demo-phone { display: flex; justify-content: center; }
.v7-demo .demo-phone .phone-device { aspect-ratio: 1080 / 1920; height: var(--demo-phone-h); width: calc(var(--demo-phone-h) * 0.5625); max-width: 100%; margin: 0; }
/* Cadrage sur la DÉCOUPE RÉELLE du cadre (canal alpha de iphone-mockup.png : 849 × 1848 px
   à (116, 36) sur 1080 × 1920), mêmes valeurs que le composant Iphone.astro de la home.
   Les anciens insets (7,4 % / 7,5 %) étaient trop larges : l'app passait sous la coque et
   se faisait rogner sur les côtés (retour Thibaud du 2026-11-11). */
.v7-demo .demo-phone .phone-screen,
.v7-demo .demo-phone .phone-shadow::before { top: 1.875%; left: 10.65%; right: auto; bottom: auto; width: 78.7%; height: 96.25%; border-radius: 11.8% / 5.4%; }
.v7-demo .demo-phone .phone-screen { container-type: inline-size; background: #fff; }
/* Barre d'état : même dessin que .v7-sb (home) — heure et icônes centrées de part et
   d'autre de la Dynamic Island, police système, proportionnelle à l'écran (cqw). */
.v7-demo .demo-phone .phone-statusbar { height: 13.74cqw; padding: 0; font: 600 4.3cqw/1 -apple-system, BlinkMacSystemFont, 'SF Pro Text', var(--font-body); letter-spacing: -0.01em; color: #111; }
.v7-demo .demo-phone .phone-statusbar > span { width: 32%; display: flex; align-items: center; justify-content: center; gap: 1.3cqw; padding-top: 1cqw; }
.v7-demo .demo-phone .phone-statusbar svg { height: 2.9cqw; width: auto; color: #111; }
.v7-demo .demo-phone iframe { position: absolute; top: 13.74cqw; left: 0; width: 100%; height: calc(100% - 13.74cqw); border: 0; display: block; z-index: 1; transform-origin: top left; }

@media (max-width: 1024px) {
  .v7-demo-stage { padding: var(--sp-3); }
  .v7-demo { --demo-panel-h: clamp(560px, calc(100svh - 64px - 2 * var(--sp-3)), 860px); }
}
@media (max-width: 900px) {
  .v7-demo-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .v7-demo-copy { padding: var(--sp-8) var(--sp-3) 0; max-width: 600px; }
}

/* ═════════════════════════ Page Contact (/pages/contact) ═════════════════════════ */
.v7-contact-sec { padding: var(--sp-20) 0 var(--sp-24); }
.v7-contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--sp-16); align-items: start; }
.v7-contact-info { display: flex; flex-direction: column; gap: var(--sp-6); }
.v7-contact-info h1.v7-h2 { font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.5rem); }
.v7-contact-me { display: flex; align-items: center; gap: var(--sp-4); margin-top: var(--sp-2); }
.v7-contact-av { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--purple-600); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; flex-shrink: 0; }
.v7-contact-me div strong { display: block; font-weight: 600; color: var(--grey-800); }
.v7-contact-me div span { display: block; font-size: 0.9375rem; color: var(--v7-text-body); }
.v7-contact-ch { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-3); }
.v7-contact-ch a { font-weight: 600; font-size: 1.0625rem; color: var(--grey-800); text-decoration: underline; text-decoration-color: var(--purple-500, #8b5cf6); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.v7-contact-ch a:hover { color: var(--purple-700); }
.v7-contact-card { padding: var(--sp-8); border-radius: var(--radius-lg); background: #fff; box-shadow: 0 0 0 1px rgba(20, 20, 18, 0.06), var(--v7-shadow-card); }
.v7-form { display: flex; flex-direction: column; gap: var(--sp-5); }
.v7-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.v7-form label { display: flex; flex-direction: column; gap: var(--sp-2); }
.v7-form label span { font-weight: 600; font-size: 0.875rem; color: var(--grey-800); }
.v7-form input, .v7-form textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--grey-200, #e5e5e0); border-radius: 12px;
  font: 400 1rem/1.4 var(--font-body); color: var(--grey-800); background: var(--v7-bg, #fffdfb); resize: vertical;
}
.v7-form input:focus, .v7-form textarea:focus { outline: none; border-color: var(--purple-500, #8b5cf6); box-shadow: 0 0 0 3px var(--purple-50); }
.v7-form .v7-btn { align-self: flex-start; }
@media (max-width: 900px) {
  .v7-contact-sec { padding: var(--sp-12) 0 var(--sp-16); }
  .v7-contact-grid { grid-template-columns: 1fr; gap: var(--sp-10); }
  .v7-form-row { grid-template-columns: 1fr; }
  .v7-contact-card { padding: var(--sp-6); }
}


/* ═════════════════════════ Page Tarifs : la réponse d'abord ═════════════════════════ */
.v7-tarif-top { padding-bottom: var(--sp-16); }
.v7-tarif-kicker { font-weight: 600; font-size: 0.9375rem; color: var(--purple-700); margin-bottom: var(--sp-3); }
.v7-tarif-top h1 { font-size: clamp(3rem, 2rem + 4vw, 5.5rem); line-height: 1; letter-spacing: -0.03em; }
.v7-tarif-top .lead { max-width: 34em; margin-top: var(--sp-5); font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); }
.v7-tarif-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-6); margin-top: var(--sp-8); }
.v7-tarif-ctas { justify-content: center; }

/* Tarifs : bloc « Sur mesure » (tout module peut être demandé, le prix suit). */
.v7-sm { padding-top: 0; }
.v7-sm-box {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-16); align-items: center;
  padding: var(--sp-16); border-radius: var(--radius-xl);
  background: var(--v7-pricing);
}
.v7-sm-kicker { font-weight: 600; font-size: 0.9375rem; color: var(--purple-700); margin-bottom: var(--sp-3); }
.v7-sm-text .lead { margin-top: var(--sp-5); color: var(--grey-800); }
.v7-sm-text .v7-btn { margin-top: var(--sp-8); }
.v7-sm-list { padding: var(--sp-8); border-radius: var(--radius-lg); background: #fff; box-shadow: 0 0 0 1px rgba(20, 20, 18, 0.06), 0 20px 40px -24px rgba(26, 10, 61, 0.25); }
.v7-sm-label { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--v7-text-body); }
.v7-sm-list ul { list-style: none; margin: var(--sp-4) 0 0; padding: 0; }
.v7-sm-list li { display: flex; flex-direction: column; gap: 2px; padding: var(--sp-4) 0; border-top: 1px solid rgba(20, 20, 18, 0.08); }
.v7-sm-list li:first-child { border-top: 0; padding-top: 0; }
.v7-sm-list li:last-child { padding-bottom: 0; }
.v7-sm-list strong { font-weight: 600; font-size: 1.0625rem; color: var(--grey-800); }
.v7-sm-list span { font-size: 0.9375rem; line-height: 1.45; color: var(--v7-text-body); }
@media (max-width: 900px) {
  .v7-sm-box { grid-template-columns: 1fr; gap: var(--sp-8); padding: var(--sp-8) var(--sp-5); border-radius: var(--radius-lg); }
  .v7-sm-list { padding: var(--sp-6) var(--sp-5); }
}

/* ═════════════════════════ Mobile, refait (2026-11-10) ═════════════════════════
   Retour de Thibaud : « la version mobile, il faut la refaire complètement ».
   Principes : une idée par écran, rien qui se chevauche au point de gêner la
   lecture, les listes de cartes deviennent des bandes à faire glisser au doigt
   (scroll-snap natif, lisible sans JS), téléphones à taille de pouce. */
@media (max-width: 768px) {
  /* Héros : texte, puis une scène de 440 px où chaque objet a sa place. */
  .v7-hero-text { padding: var(--sp-10) var(--sp-5) var(--sp-2); gap: var(--sp-4); }
  .v7-hero-text h1 { font-size: clamp(2.25rem, 9.5vw, 2.75rem); line-height: 1.05; }
  .v7-hero-text .hero-sub { font-size: 1.0625rem; }
  .v7-hero-collage { min-height: 0; height: 470px; max-width: 400px; margin: 0 auto; }
  .v7-home .v7-hero-notif { left: 12px; right: 12px; top: 8px; width: auto; max-width: 330px; transform: rotate(-1.5deg); }
  .v7-evt { left: auto; right: 12px; top: 100px; width: 206px; z-index: 2; }
  .v7-evt-img { height: 118px; }
  .v7-evt-title { font-size: 0.9375rem; }
  .v7-member { left: 14px; top: 318px; transform: rotate(-3deg) scale(.72); transform-origin: 0 0; z-index: 3; }

  /* Moments : bande horizontale, une carte et le bord de la suivante. */
  .v7-moments .v7-wrap { gap: var(--sp-8); }
  .v7-moments .v7-head-center { gap: var(--sp-4); }
  .v7-cards {
    display: flex; gap: var(--sp-3); overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(-1 * var(--sp-4)); padding: 0 var(--sp-4) var(--sp-2); width: calc(100% + 2 * var(--sp-4));
    scroll-padding-left: var(--sp-4); scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .v7-cards::-webkit-scrollbar { display: none; }
  .v7-card { flex: 0 0 80%; min-height: 236px; scroll-snap-align: start; padding: var(--sp-6); }
  .v7-card p { max-width: 62%; font-size: 0.9375rem; }
  .v7-card-peek { width: 108px; right: 14px; transform: translateY(42%) rotate(-3deg); }
  .v7-card-go { opacity: 1; }

  /* Fonctionnalités : le texte d'abord, puis un téléphone de 230 px. */
  .v7-feat { padding: var(--sp-10) 0; }
  .v7-feat-grid { gap: var(--sp-8); }
  .v7-feat--rev .v7-feat-visual { order: 2; }
  .v7-feat-visual { height: auto; padding: var(--sp-2) 0 var(--sp-4); }
  .v7-feat-visual .v7-device { width: 230px; }
  .v7-feat-text .v7-lead { margin-top: var(--sp-4); }
  .v7-feat-text .v7-link { margin-top: var(--sp-5); }

  /* Personnalisation : plus compacte. */
  .v7-perso { padding: var(--sp-12) 0; }
  .v7-perso .v7-wrap { gap: var(--sp-8); }
  .v7-perso .v7-link { margin-top: var(--sp-6); }
  .v7-config-row { padding: var(--sp-4) var(--sp-5); gap: 10px; }

  /* Clients : bande horizontale de cartes. */
  .v7-clients-title { margin-top: var(--sp-10); }
  .v7-clients {
    display: flex; gap: var(--sp-3); overflow-x: auto; scroll-snap-type: x mandatory;
    margin: var(--sp-5) calc(-1 * var(--sp-4)) 0; padding: 0 var(--sp-4) var(--sp-2);
    scroll-padding-left: var(--sp-4); scrollbar-width: none;
  }
  .v7-clients::-webkit-scrollbar { display: none; }
  .v7-client-card { flex: 0 0 62%; scroll-snap-align: start; padding: var(--sp-5); }

  /* Rythme général : sections resserrées. */
  .v7-avis, .v7-pricing, .v7-steps { padding: var(--sp-10) 0; }
  .v7-faq-sec { padding: var(--sp-12) 0; }
  .v7-tools { padding: var(--sp-10) 0 var(--sp-12); }
  .v7-tools-cloud { height: 270px; max-width: 380px; margin-left: auto; margin-right: auto; }
}


/* ═════════ Avis BDE TSE (2026-11-10) : carte aux couleurs du client, côté inversé ═════════ */
.v7-quote--rev { margin-top: var(--sp-6); grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.v7-quote + .v7-quote { margin-top: var(--sp-6); } /* avis ADENIM (2026-11-12) sous celui de TSE */
.v7-quote-card--long { background: var(--client, var(--purple-600)); }
.v7-quote-card--long blockquote { font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem); line-height: 1.5; }
.v7-quote-card--long blockquote p + p { margin-top: var(--sp-4); }
.v7-quote-av--logo { object-fit: cover; padding: 0; background: #fff; }
.v7-client-avis { padding: 0 0 var(--sp-16); }
.v7-client-avis .v7-quote-card { max-width: 860px; margin-inline: auto; }
@media (max-width: 900px) {
  .v7-quote--rev { grid-template-columns: 1fr; }
  .v7-quote--rev .v7-quote-card { order: -1; }
}
@media (max-width: 768px) {
  .v7-client-avis { padding-bottom: var(--sp-10); }
}
/* Avis TSE repliable : la suite se déroule (grille 0fr → 1fr), le bouton reste sous le texte. */
.v7-quote-card.is-collapsible .v7-quote-rest {
  display: grid; grid-template-rows: 0fr; opacity: 0;
  transition: grid-template-rows .45s cubic-bezier(.2,.8,.2,1), opacity .3s ease;
}
.v7-quote-card.is-collapsible.is-open .v7-quote-rest { grid-template-rows: 1fr; opacity: 1; }
.v7-quote-rest > div { min-height: 0; overflow: hidden; }
.v7-quote-rest p { margin-top: var(--sp-4); }
.v7-quote-card.is-collapsible:not(.is-open) .v7-quote-rest { visibility: hidden; transition: grid-template-rows .45s cubic-bezier(.2,.8,.2,1), opacity .3s ease, visibility 0s .45s; }
.v7-quote-toggle {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  margin-top: calc(var(--sp-4) * -1);
  padding: 10px 16px 10px 18px; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 0.9375rem; line-height: 1.2; color: #fff;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .4);
  transition: background-color .2s ease, border-color .2s ease;
}
.v7-quote-toggle:hover { background: rgba(255, 255, 255, .24); border-color: rgba(255, 255, 255, .7); }
.v7-quote-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.v7-quote-toggle svg { transition: transform .3s ease; }
.v7-quote-card.is-open .v7-quote-toggle svg { transform: rotate(180deg); }
.v7-quote-toggle[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .v7-quote-card.is-collapsible .v7-quote-rest, .v7-quote-toggle svg { transition: none; }
}
