/* ============================================================
   ULTRARIDE COACHING — STYLE V2 (design system public)
   ------------------------------------------------------------
   Source de vérité de la refonte CSS. Périmètre : SITE PUBLIC
   uniquement (pages marketing + guides). N'inclut PAS :
     - le CSS de l'app PWA (feedback.html : bottom-nav, scale-btn,
       modal-overlay, install-banner, container-feedback…)
     - le code mort (.page-ultra-aventure, .page-payment)
     - le tunnel questionnaire/diagnostic (styles locaux conservés
       jusqu'à leur migration)
   Identité conservée : fond sombre + accent orange, Space Grotesk
   (titres) / Space Mono (micro-labels) / system-ui (corps).

   SOMMAIRE
   01. Tokens (:root)
   02. Base (reset, body, typo, liens, layout)
   03. Icônes (.icon)
   04. Boutons (.btn, --primary, --ghost, --block, --lg, header CTA)
   05. Eyebrow & tags
   06. Cartes (.card, .card--feature) + grilles
   07. Pricing (.pricing-card)
   08. Encadrés (.note, .tip, .danger)
   09. Formulaires (.field) + reset Brevo scopé
   10. Signature « crête d'élévation » (.ele-ridge)
   11. Tableaux (.data-table, .compare-table)
   12. Header / nav (burger overlay + barre CTA sticky mobile)
   13. Footer
   14. Article / guide (.article, .figure, .faq)
   15. Hero (.hero accueil + variantes compactes)
   16. About teaser accueil (.about-teaser)
   17. Aperçu app + phone mockup (.app-ur-*, .phone-*)
   18. Badges programme & mini-carte plan (.program-badge*, .plan-essentiel-mini)
   19. Cartes articles (.articles-section, .article-card)
   20. À propos (.apropos-*)
   21. Témoignages (.testimonial-card, .quote-icon)
   22. Newsletter (.newsletter-*)
   23. Landing (.page-landing, .landing-*)
   24. Méthode (.methode-flex, .method-card, .methode-thumbs…)
   25. Programmes (.programs-*, .engagement-*, .commitment-chips…)
   26. Pages légales (.legal-page)
   27. Blocs réutilisables divers (.form-wrapper, .timeline)
   28. Utilitaires
   29. Accessibilité & prefers-reduced-motion
   ============================================================ */


/* ============================================================
   01. TOKENS
   ============================================================ */
:root {
  /* --- Couleurs --- */
  --bg: #020617;
  --surface: #0b1120;
  --surface-soft: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.06);

  --border: #1f2937;
  --border-strong: #4b5563;

  --text: #e5e7eb;
  --text-dim: #cbd5e1;
  --text-muted: #9ca3af;
  --text-strong: #f9fafb;

  --accent: #f97316;
  --accent-strong: #ea580c;
  --accent-light: #fb923c;
  --accent-soft: rgba(249, 115, 22, 0.12);
  --accent-border: rgba(249, 115, 22, 0.30);

  --info: #3b82f6;
  --success: #22c55e;
  --danger: #ef4444;

  /* --- Espacement (grille 8px) --- */
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;

  /* --- Rayons --- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* --- Typographie --- */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;

  --fs-xs: .8rem;
  --fs-sm: .9rem;
  --fs-base: 1rem;
  --fs-md: 1.15rem;
  --fs-lg: 1.4rem;
  --fs-xl: 1.8rem;
  --fs-2xl: 2.2rem;
  --fs-3xl: 2.8rem;

  --lh-tight: 1.15;
  --lh-base: 1.6;

  /* --- Élévation (une seule échelle) --- */
  --elev-1: 0 10px 25px rgba(0, 0, 0, .4);
  --elev-2: 0 18px 40px rgba(0, 0, 0, .45);
  --elev-3: 0 24px 60px rgba(0, 0, 0, .5);
  --glow: 0 0 30px rgba(249, 115, 22, .30); /* LE seul halo accent — parcimonie */

  /* --- Motion --- */
  --dur: .2s;
  --dur-slow: .4s;
  --ease: cubic-bezier(.2, .7, .3, 1);

  /* --- Dérivés (variantes du fond, non des couleurs nouvelles) --- */
  --bg-deep: #000;                    /* point bas du dégradé body existant */
  --bg-veil: rgba(2, 6, 23, 0.95);    /* --bg translucide : header, overlays */

  /* --- Plans (z-index) --- */
  --z-header: 100;
  --z-nav-overlay: 1000;
  --z-cta-bar: 2147483646;            /* au-dessus du bandeau Tarteaucitron */
}


/* ============================================================
   02. BASE
   ============================================================ */
*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  /* dégradé radial sombre existant (identité conservée) */
  background: radial-gradient(circle at top, var(--surface) 0, var(--bg) 55%, var(--bg-deep) 100%);
  color: var(--text);
  line-height: var(--lh-base);
  -webkit-text-size-adjust: 100%;
}

/* --- Liens --- */
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- Texte courant --- */
p {
  margin: 0 0 var(--space-3) 0;
  font-size: var(--fs-base);
}

ul, ol { margin: 0 0 var(--space-4) 0; padding-left: 1.25rem; }
li { margin-bottom: var(--space-2); }

strong { color: var(--text-strong); }

/* --- Échelle de titres --- */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--space-3) 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--text-strong);
}

h1 { font-size: var(--fs-3xl); letter-spacing: -0.01em; }
h2 { font-size: var(--fs-xl);  letter-spacing: -0.01em; }
h3 { font-size: var(--fs-md); }
h4 { font-size: var(--fs-base); }
h5 { font-size: var(--fs-sm); }
h6 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; }

@media (max-width: 600px) {
  h1 { font-size: var(--fs-2xl); }
  h2 { font-size: var(--fs-lg); }
}

/* Titre de section : filet signature accent */
.section-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin-top: var(--space-2);
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
}
.section-title--center::after { margin-left: auto; margin-right: auto; }

/* Chapeau / intro */
.lede {
  font-size: var(--fs-md);
  color: var(--text-dim);
  max-width: 70ch;
  margin-bottom: var(--space-5);
}

/* --- Layout global --- */
main { background: transparent; }

section { padding: var(--space-7) 0; }

section.alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-5);
}

main img { max-width: 100%; height: auto; }

/* Chiffres tabulaires sur les prix */
.price,
.pricing-card__price { font-variant-numeric: tabular-nums; }

@media (max-width: 600px) {
  .container { padding: 0 var(--space-4); }
  section { padding: var(--space-6) 0; }
}


