/* ============================================================================
   lbofleet.com — feuille de style (v0.1.0)
   Aligné sur le LBO Design System v3.3.0 (CDN assets.lbogroup.lu).
   - Les TOKENS (couleurs, polices, espacements, rayons, ombres) viennent de
     `tokens.css` (CDN). Le thème sombre générique et le pattern `hero-bleed`
     sont fournis par le CDN ; on ne définit ici QUE l'accent (bleu acier Fleet,
     compléments non posés par le thème de pôle) et les composants du site.
   - Accent de référence : bleu acier Fleet #0EA5E9 (--pole-fleet du DS).
   ============================================================================ */

/* ─── Thème Fleet : compléments d'accent ─────────────────────────────────────
   <html data-approach="b" data-pole="fleet"> déclenche le thème natif du DS
   (--accent / --accent-hover / --accent-soft / --shadow-accent). On complète
   ici les variables que le thème de pôle ne pose pas (deep, glow, gradients). */
:root {
  --accent:               #E53935;   /* pole-immat — rouge auto (DS v3.3.0) */
  --accent-hover:         #C62828;   /* rouge 800 */
  --accent-deep:          #B71C1C;   /* rouge 900 — texte/eyebrow/CTA (fort contraste) */
  --accent-soft:          #FFEBEE;   /* rouge 50 */
  --accent-glow:          #EF9A9A;   /* rouge 200 — accents en mode sombre */
  --gradient-accent:      linear-gradient(135deg, #E53935 0%, #EF5350 100%);
  --gradient-accent-soft: linear-gradient(135deg, #FFEBEE 0%, #FFF5F5 100%);
  --shadow-accent:        0 4px 14px rgba(229, 57, 53, .30);
  --shadow-accent-hover:  0 8px 20px rgba(229, 57, 53, .40);

  /* Largeur de contenu propre au site (le DS expose --container-base = 1200) */
  --maxw: var(--container-base, 1200px);
}

/* ─── Reset léger + fondations typographiques (sur tokens DS) ─────────────── */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base, 1rem);
  line-height: var(--leading-normal, 1.55);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv11', 'ss01';
}
a { color: var(--accent-deep); text-decoration: none; transition: color var(--duration-fast, .15s) var(--ease-standard, ease); }
a:hover { color: var(--accent-hover); }
:where(a, button, summary, .btn, .lang-switch):focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 2px; border-radius: var(--radius-sm, 8px); }
[data-theme="dark"] :where(a, button, summary, .btn, .lang-switch):focus-visible { outline-color: var(--accent-glow); }
p:not(.breadcrumb) a:not(.btn) { text-decoration: underline; text-underline-offset: 2px; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-bold, 700);
  line-height: var(--leading-tight, 1.1);
  letter-spacing: var(--tracking-tight, -.02em);
  margin: 0; color: var(--ink);
}
p { margin: 0; }
::selection { background: var(--accent); color: #fff; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-6, 24px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.muted { color: var(--ink-soft); }
.accent { color: var(--accent-deep); }
.lead-max { max-width: 68ch; }

/* ─── Boutons (calqués sur components.css du DS) ──────────────────────────── */
.btn {
  -webkit-appearance: none; appearance: none; border: 0; margin: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2, 8px);
  font-family: var(--font-body);
  font-size: var(--text-sm, 15px); font-weight: var(--weight-semibold, 600); line-height: 1;
  padding: var(--space-3, 12px) var(--space-5, 20px); border-radius: var(--radius-sm, 8px);
  background: var(--bg); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--border);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: all var(--duration-normal, .25s) var(--ease-out, ease);
}
.btn:hover { background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent-deep); color: #fff; box-shadow: var(--shadow-accent); }
.btn--accent:hover { background: var(--accent-hover); box-shadow: var(--shadow-accent-hover); transform: translateY(-1px); color: #fff; }
.btn--sm { font-size: var(--text-xs, 13px); padding: var(--space-2, 8px) var(--space-4, 14px); }
.btn--lg { font-size: var(--text-base, 16px); padding: var(--space-4, 14px) var(--space-6, 22px); }

/* ─── En-tête ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: var(--z-sticky, 20);
  background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-height, 72px); }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-family: var(--font-display); }
.brand:hover { color: var(--ink); }
.brand__logo { height: 36px; width: auto; display: block; }
.site-footer .brand__logo { height: 34px; }
.brand__logo--on-dark { display: none; }
[data-theme="dark"] .brand__logo--on-light { display: none; }
[data-theme="dark"] .brand__logo--on-dark { display: block; }
.site-nav { display: flex; align-items: center; gap: var(--space-5, 22px); }
.site-nav a { color: var(--ink-soft); font-size: var(--text-sm, 15px); font-weight: var(--weight-medium, 500); }
.site-nav a:hover, .site-nav a.is-current { color: var(--ink); }
.site-nav a.is-current { color: var(--accent-deep); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; font-size: 24px; color: var(--ink); }
.site-header__actions { display: flex; align-items: center; gap: var(--space-4, 14px); }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: var(--radius-sm, 8px); background: transparent; border: 0; color: var(--ink-soft); cursor: pointer; font-size: 20px; transition: background .15s, color .15s; }
.theme-toggle:hover { background: var(--bg-soft); color: var(--ink); }
.lang-switch { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 10px; font-family: var(--font-display); font-weight: 700; font-size: 12.5px; letter-spacing: .03em; color: var(--ink); text-decoration: none; opacity: .75; border-radius: var(--radius-sm, 8px); }
.lang-switch:hover { opacity: 1; }

/* ─── Sections génériques ─────────────────────────────────────────────────── */
.section { padding: clamp(var(--space-12, 48px), 7vw, var(--space-20, 80px)) 0; }
.section--tight { padding: clamp(var(--space-8, 32px), 5vw, var(--space-12, 48px)) 0; }
.band { position: relative; background: var(--bg-soft); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); overflow: hidden; }
.band::before { content: ""; position: absolute; top: -140px; right: -100px; width: 520px; height: 520px; background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%); opacity: .6; pointer-events: none; z-index: 0; }
.band > .wrap { position: relative; z-index: 1; }
.band--accent { background: color-mix(in srgb, var(--accent) 7%, var(--bg)); }
.eyebrow {
  display: inline-block;
  color: var(--accent-deep); font-size: var(--text-sm, 13px); font-weight: var(--weight-semibold, 600);
  letter-spacing: var(--tracking-wide, .05em); text-transform: uppercase; margin-bottom: var(--space-3, 10px);
}
.section-title { font-family: var(--font-display); font-size: var(--text-3xl, 30px); font-weight: var(--weight-bold, 700); letter-spacing: var(--tracking-tight, -.02em); margin-bottom: var(--space-2, 8px); }
.section-lead { color: var(--ink-soft); max-width: 62ch; font-size: var(--text-lg, 17px); line-height: var(--leading-relaxed, 1.65); }
.page-head { max-width: 64ch; }
.page-head h1 { font-size: var(--text-4xl, 40px); font-weight: var(--weight-extrabold, 800); letter-spacing: var(--tracking-tighter, -.03em); margin: 6px 0 14px; }
.prose p { color: var(--ink-soft); line-height: 1.75; margin-top: 14px; max-width: 68ch; }
.prose--wide p { max-width: none; }
.prose p strong { color: var(--ink); font-weight: var(--weight-semibold, 600); }
.note { border-left: 3px solid var(--accent); background: var(--bg-soft); padding: 14px 18px; border-radius: 0 var(--radius-md, 14px) var(--radius-md, 14px) 0; color: var(--ink-soft); font-size: var(--text-sm, 14px); line-height: 1.65; margin-top: 18px; }
.note strong { color: var(--ink); }

