/* ============================================================
   Puck Flip — Design system (vitrine publique)

   Chargé APRÈS public/css/tokens.css (source unique des jetons) et AVANT le
   <style> local de layout_public.php.
   ============================================================ */

/* ---- Microdétails transverses ---- */
::selection {
  background: var(--primary-a35);
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--primary);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}
*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
*::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: var(--radius-pill);
}
*::-webkit-scrollbar-track {
  background: transparent;
}

/* ---- Boutons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 36px;
  padding: 9px 18px;
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast),
    transform var(--t-fast), box-shadow var(--t-fast);
}
/* Cibles tactiles : 44px sur pointeur grossier seulement (WCAG 2.5.5). */
@media (pointer: coarse) {
  .btn { min-height: 44px; }
}
/* Le survol change la VALEUR, la pression change la POSITION. */
@media (hover: hover) {
  .btn:hover:not(:disabled) {
    background: var(--ink-600);
    border-color: var(--line-strong);
  }
}
.btn:active:not(:disabled) {
  transform: translateY(1px);
}
.btn:disabled,
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: .45;
  cursor: not-allowed;
  filter: grayscale(.35);
  pointer-events: none;
}

/* Aplat, sans degrade ni halo colore. Texte a 8,95:1 sur le fond primaire. */
.btn-primary {
  background: var(--primary);
  border-color: transparent;
  color: var(--ink-900);
  font-weight: 700;
}
@media (hover: hover) {
  .btn-primary:hover:not(:disabled) {
    background: var(--primary);
    filter: brightness(1.10);
  }
}

/* ---- Anneau de focus global ----
   Les pages publiques n'en avaient AUCUN : seules deux regles ponctuelles
   (.deals__form button, .deal-card__cta) en portaient un. Toute navigation au
   clavier sur la vitrine etait donc aveugle (echec WCAG 2.4.7). */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* ---- Champs de formulaire ---- */
.field {
  display: block;
}
.field label {
  display: block;
  margin-bottom: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text);
}
/* Base de TOUS les controles de la vitrine, pas seulement ceux dans .field :
   les elements de formulaire n'heritent pas de font-family, ils retombaient donc
   sur Arial pendant que le reste de la page passait a Public Sans. */
input[type="text"],
input[type="search"],
input[type="email"],
input[type="number"],
input[type="url"],
input[type="tel"],
textarea,
select,
button {
  font-family: inherit;
}

.field input,
.field select,
.field textarea,
input[type="text"],
input[type="search"],
input[type="email"],
input[type="number"],
input[type="url"],
input[type="tel"],
textarea,
select {
  min-height: 40px;
  /* Un champ est un CREUX : surface plus sombre que le bloc qui le contient. */
  background: var(--bg-elevated);
  /* --line-control (3,5:1) et non --border (1,8:1) : WCAG 1.4.11 impose 3:1
     pour le contour d'un controle. */
  border: 1px solid var(--line-control);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  /* 16px : en dessous, iOS zoome a la mise au point. */
  font-size: 16px;
  color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input { width: 100%; }

/* `outline: none` retire : il battait le :focus-visible global par specificite
   (0,1,1 > 0,1,0) et ne laissait qu'une ombre a 1,40:1 pour tout repere. */
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-a20);
}

[aria-invalid="true"] {
  border-color: var(--danger);
}

input:disabled,
textarea:disabled,
select:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

::placeholder {
  color: var(--text-3);
  opacity: 1;
}

/* ---- Alertes ---- */
.alert {
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--border);
  border-left-width: 3px;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: var(--fs-base);
}
.alert--success {
  border-left-color: var(--success);
  background: var(--success-a12);
}
.alert--danger {
  border-left-color: var(--danger);
  background: var(--danger-a08);
  color: var(--danger-text);
}
.alert--warning {
  border-left-color: var(--warning);
  background: var(--accent-a12);
}
.alert--info {
  border-left-color: var(--primary);
  background: var(--primary-a12);
}

/* ---- Skeletons ---- */
/* Effet shimmer néon centralisé dans motion.css (.mo-skeleton, @keyframes
   mo-shimmer) : .skeleton en délègue le rendu pour un shimmer unifié. */
.skeleton {
  display: block;
  border-radius: var(--radius-sm);
}
.skeleton--text {
  height: .8em;
  margin: .3em 0;
  border-radius: var(--radius-sm);
}
.skeleton--card {
  height: 140px;
  border-radius: var(--radius);
}

/* ---- Pages légales / contenu de lecture ---- */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--sp-8) var(--sp-4);
  color: var(--text);
  line-height: 1.7;
}
.legal-page h1 {
  font-size: var(--fs-2xl);
  margin: 0 0 var(--sp-6);
  color: var(--header-fg);
}
.legal-page h2 {
  font-size: var(--fs-xl);
  margin: var(--sp-10) 0 var(--sp-4);
  color: var(--header-fg);
}
.legal-page h3 {
  font-size: var(--fs-lg);
  margin: var(--sp-8) 0 var(--sp-3);
  color: var(--text);
}
.legal-page p {
  margin: 0 0 var(--sp-4);
}
.legal-page ul,
.legal-page ol {
  margin: 0 0 var(--sp-4);
  padding-left: var(--sp-6);
}
.legal-page li {
  margin-bottom: var(--sp-2);
}
.legal-page li > ul,
.legal-page li > ol {
  margin: var(--sp-2) 0 0;
}
.legal-page strong {
  color: var(--text);
  font-weight: 700;
}
.legal-page a {
  color: var(--primary);
}
/* Texte secondaire (résumés FR, mentions) : la teinte muted vient
   des attributs supprimés ; on la conserve via une classe utilitaire. */