/* ============================================================
   03. ICÔNES (.icon)
   ------------------------------------------------------------
   Convention : SVG inline 24×24 monoline (stroke-width 2),
   hérite couleur ET taille du texte. ZÉRO emoji dans l'UI.
   Markup canonique (snippets complets dans DESIGN-SYSTEM-V2.md) :
   <svg class="icon" viewBox="0 0 24 24" fill="none"
        stroke="currentColor" stroke-width="2" stroke-linecap="round"
        stroke-linejoin="round" aria-hidden="true">…</svg>
   Set livré : check, phone, calendar, clock, video, arrow-right,
   star, mail, chevron-down, lock.
   (Logos de marque — WhatsApp, Facebook — hors de ce set.)
   ============================================================ */
.icon {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  vertical-align: -0.125em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--sm { width: .85em; height: .85em; }
.icon--lg { width: 1.35em; height: 1.35em; }

/* Icône posée dans une pastille (listes de points clés, repères) */
.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6em;
  height: 1.6em;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-light);
}


/* ============================================================
   04. BOUTONS
   ------------------------------------------------------------
   UNE base + variantes. Les classes legacy (.btn-primary,
   .btn-secondary, .program-btn, .about .btn, .btn-newsletter,
   .btn-submit, .cta-guide .btn) seront REMAPPÉES ici en Phase 2.
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);

  padding: .7rem 1.5rem;
  border: none;
  border-radius: var(--radius-pill);

  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  color: var(--text);

  cursor: pointer;
  background: transparent;
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(249, 115, 22, .25);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: #fff;
  box-shadow: 0 10px 24px rgba(249, 115, 22, .35);
}

.btn--ghost {
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: transparent;
}

.btn--ghost:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text-strong);
}

.btn--block {
  display: flex;
  width: 100%;
}

/* Taille « grand CTA » (blocs de fin de guide, hero) */
.btn--lg {
  padding: .95rem 2.1rem;
  font-size: var(--fs-base);
}

/* CTA d'en-tête (markup existant sur ~25 pages : on garde la classe,
   redéfinie UNE fois, sans !important). Caché < 900px : la barre CTA
   sticky mobile prend le relais. */
.btn-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);

  padding: .6rem 1.4rem;
  border-radius: var(--radius-pill);

  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;

  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    background var(--dur) var(--ease);
}

.btn-header-cta:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(249, 115, 22, .35);
  color: #fff;
  text-decoration: none;
}

.btn-header-cta .icon { width: 1.1em; height: 1.1em; }


/* ============================================================
   05. EYEBROW & TAGS
   ============================================================ */
/* Micro-label mono au-dessus d'un titre ou d'un bloc */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);

  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent-light);
  margin-bottom: var(--space-3);
}

/* Pastille catégorie / statut */
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);

  padding: .2rem .7rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface-soft);

  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
}

.tag--reco {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  font-weight: 700;
}


/* ============================================================
   06. CARTES & GRILLES
   ============================================================ */
.card {
  position: relative;
  display: flex;
  flex-direction: column;

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--elev-1);

  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--elev-2);
}

.card p { font-size: var(--fs-sm); color: var(--text-dim); }

/* Carte mise en avant (offre phare, bloc signature) */
.card--feature {
  border-color: var(--accent-border);
  box-shadow: var(--elev-1), var(--glow);
}

.card--feature:hover {
  border-color: var(--accent-border);
  box-shadow: var(--elev-2), var(--glow);
}

/* Bouton calé en bas de carte */
.card .btn { margin-top: auto; }

/* Grilles de cartes */
.grid-2,
.grid-3 {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-5);
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}


/* ============================================================
   07. PRICING (.pricing-card)
   ------------------------------------------------------------
   Markup canonique :
   <article class="pricing-card [pricing-card--reco]">
     <span class="tag tag--reco">Recommandé</span>   (si reco)
     <h3 class="pricing-card__name">Performance</h3>
     <p class="pricing-card__price">119 €<span class="pricing-card__period">/mois</span></p>
     <p class="pricing-card__desc">…</p>
     <ul class="pricing-card__list"><li>…</li></ul>
     <a class="btn btn--primary btn--block" href="…">…</a>
     <p class="pricing-card__note">Sans engagement</p>
   </article>
   ============================================================ */
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5) var(--space-5);
  box-shadow: var(--elev-1);

  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.pricing-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--elev-2);
}

/* Tag de catégorie posé en haut de carte (hors tag--reco flottant) */
.pricing-card > .tag {
  align-self: flex-start;
  margin-bottom: var(--space-3);
}

.pricing-card__name {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  margin-bottom: var(--space-2);
  color: var(--text-strong);
}

.pricing-card__price {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--text-strong);
  margin-bottom: var(--space-2);
  /* tabular-nums hérité de la base (.pricing-card__price) */
}

.pricing-card__period {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--text-muted);
  margin-left: var(--space-1);
}

.pricing-card__desc {
  font-size: var(--fs-sm);
  color: var(--text-dim);
  margin-bottom: var(--space-4);
}

/* Liste à coches : check monoline accent en ::before.
   (data-URI : un SVG inline ne peut pas lire var(--accent) → le hex
   %23f97316 EST la valeur du token --accent.) */
.pricing-card__list {
  list-style: none;
  margin: 0 0 var(--space-5) 0;
  padding: 0;
}

.pricing-card__list li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--text-dim);
}

.pricing-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .2em;
  width: 1.05em;
  height: 1.05em;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f97316' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / contain no-repeat;
}

.pricing-card__note {
  margin: var(--space-3) 0 0;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-align: center;
}

.pricing-card .btn { margin-top: auto; }

/* Carte « Recommandé » : bordure accent + halo léger */
.pricing-card--reco {
  border-color: var(--accent-border);
  box-shadow: var(--elev-1), var(--glow);
}

.pricing-card--reco:hover {
  border-color: var(--accent-border);
  box-shadow: var(--elev-2), var(--glow);
}

.pricing-card--reco > .tag--reco {
  position: absolute;
  top: calc(-1 * var(--space-3));
  left: 50%;
  transform: translateX(-50%);
}


/* ============================================================
   08. ENCADRÉS (.note, .tip, .danger)
   ------------------------------------------------------------
   Fusionnent : highlight-box / method-highlight / landing-tip
   (→ .note), coach-tip (→ .tip), danger-box (→ .danger).
   ============================================================ */