/* ─── Dégradé sombre du héro (le CDN ne fournit que la variante claire) ────── */
[data-theme="dark"] .hero-bleed__gradient {
  background: linear-gradient(to right,
    rgba(15, 17, 21, .97) 0%, rgba(15, 17, 21, .92) 35%, rgba(15, 17, 21, .74) 55%,
    rgba(15, 17, 21, .34) 75%, rgba(15, 17, 21, .08) 92%, rgba(15, 17, 21, 0) 100%);
}
@media (max-width: 768px) {
  [data-theme="dark"] .hero-bleed__gradient {
    background: linear-gradient(to bottom,
      rgba(15, 17, 21, .95) 0%, rgba(15, 17, 21, .86) 38%, rgba(15, 17, 21, .40) 68%, rgba(15, 17, 21, .10) 100%);
  }
}

/* ─── Visuels & placeholder ───────────────────────────────────────────────── */
.ph {
  border: 1px dashed var(--border-strong); border-radius: var(--radius-lg, 20px);
  background: var(--bg-soft);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: var(--ink-subtle); text-align: center; padding: 18px; min-height: 160px;
}
.ph i { font-size: 28px; }
.ph span { font-size: var(--text-xs, 13px); }
.media { border-radius: var(--radius-lg, 20px); overflow: hidden; background: var(--bg-soft); aspect-ratio: 16 / 10; box-shadow: var(--shadow-sm); }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media--wide { aspect-ratio: 16 / 8; }
.media--tall { aspect-ratio: 4 / 5; }
.media.is-logo { background: var(--bg-soft); }
.media.is-logo img { object-fit: contain; padding: 7% 12%; }