.legal-page .legal-muted {
  color: var(--text-muted);
}
.legal-page .legal-note {
  margin-top: var(--sp-8);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* ============================================================
   Phase 2 — deals (/deals : recherche affiliée + deals du moment)
   Styles génériques migrés depuis public_card_results.php.
   ============================================================ */
.deals { max-width: 100%; }

.deals__disclosure {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.deals__disclosure a { font-weight: 600; }

.deals__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.deals__form input[type="search"] {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 16px;
  color: var(--text);
  background: var(--bg-elevated);
  /* --line-control : ce selecteur (0,2,1) battait la base des champs. */
  border: 1px solid var(--line-control);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
/* `outline: none` retire : c'est le champ de recherche principal de la vitrine. */
.deals__form input[type="search"]:focus-visible {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-a12);
}
.deals__form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 44px;
  padding: 0.85rem 1.25rem;
  font-size: var(--fs-md);
  font-weight: 700;
  color: #030712;
  background: var(--cta-gradient);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
@media (hover: hover) {
  .deals__form button:hover { box-shadow: var(--shadow-glow); transform: translateY(-1px); }
}
.deals__form button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.deals__form button:active { transform: scale(0.98); }
.deals__form button[disabled] { opacity: 0.65; pointer-events: none; }
.deals__form button .deals__spinner {
  display: none;
  width: 1em;
  height: 1em;
  border: 2px solid rgba(3, 7, 18, 0.4); /* #030712 (texte des CTA) à 40 % — teinte existante, opacité dérivée */
  border-top-color: #030712;
  border-radius: var(--radius-pill);
  animation: deals-spin 0.7s linear infinite;
}
.deals__form button.is-loading .deals__spinner { display: inline-block; }
@keyframes deals-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .deals__form button .deals__spinner { animation: none; }
}

.deals__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.deals__chip {
  font-size: var(--fs-sm);
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.deals__chip:hover {
  color: var(--primary);
  border-color: var(--primary-a35);
  text-decoration: none;
}

.deals__error {
  background: var(--danger-a08);
  border: 1px solid var(--danger-a30);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--danger-text);
  margin-bottom: 1.5rem;
  font-size: var(--fs-base);
}

.deals__try-cta {
  font-size: var(--fs-base);
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.deals__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .deals__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .deals__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1360px) {
  .deals__grid { grid-template-columns: repeat(4, 1fr); }
}

.deal-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
@media (hover: hover) {
  .deal-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
    border-color: var(--primary-a35);
  }
}
.deal-card__img {
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--bg-soft);
}
.deal-card__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.deal-card__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  line-height: 1;
}
.deal-card__body { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.85rem; flex: 1; }
.deal-card__title {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.deal-card__price { font-size: var(--fs-md); font-weight: 700; color: var(--text); }
.deal-card__meta { font-size: var(--fs-sm); color: var(--text-muted); margin-top: auto; }
.deal-badge--urgent {
  align-self: flex-start;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  color: var(--accent);
  background: var(--accent-a12);
}
.deal-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #030712;
  background: var(--cta-gradient);
  border-radius: var(--radius-pill);
  margin-top: 0.35rem;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
@media (hover: hover) {
  .deal-card__cta:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-glow); }
}
.deal-card__cta:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.deal-card__cta:active { transform: scale(0.98); }
.deals__empty { color: var(--text-muted); padding: 1.5rem 0; }

.deals-hot { margin-bottom: 2rem; }
.deals-hot__title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}
.deal-card--hot { border-color: var(--success-a12); }
.deal-badge {
  align-self: flex-start;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  color: #022c22;
  background: linear-gradient(135deg, var(--gain) 0%, #10b981 100%);
}
.deal-card__market { font-size: 0.875rem; color: var(--text-muted); }
.deal-card__sample { font-size: var(--fs-sm); color: var(--text-muted); }

@media (prefers-reduced-motion: reduce) {
  .deal-card,
  .deal-card__cta,
  .deals__form button { transition: none; }
  .deal-card:hover,
  .deal-card__cta:hover { transform: none; }
}

/* Primitives d'accessibilite : voir public/css/a11y-base.css (source unique,
   chargee par les deux layouts et les deux pages autonomes). */

/* ============================================================
   COMPOSANTS PARTAGES — vitrine

   Meme definition que public/css/app.css. La vitrine et l'application ne doivent
   pas diverger sur les composants communs : un utilisateur qui passe de /deals a
   /collection ne doit pas rencontrer deux grammaires visuelles.
   ============================================================ */

/* ---- ONGLETS ---- */
.tabs {
  display: flex;
  gap: var(--sp-1);
  margin-bottom: var(--sp-5);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  min-height: 44px;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--text-2);
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  background: none;
  cursor: pointer;
  box-shadow: inset 0 -1px 0 transparent;
  margin-bottom: -1px;
  transition: color var(--t-fast), box-shadow var(--t-fast);
}
@media (hover: hover) {
  .tab:hover { color: var(--text); text-decoration: none; }
}
.tab[aria-current="page"],
.tab.is-active {
  color: var(--text);
  font-weight: var(--fw-semibold);
  box-shadow: inset 0 -2px 0 var(--primary);
}
.tab__count { font-size: var(--fs-xs); color: var(--text-3); font-variant-numeric: tabular-nums; }