.note,
.tip,
.danger {
  padding: var(--space-4) var(--space-5);
  margin: var(--space-6) 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  font-size: var(--fs-sm);
}

.note   { border-left: 3px solid var(--accent); }
.tip    { border-left: 3px solid var(--info); }
.danger { border-left: 3px solid var(--danger); }

.note strong,
.tip strong,
.danger strong { color: var(--text-strong); }

.note > :last-child,
.tip > :last-child,
.danger > :last-child { margin-bottom: 0; }


/* ============================================================
   09. FORMULAIRES (.field)
   ============================================================ */
.field { margin-bottom: var(--space-4); }

.field label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text);
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="date"],
.field textarea,
.field select {
  width: 100%;
  padding: .65rem .8rem;

  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);

  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--text);
  color-scheme: dark;

  outline: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.field textarea { min-height: 120px; resize: vertical; }

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.field ::placeholder { color: var(--text-muted); opacity: 1; }

.field-hint {
  margin-top: var(--space-1);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* --- Reset Brevo SCOPÉ (.brevo-embed sur le wrapper du form) ---
   Les !important sont nécessaires : Brevo injecte ses styles inline. */
.brevo-embed .sib-form,
.brevo-embed #sib-form-container { background: transparent !important; text-align: left !important; }

.brevo-embed #sib-container {
  background: transparent !important;
  border: none !important;
  max-width: 100% !important;
  padding: 0 !important;
}

.brevo-embed .sib-form,
.brevo-embed .sib-form *,
.brevo-embed #sib-container,
.brevo-embed #sib-container * { font-family: var(--font-body) !important; }

.brevo-embed .entry__label {
  color: var(--text) !important;
  font-weight: 600 !important;
  margin-bottom: var(--space-2) !important;
}

.brevo-embed #sib-container input {
  width: 100% !important;
  padding: .75rem .85rem !important;
  border-radius: var(--radius-sm) !important;
  border: 1px solid var(--border) !important;
  background: var(--surface-soft) !important;
  color: var(--text) !important;
}

.brevo-embed #sib-container input::placeholder {
  color: var(--text-muted) !important;
  opacity: 1 !important;
}

.brevo-embed .entry__specification {
  color: var(--text-muted) !important;
  font-size: var(--fs-xs) !important;
  margin-top: var(--space-2) !important;
}

.brevo-embed .sib-form-block__button {
  width: 100% !important;
  padding: .85rem 1.1rem !important;
  border: 0 !important;
  border-radius: var(--radius-pill) !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong)) !important;
  color: #fff !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

.brevo-embed .sib-form-message-panel {
  max-width: 100% !important;
  border-radius: var(--radius-md) !important;
  margin-bottom: var(--space-4) !important;
}

.brevo-embed a { color: var(--text-muted) !important; text-decoration: underline; }
.brevo-embed a:hover { color: var(--accent) !important; }


/* ============================================================
   10. SIGNATURE « CRÊTE D'ÉLÉVATION » (.ele-ridge)
   ------------------------------------------------------------
   Même tracé qu'en v1, trait AFFINÉ (1.5 au lieu de 2).
   Markup inchangé (svg + .ele-ridge-area + .ele-ridge-line).
   ============================================================ */
.ele-ridge {
  display: block;
  width: 100%;
  height: 48px;
  margin: var(--space-5) 0;
}

.ele-ridge svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ele-ridge-line {
  stroke: var(--accent);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: ridgeDraw 1.8s var(--ease) .3s forwards;
}

@keyframes ridgeDraw { to { stroke-dashoffset: 0; } }


/* ============================================================
   11. TABLEAUX
   ------------------------------------------------------------
   .data-table     : tableau de contenu (repères, plans, semaines)
   .compare-table  : comparatif d'offres — VERSION UNIQUE
                     (remplace les 4 doublons v1), wrapper :
                     <div class="table-wrap"><div class="table-scroll">
                       <table class="compare-table">…
   ============================================================ */
/* --- Tableau de contenu --- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-5) 0;
  font-size: var(--fs-sm);
}

.data-table th,
.data-table td {
  padding: var(--space-3) var(--space-3);
  border: 1px solid var(--border);
  vertical-align: top;
  text-align: left;
}

.data-table th {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-strong);
  background: var(--surface-soft);
}

.data-table td { font-variant-numeric: tabular-nums; }

/* --- Comparatif d'offres --- */
.table-wrap {
  position: relative;
  margin: var(--space-5) 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  box-shadow: var(--elev-1);
  overflow: hidden;
}

/* Utilisable seul autour d'un .data-table large (scroll horizontal
   contenu au tableau, sans déborder la page) ou dans .table-wrap. */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--space-5) 0;
}

.table-wrap .table-scroll { margin: 0; }

.table-scroll > .data-table {
  margin: 0;
  min-width: 480px;
}

.compare-table {
  width: 100%;
  min-width: 680px;
  border-collapse: separate;
  border-spacing: 0;
}

.compare-table th,
.compare-table td {
  padding: var(--space-4);
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.compare-table thead th {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-strong);
  text-align: center;
  white-space: nowrap;
  background: var(--surface);
}

.compare-table thead th:first-child,
.compare-table tbody td:first-child {
  text-align: left;
  width: 46%;
}

.compare-table tbody td {
  font-size: var(--fs-sm);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.compare-table tbody td:first-child { color: var(--text-dim); }

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }

.compare-table tbody tr:hover td { background: var(--surface-soft); }

/* Coche / tiret dans les cellules */
.compare-table .ok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-pill);
  background: rgba(34, 197, 94, 0.14);     /* --success à 14 % */
  border: 1px solid rgba(34, 197, 94, 0.30);
  color: var(--success);
}

.compare-table .dash { opacity: .45; }

.cell-note {
  display: block;
  margin-top: var(--space-1);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-muted);
}

/* Mobile : 1re colonne sticky + indication de scroll (icône, pas de texte) */
@media (max-width: 760px) {
  .compare-table thead th:first-child,
  .compare-table tbody td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    min-width: 140px;
    background: var(--surface);
    border-right: 1px solid var(--line);
  }
  .compare-table thead th:first-child { z-index: 3; }

  /* fondu à droite : suggère le contenu hors écran */
  .table-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 100%;
    pointer-events: none;
    z-index: 4;
    background: linear-gradient(to left, var(--bg-veil), rgba(2, 6, 23, 0));
  }

  /* pastille flèche (remplace l'ancien texte « Glisse → ») */
  .table-wrap::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    width: 28px;
    height: 28px;
    pointer-events: none;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line);
    background:
      url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fb923c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><line x1='5' y1='12' x2='19' y2='12'/><polyline points='12 5 19 12 12 19'/></svg>")
      center / 16px 16px no-repeat,
      var(--bg-veil);
  }
}