/* ─── Bande de valeur ─────────────────────────────────────────────────────── */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4, 16px); background: var(--bg-soft); border: 1px solid var(--border-soft); border-radius: var(--radius-lg, 20px); padding: var(--space-6, 24px); }
.values i { font-size: 22px; color: var(--accent); }
.values h3 { font-size: var(--text-base, 16px); margin: var(--space-2, 8px) 0 3px; font-weight: var(--weight-bold, 700); font-family: var(--font-display); }
.values p { font-size: var(--text-sm, 14px); color: var(--ink-soft); }

/* ─── Grilles & cartes (sur .card du DS) ──────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4, 16px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4, 16px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4, 14px); }
@media (min-width: 761px) { .grid-2--rev > :nth-child(2) { order: -1; } }
.card { border: 1px solid var(--border); border-radius: var(--radius-lg, 20px); padding: var(--space-6, 18px); background: var(--bg); transition: transform var(--duration-slow, .4s) var(--ease-out, ease), box-shadow var(--duration-slow, .4s), border-color var(--duration-slow, .4s); }
.card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow-lg); }
.card i { font-size: 24px; color: var(--accent); }
.card h3 { font-size: var(--text-lg, 17px); margin: var(--space-3, 10px) 0 5px; font-weight: var(--weight-bold, 700); font-family: var(--font-display); }
.card p { font-size: var(--text-sm, 14px); color: var(--ink-soft); line-height: var(--leading-normal, 1.55); }
a.card { color: inherit; display: block; }
a.card:hover { color: inherit; }
.card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: var(--text-sm, 14px); font-weight: var(--weight-semibold, 600); color: var(--accent-deep); }

/* Carte « expertise » avec visuel (accueil) */
.feature { border: 1px solid var(--border); border-radius: var(--radius-lg, 20px); overflow: hidden; background: var(--bg); display: flex; flex-direction: column; transition: transform var(--duration-slow, .4s) var(--ease-out, ease), box-shadow var(--duration-slow, .4s), border-color var(--duration-slow, .4s); }
.feature:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow-lg); color: inherit; }
.feature__media { aspect-ratio: 16 / 10; background: var(--bg-soft); overflow: hidden; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature__body { padding: var(--space-6, 20px); display: flex; flex-direction: column; flex: 1; }
.feature__body h3 { font-family: var(--font-display); font-size: var(--text-xl, 20px); font-weight: var(--weight-bold, 700); }
.feature__body h3 .ti { color: var(--accent); margin-right: 8px; }
.feature__body p { font-size: var(--text-sm, 14.5px); color: var(--ink-soft); line-height: 1.6; margin-top: 8px; flex: 1; }

/* ─── Étapes (méthode, détaillé) ──────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: var(--space-6, 22px); margin-top: var(--space-6, 24px); }
.step { display: grid; grid-template-columns: 52px 1fr; gap: var(--space-4, 18px); align-items: start; }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-deep); color: #fff; font-family: var(--font-display); font-weight: var(--weight-bold, 700); font-size: var(--text-lg, 18px); box-shadow: var(--shadow-accent); }
.step h3 { font-family: var(--font-display); font-size: var(--text-lg, 18px); font-weight: var(--weight-bold, 700); margin-bottom: 5px; }
.step p { font-size: var(--text-sm, 14.5px); color: var(--ink-soft); line-height: 1.7; }

/* Strip méthode compacte (teaser) */
.method { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-3, 12px); }
.method__step { text-align: center; }
.method__num { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-deep); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: var(--weight-bold, 700); font-family: var(--font-display); margin: 0 auto var(--space-3, 10px); box-shadow: var(--shadow-accent); }
.method__step h3 { font-size: var(--text-sm, 14px); font-weight: var(--weight-bold, 700); font-family: var(--font-display); }
.method__step p { font-size: var(--text-xs, 12px); color: var(--ink-muted); margin-top: 2px; }

