/* ============================================================
   LangastoreCreation — Design Tokens System (v4.0)
   ============================================================ */

:root {
  color-scheme: light;

  /* Color Palette - Indigo & Emerald SaaS Theme */
  --color-primary: #6366f1;
  --color-primary-hover: #4f46e5;
  --color-primary-light: rgba(99, 102, 241, 0.1);
  --color-secondary: #818cf8;
  --color-cta: #10b981;
  --color-cta-hover: #059669;
  --color-cta-light: rgba(16, 185, 129, 0.1);

  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-alt: #f1f5f9;
  --color-surface-glass: rgba(255, 255, 255, 0.85);

  --color-text: #0f172a;
  --color-text-secondary: #334155;
  --color-muted: #64748b;
  --color-border: #e2e8f0;

  --color-success: #10b981;
  --color-success-bg: rgba(16, 185, 129, 0.12);
  --color-warning: #f59e0b;
  --color-warning-bg: rgba(245, 158, 11, 0.12);
  --color-error: #ef4444;
  --color-error-bg: rgba(239, 68, 68, 0.12);
  --color-info: #06b6d4;
  --color-info-bg: rgba(6, 182, 212, 0.12);

  /* Charte Officielle LangastoreCreation */
  --color-noir-profond: #0b0f19;
  --color-or-solaire: #ffd700;
  --color-blanc-lunaire: #f5f5f5;
  --color-violet-mystique: #7e57c2;
  --color-bleu-cosmique: #1a237e;

  /* Spacing Grid */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
  --shadow-glass: 0 12px 36px rgba(99, 102, 241, 0.08);

  /* Layout & Navigation Aliases */
  --nav-height: 72px;
  --container-max: 1280px;
  --bg-nav: var(--color-surface-glass);
  --bg-nav-scrolled: rgba(255, 255, 255, 0.95);
  --border-subtle: var(--color-border);
  --shadow-nav: var(--shadow-glass);

  /* Semantic Aliases */
  --text-primary: var(--color-text);
  --text-secondary: var(--color-text-secondary);
  --text-muted: var(--color-muted);
  --bg-page: var(--color-bg);
  --bg-card: var(--color-surface);

  /* Transitions Aliases */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-standard: 200ms;
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}
/* ============================================================
   LangastoreCreation — Theme System (Light & Dark Modes)
   ============================================================ */

[data-theme="dark"] {
  color-scheme: dark;

  --color-bg: #0b0f19;
  --color-surface: #151d2a;
  --color-surface-alt: #1e293b;
  --color-surface-glass: rgba(21, 29, 42, 0.85);

  --color-text: #f8fafc;
  --color-text-secondary: #cbd5e1;
  --color-muted: #94a3b8;
  --color-border: #334155;

  --color-primary: #818cf8;
  --color-primary-hover: #6366f1;
  --color-primary-light: rgba(129, 140, 248, 0.15);

  --color-cta: #34d399;
  --color-cta-hover: #10b981;
  --color-cta-light: rgba(52, 211, 153, 0.15);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-glass: 0 12px 36px rgba(0, 0, 0, 0.4);

  --bg-nav: var(--color-surface-glass);
  --bg-nav-scrolled: rgba(21, 29, 42, 0.95);
  --border-subtle: var(--color-border);
  --shadow-nav: 0 12px 36px rgba(0, 0, 0, 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;

    --color-bg: #0b0f19;
    --color-surface: #151d2a;
    --color-surface-alt: #1e293b;
    --color-surface-glass: rgba(21, 29, 42, 0.85);

    --color-text: #f8fafc;
    --color-text-secondary: #cbd5e1;
    --color-muted: #94a3b8;
    --color-border: #334155;

    --color-primary: #818cf8;
    --color-primary-hover: #6366f1;
    --color-primary-light: rgba(129, 140, 248, 0.15);

    --color-cta: #34d399;
    --color-cta-hover: #10b981;
    --color-cta-light: rgba(52, 211, 153, 0.15);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
    --shadow-glass: 0 12px 36px rgba(0, 0, 0, 0.4);

    --bg-nav: var(--color-surface-glass);
    --bg-nav-scrolled: rgba(21, 29, 42, 0.95);
    --border-subtle: var(--color-border);
    --shadow-nav: 0 12px 36px rgba(0, 0, 0, 0.5);
  }
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  transition: background-color var(--transition-normal), color var(--transition-normal);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}
/* ============================================================
   LangastoreCreation — Reusable UI Components System
   ============================================================ */

/* --- 1. CARDS & GLASSCARDS --- */
.lsc-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-lg);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.lsc-card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
}

.lsc-glass-card {
  background: var(--color-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glass);
}

/* --- 2. STATISTIC & DASHBOARD CARDS --- */
.lsc-stat-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
}

.lsc-stat-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  flex-shrink: 0;
}

.lsc-stat-card__content {
  flex-grow: 1;
}

.lsc-stat-card__value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.lsc-stat-card__label {
  font-size: 0.875rem;
  color: var(--color-muted);
  font-weight: 500;
}

.lsc-stat-card__trend {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.lsc-stat-card__trend--up {
  background-color: var(--color-success-bg);
  color: var(--color-success);
}

/* --- 3. COURSE CARD --- */
.lsc-course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.lsc-course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.lsc-course-card__image-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: var(--color-surface-alt);
}

.lsc-course-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.lsc-course-card:hover .lsc-course-card__image-wrap img {
  transform: scale(1.05);
}

.lsc-course-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.lsc-course-card__body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.lsc-course-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
  line-height: 1.3;
}

.lsc-course-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.825rem;
  color: var(--color-muted);
  margin-bottom: var(--space-md);
}

.lsc-course-card__footer {
  margin-top: auto;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lsc-course-card__price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* --- 4. PRODUCT CARD --- */
.lsc-product-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.lsc-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.lsc-product-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.lsc-product-card__price--old {
  text-decoration: line-through;
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-right: 6px;
}

/* --- 5. AVATAR --- */
.lsc-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.lsc-avatar--lg {
  width: 56px;
  height: 56px;
  font-size: 1.25rem;
}

.lsc-avatar--sm {
  width: 32px;
  height: 32px;
  font-size: 0.8rem;
}

/* --- 6. BADGES --- */
.lsc-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  text-transform: capitalize;
}

.lsc-badge--primary { background: var(--color-primary-light); color: var(--color-primary); }
.lsc-badge--success { background: var(--color-success-bg); color: var(--color-success); }
.lsc-badge--warning { background: var(--color-warning-bg); color: var(--color-warning); }
.lsc-badge--error { background: var(--color-error-bg); color: var(--color-error); }
.lsc-badge--info { background: var(--color-info-bg); color: var(--color-info); }

/* --- 7. TOAST NOTIFICATIONS --- */
.lsc-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1090;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --- 8. EMPTY STATE & NO DATA --- */
.lsc-empty-state {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background-color: var(--color-surface-alt);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--color-border);
}

.lsc-empty-state__icon {
  font-size: 3rem;
  color: var(--color-muted);
  margin-bottom: var(--space-md);
}

.lsc-empty-state__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.lsc-empty-state__desc {
  color: var(--color-muted);
  font-size: 0.9rem;
  max-width: 400px;
  margin: 0 auto var(--space-md) auto;
}

/* --- 9. SKELETON LOADER --- */
.lsc-skeleton {
  background: linear-gradient(90deg, var(--color-surface-alt) 25%, var(--color-border) 37%, var(--color-surface-alt) 63%);
  background-size: 400% 100%;
  animation: lsc-skeleton-loading 1.4s ease infinite;
  border-radius: var(--radius-sm);
}

@keyframes lsc-skeleton-loading {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

/* --- 10. UPLOAD AREA --- */
.lsc-upload-area {
  border: 2px dashed var(--color-primary-light);
  background-color: var(--color-surface-alt);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.lsc-upload-area:hover {
  border-color: var(--color-primary);
  background-color: var(--color-primary-light);
}

/* --- 11. DATA TABLE --- */
.lsc-table-wrap {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.lsc-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.lsc-table th {
  background-color: var(--color-surface-alt);
  padding: var(--space-md);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-border);
}

.lsc-table td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
  color: var(--color-text);
}

.lsc-table tr:last-child td {
  border-bottom: none;
}

.lsc-table tr:hover td {
  background-color: var(--color-surface-alt);
}

/* --- 12. BUTTONS SYSTEM & 7-STATE MATRIX (.lsc-btn) --- */
.lsc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 48px;
  padding: 0 var(--space-lg);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.lsc-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.lsc-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--color-primary-light), 0 0 0 1px var(--color-primary);
}

.lsc-btn:active {
  transform: scale(0.98);
  box-shadow: var(--shadow-sm);
}

.lsc-btn:disabled,
.lsc-btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.lsc-btn--primary {
  background-color: var(--color-primary);
  color: #ffffff;
}
.lsc-btn--primary:hover {
  background-color: var(--color-primary-hover);
}

.lsc-btn--cta {
  background-color: var(--color-cta);
  color: #ffffff;
}
.lsc-btn--cta:hover {
  background-color: var(--color-cta-hover);
}