/* ============================================================
   12. HEADER / NAV
   ------------------------------------------------------------
   UN seul système : burger overlay (header.nav-js + js/nav.js)
   + barre CTA sticky mobile (.floating-cta-mobile, injectée par
   js/nav.js). Remplace les définitions concurrentes v1.
   Sans JS : la nav reste visible (fallback wrap).
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--bg-veil);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) 0;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* Logo : déborde volontairement du bandeau (identité existante) */
header .logo-img {
  height: 110px;
  width: auto;
  display: block;
  margin-top: -20px;
  margin-bottom: -20px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-base);
  color: var(--text-strong);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.nav-links a {
  position: relative;
  padding-bottom: .15rem;
  font-size: var(--fs-sm);
  color: var(--text);
  text-decoration: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--dur) var(--ease);
}

.nav-links a:hover::after,
.nav-links a.nav-active::after { width: 100%; }

.nav-links a.nav-active { color: var(--accent); }

/* --- Dropdown desktop (un seul sous-menu : Méthode + chevron-down) --- */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-dropbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .3rem;
  background: none;
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  line-height: 1;
  cursor: pointer;
}

.nav-dropbtn:hover { background: var(--surface-soft); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  padding: var(--space-2);
  display: none;
  z-index: var(--z-nav-overlay);

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--elev-2);
}

.nav-dropdown-menu a {
  display: block;
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a:hover { background: var(--surface-soft); }

.nav-dropdown.is-open .nav-dropdown-menu { display: block; }

/* --- Bouton burger (injecté par js/nav.js, caché ≥ 900px) --- */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-burger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-strong);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

header.nav-open .nav-burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
header.nav-open .nav-burger-bar:nth-child(2) { opacity: 0; }
header.nav-open .nav-burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.nav-open-lock { overflow: hidden; }

/* --- Mobile < 900px : overlay plein écran + header compact --- */
@media (max-width: 899.98px) {
  /* backdrop-filter retiré : sinon le header devient le bloc englobant
     des position:fixed et l'overlay ne couvre plus l'écran */
  header.nav-js {
    z-index: var(--z-nav-overlay);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  header.nav-js .nav { flex-wrap: nowrap; justify-content: space-between; }
  header.nav-js .logo-block,
  header.nav-js .nav-burger { position: relative; z-index: calc(var(--z-nav-overlay) + 2); }
  header.nav-js .nav-burger { display: inline-flex; }

  header .logo-img {
    height: 95px;
    margin-top: -15px;
    margin-bottom: -15px;
  }

  /* CTA d'en-tête masqué : la barre sticky mobile prend le relais */
  .nav .btn-header-cta { display: none; }

  /* La nav devient un panneau plein écran (liens conservés dans le HTML) */
  header.nav-js .nav-links {
    position: fixed;
    inset: 0;
    z-index: var(--z-nav-overlay);

    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: calc(env(safe-area-inset-top) + 110px) var(--space-5) calc(env(safe-area-inset-bottom) + var(--space-6));

    background: var(--bg-veil);
    backdrop-filter: blur(12px);
    overflow-y: auto;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  }

  header.nav-js.nav-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  /* Cibles tactiles ≥ 44px */
  header.nav-js .nav-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: .85rem var(--space-2);
    font-size: var(--fs-md);
    border-bottom: 1px solid var(--line);
  }
  header.nav-js .nav-links a::after { display: none; }

  /* CTA présent DANS .nav-links (cas index) : ré-affiché dans l'overlay */
  header.nav-js .nav-links .btn-header-cta {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin: var(--space-5) 0 0;
    border-bottom: none;
  }

  /* Dropdown aplati en liens simples dans l'overlay */
  header.nav-js .nav-links .nav-dropdown {
    display: flex;
    flex-direction: column;
    position: static;
    gap: 0;
  }
  header.nav-js .nav-links .nav-dropbtn { display: none; }
  header.nav-js .nav-links .nav-dropdown-menu {
    position: static;
    display: block;
    min-width: 0;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
  }
  header.nav-js .nav-links .nav-dropdown-menu a { padding-left: var(--space-5); }

  /* Overlay ouvert : on masque les éléments flottants */
  body.nav-open-lock .floating-cta-mobile,
  body.nav-open-lock .ur-widget { display: none !important; }
}

/* --- Barre CTA sticky mobile « Réserver un appel » ---
   Injectée par js/nav.js (UNE définition — remplace les 4 doublons v1). */
.floating-cta-mobile { display: none; }

@media (max-width: 899.98px) {
  .floating-cta-mobile {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-cta-bar);

    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);

    padding: 14px var(--space-5);
    padding-bottom: calc(14px + env(safe-area-inset-bottom));

    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    font-size: var(--fs-base);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.45);
  }

  .floating-cta-mobile:hover {
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    color: #fff;
    text-decoration: none;
  }

  .floating-cta-mobile svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
  }

  /* Réserve l'espace en bas + décale la bulle « Une question ? » */
  body.has-cta-bar { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  body.has-cta-bar .ur-widget { bottom: calc(64px + env(safe-area-inset-bottom)) !important; }
}


/* ============================================================
   13. FOOTER
   ============================================================ */
footer {
  margin-top: var(--space-5);
  padding: var(--space-5) 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  text-align: center;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.footer-content p { font-size: var(--fs-sm); }
.footer-content p + p { margin-top: var(--space-2); }

footer a { color: var(--text-muted); }
footer a:hover { color: var(--accent); }

/* Lien réseau social (le SVG de marque garde son fill propre) */
.urc-social-footer {
  display: flex;
  justify-content: center;
  margin: var(--space-4) 0;
}

.urc-social-footer a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}

.urc-social-footer svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.urc-social-footer a:hover {
  color: var(--accent-light);
  transform: translateY(-2px);
}


/* ============================================================
   14. ARTICLE / GUIDE
   ============================================================ */
.article {
  max-width: 800px;
  margin: 0 auto;
}

.article h2 { margin-top: var(--space-7); }
.article h3 { margin-top: var(--space-5); }

.article > .note:first-of-type { margin-top: var(--space-5); }

/* Figure d'article */
.figure {
  margin: var(--space-6) 0;
  text-align: center;
}