/* ─── Liste à puces « checklist » ─────────────────────────────────────────── */
.checklist { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; color: var(--ink-soft); font-size: var(--text-sm, 15px); line-height: 1.6; }
.checklist li strong { color: var(--ink); font-weight: var(--weight-semibold, 600); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft); }
.checklist li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 5px; height: 9px; border: solid var(--accent-deep); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Liste numérotée des niveaux d'externalisation */
.levels { counter-reset: lvl; list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; }
.levels li { counter-increment: lvl; position: relative; padding: 16px 18px 16px 60px; border: 1px solid var(--border); border-radius: var(--radius-lg, 16px); background: var(--bg); color: var(--ink-soft); font-size: var(--text-sm, 14.5px); line-height: 1.6; }
.levels li::before { content: counter(lvl); position: absolute; left: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-deep); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.levels li strong { color: var(--ink); font-weight: var(--weight-bold, 700); display: block; font-family: var(--font-display); margin-bottom: 2px; }

/* ─── Comparaison (déléguer ≠ perdre le contrôle) ─────────────────────────── */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4, 16px); }
.compare__col { border: 1px solid var(--border); border-radius: var(--radius-lg, 20px); padding: var(--space-6, 18px); }
.compare__col--neg { background: var(--bg-soft); }
.compare__col--pos { border: 2px solid var(--accent); background: var(--accent-soft); }
.compare__col h4 { font-size: var(--text-base, 15px); font-weight: var(--weight-bold, 700); margin-bottom: var(--space-3, 12px); font-family: var(--font-display); }
.compare__col--pos h4 { color: var(--accent-deep); }
.compare__row { font-size: var(--text-sm, 14px); color: var(--ink-soft); display: flex; gap: 8px; align-items: flex-start; margin-bottom: 9px; }
.compare__col--pos .compare__row { color: var(--ink); }
.compare__row i.no { color: var(--danger); }
.compare__row i.yes { color: var(--success); }

/* ─── Continuum (liste de pôles, page À propos) ───────────────────────────── */
.continuum { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.continuum li { display: flex; gap: 14px; align-items: baseline; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-lg, 16px); background: var(--bg); }
.continuum__step { font-family: var(--font-mono); font-size: var(--text-xs, 12px); color: var(--accent-deep); font-weight: 600; white-space: nowrap; }
.continuum__body { font-size: var(--text-sm, 14.5px); color: var(--ink-soft); }
.continuum__body strong { color: var(--ink); font-weight: var(--weight-semibold, 600); }
.continuum li.is-self { border-color: var(--accent); background: var(--accent-soft); }