/* ---- BADGES ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 2px 8px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-control);
  background: var(--ink-800);
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: var(--fw-semibold);
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.6;
  min-height: 24px;
  white-space: nowrap;
}

/* ---- ALERTES ---- */
.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--line);
  border-left-width: 3px;
  border-radius: var(--r-sm);
  background: var(--ink-800);
  color: var(--text);
  font-size: var(--fs-base);
  line-height: var(--lh-snug);
  margin-bottom: var(--sp-4);
}
.alert::before { font-size: .95em; line-height: 1.5; flex-shrink: 0; }
.alert-error   { border-left-color: var(--loss); }
.alert-success { border-left-color: var(--gain); }
.alert-warning { border-left-color: var(--warn); }
.alert-info    { border-left-color: var(--primary); }
.alert-error::before   { content: '▲'; color: var(--loss); }
.alert-success::before { content: '✓'; color: var(--gain); }
.alert-warning::before { content: '▲'; color: var(--warn); }
.alert-info::before    { content: 'ⓘ'; color: var(--primary); }

/* ---- ETAT VIDE ---- */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--sp-3);
  padding: var(--sp-12) var(--sp-4);
  border: 1px dashed var(--line-control);
  border-radius: var(--r-md);
  color: var(--text-2);
}
.empty-state__icon { font-size: 1.75rem; line-height: 1; opacity: .55; }
.empty-state__title {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  color: var(--text);
  margin: 0;
}
.empty-state__text { margin: 0; max-width: 46ch; font-size: var(--fs-sm); }
.empty-state__actions { display: flex; gap: var(--sp-2); flex-wrap: wrap; justify-content: center; margin-top: var(--sp-2); }

/* ---- SQUELETTES ---- */
.skeleton {
  display: block;
  border-radius: var(--r-sm);
  background: linear-gradient(90deg, var(--ink-800) 25%, var(--ink-700) 37%, var(--ink-800) 63%);
  background-size: 400% 100%;
  animation: pf-shimmer 1.4s ease infinite;
}
@keyframes pf-shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}
.skeleton--text { height: .8em; margin: .35em 0; }
.skeleton--card { height: 140px; border-radius: var(--r-md); }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } }

/* ---- BOUTONS : variantes manquantes ---- */
.btn-sm { min-height: 32px; padding: 6px 12px; font-size: var(--fs-sm); }
@media (pointer: coarse) { .btn-sm { min-height: 44px; padding: 10px 16px; } }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); font-weight: var(--fw-medium); }
.btn-danger { background: transparent; border-color: var(--loss); color: var(--loss); }
.btn-block { width: 100%; }
.btn-group { display: inline-flex; flex-wrap: wrap; gap: var(--sp-1); align-items: center; }