.figure img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--elev-1);
}

.figure figcaption {
  margin-top: var(--space-2);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* FAQ de guide : h3 + p, ou details/summary */
.faq {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
}

.faq h3 { margin-top: var(--space-5); }
.faq h3:first-child { margin-top: 0; }

.faq details {
  margin: var(--space-4) 0;
  padding: var(--space-4);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-strong);
}

.faq summary:hover { color: var(--accent-light); }

.faq details p { margin: var(--space-3) 0 0; }


/* ============================================================
   15. HERO
   ------------------------------------------------------------
   .hero            : hero d'accueil (grid texte / photo)
   .hero-small      : hero compact centré (pages secondaires)
   .hero-methode    : hero de la page méthode (texte + logo app)
   Les étoiles de réassurance ne sont PLUS des caractères étoile :
   markup = 5 <svg class="icon"> « star » dans .hero-stars.
   ============================================================ */
.hero { padding: var(--space-7) 0 var(--space-6); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: var(--space-6);
  align-items: center;
}

.hero-content p {
  color: var(--text-dim);
  max-width: 60ch;
}

/* Pastille d'accroche au-dessus du H1 (phrase courte, pas un eyebrow mono) */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);

  padding: .45rem .85rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--accent-border);
  background: var(--surface-soft);

  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-strong);
  margin-bottom: var(--space-3);
}

/* Puce pulsée dans la pastille */
.hero-tag-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  animation: ur-dot-pulse 2.4s var(--ease) infinite;
}

@keyframes ur-dot-pulse {
  0%   { box-shadow: 0 0 0 0 var(--accent-border); }
  70%  { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* Mot signature du H1 : dégradé accent + filet « élévation ».
   (data-URI : un SVG inline ne peut pas lire var(--accent) → le hex
   %23f97316 EST la valeur du token --accent, cf. §07 et §11.) */
.accent-word {
  position: relative;
  white-space: nowrap;
  background: linear-gradient(120deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.accent-word::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 8px;
  opacity: .55;
  pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='8' viewBox='0 0 120 8'><path d='M0 6 L18 3 L34 6 L52 1 L70 5 L92 2 L120 5' fill='none' stroke='%23f97316' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") left bottom / auto 100% repeat-x;
}

/* Rangée de CTA du hero */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

/* Ligne de réassurance sous les CTA */
.hero-proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-5);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.hero-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--accent);
}

/* Étoiles pleines (notation) : seule exception au monoline du set .icon */
.hero-stars .icon {
  fill: currentColor;
  stroke: none;
  width: 1.05em;
  height: 1.05em;
}

.hero-proof-sep {
  width: 1px;
  height: 16px;
  background: var(--border-strong);
}

/* Photo du hero */
.hero-media {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--elev-1);
  object-fit: cover;
}

/* Apparition en cascade du hero d'accueil (.hero.hero-animate) */
@keyframes ur-hero-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.hero-animate .hero-content > *               { animation: ur-hero-in .6s var(--ease) both; }
.hero-animate .hero-content > .hero-tag       { animation-delay: 0s; }
.hero-animate .hero-content > h1              { animation-delay: .1s; }
.hero-animate .hero-content > p               { animation-delay: .2s; }
.hero-animate .hero-content > .hero-actions   { animation-delay: .3s; }
.hero-animate .hero-content > .hero-proof     { animation-delay: .4s; }
.hero-animate .hero-media                     { animation: ur-hero-in .6s var(--ease) .15s both; }

/* --- Hero compact centré --- */
.hero-small {
  padding: var(--space-7) 0;
  text-align: center;
}

.hero-small h1 { font-size: var(--fs-2xl); }

.hero-small .hero-subtitle {
  font-size: var(--fs-md);
  color: var(--text-dim);
  max-width: 700px;
  margin: 0 auto var(--space-4);
}

.hero-media-small img {
  width: 100%;
  max-width: 550px;
  height: auto;
  display: block;
  margin: var(--space-5) auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--elev-1);
}

/* --- Hero méthode (texte + logo de l'app) --- */
.hero-methode { padding: var(--space-7) 0 var(--space-6); }

.hero-methode-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.hero-methode-inner > div:first-child {
  flex: 1 1 60%;
  min-width: 0;
}

.hero-logos { flex: 0 0 auto; margin: 0 auto; }

.hero-logos img {
  width: 140px;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .45));
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: var(--space-6); }
}

@media (max-width: 600px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}


/* ============================================================
   16. ABOUT TEASER (accueil)
   ============================================================ */
.about-teaser {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  align-items: stretch;
}

.about-photo {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.about-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--elev-1);
  object-fit: cover;
}

@media (min-width: 900px) {
  .about-teaser { flex-direction: row; align-items: center; }
  .about-text   { flex: 1.2; }
  .about-photo  { flex: 1; }
}


/* ============================================================
   17. APERÇU APP + PHONE MOCKUP
   ------------------------------------------------------------
   Bloc accueil « l'app UltraRide » : texte + capture dans un
   téléphone. Les voiles rgba(255,255,255,…) sont des reflets
   « verre » dérivés du blanc (même logique que --surface-soft),
   pas des couleurs de marque.
   Markup : .app-ur-grid > .app-ur-text + .app-ur-thumbnail >
   a.phone-link > .phone-mockup > img.phone-screen + .screen-glass
   ============================================================ */
.app-ur-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.app-ur-thumbnail {
  margin-top: var(--space-5);
  padding: var(--space-3);
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 900px) {
  .app-ur-grid { flex-direction: row; align-items: center; }
  .app-ur-text { flex: 1.4; }
  .app-ur-thumbnail { flex: 1; margin-top: 0; }
}

/* Le lien est la « scène » du téléphone */
.app-ur-thumbnail .phone-link {
  --phone-pad: 16px;          /* épaisseur du bezel */
  --screen-radius: 1.85rem;   /* arrondis de l'écran */
  --bezel-radius: 2.35rem;    /* arrondis du téléphone */

  display: inline-grid;
  place-items: center;
  position: relative;
  line-height: 0;
  isolation: isolate;
  text-decoration: none;
}

.app-ur-thumbnail .phone-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: 2.6rem;
}