.lsc-btn--secondary {
  background-color: var(--color-surface-alt);
  color: var(--color-text);
  border-color: var(--color-border);
}
.lsc-btn--secondary:hover {
  background-color: var(--color-surface);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.lsc-btn--outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.lsc-btn--outline:hover {
  background-color: var(--color-primary-light);
}

.lsc-btn--ghost {
  background-color: transparent;
  color: var(--color-text-secondary);
}
.lsc-btn--ghost:hover {
  background-color: var(--color-surface-alt);
  color: var(--color-primary);
}

.lsc-btn--sm {
  min-height: 38px;
  padding: 0 var(--space-md);
  font-size: 0.85rem;
}

.lsc-btn--lg {
  min-height: 56px;
  padding: 0 var(--space-xl);
  font-size: 1.05rem;
}

.lsc-btn--loading {
  position: relative;
  pointer-events: none;
  color: transparent !important;
}
.lsc-btn--loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: lsc-spin 0.75s linear infinite;
  color: #ffffff;
}

@keyframes lsc-spin {
  to { transform: rotate(360deg); }
}

/* --- 13. FORM INPUTS & MATRIX STATES (.lsc-input) --- */
.lsc-input,
.lsc-select,
.lsc-textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 var(--space-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.lsc-textarea {
  min-height: 120px;
  padding: var(--space-md);
  resize: vertical;
}

.lsc-input:hover,
.lsc-select:hover,
.lsc-textarea:hover {
  border-color: var(--color-primary-hover);
}

.lsc-input:focus,
.lsc-select:focus,
.lsc-textarea:focus,
.lsc-input:focus-visible,
.lsc-select:focus-visible,
.lsc-textarea:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.lsc-input:disabled,
.lsc-select:disabled,
.lsc-textarea:disabled {
  background-color: var(--color-surface-alt);
  color: var(--color-muted);
  cursor: not-allowed;
  opacity: 0.7;
}

.lsc-input.is-invalid,
.lsc-select.is-invalid,
.lsc-textarea.is-invalid {
  border-color: var(--color-error) !important;
  box-shadow: 0 0 0 3px var(--color-error-bg) !important;
}

.lsc-input.is-valid,
.lsc-select.is-valid,
.lsc-textarea.is-valid {
  border-color: var(--color-success) !important;
  box-shadow: 0 0 0 3px var(--color-success-bg) !important;
}

/* --- 14. MODALS & DRAWERS --- */
.lsc-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  animation: lsc-fade-in 0.3s ease forwards;
}

.lsc-modal {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: lsc-slide-up 0.3s ease forwards;
  overflow: hidden;
}

.lsc-modal__header {
  padding: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lsc-modal__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.lsc-modal__body {
  padding: var(--space-lg);
  overflow-y: auto;
}

.lsc-modal__footer {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: flex-end;
  gap: var(--space-md);
}

.lsc-modal-backdrop.is-leaving {
  animation: lsc-fade-out 0.3s ease forwards;
}
.lsc-modal-backdrop.is-leaving .lsc-modal {
  animation: lsc-slide-down 0.3s ease forwards;
}

@keyframes lsc-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes lsc-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes lsc-slide-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes lsc-slide-down { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(20px); } }
/* ============================================================
   LangastoreCreation — Utility Classes
   ============================================================ */

/* --- Spacing Utilities --- */
.m-xs { margin: var(--space-xs) !important; }
.m-sm { margin: var(--space-sm) !important; }
.m-md { margin: var(--space-md) !important; }
.m-lg { margin: var(--space-lg) !important; }
.m-xl { margin: var(--space-xl) !important; }

.mb-xs { margin-bottom: var(--space-xs) !important; }
.mb-sm { margin-bottom: var(--space-sm) !important; }
.mb-md { margin-bottom: var(--space-md) !important; }
.mb-lg { margin-bottom: var(--space-lg) !important; }
.mb-xl { margin-bottom: var(--space-xl) !important; }
.mb-2xl { margin-bottom: var(--space-2xl) !important; }

.p-xs { padding: var(--space-xs) !important; }
.p-sm { padding: var(--space-sm) !important; }
.p-md { padding: var(--space-md) !important; }
.p-lg { padding: var(--space-lg) !important; }
.p-xl { padding: var(--space-xl) !important; }

/* --- Layout & Flex Utilities --- */
.lsc-flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lsc-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lsc-gap-sm { gap: var(--space-sm) !important; }
.lsc-gap-md { gap: var(--space-md) !important; }
.lsc-gap-lg { gap: var(--space-lg) !important; }

/* --- Accessibility & Focus Ring --- */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:focus-visible {
  outline: 2px solid var(--color-primary) !important;
  outline-offset: 2px !important;
}

.cursor-pointer {
  cursor: pointer !important;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-cta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Colors & Backgrounds --- */
.bg-surface { background-color: var(--color-surface) !important; }
.bg-surface-alt { background-color: var(--color-surface-alt) !important; }
.text-surface { color: var(--color-surface) !important; }
.text-muted { color: var(--color-muted) !important; }
.text-primary { color: var(--color-primary) !important; }
.text-cta { color: var(--color-cta) !important; }
.border-surface { border-color: var(--color-border) !important; }
.max-w-container { max-width: var(--container-max) !important; }

.text-truncate-2 {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
/* ============================================================
   LangastoreCreation — Lightweight Animations (150ms - 250ms)
   ============================================================ */

.fade-in {
  animation: lsc-fade-in var(--transition-normal) ease-in-out forwards;
}

.slide-up {
  animation: lsc-slide-up var(--transition-slow) cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hover-lift {
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hover-lift:hover {
  transform: translateY(-3px);
}

@keyframes lsc-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lsc-slide-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Accessibility: Respect Reduced Motion Settings */
@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--bg-nav);
  border-bottom: 1px solid transparent;
  transition: background-color var(--duration-standard) var(--ease-smooth),
    border-color var(--duration-standard) var(--ease-smooth),
    box-shadow var(--duration-standard) var(--ease-smooth);
}

.site-header.is-scrolled {
  background: var(--bg-nav-scrolled);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-nav);
}

.site-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.site-header__logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  min-width: 140px;
  height: 56px;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.site-header__logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-header__brand-copy {
  display: grid;
  gap: 2px;
}

.site-header__brand-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
}

.site-header__brand-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

.site-header__nav {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.site-header__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  transition: color var(--duration-fast) var(--ease-smooth),
    background-color var(--duration-fast) var(--ease-smooth);
}

.site-header__link:hover,
.site-header__link.is-active {
  color: var(--color-primary);
  background: rgba(37, 99, 235, 0.08);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.site-header__logo-img {
  height: 36px;
}

.site-header__search .input-group {
  width: 240px;
}

.site-header__theme,
.site-header__menu {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--border-default);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--text-primary);
  transition: transform var(--duration-fast) var(--ease-smooth),
    border-color var(--duration-fast) var(--ease-smooth),
    background-color var(--duration-fast) var(--ease-smooth);
}

.site-header__theme:hover,
.site-header__menu:hover {
  transform: translateY(-1px);
  border-color: var(--color-primary);
  background: rgba(37, 99, 235, 0.06);
}

.site-header__theme svg,
.site-header__menu svg {
  width: 18px;
  height: 18px;
}

.site-header__auth {
  display: none;
  align-items: center;
  gap: 10px;
}

.site-header__user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px 0 10px;
  border-radius: 999px;
  border: 1px solid var(--border-default);
  background: rgba(255, 255, 255, 0.72);
}

.site-header__avatar {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.site-header__user span:last-child {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.site-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
}

.site-mobile-menu.is-open {
  display: block;
}

.site-mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
}

.site-mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(90vw, 360px);
  height: 100%;
  padding: 24px;
  background: var(--bg-card);
  border-left: 1px solid var(--border-subtle);
  box-shadow: -24px 0 60px rgba(15, 23, 42, 0.22);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 24px;
}

.site-mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-mobile-menu__title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
}

.site-mobile-menu__close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-default);
  border-radius: 12px;
  background: transparent;
  color: var(--text-primary);
}

.site-mobile-menu__links,
.site-mobile-menu__auth {
  display: grid;
  gap: 10px;
}

.site-mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  background: var(--color-surface-alt);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 700;
}

.site-mobile-menu__link.is-active {
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-primary);
}

.site-mobile-menu__muted {
  font-size: 13px;
  color: var(--text-muted);
}

.site-mobile-menu__lang {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.site-mobile-menu__lang a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
}

.site-mobile-menu__lang a.is-active {
  color: var(--color-primary);
  border-color: rgba(37, 99, 235, 0.3);
  background: rgba(37, 99, 235, 0.08);
}

.site-main {
  overflow: clip;
}

.section-shell {
  padding: 88px 0;
}

.section-shell--compact {
  padding: 72px 0;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin-top: 18px;
  font-size: clamp(32px, 5vw, 52px);
}

.section-heading p {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.7;
}

.hero-spotlight {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 116px 0 84px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6, 17, 31, 0.9), rgba(15, 23, 42, 0.82)),
    radial-gradient(circle at top left, rgba(45, 212, 191, 0.3), transparent 32%),
    url("../images/banner.png") center/cover no-repeat;
}

.hero-spotlight::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(6, 17, 31, 0), rgba(6, 17, 31, 0.72));
  pointer-events: none;
}

.hero-spotlight__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-spotlight__grid {
  display: grid;
  gap: 28px;
}