/* ─── Formulaire de contact (sur .field/.input du DS) ─────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4, 14px); }
.field { display: flex; flex-direction: column; gap: var(--space-2, 6px); }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--text-sm, 13px); font-weight: var(--weight-semibold, 600); color: var(--ink); }
.input, .textarea, .select { font-family: var(--font-body); font-size: var(--text-base, 15px); padding: var(--space-3, 10px) var(--space-4, 12px); border: 1px solid var(--border); border-radius: var(--radius-sm, 8px); background: var(--bg); color: var(--ink); width: 100%; transition: border-color var(--duration-fast, .15s), box-shadow var(--duration-fast, .15s); }
.input:hover, .textarea:hover, .select:hover { border-color: var(--ink-muted); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.textarea { min-height: 140px; resize: vertical; line-height: var(--leading-relaxed, 1.65); }
.field__error { color: var(--danger); font-size: var(--text-xs, 12px); }
.checkbox { display: flex; gap: 9px; align-items: flex-start; font-size: var(--text-sm, 13px); color: var(--ink-soft); }
.feedback { padding: var(--space-3, 12px) var(--space-4, 14px); border-radius: var(--radius-md, 14px); font-size: var(--text-sm, 14px); margin-bottom: var(--space-4, 16px); }
.feedback.ok { background: var(--success-soft); color: var(--success); }
.feedback.err { background: var(--danger-soft); color: var(--danger); }
.channels { display: flex; gap: var(--space-5, 22px); flex-wrap: wrap; margin: var(--space-4, 14px) 0 4px; font-size: var(--text-sm, 14px); }
.channels a { color: var(--ink); }
.channels a:hover { color: var(--accent); }
.nap { font-style: normal; color: var(--ink-soft); line-height: 1.7; font-size: var(--text-sm, 14.5px); }
.nap strong { color: var(--ink); }

/* ─── Pied de page ────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-soft); margin-top: var(--space-6, 24px); }
.site-footer__inner { display: flex; justify-content: space-between; gap: var(--space-6, 24px); flex-wrap: wrap; padding: var(--space-8, 32px) 0; }
.site-footer p, .site-footer a { font-size: var(--text-sm, 13.5px); color: var(--ink-soft); }
.site-footer a:hover { color: var(--accent); }
.site-footer__links { display: flex; gap: var(--space-5, 18px); flex-wrap: wrap; max-width: 620px; }
.site-footer__bottom { border-top: 1px solid var(--border); padding: var(--space-4, 14px) 0; font-size: var(--text-xs, 12px); color: var(--ink-soft); display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.site-footer__legal { display: flex; gap: 8px 18px; flex-wrap: wrap; align-items: center; }
.site-footer__legal a { font-size: var(--text-xs, 12px); color: var(--ink-soft); }
.site-footer__legal a:hover { color: var(--accent); }
.site-footer__note { padding: 4px 0 18px; text-align: center; }

/* ─── FAQ (accordéon) ─────────────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius-md, 14px); background: var(--bg); overflow: hidden; transition: border-color var(--duration-fast, .15s); }
.faq__item[open] { border-color: var(--accent-soft); }
.faq__item summary { cursor: pointer; padding: 15px 18px; font-family: var(--font-display); font-weight: var(--weight-semibold, 600); font-size: var(--text-base, 15px); color: var(--ink); list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; flex-shrink: 0; }
.faq__item[open] summary::after { content: "−"; }
.faq__a { padding: 0 18px 16px; color: var(--ink-soft); font-size: var(--text-sm, 14px); line-height: 1.7; }

/* ─── Bande CTA finale ────────────────────────────────────────────────────── */
.cta-band { text-align: center; }
.cta-band__title { font-family: var(--font-display); font-size: var(--text-3xl, 28px); font-weight: var(--weight-bold, 700); color: var(--accent-deep); letter-spacing: var(--tracking-tight, -.02em); }
.cta-band__lead { color: var(--ink-soft); max-width: 60ch; margin: 14px auto 24px; line-height: 1.7; }