/* Plaque « verre » derrière le téléphone */
.app-ur-thumbnail .phone-link::before {
  content: "";
  position: absolute;
  inset: -64px -12px;
  border-radius: 46px;
  z-index: -2;

  background:
    radial-gradient(120% 90% at 30% 15%, rgba(255, 255, 255, .12), rgba(255, 255, 255, .02) 55%),
    var(--surface-soft);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.app-ur-thumbnail .phone-mockup {
  position: relative;
  width: min(360px, 100%);
  aspect-ratio: 9 / 19.5;
  padding: var(--phone-pad);
  border-radius: var(--bezel-radius);
  overflow: hidden;
  transform: translateZ(0);
  z-index: 1;

  /* bezel : métal sombre + reflets latéraux (dérivés blanc/noir) */
  background:
    linear-gradient(90deg,
      rgba(255, 255, 255, .10) 0%,
      rgba(255, 255, 255, .04) 18%,
      rgba(0, 0, 0, .18) 50%,
      rgba(255, 255, 255, .04) 82%,
      rgba(255, 255, 255, .10) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03));

  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow:
    var(--elev-3),
    inset 0 0 0 1px rgba(255, 255, 255, .12),
    inset 0 0 0 7px rgba(0, 0, 0, .30);

  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

/* Halo externe discret (blanc + accent) */
.app-ur-thumbnail .phone-mockup::after {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: calc(var(--bezel-radius) + .5rem);
  z-index: -1;
  pointer-events: none;
  filter: blur(22px);

  background:
    radial-gradient(closest-side at 35% 25%, rgba(255, 255, 255, .10), transparent 60%),
    radial-gradient(closest-side at 30% 20%, var(--accent-soft), transparent 65%);
}

/* Encoche */
.app-ur-thumbnail .phone-mockup::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 46%;
  height: 22px;
  z-index: 4;
  pointer-events: none;

  background: var(--bg-veil);
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 16px 16px;
}

/* Capture d'écran */
.app-ur-thumbnail .phone-screen {
  width: 100%;
  height: 100%;
  display: block;

  border-radius: var(--screen-radius);
  object-fit: contain;
  object-position: center;

  background: var(--bg-deep);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px var(--line);
  z-index: 1;
}

/* Reflet « verre » aligné sur l'écran */
.app-ur-thumbnail .screen-glass {
  position: absolute;
  inset: var(--phone-pad);
  border-radius: var(--screen-radius);
  pointer-events: none;
  z-index: 3;

  background:
    linear-gradient(135deg, rgba(255, 255, 255, .22), transparent 46%),
    radial-gradient(120% 70% at 22% 10%, rgba(255, 255, 255, .16), transparent 60%);

  mix-blend-mode: screen;
  opacity: .2;
}

@media (hover: hover) {
  .app-ur-thumbnail .phone-link:hover .phone-mockup {
    transform: translateY(-3px);
  }
}

@media (max-width: 600px) {
  .app-ur-thumbnail .phone-link {
    --phone-pad: 14px;
    --screen-radius: 1.7rem;
    --bezel-radius: 2.15rem;
  }

  .app-ur-thumbnail .phone-link::before {
    inset: -54px -10px;
    border-radius: 40px;
  }

  .app-ur-thumbnail .phone-mockup { width: min(340px, 100%); }
}


/* ============================================================
   18. BADGES PROGRAMME & MINI-CARTE PLAN
   ------------------------------------------------------------
   UNE définition (remplace les 5 blocs concurrents v1).
   .program-badge-wrapper : badge(s) ancrés en haut à droite
   d'une carte (.card / .pricing-card / .plan-essentiel-mini).
   .app-ur-badges : même badge posé en ligne dans un texte.
   ============================================================ */
.program-badge-wrapper {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-1);
  z-index: 2;
}

.program-badge-wrapper a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* Pastille claire ronde, logo à taille native */
.program-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;

  background: var(--text-strong);
  border: none;
  border-radius: var(--radius-pill);
  box-shadow: var(--elev-1);

  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.program-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--elev-2);
}

.program-badge img {
  width: 40px;
  height: 40px;
  display: block;
}

/* Signe + entre deux badges */
.program-badge-plus {
  font-weight: 700;
  font-size: var(--fs-md);
  line-height: 1;
  color: var(--text-strong);
}

/* Badges posés en ligne (page méthode, blocs texte) */
.app-ur-badges {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: var(--space-3) 0 var(--space-4);
}

/* --- Mini-carte « plan essentiel » (hero accueil / pages presse) ---
   Liste interne : utiliser .pricing-card__list (coches SVG, plus
   de puce carrée en content). */
.plan-essentiel-mini {
  position: relative;
  display: flex;
  flex-direction: column;

  max-width: 500px;
  margin-top: var(--space-4);
  padding: var(--space-4) var(--space-5);

  background: var(--surface);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  box-shadow: var(--elev-1);

  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--text-dim);
}

.plan-essentiel-mini > strong {
  font-size: var(--fs-base);
  color: var(--text-strong);
}

.plan-essentiel-mini .pricing-card__list { margin: var(--space-3) 0; }

.plan-essentiel-mini .program-badge-wrapper {
  top: var(--space-2);
  right: var(--space-3);
}

/* Lien « flèche » en bas de mini-carte (la flèche = icône arrow-right,
   plus de caractère → dans le texte) */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  align-self: flex-start;
  margin-top: var(--space-2);

  color: var(--accent);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;

  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}

.link-arrow:hover {
  color: var(--accent-light);
  transform: translateX(4px);
  text-decoration: none;
}


/* ============================================================
   19. CARTES ARTICLES (page articles)
   ============================================================ */
.articles-section {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--space-7) 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 900px) {
  .articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--elev-1);

  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.article-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--elev-2);
}

/* Carte « à venir » */
.article-card-muted {
  background: var(--bg);
  border-style: dashed;
}

.article-thumb {
  width: 100%;
  flex-shrink: 0;
  line-height: 0;
}

.article-thumb img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.article-thumb .figure,
.article-thumb figure { margin: 0; }

.article-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-5);
}

.article-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Titre de carte : filet accent court */
.article-card h2 {
  position: relative;
  display: inline-block;
  align-self: flex-start;
  font-size: var(--fs-lg);
  margin-bottom: var(--space-3);
}

.article-card h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 60%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
}

.article-card p {
  color: var(--text-dim);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-4);
}

@media (max-width: 600px) {
  .article-thumb img { height: 170px; }
}


/* ============================================================
   20. À PROPOS
   ============================================================ */
.apropos-hero {
  padding: var(--space-7) 0 var(--space-6);
  background: linear-gradient(180deg, var(--surface), transparent);
}

.apropos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  align-items: center;
}

.apropos-intro {
  flex: 1 1 55%;
  min-width: 0;
}

