/* =====================================================================
   LeBonFlip · Design System v2 (WordPress Customizer)
   Fichier  : lbf-design-system.css
   Version  : 2.0.0
   Date     : 27/04/2026
   Source   : /design-system/LBF_DESIGN_SYSTEM.md
   Cible    : WordPress 6.9+ / Kadence / lebonflip.com
   Notes    : a coller dans Apparence > Personnaliser > CSS additionnel
              ou dans un FluentSnippets dedie (chargement front-end).
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600;1,700&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* ---------- Couleurs orange (brand) ---------- */
  --lbf-orange: #E8621A;
  --lbf-orange-light: #F07A35;
  --lbf-orange-glow: #F5A96A;
  --lbf-orange-deep: #C85114;
  --lbf-orange-gold: #F5C78A;
  --lbf-orange-soft: #F5A858;

  /* ---------- Couleurs dark (sections sombres) ---------- */
  --lbf-d-bg: #16151F;
  --lbf-d-surface: #1C1B27;
  --lbf-d-surface-2: #222131;
  --lbf-d-surface-3: #1A1922;
  --lbf-d-text: #F0EDE8;
  --lbf-d-text-dim: rgba(240, 237, 232, 0.62);
  --lbf-d-text-muted: rgba(240, 237, 232, 0.45);
  --lbf-d-border: rgba(240, 237, 232, 0.07);
  --lbf-d-border-2: rgba(240, 237, 232, 0.12);

  /* ---------- Couleurs light (sections claires) ---------- */
  --lbf-l-bg: #FFFFFF;
  --lbf-l-surface: #FAFAF7;
  --lbf-l-surface-2: #F4F2EC;
  --lbf-l-text: #16151F;
  --lbf-l-text-dim: rgba(22, 21, 31, 0.62);
  --lbf-l-text-muted: rgba(22, 21, 31, 0.42);
  --lbf-l-border: rgba(22, 21, 31, 0.08);
  --lbf-l-border-2: rgba(22, 21, 31, 0.14);

  /* ---------- Couleurs fonctionnelles ---------- */
  --lbf-success: #22C55E;
  --lbf-danger: #EF4444;
  --lbf-info: #3B82F6;

  /* ---------- Beige doux (newsletter inline) ---------- */
  --lbf-beige-bg: rgba(255, 243, 230, 0.5);
  --lbf-beige-border: rgba(232, 98, 26, 0.35);

  /* ---------- Gradient brand ---------- */
  --lbf-gradient-brand: linear-gradient(135deg, #F5A858 0%, #E8621A 55%, #C85114 100%);

  /* ---------- Halos / shadows brand ---------- */
  --lbf-shadow-brand:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 6px 16px -6px rgba(232, 98, 26, 0.5);
  --lbf-shadow-brand-hover:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 12px 24px -8px rgba(232, 98, 26, 0.6);
  --lbf-shadow-card:
    0 1px 2px rgba(22, 21, 31, 0.04),
    0 8px 24px -12px rgba(22, 21, 31, 0.10);
  --lbf-shadow-card-hover:
    0 2px 4px rgba(22, 21, 31, 0.06),
    0 16px 32px -12px rgba(22, 21, 31, 0.16);

  /* ---------- Typographie ---------- */
  --lbf-f-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --lbf-f-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --lbf-fs-h1: clamp(40px, 5.6vw, 76px);
  --lbf-fs-h2: clamp(32px, 4.4vw, 56px);
  --lbf-fs-h3: clamp(22px, 2.6vw, 32px);
  --lbf-fs-h4: clamp(18px, 1.8vw, 24px);
  --lbf-fs-lead: clamp(15px, 1.3vw, 18px);
  --lbf-fs-body: 16px;
  --lbf-fs-body-sm: 14.5px;
  --lbf-fs-eyebrow: 11.5px;

  --lbf-fw-light: 300;
  --lbf-fw-regular: 400;
  --lbf-fw-medium: 500;
  --lbf-fw-semibold: 600;
  --lbf-fw-bold: 700;

  --lbf-lh-tight: 1.05;
  --lbf-lh-snug: 1.2;
  --lbf-lh-normal: 1.5;
  --lbf-lh-relaxed: 1.65;

  --lbf-ls-display: -0.02em;
  --lbf-ls-body: 0.01em;
  --lbf-ls-eyebrow: 0.14em;

  /* ---------- Espacements ---------- */
  --lbf-space-1: 4px;
  --lbf-space-2: 8px;
  --lbf-space-3: 12px;
  --lbf-space-4: 16px;
  --lbf-space-5: 20px;
  --lbf-space-6: 24px;
  --lbf-space-8: 32px;
  --lbf-space-10: 40px;
  --lbf-space-12: 48px;
  --lbf-space-16: 64px;
  --lbf-space-20: 80px;
  --lbf-space-24: 96px;

  /* ---------- Layout ---------- */
  --lbf-container: 1200px;
  --lbf-container-wide: 1320px;
  --lbf-container-reading: 720px;
  --lbf-section-py: clamp(72px, 10vw, 128px);
  --lbf-section-px: clamp(20px, 5vw, 48px);

  /* ---------- Border-radius ---------- */
  --lbf-r-card: 16px;
  --lbf-r-card-lg: 20px;
  --lbf-r-btn: 12px;
  --lbf-r-icon: 12px;
  --lbf-r-pill: 999px;
  --lbf-r-input: 10px;

  /* ---------- Easings & transitions ---------- */
  --lbf-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --lbf-t-fast: 0.15s var(--lbf-ease);
  --lbf-t-base: 0.25s var(--lbf-ease);
  --lbf-t-slow: 0.5s var(--lbf-ease);

  /* ---------- Z-index ---------- */
  --lbf-z-base: 1;
  --lbf-z-overlay: 10;
  --lbf-z-modal: 100;
  --lbf-z-toast: 1000;
}