/* ─── Fil d'Ariane + note de bas de page ──────────────────────────────────── */
.breadcrumb { font-size: var(--text-sm, 13px); color: var(--ink-muted); margin-bottom: var(--space-4, 14px); }
.breadcrumb a { color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--accent); }
.footnote { font-size: var(--text-xs, 12.5px); color: var(--ink-muted); line-height: 1.65; max-width: 70ch; margin: 0 auto; }
.footnote strong { color: var(--ink-soft); }

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .grid-4, .grid-3, .method { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .grid-2, .grid-3, .grid-4, .method, .compare, .form-grid, .values { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .site-nav.is-open { display: flex; position: absolute; top: var(--header-height, 72px); left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 24px 16px; }
  .site-nav.is-open a { padding: 10px 0; border-bottom: 1px solid var(--border-soft); }
  .nav-toggle { display: block; }
}

/* ═══ Compléments mode sombre (le DS pose surfaces/encres ; ici les fixes site) ═══ */
[data-theme="dark"] .site-header { background: rgba(15, 17, 21, .85); }
[data-theme="dark"] .eyebrow,
[data-theme="dark"] .accent,
[data-theme="dark"] .cta-band__title,
[data-theme="dark"] .compare__col--pos h4,
[data-theme="dark"] .card__more,
[data-theme="dark"] .continuum__step { color: var(--accent-glow); }
[data-theme="dark"] a { color: var(--accent-glow); }
[data-theme="dark"] a:hover { color: #fff; }
[data-theme="dark"] .feature__body h3 .ti,
[data-theme="dark"] .card i,
[data-theme="dark"] .values i { color: var(--accent-glow); }

/* ═══════════════════════════════════════════════════════════════════════════
   immatriculation.eu — composants spécifiques (Phase 1)
   ═══════════════════════════════════════════════════════════════════════════ */
.brand--text { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.brand--text:hover { color: var(--ink); }

/* Héro sombre « showroom » (sans photo pour l'instant) */
.hero-immat { position: relative; background: #0f1115; overflow: hidden; }
.hero-immat::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 85% 0%, rgba(229,57,53,.20) 0%, transparent 55%); pointer-events: none; }
.hero-immat .hero-bleed__content { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: clamp(72px,11vw,132px) var(--space-6,24px); }
.hero-immat .hero-bleed__eyebrow { display: inline-block; color: var(--accent-glow); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; font-size: 13px; margin-bottom: 14px; }
.hero-immat .hero-bleed__title { color: #fff; font-family: var(--font-display); font-weight: 800; font-size: clamp(32px,5vw,52px); line-height: 1.05; letter-spacing: -.03em; max-width: 20ch; }
.hero-immat .hero-bleed__title span { color: var(--accent); }
.hero-immat .hero-bleed__lead { color: rgba(255,255,255,.82); font-size: clamp(16px,2vw,19px); line-height: 1.6; max-width: 60ch; margin-top: 16px; }
.hero-immat .hero-bleed__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-immat .btn:not(.btn--accent) { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.hero-immat .btn:not(.btn--accent):hover { background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1px #fff; color: #fff; }

/* Bandeau de specs (fiche modèle) */
.spec-strip { display: grid; grid-template-columns: repeat(auto-fit,minmax(120px,1fr)); gap: 12px; margin: 18px 0; }
.spec { background: var(--bg-soft); border-radius: var(--radius-md,12px); padding: 14px; }
.spec__label { font-size: 12px; color: var(--ink-muted); }
.spec__val { font-size: 19px; font-weight: 700; font-family: var(--font-display); margin-top: 2px; }

/* Comparateur multi-pays (Tchéquie ordonnée en tête, par les faits) */
.compare-pays { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 14px; margin-top: 16px; }
.pays-card { border: 1px solid var(--border); border-radius: var(--radius-lg,16px); padding: 16px; background: var(--bg); }
.pays-card--best { border: 2px solid var(--accent); }
.pays-card__badge { display: inline-block; background: var(--accent-soft); color: var(--accent-deep); font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; margin-bottom: 10px; }
.pays-card__name { font-family: var(--font-display); font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.pays-card__name .ti { color: var(--accent); font-size: 17px; }
.pays-card__row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--ink-soft); padding: 6px 0; border-top: 1px solid var(--border-soft); }
.pays-card__row:first-of-type { border-top: 0; }
.pays-card__row strong { color: var(--ink); font-weight: 600; white-space: nowrap; }
.compare-note { font-size: 12.5px; color: var(--ink-muted); line-height: 1.6; margin-top: 12px; display: flex; gap: 8px; }
.compare-note .ti { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* Fiche modèle : visuel + index marques */
.fiche-hero__media { aspect-ratio: 16/9; border-radius: var(--radius-lg,20px); overflow: hidden; background: var(--bg-soft); margin: 16px 0; }
.fiche-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.model-card__brand { font-size: 12px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .04em; }
.brand-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.brand-chip { border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; font-size: 13px; color: var(--ink-soft); background: var(--bg); }

/* Grille de marques avec logos (tuiles blanches → logos lisibles en clair ET sombre) */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(116px,1fr)); gap: 12px; margin-top: 16px; }
.brand-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px 12px; text-decoration: none; min-height: 100px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.brand-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.brand-tile img { height: 34px; width: auto; max-width: 84%; object-fit: contain; }
.brand-tile span { font-size: 12px; color: #555; font-weight: 500; }
.brand-tile--text span { font-family: var(--font-display); font-size: 15px; color: #333; }
.brand-logo-tile { display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px 18px; margin-bottom: 14px; }
.brand-logo-tile img { height: 42px; width: auto; object-fit: contain; }
.photo-credit { font-size: 11px; font-style: italic; color: var(--ink-subtle); margin-top: 8px; }
.photo-credit a { color: var(--ink-muted); text-decoration: underline; }
.photo-credit a:hover { color: var(--accent); }

/* Page marque : titre + logo sur la même ligne (logo à droite) */
.brand-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.brand-head .brand-logo-tile { margin-bottom: 0; }

/* Carrousel de logos (auto-défilant, N&B par défaut → couleur + pause au survol) */
.logo-marquee { overflow: hidden; padding: 22px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 8px 0 4px; -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.logo-marquee__track { display: flex; align-items: center; gap: 56px; width: max-content; animation: logo-scroll 45s linear infinite; }
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
.logo-marquee__item { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; height: 34px; }
.logo-marquee__item img { height: 26px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .3s, opacity .3s; }
.logo-marquee__item span { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink-muted); filter: grayscale(1); transition: color .3s; }
.logo-marquee:hover .logo-marquee__item img { filter: none; opacity: 1; }
.logo-marquee:hover .logo-marquee__item span { color: var(--ink); }
@keyframes logo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-marquee__track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: 20px; } }
[data-theme="dark"] .logo-marquee__item img { opacity: .7; }

/* Catalogue groupé par marque (page modèles) */
.brand-group { margin-top: 30px; }
.brand-group__head { display: flex; align-items: center; gap: 12px; padding: 8px 14px; border-bottom: 2px solid var(--accent); margin-bottom: 4px; text-decoration: none; color: var(--ink); }
.brand-group__head:hover { color: var(--ink); }
.brand-group__logo { display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 5px 8px; height: 34px; flex: 0 0 auto; }
.brand-group__logo img { height: 22px; width: auto; object-fit: contain; }
.brand-group__name { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.brand-group__count { margin-left: auto; font-size: 12px; color: var(--ink-muted); display: inline-flex; align-items: center; gap: 4px; }
.brand-group__rows { display: flex; flex-direction: column; }
.model-row { display: flex; align-items: center; gap: 16px; padding: 10px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); transition: background .15s; }
.model-row:nth-child(even) { background: var(--bg-soft); }
.model-row:hover { background: color-mix(in srgb, var(--accent) 10%, var(--bg)); color: var(--ink); }
.model-row__thumb { width: 92px; height: 58px; flex: 0 0 auto; border-radius: 8px; overflow: hidden; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; color: var(--ink-subtle); }
.model-row__thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .3s; }
.model-row:hover .model-row__thumb img { filter: none; }
.model-row__thumb i { font-size: 22px; }
.model-row__name { font-family: var(--font-display); font-weight: 700; font-size: 15px; flex: 1 1 auto; min-width: 130px; }
.model-row__specs { font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
.model-row__cta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--accent-deep); white-space: nowrap; }
[data-theme="dark"] .model-row__cta { color: var(--accent-glow); }
@media (max-width: 600px) { .model-row__specs { display: none; } .model-row__thumb { width: 72px; height: 48px; } }

/* Footer — bandeau démarches & infos */
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--border); }
.site-footer__navtitle { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--ink); margin-right: 4px; }
.site-footer__nav a { font-size: 13px; color: var(--ink-soft); }
.site-footer__nav a:hover { color: var(--accent); }