.apropos-intro p { margin-top: var(--space-3); }

.apropos-photo-main,
.apropos-photo-secondary {
  flex: 1 1 35%;
  max-width: 420px;
  margin: 0 auto;
}

.apropos-photo-wide {
  max-width: 750px;
  margin: var(--space-5) auto 0;
}

.apropos-photo-main img,
.apropos-photo-secondary img,
.apropos-photo-wide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--elev-1);
  object-fit: cover;
}

.apropos-section {
  padding: var(--space-6) 0;
  border-top: 1px solid var(--line);
}

.apropos-layout-2col {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  align-items: flex-start;
}

.apropos-text {
  flex: 1 1 55%;
  min-width: 0;
}

.apropos-text p + p { margin-top: var(--space-3); }

.apropos-list { margin: var(--space-3) 0 var(--space-3) 1.2rem; }
.apropos-list li + li { margin-top: var(--space-1); }

.apropos-cta {
  text-align: center;
  padding: var(--space-6) 0 var(--space-7);
  background: linear-gradient(180deg, transparent, var(--surface));
}

@media (max-width: 768px) {
  .apropos-grid,
  .apropos-layout-2col { flex-direction: column; }

  .apropos-photo-main,
  .apropos-photo-secondary { max-width: 100%; }
}


/* ============================================================
   21. TÉMOIGNAGES
   ------------------------------------------------------------
   S'appuie sur .card : <div class="card testimonial-card">.
   .quote-icon contient l'icône monoline « quote » (remplace les
   anciens caractères guillemets décoratifs).
   ============================================================ */
.testimonial-card { font-style: italic; }

.quote-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: var(--space-2);

  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-light);
  font-style: normal;
}

.quote-icon .icon { width: 1.1em; height: 1.1em; }

.testimonial-author {
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  font-style: normal;
  font-size: var(--fs-sm);
}

.testimonial-event {
  display: block;
  color: var(--text-muted);
  font-size: var(--fs-xs);
}


/* ============================================================
   22. NEWSLETTER (bandeau bas de page)
   ------------------------------------------------------------
   .newsletter-icon contient l'icône monoline « mail » (remplace
   l'ancien emoji enveloppe).
   Bouton du formulaire : .btn .btn--primary (ex .btn-newsletter).
   ============================================================ */
.newsletter-section {
  padding: var(--space-7) 0;
  margin-top: var(--space-6);
  background: transparent;
}

.newsletter-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);

  padding: var(--space-6);
  background: var(--surface);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--elev-2);
}

.newsletter-content {
  flex: 1 1 400px;
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.newsletter-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;

  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-light);
  font-size: 1.4rem;
}

.newsletter-text h3 {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  margin: 0 0 var(--space-2);
  color: var(--text-strong);
}

.newsletter-text p {
  margin: 0;
  color: var(--text-dim);
  font-size: var(--fs-sm);
}

.newsletter-form-wrapper { flex: 1 1 350px; }

.ur-newsletter-form .form-group-inline {
  display: flex;
  gap: var(--space-3);
}

.input-newsletter {
  flex: 1;
  min-width: 0;
  padding: .75rem 1.1rem;

  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);

  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--text);
  outline: none;

  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.input-newsletter:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.input-newsletter::placeholder { color: var(--text-muted); opacity: 1; }

.newsletter-sub {
  margin: var(--space-3) 0 0;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 768px) {
  .newsletter-box {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-4);
    padding: var(--space-5) var(--space-4);
  }

  .newsletter-content { flex: 0 0 auto; width: 100%; text-align: center; justify-content: center; }
  .newsletter-icon { display: none; }
  .newsletter-form-wrapper { flex: 0 0 auto; width: 100%; }
  .ur-newsletter-form .form-group-inline { flex-direction: column; }
}


/* ============================================================
   23. LANDING (landing-guide-saison)
   ------------------------------------------------------------
   body.page-landing : nav masquée (1 page = 1 objectif).
   Formulaire Brevo : poser .brevo-embed sur le wrapper (§09).
   ============================================================ */
.page-landing .nav-links { display: none; }

.landing-hero { padding: var(--space-7) 0 var(--space-6); }

.landing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr);
  gap: var(--space-6);
  align-items: start;
}

.landing-subtitle {
  font-size: var(--fs-md);
  color: var(--text-dim);
  max-width: 52ch;
  margin-top: var(--space-2);
}

.landing-bullets {
  margin: var(--space-4) 0 var(--space-4) 1.1rem;
  padding: 0;
  color: var(--text);
}

.landing-bullets li { margin-bottom: var(--space-2); }

.landing-proof {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);

  margin-top: var(--space-3);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface-soft);

  color: var(--text-muted);
  font-size: var(--fs-xs);
}

.landing-proof-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* Carte formulaire */
.landing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--elev-2);
}

.landing-card h2 {
  font-size: var(--fs-md);
  margin-bottom: var(--space-2);
}

.landing-card-text {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-4);
}

/* Formulaire natif éventuel (sinon : embed Brevo + .brevo-embed) */
.landing-form label { margin-top: var(--space-2); }
.landing-form input[type="email"] { margin-bottom: var(--space-3); }

.landing-btn {
  width: 100%;
  padding: .85rem 1.1rem;
  font-size: var(--fs-base);
}

.landing-rgpd {
  margin-top: var(--space-3);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.45;
}

.landing-mini-links {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  align-items: center;
  margin-top: var(--space-4);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.landing-mini-links a { color: var(--text-muted); }
.landing-mini-links a:hover { color: var(--accent); }

/* Section « ce que tu vas trouver » */
.landing-what-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr);
  gap: var(--space-6);
  align-items: start;
}

.landing-points {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.landing-point {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.landing-point h3 { margin-bottom: var(--space-1); }
.landing-point p {
  color: var(--text-dim);
  font-size: var(--fs-sm);
  margin: 0;
}

.landing-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--elev-1);
  object-fit: cover;
}

/* Mini FAQ */
.landing-faq-inner { max-width: 980px; }