/* =====================================================================
   STYLES DE BASE (scopes a .lbf-root pour ne pas casser le theme)
   ===================================================================== */

.lbf-root {
  font-family: var(--lbf-f-body);
  font-size: var(--lbf-fs-body);
  line-height: var(--lbf-lh-normal);
  color: var(--lbf-l-text);
  background: var(--lbf-l-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  container-type: inline-size;
  container-name: lbf;
}

.lbf-root h1,
.lbf-root h2,
.lbf-root h3,
.lbf-root h4,
.lbf-root h5,
.lbf-root h6 {
  font-family: var(--lbf-f-display);
  font-weight: var(--lbf-fw-semibold);
  letter-spacing: var(--lbf-ls-display);
  line-height: var(--lbf-lh-tight);
  color: inherit;
  margin: 0 0 var(--lbf-space-4);
}

.lbf-root h1 { font-size: var(--lbf-fs-h1); }
.lbf-root h2 { font-size: var(--lbf-fs-h2); }
.lbf-root h3 { font-size: var(--lbf-fs-h3); line-height: var(--lbf-lh-snug); }
.lbf-root h4 { font-size: var(--lbf-fs-h4); line-height: var(--lbf-lh-snug); }
.lbf-root h5 { font-size: 18px; line-height: var(--lbf-lh-snug); }
.lbf-root h6 {
  font-size: var(--lbf-fs-eyebrow);
  font-family: var(--lbf-f-body);
  font-weight: var(--lbf-fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--lbf-ls-eyebrow);
  color: var(--lbf-orange);
  line-height: var(--lbf-lh-normal);
}

.lbf-root h1 em,
.lbf-root h2 em,
.lbf-root h3 em,
.lbf-root h4 em {
  font-style: italic;
  font-family: var(--lbf-f-display);
  color: inherit;
}

.lbf-root p {
  margin: 0 0 var(--lbf-space-4);
  line-height: var(--lbf-lh-relaxed);
  color: inherit;
}

.lbf-root a {
  color: var(--lbf-orange);
  text-decoration: none;
  transition: color var(--lbf-t-fast);
}
.lbf-root a:hover {
  color: var(--lbf-orange-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lbf-root a:focus-visible {
  outline: 2px solid var(--lbf-orange);
  outline-offset: 2px;
  border-radius: 2px;
}

.lbf-root ul,
.lbf-root ol {
  margin: 0 0 var(--lbf-space-4);
  padding-left: var(--lbf-space-6);
  line-height: var(--lbf-lh-relaxed);
}
.lbf-root li {
  margin-bottom: var(--lbf-space-2);
}
.lbf-root li::marker {
  color: var(--lbf-orange);
}

.lbf-root blockquote {
  margin: var(--lbf-space-6) 0;
  padding: var(--lbf-space-4) var(--lbf-space-6);
  border-left: 3px solid var(--lbf-orange);
  font-family: var(--lbf-f-display);
  font-style: italic;
  font-size: 1.15em;
  color: var(--lbf-l-text-dim);
  background: var(--lbf-l-surface);
  border-radius: 0 var(--lbf-r-card) var(--lbf-r-card) 0;
}

.lbf-root strong,
.lbf-root b {
  font-weight: var(--lbf-fw-semibold);
  color: inherit;
}

.lbf-root em,
.lbf-root i {
  font-style: italic;
}

.lbf-root code,
.lbf-root kbd,
.lbf-root samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--lbf-l-surface-2);
  padding: 2px 6px;
  border-radius: 4px;
}

.lbf-root hr {
  border: 0;
  height: 1px;
  background: var(--lbf-l-border);
  margin: var(--lbf-space-8) 0;
}

.lbf-root img,
.lbf-root svg,
.lbf-root video {
  max-width: 100%;
  height: auto;
  display: block;
}

.lbf-root *::selection {
  background: var(--lbf-orange);
  color: #fff;
}

/* =====================================================================
   COMPOSANTS : SECTIONS & CONTENEURS
   ===================================================================== */

.lbf-section {
  padding: var(--lbf-section-py) var(--lbf-section-px);
  position: relative;
}
.lbf-section--dark {
  background: var(--lbf-d-bg);
  color: var(--lbf-d-text);
}
.lbf-section--light {
  background: var(--lbf-l-bg);
  color: var(--lbf-l-text);
}
.lbf-section--surface {
  background: var(--lbf-l-surface);
  color: var(--lbf-l-text);
}

.lbf-container {
  max-width: var(--lbf-container);
  margin-inline: auto;
  width: 100%;
}
.lbf-container--wide {
  max-width: var(--lbf-container-wide);
}
.lbf-container--reading {
  max-width: var(--lbf-container-reading);
}

/* =====================================================================
   COMPOSANTS : EYEBROW & LEAD
   ===================================================================== */

.lbf-eyebrow {
  display: inline-block;
  font-family: var(--lbf-f-body);
  font-size: var(--lbf-fs-eyebrow);
  font-weight: var(--lbf-fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--lbf-ls-eyebrow);
  color: var(--lbf-orange);
  margin-bottom: var(--lbf-space-3);
}

.lbf-lead {
  font-size: var(--lbf-fs-lead);
  line-height: var(--lbf-lh-relaxed);
  color: var(--lbf-l-text-dim);
  max-width: 640px;
}
.lbf-section--dark .lbf-lead {
  color: var(--lbf-d-text-dim);
}

/* =====================================================================
   COMPOSANTS : BOUTONS
   ===================================================================== */

.lbf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--lbf-space-2);
  font-family: var(--lbf-f-body);
  font-weight: var(--lbf-fw-semibold);
  font-size: 14.5px;
  letter-spacing: var(--lbf-ls-body);
  border-radius: var(--lbf-r-btn);
  padding: 14px 22px;
  cursor: pointer;
  border: 0;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--lbf-t-base), box-shadow var(--lbf-t-base), background-color var(--lbf-t-base), color var(--lbf-t-base);
  -webkit-tap-highlight-color: transparent;
}
.lbf-btn:focus-visible {
  outline: 2px solid var(--lbf-orange);
  outline-offset: 2px;
}