.hero-spotlight__content {
  max-width: 760px;
}

.hero-spotlight__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-spotlight h1 {
  margin-top: 22px;
  font-size: clamp(42px, 8vw, 76px);
  line-height: 1.02;
  color: #fff;
}

.hero-spotlight p {
  max-width: 640px;
  margin-top: 22px;
  font-size: 19px;
  line-height: 1.75;
  color: rgba(226, 232, 240, 0.92);
}

.hero-spotlight__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-benefit-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.benefit-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.hero-spotlight__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.hero-stat {
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.hero-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
}

.hero-stat span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: rgba(226, 232, 240, 0.8);
}

.hero-spotlight__preview {
  display: grid;
  gap: 16px;
  margin-top: 44px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-preview-card {
  min-height: 158px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.hero-preview-card__icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
}

.hero-preview-card__icon svg {
  width: 20px;
  height: 20px;
}

.hero-preview-card h3 {
  margin-top: 18px;
  color: #fff;
  font-size: 18px;
}

.hero-preview-card p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.82);
}

.feature-grid,
.value-grid,
.footer-grid {
  display: grid;
  gap: 24px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.value-card,
.contact-band,
.auth-card-premium,
.trust-band {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--gradient-card);
  box-shadow: var(--shadow-card);
}

.feature-card,
.value-card {
  border-radius: 22px;
  padding: 28px;
}

.feature-card::before,
.value-card::before,
.contact-band::before,
.auth-card-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(20, 184, 166, 0.02));
  opacity: 0;
  transition: opacity var(--duration-standard) var(--ease-smooth);
  pointer-events: none;
}

.feature-card:hover::before,
.value-card:hover::before,
.contact-band:hover::before,
.auth-card-premium:hover::before {
  opacity: 1;
}

.feature-card:hover,
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.feature-card__icon,
.value-card__icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.09);
  color: var(--color-primary);
}

.feature-card__icon svg,
.value-card__icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3,
.value-card h3 {
  margin-top: 22px;
  font-size: 22px;
}

.feature-card p,
.value-card p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.75;
}

.value-grid {
  grid-template-columns: 1.2fr 1fr;
}

.value-stack {
  display: grid;
  gap: 24px;
}

.trust-band {
  border-radius: 28px;
  padding: 28px;
  display: grid;
  gap: 18px;
}

.trust-band__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-band__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
}

.trust-band__logos {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--color-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
}

.contact-band {
  border-radius: 28px;
  padding: 40px;
  display: grid;
  gap: 24px;
}

.contact-band__meta {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-band__item {
  padding: 18px;
  border-radius: 18px;
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.08);
}

.contact-band__item strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
}

.contact-band__item span,
.contact-band__item a {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  color: var(--text-secondary);
}

.site-footer {
  margin-top: 0;
  background: #0b1220;
  color: #d4deed;
  border-top: 0;
}

.site-footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 72px 40px 28px;
}

.site-footer__top {
  display: grid;
  gap: 32px;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
}

@media (max-width: 1023px) {
  .site-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .site-footer__top {
    grid-template-columns: 1fr;
  }
}

.footer-highlight-link {
  color: var(--color-primary) !important;
  font-weight: 700 !important;
}

.footer-store-loc {
  font-size: 13px !important;
  color: #8aa0bf !important;
}

.site-footer__banner-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #8aa0bf;
  flex-wrap: wrap;
}

.dot-separator {
  opacity: 0.5;
}

.site-footer__brand {
  max-width: 380px;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.site-footer__logo-box {
  width: 132px;
  height: 54px;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
}

.site-footer__logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-footer__logo-copy strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.site-footer__logo-copy span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #8aa0bf;
}

.site-footer__brand p {
  margin-top: 20px;
  color: #aab9cf;
  font-size: 15px;
  line-height: 1.8;
}

.site-footer__title {
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.site-footer__links {
  display: grid;
  gap: 12px;
}

.site-footer__links a,
.site-footer__links span {
  color: #aab9cf;
  font-size: 14px;
  line-height: 1.7;
}

.site-footer__links a:hover {
  color: #fff;
}

.site-footer__socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.site-footer__social {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(138, 160, 191, 0.22);
  color: #d4deed;
}

.site-footer__social:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.site-footer__social svg {
  width: 18px;
  height: 18px;
}

.site-footer__bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(138, 160, 191, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer__bottom p,
.site-footer__bottom a {
  font-size: 13px;
  color: #8aa0bf;
}

.site-footer__langs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.site-footer__langs a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(138, 160, 191, 0.18);
}

.site-footer__langs a.is-active,
.site-footer__langs a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.auth-page {
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 30%),
    radial-gradient(circle at bottom right, rgba(20, 184, 166, 0.14), transparent 28%),
    linear-gradient(180deg, #f7f9fd, #eef4fb);
}

.auth-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.35;
  pointer-events: none;
}

.auth-container {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.auth-card-premium {
  border-radius: 28px;
  padding: 36px;
}

.auth-card-premium > * {
  position: relative;
  z-index: 1;
}

.auth-logo-wrapper {
  justify-content: flex-start;
  margin-bottom: 26px;
}

.auth-logo-circle {
  width: 132px;
  height: 56px;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.auth-logo-circle:hover {
  transform: translateY(-1px);
}

.auth-header-modern {
  text-align: left;
  margin-bottom: 28px;
}

.auth-header-modern h1 {
  font-size: clamp(32px, 5vw, 42px);
  margin-bottom: 10px;
}

.auth-header-modern p {
  font-size: 15px;
  line-height: 1.75;
}

.auth-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 14px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-form-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: -8px;
  margin-bottom: 24px;
}

.auth-helper-text {
  font-size: 13px;
  color: var(--text-muted);
}

.auth-input-shell {
  position: relative;
}

.auth-input-shell .form-input-premium {
  padding-left: 52px;
  background: rgba(243, 246, 251, 0.9);
  border-width: 1px;
}

.auth-input-shell .form-input-premium:focus,
.auth-input-shell .form-input-premium:focus-visible {
  box-shadow: var(--shadow-input-focus);
}

.auth-input-shell .form-input-premium:invalid:not(:placeholder-shown) {
  border-color: rgba(220, 38, 38, 0.35);
}

.auth-input-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.auth-input-shell:focus-within .auth-input-icon {
  color: var(--color-primary);
}

.password-header {
  margin-bottom: 10px;
}

.forgot-link {
  font-size: 13px;
}

.checkbox-group {
  margin-bottom: 22px;
}

.checkbox-input {
  accent-color: var(--color-primary);
}

.checkbox-label {
  line-height: 1.6;
}

.btn-premium {
  background: linear-gradient(135deg, var(--color-primary), #4f7fff);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.2);
}

.btn-premium:hover {
  background: linear-gradient(135deg, var(--color-primary-hover), var(--color-primary));
  box-shadow: 0 20px 36px rgba(37, 99, 235, 0.24);
}

.auth-footer-modern {
  text-align: left;
  margin-top: 26px;
}

.alert-modern {
  border-radius: 16px;
}

.role-grid {
  gap: 14px;
}

.role-selector {
  display: block;
  padding: 16px;
  text-align: left;
  background: rgba(243, 246, 251, 0.92);
}

.role-selector strong {
  display: block;
  font-size: 15px;
  color: var(--text-primary);
}

.role-selector span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.strength-container {
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
}

.loading-text {
  font-weight: 600;
}

[data-theme="dark"] .site-header__logo-wrap,
[data-theme="dark"] .site-header__theme,
[data-theme="dark"] .site-header__menu,
[data-theme="dark"] .site-header__user,
[data-theme="dark"] .auth-logo-circle {
  background: rgba(15, 23, 42, 0.84);
  border-color: rgba(148, 163, 184, 0.18);
}

[data-theme="dark"] .site-header__logo-wrap img,
[data-theme="dark"] .auth-logo-circle img,
[data-theme="dark"] .site-footer__logo-box img {
  filter: brightness(1.08);
}

[data-theme="dark"] .auth-page {
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(45, 212, 191, 0.18), transparent 28%),
    linear-gradient(180deg, #06111f, #091628);
}

[data-theme="dark"] .auth-page::before {
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
}

[data-theme="dark"] .hero-spotlight {
  background:
    linear-gradient(135deg, rgba(2, 6, 23, 0.9), rgba(6, 17, 31, 0.82)),
    radial-gradient(circle at top left, rgba(45, 212, 191, 0.22), transparent 32%),
    url("../images/banner.png") center/cover no-repeat;
}

@media (min-width: 1100px) {
  .site-header__nav,
  .site-header__auth {
    display: flex;
  }

  .site-header__actions {
    margin-left: 0;
  }

  .site-header__menu {
    display: none;
  }
}

@media (max-width: 1099px) {
  .site-header__inner {
    padding: 14px 20px;
  }

  .site-header__brand-subtitle {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero-spotlight__preview,
  .feature-grid,
  .contact-band__meta,
  .site-footer__top,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .hero-spotlight__stats {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .contact-band {
    padding: 28px;
  }
}

@media (max-width: 640px) {
  .site-header__inner,
  .site-footer__inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-shell {
    padding: 68px 0;
  }

  .hero-spotlight {
    min-height: auto;
    padding: 108px 0 72px;
  }

  .hero-spotlight h1 {
    font-size: 42px;
  }

  .hero-spotlight p {
    font-size: 17px;
  }

  .hero-spotlight__actions,
  .trust-band__row,
  .site-footer__bottom,
  .auth-form-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .site-header__logo-wrap,
  .auth-logo-circle,
  .site-footer__logo-box {
    width: 116px;
    min-width: 116px;
    height: 50px;
  }

  .site-header__brand-title {
    font-size: 14px;
  }

  .auth-card-premium {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .role-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header__theme,
  .site-header__menu,
  .feature-card,
  .value-card,
  .btn,
  .btn-premium,
  .auth-container {
    transition: none !important;
    animation: none !important;
  }
}

/* ============================================================
   Boutique & Points de Vente (Sprint 3)
   ============================================================ */

.store-selector-section {
  margin-bottom: 32px;
}

.store-selector-header {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.store-selector-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
}

.store-pills-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.store-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-default);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
  transition: all var(--duration-fast) var(--ease-smooth);
}

.store-pill:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(37, 99, 235, 0.06);
}

.store-pill.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-btn);
}