.landing-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.landing-faq-item {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.landing-faq-item h3 { margin-bottom: var(--space-1); }
.landing-faq-item p {
  color: var(--text-dim);
  font-size: var(--fs-sm);
  margin: 0;
}

@media (max-width: 900px) {
  .landing-grid,
  .landing-what-grid,
  .landing-faq-grid { grid-template-columns: 1fr; }

  .landing-hero { padding: var(--space-6) 0; }
}


/* ============================================================
   24. MÉTHODE
   ============================================================ */
/* Texte + capture d'app côte à côte */
.methode-flex {
  display: flex;
  align-items: flex-start;
  gap: var(--space-6);
  margin-top: var(--space-4);
}

.methode-flex .text {
  flex: 1 1 60%;
  min-width: 0;
}

.methode-flex .media {
  flex: 0 0 240px;
  max-width: 240px;
}

.methode-flex--reverse { flex-direction: row-reverse; }

.methode-flex img,
.app-screenshot {
  width: 100%;
  display: block;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--elev-1);
}

.methode-flex figcaption {
  margin-top: var(--space-2);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .methode-flex,
  .methode-flex--reverse { flex-direction: column; }

  .methode-flex .media {
    flex: 0 0 auto;
    max-width: 280px;
    margin: 0 auto;
  }
}

/* Galerie de miniatures de l'app */
.methode-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-5);
}

.thumb-item { text-align: center; }

.thumb-item img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: var(--space-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.thumb-item span {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .methode-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Grille « piliers de la méthode » */
.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 900px) {
  .method-grid { grid-template-columns: repeat(2, 1fr); }
}

.method-card {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}

.method-card h3 { margin-bottom: var(--space-2); }

.method-card p {
  font-size: var(--fs-sm);
  color: var(--text-dim);
}

/* (.method-highlight → .note, cf. §08) */

.method-steps {
  margin: var(--space-5) 0;
  padding-left: 1.2rem;
}

.method-steps li { margin-bottom: var(--space-2); }

/* Sections méthode resserrées (entre deux blocs liés) */
.methode-section--tight-bottom { padding-bottom: var(--space-3); }
.methode-section--tight-top { padding-top: var(--space-3); border-top: none; }

.methode-cta { text-align: center; }


/* ============================================================
   25. PROGRAMMES
   ------------------------------------------------------------
   Cartes d'offre : utiliser .pricing-card (§07).
   ============================================================ */
.programs-hero { padding: var(--space-7) 0 var(--space-6); }

.programs-hero .section-title { margin-bottom: var(--space-3); }

.programs-intro h2 {
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
}

.programs-list {
  padding: var(--space-6) 0;
  border-top: 1px solid var(--line);
}

/* Comparatif d'offres (titre + sous-titres autour du .compare-table §11) */
.offers-compare { padding: var(--space-7) 0 var(--space-2); }

.offers-compare .compare-subtitle {
  max-width: 860px;
  color: var(--text-dim);
  line-height: var(--lh-base);
  margin-bottom: var(--space-4);
}

.compare-note,
.compare-foot {
  margin-top: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* Bloc « engagement » (3 garanties) */
.engagement-box {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.engagement-item {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.engagement-title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.2;
}

.engagement-sub {
  margin-top: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.engagement-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .25rem .6rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  color: var(--text-strong);
  font-weight: 700;
  font-size: var(--fs-xs);
}

/* Puces d'engagement au-dessus du comparatif */
.commitment-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin: var(--space-4) 0 var(--space-5);
}

.chip {
  flex: 1 1 220px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
}

.chip-title {
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-strong);
}

.chip-sub {
  margin-top: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--text-dim);
}

.chip-badge {
  display: inline-block;
  margin-left: var(--space-2);
  padding: .1rem .5rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  font-size: var(--fs-xs);
  font-weight: 700;
}

/* CTA global sous la grille d'offres */
.global-cta-container {
  margin-top: var(--space-7);
  padding: var(--space-6);
  text-align: center;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.cta-intro {
  font-size: var(--fs-md);
  color: var(--text);
  margin-bottom: var(--space-5);
}

.cta-buttons-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-5);
}

.cta-buttons-row .btn { min-width: 260px; }

@media (max-width: 900px) {
  .engagement-box { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .cta-buttons-row { flex-direction: column; }
  .cta-buttons-row .btn { min-width: 0; width: 100%; }
}


/* ============================================================
   26. PAGES LÉGALES (CGU / CGV / mentions)
   ============================================================ */
.legal-page { padding: var(--space-7) 0 var(--space-8); }

.legal-page h1 { margin-bottom: var(--space-5); }

.legal-page h2 {
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.legal-page p,
.legal-page ul {
  margin-bottom: var(--space-3);
  line-height: 1.7;
  color: var(--text-dim);
}

.legal-page ul {
  padding-left: 1.3rem;
  list-style: disc;
}

.legal-meta {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-5);
}


/* ============================================================
   27. BLOCS RÉUTILISABLES DIVERS
   ============================================================ */
/* Cadre d'iframe (questionnaire Tally, contenus embarqués) */
.form-wrapper {
  max-width: 900px;
  margin: var(--space-6) auto 0;
  overflow: hidden;

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--elev-1);
}

.form-wrapper iframe {
  display: block;
  width: 100%;
  border: none;
}

@media (max-width: 768px) {
  .form-wrapper {
    margin-top: var(--space-5);
    border-radius: var(--radius-md);
  }
}

/* Déroulé jour par jour (semaines types des guides) */
.timeline {
  border-left: 3px solid var(--accent);
  padding-left: var(--space-4);
  margin: var(--space-6) 0;
}

.timeline > div,
.timeline .day { margin: var(--space-4) 0; }

.timeline .day strong {
  display: block;
  color: var(--text-strong);
}


/* ============================================================
   28. UTILITAIRES
   ============================================================ */
/* Rangée de CTA (fin de guide, sections d'action) */
.cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin: var(--space-7) 0 var(--space-6);
}

@media (max-width: 600px) {
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
}

.text-center { text-align: center; }

.muted { color: var(--text-muted); }

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ============================================================
   29. ACCESSIBILITÉ & MOTION
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn:focus-visible,
.btn-header-cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft), 0 0 0 1px var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  /* Crête : tracé final visible, sans animation */
  .ele-ridge-line {
    animation: none !important;
    stroke-dashoffset: 0 !important;
  }

  /* Hero : contenu visible immédiatement, puce fixe */
  .hero-animate .hero-content > *,
  .hero-animate .hero-media { animation: none !important; }

  .hero-tag-dot {
    animation: none !important;
    box-shadow: none !important;
  }

  .btn:hover,
  .btn-header-cta:hover,
  .card:hover,
  .pricing-card:hover,
  .article-card:hover,
  .program-badge:hover,
  .link-arrow:hover,
  .app-ur-thumbnail .phone-link:hover .phone-mockup,
  .urc-social-footer a:hover { transform: none; }
}