.lbf-btn-primary {
  background: var(--lbf-gradient-brand);
  color: #fff;
  box-shadow: var(--lbf-shadow-brand);
}
.lbf-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--lbf-shadow-brand-hover);
  color: #fff;
  text-decoration: none;
}

.lbf-btn-ghost-light {
  background: transparent;
  color: var(--lbf-l-text);
  border: 1px solid var(--lbf-l-border-2);
}
.lbf-btn-ghost-light:hover {
  transform: translateY(-2px);
  border-color: var(--lbf-orange);
  color: var(--lbf-orange);
  text-decoration: none;
}

.lbf-btn-ghost-dark {
  background: transparent;
  color: var(--lbf-d-text);
  border: 1px solid var(--lbf-d-border-2);
}
.lbf-btn-ghost-dark:hover {
  transform: translateY(-2px);
  border-color: var(--lbf-orange);
  color: var(--lbf-orange);
  text-decoration: none;
}

.lbf-btn-sm {
  padding: 10px 16px;
  font-size: 13.5px;
  border-radius: var(--lbf-r-input);
}
.lbf-btn-lg {
  padding: 16px 28px;
  font-size: 15px;
}

.lbf-btn-row {
  display: flex;
  gap: var(--lbf-space-3);
  flex-wrap: wrap;
  align-items: center;
}
.lbf-btn-row--center {
  justify-content: center;
}