/* ==========================================================================
   EXTRAIT DE layout_public.php  (bloc <style> de 766 lignes)
   --------------------------------------------------------------------------
   POURQUOI : ce bloc etait reinjecte dans CHAQUE reponse publique — accueil,
   tarifs, aubaines, essai, service d'annonces, mentions legales — et n'etait
   jamais mis en cache. C'est le pendant de l'extraction deja faite sur
   layout.php.

   L'ORDRE DE CASCADE EST PRESERVE A L'IDENTIQUE. Avant :
     tokens.css -> a11y-base.css -> public.css -> <style> layout -> motion.css -> <style> vue
   Apres :
     tokens.css -> a11y-base.css -> public.css (+ bloc, en FIN) -> motion.css -> <style> vue

   Le bloc etant ajoute a la FIN de public.css, il continue de gagner sur tout
   ce qui le precede ; motion.css continue de gagner sur lui ; et les vues
   continuent de gagner sur les deux. Verifie avant extraction : aucun des 78
   selecteurs de classe ni des 5 selecteurs d'element du bloc n'existait deja
   dans public.css, et le bloc ne contenait aucune interpolation PHP.
   ========================================================================== */
        /* Les jetons de design vivent dans public/css/tokens.css (source unique) — ce bloc
           n'en redéfinit plus aucun. Il en redéfinissait 7, dont --bg et --border, ce qui
           faisait diverger silencieusement la vitrine de l'application. */
        * { box-sizing: border-box; margin: 0; padding: 0; }
        html { color-scheme: dark; }
        @media (prefers-reduced-motion: no-preference) {
            html { scroll-behavior: smooth; }
        }
        body {
            font-family: var(--font-body);
            background: var(--bg);
            color: var(--text);
            font-size: var(--fs-base);
            line-height: var(--lh-base);
            /* 100dvh en second : évite le saut de mise en page sur Safari iOS. */
            min-height: 100vh;
            min-height: 100dvh;
            display: flex;
            flex-direction: column;
            font-variant-numeric: tabular-nums;
        }
        h1, h2, h3, h4 {
            font-family: var(--font-display);
            line-height: var(--lh-tight);
            letter-spacing: -0.01em;
        }
        /* Aucune barre de défilement horizontale parasite sur les pages publiques
           (clip n'établit pas de conteneur de défilement -> compatible sticky). */
        html, body { overflow-x: clip; max-width: 100%; }
        a { color: var(--primary); text-decoration: none; }
        a:hover { text-decoration: underline; }
        /* Un lien AU MILIEU D'UN TEXTE doit être distinguable sans dépendre de la couleur
           (WCAG 1.4.1). Mesuré par axe sur /try : le cyan ne contraste qu'à 1,21:1 avec le
           texte courant qui l'entoure, là où 3:1 est requis. Souligner au survol seulement
           ne corrige rien — l'information doit être là AVANT toute interaction. */
        p a,
        li a,
        dd a,
        figcaption a,
        blockquote a,
        .prose a {
            text-decoration: underline;
            text-underline-offset: 0.15em;
            text-decoration-thickness: 1px;
        }
        p a.btn, li a.btn, p a.pf-btn, li a.pf-btn, .u-no-underline {
            text-decoration: none;
        }
        .wrap { max-width: 960px; margin: 0 auto; padding: 0 1.25rem; }
        .site-header {
            border-bottom: 1px solid var(--border);
            padding: 1rem 0;
            background: linear-gradient(180deg, #0f1419 0%, var(--bg) 100%);
        }
        .site-header-inner {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
        }
        .brand {
            display: flex;
            align-items: center;
            gap: 0;
            text-decoration: none;
            color: var(--text);
        }
        .brand__wordmark {
            font-family: var(--font-brand);
            font-size: var(--fs-lg);
            font-weight: var(--fw-bold);
            line-height: var(--lh-snug);
            letter-spacing: -0.01em;
            white-space: nowrap;
        }
        /* Mention BÊTA — même règle que le layout app : retirer à la sortie de bêta. */
        .beta-badge { display: inline-block; margin-left: 6px; padding: 1px 6px; border: 1px solid rgba(0, 242, 153, .55); border-radius: var(--r-sm); color: var(--primary); font-size: .58rem; font-weight: 700; letter-spacing: .08em; vertical-align: super; line-height: 1.4; }
        .nav-pub {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 1rem 1.25rem;
            font-size: var(--fs-base);
        }
        .nav-pub a { color: var(--text-muted); }
        .nav-pub a:hover { color: var(--primary); }
        .nav-pub a[aria-current="page"] { color: var(--primary); font-weight: 600; }
        .footer-legal {
            display: flex;
            flex-wrap: wrap;
            gap: 0.25rem 1.25rem;
            margin: 0.75rem 0 0;
        }
        /* La taille de cible (24px, WCAG 2.5.8) vit dans a11y-base.css : le fragment
           est partage avec le layout de l'application, qui ne charge pas cette feuille. */
        .footer-legal a {
            color: var(--text-muted);
            padding: 2px 0;
        }
        .footer-legal a:hover { color: var(--primary); }
        .epn-strip {
            background: var(--bg-elevated);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 1rem 1.25rem;
            margin-top: 2rem;
            font-size: var(--fs-sm);
            color: var(--text-muted);
        }
        .footer-operator { margin: 0.75rem 0 0; }
        .footer-operator a { color: var(--text-muted); }
        .footer-operator a:hover { color: var(--primary); }
        .lang-switch {
            display: inline-flex;
            gap: 4px;
            align-items: center;
        }
        .lang-switch a {
            font-size: var(--fs-sm);
            font-weight: 600;
            padding: 4px 8px;
            border-radius: var(--r-sm);
            text-decoration: none;
            color: var(--text-muted);
            border: 1px solid var(--border);
            /* Mesure axe : 16x24 — sous le minimum de 24x24 (WCAG 2.5.8). */
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 24px;
            min-height: 24px;
        }
        .lang-switch a:hover { color: var(--primary); border-color: var(--primary-a35); }
        .lang-switch a.is-active {
            color: var(--primary);
            border-color: rgba(0, 242, 153, 0.45);
            background: rgba(0, 242, 153, 0.08);
        }
        main {
            flex: 1;
            padding: 2.5rem 0 3rem;
            min-width: 0;
            overflow-x: hidden;
        }
        #app-main-content {
            width: 100%;
            max-width: 100%;
            min-width: 0;
            overflow-x: hidden;
        }
        #app-main-content > * {
            min-width: 0;
        }
        .site-footer {
            border-top: 1px solid var(--border);
            padding: 1.5rem 0;
            font-size: var(--fs-sm);
            color: var(--text-muted);
        }
        /* ============================================================
           Accueil vitrine (landing.php) — maquette Figma « landing-page »
           (1440) et « landing-page-mobile » (390), 2026-09-08. Préfixe ld-.
           Mobile d'abord : les valeurs de base sont celles de l'écran 390,
           les media queries élargissent vers 768 puis 1024.
           ============================================================ */
        body.is-landing {
            overflow-x: hidden;
        }

        .main-landing {
            flex: 1;
            padding: 0;
            width: 100%;
            max-width: none;
        }

        .is-landing .ld-nav,
        .is-landing .ld-hero,
        .is-landing .ld-section,
        .is-landing .ld-final,
        .is-landing .ld-footer {
            padding-left: max(20px, env(safe-area-inset-left));
            padding-right: max(20px, env(safe-area-inset-right));
        }

        /* --- Boutons pilule de la maquette --- */
        .ld-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: var(--sp-2);
            min-height: 48px;
            padding: 12px 24px;
            border-radius: var(--r-pill);
            font-family: var(--font-display);
            font-size: var(--fs-base);
            font-weight: var(--fw-bold);
            line-height: 1.25;
            text-align: center;
            text-decoration: none;
            touch-action: manipulation;
            transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out);
        }
        .ld-btn:hover,
        .ld-btn:focus-visible { text-decoration: none; }
        .ld-btn--primary {
            background: var(--primary);
            color: var(--primary-ink);
            box-shadow: 0 8px 20px var(--primary-a20);
        }
        .ld-btn--primary:hover { box-shadow: 0 10px 28px var(--primary-a35); transform: translateY(-1px); color: var(--primary-ink); }
        .ld-btn--ghost {
            border: 1.5px solid var(--line-control);
            color: var(--text);
            background: transparent;
        }
        .ld-btn--ghost:hover { border-color: var(--primary); color: var(--text); }
        .ld-btn svg { flex: 0 0 auto; }

        /* --- Barre de navigation --- */
        .ld-nav {
            position: relative;
            z-index: 5;
            height: 64px;
            border-bottom: 1px solid var(--line);
            background: var(--ink-900);
        }
        .ld-nav__inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: var(--sp-3);
            height: 100%;
            max-width: 1216px;
            margin: 0 auto;
        }
        .ld-nav__brand {
            display: inline-flex;
            align-items: center;
            gap: var(--sp-2);
            min-height: 44px;
            color: var(--text);
            text-decoration: none;
        }
        .ld-nav__brand:hover { text-decoration: none; color: var(--text); }
        .ld-nav__wordmark {
            font-family: var(--font-brand);
            font-size: var(--fs-lg);
            font-weight: var(--fw-heavy);
            line-height: 1.2;
            letter-spacing: -0.01em;
            white-space: nowrap;
        }
        .ld-nav__beta {
            padding: 2px 6px;
            border: 1px solid var(--line);
            border-radius: var(--r-sm);
            background: rgba(255, 255, 255, 0.1);
            font-size: 0.625rem;
            font-weight: var(--fw-medium);
            letter-spacing: 0.04em;
            line-height: 1.4;
        }
        .ld-nav__actions {
            display: flex;
            align-items: center;
            gap: var(--sp-3);
        }
        .ld-premium {
            display: inline-flex;
            align-items: center;
            gap: var(--sp-1);
            min-height: 44px;
            padding: 4px 10px;
            border: 1px solid var(--premium);
            border-radius: var(--r-pill);
            background: var(--premium-a10);
            color: var(--premium);
            font-family: var(--font-display);
            font-size: var(--fs-micro);
            font-weight: var(--fw-bold);
            text-decoration: none;
        }
        .ld-premium:hover { text-decoration: none; color: var(--premium); filter: brightness(1.08); }
        .ld-premium svg { width: 12px; height: 12px; }
        /* Sous 480px la barre ne loge que la marque et la connexion : la pastille
           Premium reste atteignable par la section Tarifs. */
        .ld-premium { display: none; }
        .ld-nav__signin { min-height: 40px; padding: 8px 14px; font-size: var(--fs-sm); }
        @media (min-width: 480px) {
            .ld-premium { display: inline-flex; }
        }
        /* --- Hero --- */
        .ld-hero {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: var(--sp-6);
            max-width: 1216px;
            margin: 0 auto;
            padding-top: var(--sp-8);
            padding-bottom: var(--sp-10);
            text-align: center;
        }
        .ld-hero__copy {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: var(--sp-6);
            width: 100%;
            min-width: 0;
        }
        .ld-chip {
            display: inline-flex;
            align-items: center;
            gap: var(--sp-2);
            margin: 0;
            padding: 6px 14px;
            border: 1px solid var(--primary);
            border-radius: var(--r-pill);
            background: var(--primary-a12);
            color: var(--primary);
            font-size: var(--fs-micro);
            font-weight: var(--fw-semibold);
            line-height: 1.3;
        }
        .ld-chip__dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--primary);
        }
        .ld-hero__title {
            margin: 0;
            font-family: var(--font-display);
            font-size: clamp(2rem, 1.2rem + 3.4vw, 3.5rem);
            font-weight: var(--fw-heavy);
            line-height: 1.18;
            letter-spacing: -0.01em;
            color: var(--text);
            text-wrap: balance;
        }
        .ld-hero__lead {
            margin: 0;
            font-size: clamp(0.875rem, 0.75rem + 0.5vw, 1.125rem);
            line-height: 1.56;
            color: var(--text-2);
            text-wrap: pretty;
        }
        .ld-hero__cta {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            width: 100%;
        }
        .ld-hero__cta .ld-btn { width: 100%; }
        .ld-hero__price-note {
            margin: 0;
            font-size: var(--fs-xs);
            color: var(--text-3);
        }
        .ld-trust {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: var(--sp-3);
            padding-top: var(--sp-2);
        }
        .ld-trust__text { text-align: left; }
        .ld-trust__title {
            margin: 0;
            font-family: var(--font-display);
            font-size: var(--fs-sm);
            font-weight: var(--fw-bold);
            color: var(--text);
        }
        .ld-trust__body { display: none; margin: 2px 0 0; font-size: var(--fs-sm); color: var(--text-2); }

        /* Visuel : téléphone posé sur un halo vert. */
        .ld-hero__visual {
            position: relative;
            isolation: isolate;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            min-height: 360px;
            border: 1px solid var(--line);
            border-radius: var(--r-2xl);
            background: var(--ink-800);
            overflow: hidden;
        }
        .ld-glow {
            position: absolute;
            left: 50%;
            top: 50%;
            width: 300px;
            height: 300px;
            border-radius: 50%;
            background: var(--primary);
            opacity: 0.15;
            filter: blur(50px);
            transform: translate(-50%, -50%);
            pointer-events: none;
        }
        .ld-phone {
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            gap: 10px;
            width: 220px;
            padding: 12px;
            border: 3px solid var(--primary);
            border-radius: var(--r-2xl);
            background: var(--ink-900);
            box-shadow: 0 24px 48px var(--primary-a20);
        }
        .ld-phone__bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: var(--sp-2);
        }
        .ld-phone__name {
            font-family: var(--font-display);
            font-size: 0.625rem;
            font-weight: var(--fw-bold);
            color: var(--text);
        }
        .ld-phone__live {
            padding: 1px 6px;
            border-radius: var(--r-sm);
            background: var(--primary-a12);
            color: var(--primary);
            font-size: 0.5rem;
            font-weight: var(--fw-bold);
            letter-spacing: 0.06em;
        }
        .ld-phone__scan {
            position: relative;
            height: 210px;
            border-radius: var(--r-md);
            overflow: hidden;
        }
        .ld-phone__scan img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center 30%;
        }
        .ld-phone__frame {
            position: absolute;
            inset: 10px 8px;
            border: 1.5px solid var(--primary);
            border-radius: 10px;
        }
        .ld-phone__beam {
            position: absolute;
            left: 8px;
            right: 8px;
            top: 50%;
            height: 2px;
            background: var(--primary);
            opacity: 0.8;
            filter: blur(2px);
            animation: ld-beam 2.8s ease-in-out infinite alternate;
        }
        @keyframes ld-beam {
            from { top: 12%; }
            to { top: 86%; }
        }
        .ld-phone__result {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: var(--sp-2);
        }
        .ld-phone__result > div { min-width: 0; }
        .ld-phone__card {
            margin: 0;
            font-family: var(--font-display);
            font-size: var(--fs-micro);
            font-weight: var(--fw-bold);
            color: var(--text);
            line-height: 1.25;
            text-wrap: balance;
        }
        .ld-phone__value { margin: 2px 0 0; font-size: var(--fs-nano); color: var(--text-2); }
        .ld-phone__check {
            display: inline-flex;
            flex: 0 0 auto;
            align-items: center;
            justify-content: center;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: var(--primary);
            color: var(--primary-ink);
        }
        .ld-phone__check svg { width: 12px; height: 12px; }
        .ld-phone__verdict {
            display: flex;
            align-items: center;
            gap: 6px;
            margin: 0;
            padding: 6px 8px;
            border-radius: var(--r-md);
            background: var(--primary-a12);
            color: var(--primary);
            font-family: var(--font-display);
            font-size: var(--fs-nano);
            font-weight: var(--fw-bold);
        }
        .ld-phone__verdict svg { flex: 0 0 auto; width: 12px; height: 12px; }

        /* --- Sections --- */
        .ld-section {
            padding-top: var(--sp-12);
            padding-bottom: var(--sp-12);
        }
        .ld-section--alt { background: var(--ink-800); }
        .ld-section__inner {
            display: flex;
            flex-direction: column;
            gap: var(--sp-6);
            max-width: 1216px;
            margin: 0 auto;
        }
        .ld-section__head {
            display: flex;
            flex-direction: column;
            gap: var(--sp-2);
        }
        .ld-eyebrow {
            margin: 0;
            font-family: var(--font-display);
            font-size: var(--fs-xs);
            font-weight: var(--fw-bold);
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: var(--primary);
        }
        .ld-section__title {
            margin: 0;
            font-family: var(--font-display);
            font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem);
            font-weight: var(--fw-heavy);
            line-height: 1.2;
            color: var(--text);
            text-wrap: balance;
        }
        .ld-section__title--sm { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); }
        .ld-section__lead {
            margin: 0;
            font-size: var(--fs-base);
            line-height: 1.55;
            color: var(--text-2);
        }

        /* Fonctionnalités */
        .ld-features,
        .ld-stats,
        .ld-plans {
            display: grid;
            gap: var(--sp-4);
        }
        .ld-feature,
        .ld-stat,
        .ld-plan {
            border: 1px solid var(--line);
            border-radius: var(--r-xl);
            background: var(--ink-700);
        }
        .ld-feature {
            display: flex;
            flex-direction: column;
            gap: var(--sp-4);
            padding: var(--sp-6);
        }
        .ld-feature__icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            border: 1.5px solid var(--primary);
            border-radius: var(--r-md);
            background: var(--primary-a12);
            color: var(--primary);
        }
        .ld-feature__icon svg { width: 20px; height: 20px; }
        .ld-feature__title {
            margin: 0 0 6px;
            font-family: var(--font-display);
            font-size: var(--fs-lg);
            font-weight: var(--fw-bold);
            line-height: 1.3;
            color: var(--text);
        }
        .ld-feature__body {
            margin: 0;
            font-size: var(--fs-sm);
            line-height: 1.55;
            color: var(--text-2);
        }

        /* Preuve sociale */
        .ld-stat {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: var(--sp-2);
            padding: var(--sp-6);
            border-radius: var(--r-lg);
            text-align: center;
        }
        .ld-stat__value {
            margin: 0;
            font-family: var(--font-num);
            font-size: var(--fs-num);
            font-weight: var(--fw-heavy);
            line-height: 1.1;
            color: var(--primary);
            white-space: nowrap;
        }
        .ld-stat__title {
            margin: 0;
            font-family: var(--font-display);
            font-size: var(--fs-base);
            font-weight: var(--fw-bold);
            color: var(--text);
        }
        .ld-stat__body { margin: 0; font-size: var(--fs-xs); line-height: 1.5; color: var(--text-3); }

        /* Tarifs */
        .ld-plan {
            display: flex;
            flex-direction: column;
            gap: var(--sp-6);
            padding: var(--sp-6);
            border-radius: var(--r-2xl);
            background: var(--ink-900);
        }
        .ld-plan--featured {
            border: 2px solid var(--primary);
            background: var(--ink-700);
            box-shadow: 0 16px 32px var(--primary-a12);
        }
        .ld-plan__head { display: flex; flex-direction: column; gap: var(--sp-3); }
        .ld-plan__row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: var(--sp-2);
        }
        .ld-plan__name {
            margin: 0;
            font-family: var(--font-display);
            font-size: var(--fs-lg);
            font-weight: var(--fw-heavy);
            color: var(--text);
        }
        .ld-plan__badge {
            padding: 2px 10px;
            border: 1px solid var(--primary);
            border-radius: var(--r-pill);
            background: var(--primary-a12);
            color: var(--primary);
            font-size: var(--fs-micro);
            font-weight: var(--fw-bold);
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }
        .ld-plan__price {
            margin: 0;
            font-family: var(--font-num);
            font-size: 2.25rem;
            font-weight: var(--fw-heavy);
            line-height: 1.1;
            color: var(--text);
        }
        .ld-plan__desc { margin: 0; font-size: var(--fs-sm); line-height: 1.45; color: var(--text-2); }
        .ld-plan__features {
            display: flex;
            flex-direction: column;
            gap: var(--sp-3);
            margin: 0;
            padding: var(--sp-6) 0 0;
            border-top: 1px solid var(--line);
            list-style: none;
        }
        .ld-plan__features li {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: var(--fs-sm);
            color: var(--text);
        }
        .ld-plan__features svg { flex: 0 0 auto; width: 14px; height: 14px; color: var(--primary); }
        .ld-plan .ld-btn { width: 100%; }
        .ld-plans--single { justify-items: center; }
        .ld-plans--single .ld-plan { width: 100%; max-width: 464px; }

        /* CTA final */
        .ld-final {
            position: relative;
            isolation: isolate;
            padding-top: var(--sp-12);
            padding-bottom: var(--sp-12);
            overflow: hidden;
            text-align: center;
        }
        .ld-glow--final { width: 240px; height: 240px; }
        .ld-final__inner {
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            gap: var(--sp-6);
            max-width: 720px;
            margin: 0 auto;
        }
        .ld-final__title {
            margin: 0;
            font-family: var(--font-display);
            font-size: clamp(1.625rem, 1rem + 2.6vw, 3rem);
            font-weight: var(--fw-heavy);
            line-height: 1.2;
            color: var(--text);
            text-wrap: balance;
        }
        .ld-final__lead { margin: 0; font-size: var(--fs-base); line-height: 1.55; color: var(--text-2); }
        .ld-final__actions {
            display: flex;
            flex-direction: column;
            gap: var(--sp-3);
        }

        /* --- Pied de page --- */
        .ld-footer {
            border-top: 1px solid var(--line);
            background: var(--ink-900);
            padding-top: var(--sp-12);
            padding-bottom: max(var(--sp-8), env(safe-area-inset-bottom));
        }
        .ld-footer__inner {
            display: flex;
            flex-direction: column;
            gap: var(--sp-10);
            max-width: 1216px;
            margin: 0 auto;
        }
        .ld-footer__grid {
            display: grid;
            grid-template-columns: 1fr;
            grid-template-areas:
                "brand"
                "product"
                "legal-title"
                "legal-nav"
                "operator"
                "epn";
            gap: var(--sp-6);
        }
        .ld-footer__brand { grid-area: brand; display: flex; flex-direction: column; gap: var(--sp-3); }
        .ld-footer__wordmark {
            margin: 0;
            font-family: var(--font-brand);
            font-size: var(--fs-xl);
            font-weight: var(--fw-heavy);
            color: var(--text);
        }
        .ld-footer__tagline { margin: 0; font-size: var(--fs-sm); line-height: 1.55; color: var(--text-2); }
        .ld-footer__col {
            grid-area: product;
            display: flex;
            flex-direction: column;
            gap: var(--sp-3);
        }
        .ld-footer__heading {
            margin: 0;
            font-family: var(--font-display);
            font-size: var(--fs-sm);
            font-weight: var(--fw-bold);
            letter-spacing: 0.04em;
            text-transform: uppercase;
            color: var(--text);
        }
        .ld-footer__col a,
        .ld-footer .footer-legal a {
            display: inline-flex;
            align-items: center;
            min-height: 24px;
            padding: 0;
            font-size: var(--fs-sm);
            color: var(--text-2);
            text-decoration: none;
        }
        .ld-footer__col a:hover,
        .ld-footer .footer-legal a:hover { color: var(--primary); text-decoration: none; }
        /* Le fragment légal partagé est éclaté en zones de grille : titre et liens dans la
           colonne « Légal », contact et encart EPN sur toute la largeur. */
        .ld-footer__legal { display: contents; }
        .ld-footer__legal > .ld-footer__heading { grid-area: legal-title; }
        .ld-footer .footer-legal {
            grid-area: legal-nav;
            flex-direction: column;
            gap: var(--sp-3);
            margin: 0;
        }
        .ld-footer .footer-operator { grid-area: operator; margin: 0; font-size: var(--fs-sm); }
        .ld-footer .footer-operator a { color: var(--text-2); }
        .ld-footer .epn-strip { grid-area: epn; margin: 0; }
        .ld-footer__bottom {
            display: flex;
            flex-direction: column;
            gap: var(--sp-5);
            padding-top: var(--sp-6);
            border-top: 1px solid var(--line);
        }
        .ld-footer__note { margin: 0; font-size: var(--fs-xs); line-height: 1.5; color: var(--text-3); }

        @media (prefers-reduced-motion: reduce) {
            .ld-phone__beam { animation: none; top: 50%; }
            .ld-btn--primary:hover { transform: none; }
        }

        /* --- Tablette --- */
        @media (min-width: 768px) {
            .ld-nav { height: 80px; }
            .ld-nav__wordmark { font-size: var(--fs-xl); }
            .ld-nav__beta { font-size: var(--fs-micro); }
            .ld-nav__actions { gap: var(--sp-4); }
            .ld-premium { padding: 6px 12px; font-size: var(--fs-xs); }
            .ld-premium svg { width: 14px; height: 14px; }
            .ld-nav__signin { min-height: 48px; padding: 12px 24px; font-size: var(--fs-base); }
            .ld-hero__cta .ld-btn { width: auto; }
            .ld-hero__price-note { font-size: var(--fs-sm); }
            .ld-trust__body { display: block; }
            .ld-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .ld-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
            .ld-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-8); }
            .ld-plan .ld-btn { width: auto; align-self: flex-start; }
            .ld-plan { padding: var(--sp-10); border-radius: var(--r-sheet); }
            /* Deux cartes côte à côte : « 49,99 $CA / an » doit tenir sur une ligne. */
            .ld-plan__price { font-size: var(--fs-num); }
            .ld-section { padding-top: 100px; padding-bottom: 100px; }
            .ld-section__inner { gap: var(--sp-12); }
            .ld-section__head { align-items: center; gap: var(--sp-4); text-align: center; }
            .ld-section__head .ld-section__title { max-width: 640px; }
            .ld-section__head .ld-section__lead { max-width: 500px; }
            .ld-final { padding-top: 120px; padding-bottom: 120px; }
            .ld-glow--final { width: 400px; height: 400px; }
            .ld-final__actions { flex-direction: row; justify-content: center; }
            .ld-footer__grid {
                grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
                grid-template-areas:
                    "brand product legal-title"
                    "brand product legal-nav"
                    "operator operator operator"
                    "epn epn epn";
                gap: var(--sp-4) var(--sp-10);
            }
            .ld-footer__brand { max-width: 320px; }
            .ld-footer__bottom {
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
            }
        }

        /* --- Bureau --- */
        @media (min-width: 1024px) {
            .is-landing .ld-nav,
            .is-landing .ld-hero,
            .is-landing .ld-section,
            .is-landing .ld-final,
            .is-landing .ld-footer {
                padding-left: max(48px, env(safe-area-inset-left));
                padding-right: max(48px, env(safe-area-inset-right));
            }
            .ld-hero {
                flex-direction: row;
                align-items: center;
                gap: 80px;
                padding-top: 120px;
                padding-bottom: 120px;
                text-align: left;
            }
            .ld-hero__copy { flex: 1 1 0; align-items: flex-start; gap: var(--sp-8); }
            .ld-hero__lead { line-height: 1.56; }
            .ld-hero__cta { align-items: flex-start; }
            .ld-trust { justify-content: flex-start; gap: var(--sp-8); padding-top: var(--sp-3); }
            .ld-hero__visual { flex: 0 0 480px; width: 480px; height: 560px; border-radius: var(--r-sheet); }
            .ld-phone { width: 310px; gap: var(--sp-4); padding: var(--sp-4); border-width: 4px; border-radius: 36px; }
            .ld-phone__name { font-size: var(--fs-xs); }
            .ld-phone__live { padding: 2px 8px; font-size: var(--fs-nano); }
            .ld-phone__scan { height: 320px; border-radius: var(--r-lg); }
            .ld-phone__frame { inset: 20px 12px; border-width: 2px; border-radius: var(--r-lg); }
            .ld-phone__beam { left: 12px; right: 12px; height: 3px; }
            .ld-phone__card { font-size: var(--fs-base); }
            .ld-phone__value { font-size: var(--fs-micro); }
            .ld-phone__check { width: 26px; height: 26px; }
            .ld-phone__check svg { width: 14px; height: 14px; }
            .ld-phone__verdict { padding: 8px 10px; font-size: var(--fs-micro); }
            .ld-phone__verdict svg { width: 14px; height: 14px; }
            /* Six cartes : 3 × 2 en bureau, 2 × 3 en tablette. */
            .ld-features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-6); }
            .ld-feature { gap: var(--sp-5); padding: var(--sp-8); border-radius: var(--r-2xl); }
            .ld-feature__icon { width: 56px; height: 56px; border-radius: var(--r-lg); }
            .ld-feature__icon svg { width: 24px; height: 24px; }
            .ld-feature__title { font-size: 1.375rem; margin-bottom: var(--sp-2); }
            .ld-feature__body { font-size: var(--fs-base); }
            .ld-stats { gap: var(--sp-6); }
            .ld-stat { gap: var(--sp-3); padding: var(--sp-8); border-radius: var(--r-2xl); }
            .ld-stat__value { font-size: 3rem; }
            .ld-stat__body { font-size: var(--fs-sm); }
            .ld-plans { max-width: 960px; margin: 0 auto; width: 100%; }
            .ld-plan__name { font-size: var(--fs-xl); }
            .ld-plan__price { font-size: 3rem; }
            .ld-plan__desc,
            .ld-plan__features li { font-size: 0.875rem; }
            .ld-plan__features svg { width: 18px; height: 18px; }
            .ld-footer { padding-top: 80px; padding-bottom: var(--sp-10); }
            .ld-footer__grid { gap: var(--sp-4) 80px; }
        }