/* ═══ Méga-menu « Démarches & infos » (option D) ═══ */
.has-mega { position: relative; display: inline-flex; align-items: center; }
.site-nav__mega { -webkit-appearance: none; appearance: none; background: none; border: 0; cursor: pointer; font-family: var(--font-body); font-size: var(--text-sm, 15px); font-weight: var(--weight-medium, 500); color: var(--ink-soft); display: inline-flex; align-items: center; gap: 5px; padding: 0; }
.site-nav__mega:hover { color: var(--ink); }
.has-mega .ti-chevron-down { font-size: 15px; transition: transform .2s; }
.has-mega.is-open .ti-chevron-down { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 14px); left: 0; min-width: 560px; max-width: 92vw; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg, 18px); box-shadow: var(--shadow-lg); padding: 22px; z-index: 40; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.mega::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mega__col h4 { font-family: var(--font-display); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); margin-bottom: 10px; }
.mega__col a { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 14px; color: var(--ink-soft); }
.mega__col a:hover { color: var(--accent); }
.mega__col a i { font-size: 18px; color: var(--accent); width: 20px; text-align: center; flex: 0 0 auto; }
.mega__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13px; font-weight: var(--weight-semibold, 600); color: var(--accent-deep); }
[data-theme="dark"] .mega__cta { color: var(--accent-glow); }