.store-pill-currency {
  font-size: 12px;
  opacity: 0.8;
}

.store-info-banner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-card-tinted);
  border: 1px solid var(--border-subtle);
  margin-top: 16px;
}

@media (max-width: 768px) {
  .store-info-banner {
    grid-template-columns: 1fr;
    padding: 16px;
  }
}

.store-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.store-info-icon {
  font-size: 20px;
  line-height: 1;
}

.store-info-item strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.store-info-item span,
.store-info-item a {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 600;
}

.store-info-item a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Category Filter Pills */
.shop-categories-section {
  margin-bottom: 36px;
}

.category-pills-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--duration-fast) var(--ease-smooth);
}

.category-pill:hover,
.category-pill.is-active {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(37, 99, 235, 0.08);
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

@media (max-width: 1023px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--duration-standard) var(--ease-smooth),
              box-shadow var(--duration-standard) var(--ease-smooth);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.product-card__image-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-card-tinted);
}

.product-card__image-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-emphasis) var(--ease-smooth);
}

.product-card:hover .product-card__image-shell img {
  transform: scale(1.05);
}

.product-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(20, 184, 166, 0.1));
}

.product-card__placeholder svg {
  width: 36px;
  height: 36px;
}

.product-card__category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.35;
}

.product-card__description {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.product-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.product-card__price-tag {
  display: inline-flex;
  flex-direction: column;
}

.product-card__price-tag .price-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.product-card__cta {
  min-height: 42px;
}
/* ============================================================
   LangastoreCreation — Main Styles
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background-color: var(--bg-page);
  transition: background-color var(--duration-standard) var(--ease-smooth),
    color var(--duration-standard) var(--ease-smooth);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--color-text);
  line-height: var(--leading-tight);
}

p {
  margin: 0;
  color: var(--color-text-secondary);
}

.text-muted { color: var(--color-muted); }
.text-center { text-align: center; }

.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;
}

.grid { display: grid; gap: 24px; }
.grid-2,
.grid-3,
.grid-4 { grid-template-columns: 1fr; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

@media (min-width: 640px) and (max-width: 1023px) {
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--duration-standard) var(--ease-smooth),
    transform var(--duration-standard) var(--ease-smooth);
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.card__body { padding: 24px; }
.card__footer { padding: 0 24px 24px; }

.badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge--primary,
.badge-primary { background: var(--color-primary); color: #FFFFFF; }
.badge--success,
.badge-success { background: var(--color-success-bg); color: var(--color-success); }
.badge--warning { background: var(--color-warning-bg); color: var(--color-warning); }
.badge--muted { background: var(--color-surface-alt); color: var(--color-muted); }
.badge--locked { background: var(--color-surface-alt); color: var(--color-muted); }

.form-group { margin-bottom: 20px; }

.form-label,
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.form-control,
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-alt);
  color: var(--color-text);
  transition: border-color var(--duration-fast) var(--ease-smooth),
    box-shadow var(--duration-fast) var(--ease-smooth),
    background-color var(--duration-fast) var(--ease-smooth);
}

.form-textarea,
textarea.form-control {
  min-height: 140px;
  padding: 16px;
  resize: vertical;
}

.form-control:focus,
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-input-focus);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background-color var(--duration-standard) var(--ease-smooth),
    border-color var(--duration-standard) var(--ease-smooth),
    color var(--duration-standard) var(--ease-smooth),
    box-shadow var(--duration-standard) var(--ease-smooth),
    transform var(--duration-standard) var(--ease-smooth);
}

.btn:hover { transform: translateY(-1px); }

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(184, 92, 56, 0.18);
}

.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; border-radius: var(--radius-md); }
.btn--lg { min-height: 56px; padding: 0 32px; }
.btn--full,
.btn-block { width: 100%; }

.btn--primary,
.btn-primary {
  background: var(--color-primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-btn);
}

.btn--primary:hover,
.btn-primary:hover { background: var(--color-primary-hover); }

.btn--secondary,
.btn-secondary {
  background: var(--color-surface-alt);
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn--secondary:hover,
.btn-secondary:hover {
  background: rgba(184, 92, 56, 0.08);
  border-color: var(--color-primary);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-secondary);
  border-color: var(--color-border);
}

.btn--ghost:hover {
  color: var(--color-primary);
  background: rgba(184, 92, 56, 0.06);
}

.btn--accent {
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  color: #FFFFFF;
}

.btn--danger {
  background: var(--btn-danger-bg);
  color: var(--btn-danger-text);
}

.btn-pill { border-radius: var(--radius-pill); }

.progress-bar {
  height: 8px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--color-surface-alt);
}

.progress-bar__fill {
  height: 100%;
  width: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transition: width var(--duration-emphasis) var(--ease-smooth);
}

.page-shell { padding: 32px 0 64px; }
.page-header { margin-bottom: 32px; }
.page-header__title { color: var(--color-text); }
.page-header__subtitle { margin-top: 8px; color: var(--color-muted); font-size: 16px; }
.stack { display: grid; gap: 24px; }
.surface-muted { background: var(--color-surface-alt); }
.bordered { border: 1px solid var(--color-border); }
.link-primary { color: var(--color-primary); font-weight: 700; }
.link-primary:hover { color: var(--color-primary-hover); }

.footer__text {
  max-width: 240px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.footer__note {
  font-size: 12px;
  opacity: 0.5;
}

/* ============================================================
   GODMODE Auth Styles
   ============================================================ */

.auth-page {
  display: flex;
  min-height: 100vh;
  background: radial-gradient(circle at top right, var(--color-surface-alt), var(--bg-page));
  padding: 40px 20px;
  align-items: center;
  justify-content: center;
}

.auth-container {
  width: 100%;
  max-width: 480px;
  animation: authSlideUp 0.6s var(--ease-smooth);
}

@keyframes authSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-card-premium {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-modal);
}

.auth-logo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.auth-logo-circle {
  width: 80px;
  height: 80px;
  background: white; /* Fond blanc demandé par l'utilisateur */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.06);
  transition: transform var(--duration-standard) var(--ease-smooth);
}

.auth-logo-circle:hover {
  transform: scale(1.05) rotate(5deg);
}

.auth-logo-circle img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.auth-header-modern {
  text-align: center;
  margin-bottom: 32px;
}

.auth-header-modern h1 {
  font-size: 32px;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.auth-header-modern p {
  font-size: 16px;
  color: var(--text-muted);
}

.form-group-premium {
  margin-bottom: 24px;
}

.form-label-premium {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.form-input-premium {
  width: 100%;
  height: 56px;
  padding: 0 20px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-subtle);
  background: var(--bg-card-tinted);
  color: var(--text-primary);
  font-size: 16px;
  transition: all var(--duration-fast) var(--ease-smooth);
}

.form-input-premium:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--bg-card);
  box-shadow: 0 0 0 4px rgba(184, 92, 56, 0.1);
}

.btn-premium {
  width: 100%;
  height: 56px;
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all var(--duration-standard) var(--ease-smooth);
  box-shadow: 0 10px 20px rgba(184, 92, 56, 0.2);
}

.btn-premium:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(184, 92, 56, 0.3);
}

.auth-footer-modern {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-muted);
}

.auth-footer-modern a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.auth-footer-modern a:hover {
  text-decoration: underline;
}

.alert-modern {
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-size: 14px;
  display: none;
}

.alert-modern.visible {
  display: block;
}

.alert-modern--error {
  background: rgba(184, 50, 50, 0.1);
  color: var(--color-error);
  border: 1px solid rgba(184, 50, 50, 0.2);
}

.alert-modern--success {
  background: rgba(58, 125, 68, 0.1);
  color: var(--color-success);
  border: 1px solid rgba(58, 125, 68, 0.2);
}

/* Sélecteurs de rôle (Incription) */
input[type="radio"].role-radio {
  display: none;
}

.role-selector {
  padding: 12px;
  text-align: center;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all var(--duration-standard) var(--ease-smooth);
  cursor: pointer;
}

input[type="radio"].role-radio:checked + .role-selector {
  border-color: var(--color-primary) !important;
  background: rgba(184, 92, 56, 0.05);
  color: var(--color-primary);
}

/* Nouvelles classes utilitaires (remplacement inline) */
.password-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.password-header label {
  margin-bottom: 0;
}