/* =====================================================================
   COMPOSANTS : CARTES
   ===================================================================== */

.lbf-card {
  background: var(--lbf-l-surface);
  border: 1px solid var(--lbf-l-border);
  border-radius: var(--lbf-r-card);
  padding: var(--lbf-space-6);
  box-shadow: var(--lbf-shadow-card);
  transition: transform var(--lbf-t-base), box-shadow var(--lbf-t-base), border-color var(--lbf-t-base);
}
.lbf-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lbf-shadow-card-hover);
  border-color: var(--lbf-l-border-2);
}
.lbf-card--lg {
  padding: var(--lbf-space-8);
  border-radius: var(--lbf-r-card-lg);
}

.lbf-section--dark .lbf-card {
  background: var(--lbf-d-surface);
  border-color: var(--lbf-d-border-2);
  color: var(--lbf-d-text);
}
.lbf-section--dark .lbf-card:hover {
  background: var(--lbf-d-surface-2);
  border-color: var(--lbf-orange);
}

/* =====================================================================
   COMPOSANTS : GRILLES
   ===================================================================== */

.lbf-grid {
  display: grid;
  gap: var(--lbf-space-6);
}
.lbf-grid-2 { grid-template-columns: repeat(2, 1fr); }
.lbf-grid-3 { grid-template-columns: repeat(3, 1fr); }
.lbf-grid-4 { grid-template-columns: repeat(4, 1fr); }

.lbf-stack {
  display: flex;
  flex-direction: column;
  gap: var(--lbf-space-4);
}
.lbf-stack--lg { gap: var(--lbf-space-6); }

.lbf-row {
  display: flex;
  gap: var(--lbf-space-4);
  align-items: center;
  flex-wrap: wrap;
}

/* =====================================================================
   COMPOSANTS : CHIPS & BADGES
   ===================================================================== */

.lbf-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--lbf-space-2);
  padding: 6px 12px;
  border-radius: var(--lbf-r-pill);
  font-size: 12.5px;
  font-weight: var(--lbf-fw-medium);
  background: var(--lbf-l-surface-2);
  color: var(--lbf-l-text-dim);
  border: 1px solid var(--lbf-l-border);
}
.lbf-chip--brand {
  background: rgba(232, 98, 26, 0.08);
  color: var(--lbf-orange-deep);
  border-color: var(--lbf-beige-border);
}
.lbf-chip--success {
  background: rgba(34, 197, 94, 0.10);
  color: var(--lbf-success);
  border-color: rgba(34, 197, 94, 0.25);
}
.lbf-chip--info {
  background: rgba(59, 130, 246, 0.10);
  color: var(--lbf-info);
  border-color: rgba(59, 130, 246, 0.25);
}

.lbf-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lbf-orange);
  display: inline-block;
  animation: lbf-pulseDot 2s ease-in-out infinite;
}

/* =====================================================================
   COMPOSANTS : FAQ NATIVE (details / summary)
   ===================================================================== */

.lbf-faq-item {
  border: 1px solid var(--lbf-l-border-2);
  border-radius: var(--lbf-r-card);
  padding: var(--lbf-space-4) var(--lbf-space-6);
  background: var(--lbf-l-bg);
  margin-bottom: var(--lbf-space-3);
  transition: border-color var(--lbf-t-base);
}
.lbf-faq-item[open] {
  border-color: var(--lbf-orange);
}
.lbf-faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: var(--lbf-fw-semibold);
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--lbf-space-4);
  color: inherit;
}
.lbf-faq-item summary::-webkit-details-marker { display: none; }
.lbf-faq-item summary::after {
  content: '+';
  font-family: var(--lbf-f-body);
  font-weight: var(--lbf-fw-light);
  font-size: 24px;
  color: var(--lbf-orange);
  transition: transform var(--lbf-t-base);
  flex-shrink: 0;
}
.lbf-faq-item[open] summary::after {
  transform: rotate(45deg);
}
.lbf-faq-item .answer {
  margin-top: var(--lbf-space-4);
  color: var(--lbf-l-text-dim);
  line-height: var(--lbf-lh-relaxed);
}

