/* Wertzo -- « Kraftfahrzeug Dokumenten-System » (refonte du 2026-10-15, maquettes Stitch) : terminal de données de véhicule.
   Densité, filets précis, angles vifs (2 px), aucune ombre diffuse ; orange signal réservé à l'action, aux marges et aux scores ;
   vert / ambre / rouge réservés aux signaux (gain, vigilance, risque). Archivo étroit (largeur variable) pour l'interface et les
   titres en capitales, IBM Plex Sans pour le texte courant, IBM Plex Mono pour les chiffres, prix, identifiants et libellés techniques.
   Thème clair par défaut (maquettes « hell ») ; sombre selon le système ou le choix [data-theme] (maquettes « dark mode »).
   Seules des données RÉELLES sont affichées : la télémétrie décorative des maquettes (nœuds, latence, cours inventés) n'est pas reprise. */
:root {
  --w-bg: #E7ECEF;
  --w-surface: #F8FAFB;        /* blanc cassé plutôt que blanc pur : moins de glare sur de grandes surfaces */
  --w-surface-2: #E8EDF1;
  --w-surface-3: #DDE4E9;
  --w-ink: #1C2226;            /* encre très légèrement adoucie (moins de contraste dur sur fond clair) */
  --w-muted: #56616B;
  --w-faint: #7B8691;
  --w-line: #D3DAE0;
  --w-line-strong: #2A3136;    /* filets 2 px moins « noir sur blanc » */
  --w-accent: #EC5F16;         /* orange signal un cran plus profond : moins agressif à l'œil */
  --w-accent-hover: #D1500B;
  --w-accent-ink: #171C1F;
  --w-accent-soft: #FFE3D3;
  --w-ok: #0B7A4B;
  --w-ok-soft: #DDF3E8;
  --w-warn: #8A5300;
  --w-warn-soft: #FDF0D5;
  --w-bad: #B42318;
  --w-bad-soft: #FDE4E1;
  --w-demo: #3B2A80;
  --w-demo-soft: #E4DEF5;
  --w-link: #171C1F;
  --w-noir: #171C1F;
  --w-sur-noir: #F5FAFD;
  --w-font-display: 'Archivo', 'Archivo Narrow', 'IBM Plex Sans', system-ui, sans-serif;
  --w-font-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --w-font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --w-etroit: 72%;
  --w-radius: 2px;
  --w-border: 1px solid var(--w-line);
  --w-filet: 1px solid var(--w-line);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --w-bg: #0B0D0F; --w-surface: #121519; --w-surface-2: #181C22; --w-surface-3: #1F242C; --w-ink: #F0F4F8; --w-muted: #94A3B8;
    --w-faint: #64748B; --w-line: #2E3642; --w-line-strong: #3B4554; --w-accent: #FF6A1A; --w-accent-hover: #E0580E; --w-accent-ink: #0B0D0F;
    --w-accent-soft: #3A1E0E; --w-ok: #10B981; --w-ok-soft: #0C2A20; --w-warn: #F59E0B; --w-warn-soft: #2E2310; --w-bad: #EF4444;
    --w-bad-soft: #321516; --w-demo: #BFB0F5; --w-demo-soft: #2B2248; --w-link: #F0F4F8; --w-noir: #1F242C; --w-sur-noir: #F0F4F8;
    --w-border: 1px solid var(--w-line);
  }
}
:root[data-theme="dark"] {
  --w-bg: #0B0D0F; --w-surface: #121519; --w-surface-2: #181C22; --w-surface-3: #1F242C; --w-ink: #F0F4F8; --w-muted: #94A3B8;
  --w-faint: #64748B; --w-line: #2E3642; --w-line-strong: #3B4554; --w-accent: #FF6A1A; --w-accent-hover: #E0580E; --w-accent-ink: #0B0D0F;
  --w-accent-soft: #3A1E0E; --w-ok: #10B981; --w-ok-soft: #0C2A20; --w-warn: #F59E0B; --w-warn-soft: #2E2310; --w-bad: #EF4444;
  --w-bad-soft: #321516; --w-demo: #BFB0F5; --w-demo-soft: #2B2248; --w-link: #F0F4F8; --w-noir: #1F242C; --w-sur-noir: #F0F4F8;
  --w-border: 1px solid var(--w-line);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.w-body { margin: 0; background: var(--w-bg); color: var(--w-ink); font-family: var(--w-font-body);
  font-size: 14px; line-height: 1.5; font-variant-numeric: tabular-nums slashed-zero; }
.w-body a { color: var(--w-link); text-decoration: none; }
.w-body a:hover { text-decoration: underline; }
.w-body :focus-visible { outline: 2px solid var(--w-accent); outline-offset: 2px; border-radius: var(--w-radius); }
.w-wrap { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
h1, h2, h3 { font-family: var(--w-font-display); font-weight: 700; font-stretch: var(--w-etroit); line-height: 1.08;
  text-wrap: balance; margin: 0 0 .5em; text-transform: uppercase; letter-spacing: -.005em; }
h1 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); letter-spacing: -.015em; }
h1, h2, h3 { overflow-wrap: anywhere; hyphens: auto; }          /* mots composés allemands : jamais de débordement horizontal sur mobile */
.w-centre h1 { font-size: clamp(1.4rem, 6.4vw, 2.1rem); }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.05rem; }
.w-muted { color: var(--w-muted); }
.w-small { font-size: .82rem; }
.w-mono { font-family: var(--w-font-mono); }
/* Libellé technique : capitales mono espacées (en-têtes de champ, de colonne, références) */
.w-legend, .w-label { font-family: var(--w-font-mono); font-size: .68rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; color: var(--w-muted); }
/* Pictogrammes (macro icone de _icones.html) : trait, couleur du texte */
.w-ico { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round;
  stroke-linejoin: round; vertical-align: -3px; }
/* Titre de page : carré orange, capitales étroites, ligne de référence mono dessous */
.w-titre-page { display: flex; align-items: baseline; gap: 10px; }
.w-titre-page::before { content: ""; flex: none; width: .55em; height: .55em; background: var(--w-accent); transform: translateY(-.08em); }
.w-ref { font-family: var(--w-font-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--w-muted);
  display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.w-ref b { color: var(--w-ink); font-weight: 600; }
.w-etiquette { display: inline-flex; align-items: center; gap: 6px; font-family: var(--w-font-mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--w-line-strong); border-radius: var(--w-radius);
  background: var(--w-surface); color: var(--w-ink); white-space: nowrap; }
.w-etiquette.noir { background: var(--w-noir); color: var(--w-sur-noir); border-color: var(--w-noir); }
.w-etiquette.ok { color: var(--w-ok); border-color: var(--w-ok); background: var(--w-ok-soft); }
.w-point { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--w-ok); flex: none; }
.w-point.vieux { background: var(--w-warn); }

/* Barre de navigation (visiteur) */
.w-nav { background: var(--w-surface); border-bottom: var(--w-border); position: sticky; top: 0; z-index: 20; }
.w-nav-in { display: flex; align-items: center; gap: 12px 28px; min-height: 60px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.w-brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--w-font-display); font-weight: 800;
  font-stretch: 100%; font-size: 1.2rem; color: var(--w-ink) !important; letter-spacing: .04em; text-transform: uppercase; }
.w-brand:hover { text-decoration: none !important; }
.w-brand-sous { font-family: var(--w-font-mono); font-size: .66rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--w-muted); padding-left: 12px; border-left: 1px solid var(--w-line); line-height: 1.3; }
.w-logo { display: block; height: 26px; width: auto; }
.w-logo-sombre { display: none; }
.w-logo-pied { height: 22px; margin-bottom: 10px; }
.w-logo-sur-clair { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .w-logo-clair { display: none; }
  :root:not([data-theme="light"]) .w-logo-sombre { display: block; }
  :root:not([data-theme="light"]) .w-logo-sur-sombre { display: none; }
  :root:not([data-theme="light"]) .w-logo-sur-clair { display: block; }
}
:root[data-theme="dark"] .w-logo-clair { display: none; }
:root[data-theme="dark"] .w-logo-sombre { display: block; }
:root[data-theme="dark"] .w-logo-sur-sombre { display: none; }
:root[data-theme="dark"] .w-logo-sur-clair { display: block; }
.w-brand-mark { width: 16px; height: 16px; background: var(--w-accent); transform: skewX(-14deg); }
.w-links { display: flex; gap: 6px 26px; flex: 1; flex-wrap: wrap; }
.w-links a { color: var(--w-ink); font-family: var(--w-font-display); font-stretch: var(--w-etroit); font-size: 1rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .02em; padding-bottom: 2px; border-bottom: 2px solid transparent; }
.w-links a[aria-current="page"] { border-bottom-color: var(--w-accent); }
.w-links a:hover { text-decoration: none; border-bottom-color: var(--w-ink); }
.w-nav-user { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
/* Menus déroulants (langue, outils) : <details>, sans script */
.w-deroulant { position: relative; }
.w-deroulant > summary { list-style: none; cursor: pointer; }
.w-deroulant > summary::-webkit-details-marker { display: none; }
.w-deroulant > summary::after { content: " ▾"; }
/* Résumé présenté en bouton (renommer une alerte, créer une alerte…) : pas de triangle d'ouverture parasite à côté du libellé. */
summary.w-btn { list-style: none; cursor: pointer; }
summary.w-btn::-webkit-details-marker { display: none; }
.w-deroulant ul { position: absolute; left: 0; top: calc(100% + 6px); z-index: 20; margin: 0; padding: 4px 0; list-style: none; min-width: 150px;
  background: var(--w-surface); border: var(--w-border); border-radius: var(--w-radius); }
.w-deroulant li a { display: block; padding: 6px 14px; text-decoration: none; color: var(--w-ink); border-bottom: 0; white-space: nowrap; }
.w-deroulant li a:hover, .w-deroulant li a:focus-visible { background: var(--w-surface-2); text-decoration: none; }
.w-deroulant li a[aria-current] { font-weight: 600; }
.w-deroulant li a[aria-current]::before { content: "✓ "; }
.w-links .w-deroulant > summary { font-family: var(--w-font-display); font-stretch: var(--w-etroit); font-size: 1rem; font-weight: 600;
  text-transform: uppercase; padding-bottom: 2px; border-bottom: 2px solid transparent; }
.w-links .w-deroulant > summary[aria-current] { border-bottom-color: var(--w-accent); }
.w-links .w-deroulant > summary:hover { border-bottom-color: var(--w-ink); }
.w-langue > summary { font-family: var(--w-font-mono); font-size: .78rem; font-weight: 600; border: var(--w-border); padding: 4px 9px;
  border-radius: var(--w-radius); background: var(--w-surface); }
.w-langue[open] > summary { background: var(--w-ink); color: var(--w-surface); }
.w-langue ul { left: auto; right: 0; }
.w-lien-admin { font-family: var(--w-font-mono) !important; font-size: .78rem !important; letter-spacing: .06em; text-transform: uppercase; }
.w-nav .w-menu-bouton { display: none; min-height: 36px; padding: 0 14px; }          /* .w-nav : plus fort que .w-btn */
@media (max-width: 1240px) { .w-nav-email { display: none; } }

/* Bandeau de messages commun (web/messages.py) */
.w-messages { display: grid; gap: 8px; padding-top: 14px; }
.w-flash { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; border: 1px solid var(--w-line-strong); border-left-width: 4px;
  border-radius: var(--w-radius); padding: 9px 14px; font-size: .9rem; background: var(--w-surface); color: var(--w-ink); }
.w-flash-ok { border-color: var(--w-ok); background: var(--w-ok-soft); color: var(--w-ok); }
.w-flash-erreur { border-color: var(--w-bad); background: var(--w-bad-soft); color: var(--w-bad); }
.w-flash-info { border-color: var(--w-line-strong); border-left-color: var(--w-accent); }
.w-flash-attention { border-color: var(--w-warn); background: var(--w-warn-soft); color: var(--w-warn); }
.w-flash strong { margin-right: 4px; }
.w-lien-bouton { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: inherit; text-decoration: underline; cursor: pointer; }

/* Boutons et champs : 36 px, capitales étroites, angles vifs */
.w-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; min-height: 38px;
  border-radius: var(--w-radius); border: var(--w-border); background: var(--w-surface); color: var(--w-ink) !important;
  font-family: var(--w-font-display); font-stretch: var(--w-etroit); font-size: .98rem; font-weight: 700; letter-spacing: .02em;
  text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.w-btn:hover { text-decoration: none; background: var(--w-surface-2); border-color: var(--w-accent); }
.w-btn-primary { background: var(--w-accent); border-color: var(--w-accent); color: var(--w-accent-ink) !important; }
.w-btn-primary:hover { background: var(--w-accent-hover); border-color: var(--w-accent-hover); }
.w-btn-sm { min-height: 30px; padding: 0 10px; font-family: var(--w-font-mono); font-stretch: 100%; font-size: .7rem; font-weight: 600; letter-spacing: .08em; }
.w-btn-danger { border-color: var(--w-bad); color: var(--w-bad) !important; }
.w-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.w-field label { font-family: var(--w-font-mono); font-size: .68rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; color: var(--w-muted); }
.w-field input, .w-field select, .w-field textarea { font: inherit; padding: 0 10px; border-radius: var(--w-radius); border: var(--w-border);
  background: var(--w-surface); color: var(--w-ink); width: 100%; min-height: 38px; }
.w-field input[type="number"] { font-family: var(--w-font-mono); }
.w-field input:focus-visible, .w-field select:focus-visible { border-color: var(--w-accent); outline: 1px solid var(--w-accent); outline-offset: 0; }
.w-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: end; }   /* un libellé sur deux lignes ne décale pas les champs */

/* Plaque pays */
.w-code { display: inline-flex; align-items: center; justify-content: center; min-width: 2.4em; height: 1.6em; padding: 0 .45em;
  font-family: var(--w-font-mono); font-weight: 600; font-size: .72rem; border: 1px solid var(--w-line-strong); border-radius: var(--w-radius);
  background: var(--w-surface); color: var(--w-ink); letter-spacing: .04em; vertical-align: middle; }