.forgot-link {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 600;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.checkbox-group--top {
  align-items: flex-start;
}

.checkbox-input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-input.mt-2 {
  margin-top: 2px;
}

.checkbox-label {
  font-size: 14px;
  cursor: pointer;
  color: var(--text-secondary);
}

.checkbox-label.sm {
  font-size: 13px;
}

.checkbox-label a {
  color: var(--color-primary);
  font-weight: 600;
}

.strength-container {
  height: 4px;
  background: var(--bg-card-tinted);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}

.strength-bar {
  height: 100%;
  width: 0;
  transition: width 0.3s ease, background 0.3s ease;
}

.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.loading-text {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.pass-match-badge {
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color var(--duration-fast) var(--ease-smooth);
}

.pass-match-badge.is-matching {
  color: var(--color-success);
}

.pass-match-badge.is-mismatch {
  color: var(--color-error);
}

.form-input-premium.is-valid-input {
  border-color: var(--color-success) !important;
  box-shadow: 0 0 0 3px var(--color-success-bg);
}

.form-input-premium.is-invalid-input {
  border-color: var(--color-error) !important;
  box-shadow: 0 0 0 3px var(--color-error-bg);
}
/* ===== MOBILE FIRST BASE ===== */
*, *::before, *::after { box-sizing: border-box; }

/* ── Conteneur centré global ──────────────────────────────────────────
   Utilisé dans toutes les pages de contenu (landing, courses, etc.).
   max-width aligné sur --container-max du design system.
   padding horizontal adaptatif (40px desktop, 16px mobile).
*/
.container {
  width: 100%;
  max-width: var(--container-max, 1240px);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 1023px) { .container { padding: 0 24px; } }
@media (max-width: 640px)  { .container { padding: 0 16px; } }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER PREMIUM — LangastoreCreation
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Structure :
   · .site-footer           : conteneur full-width, fond contrasté
   · .footer__inner         : grille 3 colonnes (brand | nav | contact)
   · .footer__brand         : col 1 — logo + tagline + réseaux sociaux
   · .footer__nav           : col 2 — liens navigation rapide
   · .footer__contact       : col 3 — email + liens légaux
   · .footer__bottom        : barre basse — copyright + langue
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Conteneur outer — fond légèrement différencié du body */
.site-footer {
  margin-top: 80px;
  background: var(--color-surface);
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

/* Grille interne : 3 colonnes sur desktop, 1 sur mobile */
.footer__inner {
  max-width: var(--container-max, 1240px);
  margin: 0 auto;
  padding: 60px 40px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
}

@media (max-width: 1023px) {
  .footer__inner { padding: 48px 24px 32px; }
}

@media (max-width: 767px) {
  /* Mobile : empilage vertical des colonnes */
  .footer__inner {
    grid-template-columns: 1fr;
    padding: 40px 16px 24px;
    gap: 32px;
  }
}

/* ── Colonne Brand ─────────────────────────────────────────────── */

/* Lien logo — inline-flex logo bubble + nom */
.footer__logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 16px;
}

/* Disque blanc autour du logo PNG transparent
   Même système que navbar et pages auth */
.footer__logo-bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #ffffff;
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
  flex-shrink: 0;
}

.footer__logo-bubble img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* Nom textuel du logo dans le footer */
.footer__logo-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

/* Tagline descriptif */
.footer__tagline {
  font-size: 14px;
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
  margin: 0 0 24px;
  max-width: 320px;
}

/* Réseaux sociaux — rangée de boutons iconiques */
.footer__socials {
  display: flex;
  gap: 10px;
}

/* Bouton social individuel */
.footer__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-smooth);
}

.footer__social-btn svg {
  width: 16px;
  height: 16px;
}

.footer__social-btn:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: rgba(164, 53, 240, 0.06);
  transform: translateY(-2px);
}

/* ── Colonnes Navigation & Contact ────────────────────────────── */

/* Titre de section */
.footer__nav-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin: 0 0 16px;
}

/* Liste de liens */
.footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Lien individuel */
.footer__nav-link {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.footer__nav-link:hover {
  color: var(--color-primary);
}

/* Lien email avec icône SVG inline */
.footer__contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer__contact-email svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ── Barre de bas de page ─────────────────────────────────────── */

.footer__bottom {
  border-top: 1px solid var(--border-subtle);
}

/* Grille interne : copyright à gauche, langue à droite */
.footer__bottom-inner {
  max-width: var(--container-max, 1240px);
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (max-width: 1023px) {
  .footer__bottom-inner { padding: 16px 24px; }
}

@media (max-width: 640px) {
  /* Mobile : copyright au-dessus, langue en dessous */
  .footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 12px;
  }
}

/* Texte copyright */
.footer__copyright {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* Sélecteur de langue bas de page */
.footer__lang {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Lien langue individuel */
.footer__lang-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast);
}

.footer__lang-link:hover {
  color: var(--color-primary);
  background: rgba(164, 53, 240, 0.06);
}

/* Langue active — mise en évidence */
.footer__lang-link.is-active {
  color: var(--color-primary);
  background: rgba(164, 53, 240, 0.08);
}


/* ===== GRID SYSTEM ===== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ===== TYPOGRAPHY RESPONSIVE ===== */
h1 { font-size: clamp(28px, 5vw, 44px); }
h2 { font-size: clamp(22px, 4vw, 36px); }
h3 { font-size: clamp(18px, 3vw, 28px); }

/* ===== COURSE CARDS ===== */
.course-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.course-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius-md) var(--radius-md) 0 0; }
.course-card__media,
.course-card__placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(184, 92, 56, 0.14), rgba(212, 146, 42, 0.24));
  color: var(--color-primary);
  font-size: 40px;
}
.course-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.course-card__title { font-family: var(--font-heading); font-size: 18px; line-height: 1.3; margin: 0; color: var(--color-text); }
.course-card__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.course-card__meta-text,
.course-card__text { font-size: 13px; color: var(--color-muted); }
.course-card__footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.course-card__actions { display: grid; gap: 12px; }
@media (max-width: 639px) {
  .course-card__footer { flex-direction: column; align-items: stretch; }
}

/* ===== DASHBOARD STATS ===== */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 20px; }
.stat-card__value { font-family: var(--font-heading); font-size: 32px; font-weight: 700; color: var(--color-accent); }
.stat-card__label { font-size: 13px; color: var(--color-muted); margin-top: 4px; }

/* ===== PROGRESS BAR ===== */
.progress-bar { height: 8px; background: var(--color-surface-alt); border-radius: var(--radius-pill); overflow: hidden; }
.progress-bar__fill { height: 100%; background: linear-gradient(90deg, var(--color-primary), var(--color-accent)); border-radius: var(--radius-pill); transition: width var(--duration-emphasis) var(--ease-smooth); }

/* ===== FORMS MOBILE ===== */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 600; color: var(--color-text-secondary); margin-bottom: 6px; }
.form-control { width: 100%; min-height: 52px; padding: 0 16px; background: var(--color-surface-alt); border: 1px solid var(--color-border); border-radius: var(--radius-md); font-family: var(--font-body); font-size: 15px; color: var(--color-text); transition: border-color var(--duration-fast); }
.form-control:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(184, 92, 56, 0.15); }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-body); font-weight: 600; font-size: 15px; cursor: pointer; transition: all var(--duration-standard) var(--ease-smooth); border: none; white-space: nowrap; }
.btn--primary { background: var(--color-primary); color: #fff; border-radius: var(--radius-pill); padding: 0 28px; min-height: 48px; }
.btn--primary:hover { background: var(--color-primary-hover); transform: translateY(-1px); }
.btn--secondary { background: var(--color-surface-alt); color: var(--color-text); border-radius: var(--radius-md); padding: 0 24px; min-height: 46px; border: 1px solid var(--color-border); }
.btn--full { width: 100%; }

/* ===== AUTH PAGES ===== */
.auth-wrapper { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 20px; background: var(--color-bg); }
.auth-card { width: 100%; max-width: 440px; background: var(--color-surface); border-radius: var(--radius-lg); padding: 40px 36px; box-shadow: var(--shadow-card); border: 1px solid var(--color-border); }
@media (max-width: 480px) { .auth-card { padding: 28px 20px; border-radius: var(--radius-md); } }

/* ===== LESSON/QUIZ PAGE ===== */
.lesson-layout { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 1024px) { .lesson-layout { grid-template-columns: 1fr 320px; } }
.lesson-video-wrapper { width: 100%; aspect-ratio: 16/9; background: #000; border-radius: var(--radius-md); overflow: hidden; }
.lesson-video-wrapper iframe, .lesson-video-wrapper video { width: 100%; height: 100%; }

/* ===== QUIZ ===== */
.quiz-option { display: flex; align-items: flex-start; gap: 12px; min-height: 48px; padding: 16px; border: 2px solid var(--color-border); border-radius: var(--radius-md); cursor: pointer; transition: border-color var(--duration-fast), background var(--duration-fast); margin-bottom: 10px; background: var(--color-surface); }
.quiz-option:hover { border-color: var(--color-primary); background: var(--color-surface-alt); }
.quiz-option.selected,
.quiz-choice input:checked + .quiz-option { border-color: var(--color-primary); background: rgba(184,92,56,0.08); }
.quiz-option.correct { border-color: var(--color-success); background: rgba(58,125,68,0.1); }
.quiz-option.incorrect { border-color: var(--color-error); background: rgba(184,50,50,0.1); }
.quiz-choice { position: relative; display: block; }
.quiz-choice input { position: absolute; opacity: 0; pointer-events: none; }

/* ===== CERTIFICATES ===== */
.cert-card { background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-alt) 100%); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 24px; position: relative; overflow: hidden; }
.cert-card::before { content: ''; position: absolute; top: 0; right: 0; width: 80px; height: 80px; background: linear-gradient(135deg, var(--color-accent), var(--color-primary)); opacity: 0.12; border-radius: 0 var(--radius-lg) 0 80px; }