/* =====================================================================
   COMPOSANTS : NEWSLETTER INLINE
   ===================================================================== */

.lbf-newsletter-inline {
  background: var(--lbf-beige-bg);
  border: 1px solid var(--lbf-beige-border);
  border-radius: 14px;
  padding: 4px;
  max-width: 480px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.lbf-newsletter-inline input[type="email"],
.lbf-newsletter-inline input[type="text"] {
  flex: 1 1 auto;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  padding: 10px 14px;
  font-family: var(--lbf-f-body);
  font-size: 14.5px;
  color: var(--lbf-l-text);
}
.lbf-newsletter-inline input::placeholder {
  color: var(--lbf-l-text-muted);
}

/* =====================================================================
   COMPOSANTS : MODAL
   ===================================================================== */

.lbf-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: var(--lbf-z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--lbf-space-4);
}
.lbf-modal {
  background: var(--lbf-l-bg);
  border-radius: var(--lbf-r-card-lg);
  padding: var(--lbf-space-8);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 64px -16px rgba(22, 21, 31, 0.4);
}
.lbf-modal-close {
  position: absolute;
  top: var(--lbf-space-4);
  right: var(--lbf-space-4);
  background: transparent;
  border: 0;
  font-size: 24px;
  cursor: pointer;
  color: var(--lbf-l-text-dim);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--lbf-t-fast), color var(--lbf-t-fast);
}
.lbf-modal-close:hover {
  background: var(--lbf-l-surface-2);
  color: var(--lbf-l-text);
}

/* =====================================================================
   UTILITAIRES
   ===================================================================== */

.lbf-text-center { text-align: center; }
.lbf-text-left   { text-align: left; }
.lbf-text-right  { text-align: right; }

.lbf-text-orange { color: var(--lbf-orange); }
.lbf-text-dim    { color: var(--lbf-l-text-dim); }
.lbf-text-muted  { color: var(--lbf-l-text-muted); }

.lbf-bg-brand    { background: var(--lbf-gradient-brand); color: #fff; }
.lbf-bg-dark     { background: var(--lbf-d-bg); color: var(--lbf-d-text); }
.lbf-bg-surface  { background: var(--lbf-l-surface); }

.lbf-mt-0 { margin-top: 0; }
.lbf-mt-2 { margin-top: var(--lbf-space-2); }
.lbf-mt-4 { margin-top: var(--lbf-space-4); }
.lbf-mt-6 { margin-top: var(--lbf-space-6); }
.lbf-mt-8 { margin-top: var(--lbf-space-8); }

.lbf-mb-0 { margin-bottom: 0; }
.lbf-mb-2 { margin-bottom: var(--lbf-space-2); }
.lbf-mb-4 { margin-bottom: var(--lbf-space-4); }
.lbf-mb-6 { margin-bottom: var(--lbf-space-6); }
.lbf-mb-8 { margin-bottom: var(--lbf-space-8); }

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

/* =====================================================================
   ANIMATIONS
   ===================================================================== */

@keyframes lbf-fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lbf-reveal {
  opacity: 0;
  animation: lbf-fadeUp 0.8s var(--lbf-ease) forwards;
}
.lbf-r1 { animation-delay: 0.05s; }
.lbf-r2 { animation-delay: 0.18s; }
.lbf-r3 { animation-delay: 0.30s; }
.lbf-r4 { animation-delay: 0.42s; }

@keyframes lbf-pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 98, 26, 0.5); }
  60%      { box-shadow: 0 0 0 6px rgba(232, 98, 26, 0); }
}

@keyframes lbf-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.lbf-section.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--lbf-ease), transform 0.8s var(--lbf-ease);
}
.lbf-section.scroll-reveal.visible {
  opacity: 1;
  transform: none;
}

/* =====================================================================
   RESPONSIVE (container queries + media queries fallback)
   ===================================================================== */