/* Accueil */
.w-hero { padding: 56px 0 56px; border-bottom: var(--w-border); }
.w-hero h1 { max-width: 22ch; font-size: clamp(2rem, 4.6vw, 3.4rem); }
.w-hero p.w-lead { font-size: 1.12rem; max-width: 62ch; color: var(--w-muted); margin: 18px 0 0; }
.w-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.w-chaine { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 34px 0 0; padding: 0; list-style: none; font-family: var(--w-font-mono);
  font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.w-chaine li { background: var(--w-surface); border: var(--w-border); padding: 6px 11px; }
.w-chaine li:not(:last-child)::after { content: "→"; margin-left: 11px; color: var(--w-accent); font-weight: 700; }
.w-chaine li:not(:last-child) { border-right-width: 0; }
.w-section { padding: 44px 0 8px; }
.w-section h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.w-section > p.w-muted { max-width: 64ch; }
.w-pays-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 16px; }
.w-pays { padding: 14px; background: var(--w-surface); border: var(--w-border); display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.w-pays strong { font-family: var(--w-font-display); font-stretch: var(--w-etroit); font-size: 1.1rem; font-weight: 700; text-transform: uppercase; }
.w-pays.is-off { color: var(--w-muted); border-style: dashed; }
#methode { padding-bottom: 56px; }
#methode .w-pays-grid { gap: 12px; }
#methode .w-pays { border-top: 4px solid var(--w-accent); padding-top: 16px; }
#methode .w-pays strong { font-size: 1.25rem; }
#methode .w-pays .w-small { font-size: .92rem; }

/* Recherche */
.w-layout { display: grid; grid-template-columns: 290px 1fr; gap: 20px; padding: 22px 0 56px; align-items: start; }
.w-filtres { background: var(--w-surface); border: var(--w-border); border-radius: var(--w-radius); padding: 0 16px 16px;
  position: sticky; top: 76px; max-height: calc(100vh - 92px); overflow-y: auto; }
.w-filtres h2 { font-size: 1.15rem; }
.w-filtres-pli > summary { margin: 0 -16px 14px; padding: 11px 16px; background: var(--w-noir); color: var(--w-sur-noir); }
.w-filtres-pli > summary h2 { margin: 0; font-size: 1.05rem; color: inherit; display: flex; align-items: center; gap: 8px; }
.w-filtres h3 { font-family: var(--w-font-mono); font-size: .68rem; font-weight: 600; font-stretch: 100%; text-transform: uppercase;
  letter-spacing: .1em; color: var(--w-muted); padding-top: 12px; border-top: var(--w-filet); margin-bottom: 10px !important; }
.w-checks { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 14px; }
.w-check { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; font-size: .86rem; cursor: pointer; }
.w-check input { accent-color: var(--w-accent); width: 15px; height: 15px; margin: 0; }
.w-check.is-off { opacity: .5; cursor: not-allowed; }
/* Pays : puces cliquables (case cochée = puce pleine) */
.w-puce { position: relative; display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; border: var(--w-border);
  border-radius: var(--w-radius); font-family: var(--w-font-mono); font-size: .76rem; font-weight: 600; cursor: pointer; background: var(--w-surface); }
.w-puce input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.w-puce:hover { border-color: var(--w-accent); }
.w-puce:has(input:checked) { background: var(--w-accent); border-color: var(--w-accent); color: var(--w-accent-ink); }
.w-puce:has(input:focus-visible) { outline: 2px solid var(--w-accent); outline-offset: 2px; }
/* Filtres secondaires repliés */
.w-plus { border-top: var(--w-filet); margin-top: 6px; padding-top: 4px; }
.w-plus > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 38px;
  font-family: var(--w-font-mono); font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.w-plus > summary::-webkit-details-marker { display: none; }
.w-plus > summary::after { content: "+"; font-size: 1.1rem; }
.w-plus[open] > summary::after { content: "\2212"; }
.w-plus[open] > summary { margin-bottom: 8px; color: var(--w-accent); }
/* Bouton d'envoi : seul moyen sans script ; avec le script, inutile sur grand écran (filtres appliqués au changement), collé en bas sur mobile */
.w-filtres-envoi { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.w-filtres-envoi .w-btn { flex: 1; }
@media (min-width: 861px) {
  .js .w-filtres-envoi .w-btn { display: none; }
}
.w-tri { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin: 0 0 12px; }
.w-tri label { font-family: var(--w-font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.w-tri select { font: inherit; font-size: .88rem; min-height: 34px; padding: 0 8px; border-radius: var(--w-radius); border: var(--w-border);
  background: var(--w-surface); color: var(--w-ink); }
#resultats[aria-busy="true"] .w-liste { opacity: .5; transition: opacity .15s; }
/* Puces de filtres actifs (au-dessus des résultats) : chacune retire son critère ; la croix est à l'intérieur de la puce. */
.w-puces-actives { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; align-items: center; }
.w-puce-filtre, .w-puce-raz { font-family: var(--w-font-mono); font-size: .76rem; line-height: 1; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: var(--w-border); border-radius: var(--w-radius);
  color: var(--w-ink); background: var(--w-surface); }
.w-puce-filtre:hover { border-color: var(--w-accent); }
.w-puce-filtre span { font-size: .9em; color: var(--w-muted); }
.w-puce-filtre:hover span { color: var(--w-accent); }
.w-puce-raz { color: var(--w-muted); border-style: dashed; }
.w-puce-raz:hover { color: var(--w-ink); border-color: var(--w-ink); }
.w-resultats-tete { display: flex; justify-content: space-between; align-items: center; gap: 10px 16px; flex-wrap: wrap; margin-bottom: 12px;
  background: var(--w-surface); border: var(--w-border); padding: 10px 14px; }
.w-resultats-tete h1 { font-size: clamp(1.25rem, 2.2vw, 1.6rem) !important; line-height: 1.05; margin: 0; }
.w-liste { display: flex; flex-direction: column; gap: 14px; }
/* Carte d'annonce : plaque d'en-tête (pays, référence, lieu), corps, colonne prix + score */
.w-annonce { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 18px; background: var(--w-surface);
  border: var(--w-border); border-radius: var(--w-radius); padding: 14px 16px; color: var(--w-ink) !important; position: relative; }
.w-annonce:hover { border-color: var(--w-accent); text-decoration: none !important; box-shadow: inset 3px 0 0 var(--w-accent); }
.w-annonce h3 { margin: 0 0 6px; font-size: 1.22rem; }
.w-annonce-titre { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.w-annonce-titre > div { min-width: 0; }
.w-meta { color: var(--w-muted); font-family: var(--w-font-mono); font-size: .74rem; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.w-meta > span:not(.w-code) { border: 1px solid var(--w-line); padding: 1px 7px; border-radius: var(--w-radius); background: var(--w-surface-2); color: var(--w-ink); }
.w-prix { text-align: right; min-width: 150px; }
.w-prix strong { font-family: var(--w-font-display); font-weight: 800; font-stretch: 85%; font-size: 1.7rem; line-height: 1; display: block; letter-spacing: -.01em; }
.w-prix span { font-family: var(--w-font-mono); font-size: .72rem; color: var(--w-muted); display: block; margin-top: 5px; }
.w-badges { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding-top: 10px; border-top: var(--w-filet); }
.w-pill { display: inline-flex; align-items: center; gap: 5px; font-family: var(--w-font-mono); font-size: .72rem; font-weight: 600; padding: 2px 8px;
  border-radius: var(--w-radius); border: 1px solid var(--w-line); background: var(--w-surface-2); color: var(--w-ink); }
.w-pill.ok { background: var(--w-ok-soft); color: var(--w-ok); border-color: var(--w-ok); }
.w-pill.warn { background: var(--w-warn-soft); color: var(--w-warn); border-color: var(--w-warn); }
.w-risque-raison { font-size: .72rem; color: var(--w-muted); }
.w-pill.bad { background: var(--w-bad-soft); color: var(--w-bad); border-color: var(--w-bad); }
.w-pill.demo { background: var(--w-demo-soft); color: var(--w-demo); border-color: var(--w-demo); }
.w-pill.muted { color: var(--w-muted); }
.w-pill.noir { background: var(--w-noir); color: var(--w-sur-noir); border-color: var(--w-noir); }
/* Score : carré plein orange quand le seuil est atteint */
.w-score { display: inline-flex; align-items: center; justify-content: center; min-width: 2.9rem; height: 2.9rem; padding: 0 .4rem;
  font-family: var(--w-font-display); font-weight: 800; font-stretch: 85%; font-size: 1.45rem; line-height: 1;
  border: 1px solid var(--w-line); border-radius: var(--w-radius); background: var(--w-accent); color: var(--w-accent-ink); flex: none; }
.w-score.bas { background: var(--w-surface); color: var(--w-ink); }
.w-score.nul { background: transparent; color: var(--w-muted); border-color: var(--w-line); }
.w-pagination { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-top: 16px; flex-wrap: wrap;
  background: var(--w-surface); border: var(--w-border); padding: 8px 12px; font-family: var(--w-font-mono); font-size: .76rem; }
/* Alertes et favoris */
.w-badge { display: inline-block; font-family: var(--w-font-mono); font-size: .68rem; font-weight: 600; padding: 1px 7px; border-radius: var(--w-radius);
  border: 1px solid var(--w-line-strong); background: var(--w-surface); color: var(--w-ink); vertical-align: middle; }
.w-chip { display: inline-block; font-family: var(--w-font-mono); font-size: .74rem; padding: 2px 8px; border: 1px solid var(--w-line);
  border-radius: var(--w-radius); margin: 0 6px 6px 0; background: var(--w-surface-2); }
.w-inline { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.w-liste-alertes { display: grid; gap: 10px; margin: 16px 0 40px; }
.w-alerte-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.w-alerte-tete h2 { margin: 0; font-size: 1.15rem; }
.w-alerte-criteres { margin: 10px 0 12px; }
.w-alerte-actions { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.is-off { opacity: .65; }
.w-prefs { display: grid; gap: 8px; }
.w-prefs label { display: flex; gap: 8px; align-items: center; }
.w-prefs button { justify-self: start; margin-top: 6px; }
.w-pile { display: grid; gap: 6px; max-width: 380px; margin: 10px 0 14px; }
.w-pile button { justify-self: start; margin-top: 6px; }
.w-langues { display: flex; flex-wrap: wrap; gap: 8px; }
/* Grand livre / comparaison : en-tête sur filet épais, lignes denses alternées, survol orange à gauche */
.w-tableau-defile { overflow-x: auto; margin: 14px 0 32px; border: var(--w-border); background: var(--w-surface); }
.w-comparaison { width: 100%; border-collapse: collapse; background: var(--w-surface); font-size: .9rem; }
.w-comparaison th, .w-comparaison td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--w-line); vertical-align: top; }
.w-comparaison thead th { font-family: var(--w-font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--w-muted); border-bottom: 1px solid var(--w-line); background: var(--w-surface); }
.w-comparaison tbody tr:nth-child(even) { background: var(--w-surface-2); }
.w-comparaison tbody tr:hover { box-shadow: inset 2px 0 0 var(--w-accent); }
.w-comparaison tbody th { color: var(--w-muted); font-weight: 500; white-space: nowrap; }
.w-comparaison td { font-family: var(--w-font-mono); font-size: .82rem; }
.w-graphique { width: 100%; height: auto; color: var(--w-accent); margin: 8px 0 16px; }
.w-classement { padding-left: 1.4em; display: grid; gap: 10px; }
.w-classement li { display: grid; grid-template-columns: minmax(140px, 1fr) 2fr auto; gap: 12px; align-items: center; }
@media (max-width: 560px) { .w-classement li { grid-template-columns: 1fr auto; } .w-classement li .w-barre { grid-column: 1 / -1; } }
.w-barre { display: block; height: 6px; background: var(--w-surface-3); border-radius: 0; overflow: hidden; }
.w-barre > span { display: block; height: 100%; background: var(--w-accent); }
.w-nego { width: 100%; font-family: var(--w-font-body); font-size: .9rem; line-height: 1.5; padding: 10px; border: var(--w-border); border-radius: var(--w-radius);
  background: var(--w-surface-2); color: var(--w-ink); resize: vertical; }
.w-creer-alerte { margin: 0 0 12px; }
.w-creer-alerte > summary { list-style: none; display: inline-flex; cursor: pointer; }
.w-creer-alerte > summary::-webkit-details-marker { display: none; }
.w-creer-alerte[open] > form { margin-top: 10px; max-width: 520px; }
.w-annonce-prix { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.w-annonce-prix strong { font-family: var(--w-font-display); font-stretch: 85%; font-size: 1.4rem; }
.w-vide { background: var(--w-surface); border: 2px dashed var(--w-line-strong); border-radius: var(--w-radius); padding: 32px; text-align: center; color: var(--w-muted); }
.w-bandeau-demo { background: var(--w-noir); color: var(--w-sur-noir); border-radius: var(--w-radius); padding: 9px 14px; font-size: .86rem; margin: 0 0 12px; }
.w-bandeau-demo strong { font-family: var(--w-font-mono); color: var(--w-accent); letter-spacing: .06em; text-transform: uppercase; margin-right: 6px; }

/* Fiche */
.w-fiche { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; padding: 20px 0 56px; align-items: start; }
.w-fiche > *, .w-layout > * { min-width: 0; }          /* un mot long (composé allemand) ne doit jamais élargir la colonne ni la page */
/* Carte technique : bandeau d'en-tête noir (mono capitales), corps dense */
.w-carte { background: var(--w-surface); border: var(--w-border); border-radius: var(--w-radius); padding: 16px; margin-bottom: 16px; overflow: hidden; }
.w-carte > h2:first-child { margin: -16px -16px 14px; padding: 10px 16px; background: var(--w-noir); color: var(--w-sur-noir);
  font-family: var(--w-font-display); font-weight: 700; font-stretch: var(--w-etroit); font-size: 1.05rem; letter-spacing: .02em; text-transform: uppercase; }
.w-fiche .w-carte h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1; margin-bottom: 10px; }
.w-kv { display: grid; grid-template-columns: minmax(0, 1fr) auto; margin: 0; font-family: var(--w-font-mono); font-size: .84rem; }
.w-kv dt, .w-kv dd { padding: 8px 0; border-bottom: 1px solid var(--w-line); }
.w-kv dt { color: var(--w-muted); padding-right: 16px; min-width: 0; overflow-wrap: anywhere; }
.w-kv dd { margin: 0; text-align: right; font-weight: 600; }
.w-kv dt:nth-last-of-type(1), .w-kv dd:last-of-type { border-bottom: 0; }
.w-kv dt.w-kv-vide, .w-kv dd.w-kv-vide { color: var(--w-faint); font-weight: 400; }   /* postes non chiffrés en retrait : l'œil va d'abord aux vrais montants */
.w-kv dt.w-kv-vide .w-muted { color: var(--w-faint); }
.w-grand { display: flex; align-items: baseline; gap: 8px; font-family: var(--w-font-display); font-size: 3.2rem; font-weight: 800;
  font-stretch: 85%; line-height: 1; letter-spacing: -.02em; }
.w-liste-simple { margin: 0; padding-left: 18px; }
.w-liste-simple li { margin-bottom: 6px; }
.w-avertissement { background: var(--w-warn-soft); color: var(--w-warn); border: 1px solid var(--w-warn); border-left-width: 4px;
  border-radius: var(--w-radius); padding: 10px 14px; font-size: .88rem; }

/* Authentification / messages */
.w-centre { max-width: 460px; margin: 56px auto; background: var(--w-surface); border: var(--w-border);
  border-radius: var(--w-radius); padding: 0 28px 28px; }
.w-centre > h1:first-child { margin: 0 -28px 22px; padding: 14px 28px; background: var(--w-noir); color: var(--w-sur-noir); }
.w-erreur { background: var(--w-bad-soft); color: var(--w-bad); border: 1px solid var(--w-bad); border-left-width: 4px; border-radius: var(--w-radius);
  padding: 9px 12px; margin-bottom: 14px; font-size: .88rem; }
/* Connexion avec un fournisseur d'identité */
.w-btn-google { width: 100%; background: var(--w-surface); gap: 10px; }
.w-btn-google img { width: 18px; height: 18px; }
.w-ou { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--w-muted); font-family: var(--w-font-mono);
  font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.w-ou::before, .w-ou::after { content: ""; flex: 1; border-top: var(--w-filet); }

/* Comment ça marche */
.w-page { max-width: 900px; padding: 32px 0 56px; }
.w-page .w-lead { font-size: 1.1rem; max-width: 64ch; color: var(--w-muted); }
.w-surtitre { font-family: var(--w-font-mono); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--w-accent); margin: 0 0 8px; }
.w-etapes { list-style: none; counter-reset: etape; margin: 24px 0 8px; padding: 0; display: grid; gap: 10px; }
.w-etapes li { counter-increment: etape; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 4px 16px; padding: 16px;
  background: var(--w-surface); border: var(--w-border); }
.w-etapes li::before { content: counter(etape, decimal-leading-zero); grid-row: span 2; font-family: var(--w-font-mono); font-weight: 700;
  font-size: .8rem; line-height: 1; padding: 6px 0; text-align: center; background: var(--w-noir); color: var(--w-sur-noir); align-self: start; }
.w-etapes h3 { margin: 0; font-size: 1.15rem; }
.w-etapes p, .w-page section p { margin: 0; max-width: 68ch; }
.w-page section { padding: 20px 0; border-top: var(--w-filet); }
.w-page section h2 { margin-bottom: 10px; }
.w-page section p + p { margin-top: 10px; }

.w-pied { background: var(--w-noir); color: var(--w-sur-noir); padding: 26px 0 34px; font-size: .82rem; margin-top: 24px; border-top: 2px solid var(--w-accent); }
.w-pied a { color: inherit; text-decoration: underline; }
.w-pied strong { font-family: var(--w-font-display); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: inherit; }

/* --- Tableau de bord (/tableau-de-bord) : chiffres clés, meilleures opportunités, pays, alertes --------------------------------- */
.w-tableau { padding-top: 18px; padding-bottom: 56px; }
.w-tableau-tete { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 14px;
  background: var(--w-surface); border: var(--w-border); padding: 14px 16px; }
.w-tableau-tete h1 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin: 0 0 4px; }
.w-tableau-tete p { margin: 0; color: var(--w-muted); }
.w-tableau-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.w-bandeau.demo { background: var(--w-demo-soft); color: var(--w-demo); border: 1px solid var(--w-demo); border-radius: var(--w-radius); padding: 9px 14px; font-size: .86rem; margin: 0 0 14px; }
.w-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 0 0 20px; }
.w-kpi { display: flex; flex-direction: column; gap: 6px; background: var(--w-surface); border: var(--w-border); border-radius: var(--w-radius);
  padding: 12px 14px; color: var(--w-ink) !important; }
.w-kpi:hover { border-color: var(--w-accent); text-decoration: none !important; }
.w-kpi.accent { background: var(--w-accent); border-color: var(--w-accent); color: var(--w-accent-ink) !important; }
.w-kpi.accent:hover { background: var(--w-accent-hover); }
.w-kpi-tete { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.w-kpi-nb { font-family: var(--w-font-mono); font-weight: 700; font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1; letter-spacing: -.02em; }
.w-kpi-lib { font-family: var(--w-font-mono); font-size: .66rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.w-kpi:not(.accent) .w-kpi-lib { color: var(--w-muted); }
.w-kpi-pied { font-family: var(--w-font-mono); font-size: .68rem; padding-top: 6px; border-top: 1px solid currentColor; opacity: .85;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-kpi:not(.accent) .w-kpi-pied { border-top-color: var(--w-line); color: var(--w-muted); }
.w-tableau-grille { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.w-section-tete { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px;
  background: var(--w-surface); border: var(--w-border); padding: 10px 14px; }
.w-section-tete h2 { margin: 0; font-size: 1.2rem; }
.w-pays-filtre { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.w-section-tete a { font-family: var(--w-font-mono); font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.w-tableau-lateral { display: flex; flex-direction: column; gap: 12px; }
.w-bloc { background: var(--w-surface); border: var(--w-border); border-radius: var(--w-radius); padding: 14px; }
.w-bloc h2 { font-size: 1.1rem; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--w-line); }
.w-bloc .w-section-tete { background: none; border: 0; padding: 0 0 8px; border-bottom: 1px solid var(--w-line); }
.w-bloc .w-section-tete h2 { margin-bottom: 0; padding: 0; border: 0; }
.w-bloc p { margin: 0 0 12px; }
.w-pays-liste, .w-alertes-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.w-pays-liste a { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; color: var(--w-ink) !important; align-items: center; }
.w-pays-nom { font-weight: 500; display: inline-flex; gap: 8px; align-items: center; }
.w-pays-n { font-family: var(--w-font-mono); font-size: .8rem; color: var(--w-muted); }
.w-pays-barre { grid-column: 1 / -1; display: block; height: 6px; background: var(--w-surface-3); overflow: hidden; border: 1px solid var(--w-line); }
.w-pays-barre i { display: block; height: 100%; background: var(--w-accent); }
.w-alertes-liste li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: var(--w-border); }
.w-quota { display: flex; flex-direction: column; gap: 8px; }
.w-quota strong { font-family: var(--w-font-display); font-stretch: var(--w-etroit); font-size: 1.8rem; font-weight: 800; text-transform: uppercase; line-height: 1; }

/* --- Coque d'application (compte connecté) : barre du haut + navigation latérale ---------------------------------------------- */
.w-menu-toggle { position: absolute; left: -9999px; }
.w-menu-toggle:focus-visible ~ .w-appbar .w-burger { outline: 2px solid var(--w-accent); outline-offset: 2px; }
.w-appbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 16px;
  background: var(--w-surface); border-bottom: var(--w-border); }
.w-appbar .w-brand { margin-right: auto; }
.w-appbar-droite { display: flex; align-items: center; gap: 10px; }
.w-tel { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 10px; border: var(--w-border); border-radius: var(--w-radius);
  font-family: var(--w-font-mono); font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  color: var(--w-ink) !important; background: var(--w-surface); }
.w-tel b { font-weight: 700; }
a.w-tel:hover { border-color: var(--w-accent); text-decoration: none !important; }
.w-tel.credits b { color: var(--w-accent); font-size: .82rem; }
.w-burger { display: none; width: 38px; height: 38px; border: var(--w-border); border-radius: var(--w-radius); cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 4px; background: var(--w-surface); }
.w-burger span { display: block; width: 18px; height: 2px; background: var(--w-ink); }
.w-theme { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: var(--w-border);
  border-radius: var(--w-radius); background: var(--w-surface); color: var(--w-ink); cursor: pointer; padding: 0; }
.w-theme:hover { border-color: var(--w-accent); }
.w-compte-menu { position: relative; }
.w-compte-menu > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 2px; border-radius: var(--w-radius); }
.w-compte-menu > summary::-webkit-details-marker { display: none; }
.w-compte-menu > summary:hover .w-avatar { background: var(--w-accent-hover); }
.w-avatar { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: var(--w-radius);
  background: var(--w-accent); color: var(--w-accent-ink); font-family: var(--w-font-mono); font-weight: 700; border: 1px solid var(--w-line); }
.w-compte-email { font-family: var(--w-font-mono); font-size: .74rem; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-compte-menu ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; margin: 0; padding: 4px 0; list-style: none; min-width: 210px;
  background: var(--w-surface); border: var(--w-border); border-radius: var(--w-radius); }
.w-compte-menu li a, .w-compte-menu li button { display: block; width: 100%; padding: 8px 14px; text-align: left; background: none; border: 0;
  font: inherit; color: var(--w-ink); cursor: pointer; }
.w-compte-menu li a:hover, .w-compte-menu li button:hover { background: var(--w-surface-2); text-decoration: none; }
.w-compte-menu li form { margin: 0; }
.w-appshell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: calc(100vh - 60px); }
.w-side { background: var(--w-surface); border-right: var(--w-border); padding: 16px 12px 0; position: sticky; top: 60px;
  height: calc(100vh - 60px); overflow-y: auto; display: flex; flex-direction: column; gap: 18px; }
.w-side-titre { margin: 0 0 6px 10px; font-family: var(--w-font-mono); font-size: .66rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--w-muted); }
.w-side-titre::before { content: "// "; color: var(--w-accent); }
.w-side-groupe { display: flex; flex-direction: column; gap: 1px; }
.w-side-lien { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: var(--w-radius); color: var(--w-ink) !important;
  font-weight: 500; border-left: 2px solid transparent; }
.w-side-lien:hover { background: var(--w-surface-2); text-decoration: none !important; }
.w-side-lien[aria-current="page"] { background: var(--w-surface-2); border-left-color: var(--w-accent); font-weight: 600; }
.w-side-lien[aria-current="page"] .w-ico { color: var(--w-accent); }
.w-side-lien .w-badge { margin-left: auto; }
.w-side-lien .w-badge.accent { background: var(--w-accent); border-color: var(--w-accent); color: var(--w-accent-ink); }
.w-side-pied { margin-top: auto; padding: 12px 10px 14px; border-top: var(--w-border); margin-left: -12px; margin-right: -12px; padding-left: 22px; padding-right: 22px;
  display: flex; flex-direction: column; gap: 6px; }
.w-side-pied .w-ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.w-side-pied .w-ligne b { font-family: var(--w-font-mono); font-size: .9rem; color: var(--w-accent); }
.w-side-pied .w-barre { height: 5px; }
.w-side-voile { display: none; }
.w-appmain { min-width: 0; display: flex; flex-direction: column; }
.w-appmain > main { flex: 1; padding-top: 24px; padding-bottom: 48px; }  /* respiration : le contenu n'est plus collé à la barre du haut ni au pied de page */
.w-app .w-wrap { max-width: 1320px; padding: 0 20px; }
.w-app .w-pied { margin-top: 0; }

@media (max-width: 1100px) {
  .w-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .w-tableau-grille { grid-template-columns: minmax(0, 1fr); }
  .w-tel.sync { display: none; }
}
@media (max-width: 860px) {
  .w-layout, .w-fiche { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .w-wrap { padding: 0 12px; }
  .w-filtres { position: static; max-height: none; }
  .w-annonce { grid-template-columns: 1fr; }
  .w-prix { text-align: left; min-width: 0; }
  .w-hero { padding: 32px 0 36px; }
  .w-nav-in { gap: 10px 18px; }
  .w-nav { position: static; }
  .w-links { order: 3; flex: 1 1 100%; gap: 6px 22px; }
  .w-nav-user { margin-left: auto; }
  /* Avec le script : logo et bouton « Menu » sur la première ligne, liens repliés dessous, langue et compte en dernier */
  .js .w-nav .w-menu-bouton { display: inline-flex; order: 1; margin-left: auto; }
  .js .w-nav-user { order: 4; flex: 1 1 100%; margin-left: 0; }
  .js .w-links { display: none; flex-direction: column; gap: 12px; padding: 8px 0 4px; }
  .js .w-nav.is-ouvert .w-links { display: flex; }
  .w-deroulant ul { position: static; border: 0; padding: 4px 0 0 12px; background: transparent; }
  .w-langue ul { position: absolute; border: var(--w-border); background: var(--w-surface); padding: 4px 0; }
  .w-etapes li { grid-template-columns: 2.4rem minmax(0, 1fr); }
  /* Filtres repliables : repliés par wertzo.js sur mobile, bouton « Voir les résultats » collé en bas */
  .w-filtres-pli > summary { cursor: pointer; pointer-events: auto; display: flex; justify-content: space-between; align-items: center; }
  .w-filtres-pli > summary::after { content: "+"; font-family: var(--w-font-mono); font-size: 1.3rem; line-height: 1; }
  .w-filtres-pli[open] > summary::after { content: "\2212"; }
  .w-filtres { padding: 0 12px 12px; }
  .w-filtres-pli > summary { margin: 0 -12px 12px; }
  .w-filtres-envoi { position: sticky; bottom: 0; background: var(--w-surface); padding: 10px 0; }
  .w-brand-sous { display: none; }
}
@media (max-width: 560px) {
  .w-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .w-tableau-actions { width: 100%; }
  .w-tableau-actions .w-btn { flex: 1 1 auto; text-align: center; }
  .w-tel.credits span { display: none; }
}
/* Filtres repliables : toujours ouverts (et non cliquables) sur grand écran, repliés par wertzo.js sur mobile. */
.w-filtres-pli > summary { list-style: none; cursor: default; pointer-events: none; }
.w-filtres-pli > summary::-webkit-details-marker { display: none; }
@media (max-width: 860px) {
  .w-filtres-pli > summary { cursor: pointer; pointer-events: auto; }
  .w-appbar { padding: 0 10px; gap: 8px; }
  .w-burger { display: inline-flex; }
  .w-compte-email { display: none; }
  .w-appshell { display: block; }
  .w-side { position: fixed; z-index: 35; top: 60px; left: 0; bottom: 0; width: min(290px, 86vw); height: auto;
    transform: translateX(-102%); transition: transform .2s ease; border-right: var(--w-border); }
  .w-menu-toggle:checked ~ .w-appshell .w-side { transform: none; }
  .w-menu-toggle:checked ~ .w-appshell .w-side-voile { display: block; position: fixed; inset: 60px 0 0 0; z-index: 34; background: rgba(0, 0, 0, .5); }
  .w-app .w-wrap { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) { .w-side { transition: none; } }
@media (prefers-reduced-motion: no-preference) { .w-annonce, .w-btn, .w-kpi { transition: background-color .12s, border-color .12s; } }
@media (max-width: 560px) { .w-btn-recharger span { display: none; } .w-btn-recharger { padding: 0 10px; } }
/* Carte d'annonce : version du titre et appel vers la fiche */
.w-version { color: var(--w-muted); font-weight: 400; text-transform: none; font-stretch: 100%; font-family: var(--w-font-body); font-size: .9rem; }
.w-annonce-cta { margin-left: auto; display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; background: var(--w-accent);
  color: var(--w-accent-ink); font-family: var(--w-font-display); font-stretch: var(--w-etroit); font-weight: 700; font-size: .92rem;
  text-transform: uppercase; letter-spacing: .02em; border-radius: var(--w-radius); white-space: nowrap; }
.w-annonce:hover .w-annonce-cta { background: var(--w-accent-hover); }
/* Pied de page : toujours sombre, logo blanc dans les deux thèmes */
.w-pied .w-logo-sur-sombre { display: block !important; }
.w-pied .w-logo-sur-clair { display: none !important; }
/* Onglets compacts (tri rapide du tableau de bord) */
.w-onglets { display: inline-flex; border: var(--w-border); border-radius: var(--w-radius); overflow: hidden; margin-left: auto; }
.w-onglets a { font-family: var(--w-font-mono); font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; color: var(--w-ink) !important; border-right: 1px solid var(--w-line); }
.w-onglets a:last-child { border-right: 0; }
.w-onglets a:hover { background: var(--w-noir); color: var(--w-sur-noir) !important; text-decoration: none !important; }
@media (max-width: 860px) { .w-onglets { display: none; } }
/* Recherche : sections numérotées du panneau de filtres, en-tête de résultats */
.w-filtres h3.w-etape { display: flex; align-items: center; gap: 8px; color: var(--w-ink); border-top: 0; padding-top: 4px; margin-top: 4px; }
.w-filtres h3.w-etape::after { content: ""; flex: 1; border-top: 1px solid var(--w-line-strong); }
.w-filtres h3.w-etape.accent { background: var(--w-accent); color: var(--w-accent-ink); padding: 4px 8px; }
.w-filtres h3.w-etape.accent::after { display: none; }
.w-resultats-tete h2 { margin: 0 0 4px; font-size: clamp(1.2rem, 2vw, 1.5rem); }
.w-resultats-tete .w-ref { gap: 4px; }
.w-resultats-tete .w-tri { margin: 0; }
/* Fiche : en-tête pleine largeur (référence, titre, plaque) et chiffres du moteur ; bande de chiffres clés */
.w-fiche-tete { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 24px; align-items: start; margin-top: 16px;
  background: var(--w-surface); border: var(--w-border); padding: 14px 16px; }
.w-fiche-tete h1 { margin: 6px 0 10px; font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
.w-fiche-tete h1 .w-version { font-family: var(--w-font-display); font-stretch: var(--w-etroit); font-size: .55em; color: var(--w-accent); text-transform: uppercase; font-weight: 600; }
.w-fiche-chiffres { display: flex; gap: 8px; flex-wrap: wrap; }
.w-fiche-chiffre { display: flex; flex-direction: column; gap: 4px; min-width: 150px; padding: 10px 14px; border: var(--w-border); background: var(--w-surface-2); }
.w-fiche-chiffre b { font-family: var(--w-font-mono); font-size: 2rem; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.w-fiche-chiffre b small { font-size: .9rem; color: var(--w-muted); font-weight: 500; }
.w-fiche-chiffre.accent { background: var(--w-accent); border-color: var(--w-accent); color: var(--w-accent-ink); }
.w-fiche-chiffre.accent .w-label { color: inherit; }
.w-bande { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 10px; border: var(--w-border); background: var(--w-surface); }
.w-bande > div { display: flex; flex-direction: column; gap: 4px; padding: 10px 14px; border-right: var(--w-filet); min-width: 0; }
.w-bande > div:last-child { border-right: 0; }
.w-bande b { font-family: var(--w-font-mono); font-size: 1.05rem; font-weight: 700; overflow-wrap: anywhere; }
.w-bande b.ok { color: var(--w-ok); }
@media (max-width: 860px) {
  .w-fiche-tete { grid-template-columns: minmax(0, 1fr); }
  .w-bande { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w-bande > div { border-bottom: var(--w-filet); }
}
/* Offres (maquette S03) : une colonne par durée / pack, prix en grand, bouton en bas */
/* Page offres : encart « comment ça marche » (3 chiffres clés) et détails techniques repliés. */
/* Fiche import : sélecteur de pays de destination */
.w-import-dest { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; }
.w-import-dest .w-label { margin-right: 4px; }
.w-import-dest .w-puce.is-on { background: var(--w-accent); color: var(--w-accent-ink); border-color: var(--w-line-strong); }
.w-guide-points { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.w-guide-points li { padding: 12px 14px; border: var(--w-border); background: var(--w-surface-2); border-left-width: 4px; border-left-color: var(--w-accent); }
.w-cle-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 4px; }
.w-cle { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: var(--w-border); background: var(--w-surface-2); }
.w-cle-n { font-family: var(--w-font-display); font-weight: 900; font-size: 34px; line-height: 1; }
.w-cle > span { font-size: 12px; line-height: 1.3; color: var(--w-muted); }
.w-offre-tech { margin-top: 10px; }
.w-offre-tech[open] > summary { margin-bottom: 8px; }
@media (max-width: 620px) { .w-cle-grille { grid-template-columns: 1fr; } }
.w-tarifs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.w-tarif { display: flex; flex-direction: column; gap: 8px; padding: 14px; border: var(--w-border); background: var(--w-surface); position: relative; }
.w-tarif.recommande { border-color: var(--w-accent); box-shadow: inset 0 3px 0 var(--w-accent); }
.w-tarif-prix { font-family: var(--w-font-display); font-stretch: 85%; font-size: 1.5rem; font-weight: 800; line-height: 1.1; }
.w-tarif p { margin: 0; }
.w-tarif form { margin-top: auto; }
.w-tarif .w-btn { width: 100%; }
.w-offre-regles { margin: 12px 0 0; padding: 10px 0 0 18px; border-top: var(--w-filet); display: grid; gap: 4px; font-size: .84rem; }
.w-tableau-defile > p { padding: 14px; margin: 0; }
/* Barre du haut sur petit écran : la langue reste dans « Mon compte », le solde dans le menu latéral */
@media (max-width: 560px) {
  .w-appbar .w-langue { display: none; }
  .w-appbar .w-logo { height: 20px; }
  .w-appbar-droite { gap: 6px; }
}
@media (max-width: 420px) { .w-tel.credits { display: none; } }
/* Accueil (maquette S01) : chiffres du héros, étapes, état des marchés, questions fréquentes */
.w-hero-chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 26px; border: var(--w-border); background: var(--w-surface); max-width: 920px; }
.w-hero-chiffres > div { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-right: var(--w-filet); min-width: 0; }
.w-hero-chiffres > div:last-child { border-right: 0; }
.w-hero-chiffres b { font-family: var(--w-font-mono); font-size: 1.9rem; font-weight: 700; line-height: 1.1; }
.w-hero-chiffres .accent { background: var(--w-accent); color: var(--w-accent-ink); }
.w-hero-chiffres .accent .w-label { color: inherit; }
.w-etiquette.accent { background: var(--w-accent); border-color: var(--w-accent); color: var(--w-accent-ink); }
.w-etapes-cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.w-etape-carte { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 16px; background: var(--w-surface); border: var(--w-border); }
.w-etape-carte h3 { margin: 0; font-size: 1.3rem; }
.w-etape-carte p { margin: 0; }
.w-pays-ligne { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; }
.w-faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px; margin-top: 16px; align-items: start; }
.w-faq-item { background: var(--w-surface); border: var(--w-border); padding: 0 16px; }
.w-faq-item > summary { list-style: none; cursor: pointer; display: flex; gap: 10px; align-items: center; padding: 14px 0;
  font-family: var(--w-font-display); font-stretch: var(--w-etroit); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; }
.w-faq-item > summary::-webkit-details-marker { display: none; }
.w-faq-item[open] > summary { border-bottom: var(--w-filet); }
.w-faq-item p { margin: 12px 0 16px; font-size: .92rem; color: var(--w-muted); }
@media (max-width: 860px) {
  .w-hero-chiffres, .w-etapes-cartes { grid-template-columns: minmax(0, 1fr); }
  .w-hero-chiffres > div { border-right: 0; border-bottom: var(--w-filet); }
}
.w-tarif > .w-btn:last-child { margin-top: auto; }
/* Authentification (maquettes S04 à S07) : bandeau mono, titre, formulaire, « ou », Google, encart */
.w-auth { padding-top: 0; }
.w-auth-bandeau { margin: 0 -28px 22px; padding: 9px 28px; background: var(--w-noir); color: var(--w-sur-noir); font-family: var(--w-font-mono);
  font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.w-auth-bandeau::before { content: ""; width: 9px; height: 9px; background: var(--w-accent); }
.w-auth h1 { font-size: clamp(1.4rem, 4vw, 1.8rem); margin-bottom: 6px; }
.w-auth-texte { margin: 0 0 18px; padding-bottom: 16px; border-bottom: var(--w-filet); }
.w-btn-large { width: 100%; min-height: 46px; font-size: 1.15rem; }
.w-auth-encart { margin: 16px 0 0; padding: 12px; text-align: center; background: var(--w-surface-2); border: var(--w-filet); font-size: .9rem; }
.w-auth-encart a { color: var(--w-accent) !important; font-family: var(--w-font-mono); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
/* Pages courtes (connexion, erreurs) : le pied de page reste en bas de l'écran */
body.w-body:not(.w-app) { min-height: 100vh; display: flex; flex-direction: column; }
body.w-body:not(.w-app) > main { flex: 1; }
/* Crédits (maquette S25) : trois blocs, composition par lot, grand livre */
.w-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.w-accent { color: var(--w-accent); }
.w-lots { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.w-lots li { display: flex; flex-direction: column; gap: 4px; padding: 8px 10px; border: var(--w-border); }
.w-lot-tete { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.w-lot-tete b { font-family: var(--w-font-mono); }
.w-comparaison .w-droite { text-align: right; }
@media (max-width: 1100px) { .w-trio { grid-template-columns: minmax(0, 1fr); } }
/* Alertes (maquette S22) : fiche avec bandeau d'état, corps en deux colonnes, rangée d'actions */
.w-kpis.w-kpis-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.w-alerte { background: var(--w-surface); border: var(--w-border); border-left: 4px solid var(--w-accent); }
.w-alerte.is-off { border-left-color: var(--w-line-strong); }
.w-alerte-bandeau { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 14px; background: var(--w-surface-2); border-bottom: var(--w-filet); }
.w-alerte-bandeau h2 { margin: 0; font-size: 1.1rem; flex: 1; min-width: 0; }
.w-alerte-corps { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 14px; padding: 12px 14px; }
.w-alerte-frequence { display: flex; flex-direction: column; gap: 6px; padding: 10px; border: var(--w-filet); background: var(--w-surface-2); }
.w-alerte-frequence select { font: inherit; min-height: 30px; border: var(--w-border); border-radius: var(--w-radius); background: var(--w-surface); color: var(--w-ink); }
.w-alerte-actions { padding: 10px 14px; border-top: var(--w-filet); background: var(--w-surface-2); }
.w-pousse { margin-left: auto; }
@media (max-width: 860px) { .w-alerte-corps { grid-template-columns: minmax(0, 1fr); } .w-kpis.w-kpis-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.w-carte.w-inline { align-items: flex-end; }
.w-carte.w-inline .w-field { margin-bottom: 0; }
/* Champs de formulaire : même apparence partout, y compris hors de .w-field (formulaires empilés .w-pile d'Analyser, alertes, compte,
   administration). :where() n'ajoute aucune priorité : toute règle plus précise (.w-field, .w-tri, .w-puce...) l'emporte. */
:where(.w-body) :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="file"]):not([type="range"]), select, textarea) {
  font: inherit; color: var(--w-ink); background: var(--w-surface); border: var(--w-border); border-radius: var(--w-radius);
  min-height: 38px; padding: 0 10px; max-width: 100%; }
:where(.w-body) textarea { padding: 8px 10px; min-height: 96px; line-height: 1.5; }
:where(.w-body) :where(input, select, textarea):focus-visible { border-color: var(--w-accent); outline: 1px solid var(--w-accent); outline-offset: 0; }
:where(.w-body) :where(input[type="checkbox"], input[type="radio"]) { accent-color: var(--w-accent); }
.w-pile > label { font-family: var(--w-font-mono); font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
  color: var(--w-muted); margin-top: 6px; }
.w-pile > input, .w-pile > select, .w-pile > textarea { width: 100%; }

/* ==================================================================================================================================
   « À l'identique » des maquettes Stitch (2026-10-15) : valeurs relevées dans le code des écrans S20 à S25 (configuration Tailwind des
   maquettes) — fond #f5fafd, conteneurs #eaeff2 / #eff4f7, encre #171c1f, anthracite #2c3134, orange #ff6a1a (texte #a43d00), filets de
   2 px, ombres pleines décalées de 2 px (4 px pour les en-têtes et grands tableaux), cartes à coins de 8 px, Archivo Narrow / IBM Plex
   Sans / JetBrains Mono. Thème sombre : design system sombre (aucune ombre, filets 1 px #2e3642).
   ================================================================================================================================== */
:root {
  --w-bg: #F5FAFD; --w-surface: #FFFFFF; --w-surface-2: #EAEFF2; --w-surface-3: #E4E9EC; --w-cote: #EFF4F7; --w-variante: #DEE3E6;
  --w-ink: #171C1F; --w-muted: #5C5E63; --w-faint: #909AA4; --w-line: #D6DBDE; --w-line-strong: #171C1F;
  --w-accent: #FF6A1A; --w-accent-hover: #E0580E; --w-accent-ink: #171C1F; --w-accent-texte: #A43D00; --w-accent-clair: #FFB597;
  --w-noir: #2C3134; --w-sur-noir: #ECF1F4;
  --w-font-display: 'Archivo Narrow', 'Archivo', 'IBM Plex Sans', system-ui, sans-serif;
  --w-font-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --w-font-mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --w-etroit: 100%;
  --w-radius: 2px; --w-radius-carte: 8px;
  --w-border: 1px solid var(--w-line); --w-filet: 1px solid var(--w-line);
  --w-ombre: 2px 2px 0 #171C1F; --w-ombre-forte: 4px 4px 0 #171C1F;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --w-bg: #0B0D0F; --w-surface: #121519; --w-surface-2: #181C22; --w-surface-3: #1F242C; --w-cote: #121519; --w-variante: #1F242C;
    --w-ink: #F0F4F8; --w-muted: #94A3B8; --w-faint: #64748B; --w-line: #2E3642; --w-line-strong: #3B4554;
    --w-accent-ink: #0B0D0F; --w-accent-texte: #FF6A1A; --w-noir: #121519; --w-sur-noir: #F0F4F8;
    --w-border: 1px solid var(--w-line); --w-ombre: none; --w-ombre-forte: none; --w-radius-carte: 2px;
  }
}
:root[data-theme="dark"] {
  --w-bg: #0B0D0F; --w-surface: #121519; --w-surface-2: #181C22; --w-surface-3: #1F242C; --w-cote: #121519; --w-variante: #1F242C;
  --w-ink: #F0F4F8; --w-muted: #94A3B8; --w-faint: #64748B; --w-line: #2E3642; --w-line-strong: #3B4554;
  --w-accent-ink: #0B0D0F; --w-accent-texte: #FF6A1A; --w-noir: #121519; --w-sur-noir: #F0F4F8;
  --w-border: 1px solid var(--w-line); --w-ombre: none; --w-ombre-forte: none; --w-radius-carte: 2px;
}

/* Typographie des maquettes : corps 13 px, titres Archivo Narrow noirs en capitales */
body.w-body { font-size: 14px; line-height: 1.45; }   /* texte de base relevé (13->14) : lisibilité */
h1, h2, h3 { font-weight: 800; letter-spacing: .03em; }
.w-app h1 { font-size: 24px; line-height: 28px; }
h2 { font-size: 18px; line-height: 22px; letter-spacing: .02em; }
h3 { font-size: 15px; line-height: 18px; letter-spacing: .02em; }

/* --- Barre du haut (S20-S25) : anthracite, logo en texte, encadré mono, puces sombres ------------------------------------------- */
.w-appbar { background: var(--w-noir); border-bottom: 2px solid #171C1F; color: var(--w-sur-noir); padding: 0 16px; }
.w-logo-texte { font-family: var(--w-font-display); font-size: 24px; line-height: 28px; font-weight: 900; letter-spacing: .1em;
  text-transform: uppercase; color: var(--w-sur-noir); }
.w-appbar .w-brand { gap: 6px; align-items: baseline; }
.w-appbar .w-brand-sous { font-family: var(--w-font-mono); font-size: 10px; line-height: 12px; font-weight: 700; letter-spacing: .08em;
  background: var(--w-variante); color: var(--w-ink); border: 1px solid var(--w-line-strong); padding: 2px 6px; margin: 0; align-self: center; }
.w-appbar .w-tel { background: #171C1F; border: 1px solid #5C5E63; color: var(--w-accent-clair) !important; height: 26px; padding: 0 8px;
  font-size: 10px; letter-spacing: .08em; box-shadow: none; }
.w-appbar .w-tel b { color: var(--w-accent); }
.w-appbar .w-point { border-radius: 0; background: var(--w-accent); width: 8px; height: 8px; }
.w-appbar .w-point.vieux { background: #5C5E63; }
.w-appbar .w-theme, .w-appbar .w-langue > summary { background: var(--w-noir); border: 1px solid #5C5E63; color: var(--w-sur-noir); }
.w-appbar .w-avatar { width: 32px; height: 32px; border: 1px solid #171C1F; color: #591E00; font-family: var(--w-font-mono); font-weight: 900; font-size: 10px; }
.w-appbar .w-compte-email { color: var(--w-sur-noir); }
.w-appbar .w-burger { background: var(--w-noir); border: 1px solid #5C5E63; }
.w-appbar .w-burger span { background: var(--w-sur-noir); }
.w-appbar .w-btn-recharger { min-height: 32px; box-shadow: none; }

/* --- Menu latéral : liens mono 12 px, élément actif en bloc anthracite filet orange, compteurs en pastille noire ------------------ */
.w-appshell { grid-template-columns: 252px minmax(0, 1fr); }
.w-side { background: var(--w-cote); border-right: 1px solid var(--w-line); padding: 0; gap: 0; }
.w-side-groupe { padding: 12px; gap: 2px; border-top: 1px solid var(--w-surface-2); }
.w-side-groupe:first-child { border-top: 0; }
.w-side-titre { margin: 0 0 6px; font-size: 10px; line-height: 12px; font-weight: 700; letter-spacing: .08em; color: var(--w-muted); }
.w-side-titre::before { content: none; }
.w-side-lien { font-family: var(--w-font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .03em; padding: 6px 8px;
  border-radius: 0; border-left: 0; justify-content: flex-start; }
.w-side-lien:hover { background: var(--w-surface-3); }
.w-side-lien[aria-current="page"] { background: var(--w-noir); color: var(--w-sur-noir) !important; font-weight: 700; font-size: 14px;
  border-left: 4px solid var(--w-accent); padding-left: 10px; }
.w-side-lien .w-ico { display: none; }
.w-side-lien .w-badge { font-size: 10px; line-height: 12px; font-weight: 700; padding: 2px 4px; border-radius: 0; background: var(--w-noir);
  color: var(--w-sur-noir); border: 1px solid #171C1F; }
.w-side-lien .w-badge.accent { background: var(--w-accent); color: #171C1F; border-color: #171C1F; }
.w-side-lien[aria-current="page"] .w-badge:not(.accent) { background: var(--w-variante); color: var(--w-ink); border-color: var(--w-line-strong); }
.w-side-pied { margin: auto 0 0; padding: 6px 12px; background: var(--w-variante); border-top: 1px solid var(--w-line); gap: 2px; }
.w-side-pied .w-ligne b { color: var(--w-accent-texte); font-weight: 900; font-size: 11px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .w-side-lien .w-ico { display: inline-block; } }
:root[data-theme="dark"] .w-side-lien .w-ico { display: inline-block; }

/* --- Cartes : filet 2 px, coins 8 px, ombre pleine décalée ----------------------------------------------------------------------- */
.w-carte, .w-bloc, .w-kpi, .w-annonce, .w-section-tete, .w-tarif, .w-alerte, .w-etape-carte, .w-pays, .w-faq-item, .w-filtres,
.w-resultats-tete, .w-pagination, .w-bande, .w-centre, .w-hero-chiffres, .w-vide {
  border: var(--w-border); border-radius: var(--w-radius-carte); box-shadow: var(--w-ombre); }
.w-tableau-tete, .w-fiche-tete, .w-tableau-defile { border: var(--w-border); border-radius: var(--w-radius-carte); box-shadow: var(--w-ombre-forte); overflow: hidden; }
.w-carte > h2:first-child { background: var(--w-noir); color: var(--w-sur-noir); font-size: 15px; line-height: 18px; letter-spacing: .05em;
  border-bottom: 2px solid #171C1F; }
.w-kpi.accent { border-color: var(--w-line-strong); }
.w-pays.is-off { box-shadow: none; }

/* --- Boutons : filet 2 px, ombre 2 px, Archivo Narrow 15 px en capitales espacées ----------------------------------------------- */
.w-btn { border: 1px solid var(--w-line); box-shadow: var(--w-ombre); font-size: 15px; line-height: 18px; letter-spacing: .05em;
  padding: 0 16px; min-height: 40px; border-radius: var(--w-radius); }
.w-btn:hover { border-color: var(--w-line-strong); background: var(--w-surface-3); }
.w-btn:active { transform: translate(1px, 1px); box-shadow: none; }
.w-btn-primary { background: var(--w-accent); color: #171C1F !important; border-color: var(--w-line-strong); }
.w-btn-primary:hover { background: var(--w-accent-hover); border-color: var(--w-line-strong); }
.w-btn-sm { min-height: 28px; box-shadow: none; border-width: 1px; }

/* --- En-tête de page (S25) : bandeau « tampon » gris + titre + actions ----------------------------------------------------------- */
.w-tableau-tete { padding: 0 16px 16px; flex-wrap: wrap; background: var(--w-surface); }
  margin: 0 -16px 4px; padding: 4px 16px; background: var(--w-variante); border-bottom: 1px solid var(--w-line); }
  letter-spacing: .08em; text-transform: uppercase; color: var(--w-muted); }
.w-titre-page::before { background: none; width: 0; height: 0; }
.w-titre-page { color: var(--w-ink); }
.w-tableau-tete h1 { font-size: 24px; line-height: 28px; font-weight: 900; letter-spacing: .03em; }
.w-tableau-tete .w-ico { width: 28px; height: 28px; color: var(--w-accent-texte); }

/* --- Libellés et étiquettes : JetBrains Mono 10 px gras -------------------------------------------------------------------------- */
.w-label, .w-legend, .w-field label, .w-kpi-lib, .w-etiquette { font-size: 11px; line-height: 13px; font-weight: 700; letter-spacing: .06em; }
.w-kpi-nb, .w-fiche-chiffre b, .w-hero-chiffres b, .w-quota strong { font-family: var(--w-font-display); font-weight: 900; font-size: 32px; line-height: 36px; letter-spacing: .02em; }
.w-quota strong .w-accent, .w-accent { color: var(--w-accent); }

/* --- Tableaux (grand livre S25) : en-tête gris sur filet épais, séparateurs de colonnes ------------------------------------------ */
.w-comparaison thead th { background: var(--w-surface-3); color: var(--w-ink); border-bottom: 1px solid var(--w-line);
  border-right: 1px solid var(--w-surface-2); font-size: 10px; letter-spacing: .08em; }
.w-comparaison td { font-family: var(--w-font-mono); font-size: 12px; }

/* --- Champs : fond gris clair, filet 2 px (S04) ---------------------------------------------------------------------------------- */
.w-field input, .w-field select, .w-field textarea { background: var(--w-surface-2); border: 1px solid var(--w-line); min-height: 40px; }
:where(.w-body) :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="file"]):not([type="range"]), select, textarea) {
  background: var(--w-surface-2); border: 1px solid var(--w-line); }

/* --- Barre publique et pied : logo texte en bloc noir (S01, S04) ---------------------------------------------------------------- */
.w-nav .w-logo-texte { background: #171C1F; color: #F5FAFD; padding: 2px 8px; font-size: 20px; letter-spacing: .06em; }
.w-pied .w-logo-texte { font-size: 20px; }
/* Logo : le texte des maquettes remplace l'image dans les barres (l'image reste dans la page pour les lecteurs d'écran) */
.w-appbar .w-logo, .w-nav .w-logo { display: none !important; }
.w-logo-texte { display: inline-block; }
/* Pictogramme du titre de page (orange foncé, 28 px) ; les icônes des boutons gardent leur taille */
.w-tableau-tete .w-ico { width: 16px; height: 16px; color: inherit; }
.w-tableau-tete h1 .w-ico { width: 28px; height: 28px; color: var(--w-accent-texte); vertical-align: -5px; margin-right: 8px; stroke-width: 2; }
.w-titre-page { display: block; }
/* Registre (S25) : une seule carte, barre de titre anthracite, tableau dessous */
.w-registre { margin-top: 20px; background: var(--w-surface); border: var(--w-border); border-radius: var(--w-radius-carte); box-shadow: var(--w-ombre-forte); overflow: hidden; }
.w-registre-tete { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px 16px;
  background: var(--w-noir); color: var(--w-sur-noir); border-bottom: 2px solid #171C1F; }
.w-registre-tete h2 { margin: 0; font-size: 15px; line-height: 18px; letter-spacing: .05em; color: inherit; display: flex; align-items: center; gap: 6px; }
.w-registre-tete .w-ico { color: var(--w-accent); width: 20px; height: 20px; }
.w-registre-tete .w-etiquette { background: var(--w-variante); color: #171C1F; border-color: #171C1F; }
.w-registre-corps { overflow-x: auto; }
.w-registre-corps > p { padding: 14px 16px; margin: 0; }
.w-registre .w-comparaison tbody tr:nth-child(even) { background: transparent; }
/* --- Recherche (S12) : barre d'outils, cases des marchés, carte « fiche d'immatriculation » ------------------------------------- */
.w-barre-outils { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 16px 0 0; padding: 8px 14px; background: var(--w-surface);
  border: var(--w-border); border-radius: var(--w-radius-carte); box-shadow: var(--w-ombre); }
.w-barre-outils .w-tri { margin: 0 0 0 auto; }
.w-bascule { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-family: var(--w-font-display); font-weight: 700;
  font-size: 15px; text-transform: uppercase; letter-spacing: .03em; }
.w-bascule input { appearance: none; -webkit-appearance: none; width: 40px; height: 22px; margin: 0; border: 1px solid var(--w-line);
  background: var(--w-noir); position: relative; cursor: pointer; border-radius: 0; min-height: 0; padding: 0; }
.w-bascule input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; background: var(--w-surface-3); transition: left .12s; }
.w-bascule input:checked::after { left: 20px; background: var(--w-accent); }
.w-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.w-puce { justify-content: flex-start; gap: 8px; min-height: 36px; padding: 6px 8px; border: 1px solid var(--w-line); border-radius: 0;
  background: var(--w-surface-2); font-family: var(--w-font-mono); font-size: 11px; font-weight: 600; line-height: 1.25; }
.w-puce input { position: static; opacity: 1; width: 16px; height: 16px; flex: none; accent-color: var(--w-accent); }
.w-puce:has(input:checked) { background: var(--w-surface-2); color: var(--w-ink); border-color: var(--w-line-strong); }
.js .w-filtres-envoi .w-btn { display: inline-flex; }
.w-filtres-envoi { flex-direction: column; align-items: stretch; gap: 10px; }
.w-filtres-envoi .w-btn-primary { min-height: 48px; font-size: 17px; }
.w-filtres-envoi .w-btn-sm { justify-content: center; font-family: var(--w-font-mono); }
.w-code.noir { background: #171C1F; color: #F5FAFD; border-color: #171C1F; }
.w-annonce.w-annonce-s12 { display: block; padding: 0; border-radius: 0; box-shadow: none; background: var(--w-surface); }
.w-annonce.w-annonce-s12:hover { box-shadow: var(--w-ombre); }
.w-annonce-bandeau { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 10px; padding: 6px 12px;
  background: var(--w-surface-3); border-bottom: 1px solid var(--w-line); font-family: var(--w-font-mono); font-size: 10px; color: var(--w-muted); }
.w-annonce-bandeau-g { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .05em; }
.w-annonce-bandeau b { color: var(--w-ink); }
.w-annonce-bandeau .w-etiquette { background: var(--w-surface); }
.w-annonce-corps { display: grid; grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr); gap: 12px; padding: 12px; }
.w-annonce-centre h3 { font-size: 18px; line-height: 22px; margin: 0 0 8px; }
.w-annonce-centre .w-meta > span { background: var(--w-surface-3); border: 1px solid var(--w-line-strong); font-weight: 600; color: var(--w-ink); }
.w-annonce-desc { margin: 8px 0 0; font-size: 11px; color: var(--w-muted); }
.w-annonce-signaux { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--w-line); }
.w-pill.ecart { background: #171C1F; color: var(--w-accent); border-color: #171C1F; font-weight: 700; }
.w-annonce-droite { display: flex; flex-direction: column; gap: 8px; padding-left: 12px; border-left: 1px solid var(--w-line); }
.w-annonce-prixscore { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.w-annonce-prixscore strong { display: block; font-family: var(--w-font-display); font-size: 24px; line-height: 28px; font-weight: 800; }
.w-annonce-score { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.w-annonce-score .w-label { font-size: 9px; }
.w-annonce-marche { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; margin: 0; padding: 6px; background: var(--w-surface-3);
  border: 1px solid var(--w-line-strong); font-family: var(--w-font-mono); font-size: 10px; }
.w-annonce-marche dt { color: var(--w-muted); }
.w-annonce-marche dd { margin: 0; text-align: right; font-weight: 700; }
.w-annonce-marche dd.ok { color: var(--w-accent-texte); }
.w-annonce-s12 .w-annonce-cta { margin: auto 0 0; justify-content: center; min-height: 44px; font-size: 16px; border: 1px solid var(--w-line);
  box-shadow: var(--w-ombre); }
@media (max-width: 860px) {
  .w-annonce-corps { grid-template-columns: minmax(0, 1fr); }
  .w-annonce-droite { border-left: 0; padding-left: 0; border-top: 1px solid var(--w-line); padding-top: 10px; }
  .w-barre-outils .w-tri { margin-left: 0; }
}
/* Carte S12 : colonne photo, lien étendu à toute la carte, actions Garder / Comparer ; en-tête des résultats en bandeau fin. */
.w-annonce.w-annonce-s12 { position: relative; color: var(--w-ink); }
.w-annonce-s12 .w-annonce-corps { grid-template-columns: 188px minmax(0, 2fr) minmax(220px, 1fr); }
.w-annonce-s12 h3 a { color: inherit; text-decoration: none; }
.w-annonce-s12 h3 a::after { content: ""; position: absolute; inset: 0; }
.w-annonce-s12 h3 a:focus-visible { outline: none; }
.w-annonce-s12:has(h3 a:focus-visible) { outline: 3px solid var(--w-accent); outline-offset: 2px; }
.w-annonce-s12 .w-annonce-cta, .w-annonce-actions { position: relative; z-index: 1; }
.w-annonce-photo { position: relative; display: flex; align-items: center; justify-content: center; min-height: 150px; overflow: hidden;
  background: var(--w-surface-3); border: 1px solid var(--w-line); color: var(--w-faint); }
.w-annonce-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.w-annonce-photo .w-ico { width: 56px; height: 56px; stroke-width: 1.2; }
.w-annonce-energie { position: absolute; top: 6px; left: 6px; padding: 2px 6px; background: #171C1F; color: #F5FAFD;
  font-family: var(--w-font-mono); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.w-annonce-s12 .w-annonce-signaux { flex-direction: column; align-items: flex-start; gap: 6px; }
.w-annonce-confiance { font-family: var(--w-font-mono); font-size: 11px; color: var(--w-muted); }
.w-annonce-s12 .w-annonce-cta { display: flex; align-items: center; background: var(--w-accent); color: #171C1F; text-decoration: none;
  font-family: var(--w-font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; text-align: center; }
.w-annonce-s12 .w-annonce-cta:hover { background: var(--w-accent-hover); }
.w-annonce-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.w-annonce-actions form { margin: 0; display: contents; }
.w-annonce-actions .w-btn { justify-content: center; gap: 6px; min-height: 30px; padding: 4px 6px; font-family: var(--w-font-mono); font-size: 10px;
  text-transform: uppercase; box-shadow: none; }
.w-annonce-actions .w-btn .w-ico { width: 13px; height: 13px; }
.w-annonce-actions .w-btn[aria-pressed="true"] { background: #171C1F; color: var(--w-accent); }
.w-annonce-actions label.w-btn { cursor: pointer; }
.w-annonce-actions input[type="checkbox"] { width: 13px; height: 13px; margin: 0; min-height: 0; accent-color: var(--w-accent); }
.w-annonce-actions label.w-btn:has(input:checked) { background: #171C1F; color: var(--w-accent); }
#resultats .w-resultats-tete { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 14px; padding: 10px 14px;
  background: var(--w-surface-2); border: var(--w-border); border-radius: 0; box-shadow: none; }
#resultats .w-resultats-tete h2 { margin: 0; font-size: 20px; line-height: 24px; }
#resultats .w-resultats-tete .w-ref { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.w-resultats-comparer { display: flex; align-items: center; gap: 10px; margin: 0 0 0 auto; }
.w-recherche-tete .w-tableau-actions { position: relative; }
.w-recherche-tete .w-creer-alerte > summary { list-style: none; }
.w-recherche-tete .w-creer-alerte > summary::-webkit-details-marker { display: none; }
.w-recherche-tete .w-creer-alerte[open] > form { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: min(380px, 88vw);
  box-shadow: var(--w-ombre-forte); }
/* Panneau des filtres : champs compacts en police à chasse fixe, comme la maquette. */
.w-filtres input:not([type="checkbox"]):not([type="radio"]), .w-filtres select { min-height: 34px; padding: 4px 8px; font-family: var(--w-font-mono);
  font-size: 12px; }
.w-filtres .w-field label { font-size: 10px; }
@media (max-width: 860px) {
  .w-annonce-s12 .w-annonce-corps { grid-template-columns: minmax(0, 1fr); }
  .w-annonce-photo { min-height: 170px; }
  .w-resultats-comparer { margin-left: 0; }
  .w-recherche-tete .w-creer-alerte[open] > form { position: static; width: auto; margin-top: 8px; }
}
/* --- Alertes (S22) : compteurs, fiche d'alerte en trois colonnes, garantie et annonces par marché ------------------------------ */
:root { --w-panneau: #2C3134; --w-panneau-2: #171C1F; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --w-panneau: #1F242C; --w-panneau-2: #0B0D0F; } }
:root[data-theme="dark"] { --w-panneau: #1F242C; --w-panneau-2: #0B0D0F; }
.w-alertes-capacite { flex-direction: column; align-items: flex-end; gap: 6px; }
.w-alertes-capacite .w-label { color: var(--w-muted); }
.w-kpis.w-kpis-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.w-kpi-nb small { font-family: var(--w-font-mono); font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--w-muted); }
.w-kpi-nb.chaud { color: var(--w-accent-texte); }
.w-kpis-4 .w-kpi:first-child .w-kpi-pied { color: var(--w-accent-texte); font-weight: 700; }
.w-alertes-registre { display: flex; align-items: center; gap: 10px; margin: 18px 0 8px; }
.w-alertes-registre .w-code { background: var(--w-variante); }
.w-alerte.w-alerte-s22 { border-radius: 0; border-left: 6px solid var(--w-muted); overflow: hidden; }
.w-alerte-s22.is-touche { border-left-color: var(--w-accent); }
.w-alerte-s22.is-off { border-left-color: var(--w-accent-clair); }
.w-alerte-s22 .w-alerte-bandeau { background: var(--w-surface-3); border-bottom: 1px solid var(--w-line); padding: 6px 12px; gap: 8px; }
.w-alerte-s22 .w-alerte-bandeau h2 { flex: 0 1 auto; font-family: var(--w-font-mono); font-size: 12px; line-height: 16px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .03em; }
.w-alerte-s22 .w-alerte-bandeau > .w-code:not(.noir) { background: var(--w-variante); font-size: 10px; }
.w-alerte-etat { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.w-alerte-etat .w-etiquette { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; }
.w-alerte-etat .w-etiquette .w-point { border-radius: 50%; background: var(--w-muted); width: 6px; height: 6px; }
.w-alerte-etat .w-etiquette.statut { background: #171C1F; color: var(--w-accent); border-color: #171C1F; }
.w-alerte-etat .w-etiquette.statut .w-point { background: var(--w-accent); }
.w-alerte-etat .w-etiquette.chaud { background: var(--w-accent-clair); color: #591E00; border-color: var(--w-accent-clair); }
.w-alerte-grille { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .8fr); gap: 14px; padding: 12px; background: var(--w-surface); }
.w-alerte-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.w-alerte-marches { display: flex; gap: 12px; align-items: center; padding: 8px; background: var(--w-surface-2); }
.w-alerte-marches-ico { display: flex; align-items: center; justify-content: center; width: 72px; height: 52px; flex: none;
  background: var(--w-surface-3); border: 1px solid var(--w-line-strong); color: var(--w-muted); }
.w-alerte-marches-ico .w-ico { width: 26px; height: 26px; }
.w-alerte-marches strong { display: block; font-family: var(--w-font-display); font-size: 16px; line-height: 20px; font-weight: 700; text-transform: uppercase; }
.w-alerte-sous { display: block; font-family: var(--w-font-mono); font-size: 10px; letter-spacing: .03em; color: var(--w-muted); margin: 2px 0 0; }
.w-alerte-sous.accent { color: var(--w-accent-texte); font-weight: 700; text-transform: uppercase; }
.w-alerte-boite { padding: 8px; background: var(--w-surface-2); }
.w-alerte-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; margin: 6px 0 0; font-family: var(--w-font-mono); font-size: 11px; }
.w-alerte-kv > div { display: flex; justify-content: space-between; gap: 8px; min-width: 0; }
.w-alerte-kv dt { color: var(--w-muted); text-transform: uppercase; font-size: 10px; letter-spacing: .03em; }
.w-alerte-kv dt::after { content: ":"; }
.w-alerte-kv dd { margin: 0; font-weight: 700; text-align: right; }
.w-alerte-kv dd.accent { background: var(--w-accent-soft); color: var(--w-accent-texte); padding: 0 4px; }
.w-alerte-kv.une { grid-template-columns: 1fr; }
.w-alerte-seuils .w-alerte-frequence { margin-top: 10px; padding: 0; border: 0; background: transparent; }
.w-alerte-seuils .w-alerte-frequence select { min-height: 30px; font-family: var(--w-font-mono); font-size: 11px; }
.w-alerte-note { display: flex; align-items: center; gap: 8px; margin: auto 0 0; padding: 6px 8px; background: var(--w-surface-2);
  font-family: var(--w-font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .03em; color: var(--w-muted); }
.w-alerte-note .w-ico { width: 14px; height: 14px; color: var(--w-accent-texte); flex: none; }
.w-alerte-derniere { display: flex; flex-direction: column; gap: 6px; padding: 10px; background: var(--w-panneau); color: #ECF1F4; min-width: 0; }
.w-alerte-derniere.clair { background: var(--w-surface-2); color: var(--w-ink); }
.w-alerte-derniere-tete { display: flex; justify-content: space-between; gap: 8px; font-family: var(--w-font-mono); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; color: var(--w-accent); }
.w-alerte-derniere.clair .w-alerte-derniere-tete { color: var(--w-muted); }
.w-alerte-derniere-titre { font-family: var(--w-font-display); font-size: 16px; line-height: 20px; font-weight: 700; text-transform: uppercase;
  color: inherit; text-decoration: none; }
.w-alerte-derniere-titre:hover { text-decoration: underline; }
.w-alerte-derniere .w-alerte-sous { color: #A9B4BF; }
.w-alerte-derniere.clair .w-alerte-sous { color: var(--w-muted); }
.w-alerte-derniere-chiffres { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; padding: 8px; background: var(--w-panneau-2); }
.w-alerte-derniere.clair .w-alerte-derniere-chiffres { background: var(--w-surface); border: 1px solid var(--w-line); }
.w-alerte-derniere-chiffres .w-label { display: block; font-size: 9px; color: #A9B4BF; }
.w-alerte-derniere.clair .w-alerte-derniere-chiffres .w-label { color: var(--w-muted); }
.w-alerte-derniere-chiffres b { font-family: var(--w-font-display); font-size: 22px; line-height: 26px; font-weight: 800; }
.w-alerte-derniere-chiffres b.ok { color: var(--w-accent); }
.w-alerte-derniere.clair .w-alerte-derniere-chiffres b.ok { color: var(--w-accent-texte); }
.w-alerte-derniere-chiffres b small { font-family: var(--w-font-mono); font-size: 10px; font-weight: 600; opacity: .7; }
.w-alerte-derniere-chiffres .droite { text-align: right; }
.w-alerte-s22 .w-alerte-actions { gap: 8px 12px; padding: 8px 12px; background: var(--w-surface-2); border-top: 1px solid var(--w-line); }
.w-btn.w-btn-noir { background: var(--w-panneau); border-color: #171C1F; }
.w-btn.w-btn-noir:hover { background: #171C1F; }
.w-btn.w-btn-noir .w-ico { color: var(--w-accent); }
.w-alerte-renommer { position: relative; }
.w-alerte-renommer > summary { list-style: none; cursor: pointer; font-family: var(--w-font-mono); font-size: 10px; box-shadow: none; }
.w-alerte-renommer > summary::-webkit-details-marker { display: none; }
.w-alerte-renommer[open] > form { position: absolute; left: 0; top: calc(100% + 6px); z-index: 20; padding: 8px; background: var(--w-surface);
  border: var(--w-border); box-shadow: var(--w-ombre); }
.w-alerte-renommer input { min-height: 30px; width: 220px; }
.w-lien-action { display: inline-flex; align-items: center; gap: 6px; padding: 4px 2px; border: 0; background: none; cursor: pointer;
  font-family: var(--w-font-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--w-muted); }
.w-lien-action:hover { color: var(--w-ink); text-decoration: underline; }
.w-lien-action .w-ico { width: 14px; height: 14px; }
.w-lien-action.danger { color: var(--w-bad); }
.w-alertes-pied { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 14px; margin: 8px 0 40px; }
.w-alertes-garantie { display: flex; gap: 14px; padding: 14px; background: var(--w-surface-2); border: var(--w-border); }
.w-alertes-garantie-ico { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none;
  background: var(--w-accent); border: 2px solid #171C1F; color: #171C1F; }
.w-alertes-garantie-ico .w-ico { width: 22px; height: 22px; }
.w-alertes-garantie h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 18px; line-height: 22px; }
.w-alertes-garantie p { margin: 0 0 6px; }
.w-alertes-garantie .w-label { color: var(--w-muted); margin: 8px 0 0; }
.w-alertes-couverture { padding: 12px; background: var(--w-panneau); color: #ECF1F4; border: 2px solid #171C1F; }
.w-alertes-couverture-tete { display: block; margin-bottom: 10px; font-family: var(--w-font-mono); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: var(--w-accent); }
.w-alertes-couverture dl { margin: 0; display: grid; gap: 4px; font-family: var(--w-font-mono); font-size: 11px; }
.w-alertes-couverture dl > div { display: flex; justify-content: space-between; gap: 10px; }
.w-alertes-couverture dd { margin: 0; font-weight: 700; }
@media (max-width: 1100px) { .w-alerte-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .w-alerte-derniere { grid-column: 1 / -1; } }
@media (max-width: 860px) {
  .w-kpis.w-kpis-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w-alerte-grille, .w-alertes-pied { grid-template-columns: minmax(0, 1fr); }
  .w-alerte-kv { grid-template-columns: 1fr; }
  .w-alertes-capacite { align-items: flex-start; }
  .w-alerte-etat { margin-left: 0; }
}
.w-btn.w-btn-noir { color: #ECF1F4 !important; }
.w-alerte-s22.is-off { opacity: 1; }
.w-alerte-derniere a.w-alerte-derniere-titre { color: inherit; }
.w-kpis-4 .w-kpi-pied { white-space: normal; overflow: visible; text-overflow: clip; }
/* En-tête de page : le texte prend la place libre, les actions restent à droite (maquettes S12, S22). */
.w-tableau-tete > div:not(.w-tableau-actions):not(.w-tampon) { flex: 1 1 420px; min-width: 0; }
.w-tableau-tete > div:not(.w-tableau-actions):not(.w-tampon) > p { max-width: 80ch; }
/* --- Analyser une annonce (S18) : solde en tête, champ 01, pays segmentés, historique, méthode ------------------------------------ */
.w-solde-boite { display: inline-flex; align-items: center; gap: 12px; padding: 8px 10px 8px 16px; background: var(--w-surface);
  border: 1px solid var(--w-line); box-shadow: var(--w-ombre); color: var(--w-ink) !important; text-decoration: none !important; text-align: right; }
.w-solde-boite .w-label { display: block; color: var(--w-muted); }
.w-solde-boite b { font-family: var(--w-font-mono); font-size: 16px; font-weight: 800; text-transform: uppercase; }
.w-solde-ico { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: var(--w-accent);
  border: 2px solid #171C1F; color: #171C1F; }
.w-solde-ico .w-ico { width: 20px; height: 20px; }
.w-analyser { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 16px; align-items: start; margin-top: 16px; }
.w-analyser-principal, .w-analyser-cote { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.w-champ-carte, .w-methode { background: var(--w-surface); border: 1px solid var(--w-line); box-shadow: var(--w-ombre-forte); }
.w-champ-tete { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 14px; background: var(--w-surface-3);
  border-bottom: 1px solid var(--w-line); font-family: var(--w-font-mono); font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; }
.w-champ-tete > span { display: inline-flex; align-items: center; gap: 8px; }
.w-champ-tete > span + span { color: var(--w-muted); font-weight: 500; }
.w-champ-tete .w-ico { width: 16px; height: 16px; }
.w-carre { display: inline-block; width: 12px; height: 12px; background: var(--w-accent); border: 1px solid #171C1F; }
.w-champ-corps { display: flex; flex-direction: column; gap: 14px; padding: 18px; }
.w-champ-corps > .w-label { margin: 0; }
.w-url { display: flex; align-items: center; gap: 10px; padding: 0 12px; border: 1px solid var(--w-line); background: var(--w-surface); }
.w-url .w-ico { width: 18px; height: 18px; color: var(--w-muted); flex: none; }
.w-url input { flex: 1; min-width: 0; min-height: 48px !important; border: 0 !important; box-shadow: none !important; background: transparent !important;
  padding: 0 4px !important; font-family: var(--w-font-body) !important; font-size: 16px !important; text-overflow: ellipsis; }
.w-url:focus-within { outline: 3px solid var(--w-accent); outline-offset: 1px; }
.w-segments { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; margin: 0; padding: 0; border: 0; }
.w-segments legend { grid-column: 1 / -1; padding: 0; margin-bottom: 8px; }
.w-segments label { position: relative; display: block; cursor: pointer; }
.w-segments input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.w-segments span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; padding: 6px;
  border: 1px solid var(--w-line); background: var(--w-surface); text-align: center; font-family: var(--w-font-mono); font-size: 10px;
  text-transform: uppercase; line-height: 1.2; }
.w-segments span b { font-size: 12px; }
.w-segments input:checked + span { background: var(--w-panneau); color: #ECF1F4; border-color: #171C1F; }
.w-segments input:focus-visible + span { outline: 3px solid var(--w-accent); outline-offset: 1px; }
.w-analyser-etat { max-width: 340px; margin: 0; }
.w-garantie-cout { display: flex; gap: 12px; padding: 12px 14px; border: 2px dashed var(--w-line-strong); }
.w-garantie-cout > .w-ico { width: 22px; height: 22px; flex: none; color: var(--w-muted); }
.w-garantie-cout strong { display: block; font-family: var(--w-font-display); font-size: 17px; line-height: 20px; text-transform: uppercase; }
.w-garantie-cout p { margin: 4px 0 0; color: var(--w-muted); font-size: 12px; }
.w-champ-envoi { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.w-champ-statut { display: inline-flex; align-items: center; gap: 8px; font-family: var(--w-font-mono); font-size: 10px; text-transform: uppercase;
  letter-spacing: .04em; color: var(--w-muted); }
.w-champ-boutons { display: flex; flex-wrap: wrap; gap: 10px; }
.w-btn.w-btn-grand { min-height: 56px; padding: 0 22px; font-size: 18px; box-shadow: var(--w-ombre-forte); }
.w-btn .w-ico { width: 18px; height: 18px; }
.w-historique-tete { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.w-historique-tete h2 { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 18px; line-height: 22px; }
.w-historique-tete h2 .w-ico { width: 18px; height: 18px; }
.w-historique .w-tableau-defile { margin: 0; border: 1px solid var(--w-line); box-shadow: var(--w-ombre-forte); }
.w-historique-table td { vertical-align: middle; }
.w-historique-table .num { text-align: right; }
.w-historique-titre { font-family: var(--w-font-display); font-size: 15px; text-transform: uppercase; }
.w-historique-url { display: block; margin-top: 2px; font-size: 10px; color: var(--w-muted); }
.w-lien-dossier { display: inline-flex; align-items: center; gap: 6px; font-family: var(--w-font-display); font-weight: 700; font-size: 15px;
  text-transform: uppercase; color: var(--w-ink) !important; }
.w-lien-dossier .w-ico { width: 14px; height: 14px; }
.w-vide-ligne { margin: 0; padding: 14px; background: var(--w-surface); border: 1px solid var(--w-line); color: var(--w-muted); }
.w-methode-corps { padding: 16px 18px; }
.w-methode-corps h2 { margin: 0 0 8px; font-size: 20px; line-height: 24px; }
.w-methode-corps > p { font-size: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--w-line); }
.w-methode-etapes { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.w-methode-etapes li { display: flex; gap: 10px; align-items: flex-start; }
.w-methode-etapes .w-code { flex: none; }
.w-methode-etapes strong { display: block; font-family: var(--w-font-display); font-size: 16px; line-height: 19px; text-transform: uppercase; }
.w-methode-etapes p { margin: 3px 0 0; font-size: 12px; color: var(--w-muted); }
.w-methode-pays { margin: 0; padding: 10px 14px; border-top: 1px solid var(--w-line); background: var(--w-surface-2); text-align: center;
  font-family: var(--w-font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--w-muted); }
.w-analyser-lot { display: flex; flex-direction: column; gap: 8px; }
.w-analyser-lot .w-label { display: inline-flex; align-items: center; gap: 8px; }
.w-analyser-lot .w-label .w-ico { width: 16px; height: 16px; color: var(--w-accent-texte); }
.w-analyser-lot p { margin: 0; font-size: 12px; color: var(--w-muted); }
.w-btn.w-btn-bloc { justify-content: space-between; width: 100%; }
@media (max-width: 1100px) { .w-analyser { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) {
  .w-segments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w-champ-boutons, .w-champ-boutons .w-btn { width: 100%; }
  .w-btn.w-btn-grand { font-size: 16px; white-space: normal; }
}
/* --- Tableau de bord (maquette « Übersicht ») : repères à droite de l'en-tête, carte d'opportunité, barres par pays --------------- */
.w-tableau-reperes { flex-direction: column; align-items: flex-end; gap: 8px; }
.w-tableau-reperes .w-etiquette { font-size: 10px; padding: 3px 10px; border-width: 2px; }
.w-tableau-reperes .w-etiquette.noir { background: #171C1F; color: #F5FAFD; border-color: #171C1F; }
.w-annonce.w-annonce-radar { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 14px; }
.w-annonce-radar .w-annonce-titre { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: start;
  padding-bottom: 10px; border-bottom: 1px solid var(--w-line); }
.w-annonce-radar h3 { margin: 0 0 4px; font-size: 20px; line-height: 24px; text-transform: none; letter-spacing: 0; }
.w-annonce-radar h3 a { color: var(--w-ink); text-decoration: none; }
.w-annonce-radar h3 a::after { content: ""; position: absolute; inset: 0; }
.w-annonce-radar:has(h3 a:focus-visible) { outline: 3px solid var(--w-accent); outline-offset: 2px; }
.w-annonce-radar h3 a:focus-visible { outline: none; }
.w-annonce-ligne { margin: 0; font-family: var(--w-font-mono); font-size: 11px; color: var(--w-ink); }
.w-annonce-radar .w-prix { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.w-annonce-radar .w-prix strong { font-family: var(--w-font-display); font-size: 20px; line-height: 24px; }
.w-annonce-radar .w-prix span { font-family: var(--w-font-mono); font-size: 11px; color: var(--w-muted); }
.w-annonce-radar .w-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; }
.w-annonce-radar .w-pill:not(.noir):not(.ok):not(.warn):not(.bad):not(.demo):not(.muted) { background: var(--w-surface-2); border: 1px solid var(--w-line-strong); }
.w-annonce-fiab { margin-left: auto; font-family: var(--w-font-mono); font-size: 11px; color: var(--w-muted); }
.w-annonce-boutons { position: relative; z-index: 1; display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.w-annonce-boutons form { margin: 0; }
.w-annonce-boutons .w-btn-sm { min-height: 34px; }
.w-annonce-boutons .w-btn-sm[aria-pressed="true"] { background: #171C1F; color: var(--w-accent) !important; }
.w-annonce-boutons .w-btn-primary { min-height: 38px; }
.w-pays-barre { display: block; height: 8px; margin-top: 4px; background: var(--w-surface); border: 1px solid var(--w-line-strong); overflow: hidden; }
.w-pays-barre i { display: block; height: 100%; background: var(--w-panneau); box-shadow: inset -6px 0 0 var(--w-accent); }
@media (max-width: 860px) {
  .w-tableau-reperes { align-items: flex-start; }
  .w-annonce-radar .w-annonce-titre { grid-template-columns: auto minmax(0, 1fr); }
  .w-annonce-radar .w-prix { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: baseline; }
  .w-annonce-fiab { margin-left: 0; width: 100%; }
  .w-annonce-boutons { justify-content: stretch; }
  .w-annonce-boutons > * { flex: 1; }
  .w-annonce-boutons .w-btn { width: 100%; }
}
.w-annonce-boutons .w-btn-sm { font-family: var(--w-font-mono); font-size: 11px; letter-spacing: .06em; box-shadow: none; padding: 0 14px; }
.w-annonce-radar .w-badges { border-top: 0; padding-top: 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .w-pill.noir { background: #0B0D0F; color: var(--w-accent); border-color: var(--w-line-strong); } }
:root[data-theme="dark"] .w-pill.noir { background: #0B0D0F; color: var(--w-accent); border-color: var(--w-line-strong); }
/* --- Fiche annonce (S13) : fil, en-tête (prix et actions), sections numérotées, répartition des prix, coûts, négociation ----------- */
.w-fiche-s13 { padding-bottom: 48px; }
.w-fil { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin: 12px 0 8px;
  font-family: var(--w-font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--w-muted); }
.w-fil a { color: var(--w-muted) !important; }
.w-fil-etat { display: flex; flex-wrap: wrap; gap: 6px; }
.w-fil-etat .w-etiquette { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; }
.w-fil-etat .w-etiquette.accent { background: var(--w-accent-texte); color: #fff; border-color: var(--w-accent-texte); }
.w-fiche-tete.w-fiche-entete { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 24px; align-items: start; padding: 16px 18px;
  margin: 0 0 16px; background: var(--w-surface); }
.w-fiche-lieu { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; font-family: var(--w-font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: .05em; color: var(--w-muted); }
.w-fiche-lieu .w-code.noir { font-size: 10px; }
.w-fiche-entete h1 { margin: 0 0 8px; font-size: 26px; line-height: 30px; text-transform: none; letter-spacing: 0; }
.w-fiche-entete h1 .w-version { font-size: 14px; color: var(--w-accent-texte); }
.w-fiche-faits { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 0; font-family: var(--w-font-mono); font-size: 12px; color: var(--w-muted); }
.w-fiche-faits > span:not(:last-child)::after { content: "/"; margin: 0 8px; color: var(--w-faint); }
.w-fiche-faits b { color: var(--w-ink); font-weight: 600; }
.w-fiche-prix { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.w-fiche-prix-ligne { display: flex; align-items: center; gap: 8px; }
.w-fiche-prix-ligne b { font-family: var(--w-font-display); font-size: 32px; line-height: 36px; font-weight: 800; }
.w-fiche-prix .w-label { color: var(--w-muted); }
.w-fiche-prix .w-code { background: var(--w-surface-2); font-size: 10px; padding: 2px 8px; height: auto; }
.w-fiche-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.w-fiche-actions form { margin: 0; }
.w-fiche-actions .w-btn-sm { min-height: 40px; font-size: 11px; }
.w-sec { margin: 0 0 16px; background: var(--w-surface); border: 1px solid var(--w-line); box-shadow: var(--w-ombre-forte); }
.w-sec-tete { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 14px; background: var(--w-surface-3);
  border-bottom: 1px solid var(--w-line); font-family: var(--w-font-mono); font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; }
.w-sec-tete > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.w-sec-tete > span:first-child .w-ico { width: 16px; height: 16px; color: var(--w-accent-texte); }
.w-sec-tete > span + span:not(.w-pill):not(.w-code) { color: var(--w-muted); font-weight: 500; }
.w-sec-corps { padding: 16px; }
.w-sec-2col { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; }
.w-sec-pile { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.w-verdict { display: flex; gap: 14px; align-items: flex-start; padding: 12px; background: var(--w-surface-2); border: 1px solid var(--w-line); }
.w-verdict-score { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 64px; height: 64px; flex: none;
  background: var(--w-accent); border: 2px solid #171C1F; color: #171C1F; font-family: var(--w-font-display); font-size: 30px; font-weight: 900; line-height: 1; }
.w-verdict-score small { font-family: var(--w-font-mono); font-size: 9px; font-weight: 600; margin-top: 2px; }
.w-verdict-score.nul { background: var(--w-surface-3); color: var(--w-muted); }
.w-verdict .w-label.accent { color: var(--w-accent-texte); }
.w-verdict strong { display: block; font-family: var(--w-font-display); font-size: 18px; line-height: 22px; text-transform: uppercase; margin: 2px 0 4px; }
.w-verdict p { margin: 0; font-size: 12px; color: var(--w-muted); }
.w-repartition { padding: 12px; border: 1px solid var(--w-line-strong); background: var(--w-surface); }
.w-repartition-tete { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 30px; }
.w-repartition-tete .w-label + .w-label { color: var(--w-accent-texte); text-align: right; }
.w-repartition-graphe { position: relative; }
.w-repartition-rail { position: relative; display: block; height: 14px; border: 1px solid var(--w-line-strong); background: var(--w-surface-2); }
.w-repartition-rail i { position: absolute; top: 0; bottom: 0; }
.w-repartition-rail .z1 { left: 0; background: var(--w-ok-soft); }
.w-repartition-rail .z2 { background: var(--w-warn-soft); }
.w-repartition-rail .z3 { background: var(--w-bad-soft); }
.w-repartition-rail .t { width: 2px; margin-left: -1px; top: -3px; bottom: -3px; background: var(--w-line-strong); }
.w-repartition-offre { position: absolute; bottom: 100%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; z-index: 1;
  margin-bottom: -20px; }
.w-repartition-offre b { padding: 1px 6px; background: var(--w-accent-texte); color: #fff; font-family: var(--w-font-mono); font-size: 10px; white-space: nowrap; }
.w-repartition-offre i { width: 12px; height: 12px; margin-top: 2px; background: var(--w-accent); border: 2px solid #171C1F; transform: rotate(45deg); }
.w-repartition-reperes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px;
  font-family: var(--w-font-mono); font-size: 10px; color: var(--w-muted); }
.w-repartition-reperes span:nth-child(2) { text-align: center; }
.w-repartition-reperes span:last-child { text-align: right; }
.w-repartition-ecart { margin: 8px 0 6px; padding: 6px 8px; border: 1px solid var(--w-line-strong); font-family: var(--w-font-mono); font-size: 11px; }
.w-repartition-zone { display: block; padding: 3px 8px; font-family: var(--w-font-mono); font-size: 10px; font-weight: 700; text-transform: uppercase; border: 1px solid; }
.w-repartition-zone.ok { background: var(--w-ok-soft); color: var(--w-ok); }
.w-repartition-zone.warn { background: var(--w-warn-soft); color: var(--w-warn); }
.w-repartition-zone.bad { background: var(--w-bad-soft); color: var(--w-bad); }
.w-jauge-carte { padding: 12px; border: 1px solid var(--w-line); background: var(--w-surface); }
.w-jauge-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.w-jauge-tete b { font-family: var(--w-font-mono); font-size: 13px; }
.w-jauge-tete b.bad { color: var(--w-bad); }
.w-jauge { display: block; height: 8px; margin-bottom: 10px; border: 1px solid var(--w-line-strong); background: var(--w-surface-2); }
.w-jauge i { display: block; height: 100%; background: var(--w-panneau); box-shadow: inset -4px 0 0 var(--w-accent); }
.w-jauge-carte .w-liste-simple { margin: 6px 0 0; font-size: 12px; }
.w-postes tfoot th, .w-postes tfoot td { padding: 10px 12px; background: var(--w-surface-3); border-top: 1px solid var(--w-line);
  font-family: var(--w-font-display); font-size: 15px; font-weight: 700; text-transform: uppercase; color: var(--w-ink); }
.w-postes { border: 1px solid var(--w-line-strong); }
.w-revente { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--w-line); background: var(--w-surface-2); }
.w-revente h3 { margin: 0 0 6px; font-size: 16px; }
.w-import-formalites { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--w-line-strong); }
.w-import-formalites h3 { margin: 0 0 6px; font-size: 16px; }
.w-import-formalites ul { margin: 0 0 8px; padding-left: 18px; }
.w-import-formalites li + li { margin-top: 4px; }
.w-import-formalites p { margin: 0; }
.w-revente-ligne { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px; }
.w-revente-ligne + .w-revente-ligne { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--w-line); }
.w-revente-ligne .w-label { display: block; color: var(--w-muted); }
.w-revente-ligne .w-label.accent { color: var(--w-accent-texte); }
.w-revente-ligne > span > b:not(.w-revente-marge) { font-family: var(--w-font-mono); font-size: 12px; font-weight: 600; }
.w-revente-montant { font-family: var(--w-font-display); font-size: 22px; font-weight: 800; }
.w-revente-marge { font-family: var(--w-font-display); font-size: 30px; line-height: 34px; font-weight: 900; margin-right: 8px; }
.w-sec-total { margin: 12px 0 0; padding: 8px 12px; background: var(--w-surface-3); border: 1px solid var(--w-line-strong); }
.w-risques { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.w-risques li { padding: 10px 12px; background: var(--w-surface-2); border: 1px solid var(--w-line-strong); border-left: 4px solid var(--w-accent); font-size: 13px; }
.w-nego-boite { margin-bottom: 16px; padding: 14px; border: 2px solid var(--w-accent); background: var(--w-accent-soft); }
.w-nego-boite h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 16px; }
.w-nego-boite h3 .w-ico { width: 16px; height: 16px; color: var(--w-accent-texte); }
.w-nego-boite .w-nego { background: var(--w-surface); }
.w-nego-cible { display: inline-block; margin: 6px 0 10px; padding: 4px 10px; border: 1px solid var(--w-accent-texte); color: var(--w-accent-texte); background: var(--w-surface); }
.w-sec-sous { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin: 0 0 6px; }
.w-sec .w-tableau-defile { margin: 0; box-shadow: none; }
.w-accent-texte { color: var(--w-accent-texte); }
.w-fiche-pied { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--w-line);
  font-family: var(--w-font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .04em; color: var(--w-muted); }
.w-fiche-pied > span { display: inline-flex; align-items: center; gap: 6px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .w-nego-boite { background: var(--w-surface-2); } }
:root[data-theme="dark"] .w-nego-boite { background: var(--w-surface-2); }
@media (max-width: 860px) {
  .w-fiche-tete.w-fiche-entete { grid-template-columns: minmax(0, 1fr); }
  .w-fiche-prix { align-items: flex-start; text-align: left; }
  .w-fiche-actions { justify-content: flex-start; }
  .w-sec-2col { grid-template-columns: minmax(0, 1fr); }
  .w-repartition-reperes { font-size: 9px; }
}
.w-repartition-offre.g { transform: translateX(-7px); align-items: flex-start; }
.w-repartition-offre.d { transform: translateX(calc(-100% + 7px)); align-items: flex-end; }
/* --- Nouveau scan (S14) : étapes numérotées, cartes de pays, transparence, coût ------------------------------------------------- */
.w-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.w-row3 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.w-scan-form { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.w-etape-bloc { padding: 16px 18px; background: var(--w-surface); border: 1px solid var(--w-line); box-shadow: var(--w-ombre-forte); }
.w-etape-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--w-line); }
.w-etape-tete h2 { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 20px; line-height: 24px; }
.w-etape-tete .w-label { color: var(--w-muted); }
.w-pays-choix { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; border: 0; }
.w-pays-carte { position: relative; display: block; cursor: pointer; }
.w-pays-carte input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.w-pays-carte-corps { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 12px 14px; border: 1px solid var(--w-line); background: var(--w-surface); }
.w-pays-carte input:checked + .w-pays-carte-corps { background: var(--w-accent-soft); box-shadow: inset 0 0 0 2px var(--w-accent); }
.w-pays-carte input:focus-visible + .w-pays-carte-corps { outline: 3px solid var(--w-accent); outline-offset: 2px; }
.w-pays-carte.ferme .w-pays-carte-corps { background: var(--w-surface-2); }
.w-pays-carte-tete { display: flex; align-items: baseline; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--w-line-strong); }
.w-pays-carte-tete b { font-family: var(--w-font-display); font-size: 26px; line-height: 26px; font-weight: 800; }
.w-pays-carte-tete > span:not(.w-etiquette) { font-family: var(--w-font-display); font-size: 16px; font-weight: 700; text-transform: uppercase; flex: 1; }
.w-pays-carte-tete .w-etiquette { font-size: 9px; }
.w-pays-carte-tete .w-etiquette.statut { background: #171C1F; color: var(--w-accent); border-color: #171C1F; }
.w-pays-carte-kv { display: flex; justify-content: space-between; gap: 8px; font-family: var(--w-font-mono); font-size: 10px; text-transform: uppercase; color: var(--w-muted); }
.w-pays-carte-kv b { color: var(--w-ink); }
.w-pays-carte-sources { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin-top: 2px; }
.w-pays-carte-sources .w-label { width: 100%; margin: 0 0 2px; }
.w-pays-carte-sources .w-code { font-size: 10px; padding: 1px 6px; }
.w-pays-carte-neuf { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-family: var(--w-font-mono); font-size: 11px; color: var(--w-muted); }
.w-pays-carte-neuf .w-point { background: var(--w-line-strong); }
.w-pays-carte-neuf.actif { color: var(--w-accent-texte, var(--w-accent)); font-weight: 700; }
.w-pays-carte-neuf.actif .w-point { background: var(--w-accent); }
.w-pays-carte-raison { font-family: var(--w-font-mono); font-size: 10px; color: var(--w-bad); }
.w-segments.w-segments-ligne { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 12px; }
.w-segments-ligne span { min-height: 42px; }
.w-transparence { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.w-transparence-boite { padding: 12px 14px; background: var(--w-surface-2); border: 1px solid var(--w-line); }
.w-transparence-boite h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 16px; }
.w-transparence-boite h3 .w-ico { width: 16px; height: 16px; }
.w-transparence-boite p { margin: 0; font-size: 12px; color: var(--w-muted); }
.w-transparence-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px !important; }
.w-transparence-tags .w-code { height: auto; padding: 2px 8px; font-size: 10px; background: var(--w-surface); }
.w-transparence-tags .w-code.bad { background: var(--w-bad-soft); color: var(--w-bad); border-color: var(--w-bad); }
.w-scan-cout { display: flex; flex-direction: column; gap: 14px; }
.w-scan-cout-ligne { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 16px; align-items: start; padding-bottom: 14px; border-bottom: 1px solid var(--w-line); }
.w-scan-cout-ligne .w-label { display: block; }
.w-scan-cout-n { display: block; margin: 4px 0; font-family: var(--w-font-display); font-size: 32px; line-height: 36px; font-weight: 800; }
.w-scan-cout-n small { font-size: 16px; text-transform: uppercase; }
.w-scan-cout-n.bad { color: var(--w-bad); }
.w-scan-apres { text-align: right; }
.w-scan-apres .w-scan-cout-n { color: var(--w-accent-texte); }
.w-scan-garantie { padding: 10px 12px; border: 1px solid var(--w-line-strong); background: var(--w-surface-2); }
.w-scan-garantie .w-label.accent { display: flex; align-items: center; gap: 6px; color: var(--w-accent-texte); }
.w-scan-garantie .w-ico { width: 14px; height: 14px; }
.w-scan-garantie p { margin: 4px 0 0; font-size: 11px; color: var(--w-muted); }
.w-scan-envoi { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
@media (max-width: 1100px) { .w-pays-choix { grid-template-columns: repeat(2, minmax(0, 1fr)); } .w-row3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .w-pays-choix, .w-transparence, .w-scan-cout-ligne { grid-template-columns: minmax(0, 1fr); }
  .w-segments.w-segments-ligne { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w-scan-apres { text-align: left; }
}
.w-scan-apres .w-scan-cout-n.bad { color: var(--w-bad); }
/* --- Résultat de scan (S16) : protocole, constat, fiches de résultat, pied d'actions ------------------------------------------- */
.w-protocole { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 6px 0 0 !important; font-family: var(--w-font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .04em; color: var(--w-muted) !important; }
.w-protocole > span:not(.w-code):not(:last-child)::after { content: "/"; margin: 0 10px; color: var(--w-faint); }
.w-protocole b { color: var(--w-ink); }
.w-protocole .w-code { height: auto; padding: 2px 8px; margin-left: 10px; background: var(--w-surface); }
.w-constat { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 16px; padding: 12px 14px; background: var(--w-surface); border: 1px solid var(--w-line); }
.w-constat .w-code { flex: none; height: auto; padding: 4px 10px; text-transform: uppercase; }
.w-constat p { margin: 0; font-size: 14px; }
.w-registre-bande { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 18px 0 8px; padding: 8px 12px; background: var(--w-surface-3);
  border: 1px solid var(--w-line-strong); font-family: var(--w-font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--w-muted); }
.w-registre-bande span:first-child { color: var(--w-ink); font-weight: 700; }
.w-resultat { border: 1px solid var(--w-line); background: var(--w-surface); box-shadow: var(--w-ombre); }
.w-resultat-tete { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 10px 14px; background: var(--w-surface-2); border-bottom: 1px solid var(--w-line-strong); }
.w-resultat-titre { flex: 1; min-width: 220px; }
.w-resultat-titre h3 { margin: 0; font-size: 18px; line-height: 22px; }
.w-resultat-titre h3 a { color: var(--w-ink); }
.w-resultat-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.w-resultat-tags .w-code { height: auto; padding: 2px 8px; font-size: 10px; background: var(--w-surface); }
.w-resultat-corps { display: grid; grid-template-columns: 150px minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(200px, .8fr); gap: 16px; align-items: center; padding: 14px; }
.w-resultat-faits { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 0; }
.w-resultat-faits dt { font-family: var(--w-font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--w-muted); }
.w-resultat-faits dd { margin: 2px 0 0; font-weight: 600; }
.w-resultat-prix { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; background: var(--w-surface-2); border: 1px solid var(--w-line); }
.w-resultat-prix > div { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 8px; text-align: center; }
.w-resultat-prix > div + div { border-left: 1px solid var(--w-line); }
.w-resultat-prix b { font-family: var(--w-font-mono); font-size: 15px; }
.w-resultat-prix small { font-family: var(--w-font-mono); font-size: 10px; color: var(--w-muted); }
.w-resultat-prix .marge { background: var(--w-surface); }
.w-resultat-prix .marge .w-label, .w-resultat-prix .marge b, .w-resultat-prix .marge small { color: var(--w-accent-texte); }
.w-resultat-actions { display: flex; flex-direction: column; gap: 8px; }
.w-resultat-actions form { margin: 0; }
.w-resultat-actions .w-btn { width: 100%; }
.w-resultat-actions .w-btn:not(.w-btn-primary) { background: var(--w-surface-3); box-shadow: none; }
.w-resultat-pied { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 32px; padding: 14px; background: var(--w-surface-2); border: 1px solid var(--w-line-strong); }
.w-resultat-pied form { margin: 0; }
@media (max-width: 1100px) { .w-resultat-corps { grid-template-columns: 150px minmax(0, 1fr); } .w-resultat-prix, .w-resultat-actions { grid-column: 1 / -1; } .w-resultat-actions { flex-direction: row; } }
@media (max-width: 860px) {
  .w-resultat-corps { grid-template-columns: minmax(0, 1fr); }
  .w-resultat-photo { min-height: 180px; }
  .w-resultat-actions { flex-direction: column; }
  .w-constat { flex-direction: column; }
}
/* Accueil (S01) : titre sur toute la largeur en deux lignes, pays en quatre colonnes */
.w-hero h1 { max-width: 36ch; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.1; }
.w-hero .w-lead { max-width: 80ch; }
.w-hero .w-hero-chiffres { max-width: none; }
.w-hero ~ section .w-pays-grid:not([style]), main > section .w-pays-grid:not([style]) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { main > section .w-pays-grid:not([style]) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Mes scans (S23) */
.w-scans-registre .w-comparaison td { vertical-align: top; font-size: 11px; }
.w-scans-registre tbody tr.actif td:first-child { box-shadow: inset 4px 0 0 var(--w-accent); }
.w-scans-titre { font-family: var(--w-font-display); font-size: 15px; text-transform: uppercase; }
.w-scans-registre .w-code { height: auto; padding: 1px 6px; font-size: 9px; margin-top: 4px; }
.w-jauge.petite { height: 6px; margin: 6px 0 0; max-width: 120px; }
.w-scans-statut { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-transform: uppercase; }
.w-scans-statut i { width: 8px; height: 8px; background: var(--w-muted); }
.w-scans-statut.succeeded i { background: var(--w-ok); }
.w-scans-statut.partial i, .w-scans-statut.running i, .w-scans-statut.pending i { background: var(--w-accent); }
.w-scans-statut.failed i, .w-scans-statut.expired i, .w-scans-statut.interrupted i { background: var(--w-bad); }
.w-note-validite { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 32px; padding: 12px 14px; background: var(--w-surface-2); border: 1px solid var(--w-line); border-left: 6px solid var(--w-accent); }
.w-note-validite > .w-ico { width: 20px; height: 20px; flex: none; color: var(--w-accent-texte); }
.w-note-validite strong { font-family: var(--w-font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.w-note-validite p { margin: 4px 0 0; font-size: 12px; color: var(--w-muted); }
.w-scans-registre .w-btn-sm { font-family: var(--w-font-mono); font-size: 11px; min-height: 30px; box-shadow: none; white-space: nowrap; }
/* En-têtes de carte (maquettes S13, S24) : bandeau gris, carré noir, titre condensé ; sur le profil, champs lettrés A, B, C... */
.w-carte > h2:first-child { display: flex; align-items: center; gap: 10px; background: var(--w-variante); color: var(--w-ink); border-bottom: 1px solid var(--w-line);
  font-size: 18px; line-height: 22px; letter-spacing: .01em; }
.w-carte > h2:first-child::before { content: ""; width: 12px; height: 12px; flex: none; background: var(--w-ink); }
.w-carte { border: 1px solid var(--w-line); }
.w-compte { counter-reset: champ; }
.w-compte .w-carte > h2:first-child::after { order: -1; counter-increment: champ; content: counter(champ, upper-alpha) " //"; margin-right: -4px; }
.w-compte .w-carte > h2:first-child::before { order: -2; }
/* Offres (S03) : prix en grand, période en petit */
.w-tarif-prix { font-size: 30px !important; line-height: 34px !important; }
.w-tarif-periode { display: block; margin: -2px 0 8px; font-family: var(--w-font-mono); font-size: 11px; color: var(--w-muted); }
@media (max-width: 860px) { .w-kv-pile { grid-template-columns: minmax(0, 1fr); } .w-kv-pile dd { text-align: left; border-top: 0; padding-top: 0; } }
/* Photos : vignette des résultats de scan, galerie de la fiche (liens directs vers la source, sans référent) ; encadré « En bref » */
.w-resultat-photo { position: relative; display: flex; align-items: center; justify-content: center; align-self: stretch; min-height: 104px;
  overflow: hidden; background: var(--w-surface-2); border: 1px solid var(--w-line); }
.w-resultat-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.w-resultat-photo .w-ico { width: 40px; height: 40px; stroke-width: 1.2; color: var(--w-muted); }
.w-bref { margin-top: 14px; }
/* Galerie défilable : bande horizontale de photos, calage par photo (scroll-snap), la suivante dépasse pour inviter au défilement.
   CSS pur (aucun script : CSP script-src 'self'). Au tactile : glisser ; à la souris : barre de défilement ou molette horizontale ;
   au clavier : focus sur la bande puis flèches. Clic sur une photo = AGRANDISSEMENT plein écran sur place (pas de renvoi externe). */
.w-galerie { margin-top: 14px; }
.w-galerie-defile { display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--w-line-strong) transparent; }
.w-galerie-defile:focus-visible { outline: 2px solid var(--w-accent); outline-offset: 2px; }
.w-galerie-vue { flex: 0 0 86%; max-width: 560px; scroll-snap-align: center; display: block; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--w-surface-2); border: 1px solid var(--w-line); cursor: zoom-in; }
.w-galerie-vue:first-child { border-color: var(--w-line-strong); }
.w-galerie-vue img { display: block; width: 100%; height: 100%; object-fit: cover; }
.w-galerie-defile::-webkit-scrollbar { height: 8px; }
.w-galerie-defile::-webkit-scrollbar-thumb { background: var(--w-line-strong); }
.w-galerie-defile::-webkit-scrollbar-track { background: transparent; }
@media (min-width: 861px) { .w-galerie-vue { flex-basis: 48%; } }

/* Agrandissement plein écran (lightbox) — CSS pur via :target, aucun script. Caché par défaut, affiché quand son ancre est ciblée. */
.w-galerie-zoom { display: none; }
.w-galerie-zoom:target { display: flex; position: fixed; inset: 0; z-index: 1000; align-items: center; justify-content: center;
  padding: 24px; background: rgba(0, 0, 0, .9); }
.w-galerie-zoom-fond { position: absolute; inset: 0; cursor: zoom-out; }           /* clic sur le fond = fermer */
.w-galerie-zoom > img { position: relative; max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 0 0 1px rgba(255,255,255,.15); }
.w-zoom-fermer, .w-zoom-nav { position: absolute; z-index: 1; display: flex; align-items: center; justify-content: center;
  color: #fff; background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .25); text-decoration: none; }
.w-zoom-fermer { top: 16px; right: 16px; width: 44px; height: 44px; font-size: 24px; }
.w-zoom-fermer::after { content: "\00d7"; }                                        /* × dessiné en CSS (pas de texte dans le gabarit) */
.w-zoom-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 64px; font-size: 32px; }
.w-zoom-prec { left: 12px; } .w-zoom-prec::after { content: "\2039"; }             /* ‹ */
.w-zoom-suiv { right: 12px; } .w-zoom-suiv::after { content: "\203a"; }            /* › */
.w-zoom-fermer:hover, .w-zoom-nav:hover { background: var(--w-accent); color: var(--w-accent-ink); border-color: var(--w-accent); }
.w-zoom-compteur { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 1; padding: 4px 12px;
  color: #fff; background: rgba(0, 0, 0, .55); font-family: var(--w-font-mono); font-size: .8rem; }
/* Détail du calcul replié sur la fiche (élément <details> natif, aucun script) */
.w-details { border-top: 1px solid var(--w-line); }
.w-details > summary { cursor: pointer; padding: 10px 14px; font-family: var(--w-font-mono); font-size: .78rem; text-transform: uppercase;
  letter-spacing: .04em; color: var(--w-link); }
.w-details > summary:hover, .w-details[open] > summary { color: var(--w-ink); }
/* Avis de prix de la plateforme d'origine (sources/avis_prix.py) : pointillés, jamais confondu avec le score Wertzo */
.w-pill.w-avis { border-style: dashed; }
.w-avis-bloc { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 12px; border: 1px dashed var(--w-line-strong);
  background: var(--w-surface-2); }
.w-avis-bloc p { flex-basis: 100%; margin: 0; }

/* ===== Tunnel d'accueil (onboarding) : panneau centré, bandeau sombre, grandes questions, tuiles de pays ===== */
.w-ob { max-width: 640px; margin: 0 auto; padding: 26px 0 40px; }
.w-ob-panneau { border: var(--w-border); background: var(--w-surface); }
.w-ob-entete { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; background: var(--w-noir); color: var(--w-sur-noir); padding: 12px 20px; }
.w-ob-kicker { font-family: var(--w-font-display); font-stretch: var(--w-etroit); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: .95rem; }
.w-ob-num { font-family: var(--w-font-mono); font-size: .9rem; letter-spacing: .06em; opacity: .9; }
.w-ob-num b { color: var(--w-accent); }
.w-ob-num i { margin: 0 4px; opacity: .5; font-style: normal; }
.w-ob-corps { padding: 22px 24px 24px; }
.w-ob-intro { margin: 0 0 18px; color: var(--w-muted); font-size: .92rem; }
.w-ob-form { min-height: 236px; display: flex; flex-direction: column; }
.w-ob-question { font-family: var(--w-font-display); font-stretch: var(--w-etroit); text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(1.4rem, 3.4vw, 1.9rem); line-height: 1.05; margin: 2px 0 6px; }
.w-ob-option { font-family: var(--w-font-mono); font-stretch: 100%; text-transform: none; letter-spacing: 0; font-size: .7rem; color: var(--w-muted); vertical-align: middle; }
.w-ob-sous { color: var(--w-muted); font-size: .88rem; margin: 0 0 16px; }
.w-ob-prefs { display: grid; gap: 10px; }
.w-ob-choix { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.w-ob-tuile { position: relative; display: flex; flex-direction: column; gap: 1px; padding: 12px 14px; border: var(--w-border); cursor: pointer; transition: border-color .12s, background-color .12s; }
.w-ob-tuile input { position: absolute; opacity: 0; width: 0; height: 0; }
.w-ob-tuile:hover { border-color: var(--w-faint); }
.w-ob-tuile:has(:checked) { border-color: var(--w-accent); background: var(--w-accent-soft); }
.w-ob-tuile:has(:focus-visible) { outline: 2px solid var(--w-accent); outline-offset: 2px; }
.w-ob-code { font-family: var(--w-font-mono); font-weight: 700; font-size: 1.05rem; }
.w-ob-nom { font-size: .76rem; color: var(--w-muted); }
/* « Passer » : bouton secondaire du bandeau sombre (contour clair, capitales étroites, pictogramme « sauter »), discret face à l'orange. */
.w-ob-entete { flex-wrap: wrap; align-items: center; justify-content: flex-start; row-gap: 10px; }
.w-ob-compteur { white-space: nowrap; }
.w-ob-passer { margin: 0 0 0 auto; }
.w-ob-passer-btn { display: inline-flex; align-items: center; gap: 9px; padding: 6px 9px 6px 12px; background: transparent; cursor: pointer;
  border: 1px solid color-mix(in srgb, var(--w-sur-noir) 30%, transparent); border-radius: var(--w-radius); color: var(--w-sur-noir);
  font-family: var(--w-font-display); font-stretch: var(--w-etroit); text-transform: uppercase; letter-spacing: .09em; font-weight: 600; font-size: .74rem;
  transition: border-color .15s, background-color .15s, color .15s; }
.w-ob-passer-btn .w-ico { width: 14px; height: 14px; stroke-width: 2; transition: transform .15s; }
.w-ob-passer-btn:hover { border-color: var(--w-accent); background: color-mix(in srgb, var(--w-accent) 16%, transparent); color: #fff; }
.w-ob-passer-btn:hover .w-ico { transform: translateX(2px); color: var(--w-accent); }
.w-ob-passer-btn:focus-visible { outline: 2px solid var(--w-accent); outline-offset: 2px; }
.w-ob-entete .w-ob-num { margin-left: 4px; padding-left: 12px; border-left: 1px solid color-mix(in srgb, var(--w-sur-noir) 25%, transparent); }

/* Guide des sections (/guide) : une carte par partie de l'espace, menant à la section. */
.w-guide-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 10px 0 48px; }
.w-guide-carte { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px; text-decoration: none; color: var(--w-ink); }
.w-guide-carte:hover { border-color: var(--w-accent); }
.w-guide-ico { color: var(--w-accent); display: inline-flex; }
.w-guide-ico svg { width: 26px; height: 26px; }
.w-guide-corps h2 { font-size: 1.02rem; margin: 0 0 3px; }
.w-guide-corps p { margin: 0; }
.w-guide-aller { font-family: var(--w-font-mono); font-size: .72rem; color: var(--w-muted); white-space: nowrap; }
.w-guide-carte:hover .w-guide-aller { color: var(--w-accent); }
@media (max-width: 860px) { .w-guide-grille { grid-template-columns: minmax(0, 1fr); } .w-guide-aller { display: none; } }

/* ===== Onboarding animé : route jalonnée + roue + écran de démarrage (dessins : wertzo/_ob_dessins.html) ===== */
.w-ob-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.w-roue-tourne { transform-box: fill-box; transform-origin: center; }
.w-ob-piste { margin: 0 0 18px; padding: 0 22px; }
.w-ob-route { --avance: 0%; --angle: 0deg; position: relative; height: 86px; }
/* Chaussée : asphalte, rive claire, marquage central en tirets ; la trace orange suit la roue (chemin parcouru). */
.w-ob-chaussee { position: absolute; left: -22px; right: -22px; top: 42px; height: 12px; background: linear-gradient(#30373d, #1f2428);
  border-top: 1px solid #4a535b; border-bottom: 1px solid #0f1214; border-radius: var(--w-radius); }
.w-ob-chaussee::after { content: ""; position: absolute; left: 6px; right: 6px; top: 5px; height: 2px;
  background: repeating-linear-gradient(90deg, #e8edf0 0 12px, transparent 12px 22px); opacity: .55; }
.w-ob-trace { position: absolute; z-index: 1; left: 0; top: 4px; height: 4px; width: calc(var(--avance) + 22px);
  background: linear-gradient(90deg, color-mix(in srgb, var(--w-accent) 25%, transparent), var(--w-accent));
  transition: width .75s cubic-bezier(.45,.05,.25,1); }
/* Bornes d'étape (borne kilométrique : tête arrondie colorée, numéro en chiffres mono). */
.w-ob-jalon { position: absolute; top: 60px; transform: translateX(-50%); width: 26px; height: 24px; display: flex; align-items: flex-end;
  justify-content: center; padding-bottom: 2px; background: var(--w-surface); border: 1px solid var(--w-line); border-radius: 9px 9px 2px 2px;
  overflow: hidden; font-family: var(--w-font-mono); font-size: .62rem; font-weight: 700; color: var(--w-muted);
  transition: background-color .3s, color .3s, transform .3s; }
.w-ob-jalon::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7px; background: var(--w-line); transition: background-color .3s; }
.w-ob-jalon b { position: relative; }
.w-ob-jalon-fait::before, .w-ob-jalon-actif::before { background: var(--w-accent); }
.w-ob-jalon-fait { color: var(--w-ink); }
.w-ob-jalon-actif { color: var(--w-ink); background: var(--w-accent-soft); transform: translateX(-50%) translateY(-2px); border-color: var(--w-accent); }
/* La roue (44 px) pose sur la chaussée ; sa rotation suit la distance parcourue (wertzo.js), même courbe que son déplacement. */
.w-ob-pneu { position: absolute; z-index: 2; left: var(--avance); top: 0; width: 44px; height: 44px; transform: translateX(-50%);
  transition: left .75s cubic-bezier(.45,.05,.25,1); }
.w-ob-pneu svg { display: block; width: 100%; height: 100%; overflow: visible; }
.w-ob-pneu .w-roue-tourne { transform: rotate(var(--angle)); transition: transform .75s cubic-bezier(.45,.05,.25,1); }
.w-ob-pneu::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -2px; height: 4px; border-radius: 50%; background: #000; opacity: .35; filter: blur(2px); }
/* Traînée de vitesse derrière la roue pendant qu'elle roule (côté opposé au sens de marche). */
.w-ob-pneu::before { content: ""; position: absolute; top: 12px; right: 70%; width: 48px; height: 20px; opacity: 0; transition: opacity .2s;
  background: repeating-linear-gradient(180deg, transparent 0 4px, color-mix(in srgb, var(--w-line-strong) 45%, transparent) 4px 6px);
  -webkit-mask: linear-gradient(90deg, transparent, #000); mask: linear-gradient(90deg, transparent, #000); }
.w-ob-recule .w-ob-pneu::before { right: auto; left: 70%; -webkit-mask: linear-gradient(270deg, transparent, #000); mask: linear-gradient(270deg, transparent, #000); }
.w-ob-roule .w-ob-pneu::before { opacity: 1; }
/* Mode étape (wertzo.js) : une seule carte visible, boutons prev/next gérés par le script. */
.w-ob-form [data-ob-prev], .w-ob-form [data-ob-next] { display: none; }
.w-ob-form [hidden] { display: none !important; }
.w-ob-actif [data-ob-prev], .w-ob-actif [data-ob-next] { display: inline-flex; }
.w-ob-actif .w-ob-etape { display: none; }
.w-ob-actif .w-ob-etape.w-ob-visible { display: block; }
.w-ob-etape { flex: 1; }
.w-ob-pied { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: var(--w-filet); }
.w-ob-pied [data-ob-next], .w-ob-pied [data-ob-finish] { margin-left: auto; }
.w-ob-compteur { font-family: var(--w-font-mono); font-size: .74rem; color: var(--w-muted); }
/* Écran de fin (1,7 s, puis wertzo.js envoie le formulaire) : voir la couche « Fin du tunnel » plus bas. */
.w-ob-demarrage { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 26px; color: var(--w-sur-noir); background: radial-gradient(ellipse 80% 55% at 50% 58%, #262e34 0, var(--w-noir) 70%); }
.w-ob-demarrage[hidden] { display: none !important; }   /* l'attribut hidden doit l'emporter sur le display ci-dessus */
.w-ob-enroute { position: relative; margin: 0; padding-bottom: 10px; font-family: var(--w-font-display); font-stretch: var(--w-etroit);
  text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: 1.15rem; }

.w-ob-go { animation: w-apparait .2s ease-out; }
@keyframes w-apparait { from { opacity: 0; } }

/* ===== Visite guidée : halo sur l'élément (menu latéral ou carte) + barre d'explication en bas ===== */
.w-tour-cible { position: relative; z-index: 59; border-radius: 3px; outline: 3px solid var(--w-accent); outline-offset: 3px;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--w-accent) 30%, transparent); animation: w-halo 1.5s ease-in-out infinite; }
.w-side-lien.w-tour-cible { outline-offset: 0; }
@keyframes w-halo { 0%, 100% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--w-accent) 30%, transparent); }
  50% { box-shadow: 0 0 0 11px color-mix(in srgb, var(--w-accent) 12%, transparent); } }
.w-tour-barre { position: fixed; z-index: 70; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(560px, 94vw);
  display: flex; flex-direction: column; gap: 8px; background: var(--w-noir); color: var(--w-sur-noir); padding: 12px 16px; border: var(--w-border); }
.w-tour-barre[hidden] { display: none !important; }   /* l'attribut hidden doit l'emporter sur le display ci-dessus */
.w-tour-info { display: flex; flex-direction: column; gap: 2px; }
.w-tour-titre { font-family: var(--w-font-display); font-stretch: var(--w-etroit); font-size: 1rem; }
.w-tour-texte { font-size: .84rem; color: #9aa4b2 !important; }
.w-tour-pied { display: flex; align-items: center; gap: 8px; }
.w-tour-compteur { font-family: var(--w-font-mono); font-size: .72rem; opacity: .8; margin-right: auto; }

@media (prefers-reduced-motion: reduce) {
  .w-tour-cible { animation: none !important; }
  .w-ob-pneu, .w-ob-pneu .w-roue-tourne, .w-ob-trace { transition: none !important; }
  .w-ob-go, .w-ob-go * { animation: none !important; }
}
.w-consent { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0; color: var(--w-muted); line-height: 1.35; }
.w-consent input { margin-top: 3px; flex: none; }

/* Détail réservé (compte sans abonnement ni crédits achetés) */
.w-verrou { border: 1px solid var(--w-line-strong); border-left: 4px solid var(--w-accent, #f26a1b); border-radius: 2px; padding: 14px 16px; margin: 12px 0; }
.w-verrou strong { display: flex; align-items: center; gap: 8px; }

/* ==================================================================================================================================
   Refonte « Scanner » (décision du propriétaire, 2026-11-01) : remplace le filet noir et les ombres pleines des maquettes par un fond
   nocturne à lueur orange, des titres Archivo lourds, des surfaces légères et du mouvement. Angles nets (2 px), orange réservé à l'action,
   aux marges et aux scores. Couche posée EN DERNIER : elle l'emporte sur tout ce qui précède, jetons compris. Clair et sombre pour toutes les pages.
   ================================================================================================================================== */
:root {
  --w-bg: #EEF1F4; --w-surface: #FFFFFF; --w-surface-2: #F1F4F7; --w-surface-3: #E6EAEE; --w-cote: #F7F9FA; --w-variante: #E6EAEE;
  --w-ink: #171C20; --w-muted: #55606A; --w-faint: #7B8691; --w-line: #DCE2E7; --w-line-strong: #B8C2CB;
  --w-accent: #E85C12; --w-accent-hover: #C94F0C; --w-accent-ink: #FFFFFF; --w-accent-texte: #B3460A; --w-accent-clair: #F5A877; --w-accent-soft: #FFE9DC;
  --w-noir: #1B2025; --w-sur-noir: #F1F4F7;
  --w-font-display: 'Archivo', 'Archivo Narrow', system-ui, sans-serif;
  --w-etroit: 100%;
  --w-radius: 2px; --w-radius-carte: 2px;
  --w-border: 1px solid var(--w-line); --w-filet: 1px solid var(--w-line);
  --w-ombre: 0 1px 2px rgba(20, 30, 40, .05); --w-ombre-forte: 0 1px 2px rgba(20, 30, 40, .05);
  --w-ombre-survol: 0 22px 44px -26px rgba(20, 30, 40, .4);
  --w-lueur-1: rgba(232, 92, 18, .13); --w-lueur-2: rgba(232, 92, 18, 0); --w-lueur-souris: rgba(232, 92, 18, .07);
  --w-verre: rgba(255, 255, 255, .78); --w-reflet: #B3460A; --w-braises: 0; --w-track: #E1E6EB;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --w-bg: #08090B; --w-surface: #13171C; --w-surface-2: #191E24; --w-surface-3: #20262E; --w-cote: #0D1014; --w-variante: #20262E;
    --w-ink: #F3F7FB; --w-muted: #9AA7B5; --w-faint: #6B7787; --w-line: #252C36; --w-line-strong: #3A4453;
    --w-accent: #FF6A1A; --w-accent-hover: #FF8236; --w-accent-ink: #08090B; --w-accent-texte: #FF8A4D; --w-accent-soft: #3A1E0E;
    --w-noir: #0D1014; --w-sur-noir: #F3F7FB;
    --w-border: 1px solid var(--w-line); --w-ombre: none; --w-ombre-forte: none; --w-ombre-survol: 0 26px 60px -30px rgba(0, 0, 0, .8);
    --w-lueur-1: rgba(255, 106, 26, .24); --w-lueur-2: rgba(255, 160, 77, .09); --w-lueur-souris: rgba(255, 106, 26, .1);
    --w-verre: rgba(8, 9, 11, .74); --w-reflet: #FFA04D; --w-braises: 1; --w-track: #252C36;
  }
}
:root[data-theme="dark"] {
  --w-bg: #08090B; --w-surface: #13171C; --w-surface-2: #191E24; --w-surface-3: #20262E; --w-cote: #0D1014; --w-variante: #20262E;
  --w-ink: #F3F7FB; --w-muted: #9AA7B5; --w-faint: #6B7787; --w-line: #252C36; --w-line-strong: #3A4453;
  --w-accent: #FF6A1A; --w-accent-hover: #FF8236; --w-accent-ink: #08090B; --w-accent-texte: #FF8A4D; --w-accent-soft: #3A1E0E;
  --w-noir: #0D1014; --w-sur-noir: #F3F7FB;
  --w-border: 1px solid var(--w-line); --w-ombre: none; --w-ombre-forte: none; --w-ombre-survol: 0 26px 60px -30px rgba(0, 0, 0, .8);
  --w-lueur-1: rgba(255, 106, 26, .24); --w-lueur-2: rgba(255, 160, 77, .09); --w-lueur-souris: rgba(255, 106, 26, .1);
  --w-verre: rgba(8, 9, 11, .74); --w-reflet: #FFA04D; --w-braises: 1; --w-track: #252C36;
}

/* --- Socle : lueur fixe, braises, lueur à la souris, défilement ancré --------------------------------------------------------------- */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body.w-body { overflow-x: clip; }
body.w-body { background: var(--w-bg); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; transition: background-color .3s, color .3s; }
body.w-body::before { content: ""; position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background: radial-gradient(1100px 620px at 72% -12%, var(--w-lueur-1), transparent 62%), radial-gradient(760px 560px at 3% 2%, var(--w-lueur-2), transparent 58%); }
.w-braises { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; opacity: var(--w-braises); }
.w-lueur { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .6s;
  background: radial-gradient(380px 380px at var(--x, 50%) var(--y, 20%), var(--w-lueur-souris), transparent 70%); }
main { position: relative; }
::selection { background: var(--w-accent); color: var(--w-accent-ink); }

/* --- Titres : Archivo lourd --------------------------------------------------------------------------------------------------------- */
h1, h2, h3 { font-family: var(--w-font-display); font-stretch: 100%; letter-spacing: -.01em; }
h1 { font-weight: 900; font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.05; }
h2 { font-weight: 800; font-size: 1.15rem; line-height: 1.2; letter-spacing: -.005em; }
h3 { font-weight: 700; font-size: 1rem; line-height: 1.25; letter-spacing: 0; text-transform: none; }
.w-app h1 { font-size: clamp(1.45rem, 2.4vw, 1.95rem); line-height: 1.1; }
.w-label, .w-legend, .w-kpi-lib, .w-side-titre { letter-spacing: .12em; }

/* --- Barres de navigation --------------------------------------------------------------------------------------------------------- */
.w-nav, .w-appbar { background: var(--w-verre); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--w-line); color: var(--w-ink); }
.w-appbar { position: sticky; top: 0; z-index: 30; }
.w-nav-in { min-height: 64px; }
.w-appbar .w-logo-texte, .w-logo-texte { color: var(--w-ink); }
.w-links { justify-content: center; gap: 6px 22px; }
.w-links a, .w-links a:hover { font-family: var(--w-font-body); font-size: .86rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--w-muted); border-bottom: 0; padding: 6px 0; position: relative; transition: color .18s; text-decoration: none; }
.w-links a:hover { color: var(--w-ink); }
.w-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--w-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.w-links a:hover::after { transform: scaleX(1); }
.w-appbar .w-brand-sous { background: transparent; border: 1px solid var(--w-line); color: var(--w-muted); }
.w-appbar .w-tel { background: var(--w-surface-2); border: 1px solid var(--w-line); color: var(--w-muted) !important; border-radius: var(--w-radius); }
.w-appbar .w-tel b { color: var(--w-accent-texte); }
.w-appbar .w-point { background: var(--w-ok); }
.w-appbar .w-point.vieux { background: var(--w-warn); }
.w-appbar .w-theme, .w-nav .w-theme, .w-appbar .w-burger { background: transparent; border: 1px solid var(--w-line-strong); color: var(--w-ink); border-radius: var(--w-radius); box-shadow: none; }
.w-appbar .w-burger span { background: var(--w-ink); }
.w-appbar .w-theme:hover, .w-nav .w-theme:hover { border-color: var(--w-accent); color: var(--w-accent-texte); }
.w-appbar .w-compte-email { color: var(--w-ink); }
.w-appbar .w-avatar { background: var(--w-accent); color: var(--w-accent-ink); border: 0; border-radius: var(--w-radius); }

/* Barre latérale : verre discret, élément actif marqué d'un filet orange */
.w-side { background: var(--w-cote); border-right: 1px solid var(--w-line); }
.w-side-groupe { border-top: 1px solid var(--w-line); }
.w-side-lien { font-family: var(--w-font-body); font-size: .86rem; color: var(--w-muted) !important; padding: 8px 10px; border-radius: var(--w-radius); transition: background .15s, color .15s, transform .15s; gap: 10px; }
.w-side-lien .w-ico { display: inline-block; }
.w-side-lien:hover { background: var(--w-surface-2); color: var(--w-ink) !important; text-decoration: none; transform: translateX(2px); }
.w-side-lien[aria-current="page"] { background: var(--w-accent-soft); color: var(--w-ink) !important; font-size: .86rem; font-weight: 600; border-left: 2px solid var(--w-accent); padding-left: 8px; }
.w-side-lien .w-badge, .w-side-lien[aria-current="page"] .w-badge:not(.accent) { background: var(--w-surface-3); color: var(--w-ink); border: 0; border-radius: var(--w-radius); }
.w-side-pied { background: var(--w-surface-2); border-top: 1px solid var(--w-line); padding: 10px 12px; }

/* --- Sélecteur de langue ----------------------------------------------------------------------------------------------------------- */
.w-langue > summary, .w-appbar .w-langue > summary { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 9px; background: transparent; border: 1px solid var(--w-line-strong);
  border-radius: var(--w-radius); color: var(--w-ink); font-family: var(--w-font-mono); font-size: .74rem; font-weight: 600; letter-spacing: .06em; transition: border-color .18s, color .18s; }
.w-langue > summary::after { content: none; }
.w-langue > summary .w-ico { width: 14px; height: 14px; vertical-align: 0; }
.w-langue > summary .w-ico:last-child { width: 12px; height: 12px; color: var(--w-faint); transition: transform .22s; }
.w-langue > summary:hover { border-color: var(--w-accent); }
.w-langue[open] > summary, .w-appbar .w-langue[open] > summary { background: transparent; color: var(--w-ink); border-color: var(--w-accent); }
.w-langue[open] > summary .w-ico:last-child { transform: rotate(180deg); }
.w-langue ul { left: auto; right: 0; top: calc(100% + 8px); min-width: 196px; padding: 6px; background: var(--w-surface); border: 1px solid var(--w-line-strong); border-radius: var(--w-radius);
  box-shadow: var(--w-ombre-survol); animation: w-menu-entree .18s cubic-bezier(.2, .7, .2, 1); z-index: 40; }
.w-langue li a { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 9px 10px; border-radius: var(--w-radius); color: var(--w-ink); font-family: var(--w-font-body); font-size: .88rem; font-weight: 500; text-transform: none; letter-spacing: 0; transition: background .14s; }
.w-langue li a i { font-family: var(--w-font-mono); font-style: normal; font-size: .66rem; letter-spacing: .08em; color: var(--w-faint); }
.w-langue li a[aria-current] { background: var(--w-accent-soft); font-weight: 600; }
.w-langue li a[aria-current]::before { content: none; }
.w-langue li a[aria-current] i { color: var(--w-accent-texte); }
.w-langue li a:hover, .w-langue li a:focus-visible { background: var(--w-surface-2); text-decoration: none; }
@keyframes w-menu-entree { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.w-deroulant ul, .w-compte-menu ul { border: 1px solid var(--w-line-strong); box-shadow: var(--w-ombre-survol); }

/* --- Boutons -------------------------------------------------------------------------------------------------------------------- */
.w-btn { font-family: var(--w-font-mono); font-size: .78rem; font-weight: 600; letter-spacing: .02em; text-transform: none; min-height: 40px; padding: 0 16px; border: 1px solid var(--w-line-strong); background: transparent;
  box-shadow: none; transition: border-color .18s, background .18s, box-shadow .18s, transform .12s; }
.w-btn:hover { background: var(--w-surface-2); border-color: var(--w-faint); }
.w-btn:active { transform: translateY(1px); box-shadow: none; }
.w-btn-primary, .w-btn-primary:hover { color: var(--w-accent-ink) !important; }
.w-btn-primary { background: var(--w-accent); border-color: var(--w-accent); }
.w-btn-primary:hover { background: var(--w-accent-hover); border-color: var(--w-accent-hover); box-shadow: 0 14px 34px -14px var(--w-accent); }
.w-btn-sm { min-height: 30px; font-size: .68rem; padding: 0 10px; }
.w-btn-large { min-height: 50px; padding: 0 24px; font-size: .86rem; }
.w-btn-danger { border-color: var(--w-bad); }
.w-v-fleche { display: inline-block; transition: transform .18s; }
.w-btn:hover .w-v-fleche { transform: translateX(4px); }

/* --- Champs --------------------------------------------------------------------------------------------------------------------- */
.w-field input, .w-field select, .w-field textarea, .w-pile > input, .w-pile > select, .w-pile > textarea, .w-tri select, .w-nego {
  background: var(--w-surface); border: 1px solid var(--w-line-strong); box-shadow: none; transition: border-color .15s, box-shadow .15s; }
.w-field input:focus-visible, .w-field select:focus-visible, .w-field textarea:focus-visible { border-color: var(--w-accent); outline: 0; box-shadow: 0 0 0 3px var(--w-accent-soft); }
.w-puce { border: 1px solid var(--w-line-strong); transition: border-color .15s, background .15s, color .15s; }

/* --- Surfaces : un filet, aucune ombre pleine, léger relief au survol ------------------------------------------------------------- */
.w-carte, .w-bloc, .w-kpi, .w-annonce, .w-section-tete, .w-tarif, .w-alerte, .w-etape-carte, .w-pays, .w-faq-item, .w-filtres, .w-resultats-tete, .w-pagination, .w-bande, .w-centre, .w-hero-chiffres, .w-vide,
.w-tableau-tete, .w-fiche-tete, .w-tableau-defile, .w-sec { border: 1px solid var(--w-line); border-radius: var(--w-radius); box-shadow: var(--w-ombre); background: var(--w-surface); }
.w-carte > h2:first-child, .w-filtres-pli > summary, .w-sec-tete { background: var(--w-surface-2); color: var(--w-ink); border-bottom: 1px solid var(--w-line); }
.w-sec-tete { font-family: var(--w-font-display); font-weight: 700; }
.w-sec-tete .w-ico { color: var(--w-accent-texte); }
.w-kpi, .w-annonce, .w-alerte, .w-tarif, .w-bloc, .w-etape-carte, .w-sec { transition: border-color .2s, box-shadow .2s, transform .2s; }
.w-kpi:hover, .w-tarif:hover { transform: translateY(-3px); box-shadow: var(--w-ombre-survol); border-color: var(--w-line-strong); }
.w-annonce:hover { transform: translateY(-2px); box-shadow: var(--w-ombre-survol); border-color: var(--w-line-strong); text-decoration: none !important; }
.w-kpi.accent { background: var(--w-accent); border-color: var(--w-accent); color: var(--w-accent-ink) !important; }
.w-tableau-tete, .w-fiche-tete { background: var(--w-surface); }
.w-etiquette { border: 1px solid var(--w-line-strong); background: transparent; }
.w-etiquette.accent { color: var(--w-accent-texte); border-color: var(--w-accent); background: transparent; }
.w-etiquette.noir, .w-code.noir, .w-pill.noir { background: var(--w-surface-3); color: var(--w-ink); border-color: var(--w-line-strong); }
.w-code { border: 1px solid var(--w-line-strong); background: transparent; }
.w-pill { border-radius: var(--w-radius); background: var(--w-surface-2); }
.w-flash { border: 1px solid var(--w-line); border-left: 3px solid var(--w-accent); border-radius: var(--w-radius); background: var(--w-surface); box-shadow: var(--w-ombre); animation: w-entree .4s cubic-bezier(.2, .7, .2, 1) both; }
.w-flash-ok { border-left-color: var(--w-ok); color: var(--w-ink); }
.w-flash-erreur { border-left-color: var(--w-bad); color: var(--w-ink); }
.w-flash-attention { border-left-color: var(--w-warn); color: var(--w-ink); }
.w-comparaison thead th { background: var(--w-surface-2); border-bottom: 1px solid var(--w-line-strong); }
.w-comparaison tbody tr:nth-child(even) { background: transparent; }
.w-tableau-defile { background: var(--w-surface); }

/* Entrée des cartes : CSS seul, donc aussi pour les résultats recharchés sans recharger la page. Jamais d'état invisible durable. */
@keyframes w-entree { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.w-liste > *, .w-kpis > *, .w-tableau-lateral > *, .w-liste-alertes > *, .w-carte, .w-sec { animation: w-entree .5s cubic-bezier(.2, .7, .2, 1) both; }
.w-liste > :nth-child(2), .w-kpis > :nth-child(2), .w-tableau-lateral > :nth-child(2) { animation-delay: .05s; }
.w-liste > :nth-child(3), .w-kpis > :nth-child(3), .w-tableau-lateral > :nth-child(3) { animation-delay: .1s; }
.w-liste > :nth-child(4), .w-kpis > :nth-child(4) { animation-delay: .15s; }
.w-liste > :nth-child(n+5), .w-kpis > :nth-child(n+5) { animation-delay: .2s; }

/* --- Score : anneau qui se remplit ------------------------------------------------------------------------------------------------- */
@property --w-sv { syntax: '<number>'; inherits: true; initial-value: 0; }   /* héritée : l'anneau est dessiné par le ::before */
@keyframes w-anneau { from { --w-sv: 0; } }
.w-score, .w-score.bas { --w-sv: var(--s, 0); --w-teinte: var(--w-warn); position: relative; display: inline-flex; align-items: center; justify-content: center; width: 54px; min-width: 54px; height: 54px; padding: 0; border: 0; border-radius: 50%;
  background: none; color: var(--w-ink); font-family: var(--w-font-mono); font-weight: 600; font-size: 1.02rem; font-stretch: 100%; box-shadow: none; animation: w-anneau 1s .15s cubic-bezier(.3, .9, .3, 1) both; }
.w-score::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--w-teinte) calc(var(--w-sv) * 1%), var(--w-track) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4.5px)); }
.w-score.fort { --w-teinte: var(--w-accent); color: var(--w-accent-texte); }
.w-score.bas { --w-teinte: var(--w-faint); color: var(--w-muted); }
.w-score.nul { --w-teinte: var(--w-track); --w-sv: 0; color: var(--w-faint); background: none; border: 0; animation: none; }
/* Évaluation de la fiche : le même anneau, en plus grand. */
.w-verdict-score { --w-sv: var(--s, 0); --w-teinte: var(--w-warn); position: relative; width: 78px; height: 78px; border: 0; border-radius: 50%; background: none; color: var(--w-ink);
  font-family: var(--w-font-mono); font-weight: 600; font-size: 1.45rem; line-height: 1; box-shadow: none; animation: w-anneau 1.1s .15s cubic-bezier(.3, .9, .3, 1) both; }
.w-verdict-score::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--w-teinte) calc(var(--w-sv) * 1%), var(--w-track) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6.5px)); }
.w-verdict-score small { color: var(--w-muted); }
.w-verdict-score.fort { --w-teinte: var(--w-accent); color: var(--w-accent-texte); }
.w-verdict-score.bas { --w-teinte: var(--w-faint); color: var(--w-muted); }
.w-verdict-score.nul { --w-sv: 0; background: none; color: var(--w-faint); animation: none; }

/* --- Détail réservé : de quoi donner envie, jamais de chiffre réel (le serveur ne les envoie pas) ------------------------------------ */
.w-verrou { position: relative; overflow: hidden; padding: 20px; background: linear-gradient(120deg, var(--w-accent-soft), transparent 70%), var(--w-surface); border: 1px solid var(--w-accent); border-radius: var(--w-radius); }
.w-verrou strong { font-family: var(--w-font-display); font-weight: 800; font-size: 1.08rem; }
.w-verrou .w-ico { color: var(--w-accent-texte); }
.w-verrou .w-btn { margin-top: 2px; }

/* --- Pied de page --------------------------------------------------------------------------------------------------------------- */
.w-pied { background: transparent; color: var(--w-muted); border-top: 1px solid var(--w-line); margin-top: 40px; }
.w-pied a { color: var(--w-ink); }
.w-logo-sur-sombre { display: none; }
.w-logo-sur-clair { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .w-logo-sur-sombre { display: block; }
  :root:not([data-theme="light"]) .w-logo-sur-clair { display: none; }
}
:root[data-theme="dark"] .w-logo-sur-sombre { display: block; }
:root[data-theme="dark"] .w-logo-sur-clair { display: none; }

/* --- Tunnel : connexion, inscription, mot de passe, onboarding ----------------------------------------------------------------------- */
.w-auth-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 48px; align-items: center; justify-content: center; max-width: 1040px; padding-top: 44px; padding-bottom: 44px; }
.w-auth-duo .w-centre { margin: 0; width: 100%; }
.w-auth-cote { min-width: 0; animation: w-entree .6s cubic-bezier(.2, .7, .2, 1) both; }
.w-auth-cote img { display: block; width: 100%; height: auto; border: 1px solid var(--w-line-strong); margin-bottom: 18px; }
.w-auth-cote ul { list-style: none; margin: 10px 0 14px; padding: 0; display: grid; gap: 9px; }
.w-auth-cote li { display: flex; gap: 10px; font-size: .95rem; }
.w-auth-cote li::before { content: "✓"; color: var(--w-ok); font-weight: 700; }
@media (max-width: 860px) { .w-auth-duo { grid-template-columns: minmax(0, 1fr); padding-top: 22px; } .w-auth-cote { display: none; } }
.w-centre { background: var(--w-surface); border: 1px solid var(--w-line); box-shadow: var(--w-ombre-survol); padding: 28px; animation: w-entree .5s cubic-bezier(.2, .7, .2, 1) both; }
.w-centre > h1:first-child { margin: 0 0 18px; padding: 0; background: none; color: var(--w-ink); }
.w-auth-bandeau { background: transparent; color: var(--w-accent-texte); border: 0; padding: 0; margin: 0 0 10px; font-family: var(--w-font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.w-auth h1 { font-size: clamp(1.5rem, 3vw, 2rem); }
.w-auth .w-btn-large { width: 100%; }
.w-auth-encart { background: var(--w-surface-2); border: 0; border-left: 2px solid var(--w-accent); }

/* --- Espace membre : les avantages en grand, le prix en petit ------------------------------------------------------------------------ */
.w-vente { padding-top: 26px; padding-bottom: 56px; display: grid; gap: 22px; }
.w-vente-tete h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); text-transform: uppercase; margin-bottom: 12px; }
.w-vente-tete > p:last-child { color: var(--w-muted); max-width: 62ch; margin: 0; font-size: 1.02rem; }
.w-vente-offre { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); border: 1px solid var(--w-accent); background: var(--w-surface); box-shadow: 0 34px 80px -50px var(--w-accent); animation: w-entree .5s cubic-bezier(.2, .7, .2, 1) both; }
.w-vente-gain { padding: 28px; min-width: 0; }
.w-vente-gain h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; text-transform: uppercase; margin: 14px 0 18px; }
.w-vente-gain ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.w-vente-gain li { display: grid; gap: 2px; padding-left: 26px; position: relative; }
.w-vente-gain li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--w-accent-texte); font-weight: 800; font-size: 1.1rem; }
.w-vente-gain li b { font-family: var(--w-font-display); font-weight: 800; font-size: 1.14rem; line-height: 1.25; }
.w-vente-gain li span { color: var(--w-muted); font-size: .9rem; }
.w-vente-achat { padding: 28px; background: var(--w-surface-2); border-left: 1px solid var(--w-line); display: flex; flex-direction: column; justify-content: center; gap: 10px; min-width: 0; }
.w-vente-achat .w-btn { width: 100%; white-space: normal; text-align: center; padding-block: 8px; }
.w-vente-prix { margin: 0; font-size: .82rem; color: var(--w-muted); }
.w-vente-prix b { font-family: var(--w-font-display); font-weight: 800; font-size: 1.35rem; color: var(--w-ink); }
.w-vente-jour { margin: 0; font-family: var(--w-font-mono); font-size: .72rem; color: var(--w-muted); }
.w-vente-duel { border: 1px solid var(--w-line); background: var(--w-surface); }
.w-vente-ligne { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--w-line); }
.w-vente-ligne:last-child { border-bottom: 0; }
.w-vente-ligne > div { padding: 12px 16px; min-width: 0; }
.w-vente-ligne > div + div { text-align: center; border-left: 1px solid var(--w-line); font-family: var(--w-font-mono); font-size: .84rem; }
.w-vente-ligne.tete { background: var(--w-surface-2); }
.w-vente-ligne.tete > div { font-family: var(--w-font-mono); font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--w-muted); }
.w-vente-ligne.tete > div:last-child { color: var(--w-accent-texte); }
.w-vente-ligne .oui { color: var(--w-ok); font-weight: 700; }
.w-vente-ligne .non { color: var(--w-faint); }
.w-vente-autres > h2, .w-vente-gratuit h2 { font-size: 1.15rem; margin-bottom: 12px; }
.w-vente-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.w-vente-grille .w-tarif { display: flex; flex-direction: column; gap: 8px; padding: 18px; }
.w-vente-grille .w-tarif form { margin-top: auto; }
.w-vente-grille .w-tarif p { margin: 0; }
.w-vente-grille .w-btn { width: 100%; white-space: normal; padding-block: 6px; margin-top: 6px; }
.w-tarif.recommande { border-color: var(--w-accent); }
.w-vente-gratuit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; padding: 20px; border: 1px dashed var(--w-line-strong); align-items: center; }
.w-vente-regles { color: var(--w-muted); }
.w-vente-regles p { margin: 0 0 6px; }
.w-offre-tech { margin-top: 8px; }
@media (max-width: 760px) { .w-vente-offre, .w-vente-gratuit { grid-template-columns: minmax(0, 1fr); } .w-vente-achat { border-left: 0; border-top: 1px solid var(--w-line); } }

/* --- Vitrine ------------------------------------------------------------------------------------------------------------------------ */
.w-vitrine .w-pied { margin-top: 0; }
.w-v-etiquette { margin: 0 0 8px; font-family: var(--w-font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--w-accent-texte); }
.w-boot-ecran { display: none; }
.w-boot .w-boot-ecran { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: var(--w-bg); animation: w-boot-sortie .5s 1.05s forwards; }
.w-boot-ecran img { width: min(280px, 60vw); height: auto; }
.w-boot-barre { width: min(240px, 56vw); height: 2px; background: var(--w-line); overflow: hidden; }
.w-boot-barre i { display: block; width: 40%; height: 100%; background: var(--w-accent); box-shadow: 0 0 12px var(--w-accent); animation: w-boot-barre 1s ease-in-out infinite; }
@keyframes w-boot-barre { from { transform: translateX(-120%); } to { transform: translateX(320%); } }
@keyframes w-boot-sortie { to { opacity: 0; visibility: hidden; } }
.w-v-hero { padding: clamp(28px, 4vw, 52px) 0 clamp(26px, 3.5vw, 44px); }
.w-v-hero-grille { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(26px, 3.5vw, 56px); align-items: center; max-width: 1280px; }
.w-v-hero-texte { min-width: 0; }
.w-v-surtitre { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; font-family: var(--w-font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--w-muted); }
.w-v-point { width: 7px; height: 7px; flex: none; background: var(--w-ok); box-shadow: 0 0 12px var(--w-ok); animation: w-pouls 2.2s ease-in-out infinite; }
@keyframes w-pouls { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.w-v-titre { margin: 0; font-size: clamp(1.8rem, 4.3vw, 3.6rem); font-weight: 900; line-height: 1.04; letter-spacing: -.015em; text-transform: uppercase; hyphens: manual; overflow-wrap: normal; }
.w-v-ligne { display: block; overflow: hidden; padding-right: .04em; }
.w-v-ligne > span { display: block; white-space: nowrap; animation: w-monte .9s cubic-bezier(.22, .9, .26, 1) both; }
.w-v-ligne:nth-child(2) > span { animation-delay: .11s; }
.w-v-ligne:nth-child(3) > span { animation-delay: .22s; }
.w-boot .w-v-ligne > span { animation-delay: 1.05s; }
.w-boot .w-v-ligne:nth-child(2) > span { animation-delay: 1.16s; }
.w-boot .w-v-ligne:nth-child(3) > span { animation-delay: 1.27s; }
@keyframes w-monte { from { transform: translateY(105%); } to { transform: none; } }
.w-v-accent { background: linear-gradient(100deg, var(--w-accent), var(--w-reflet) 45%, var(--w-accent)); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.w-v-ligne > .w-v-accent { animation: w-monte .9s .22s cubic-bezier(.22, .9, .26, 1) both, w-reflet 5s linear infinite; }
.w-boot .w-v-ligne > .w-v-accent { animation-delay: 1.27s, 0s; }
@keyframes w-reflet { to { background-position: 220% 0; } }
.w-v-lead { margin: 22px 0 0; max-width: 54ch; color: var(--w-muted); font-size: 1.08rem; }
.w-v-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.w-v-reperes { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 28px 0 0; }
.w-v-reperes > div { display: flex; flex-direction: column-reverse; gap: 2px; }
.w-v-reperes dd { margin: 0; font-family: var(--w-font-mono); font-weight: 600; font-size: 1.08rem; }
.w-v-reperes dt { font-family: var(--w-font-mono); font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--w-muted); }

.w-v-demo-cadre { perspective: 1200px; min-width: 0; scroll-margin-top: 84px; }
.w-v-demo { position: relative; padding: 16px 20px; overflow: hidden; background: linear-gradient(168deg, var(--w-surface), var(--w-surface-2)); border: 1px solid var(--w-line-strong); box-shadow: var(--w-ombre-survol); transition: transform .18s ease; scroll-margin-top: 84px; }
.w-v-balayage { position: absolute; left: 0; right: 0; top: 0; z-index: 3; height: 2px; background: linear-gradient(90deg, transparent, var(--w-accent), transparent); box-shadow: 0 0 16px var(--w-accent); opacity: 0; pointer-events: none; }
.w-v-demo.est-scan .w-v-balayage { animation: w-balayage 1.4s ease-in-out .05s 1; }
@keyframes w-balayage { 0% { top: 0; opacity: 0; } 8%, 92% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.w-v-photos { position: relative; aspect-ratio: 1158 / 878; margin: -16px -20px 12px; overflow: hidden; background: var(--w-surface-3); border-bottom: 1px solid var(--w-line); }
.w-v-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .6s ease, transform 1.3s cubic-bezier(.2, .7, .2, 1); }
.w-v-photos img.est-vue { opacity: 1; transform: none; }
.w-v-illustratif { position: absolute; z-index: 3; top: 28px; right: 32px; padding: 3px 7px; font-family: var(--w-font-mono); font-size: .56rem; letter-spacing: .13em; text-transform: uppercase; color: #F3F7FB; background: rgba(8, 9, 11, .68); border: 1px solid rgba(255, 255, 255, .22); }
.w-v-phase { margin: 0; min-height: 1em; font-family: var(--w-font-mono); font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--w-accent-texte); }
.w-v-demo-titre { margin: 6px 0 0; font-size: 1.28rem; font-weight: 800; text-transform: none; }
.w-v-demo-sous { margin: 2px 0 0; font-family: var(--w-font-mono); font-size: .7rem; color: var(--w-muted); }
.w-v-marche { margin-top: 22px; transition: opacity .3s; }
.w-v-marche.est-vide { opacity: .3; filter: grayscale(1); }
.w-v-piste { position: relative; height: 10px; border: 1px solid var(--w-line); background: linear-gradient(90deg, color-mix(in srgb, var(--w-ok) 34%, transparent), color-mix(in srgb, var(--w-warn) 28%, transparent) 50%, color-mix(in srgb, var(--w-bad) 32%, transparent)); }
.w-v-curseur { position: absolute; top: -5px; width: 3px; height: 18px; background: var(--w-ink); box-shadow: 0 0 0 2px var(--w-surface); transition: left .9s cubic-bezier(.3, .9, .3, 1); }
.w-v-curseur::after { content: attr(data-libelle); position: absolute; top: -14px; left: 50%; transform: translateX(-50%); font-family: var(--w-font-mono); font-size: .5rem; letter-spacing: .1em; text-transform: uppercase; color: var(--w-muted); white-space: nowrap; }
.w-v-pins { display: flex; justify-content: space-between; gap: 6px; margin-top: 7px; font-family: var(--w-font-mono); font-size: .56rem; color: var(--w-faint); }
.w-v-demo-milieu { display: flex; align-items: center; gap: 18px; margin-top: 14px; }
.w-v-anneau { --w-sv: var(--s, 0); --w-teinte: var(--w-accent); position: relative; flex: none; width: 112px; height: 112px; border-radius: 50%; }
.w-v-anneau.flat { --w-teinte: var(--w-warn); }
.w-v-anneau.na { --w-teinte: var(--w-faint); }
.w-v-anneau::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--w-teinte) calc(var(--s, 0) * 1%), var(--w-track) 0); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--w-teinte) 45%, transparent));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 calc(100% - 7.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 calc(100% - 7.5px)); }
.w-v-anneau-val { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.w-v-anneau-val b { font-family: var(--w-font-mono); font-weight: 600; font-size: 1.85rem; color: var(--w-teinte); }
.w-v-anneau-val i, .w-v-anneau-val em { font-family: var(--w-font-mono); font-style: normal; color: var(--w-faint); }
.w-v-anneau-val i { font-size: .58rem; margin-top: 2px; }
.w-v-anneau-val em { font-size: .48rem; letter-spacing: .14em; text-transform: uppercase; margin-top: 5px; }
.w-v-chiffres { flex: 1; min-width: 0; margin: 0; display: grid; gap: 8px; }
.w-v-chiffres > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 7px; border-bottom: 1px dotted var(--w-line-strong); }
.w-v-chiffres dt { font-size: .74rem; color: var(--w-muted); }
.w-v-chiffres dd { margin: 0; font-family: var(--w-font-mono); font-weight: 600; font-size: .94rem; white-space: nowrap; }
.w-v-barre { position: relative; color: var(--w-muted); }
.w-v-barre.est-barre::after { content: ""; position: absolute; left: -2px; right: -2px; top: 52%; height: 2px; background: var(--w-bad); transform-origin: left; animation: w-barre .4s ease both; }
@keyframes w-barre { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.w-v-chiffres .est-ok { color: var(--w-ok); }
.w-v-chiffres .est-prudent { color: var(--w-warn); }
.w-v-chiffres .est-neutre { color: var(--w-faint); }
.w-v-demo-pied { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.w-v-points { display: flex; gap: 6px; flex: none; }
.w-v-points i { width: 7px; height: 7px; background: var(--w-line-strong); transition: background .2s; }
.w-v-points i.est-vue { background: var(--w-accent); }
.w-v-tampon { flex: 1; min-width: 0; justify-self: center; font-family: var(--w-font-mono); font-size: .6rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-align: center; padding: 6px 8px; border: 1px solid; opacity: 0; transform: scale(1.3); }
.w-v-tampon.ok { color: var(--w-ok); }
.w-v-tampon.flat { color: var(--w-warn); }
.w-v-tampon.na { color: var(--w-faint); }
.w-v-tampon.est-pose { opacity: 1; transform: rotate(-1.2deg); animation: w-tampon .45s cubic-bezier(.2, 1.4, .3, 1) both; }
@keyframes w-tampon { 0% { opacity: 0; transform: scale(1.4) rotate(-3deg); } 60% { opacity: 1; } 100% { opacity: 1; transform: scale(1) rotate(-1.2deg); } }
.w-v-demo-note { margin: 10px 0 0; font-size: .72rem; color: var(--w-faint); }
@media (max-height: 820px) and (min-width: 901px) { .w-v-demo-note { display: none; } }

.w-v-defile { border-block: 1px solid var(--w-line); padding-block: 13px; overflow: hidden; white-space: nowrap; }
.w-v-defile-run { display: inline-block; animation: w-defile 26s linear infinite; }
.w-v-defile span { padding: 0 26px; font-family: var(--w-font-display); font-weight: 700; font-size: 1.02rem; text-transform: uppercase; letter-spacing: .03em; color: var(--w-faint); }
.w-v-defile b { color: var(--w-accent-texte); }
@keyframes w-defile { to { transform: translateX(-50%); } }

.w-v-section { padding-block: clamp(46px, 6.5vw, 88px); border-top: 1px solid var(--w-line); scroll-margin-top: 64px; }
.w-v-tete { max-width: 680px; margin-bottom: 34px; }
.w-v-tete h2 { font-size: clamp(1.65rem, 3.2vw, 2.45rem); font-weight: 900; line-height: 1.05; letter-spacing: -.01em; text-transform: uppercase; margin: 0; }
.w-v-tete > p:last-child:not(:first-child) { margin: 14px 0 0; color: var(--w-muted); font-size: 1.02rem; }
[data-apparition] { transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.w-avant { opacity: 0; transform: translateY(22px); }

.w-v-fil { --p: 1; position: relative; list-style: none; counter-reset: fil; margin: 0; padding: 0 0 0 46px; max-width: 840px; display: grid; gap: 30px; }
.w-v-fil::before, .w-v-fil::after { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: var(--w-line); }
.w-v-fil::after { background: var(--w-accent); box-shadow: 0 0 12px var(--w-accent); transform-origin: top; transform: scaleY(var(--p)); }
.w-v-fil li { counter-increment: fil; position: relative; transition: opacity .5s ease; }
.w-v-fil li::before { content: counter(fil); position: absolute; z-index: 1; left: -46px; top: -3px; width: 32px; height: 32px; display: grid; place-items: center; font-family: var(--w-font-mono); font-size: .72rem; font-weight: 600; background: var(--w-accent); color: var(--w-accent-ink); border: 1px solid var(--w-accent); transition: background .3s, color .3s, border-color .3s; }
.w-fil-anime li:not(.est-allume) { opacity: .42; }
.w-fil-anime li:not(.est-allume)::before { background: var(--w-bg); color: var(--w-faint); border-color: var(--w-line-strong); }
.w-v-fil h3 { font-size: clamp(1.08rem, 2.2vw, 1.4rem); font-weight: 800; margin: 0; }
.w-v-fil p { margin: 7px 0 0; color: var(--w-muted); max-width: 64ch; }

.w-v-compteurs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--w-line); border: 1px solid var(--w-line); }
.w-v-compteurs > div { background: var(--w-surface); padding: 26px 20px; min-width: 0; }
.w-v-compteurs b { display: block; font-family: var(--w-font-mono); font-weight: 600; font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1; color: var(--w-accent-texte); }
.w-v-compteurs span { display: block; margin-top: 12px; font-size: .88rem; color: var(--w-muted); }
@media (max-width: 820px) { .w-v-compteurs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.w-v-pays { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.w-v-pays > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 14px; background: var(--w-surface); border: 1px solid var(--w-line); transition: border-color .2s, transform .2s; }
.w-v-pays > div:hover { border-color: var(--w-accent); transform: translateY(-2px); }
.w-v-pays strong { flex: 1 0 60%; font-family: var(--w-font-display); font-weight: 700; }
.w-v-pays .is-off { opacity: 1; border-style: dashed; color: var(--w-muted); }

.w-v-duel { border: 1px solid var(--w-line); background: var(--w-surface); }
.w-v-duel > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--w-line); }
.w-v-duel > div:last-child { border-bottom: 0; }
.w-v-duel > div > div { padding: 15px 18px; min-width: 0; }
.w-v-duel > div > div:first-child { color: var(--w-muted); }
.w-v-duel > div > div + div { border-left: 1px solid var(--w-line); background: color-mix(in srgb, var(--w-accent) 6%, transparent); font-weight: 500; }
.w-v-duel > div:not(.w-v-duel-tete) > div:first-child::before { content: "✕ "; color: var(--w-faint); }
.w-v-duel > div:not(.w-v-duel-tete) > div + div::before { content: "✓ "; color: var(--w-ok); font-weight: 700; }
.w-v-duel-tete > div { font-family: var(--w-font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.w-v-duel-tete > div + div { color: var(--w-accent-texte) !important; }

.w-v-principes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--w-line); border: 1px solid var(--w-line); }
.w-v-principes > div { display: flex; gap: 14px; padding: 24px; background: var(--w-surface); transition: background .2s; min-width: 0; }
.w-v-principes > div:hover { background: var(--w-surface-2); }
.w-v-marque { flex: none; width: 32px; height: 32px; display: grid; place-items: center; font-family: var(--w-font-mono); color: var(--w-accent-texte); border: 1px solid var(--w-line-strong); }
.w-v-principes h3 { margin: 0; }
.w-v-principes p { margin: 5px 0 0; color: var(--w-muted); font-size: .9rem; }
@media (max-width: 720px) { .w-v-principes { grid-template-columns: minmax(0, 1fr); } }

.w-v-faq { max-width: 840px; border-top: 1px solid var(--w-line); }
.w-v-faq details { border-bottom: 1px solid var(--w-line); }
.w-v-faq summary { display: flex; justify-content: space-between; gap: 18px; padding: 18px 2px; list-style: none; cursor: pointer; font-family: var(--w-font-display); font-weight: 700; font-size: 1.02rem; }
.w-v-faq summary::-webkit-details-marker { display: none; }
.w-v-faq summary::after { content: "+"; flex: none; font-family: var(--w-font-mono); font-size: 1.2rem; line-height: 1; color: var(--w-accent-texte); transition: transform .25s; }
.w-v-faq details[open] summary::after { transform: rotate(45deg); }
.w-v-faq p { margin: 0; padding: 0 2px 20px; max-width: 68ch; color: var(--w-muted); }

.w-v-final { text-align: center; }
.w-v-final h2 { margin: 0; font-size: clamp(1.65rem, 3.4vw, 2.5rem); font-weight: 900; text-transform: uppercase; }
.w-v-final ul { display: inline-flex; flex-direction: column; gap: 10px; margin: 24px auto 28px; padding: 0; list-style: none; text-align: left; }
.w-v-final li { display: flex; gap: 10px; }
.w-v-final li::before { content: "✓"; color: var(--w-ok); font-weight: 700; }
.w-v-final p { margin: 0; }

/* Barre publique sur petit écran : on garde le menu existant. Vitrine en une colonne. */
@media (max-width: 900px) { .w-v-hero-grille { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .w-v-duel > div > div { padding: 12px; font-size: .86rem; } .w-v-demo-milieu { gap: 12px; } .w-v-anneau { width: 96px; height: 96px; } .w-langue ul { right: -4px; } }

/* Mouvement réduit : rien ne bouge, tout est visible. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .w-avant { opacity: 1; transform: none; }
  .w-boot .w-boot-ecran { display: none; }
}
.w-v-actions .w-btn-large, .w-v-final .w-btn-large { width: auto; }
/* Impression : aucune entrée animée, aucun décor. */
@media print { *, *::before, *::after { animation: none !important; } .w-braises, .w-lueur, .w-boot-ecran { display: none !important; } .w-avant { opacity: 1; transform: none; } }
/* Barre publique sur deux lignes : le sélecteur est à gauche, son menu s'ouvre donc vers la droite pour rester dans l'écran. */
@media (max-width: 1100px) { .w-nav .w-langue ul { left: 0; right: auto; } }

/* --- Tunnel d'accueil « cockpit » (onboarding.html, _ob_dessins.html) : plein écran, compte-tours, récapitulatif, route -------------- */
@property --ob-f { syntax: '<number>'; inherits: true; initial-value: 0; }
.w-tunnel main { display: flex; min-width: 0; }
.w-tunnel .w-messages { padding-top: 10px; }
.w-ob [data-ob-deco][hidden] { display: none !important; }
.w-ob { --ob-p: 0; flex: 1; min-width: 0; max-width: none; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; overflow: clip; transition: --ob-f .75s cubic-bezier(.3, 1.45, .5, 1); }
.w-ob-grille { position: absolute; inset: 0 -90px; z-index: -1; pointer-events: none; opacity: .3; background-image: linear-gradient(var(--w-line) 1px, transparent 1px), linear-gradient(90deg, var(--w-line) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask: radial-gradient(ellipse 70% 72% at 50% 42%, #000, transparent); mask: radial-gradient(ellipse 70% 72% at 50% 42%, #000, transparent); transform: translateX(calc(var(--ob-p) * -90px)); transition: transform .75s cubic-bezier(.45, .05, .25, 1); }

.w-ob-entete { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 10px 16px; padding: 14px clamp(16px, 3vw, 36px); background: transparent; border: 0; color: var(--w-ink); animation: w-ob-tombe .6s cubic-bezier(.2, .7, .2, 1) both; }
.w-ob-entete .w-brand { flex: none; }
.w-ob-entete .w-logo { display: none !important; }   /* comme dans les autres barres : le logo texte seul */
.w-ob-kicker { font-family: var(--w-font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .16em; color: var(--w-muted); padding-left: 16px; border-left: 1px solid var(--w-line-strong); }
.w-ob-entete .w-ob-num { margin: 0 0 0 auto; padding: 0; border: 0; font-size: 1.05rem; font-weight: 700; opacity: 1; color: var(--w-muted); }
.w-ob-num b { color: var(--w-accent-texte); }
.w-ob-passer { margin: 0; }
.w-ob-passer-btn { color: var(--w-muted); border-color: var(--w-line-strong); }
.w-ob-passer-btn:hover { color: var(--w-ink); }

.w-ob-plateau { flex: 1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(290px, .8fr); gap: clamp(14px, 2vw, 24px); width: 100%; max-width: 1240px; margin: 0 auto; padding: 4px clamp(16px, 3vw, 36px) 12px; align-items: stretch; }
.w-ob-panneau { position: relative; overflow: clip; display: flex; flex-direction: column; min-width: 0; padding: clamp(16px, 2vw, 26px); background: var(--w-surface); border: 1px solid var(--w-line); border-radius: var(--w-radius); box-shadow: var(--w-ombre-survol); animation: w-ob-vient .6s cubic-bezier(.2, .7, .2, 1) .08s both; --sens: -1; }
.w-ob-scanne > .w-v-balayage { animation: w-balayage .75s ease-out 1; }
.w-ob-intro { margin: 0 0 10px; font-size: .88rem; }
.w-ob-form { flex: 1; min-height: 0; }
.w-ob-actif { --sens: 1; }
.w-ob-etape { flex: 1; }
.w-ob-question { font-family: var(--w-font-display); font-stretch: normal; font-weight: 900; font-size: clamp(1.5rem, 2.8vw, 2.25rem); line-height: 1.08; letter-spacing: -.01em; text-transform: uppercase; margin: 0 0 10px; padding: 0; background: none; color: var(--w-ink); }
.w-ob-question:focus { outline: none; }
.w-mot { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.w-mot > span { display: inline-block; }
.w-ob-sous { font-size: .92rem; margin: 0 0 14px; }
.w-ob-etape .w-row2 { margin-bottom: 12px; }

/* Entrée et sortie d'une étape, dans le sens de la marche (--sens : 1 ou -1). */
.w-ob-entre { animation: w-ob-vient .34s cubic-bezier(.2, .7, .2, 1) both; }
.w-ob-part { animation: w-ob-sort .17s ease-in forwards; }
.w-ob-entre .w-mot > span { animation: w-monte .6s cubic-bezier(.22, .9, .26, 1) calc(var(--i, 0) * 55ms + 40ms) backwards; }
.w-ob-entre .w-ob-sous, .w-ob-entre .w-field { animation: w-entree .5s cubic-bezier(.2, .7, .2, 1) .2s backwards; }
.w-ob-entre .w-ob-tuile, .w-ob-entre .w-bascule { animation: w-ob-arrive .5s cubic-bezier(.2, .9, .3, 1.2) calc(var(--i, 0) * 42ms + .18s) backwards; }

/* Tuiles : le drapeau se déroule, une onde part du centre, la coche se dessine. */
.w-ob-choix { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.w-ob-choix-large { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.w-ob-tuile { --d: var(--w-accent); overflow: hidden; padding: 13px 14px 11px; background: var(--w-surface-2); border: 1px solid var(--w-line); transition: transform .22s cubic-bezier(.3, 1.6, .5, 1), border-color .15s, background-color .15s, box-shadow .2s; }
.w-ob-tuile:hover { transform: translateY(-3px); border-color: var(--w-accent); box-shadow: 0 14px 26px -18px var(--w-accent); }
.w-ob-tuile:active { transform: scale(.97); }
.w-ob-tuile::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--d); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.w-ob-tuile:has(:checked)::before { transform: scaleX(1); }
.w-ob-tuile::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle, var(--w-accent) 0, transparent 68%); }
.w-ob-tuile:has(:checked)::after { animation: w-ob-onde .6s ease-out; }
.w-ob-tuile:has(:checked) { background: var(--w-accent-soft); box-shadow: inset 0 0 0 1px var(--w-accent); }
.w-ob-code { font-size: 1.25rem; font-weight: 800; }
.w-ob-tuile:has(:checked) .w-ob-code { color: var(--w-accent-texte); }
.w-ob-nom { font-size: .8rem; }
.w-ob-coche { position: absolute; top: 13px; right: 12px; width: 16px; height: 16px; fill: none; stroke: var(--w-accent-texte); stroke-width: 2.4; stroke-linecap: square; }
.w-ob-coche path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .28s ease-out; }
.w-ob-tuile:has(:checked) .w-ob-coche path { stroke-dashoffset: 0; transition-delay: .08s; }
.w-ob-tuile[data-pays="FR"] { --d: linear-gradient(90deg, #0055A4 33%, #fff 33% 66%, #EF4135 66%); }
.w-ob-tuile[data-pays="DE"] { --d: linear-gradient(90deg, #000 33%, #D00 33% 66%, #FFCE00 66%); }
.w-ob-tuile[data-pays="CH"] { --d: linear-gradient(90deg, #D52B1E 42%, #fff 42% 58%, #D52B1E 58%); }
.w-ob-tuile[data-pays="AT"] { --d: linear-gradient(90deg, #ED2939 33%, #fff 33% 66%, #ED2939 66%); }
.w-ob-tuile[data-pays="BE"] { --d: linear-gradient(90deg, #000 33%, #FAE042 33% 66%, #ED2939 66%); }
.w-ob-tuile[data-pays="IT"] { --d: linear-gradient(90deg, #009246 33%, #fff 33% 66%, #CE2B37 66%); }
.w-ob-tuile[data-pays="NL"] { --d: linear-gradient(90deg, #AE1C28 33%, #fff 33% 66%, #21468B 66%); }
.w-ob-tuile[data-pays="LU"] { --d: linear-gradient(90deg, #ED2939 33%, #fff 33% 66%, #00A1DE 66%); }
.w-ob-tuile[data-pays="PL"] { --d: linear-gradient(90deg, #fff 50%, #DC143C 50%); }

/* Interrupteurs : un rang entier, le curseur rebondit et s'allume. */
.w-ob-prefs { gap: 10px; }
.w-ob-prefs .w-bascule { display: flex; flex-direction: row-reverse; justify-content: space-between; gap: 16px; padding: 15px 16px; background: var(--w-surface-2); border: 1px solid var(--w-line); font-family: var(--w-font-body); font-weight: 500; font-size: .98rem; text-transform: none; letter-spacing: 0; transition: border-color .15s, background-color .2s, transform .2s; }
.w-ob-prefs .w-bascule:hover { transform: translateX(3px); border-color: var(--w-line-strong); }
.w-ob-prefs .w-bascule:has(:checked) { border-color: var(--w-accent); }
.w-ob-prefs .w-bascule input { flex: none; width: 48px; height: 26px; border: 1px solid var(--w-line-strong); background: var(--w-surface-3); border-radius: var(--w-radius); transition: background-color .2s, box-shadow .2s; }
.w-ob-prefs .w-bascule input:checked { background: var(--w-accent-soft); border-color: var(--w-accent); box-shadow: 0 0 18px -6px var(--w-accent); }
.w-ob-prefs .w-bascule input::after { top: 4px; left: 4px; width: 16px; height: 16px; background: var(--w-faint); transition: left .3s cubic-bezier(.3, 1.8, .5, 1), background-color .2s, box-shadow .2s; }
.w-ob-prefs .w-bascule input:checked::after { left: 26px; background: var(--w-accent); box-shadow: 0 0 10px var(--w-accent); }

.w-ob-pied { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--w-line); }
.w-ob-fleche { display: inline-block; transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); }
.w-ob-avance { transition: transform .18s ease, background-color .12s, box-shadow .2s; }
.w-ob-avance:hover { box-shadow: 0 12px 30px -12px var(--w-accent); }
.w-ob-avance:hover .w-ob-fleche { transform: translateX(5px); }
.w-ob-final { animation: w-ob-appel 1.8s ease-in-out infinite; }

/* Cockpit : toujours sombre, comme un vrai tableau de bord, y compris sur le thème clair. */
.w-ob-cockpit { --c-bord: #2A323C; --c-txt: #F3F7FB; --c-muet: #9AA7B5; display: flex; flex-direction: column; min-width: 0; padding: 16px 18px 12px; color: var(--c-txt); background: radial-gradient(ellipse 90% 55% at 50% 34%, #232A33 0, #0E1115 72%); border: 1px solid var(--c-bord); border-radius: var(--w-radius); box-shadow: inset 0 0 70px -40px #FF6A1A, var(--w-ombre-survol); animation: w-ob-vient .6s cubic-bezier(.2, .7, .2, 1) .16s both; --sens: 1; transition: box-shadow .4s; }
.w-ob-cockpit-titre { margin: 0 0 4px; font-family: var(--w-font-mono); font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--c-muet); }
.w-ob-cadran { display: block; width: 100%; max-width: 300px; margin: 0 auto; overflow: visible; }
.w-ob-arc { fill: none; stroke: #262D36; stroke-width: 7; }
.w-ob-arc-rouge { stroke: #FF3A1C; opacity: .55; stroke-dasharray: 20 200; stroke-dashoffset: -80; }
.w-ob-arc-plein { stroke: #FF6A1A; stroke-dasharray: calc(var(--ob-f, 0) * 100) 200; filter: drop-shadow(0 0 5px #FF6A1A); }
.w-ob-cran { stroke: #4B5663; stroke-width: 1; }
.w-ob-cran.fort { stroke: #D5DEE7; stroke-width: 2; }
.w-ob-cran.rouge { stroke: #FF3A1C; }
.w-ob-repere { font-family: var(--w-font-mono); font-size: 11px; font-weight: 700; fill: #AEB9C5; text-anchor: middle; dominant-baseline: middle; }
.w-ob-repere.rouge { fill: #FF5A3C; }
.w-ob-cadran-num { font-family: var(--w-font-display); font-size: 25px; font-weight: 900; fill: #F3F7FB; text-anchor: middle; }
.w-ob-cadran-nom { font-family: var(--w-font-mono); font-size: 8.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; fill: #9AA7B5; text-anchor: middle; }
.w-ob-aiguille { transform: rotate(calc(-120deg + var(--ob-f, 0) * 240deg)); fill: #FF6A1A; filter: drop-shadow(0 0 5px #FF6A1A); }
.w-ob-moyeu { fill: #0B0D0F; stroke: #4B5663; stroke-width: 1.4; }
.w-ob-moyeu-point { fill: #FF6A1A; }
.w-ob-recap { margin: 8px 0 0; }
.w-ob-recap > div { position: relative; overflow: hidden; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--c-bord); }
.w-ob-recap dt { font-family: var(--w-font-mono); font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muet); overflow-wrap: anywhere; }
.w-ob-recap dd { margin: 0; min-width: 0; font-size: .88rem; font-weight: 500; overflow-wrap: anywhere; }
.w-ob-recap dd.vide, .w-ob-vide { color: var(--c-muet); font-weight: 400; }
.w-ob-recap > .vient::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255, 106, 26, .3), transparent); animation: w-ob-eclair .6s ease-out both; }
.w-ob-puce { display: inline-block; margin: 0 4px 3px 0; padding: 0 6px; font-family: var(--w-font-mono); font-size: .76rem; font-weight: 700; color: #FFD9C4; background: rgba(255, 106, 26, .16); border: 1px solid #FF6A1A; animation: w-ob-pop .36s cubic-bezier(.3, 1.8, .5, 1) backwards; }
.w-ob-leds { display: flex; flex-wrap: wrap; gap: 3px 12px; }
.w-ob-led { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--c-muet); transition: color .2s; }
.w-ob-led::before { content: ""; width: 8px; height: 8px; background: #2B323B; transition: background-color .2s, box-shadow .2s; }
.w-ob-led.on { color: var(--c-txt); }
.w-ob-led.on::before { background: #FF6A1A; box-shadow: 0 0 9px #FF6A1A; }

/* Route : pleine largeur en bas de l'écran. */
.w-ob-piste { margin: 0; padding: 6px clamp(46px, 7vw, 110px) 8px; animation: w-entree .6s cubic-bezier(.2, .7, .2, 1) .24s both; }
.w-ob-route { height: 118px; max-width: 1040px; margin: 0 auto; }
.w-ob-chaussee { left: -100vw; right: -100vw; top: 54px; height: 14px; }
.w-ob-chaussee::after { left: 0; right: 0; top: 6px; }
.w-ob-trace { display: block; z-index: 1; left: -100vw; top: 59px; width: calc(100vw + var(--avance)); background: linear-gradient(90deg, transparent calc(100vw - 110px), var(--w-accent)); box-shadow: 0 0 12px color-mix(in srgb, var(--w-accent) 60%, transparent); }
.w-ob-pneu { width: 58px; height: 58px; }
.w-ob-roule .w-ob-pneu { filter: drop-shadow(-8px 0 6px color-mix(in srgb, var(--w-accent) 40%, transparent)); }
.w-ob-recule.w-ob-roule .w-ob-pneu { filter: drop-shadow(8px 0 6px color-mix(in srgb, var(--w-accent) 40%, transparent)); }
.w-ob-jalon { top: 72px; width: 28px; }
.w-ob-jalon-actif { transform: translateX(-50%) translateY(-2px) scale(1.14); box-shadow: 0 0 16px -2px var(--w-accent); transition: background-color .3s, color .3s, transform .35s cubic-bezier(.3, 1.8, .5, 1), box-shadow .3s; }
.w-ob-jalon-nom { position: absolute; top: 100px; transform: translateX(-50%); white-space: nowrap; font-family: var(--w-font-mono); font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--w-faint); transition: color .3s; }
.w-ob-jalon-fait + .w-ob-jalon-nom { color: var(--w-muted); }
.w-ob-jalon-actif + .w-ob-jalon-nom { color: var(--w-accent-texte); }

/* Dernier coup de gaz, puis écran de démarrage. */
.w-ob-rupture { transition: --ob-f .46s cubic-bezier(.5, 0, .9, .6); }
.w-ob-rupture .w-ob-plateau { animation: w-ob-tremble .07s linear infinite alternate; }
.w-ob-rupture .w-ob-cockpit { box-shadow: inset 0 0 90px -20px #FF3A1C, 0 0 70px -14px #FF3A1C; }
.w-ob-rupture .w-ob-arc-rouge { opacity: 1; }
.w-ob-demarrage { background: radial-gradient(ellipse 70% 50% at 50% 56%, #3A2013 0, #0B0D0F 72%); }
.w-ob-go::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(ellipse 60% 45% at 40% 58%, #FF6A1A, transparent 72%); animation: w-ob-flash .9s ease-out .42s; }
.w-ob-enroute { font-family: var(--w-font-display); font-stretch: normal; font-weight: 900; font-size: clamp(1.3rem, 3vw, 2rem); letter-spacing: .08em; }

@keyframes w-ob-tombe { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes w-ob-vient { from { opacity: 0; transform: translateX(calc(var(--sens, 1) * 26px)); } to { opacity: 1; transform: none; } }
@keyframes w-ob-sort { to { opacity: 0; transform: translateX(calc(var(--sens, 1) * -26px)); } }
@keyframes w-ob-arrive { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes w-ob-onde { 0% { opacity: .55; transform: scale(.2); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes w-ob-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes w-ob-eclair { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes w-ob-appel { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--w-accent) 50%, transparent); } 50% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--w-accent) 0%, transparent); } }
@keyframes w-ob-tremble { from { transform: translate(-1px, .5px); } to { transform: translate(1px, -.5px); } }
@keyframes w-ob-flash { 0% { opacity: 0; } 22% { opacity: .75; } 100% { opacity: 0; } }

@media (max-width: 980px) {
  .w-ob-plateau { grid-template-columns: minmax(0, 1fr); }
  .w-ob-piste { order: -1; padding-top: 0; padding-bottom: 0; }
  .w-ob-entete { order: -2; }
  .w-ob-route { height: 104px; }
  .w-ob-pneu { width: 46px; height: 46px; }
  .w-ob-chaussee { top: 42px; }
  .w-ob-trace { top: 47px; }
  .w-ob-jalon { top: 60px; }
  .w-ob-jalon-nom { top: 88px; }
  .w-ob-cadran { max-width: 240px; }
  .w-ob-pied { position: sticky; bottom: 0; z-index: 2; margin-inline: -4px; padding-inline: 4px; padding-bottom: 10px; background: var(--w-surface); }   /* « Suivant » reste à portée du pouce */
}
@media (max-width: 560px) {
  .w-ob-kicker { display: none; }
  .w-ob-entete .w-brand img { max-width: 118px; height: auto; }
  .w-ob-passer-btn span { font-size: .62rem; }
  .w-ob-piste { padding-inline: 32px; }
  .w-ob-choix, .w-ob-choix-large { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .w-ob-tuile { padding: 11px 10px 9px; }
  .w-ob-code { font-size: 1.05rem; }
  .w-ob-nom { font-size: .72rem; overflow-wrap: anywhere; }
  .w-ob-coche { top: 9px; right: 8px; width: 13px; height: 13px; }
  .w-ob-jalon-nom { display: none; }   /* un seul libellé : celui de l'étape, calé pour rester dans l'écran */
  .w-ob-jalon-actif + .w-ob-jalon-nom { display: block; }
  .w-ob-jalon-nom:last-child { transform: translateX(calc(-100% + 14px)); }
  .w-ob-pied { flex-wrap: wrap; }
  .w-ob-compteur { display: none; }
  .w-ob-final { white-space: normal; text-align: center; }
}

/* --- Espace membre : le même langage que la vitrine et le tunnel ------------------------------------------------------------------ */
/* En-tête de page : pas de cartouche, un grand titre qui monte mot à mot, l'accroche, les actions à droite. */
.w-app .w-tableau-tete, .w-app .w-recherche-tete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 28px; margin: 0 0 20px; padding: 0; background: none; border: 0; box-shadow: none; overflow: visible; }
.w-app .w-tableau-tete > div:first-child { flex: 1 1 380px; min-width: 0; padding: 0; }
.w-app .w-tableau-tete .w-muted { margin: 0; max-width: 64ch; font-size: .98rem; }
.w-app .w-tableau-actions { flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; margin: 0; padding: 0; background: none; border: 0; }
.w-app h1.w-titre-page { display: block; margin: 0 0 8px; padding: 0; font-weight: 900; font-size: clamp(1.55rem, 2.9vw, 2.4rem); line-height: 1.07; letter-spacing: -.01em; text-transform: uppercase; color: var(--w-ink); }
.w-titre-page .w-mot > span { animation: w-monte .6s cubic-bezier(.22, .9, .26, 1) calc(var(--i, 0) * 55ms) backwards; }
.w-side-titre::before { content: none; }

.w-app .w-braises { opacity: calc(var(--w-braises) * .45); }
/* Entrées : les blocs de la page arrivent l'un après l'autre (CSS seul, jamais d'état invisible durable). */
.w-appmain main > .w-wrap > * { animation: w-entree .5s cubic-bezier(.2, .7, .2, 1) backwards; }
.w-appmain main > .w-wrap > :nth-child(2) { animation-delay: .05s; }
.w-appmain main > .w-wrap > :nth-child(3) { animation-delay: .1s; }
.w-appmain main > .w-wrap > :nth-child(4) { animation-delay: .15s; }
.w-appmain main > .w-wrap > :nth-child(n+5) { animation-delay: .2s; }
.w-pays-barre { height: 6px; background: var(--w-track); border: 0; }
.w-pays-barre i { background: var(--w-accent); box-shadow: none; transform-origin: left; animation: w-barre .9s cubic-bezier(.2, .7, .2, 1) .2s backwards; }

/* Surfaces : une seule carte partout, un seul survol. */
.w-app .w-carte, .w-app .w-bloc, .w-app .w-kpi, .w-app .w-sec, .w-app .w-annonce, .w-app .w-alerte, .w-app .w-etape-bloc, .w-app .w-champ-carte, .w-app .w-methode, .w-app .w-historique, .w-app .w-resultat, .w-app .w-guide-carte,
.w-app .w-filtres, .w-app .w-resultats-tete, .w-app .w-pagination, .w-app .w-vide, .w-app .w-tableau-defile, .w-app .w-fiche-tete, .w-app .w-alertes-garantie, .w-app .w-alertes-couverture, .w-app .w-note-validite, .w-app .w-lots {
  background: var(--w-surface); border: 1px solid var(--w-line); border-radius: var(--w-radius); box-shadow: 0 22px 44px -38px rgba(0, 0, 0, .55); }
.w-app .w-kpi, .w-app .w-annonce, .w-app .w-guide-carte, .w-app .w-alerte, .w-app .w-resultat { transition: transform .22s cubic-bezier(.3, 1.4, .5, 1), border-color .18s, box-shadow .2s; }
.w-app a.w-kpi:hover, .w-app .w-annonce:hover, .w-app .w-guide-carte:hover, .w-app .w-resultat:hover { transform: translateY(-3px); border-color: var(--w-accent); box-shadow: 0 16px 34px -22px var(--w-accent); }
.w-app .w-vide { padding: 28px 20px; text-align: center; }

/* Titres de section : plus de bandeau plein, plus de carré ni de « A // » : un titre, comme ailleurs. */
.w-app .w-carte > h2:first-child { display: block; margin: 0 0 12px; padding: 0; background: none; border: 0; color: var(--w-ink); font-family: var(--w-font-display); font-weight: 800; font-size: 1.1rem; line-height: 1.2; letter-spacing: -.005em; text-transform: none; }
.w-app .w-carte > h2:first-child::before, .w-compte .w-carte > h2:first-child::after { content: none; }
.w-app .w-sec-tete, .w-app .w-champ-tete, .w-app .w-historique-tete, .w-app .w-registre-tete { padding: 14px 16px 2px; background: none; border: 0; color: var(--w-ink); font-family: var(--w-font-display); font-weight: 800; font-size: 1.05rem; line-height: 1.2; letter-spacing: -.005em; text-transform: none; }
.w-app .w-sec-tete > span + span:not(.w-pill):not(.w-code), .w-app .w-champ-tete > span + span { font-family: var(--w-font-mono); font-size: .68rem; font-weight: 500; letter-spacing: .04em; color: var(--w-muted); }
.w-app .w-section-tete { margin: 0 0 12px; padding: 0; background: none; border: 0; box-shadow: none; }
.w-app .w-section-tete h2 { font-weight: 900; font-size: 1.25rem; text-transform: uppercase; }
.w-app .w-bloc h2, .w-app .w-bloc .w-section-tete { border-bottom: 0; padding-bottom: 0; }
.w-app .w-bloc .w-section-tete h2 { font-weight: 800; font-size: 1.1rem; text-transform: none; }
.w-app .w-etape-tete { border-bottom: 0; padding-bottom: 0; }
.w-app .w-etape-tete h2 { font-family: var(--w-font-display); font-weight: 900; font-size: 1.25rem; text-transform: uppercase; }
.w-app .w-filtres-pli > summary { background: none; border: 0; color: var(--w-ink); font-family: var(--w-font-display); font-weight: 800; font-size: 1.05rem; text-transform: none; letter-spacing: 0; }

/* Compteurs : chiffre lourd, et l'accent garde le fond de la carte comme le récapitulatif du tunnel. */
.w-app .w-kpi { padding: 14px 16px; }
.w-app .w-kpi-lib { font-family: var(--w-font-mono); font-size: .62rem; font-weight: 600; letter-spacing: .12em; color: var(--w-muted); }
.w-app .w-kpi-tete .w-ico { color: var(--w-accent-texte); }
.w-app .w-kpi-nb { font-family: var(--w-font-display); font-weight: 900; font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.1; color: var(--w-ink); }
.w-app .w-kpi-pied, .w-app .w-kpi:not(.accent) .w-kpi-pied { border-top: 0; padding-top: 2px; color: var(--w-muted); font-size: .76rem; }
.w-app .w-kpi.accent { background: linear-gradient(150deg, var(--w-accent-soft), var(--w-surface) 78%); border-color: var(--w-accent); color: var(--w-ink) !important; box-shadow: 0 18px 40px -30px var(--w-accent); }
.w-app .w-kpi.accent .w-kpi-lib, .w-app .w-kpi.accent .w-kpi-pied { color: var(--w-muted); border-top: 0; }
.w-app .w-kpi.accent .w-kpi-nb { color: var(--w-accent-texte); }

/* Étiquettes : plus de noir plein. */
.w-app .w-code.noir, .w-app .w-etiquette.noir, .w-app .w-pill.noir, .w-app .w-badge { background: var(--w-surface-3); color: var(--w-ink); border-color: var(--w-line-strong); }
.w-app .w-pill.ecart, .w-app .w-alerte-etat .w-etiquette.statut { background: var(--w-accent-soft); color: var(--w-accent-texte); border-color: var(--w-accent); }
.w-app .w-alerte-etat .w-etiquette.chaud { background: var(--w-accent-soft); color: var(--w-accent-texte); border-color: var(--w-accent); }
.w-app .w-carre, .w-app .w-solde-ico, .w-app .w-alerte-marches-ico, .w-app .w-alertes-garantie-ico, .w-app .w-guide-ico { background: var(--w-accent-soft); color: var(--w-accent-texte); border: 0; border-radius: var(--w-radius); box-shadow: none; }
.w-app .w-btn-noir { background: transparent; color: var(--w-ink) !important; border-color: var(--w-line-strong); box-shadow: none; }
.w-app .w-btn-noir:hover { background: var(--w-surface-2); color: var(--w-ink) !important; }

/* Bandeaux de carte : une ligne fine, pas un aplat. */
.w-app .w-annonce-bandeau, .w-app .w-alerte-s22 .w-alerte-bandeau { background: none; border-bottom: 1px solid var(--w-line); }
.w-app .w-alerte-s22 .w-alerte-bandeau h2 { font-family: var(--w-font-display); font-weight: 800; font-size: 1rem; line-height: 1.2; letter-spacing: 0; text-transform: none; }
.w-app .w-annonce-marche, .w-app .w-alerte-boite, .w-app .w-alerte-derniere, .w-app .w-solde-boite, .w-app .w-garantie-cout, .w-app .w-transparence-boite, .w-app .w-scan-cout-ligne, .w-app .w-jauge-carte { background: var(--w-surface-2); border: 1px solid var(--w-line); box-shadow: none; }

/* Tuiles de choix : les mêmes que le tunnel. */
.w-app .w-pays-carte-corps { background: var(--w-surface-2); border: 1px solid var(--w-line); transition: transform .22s cubic-bezier(.3, 1.6, .5, 1), border-color .15s, background-color .15s, box-shadow .2s; }
.w-app .w-pays-carte:hover .w-pays-carte-corps { transform: translateY(-3px); border-color: var(--w-accent); box-shadow: 0 14px 26px -18px var(--w-accent); }
.w-app .w-pays-carte input:checked + .w-pays-carte-corps { background: var(--w-accent-soft); border-color: var(--w-accent); box-shadow: inset 0 0 0 1px var(--w-accent); }
.w-app .w-pays-carte-tete { border-bottom: 1px solid var(--w-line); }
.w-app .w-pays-carte-tete b { font-weight: 900; }
.w-app .w-pays-carte-tete > span:not(.w-etiquette) { font-family: var(--w-font-body); font-size: .9rem; font-weight: 500; text-transform: none; }
.w-app .w-puce { background: var(--w-surface-2); border: 1px solid var(--w-line); transition: border-color .15s, background-color .15s, transform .2s cubic-bezier(.3, 1.6, .5, 1); }
.w-app .w-puce:hover { border-color: var(--w-accent); }
.w-app .w-puce:has(input:checked) { background: var(--w-accent-soft); border-color: var(--w-accent); color: var(--w-ink); }

.w-app .w-segments span { background: var(--w-surface-2); border: 1px solid var(--w-line); color: var(--w-muted); font-family: var(--w-font-body); font-size: .76rem; font-weight: 400; letter-spacing: 0; text-transform: none; box-shadow: none; transition: transform .22s cubic-bezier(.3, 1.6, .5, 1), border-color .15s, background-color .15s, box-shadow .2s; }
.w-app .w-segments span b { font-family: var(--w-font-mono); font-size: .98rem; font-weight: 800; color: var(--w-ink); }
.w-app .w-segments label:hover span { transform: translateY(-3px); border-color: var(--w-accent); box-shadow: 0 14px 26px -18px var(--w-accent); }
.w-app .w-segments input:checked + span { background: var(--w-accent-soft); border-color: var(--w-accent); color: var(--w-ink); box-shadow: inset 0 0 0 1px var(--w-accent); }
.w-app .w-segments input:checked + span b { color: var(--w-accent-texte); }

/* Boutons : une seule écriture, y compris pour les grands. */
.w-app .w-btn.w-btn-grand { min-height: 50px; padding: 0 24px; font-size: .86rem; box-shadow: none; }
.w-app .w-annonce-s12 .w-annonce-cta { min-height: 40px; font-family: var(--w-font-mono); font-size: .78rem; font-weight: 600; letter-spacing: .02em; text-transform: none; color: var(--w-accent-ink); border: 1px solid var(--w-accent); box-shadow: none; }

/* Interrupteurs : les mêmes que le tunnel, partout. */
.w-app .w-bascule { font-family: var(--w-font-body); font-weight: 500; font-size: .92rem; text-transform: none; letter-spacing: 0; }
.w-app .w-bascule input { flex: none; width: 48px; height: 26px; border: 1px solid var(--w-line-strong); background: var(--w-surface-3); border-radius: var(--w-radius); transition: background-color .2s, box-shadow .2s; }
.w-app .w-bascule input:checked { background: var(--w-accent-soft); border-color: var(--w-accent); box-shadow: 0 0 18px -6px var(--w-accent); }
.w-app .w-bascule input::after { top: 4px; left: 4px; width: 16px; height: 16px; background: var(--w-faint); transition: left .3s cubic-bezier(.3, 1.8, .5, 1), background-color .2s, box-shadow .2s; }
.w-app .w-bascule input:checked::after { left: 26px; background: var(--w-accent); box-shadow: 0 0 10px var(--w-accent); }

@media (max-width: 720px) { .w-app .w-tableau-actions { justify-content: flex-start; } }

/* Changement de langue : fondu entre les deux versions de la page (wertzo.js annule la transition pour toute autre navigation). */
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }

/* --- Lisibilité : ces blocs étaient pensés pour un fond noir (couleurs claires écrites en dur) ; ils suivent maintenant le thème --------- */
.w-app .w-alerte-derniere { color: var(--w-ink); }
.w-app .w-alerte-derniere-tete { color: var(--w-accent-texte); }
.w-app .w-alerte-derniere .w-alerte-sous { color: var(--w-muted); }
.w-app .w-alerte-derniere-chiffres { background: var(--w-surface); border: 1px solid var(--w-line); color: var(--w-ink); }
.w-app .w-alerte-derniere-chiffres .w-label { color: var(--w-muted); }
.w-app .w-alerte-derniere-chiffres b.ok { color: var(--w-accent-texte); }
.w-app .w-alertes-couverture { color: var(--w-ink); }
.w-app .w-alertes-couverture-tete { color: var(--w-accent-texte); }
.w-app .w-alertes-couverture dt { color: var(--w-muted); }
.w-app .w-fil-etat .w-etiquette.accent { background: var(--w-accent-soft); color: var(--w-accent-texte); border-color: var(--w-accent); }
.w-app .w-repartition-offre b { background: var(--w-accent); color: var(--w-accent-ink); }
.w-app .w-historique-tete .w-etiquette { color: var(--w-muted); background: transparent; }
.w-app .w-cle-n.w-accent { color: var(--w-accent-texte); }
.w-ob-jalon-nom { color: var(--w-muted); }

/* Visite guidée : le clic sur « Suivant » se voit tout de suite, même si la page suivante met du temps à venir. */
.w-tour-barre { overflow: hidden; }
.w-tour-charge::after { content: ""; position: absolute; left: 0; top: 0; width: 40%; height: 2px; background: var(--w-accent); box-shadow: 0 0 10px var(--w-accent); animation: w-boot-barre 1s ease-in-out infinite; }
.w-tour-charge [data-tour-suivant] { opacity: .65; cursor: progress; }

/* Message de vérification de l'adresse e-mail : un bloc clair avec une seule action. */
.w-verif { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: linear-gradient(100deg, var(--w-accent-soft), var(--w-surface) 62%); border: 1px solid var(--w-accent); border-radius: var(--w-radius); box-shadow: 0 18px 40px -32px var(--w-accent); animation: w-entree .45s cubic-bezier(.2, .7, .2, 1) both; }
.w-verif-ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; background: var(--w-accent); color: var(--w-accent-ink); border-radius: var(--w-radius); }
.w-verif-ico .w-ico { width: 20px; height: 20px; }
.w-verif-texte { flex: 1; min-width: 0; display: grid; gap: 1px; }
.w-verif-texte strong { font-family: var(--w-font-display); font-weight: 800; font-size: 1rem; line-height: 1.25; }
.w-verif-texte span { color: var(--w-muted); font-size: .86rem; overflow-wrap: anywhere; }
.w-verif form { flex: none; margin: 0; }
@media (max-width: 620px) { .w-verif { flex-wrap: wrap; } .w-verif-texte { flex-basis: calc(100% - 52px); } .w-verif form, .w-verif .w-btn { width: 100%; } }

/* Fin du tunnel : le nom de la marque en très grand, lettre par lettre, un trait de scanner le traverse, puis la page suivante. */
.w-ob-demarrage { gap: 20px; overflow: hidden; background: radial-gradient(ellipse 62% 50% at 50% 50%, #3A1C0C 0, #08090B 72%); }
.w-ob-marque { position: relative; display: flex; justify-content: center; font-family: var(--w-font-display); font-weight: 900; font-size: clamp(3.2rem, 15vw, 12.5rem); line-height: 1; letter-spacing: .01em; color: #F3F7FB; }
.w-ob-marque > span { display: block; overflow: hidden; padding: .04em .012em; }
.w-ob-marque i { display: block; font-style: normal; }
.w-ob-go .w-ob-marque { animation: w-ob-pousse 1.7s cubic-bezier(.3, .7, .3, 1) forwards; }
.w-ob-go .w-ob-marque i { animation: w-monte .72s cubic-bezier(.2, .9, .25, 1) calc(var(--i) * 75ms) backwards, w-ob-lettre .75s ease-out calc(var(--i) * 65ms + .62s) both; }
.w-ob-trait { position: absolute; top: -6%; bottom: -6%; left: 0; width: 3px; background: #FF6A1A; box-shadow: 0 0 22px 5px #FF6A1A; opacity: 0; }
.w-ob-go .w-ob-trait { animation: w-ob-passe .85s cubic-bezier(.5, 0, .5, 1) .55s both; }
.w-ob-enroute { color: #F3F7FB; font-size: clamp(.95rem, 2vw, 1.3rem); letter-spacing: .2em; opacity: 0; }
.w-ob-go .w-ob-enroute { animation: w-entree .5s ease-out .5s both; }
@keyframes w-ob-lettre { 0% { color: #F3F7FB; text-shadow: none; } 45% { color: #FF6A1A; text-shadow: 0 0 34px #FF6A1A; } 100% { color: #F3F7FB; text-shadow: 0 0 18px rgba(255, 106, 26, .45); } }
@keyframes w-ob-passe { 0% { left: 0; opacity: 0; } 12%, 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes w-ob-pousse { from { transform: scale(.96); } to { transform: scale(1.04); } }

/* Jauges : un seul aplat orange, comme les barres par pays. */
.w-jauge { height: 6px; background: var(--w-track); border: 0; }
.w-jauge i { background: var(--w-accent); box-shadow: none; }

/* --- Offres : deux façons de payer, nommées en grand, chacune avec un seul bouton --------------------------------------------------- */
.w-offres { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.w-offres.seule { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.w-offre { display: grid; gap: 18px; padding: clamp(18px, 2.4vw, 28px); background: var(--w-surface); border: 1px solid var(--w-line); border-radius: var(--w-radius); min-width: 0; animation: w-entree .5s cubic-bezier(.2, .7, .2, 1) backwards; }
.w-offre-abo { border-color: var(--w-accent); box-shadow: 0 34px 80px -50px var(--w-accent); }
.w-offre-pack { animation-delay: .08s; }
.w-offre-type { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; font-family: var(--w-font-mono); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--w-accent-texte); }
.w-offre-pack .w-offre-type { color: var(--w-muted); }
.w-offre-type .w-etiquette { letter-spacing: .04em; }
.w-offre-tete h2 { margin: 0 0 8px; font-weight: 900; font-size: clamp(1.3rem, 2.3vw, 1.75rem); line-height: 1.12; text-transform: uppercase; }
.w-offre-tete p:last-child { margin: 0; font-size: .95rem; }
.w-offre-gains { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.w-offre-gains li { position: relative; display: grid; gap: 1px; padding-left: 24px; }
.w-offre-gains li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: var(--w-accent-texte); font-weight: 800; }
.w-offre-gains b { font-family: var(--w-font-display); font-weight: 800; font-size: 1.04rem; line-height: 1.25; }
.w-offre-gains span { color: var(--w-muted); font-size: .86rem; }
.w-offre-achat { display: grid; gap: 12px; margin: 0; }
.w-offre-achat .w-btn { width: 100%; white-space: normal; text-align: center; padding-block: 8px; }
.w-offre-achat p { margin: 0; }
.w-offre-choix { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.w-offre-choix legend { padding: 0; margin-bottom: 8px; }
.w-offre-ligne { position: relative; display: block; cursor: pointer; }
.w-offre-ligne input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.w-offre-ligne-corps { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 11px 14px 11px 38px; background: var(--w-surface-2); border: 1px solid var(--w-line); transition: border-color .15s, background-color .15s, box-shadow .2s, transform .22s cubic-bezier(.3, 1.6, .5, 1); }
.w-offre-ligne-corps::before { content: ""; position: absolute; left: 13px; top: 14px; width: 14px; height: 14px; border: 1px solid var(--w-line-strong); border-radius: 50%; background: var(--w-surface); transition: border-color .15s, box-shadow .15s; }
.w-offre-ligne-corps > .w-small, .w-offre-par-scan { grid-column: 1 / -1; }
.w-offre-ligne:hover .w-offre-ligne-corps { border-color: var(--w-accent); transform: translateY(-1px); }
.w-offre-ligne input:checked + .w-offre-ligne-corps { background: var(--w-accent-soft); border-color: var(--w-accent); box-shadow: inset 0 0 0 1px var(--w-accent); }
.w-offre-ligne input:checked + .w-offre-ligne-corps::before { border-color: var(--w-accent); box-shadow: inset 0 0 0 3px var(--w-surface), inset 0 0 0 8px var(--w-accent); }
.w-offre-ligne input:focus-visible + .w-offre-ligne-corps { outline: 2px solid var(--w-accent); outline-offset: 2px; }
.w-offre-ligne-nom { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.w-offre-ligne-nom b { font-family: var(--w-font-display); font-weight: 800; font-size: 1rem; }
.w-offre-ligne-nom i { font-style: normal; font-size: .64rem; }
.w-offre-ligne-nom b { display: inline-block; }
.w-offre-ligne-nom b::first-letter { text-transform: uppercase; }
.w-offre-ligne-nom .w-pill { order: 3; padding: 1px 6px; white-space: normal; }
.w-offre-prix { font-size: .78rem; color: var(--w-muted); text-align: right; white-space: nowrap; }
.w-offre-prix b { font-family: var(--w-font-display); font-weight: 800; font-size: 1rem; color: var(--w-ink); }
.w-offre-par-scan { font-family: var(--w-font-mono); font-size: .72rem; font-weight: 600; color: var(--w-accent-texte); }
@media (max-width: 880px) { .w-offres { grid-template-columns: minmax(0, 1fr); } }


/* ===== Offres, dossier complet, commande, Mon espace (décision du 2026-11-01) ===== */
.w-of-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px; align-items: stretch; }
.w-of-duo.seule { grid-template-columns: minmax(0, 1fr); }
.w-of-carte { box-sizing: border-box; min-width: 0; padding: 24px; display: flex; flex-direction: column; gap: 16px; background: var(--w-surface); border: 1px solid var(--w-line); border-radius: var(--w-radius); }
.w-of-carte h2 { margin: 0; font-family: var(--w-font-display); font-weight: 900; font-size: 1.5rem; line-height: 1.1; text-transform: uppercase; }
.w-of-carte > p { margin: 0; }
.w-of-membre { border-color: var(--w-accent); box-shadow: 0 34px 80px -46px var(--w-accent); }
.w-of-tag { margin: 0 0 8px; font-family: var(--w-font-mono); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--w-muted); }
.w-of-tag.accent { color: var(--w-accent-texte); }
.w-of-tag.ok { color: #0E9F6E; }
.w-of-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px; }
.w-of-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: .95rem; flex-grow: 1; }
.w-of-liste li { position: relative; padding-left: 24px; }
.w-of-liste li::before { content: "✓"; position: absolute; left: 0; color: var(--w-accent-texte); font-weight: 700; }
.w-of-liste.forte { gap: 13px; }
.w-of-liste.forte b { display: block; font-family: var(--w-font-display); font-weight: 800; font-size: 1.08rem; line-height: 1.25; }
.w-of-liste.forte span { display: block; margin-top: 2px; color: var(--w-muted); font-size: .88rem; }
.w-of-actuelle { margin: auto 0 0; padding-top: 13px; border-top: 1px solid var(--w-line); color: var(--w-muted); font-size: .88rem; }
.w-of-bascule { display: flex; border: 1px solid var(--w-line-strong); border-radius: var(--w-radius); }
.w-of-bascule a { display: flex; align-items: center; min-height: 44px; padding: 0 13px; font-size: .82rem; font-weight: 600; color: var(--w-ink); text-decoration: none; }
.w-of-bascule a[aria-current] { background: var(--w-accent); color: var(--w-accent-ink); }
.w-of-achat { display: flex; flex-direction: column; gap: 10px; }
.w-of-achat .w-btn-large { width: 100%; }
.w-of-achat p { margin: 0; }
.w-of-prix { color: var(--w-muted); font-size: .94rem; }
.w-of-prix b { font-family: var(--w-font-display); font-weight: 800; font-size: 1.4rem; color: var(--w-ink); }
.w-of-recharge { padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; border: 1px dashed var(--w-line-strong); border-radius: var(--w-radius); }
.w-of-recharge p { margin: 0; flex: 1 1 280px; font-size: .94rem; }
.w-of-recharge b { font-family: var(--w-font-display); font-weight: 800; }
.w-of-recharge span { color: var(--w-muted); }
/* Dossier fermé sur la fiche : ce qu'il contient, sans rien en montrer. */
.w-dos-verrou { display: flex; flex-direction: column; gap: 14px; padding: 22px; background: var(--w-surface-2); border: 1px solid var(--w-accent); border-radius: var(--w-radius); scroll-margin-top: 90px; }
.w-dos-verrou h3 { margin: 0; font-family: var(--w-font-display); font-weight: 900; font-size: 1.25rem; line-height: 1.2; }
.w-dos-verrou ul { list-style: none; margin: 0; padding: 0; }
.w-dos-verrou li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 11px 0; border-top: 1px solid var(--w-line); font-size: .94rem; }
.w-dos-verrou li i { flex: none; width: 88px; height: 14px; background: var(--w-line-strong); border-radius: var(--w-radius); opacity: .75; }
.w-dos-verrou .w-btn-large { width: auto; align-self: flex-start; }
.w-dos-verrou p { margin: 0; }
.w-dos-apres { margin-top: 16px; }
.w-marge-verrou { font-size: .84rem; font-weight: 600; }
/* Choix avant paiement, commande, confirmation */
.w-dos { padding-top: 22px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 16px; }
.w-dos > p { margin: 0; }
.w-dos-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 18px; align-items: start; }
.w-dos-duo .w-of-actuelle { margin-top: 0; }
.w-dos-option { box-sizing: border-box; width: 100%; display: flex; flex-direction: column; gap: 6px; padding: 16px; text-align: left; font: inherit; color: var(--w-ink); background: var(--w-surface-2); border: 1px solid var(--w-line-strong); border-radius: var(--w-radius); text-decoration: none; cursor: pointer; }
a.w-dos-option:hover, button.w-dos-option:hover { border-color: var(--w-accent); text-decoration: none; }
.w-dos-option.principale { background: var(--w-accent-soft); border-color: var(--w-accent); }
.w-dos-option.off { margin: 0; cursor: default; color: var(--w-muted); }
.w-dos-option-ligne { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; font-size: .94rem; }
.w-dos-option-ligne > b { font-family: var(--w-font-display); font-weight: 800; font-size: 1.05rem; }
.w-dos-option-texte { color: var(--w-muted); font-size: .88rem; }
.w-dos-boutons { display: flex; flex-wrap: wrap; gap: 10px; }
.w-cmd, .w-cf { max-width: 640px; }
.w-cmd-total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; padding-top: 14px; border-top: 1px solid var(--w-line); }
.w-cmd-total b { font-family: var(--w-font-display); font-weight: 900; font-size: 1.9rem; }
.w-cmd-form { display: flex; flex-direction: column; gap: 12px; }
.w-cmd-form .w-btn-large { width: 100%; }
.w-cmd-form p { margin: 0; }
.w-cf .w-btn-large { width: auto; }
/* Mon espace */
.w-esp-accueil { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 20px 24px; background: var(--w-accent-soft); border: 1px solid var(--w-accent); border-radius: var(--w-radius); }
.w-esp-accueil > div { flex: 1 1 320px; }
.w-esp-accueil h2 { margin: 0 0 6px; font-family: var(--w-font-display); font-weight: 900; font-size: 1.35rem; text-transform: uppercase; }
.w-esp-accueil p { margin: 0; }
.w-esp-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 18px; align-items: stretch; }
.w-esp-portefeuille { border-color: var(--w-accent); box-shadow: 0 30px 70px -48px var(--w-accent); }
.w-esp-portefeuille p { margin: 0; }
.w-esp-portefeuille .w-of-tag { margin: 0; }
.w-esp-solde { font-family: var(--w-font-display); font-weight: 900; font-size: 3.5rem; line-height: 1; }
.w-esp-solde span { font-size: 1.4rem; font-weight: 800; }
.w-esp-lot { padding-top: 12px; border-top: 1px solid var(--w-line); }
.w-esp-lot .w-small { margin-top: 6px; }
.w-esp-lot-tete { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; }
.w-barre-credits { display: block; margin-top: 6px; height: 8px; background: var(--w-track); }
.w-barre-credits i { display: block; height: 100%; background: var(--w-accent); }
.w-esp-tarifs { padding: 10px 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; background: var(--w-surface-2); font-size: .86rem; }
.w-esp-formule { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.w-esp-gestion { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.w-esp-resilier { padding: 8px 0; background: none; border: 0; color: var(--w-muted); font: inherit; font-size: .86rem; text-decoration: underline; cursor: pointer; }
.w-esp-resilier:hover { color: var(--w-ink); }
.w-esp-bloc { gap: 8px; margin-top: 18px; }
.w-esp-bloc h2 { font-size: 1.2rem; margin-bottom: 6px; }
.w-esp-ligne { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 16px; padding: 11px 0; border-top: 1px solid var(--w-line); font-size: .94rem; }
.w-esp-ligne a { color: var(--w-ink); }
.w-esp-marge { font-family: var(--w-font-mono); font-weight: 700; color: var(--w-accent-texte); }
.w-esp-reglages { margin: 22px 0 14px; font-family: var(--w-font-display); font-weight: 900; font-size: 1.3rem; text-transform: uppercase; }
/* Compteur de la barre */
.w-cpt { position: relative; }
.w-cpt > summary { list-style: none; cursor: pointer; display: flex; align-items: center; min-height: 34px; padding: 0 11px; font-family: var(--w-font-mono); font-size: .8rem; font-weight: 700; white-space: nowrap; color: var(--w-ink); background: var(--w-surface-2); border: 1px solid var(--w-line-strong); border-radius: var(--w-radius); }
.w-cpt > summary::-webkit-details-marker { display: none; }
.w-cpt.membre > summary { color: var(--w-accent-texte); background: var(--w-accent-soft); border-color: var(--w-accent); }
.w-cpt.bas > summary { color: #B45309; background: rgba(245, 158, 11, .12); border-color: #F59E0B; }
.w-cpt.vide > summary { color: var(--w-accent-ink); background: var(--w-accent); border-color: var(--w-accent); }
.w-cpt-panneau { position: absolute; right: 0; top: calc(100% + 8px); z-index: 45; box-sizing: border-box; width: min(340px, calc(100vw - 32px)); padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--w-surface); border: 1px solid var(--w-line-strong); border-radius: var(--w-radius); box-shadow: 0 26px 60px -30px rgba(0, 0, 0, .7); color: var(--w-ink); }
.w-cpt-panneau p { margin: 0; }
.w-cpt-tete { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-family: var(--w-font-display); font-size: 1.02rem; }
.w-cpt-tete span { font-family: var(--w-font-mono); font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.w-cpt-tete .ok { color: #0E9F6E; }
.w-cpt-tete .attente { color: #B45309; }
.w-cpt-liens { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; font-size: .86rem; }
@media (max-width: 560px) { .w-cpt > summary { padding: 0 8px; font-size: .72rem; } .w-cpt-panneau { position: fixed; top: 60px; right: 16px; } }
:root[data-theme="dark"] .w-of-tag.ok, :root[data-theme="dark"] .w-cpt-tete .ok { color: #34D399; }
:root[data-theme="dark"] .w-cpt.bas > summary, :root[data-theme="dark"] .w-cpt-tete .attente { color: #FBBF24; }
.w-apercu { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.w-apercu form { margin: 0; }

/* Page WXL Skool : panneaux noirs et or de sa marque, dans les deux thèmes ; le bouton d'action reste celui du site. */
.w-wxl { --wxl-or: #D9A85B; }
.w-wxl-hero, .w-wxl-final { --w-ink: #F3F7FB; --w-muted: #AEB8C4; --w-line: #2A2A2E; color: var(--w-ink); background: radial-gradient(900px 520px at 22% 8%, #33240F 0, #08080A 68%); }
.w-wxl-contact a { color: var(--wxl-or); }
.w-wxl-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 12px; }
.w-wxl-points li { padding: 18px; display: flex; flex-direction: column; gap: 6px; background: var(--w-surface); border: 1px solid var(--w-line); border-radius: var(--w-radius); }
.w-wxl-points b { font-family: var(--w-font-display); font-weight: 800; }
.w-wxl-points span { color: var(--w-muted); font-size: .92rem; }
.w-wxl-final { padding: 36px clamp(16px, 5vw, 64px) 44px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.w-wxl-final h2 { margin: 0; font-family: var(--w-font-display); font-weight: 900; font-size: clamp(1.3rem, 3vw, 1.9rem); text-transform: uppercase; color: var(--w-ink); }
.w-wxl-final .w-btn-large { width: auto; }
.w-wxl-final p { margin: 0; max-width: 62ch; font-size: .84rem; color: var(--w-muted); }
/* Un reflet passe sur le logo large, de temps en temps. */
.w-wxl-reflet { position: relative; display: block; width: min(100%, 560px); overflow: hidden; }
.w-wxl-reflet img { display: block; width: 100%; height: auto; mix-blend-mode: screen; }
.w-wxl-reflet::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255, 226, 170, .22) 50%, transparent 60%); transform: translateX(-100%); animation: wxl-reflet 5.5s 1s ease-in-out infinite; pointer-events: none; }
@keyframes wxl-reflet { 0% { transform: translateX(-100%); } 35%, 100% { transform: translateX(100%); } }
@media (max-width: 760px) {
  .w-wxl-hero .w-btn-large, .w-wxl-final .w-btn-large { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .w-wxl-reflet::after { animation: none; }
}

/* Logo animé WXL Skool : la voiture passe derrière la tête de la clé et se loge dans sa découpe. Au repos (sans script, mouvement réduit) : logo complet. */
.w-wxl-scene { position: relative; width: 100%; max-width: 620px; aspect-ratio: 1970 / 700; }
.w-wxl-scene img { position: absolute; display: block; height: auto; max-width: none; }
.w-wxl-scene .voiture { left: 23.86%; top: 24.86%; width: 66.95%; z-index: 1; }
.w-wxl-scene .cle { left: 0; top: 0; width: 100%; z-index: 2; }
.w-wxl-scene .wxl { left: 39.54%; top: 55%; width: 26.4%; z-index: 3; }
.w-wxl-scene .skool { left: 34.47%; top: 87.14%; width: 36.55%; z-index: 3; }
/* Reflet sur le métal, découpé à la forme de la clé. */
.w-wxl-scene::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 1970 / 596; z-index: 4; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 230, 180, .55) 50%, transparent 58%) no-repeat; background-size: 300% 100%; background-position: 130% 0;
  -webkit-mask: url('formation/cle.webp') 0 0 / 100% 100% no-repeat; mask: url('formation/cle.webp') 0 0 / 100% 100% no-repeat; }
.w-anime .w-wxl-scene:not(.joue) .voiture, .w-anime .w-wxl-scene:not(.joue) .wxl, .w-anime .w-wxl-scene:not(.joue) .skool { opacity: 0; }
.w-wxl-scene.joue .voiture { animation: wxl-voiture 2.1s .25s cubic-bezier(.42, .2, .3, 1) both; }
.w-wxl-scene.joue .cle { animation: wxl-allume 1.2s 1.95s ease-out both; }
.w-wxl-scene.joue .wxl { animation: wxl-monte .6s 2.2s cubic-bezier(.2, .7, .2, 1) both; }
.w-wxl-scene.joue .skool { animation: wxl-monte .6s 2.5s cubic-bezier(.2, .7, .2, 1) both; }
.w-wxl-scene.joue::after { animation: wxl-metal 6s 3.1s ease-in-out infinite; }
@keyframes wxl-voiture {
  0% { opacity: 0; transform: translateX(-135%); filter: blur(5px); }
  10% { opacity: 1; }
  78% { transform: translateX(1.8%); filter: blur(0); }
  100% { opacity: 1; transform: none; filter: none; }
}
@keyframes wxl-allume {
  0% { filter: none; }
  30% { filter: brightness(1.35) drop-shadow(0 0 22px rgba(217, 168, 91, .75)); }
  100% { filter: drop-shadow(0 14px 30px rgba(217, 168, 91, .16)); }
}
@keyframes wxl-monte { from { opacity: 0; transform: translateY(14%) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes wxl-metal { 0% { opacity: 1; background-position: 130% 0; } 30% { opacity: 1; background-position: -30% 0; } 31%, 100% { opacity: 0; background-position: -30% 0; } }
@media (max-width: 820px) {
}
/* Six ancres dans le menu d'un visiteur : une seule ligne, serrée, tant que le menu n'est pas replié. */
@media (min-width: 761px) and (max-width: 1240px) {
  .w-vitrine .w-links { flex-wrap: nowrap; gap: 6px 13px; }
  .w-vitrine .w-links a, .w-vitrine .w-links a:hover { font-size: .78rem; white-space: nowrap; }
}

/* Pages de tarifs : comment ça marche, comparatif, FAQ (décision du 2026-11-01). */
.w-of-sous { margin: 0 0 16px; font-family: var(--w-font-display); font-weight: 900; font-size: clamp(1.2rem, 2.4vw, 1.6rem); text-transform: uppercase; letter-spacing: -.01em; }
.w-of-eco { font-family: var(--w-font-mono); font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--w-accent-ink); background: var(--w-accent); padding: 1px 5px; border-radius: 2px; vertical-align: middle; }
.w-of-faq { padding: 4px 0; }
.w-of-etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; counter-reset: etape; }
.w-of-etapes li { position: relative; padding: 20px; display: flex; flex-direction: column; gap: 8px; background: var(--w-surface); border: 1px solid var(--w-line); border-radius: var(--w-radius); }
.w-of-num { position: absolute; top: 16px; right: 18px; font-family: var(--w-font-display); font-weight: 900; font-size: 2.4rem; line-height: 1; color: var(--w-line-strong); opacity: .55; }
.w-of-etapes b { font-family: var(--w-font-display); font-weight: 800; font-size: 1.1rem; padding-right: 36px; }
.w-of-etapes span:not(.w-of-num) { color: var(--w-muted); font-size: .92rem; line-height: 1.45; }
.w-of-q { border: 1px solid var(--w-line); border-radius: var(--w-radius); margin-bottom: 8px; background: var(--w-surface); }
.w-of-q > summary { list-style: none; cursor: pointer; padding: 14px 16px; font-family: var(--w-font-display); font-weight: 700; font-size: 1.02rem; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.w-of-q > summary::-webkit-details-marker { display: none; }
.w-of-q > summary::after { content: "+"; font-family: var(--w-font-mono); font-weight: 700; color: var(--w-accent-texte); flex: none; }
.w-of-q[open] > summary::after { content: "−"; }
.w-of-q > p { margin: 0; padding: 0 16px 16px; color: var(--w-muted); font-size: .94rem; line-height: 1.5; }

/* Page WXL Skool : le logo animé d'abord, puis la vidéo que les étapes pilotent. */
.w-wxl-hero { overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; padding: clamp(32px, 5vw, 60px) clamp(16px, 5vw, 64px) clamp(36px, 5vw, 64px); }
.w-wxl-hero .w-wxl-scene { max-width: 720px; }
.w-wxl-hero .w-titre-page { margin: 0; max-width: 22ch; color: var(--w-ink); font-size: clamp(1.7rem, 4vw, 3rem); line-height: 1.06; }
.w-wxl-lead { margin: 0; max-width: 58ch; font-size: 1.1rem; line-height: 1.5; color: var(--w-muted); }
.w-wxl-faits { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.w-wxl-faits li { padding: 6px 12px; font-family: var(--w-font-mono); font-size: .76rem; font-weight: 700; color: var(--wxl-or); border: 1px solid #4A3A1F; border-radius: var(--w-radius); }
.w-wxl-hero .w-btn-large { width: auto; margin-top: 6px; }
.w-wxl .w-btn-large .w-ico, .w-wxl-collant .w-ico { width: 20px; height: 20px; margin-right: 8px; }
.w-wxl-contact { margin: 0; font-family: var(--w-font-mono); font-size: .88rem; color: var(--w-muted); }
.w-wxl-contact a { color: var(--wxl-or); }
.w-wxl-corps { padding-top: 40px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 40px; }
.w-wxl-methode { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 28px 40px; align-items: start; }
.w-wxl-video { margin: 0; min-width: 0; position: sticky; top: 76px; }
.w-wxl-video video { display: block; width: 100%; height: auto; background: #000; border: 1px solid #4A3A1F; border-radius: 14px; box-shadow: 0 30px 80px -34px var(--wxl-or); }
.w-wxl-video figcaption { margin-top: 10px; font-size: .78rem; line-height: 1.4; color: var(--w-muted); }
.w-wxl-methode-texte { min-width: 0; }
.w-wxl-methode-texte .w-of-sous { margin-bottom: 6px; }
.w-wxl-astuce { margin: 0 0 16px; }
html:not(.js) .w-wxl-astuce { display: none; }
.w-wxl-etapes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.w-wxl-etapes li { position: relative; overflow: hidden; padding: 18px; display: flex; gap: 16px; background: var(--w-surface); border: 1px solid var(--w-line); border-radius: var(--w-radius); }
.js .w-wxl-etapes li { cursor: pointer; }
.js .w-wxl-etapes li:hover, .w-wxl-etapes li:focus-visible { border-color: var(--wxl-or); }
.w-wxl-etapes li.is-on { border-color: var(--wxl-or); background: var(--w-surface-2); box-shadow: inset 3px 0 0 var(--wxl-or); }
.w-wxl-num { flex: none; font-family: var(--w-font-mono); font-size: .8rem; font-weight: 700; color: var(--w-muted); padding-top: 3px; }
.w-wxl-etapes li.is-on .w-wxl-num { color: var(--wxl-or); }
.w-wxl-etape { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.w-wxl-etape b { font-family: var(--w-font-display); font-weight: 800; font-size: 1.12rem; line-height: 1.2; }
.w-wxl-etape span { color: var(--w-muted); font-size: .92rem; line-height: 1.45; }
.w-wxl-avance { position: absolute; left: 0; bottom: 0; height: 2px; width: var(--p, 0%); background: var(--wxl-or); }
.w-wxl-collant { display: none; }
@media (max-width: 760px) {
  .w-wxl-methode { grid-template-columns: minmax(0, 1fr); }
  .w-wxl-video { position: static; width: min(100%, 300px); margin: 0 auto; }
  .w-wxl-hero .w-btn-large { width: 100%; }
  .w-wxl { padding-bottom: 72px; }
  .w-wxl-collant { display: flex; align-items: center; justify-content: center; position: fixed; left: 16px; right: 16px; bottom: 12px; z-index: 30; min-height: 48px; box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .8); }
  .w-wxl-collant.w-cache { display: none; }
}
/* Offres et crédits : visibles depuis toute page connectée. */
.w-side-offres { font-weight: 600; color: var(--w-accent-texte) !important; }
.w-side-pied-offres { color: var(--w-accent-texte) !important; }
.w-of-etat { margin: 0; padding: 12px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; background: var(--w-surface); border: 1px solid var(--w-line); border-radius: var(--w-radius); font-size: .92rem; }
.w-of-etat span { font-family: var(--w-font-mono); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--w-muted); }
.w-of-etat a { margin-left: auto; }
@media (max-width: 560px) { .w-btn-offres { display: none !important; } }

/* Page d'offres : l'offre Membre domine, prix et bouton visibles d'emblée ; sur téléphone elle passe en premier. */
.w-of .w-vente-tete { margin-bottom: 0; }
.w-of-etat { justify-self: stretch; }
.w-of-duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); align-items: start; }
.w-of-duo.seule { grid-template-columns: minmax(0, 1fr); }
.w-of-libre h2 { font-size: 1.25rem; }
.w-of-libre .w-of-liste { flex-grow: 0; font-size: .9rem; }
.w-of-libre .w-of-actuelle { margin-top: 0; }
#membre { scroll-margin-top: 80px; }
.w-of-membre h2 { font-size: 1.7rem; }
.w-of-bascule a { gap: 6px; }
.w-of-eco { font-style: normal; font-family: var(--w-font-mono); font-size: .68rem; font-weight: 700; color: var(--w-accent-ink); background: var(--w-accent); padding: 1px 5px; border-radius: 2px; letter-spacing: 0; text-transform: none; }
.w-of-bascule a[aria-current] .w-of-eco { color: var(--w-accent); background: var(--w-accent-ink); }
.w-of-achat { padding: 16px 18px; background: var(--w-surface-2); border: 1px solid var(--w-line); border-radius: var(--w-radius); }
.w-of-achat[hidden] { display: none; }
.w-of-prix b { font-weight: 900; font-size: clamp(2rem, 4vw, 2.7rem); line-height: 1; }
.w-of-equivalent { font-family: var(--w-font-mono); font-size: .8rem; font-weight: 700; color: var(--w-accent-texte); }
.w-of-achat .w-of-actuelle { margin: 0; padding-top: 10px; }
.w-of-recharge { background: var(--w-surface); border-style: solid; border-color: var(--w-line); }
.w-of-sous-ligne { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; margin-bottom: 16px; }
.w-of-sous-ligne .w-of-sous { margin: 0; }
.w-of-exemple { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 14px; }
.w-of-fiche { padding: 20px; background: var(--w-surface); border: 1px solid var(--w-line); border-radius: var(--w-radius); }
.w-of-fiche.membre { border-color: var(--w-accent); box-shadow: 0 26px 60px -44px var(--w-accent); }
.w-of-fiche .w-of-tag { margin-bottom: 4px; }
.w-of-fiche h3 { margin: 0 0 10px; font-family: var(--w-font-display); font-weight: 800; font-size: 1.08rem; }
.w-of-fiche dl { margin: 0; }
.w-of-fiche dl > div { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 9px 0; border-top: 1px solid var(--w-line); font-size: .92rem; }
.w-of-fiche dt { color: var(--w-muted); }
.w-of-fiche dd { margin: 0; font-family: var(--w-font-mono); font-weight: 700; text-align: right; }
.w-of-fiche .ferme dd i { display: block; width: 84px; height: 13px; background: var(--w-line-strong); border-radius: var(--w-radius); opacity: .7; }
.w-of-fiche .marge dt { color: var(--w-ink); font-weight: 600; }
.w-of-fiche .marge dd { font-family: var(--w-font-display); font-weight: 900; font-size: 1.5rem; color: var(--w-accent-texte); }
.w-of-fiche .pret { color: var(--w-ink); font-size: .84rem; }
.w-of-tarifs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 14px; }
.w-of-tarifs li { padding: 20px; display: flex; flex-direction: column; gap: 4px; background: var(--w-surface); border: 1px solid var(--w-line); border-radius: var(--w-radius); }
.w-of-tarifs b { font-family: var(--w-font-display); font-weight: 900; font-size: 2.3rem; line-height: 1; color: var(--w-accent-texte); }
.w-of-unite { font-family: var(--w-font-mono); font-size: .72rem; font-weight: 700; color: var(--w-muted); }
.w-of-tarifs strong { margin-top: 8px; font-family: var(--w-font-display); font-weight: 800; font-size: 1.05rem; }
.w-of-tarifs li > span:last-child { color: var(--w-muted); font-size: .9rem; line-height: 1.45; }
.w-of-final { padding: 32px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; background: var(--w-surface); border: 1px solid var(--w-accent); border-radius: var(--w-radius); box-shadow: 0 30px 70px -48px var(--w-accent); }
.w-of-final h2 { margin: 0; max-width: 26ch; font-family: var(--w-font-display); font-weight: 900; font-size: clamp(1.3rem, 2.8vw, 1.9rem); line-height: 1.12; text-transform: uppercase; }
.w-of-final .w-btn-large { width: auto; }
.w-of-final p { margin: 0; }
.w-of-conditions { padding: 4px 0; }
.w-of-conditions > summary { cursor: pointer; color: var(--w-muted); font-size: .86rem; }
.w-of-conditions p { margin: 10px 0 0; }
@media (max-width: 820px) {
  .w-of-duo { grid-template-columns: minmax(0, 1fr); }
  .w-of-membre { order: -1; }
  .w-of-final .w-btn-large { width: 100%; }
}

/* Accueil : essai sans compte et tarifs (2026-11-02). */
.w-essai-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; padding: 20px; background: var(--w-surface); border: 1px solid var(--w-line); border-radius: var(--w-radius); }
.w-essai-form .w-field { margin: 0; }
.w-essai-form .w-btn-large { width: auto; }
.w-tarifs-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; margin-bottom: 18px; }
.w-tarif { padding: 22px; display: flex; flex-direction: column; gap: 8px; background: var(--w-surface); border: 1px solid var(--w-line); border-radius: var(--w-radius); }
.w-tarif.fort { border-color: var(--w-accent); box-shadow: 0 26px 60px -44px var(--w-accent); }
.w-tarif .w-of-tag { margin: 0; }
.w-tarif b { font-family: var(--w-font-display); font-weight: 900; font-size: 2rem; line-height: 1.05; }
.w-tarif b small { font-family: var(--w-font-body); font-weight: 500; font-size: .9rem; color: var(--w-muted); }
.w-tarif p { margin: 0; color: var(--w-muted); font-size: .92rem; line-height: 1.45; }
/* Résultats de l'essai */
.w-essai { padding-top: 24px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 16px; }
.w-essai > p { margin: 0; }
.w-essai-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.w-essai-ligne { display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--w-surface); border: 1px solid var(--w-line); border-radius: var(--w-radius); }
.w-essai-corps { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.w-essai-corps > b { font-family: var(--w-font-display); font-weight: 800; font-size: 1.05rem; }
.w-essai-corps > span { font-size: .88rem; }
.w-essai-chiffres { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.w-essai-chiffres b { font-family: var(--w-font-mono); font-size: 1rem; }
.w-essai-chiffres > span:not(.w-pill) { color: var(--w-muted); }
.w-essai-photo { position: relative; flex: 0 0 132px; align-self: stretch; min-height: 92px; margin: -16px 0 -16px -16px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--w-surface-2); border-right: 1px solid var(--w-line); border-radius: var(--w-radius) 0 0 var(--w-radius); }
.w-essai-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.w-essai-photo .w-ico { width: 36px; height: 36px; stroke-width: 1.2; color: var(--w-muted); }
/* Prix du marché observé */
.w-prix { padding-top: 24px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 18px; }
.w-prix > p { margin: 0; }
.w-prix-marques { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px; }
.w-prix-marque { padding: 18px; background: var(--w-surface); border: 1px solid var(--w-line); border-radius: var(--w-radius); }
.w-prix-marque h2 { margin: 0 0 8px; font-family: var(--w-font-display); font-weight: 800; font-size: 1.1rem; }
.w-prix-marque ul, .w-prix-autres { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .92rem; }
.w-prix-fait { padding: 14px 16px; background: var(--w-accent-soft); border: 1px solid var(--w-accent); border-radius: var(--w-radius); font-weight: 600; }
.w-prix-table { display: flex; flex-direction: column; border: 1px solid var(--w-line); border-radius: var(--w-radius); overflow: hidden; }
.w-prix-ligne { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, .7fr); gap: 8px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--w-line); font-size: .9rem; }
.w-prix-ligne:first-child { border-top: 0; }
.w-prix-ligne.tete { background: var(--w-surface-2); font-family: var(--w-font-mono); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--w-muted); }
.w-prix-ligne .fort { font-family: var(--w-font-display); font-weight: 900; font-size: 1.1rem; color: var(--w-accent-texte); }
.w-wxl-partenaire { margin: 0; font-family: var(--w-font-mono); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--w-muted); }
@media (max-width: 760px) {
  .w-essai-form { grid-template-columns: minmax(0, 1fr); }
  .w-essai-form .w-btn-large { width: 100%; }
  /* Téléphone (2026-11-09) : une carte par annonce, photo en bandeau, note et chiffres sur toute la largeur, bouton en bas. */
  .w-essai-ligne { flex-wrap: wrap; gap: 12px; padding: 0 0 14px; overflow: hidden; }
  .w-essai-photo { flex: 1 0 100%; margin: 0; min-height: 0; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1px solid var(--w-line); border-radius: 0; }
  .w-essai-ligne > .w-score { margin-left: 14px; }
  .w-essai-corps { padding-right: 14px; }
  .w-essai-ligne > .w-btn { flex: 1 0 calc(100% - 28px); margin: 0 14px; justify-content: center; text-align: center; }
  .w-prix-ligne { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .w-prix-ligne.tete { display: none; }
  .w-prix-ligne > span:nth-child(n+3) { color: var(--w-muted); font-size: .82rem; }
}
/* Formation : entrée dorée du menu d'un compte. */
.w-side-wxl { color: #C9974A !important; font-weight: 600; }
:root[data-theme="dark"] .w-side-wxl { color: #E4B66C !important; }
/* Marques : pastille à initiales en guise de logo (les logos des constructeurs sont des marques déposées). */
.w-sigle { flex: none; display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 5px; margin-right: 10px; vertical-align: middle; font-family: var(--w-font-display); font-weight: 900; font-size: .74rem; letter-spacing: .02em; color: var(--w-ink); background: var(--w-surface-2); border: 1px solid var(--w-line-strong); border-radius: 50%; }
.w-prix-marque h3 { margin: 0 0 10px; display: flex; align-items: center; font-family: var(--w-font-display); font-weight: 800; font-size: 1.1rem; }
.w-prix-autres-marques { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 8px; align-items: start; }
.w-prix-autres-marques .w-of-q { margin: 0; }
.w-prix-autres-marques .w-prix-autres { padding: 0 16px 14px; }
.w-prix-marque-nom { display: inline-flex; align-items: center; }
/* Offres simplifiées (2026-11-02) : ce que l'on obtient en trois points, puis le déroulé de l'essai. */
.w-ab-benefices { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 14px; }
.w-ab-benefices li { padding: 20px; display: flex; flex-direction: column; gap: 6px; background: var(--w-surface); border: 1px solid var(--w-line); border-radius: var(--w-radius); }
.w-ab-benefices b { font-family: var(--w-font-display); font-weight: 800; font-size: 1.15rem; }
.w-ab-benefices span:not(.w-ab-icone) { color: var(--w-muted); }
.w-ab-icone { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 4px; color: var(--w-accent-texte); border: 1px solid var(--w-line-strong); border-radius: 50%; }
.w-ab-icone .w-ico { width: 20px; height: 20px; }
.w-ab-frise { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: frise; }
.w-ab-frise li { position: relative; padding: 26px 18px 0 0; display: flex; flex-direction: column; gap: 4px; border-top: 2px solid var(--w-line-strong); }
.w-ab-frise li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--w-bg); border: 2px solid var(--w-accent); }
.w-ab-frise li:first-child { border-top-color: var(--w-accent); }
.w-ab-frise li:first-child::before { background: var(--w-accent); }
.w-ab-frise b { font-family: var(--w-font-mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.w-ab-frise span { color: var(--w-muted); }
@media (max-width: 640px) {
  .w-ab-frise { grid-template-columns: 1fr; gap: 0; }
  .w-ab-frise li { padding: 0 0 20px 26px; border-top: 0; border-left: 2px solid var(--w-line-strong); }
  .w-ab-frise li::before { top: 0; left: -8px; }
  .w-ab-frise li:first-child { border-left-color: var(--w-accent); }
}
/* Trois formules côte à côte (2026-11-02) : Membre au centre, mis en avant ; l'accès commun et le compte gratuit en dessous. */
.w-of-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.w-of-trio > .w-of-carte { display: flex; flex-direction: column; gap: 14px; }
.w-of-trio > .w-of-carte h2 { margin: 0; font-size: 1.5rem; }
.w-of-trio > .w-of-membre { transform: translateY(-8px); }
.w-of-trio .w-of-liste { margin-top: auto; }
.w-of-trio .w-btn { width: 100%; justify-content: center; text-align: center; white-space: normal; }
.w-of-commun { margin-top: 18px; padding: 18px 20px; background: var(--w-surface); border: 1px solid var(--w-line); border-radius: var(--w-radius); }
.w-of-commun .w-of-liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 6px 18px; }
.w-of-gratuit-ligne { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; gap: 18px; align-items: center; }
@media (max-width: 900px) {
  .w-of-trio { grid-template-columns: minmax(0, 1fr); }
  .w-of-trio > .w-of-membre { order: -1; transform: none; }
  .w-of-gratuit-ligne { grid-template-columns: minmax(0, 1fr); }
}
/* Offre sur la page de résultats d'un scan (compte sans abonnement) : les chiffres du scan, puis l'essai ou les formules. */
.w-offre-resultats { margin: 18px 0; padding: 22px 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: center;
  background: var(--w-surface); border: 1px solid var(--w-accent); border-radius: var(--w-radius); box-shadow: 0 30px 70px -50px var(--w-accent); }
.w-offre-resultats h2 { margin: 0 0 6px; font-family: var(--w-font-display); font-weight: 900; font-size: 1.35rem; }
.w-offre-resultats p { margin: 0; color: var(--w-muted); }
.w-offre-resultats-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
@media (max-width: 720px) { .w-offre-resultats { grid-template-columns: minmax(0, 1fr); } }
/* Parrainage dans Mon espace : lien à copier, filleuls. */
.w-esp-parrainage { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.w-esp-parrainage h2 { margin: 0; font-family: var(--w-font-display); font-weight: 900; font-size: 1.4rem; }
.w-esp-lien { width: 100%; font-family: var(--w-font-mono); }
.w-esp-filleuls { width: 100%; font-size: .9rem; }
/* Page des offres courte (2026-11-02) : bascule centrée, une ligne pour le gratuit. */
.w-of-court .w-vente-tete { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.w-of-bascule-centre { display: flex; width: max-content; max-width: 100%; margin: 0 auto 22px; }
.w-of-gratuit-court { margin: 26px auto 8px; max-width: 760px; text-align: center; color: var(--w-muted); }
.w-of-gratuit-court a { color: var(--w-accent-texte); font-weight: 600; }
/* Encart WXL Skool du tableau de bord (2026-11-03) : discret, signalé contenu partenaire, or de la page /formation. */
.w-wxl-encart { display: flex; align-items: center; gap: 16px; margin: 0 0 22px; padding: 14px 18px; color: inherit; text-decoration: none; background: var(--w-surface); border: 1px solid var(--w-line); border-left: 3px solid #C9974A; border-radius: var(--w-radius); }
.w-wxl-encart:hover { border-color: #C9974A; }
.w-wxl-encart-ico { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; color: #C9974A; border: 1px solid var(--w-line-strong); border-radius: 50%; }
.w-wxl-encart-ico .w-ico { width: 20px; height: 20px; }
.w-wxl-encart-texte { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.w-wxl-encart-texte small { font-family: var(--w-font-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--w-muted); }
.w-wxl-encart-texte b { font-family: var(--w-font-display); font-weight: 800; }
.w-wxl-encart-texte span { color: var(--w-muted); font-size: .92rem; }
:root[data-theme="dark"] .w-wxl-encart, :root[data-theme="dark"] .w-wxl-encart-ico { border-left-color: #E4B66C; color: inherit; }
@media (max-width: 640px) { .w-wxl-encart { flex-wrap: wrap; } .w-wxl-encart .w-btn { width: 100%; } }
/* Application installable (wertzo/_pwa.html) : invitation discrète, cachée tant que le script n'a rien décidé. */
.w-pwa { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; padding: 14px 18px; background: var(--w-surface); border: 1px solid var(--w-line); border-radius: var(--w-radius); }
.w-pwa[hidden] { display: none; }
.w-pwa-icone { flex: none; width: 44px; height: 44px; border-radius: 10px; }
.w-pwa-texte { flex: 1; min-width: 0; }
.w-pwa-texte h2 { margin: 0 0 2px; font-family: var(--w-font-display); font-weight: 800; font-size: 1rem; }
.w-pwa-texte p, .w-pwa-texte ol { margin: 0; color: var(--w-muted); font-size: .92rem; }
.w-pwa-texte ol { padding-left: 1.2em; }
.w-pwa-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.w-pwa-fermer { width: 32px; height: 32px; border: 1px solid var(--w-line); border-radius: 50%; background: transparent; color: var(--w-muted); font-size: 1.1rem; line-height: 1; cursor: pointer; }
.w-pwa-compte { margin-top: 22px; }
@media (max-width: 640px) { .w-pwa { flex-wrap: wrap; } .w-pwa-actions .w-btn { width: 100%; } .w-pwa-actions { flex: 1 1 100%; } }
/* Page hors connexion (wertzo/hors_ligne.html). */
.w-hors-ligne { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.w-hors-ligne-logo { border-radius: 16px; }

/* Scan offert d'un compte sans abonnement (web/decouverte.py) : la n° 1 en entier, les suivantes sans les calculs de Wertzo.
   Mouvement : décor seulement (radar, reflets des valeurs masquées, survol) ; tout s'arrête avec prefers-reduced-motion (règle globale). */
.w-dec { display: flex; flex-direction: column; gap: 22px; margin-top: 8px; }
.w-dec-hero { position: relative; overflow: hidden; padding: clamp(18px, 3vw, 30px); border: 1px solid var(--w-line); border-radius: var(--w-radius);
  background: radial-gradient(120% 140% at 100% 0%, var(--w-accent-soft), transparent 55%), var(--w-surface); }
.w-dec-hero > * { position: relative; }
.w-dec-hero h2 { margin: 10px 0 6px; max-width: 760px; font-family: var(--w-font-display); font-weight: 900; font-size: clamp(1.55rem, 3.6vw, 2.5rem); line-height: 1.05; text-transform: uppercase; letter-spacing: -.01em; }
.w-dec-hero > p { margin: 0; max-width: 640px; }
.w-dec-radar { position: absolute !important; right: -70px; top: -70px; width: 260px; height: 260px; border-radius: 50%; pointer-events: none; opacity: .7;
  background: repeating-radial-gradient(circle, transparent 0 40px, var(--w-line) 40px 41px); }
.w-dec-radar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, var(--w-accent-soft) 0deg, transparent 80deg);
  animation: w-dec-balayage 4.5s linear infinite; }
@keyframes w-dec-balayage { to { transform: rotate(1turn); } }
.w-dec-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 18px 0 0; padding: 0; }
.w-dec-stats li { display: flex; flex-direction: column; gap: 2px; }
.w-dec-stats b { font-family: var(--w-font-mono); font-weight: 700; font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.1; }
.w-dec-stats li.chaud b { color: var(--w-accent-texte); }
.w-dec-stats span { font-family: var(--w-font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--w-muted); }

.w-dec-n1 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); overflow: hidden; border: 1px solid var(--w-accent); border-radius: var(--w-radius);
  background: linear-gradient(120deg, var(--w-accent-soft), transparent 65%), var(--w-surface); box-shadow: 0 0 0 1px var(--w-accent-soft), var(--w-ombre); }
.w-dec-photo, .w-dec-cache-photo { position: relative; display: grid; place-items: center; overflow: hidden; background: var(--w-surface-2); color: var(--w-faint); }
.w-dec-photo { min-height: 260px; }
.w-dec-photo img, .w-dec-cache-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.w-dec-photo .w-ico, .w-dec-cache-photo > .w-ico { width: 42px; height: 42px; }
.w-dec-n1:hover .w-dec-photo img { transform: scale(1.04); }
.w-dec-ruban { position: absolute; left: 14px; top: 14px; padding: 5px 10px; background: var(--w-accent); color: var(--w-accent-ink); font-family: var(--w-font-mono);
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; border-radius: 2px; }
.w-dec-n1-contenu { display: flex; flex-direction: column; gap: 14px; padding: clamp(16px, 2.6vw, 26px); }
.w-dec-n1-tete { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.w-dec-n1-titre { display: flex; align-items: center; gap: 16px; }
.w-dec-n1-titre h3 { margin: 0; font-family: var(--w-font-display); font-weight: 900; font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.12; }
.w-dec-n1-titre h3 a { color: inherit; text-decoration: none; }
.w-dec-n1-titre h3 small { font-weight: 500; font-size: .62em; color: var(--w-muted); }
.w-dec-faits { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0 0; font-family: var(--w-font-mono); font-size: .74rem; color: var(--w-muted); }
.w-dec-faits span { padding: 2px 7px; border: 1px solid var(--w-line); border-radius: 2px; background: var(--w-surface-2); white-space: nowrap; }
.w-dec-chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; }
.w-dec-chiffres div, .w-dec-cache-kv div { padding: 11px 13px; background: var(--w-surface-2); border: 1px solid var(--w-line); border-radius: var(--w-radius); }
.w-dec-chiffres dt, .w-dec-cache-kv dt { font-family: var(--w-font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--w-muted); }
.w-dec-chiffres dd { margin: 4px 0 0; font-family: var(--w-font-mono); font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.w-dec-chiffres .marge { border-color: var(--w-accent); }
.w-dec-chiffres .marge dd { color: var(--w-accent-texte); }
.w-dec-n1-contenu > .w-btn { align-self: flex-start; }

.w-dec-suite h3 { margin: 4px 0 4px; font-family: var(--w-font-display); font-weight: 900; font-size: 1.25rem; text-transform: uppercase; }
.w-dec-suite p { margin: 0 0 4px; }
.w-dec-cumul { font-family: var(--w-font-mono); font-weight: 700; color: var(--w-accent-texte); }
.w-dec-caches { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.w-dec-cache { display: flex; flex-direction: column; overflow: hidden; background: var(--w-surface); border: 1px solid var(--w-line-strong); border-radius: var(--w-radius);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, opacity .7s cubic-bezier(.2, .7, .2, 1); }
.w-dec-cache:hover { transform: translateY(-3px); border-color: var(--w-accent); box-shadow: var(--w-ombre-survol); }
.w-dec-cache-photo { aspect-ratio: 16 / 10; }
.w-dec-cache-photo img { filter: saturate(.75) brightness(.82); }
.w-dec-cache:hover .w-dec-cache-photo img { transform: scale(1.05); }
.w-dec-cadenas { position: absolute; right: 10px; top: 10px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--w-noir); color: var(--w-sur-noir); box-shadow: var(--w-ombre); }
.w-dec-cadenas .w-ico { width: 17px; height: 17px; }
.w-dec-rang { position: absolute; left: 10px; bottom: 10px; padding: 4px 8px; background: var(--w-noir); color: var(--w-sur-noir); font-family: var(--w-font-mono);
  font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; border-radius: 2px; }
.w-dec-cache-corps { display: flex; flex-direction: column; gap: 12px; padding: 14px; flex: 1; }
.w-dec-cache-tete { display: flex; align-items: flex-start; gap: 12px; }
.w-dec-cache h4 { margin: 0; font-family: var(--w-font-display); font-weight: 800; font-size: 1.05rem; line-height: 1.2; }
.w-dec-cache h4 small { font-weight: 500; color: var(--w-muted); font-size: .82rem; }
.w-score.w-dec-score-cache { --w-sv: 72; --w-teinte: var(--w-faint); animation: none; flex: none; }
.w-dec-score-cache > span { filter: blur(4px); color: var(--w-muted); user-select: none; }
.w-dec-cache-kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.w-dec-cache-kv dd { margin: 3px 0 0; min-height: 1.2em; font-family: var(--w-font-mono); font-weight: 700; }
.w-dec-cache-kv .prix { border-color: var(--w-line-strong); }
.w-dec-flou { display: block; width: 72%; height: .95em; margin-top: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--w-track) 0%, var(--w-surface-3) 45%, var(--w-track) 90%);
  background-size: 220% 100%; animation: w-dec-reflet 1.8s ease-in-out infinite; }
@keyframes w-dec-reflet { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.w-dec-deverrou { margin-top: auto; justify-content: center; border-color: var(--w-accent); color: var(--w-accent-texte); }
.w-dec-deverrou:hover { background: var(--w-accent); color: var(--w-accent-ink); }
.w-dec-deverrou .w-ico { width: 15px; height: 15px; }

.w-dec-barre { position: sticky; bottom: 12px; z-index: 6; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px;
  padding: 14px 18px; border: 1px solid var(--w-accent); border-radius: var(--w-radius); background: var(--w-panneau, var(--w-surface)); box-shadow: var(--w-ombre-forte); }
.w-dec-barre-texte { display: flex; flex-direction: column; gap: 2px; }
.w-dec-barre-texte b { font-family: var(--w-font-display); font-weight: 900; font-size: 1.05rem; }
.w-dec-barre .w-btn { width: auto; }
@media (max-width: 860px) { .w-dec-n1 { grid-template-columns: 1fr; } .w-dec-photo { min-height: 0; aspect-ratio: 16 / 9; } .w-dec-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .w-dec-barre { bottom: 8px; padding: 12px; } .w-dec-barre .w-btn { width: 100%; } .w-dec-n1-titre { align-items: flex-start; }
  .w-dec-hero h2 { font-size: 1.45rem; overflow-wrap: anywhere; } .w-dec-n1-titre .w-verdict-score { width: 62px; height: 62px; font-size: 1.15rem; } }
/* Onde des points d'abonnés de la carte de l'administration (wertzo-admin.css, .w-carte-point) : décor, coupé par prefers-reduced-motion. */
@keyframes w-carte-onde { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(3.2); } }

/* Risque moyen : vert très clair (2026-11-06), plus discret que le vert d'un risque faible, jamais l'orange de l'action. */
.w-pill.moyen { background: color-mix(in srgb, var(--w-ok) 7%, transparent); color: color-mix(in srgb, var(--w-ok) 55%, var(--w-ink)); border-color: color-mix(in srgb, var(--w-ok) 30%, transparent); }

/* Action secondaire d'un formulaire (« Mettre de côté » de /analyser) : après le bouton principal, sans lui faire concurrence. */
.w-btn.w-btn-discret { background: transparent; border-color: transparent; color: var(--w-muted); box-shadow: none; text-decoration: underline; text-underline-offset: 3px; }
.w-btn.w-btn-discret:hover { color: var(--w-ink); border-color: var(--w-line); }

/* --- Fiche, mode administrateur (contenu pour les réseaux, 2026-11-11) : note et marge prudente en tête, à filmer ------------------ */
.w-fiche-admin { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.w-fiche-admin-marge { display: flex; flex-direction: column; align-items: flex-end; }
.w-fiche-admin-marge b { font-family: var(--w-font-display); font-size: 44px; line-height: 46px; font-weight: 800; color: var(--w-accent-texte); }
@media (max-width: 760px) { .w-fiche-admin-marge { align-items: flex-start; } .w-fiche-admin-marge b { font-size: 36px; line-height: 40px; } }