/* ===== EMPTY STATES ===== */
.empty-state { text-align: center; padding: 60px 24px; }
.empty-state__icon,
.empty-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.5; }
.empty-state__title { font-family: var(--font-heading); font-size: 22px; color: var(--color-text); margin-bottom: 8px; }
.empty-state__text { color: var(--color-muted); font-size: 15px; max-width: 380px; margin: 0 auto 24px; }

/* ===== PAGE HEADER ===== */
.page-header { margin-bottom: 32px; }
.page-header__title { font-family: var(--font-heading); color: var(--color-text); }
.page-header__subtitle { color: var(--color-muted); font-size: 16px; margin-top: 8px; }

/* ===== TOAST NOTIFICATIONS ===== */
.toast-container { position: fixed; top: 80px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; max-width: 360px; }
@media (max-width: 640px) { .toast-container { right: 0; left: 0; top: auto; bottom: 80px; padding: 0 16px; max-width: 100%; } }
.toast { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: var(--radius-md); box-shadow: var(--shadow-hover); background: var(--color-surface); border: 1px solid var(--color-border); animation: toastIn var(--duration-standard) var(--ease-smooth); }
.toast--success { border-left: 3px solid var(--color-success); }
.toast--error { border-left: 3px solid var(--color-error); }
.toast--warning { border-left: 3px solid var(--color-warning); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }

/* ===== BADGES ===== */
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
.badge--primary { background: var(--color-primary); color: #fff; }
.badge--success { background: rgba(58,125,68,0.15); color: var(--color-success); }
.badge--warning { background: rgba(196,124,16,0.15); color: var(--color-warning); }
.badge--muted { background: var(--color-surface-alt); color: var(--color-muted); }

/* ===== BOTTOM NAV ===== */
.bottom-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; height: 64px; background: var(--color-surface); border-top: 1px solid var(--color-border); z-index: 1000; }
@media (max-width: 1023px) { .bottom-nav { display: flex; } }
.bottom-nav__items { display: flex; width: 100%; }
.bottom-nav__item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; color: var(--color-muted); font-size: 10px; font-weight: 600; min-width: 44px; min-height: 44px; transition: color var(--duration-fast); padding: 8px 4px; }
.bottom-nav__item.active, .bottom-nav__item:hover { color: var(--color-primary); }
.bottom-nav__item.active .bottom-nav__icon { border-bottom: 2px solid var(--color-primary); padding-bottom: 2px; }
.bottom-nav__icon { width: 20px; height: 20px; line-height: 1; }
.bottom-nav__icon svg { width: 100%; height: 100%; }

/* =====================================================================
   NAVBAR v4 GODMODE — LangastoreCreation
   =====================================================================
   Tous les styles de la navbar, du drawer, du bottom-nav et
   du sélecteur de langue sont regroupés ici pour faciliter la
   maintenance. Les tokens CSS (couleurs, ombres, radius, durées)
   sont définis dans tokens.css et réutilisés ici via var().
   ===================================================================== */

/* ── Base navbar ─────────────────────────────────────────────────────
   Position sticky, hauteur fixe 64px, fond frosted-glass.
   La variable --bg-nav est définie dans tokens.css (light + dark).
   .is-scrolled : renforcé par JS au scroll > 10px.
*/
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 64px;
  background: var(--bg-nav, rgba(255, 253, 249, 0.82));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition:
    background var(--duration-standard) var(--ease-smooth),
    box-shadow  var(--duration-standard) var(--ease-smooth),
    border-color var(--duration-standard) var(--ease-smooth);
}

/* Mode sombre */
[data-theme="dark"] .navbar {
  background: var(--bg-nav, rgba(30, 20, 16, 0.85));
}

/* État scrollé : fond plus opaque + ombre portée douce */
.navbar.is-scrolled {
  background: var(--bg-nav-scrolled, rgba(255, 253, 249, 0.97));
  box-shadow: var(--shadow-nav);
  border-bottom-color: var(--border-default);
}

[data-theme="dark"] .navbar.is-scrolled {
  background: var(--bg-nav-scrolled, rgba(30, 20, 16, 0.98));
}

/* ── Layout interne ──────────────────────────────────────────────────
   Flexbox horizontal, centré, max-width aligné avec le contenu.
*/
.navbar__inner {
  max-width: var(--container-max, 1240px);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .navbar__inner { padding: 0 16px; }
}

/* ── Brand / Logo ────────────────────────────────────────────────────
   Conteneur du logo : image (desktop/tablet) + texte (tous breakpoints).
*/
.navbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  padding: 4px;
  transition: opacity var(--duration-fast);
}

.navbar__brand:hover { opacity: 0.85; }

/* Disque blanc autour du logo PNG transparent */
.navbar__logo-bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
  flex-shrink: 0;
  transition: transform var(--duration-standard) var(--ease-smooth),
              box-shadow var(--duration-standard) var(--ease-smooth);
}

.navbar__brand:hover .navbar__logo-bubble {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.navbar__logo-bubble img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* Texte "LangastoreCreation" à côté du logo */
.navbar__brand-name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

/* Sur très petit mobile : masquer le nom texte pour économiser l'espace */
@media (max-width: 400px) {
  .navbar__brand-name { display: none; }
}

/* Sur mobile (<768px) : masquer le disque logo, garder seulement le texte */
@media (max-width: 767px) {
  .navbar__logo-bubble { display: none; }
  .navbar__brand-name { display: block; font-size: 16px; }
}

/* ── Liens navigation desktop (≥1024px) ──────────────────────────────
   Flex row, masqués en tablet/mobile.
   Indicateur actif via ::after (underline animé).
*/
.navbar__links {
  display: none;
  align-items: center;
  gap: 4px;
  flex: 1;
}

@media (min-width: 1024px) {
  .navbar__links { display: flex; }
}

/* ── Liens navigation tablet (768–1023px) — version réduite ─────────*/
.navbar__tablet-links {
  display: none;
  align-items: center;
  gap: 4px;
  flex: 1;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .navbar__tablet-links { display: flex; }
}

/* ── Style commun des liens nav ───────────────────────────────────── */
.navbar__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-smooth),
              background var(--duration-fast) var(--ease-smooth);
  white-space: nowrap;
}

.navbar__link:hover {
  color: var(--color-primary);
  background: rgba(164, 53, 240, 0.06);
}

/* Underline animé — apparaît sur l'état actif */
.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--color-primary);
  border-radius: var(--radius-pill);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-standard) var(--ease-smooth);
}

.navbar__link.is-active {
  color: var(--color-primary);
  font-weight: 600;
}

.navbar__link.is-active::after {
  transform: scaleX(1);
}

/* ── Barre d'actions (droite) ────────────────────────────────────── */
.navbar__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ── Boutons iconiques (thème, etc.) ──────────────────────────────── */
.navbar__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
  padding: 0;
}

.navbar__icon-btn svg { width: 18px; height: 18px; }

.navbar__icon-btn:hover {
  background: var(--color-surface-alt);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Alias rétrocompatible : theme.js cible #theme-toggle via getElementById
   Le bouton dans la navbar porte id="theme-toggle" ET la classe .navbar__icon-btn
   → on hérite de tous les styles de .navbar__icon-btn automatiquement */

/* ── Sélecteur de langue (dropdown) ──────────────────────────────── */
.lang-switcher {
  position: relative;
}

/* Bouton déclencheur : drapeau + code + chevron */
.lang-switcher__trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
  white-space: nowrap;
}

.lang-switcher__trigger:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(164, 53, 240, 0.05);
}

.lang-switcher__flag { font-size: 16px; line-height: 1; }
.lang-switcher__code { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; }

/* Chevron SVG qui tourne à l'ouverture */
.lang-switcher__chevron {
  width: 12px;
  height: 12px;
  transition: transform var(--duration-fast) var(--ease-smooth);
  color: var(--text-muted);
}

.lang-switcher.is-open .lang-switcher__chevron {
  transform: rotate(180deg);
}

/* Menu dropdown — invisible par défaut, animé à l'ouverture */
.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  list-style: none;
  margin: 0;
  padding: 6px;
  z-index: 1200;
  /* Animation d'entrée */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity    var(--duration-fast) var(--ease-smooth),
    transform  var(--duration-fast) var(--ease-smooth),
    visibility var(--duration-fast);
}

/* Ouvert : déclenché par .is-open sur .lang-switcher */
.lang-switcher.is-open .lang-switcher__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Option individuelle */
.lang-switcher__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background var(--duration-fast), color var(--duration-fast);
}