/* ═══ Footer : plan de site ═══ */
.site-footer__top { padding: 30px 0 6px; }
.site-footer__map { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 10px 0 8px; }
.site-footer__map h4 { font-family: var(--font-display); font-size: 13px; font-weight: var(--weight-bold, 700); color: var(--ink); margin-bottom: 10px; }
.site-footer__map a { display: block; font-size: 13px; color: var(--ink-soft); padding: 4px 0; }
.site-footer__map a:hover { color: var(--accent); }

@media (max-width: 760px) {
  .has-mega { width: 100%; display: block; }
  .site-nav__mega { width: 100%; justify-content: space-between; padding: 10px 0; }
  .mega { position: static; min-width: 0; max-width: none; border: 0; border-radius: 0; box-shadow: none; padding: 4px 0 10px 12px; transform: none; opacity: 1; visibility: hidden; height: 0; overflow: hidden; }
  .has-mega.is-open .mega { visibility: visible; height: auto; }
  .mega::before { display: none; }
  .mega__cols { grid-template-columns: 1fr; gap: 14px; }
  .site-footer__map { grid-template-columns: repeat(2, 1fr); }
  .site-nav.is-open { max-height: calc(100vh - var(--header-height, 72px)); overflow-y: auto; -webkit-overflow-scrolling: touch; }
}