@container lbf (max-width: 980px) {
  .lbf-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .lbf-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@container lbf (max-width: 640px) {
  .lbf-grid-2,
  .lbf-grid-3,
  .lbf-grid-4 { grid-template-columns: 1fr; }
  .lbf-row { flex-direction: column; align-items: stretch; }
  .lbf-btn-row { flex-direction: column; align-items: stretch; }
}
@container lbf (max-width: 480px) {
  .lbf-newsletter-inline {
    flex-direction: column;
    align-items: stretch;
  }
  .lbf-newsletter-inline input,
  .lbf-newsletter-inline .lbf-btn {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .lbf-root .lbf-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .lbf-root .lbf-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .lbf-root .lbf-grid-2,
  .lbf-root .lbf-grid-3,
  .lbf-root .lbf-grid-4 { grid-template-columns: 1fr; }
  .lbf-root .lbf-modal { padding: var(--lbf-space-6); }
}
@media (max-width: 480px) {
  .lbf-root .lbf-newsletter-inline {
    flex-direction: column;
    align-items: stretch;
  }
  .lbf-root .lbf-newsletter-inline input,
  .lbf-root .lbf-newsletter-inline .lbf-btn {
    width: 100%;
  }
}

/* =====================================================================
   ACCESSIBILITE : prefers-reduced-motion
   ===================================================================== */

@media (prefers-reduced-motion: reduce) {
  .lbf-root *,
  .lbf-root *::before,
  .lbf-root *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .lbf-root .lbf-section.scroll-reveal {
    opacity: 1;
    transform: none;
  }
  .lbf-root .lbf-pulse-dot { animation: none; }
}

/* =====================================================================
   THEME : FULL DARK (data-theme="dark") - inversion complete
   ===================================================================== */

.lbf-root[data-theme="dark"] {
  --lbf-d-bg: #FFFFFF;
  --lbf-d-surface: #FAFAF7;
  --lbf-d-surface-2: #F4F2EC;
  --lbf-d-surface-3: #FAFAF7;
  --lbf-d-text: #16151F;
  --lbf-d-text-dim: rgba(22, 21, 31, 0.62);
  --lbf-d-text-muted: rgba(22, 21, 31, 0.42);
  --lbf-d-border: rgba(22, 21, 31, 0.08);
  --lbf-d-border-2: rgba(22, 21, 31, 0.14);

  --lbf-l-bg: #16151F;
  --lbf-l-surface: #1C1B27;
  --lbf-l-surface-2: #222131;
  --lbf-l-text: #F0EDE8;
  --lbf-l-text-dim: rgba(240, 237, 232, 0.62);
  --lbf-l-text-muted: rgba(240, 237, 232, 0.45);
  --lbf-l-border: rgba(240, 237, 232, 0.07);
  --lbf-l-border-2: rgba(240, 237, 232, 0.12);

  color: var(--lbf-l-text);
  background: var(--lbf-l-bg);
}

/* =====================================================================
   THEME : FULL WHITE (data-theme="all-light") - tout en clair
   ===================================================================== */

.lbf-root[data-theme="all-light"] {
  --lbf-d-bg: #FFFFFF;
  --lbf-d-surface: #FAFAF7;
  --lbf-d-surface-2: #F4F2EC;
  --lbf-d-surface-3: #FAFAF7;
  --lbf-d-text: #16151F;
  --lbf-d-text-dim: rgba(22, 21, 31, 0.62);
  --lbf-d-text-muted: rgba(22, 21, 31, 0.42);
  --lbf-d-border: rgba(22, 21, 31, 0.08);
  --lbf-d-border-2: rgba(22, 21, 31, 0.14);
}

/* =====================================================================
   THEME : DARK MODE OS (preference systeme, optionnel)
   Active uniquement si .lbf-root porte la classe .lbf-auto-theme
   ===================================================================== */

@media (prefers-color-scheme: dark) {
  .lbf-root.lbf-auto-theme:not([data-theme]) {
    --lbf-l-bg: #16151F;
    --lbf-l-surface: #1C1B27;
    --lbf-l-surface-2: #222131;
    --lbf-l-text: #F0EDE8;
    --lbf-l-text-dim: rgba(240, 237, 232, 0.62);
    --lbf-l-text-muted: rgba(240, 237, 232, 0.45);
    --lbf-l-border: rgba(240, 237, 232, 0.07);
    --lbf-l-border-2: rgba(240, 237, 232, 0.14);

    color: var(--lbf-l-text);
    background: var(--lbf-l-bg);
  }
}

/* ===================== Fin lbf-design-system.css ===================== */