.lang-switcher__option:hover {
  background: var(--color-surface-alt);
  color: var(--color-primary);
}

/* ── Zone auth (profil / boutons connexion) ──────────────────────── */
.navbar__auth {
  display: none;
  align-items: center;
  gap: 8px;
}

@media (min-width: 768px) {
  .navbar__auth { display: flex; }
}

/* Pill utilisateur connecté */
.navbar__user-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all var(--duration-fast) var(--ease-smooth);
}

.navbar__user-pill:hover {
  border-color: var(--color-primary);
  background: rgba(164, 53, 240, 0.05);
}

/* Avatar — disque gradié avec initiales */
.navbar__avatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Variante large (utilisée dans le drawer) */
.navbar__avatar--lg {
  width: 44px;
  height: 44px;
  font-size: 16px;
}

.navbar__user-name { color: var(--text-primary); }

/* Boutons ghost/primary pour .btn--ghost .btn--sm */
.btn--ghost {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-secondary);
  padding: 0 16px;
  min-height: 38px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
}

.btn--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(164, 53, 240, 0.05);
}

.btn--sm { min-height: 36px; padding: 0 14px; font-size: 13px; }

/* ── Hamburger CSS pur ────────────────────────────────────────────── */
.navbar__hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px 9px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: transparent;
  cursor: pointer;
  transition: all var(--duration-fast);
}

.navbar__hamburger:hover {
  background: var(--color-surface-alt);
  border-color: var(--color-primary);
}

.navbar__hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform var(--duration-standard) var(--ease-smooth),
              opacity   var(--duration-standard) var(--ease-smooth);
}

/* Masqué sur desktop */
@media (min-width: 1024px) {
  .navbar__hamburger { display: none; }
}

/* ── DRAWER latéral ──────────────────────────────────────────────── */
.navbar__drawer {
  position: fixed;
  inset: 0;
  z-index: 1002;
  pointer-events: none;
}

.navbar__drawer.is-open { pointer-events: auto; }

/* Fond semi-transparent animé */
.navbar__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 12, 7, 0.48);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity var(--duration-standard) var(--ease-smooth);
  cursor: pointer;
}

.navbar__drawer.is-open .navbar__backdrop { opacity: 1; }

/* Panel glissant depuis la droite */
.navbar__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(360px, 92vw);
  height: 100%;
  background: var(--bg-card);
  border-left: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-modal);
  transform: translateX(100%);
  transition: transform var(--duration-emphasis) var(--ease-smooth);
  padding: 0 0 96px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.navbar__drawer.is-open .navbar__panel { transform: translateX(0); }

/* En-tête du panel */
.navbar__panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  background: var(--bg-card);
  z-index: 1;
}

.navbar__panel-logo {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

/* Bouton fermeture × */
.navbar__panel-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--color-surface-alt);
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  transition: all var(--duration-fast);
}

.navbar__panel-close svg { width: 16px; height: 16px; }
.navbar__panel-close:hover { border-color: var(--color-error); color: var(--color-error); }

/* Liens dans le panel */
.navbar__panel-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 16px 8px;
}

.navbar__panel-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all var(--duration-fast) var(--ease-smooth);
}

.navbar__panel-link:hover {
  background: var(--color-surface-alt);
  border-color: var(--border-subtle);
  color: var(--color-primary);
}

.navbar__panel-link.is-active {
  background: rgba(164, 53, 240, 0.07);
  border-color: rgba(164, 53, 240, 0.2);
  color: var(--color-primary);
  font-weight: 600;
}

.navbar__panel-arrow { width: 16px; height: 16px; color: var(--text-muted); }
.navbar__panel-link.is-active .navbar__panel-arrow { color: var(--color-primary); }

/* Section générique (langue + auth) */
.navbar__panel-section {
  padding: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.navbar__panel-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 4px;
}

/* Grille des langues dans le drawer */
.navbar__panel-langs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.navbar__panel-lang {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-card-tinted);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all var(--duration-fast);
}

.navbar__panel-lang:hover { border-color: var(--color-primary); color: var(--color-primary); }

.navbar__panel-lang.is-active {
  border-color: var(--color-primary);
  background: rgba(164, 53, 240, 0.06);
  color: var(--color-primary);
  font-weight: 700;
}

.navbar__panel-lang-flag { font-size: 20px; }
.navbar__panel-lang-name { flex: 1; }

.navbar__panel-lang-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(164, 53, 240, 0.12);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
}

/* Bandeau utilisateur dans le drawer */
.navbar__panel-user {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-card-tinted);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.navbar__panel-user-name { font-size: 15px; font-weight: 700; color: var(--text-primary); margin: 0; }
.navbar__panel-user-role { font-size: 12px; color: var(--text-muted); margin: 2px 0 0; }

/* Texte CTA non-connecté */
.navbar__panel-cta-text {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 4px;
}

/* ── BOTTOM NAV (Mobile <1024px) ─────────────────────────────────── */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
}

@media (max-width: 1023px) { .bottom-nav { display: flex; } }

.bottom-nav__items {
  display: flex;
  width: 100%;
}

.bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  min-width: 44px;
  padding: 8px 4px;
  transition: color var(--duration-fast);
  position: relative;
}

/* Point indicateur actif en haut de l'item */
.bottom-nav__item.is-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 0 0 var(--radius-pill) var(--radius-pill);
}

.bottom-nav__item.is-active,
.bottom-nav__item:hover {
  color: var(--color-primary);
}

.bottom-nav__icon {
  width: 22px;
  height: 22px;
}

.bottom-nav__icon svg {
  width: 100%;
  height: 100%;
}

/* Padding bas du body pour éviter que le contenu passe sous la bottom-nav */
body { padding-bottom: 64px; }
@media (min-width: 1024px) { body { padding-bottom: 0; } }



/* ===== DASHBOARD PAGE ===== */
.dashboard-page { padding: 32px 0 80px; }
.dashboard-welcome { display: grid; gap: 20px; padding: 28px; border-radius: var(--radius-hero); background: linear-gradient(135deg, rgba(184, 92, 56, 0.96), rgba(212, 146, 42, 0.92)); color: #fff; box-shadow: var(--shadow-card); }
.dashboard-welcome h1,
.dashboard-welcome p { color: inherit; }
.dashboard-welcome__meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.dashboard-welcome__badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.16); font-size: 13px; font-weight: 600; }
.dashboard-layout { display: grid; gap: 24px; margin-top: 32px; }
@media (min-width: 1024px) { .dashboard-layout { grid-template-columns: minmax(0, 2fr) minmax(280px, 360px); } }
.dashboard-panel { padding: 24px; }
.dashboard-panel__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.dashboard-panel__title { font-size: 20px; }
.dashboard-quick-list { display: grid; gap: 16px; }
.dashboard-quick-link { display: flex; gap: 14px; padding: 16px; border-radius: var(--radius-md); border: 1px solid var(--color-border); background: var(--color-surface-alt); }
.dashboard-quick-link__icon { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(184, 92, 56, 0.14); color: var(--color-primary); }

/* ===== COURSES PAGE ===== */
.courses-page { padding: 24px 0 80px; }
.courses-hero { padding: 32px 0 24px; }
.courses-toolbar { position: sticky; top: 72px; z-index: 20; margin: 24px 0 32px; padding: 20px; background: rgba(255, 253, 249, 0.94); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); backdrop-filter: blur(10px); }
[data-theme="dark"] .courses-toolbar { background: rgba(30, 20, 16, 0.94); }
.courses-toolbar__form { display: grid; gap: 16px; }
@media (min-width: 768px) { .courses-toolbar__form { grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)) auto auto; align-items: end; } }
.courses-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.courses-pagination__link { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--color-border); border-radius: var(--radius-md); color: var(--color-text); background: var(--color-surface); }
.courses-pagination__link.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* ===== QUIZ TAKE / RESULT ===== */
.quiz-page { padding: 24px 0 120px; }
.quiz-shell { max-width: 880px; margin: 0 auto; }
.quiz-intro { margin-bottom: 24px; }
.quiz-intro__eyebrow { margin-bottom: 12px; }
.quiz-card { padding: 24px; }
.quiz-card + .quiz-card { margin-top: 20px; }
.quiz-question { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.quiz-question__number { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--color-primary); color: #fff; font-weight: 700; }
.quiz-question__text { font-size: 20px; color: var(--color-text); }
.quiz-sticky-header { position: sticky; top: 72px; z-index: 12; margin-bottom: 20px; padding: 14px 16px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: rgba(255, 253, 249, 0.94); box-shadow: var(--shadow-card); backdrop-filter: blur(10px); }
[data-theme="dark"] .quiz-sticky-header { background: rgba(30, 20, 16, 0.94); }
.quiz-submit-bar { position: fixed; left: 0; right: 0; bottom: 64px; z-index: 1001; padding: 12px 20px 16px; background: linear-gradient(180deg, rgba(250, 244, 236, 0), rgba(250, 244, 236, 0.94) 35%, rgba(250, 244, 236, 1) 100%); }
[data-theme="dark"] .quiz-submit-bar { background: linear-gradient(180deg, rgba(18, 12, 7, 0), rgba(18, 12, 7, 0.94) 35%, rgba(18, 12, 7, 1) 100%); }
.quiz-submit-bar__inner { max-width: 880px; margin: 0 auto; }
@media (min-width: 1024px) {
  .quiz-submit-bar { position: static; padding: 24px 0 0; background: none; }
  .quiz-submit-bar__inner { max-width: none; margin: 0; }
}
.quiz-result { max-width: 760px; margin: 0 auto; padding: 32px 0 80px; }
.quiz-result__hero { text-align: center; padding: 32px 24px; }
.quiz-result__score { width: 170px; height: 170px; margin: 24px auto 0; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(184, 92, 56, 0.12), rgba(212, 146, 42, 0.22)); }
.quiz-result__score-value { font-family: var(--font-heading); font-size: 48px; color: var(--color-primary); }
.quiz-result__actions { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 640px) { .quiz-result__actions { grid-template-columns: repeat(2, 1fr); } }
.quiz-review { margin-top: 24px; display: grid; gap: 16px; }
.quiz-review__meta { margin-top: 10px; font-size: 14px; color: var(--color-muted); }
.quiz-review__answer { color: var(--color-success); font-weight: 600; }

/* ===== CERTIFICATE VERIFY ===== */
.verify-page { padding: 32px 0 80px; }
.verify-card { max-width: 560px; margin: 0 auto; padding: 32px 24px; }
.verify-card__icon { font-size: 48px; margin-bottom: 16px; text-align: center; }
.verify-card__footer { margin-top: 24px; text-align: center; font-size: 13px; color: var(--color-muted); }
.verify-result { margin-top: 24px; padding: 20px; border-radius: var(--radius-md); background: var(--color-surface-alt); border: 1px solid var(--color-border); display: grid; gap: 8px; }
.verify-result__success { text-align: center; }
.verify-result__row { color: var(--color-text-secondary); }

.hero-tag--rating {
  background: var(--color-accent);
  border-color: transparent;
  color: var(--color-text);
}

/* ===== AUTH SPLIT ===== */
.auth-split { display: flex; min-height: 100vh; background: var(--color-bg); }
.auth-visual { display: none; position: relative; flex: 1; overflow: hidden; background: var(--color-surface-alt); }
.auth-visual__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.58; }
.auth-visual__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(28, 17, 10, 0.38), rgba(184, 92, 56, 0.44)); }
.auth-visual__content { position: relative; z-index: 1; align-self: flex-end; max-width: 520px; padding: 72px; color: #fff; }
.auth-visual__content h2,
.auth-visual__content p { color: inherit; }
.auth-pane { flex: 1; display: flex; align-items: center; justify-content: center; padding: 32px 20px; }
.auth-logo-image { height: 42px; width: auto; object-fit: contain; }
.auth-stack { display: grid; gap: 20px; }
.auth-inline { display: flex; gap: 10px; align-items: flex-start; }
.auth-inline label { margin: 0; font-size: 13px; font-weight: 400; color: var(--color-muted); }
.auth-inline input[type="checkbox"] { width: auto; margin-top: 4px; }
.auth-divider { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--color-border); text-align: center; color: var(--color-muted); }
.auth-alert { display: none; padding: 14px 16px; border-radius: var(--radius-md); border: 1px solid var(--color-border); }
.auth-alert--visible { display: block; }
.auth-alert--error { background: rgba(184, 50, 50, 0.08); color: var(--color-error); border-color: rgba(184, 50, 50, 0.2); }

/* ===== NAVBAR BRAND (Logo image desktop/tablet + texte mobile) ===== */

/* Le lien brand remplace l'ancien .navbar__logo sur les grandes tailles */
.navbar__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

/* Conteneur image logo — fond blanc pour PNG transparent, disque arrondi */
.navbar__logo-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform var(--duration-standard) var(--ease-smooth),
              box-shadow var(--duration-standard) var(--ease-smooth);
}

.navbar__logo-img img {
  display: block;
  height: 36px;
  width: auto;
  object-fit: contain;
}

.navbar__brand:hover .navbar__logo-img {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

/* Texte logo : affiché uniquement sur mobile (<768px) */
.navbar__logo-text {
  display: none;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}

/* Sur mobile : masquer l'image, afficher le texte */
@media (max-width: 767px) {
  .navbar__logo-img  { display: none; }
  .navbar__logo-text { display: block; }
}

/* ===== LANGUAGE SWITCHER (Dropdown avec drapeaux) ===== */

/* Conteneur relatif pour positionner le dropdown */
.lang-switcher {
  position: relative;
}

/* Bouton déclencheur */
.lang-switcher__btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
  white-space: nowrap;
}

.lang-switcher__btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-surface-alt);
}

/* Drapeau emoji */
.lang-switcher__flag {
  font-size: 16px;
  line-height: 1;
}

/* Code langue (FR, EN, HT) */
.lang-switcher__code {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Chevron — tourne à l'ouverture */
.lang-switcher__chevron {
  transition: transform var(--duration-fast) var(--ease-smooth);
  color: var(--color-muted);
}

.lang-switcher.is-open .lang-switcher__chevron {
  transform: rotate(180deg);
}

/* Menu dropdown */
.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  list-style: none;
  margin: 0;
  padding: 6px;
  z-index: 1100;
  /* Caché par défaut */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--duration-fast) var(--ease-smooth),
              transform var(--duration-fast) var(--ease-smooth),
              visibility var(--duration-fast);
}

/* État ouvert : affiché grâce à .is-open sur le parent */
.lang-switcher.is-open .lang-switcher__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Option de langue dans le dropdown */
.lang-switcher__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background var(--duration-fast), color var(--duration-fast);
}

.lang-switcher__option:hover {
  background: var(--color-surface-alt);
  color: var(--color-primary);
}

/* ===== SÉLECTEUR DE LANGUE DANS LE DRAWER MOBILE ===== */

.navbar__drawer-lang {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.navbar__drawer-lang-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin: 0 0 12px 0;
}

.navbar__drawer-lang-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.navbar__drawer-lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface-alt);
  color: var(--color-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all var(--duration-fast);
}

.navbar__drawer-lang-option:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Langue active dans le drawer */
.navbar__drawer-lang-option.active {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(184, 92, 56, 0.06);
  font-weight: 700;
}

.auth-alert--success { background: rgba(58, 125, 68, 0.08); color: var(--color-success); border-color: rgba(58, 125, 68, 0.2); }
.auth-role-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.auth-role { border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 16px; text-align: center; background: var(--color-surface-alt); }
.auth-role input { position: absolute; opacity: 0; pointer-events: none; }
.auth-role:has(input:checked) { border-color: var(--color-primary); background: rgba(184, 92, 56, 0.08); }
.password-strength { height: 4px; margin-top: 8px; border-radius: var(--radius-pill); background: var(--color-surface-alt); overflow: hidden; }
.password-strength-bar { width: 0; height: 100%; border-radius: var(--radius-pill); transition: width var(--duration-standard) var(--ease-smooth), background-color var(--duration-standard) var(--ease-smooth); }
.strength-weak { width: 33%; background: var(--color-error); }
.strength-medium,
.strength-fair { width: 66%; background: var(--color-warning); }
.strength-strong,
.strength-good { width: 100%; background: var(--color-success); }
@media (min-width: 1024px) { .auth-visual { display: flex; } }

/* ===== FOOTER ===== */
.site-footer {
  background: #111 !important;
  color: #eee !important;
  padding: 20px 0;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
}

.site-footer p {
  margin: 5px 0;
  font-size: 14px;
}

/* ============================================================
   GodMode Native Layout System (Mobile-First)
   ============================================================ */
.lsc-container { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--space-md); }
.lsc-container--narrow { max-width: 800px; }
.lsc-grid { display: grid; gap: var(--space-lg); grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .lsc-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .lsc-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .lsc-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .lsc-grid--lg-2 { grid-template-columns: repeat(2, 1fr); }
  .lsc-grid--lg-4 { grid-template-columns: repeat(4, 1fr); }
}
.lsc-flex { display: flex; }
.lsc-flex-col { flex-direction: column; }
@media (min-width: 768px) {
  .lsc-flex-md-row { flex-direction: row; }
}
.lsc-items-center { align-items: center; }
.lsc-justify-between { justify-content: space-between; }
.lsc-justify-center { justify-content: center; }
.lsc-flex-wrap { flex-wrap: wrap; }
.lsc-gap-2 { gap: var(--space-sm); }
.lsc-gap-3 { gap: var(--space-md); }
.lsc-gap-4 { gap: var(--space-lg); }
.lsc-text-center { text-align: center; }
.lsc-py-section { padding-block: var(--space-2xl); }
.lsc-mb-2 { margin-bottom: var(--space-sm); }
.lsc-mb-3 { margin-bottom: var(--space-md); }
.lsc-mb-4 { margin-bottom: var(--space-lg); }
.lsc-mb-5 { margin-bottom: var(--space-xl); }
.lsc-hero-bg { background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-cta-light) 100%); }
.lsc-cta-bg { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%); color: var(--color-surface); }
.lsc-img-fluid { max-width: 100%; height: auto; }
.lsc-accordion-details { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-sm); margin-bottom: var(--space-sm); }
.lsc-accordion-summary { padding: var(--space-md); font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.lsc-accordion-summary::-webkit-details-marker { display: none; }
.lsc-accordion-body { padding: 0 var(--space-md) var(--space-md) var(--space-md); color: var(--color-text-secondary); }

