/* ===================================
   YENGO JOBS - Stylesheet v2.0
   Design System Unifié - Sans duplications
=================================== */

/* === VARIABLES CSS === */
:root {
  /* Couleurs principales */
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --secondary: #7c3aed;
  --success: #059669;
  --warning: #d97706;
  --danger: #dc2626;
  --info: #0891b2;

  /* Neutres */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Aliases compatibilité admin.css */
  --dark: #1e293b;
  --light: #f9fafb;

  /* Texte */
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;

  /* Fonds */
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;

  /* Bordures */
  --border: #e5e7eb;

  /* Ombres */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.10), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.10), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.10), 0 10px 10px rgba(0,0,0,0.04);

  /* Rayons */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.2s ease;
  --transition-slow: all 0.3s ease;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-secondary);
  margin: 0;
  padding: 0;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  margin-top: 0;
}
ul { margin: 0; padding: 0; list-style: none; }

/* === LAYOUT === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.section { padding: 4rem 0; }
.section-sm { padding: 2rem 0; }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.section-title { font-size: 1.6rem; font-weight: 700; color: var(--text-primary); }
.section-subtitle { color: var(--text-muted); margin-top: 0.25rem; font-size: 0.9rem; }

/* === NAVIGATION === */
.navbar {
  background: var(--bg-primary);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 0;
}
.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}
.navbar-brand .brand-icon { font-size: 1.6rem; }
.navbar-brand span { color: var(--text-primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  color: var(--gray-600);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-menu { position: relative; }
.user-menu-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  background: var(--gray-100);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.user-menu-trigger:hover { background: var(--gray-200); }
.user-menu-trigger .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--primary-light);
}
.user-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  min-width: 200px;
  z-index: 1001;
  overflow: hidden;
}
.user-dropdown.show { display: block; }
.user-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition);
}
.user-dropdown a:hover { background: var(--gray-50); color: var(--primary); }
.user-dropdown .divider { height: 1px; background: var(--border); margin: 0.25rem 0; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}

/* === BOUTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: white; }

.btn-secondary {
  background: var(--secondary);
  color: white;
  border-color: var(--secondary);
}
.btn-secondary:hover { background: #6d28d9; color: white; }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: white; }

.btn-success {
  background: var(--success);
  color: white;
  border-color: var(--success);
}
.btn-success:hover { background: #047857; color: white; }

.btn-danger {
  background: var(--danger);
  color: white;
  border-color: var(--danger);
}
.btn-danger:hover { background: #b91c1c; color: white; }

.btn-ghost {
  background: transparent;
  color: var(--gray-600);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--gray-100); color: var(--gray-800); }

.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.8rem; }
.btn-lg { padding: 0.8rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-icon { width: 36px; height: 36px; padding: 0; border-radius: var(--radius); }

/* === FORMULAIRES === */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}
.form-label .required { color: var(--danger); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.form-control.is-invalid { border-color: var(--danger); }
.form-control.is-valid { border-color: var(--success); }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}
.form-text { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.3rem; }
.form-error { font-size: 0.8rem; color: var(--danger); margin-top: 0.3rem; }

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}
.input-group .form-control { padding-left: 2.75rem; }
.input-group .input-icon {
  position: absolute;
  left: 0.9rem;
  color: var(--gray-400);
  pointer-events: none;
  font-size: 0.9rem;
}
.input-group .input-action {
  position: absolute;
  right: 0.75rem;
  color: var(--gray-400);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.9rem;
  transition: var(--transition);
}
.input-group .input-action:hover { color: var(--gray-700); }

/* Indicateur de force du mot de passe */
.password-strength { margin-top: 0.5rem; }
.strength-bar { height: 4px; background: var(--gray-200); border-radius: 2px; overflow: hidden; margin-bottom: 0.25rem; }
.strength-fill { height: 100%; border-radius: 2px; transition: all 0.3s ease; width: 0%; }
.strength-fill.weak   { width: 25%; background: var(--danger); }
.strength-fill.fair   { width: 50%; background: var(--warning); }
.strength-fill.good   { width: 75%; background: var(--info); }
.strength-fill.strong { width: 100%; background: var(--success); }
.strength-text { font-size: 0.75rem; }

/* Checkbox / Radio */
.form-check { display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.5rem; }
.form-check-input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--primary); cursor: pointer; }
.form-check-label { font-size: 0.9rem; cursor: pointer; }

/* === ALERTES === */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.alert-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.alert-danger,
.alert-error   { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert-warning { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.alert-info    { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }

/* === CARTES === */
.card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}
.card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--gray-50);
}
.card-body { padding: 1.5rem; }
.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--gray-50);
}

/* === BADGES === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-success { background: #ecfdf5; color: var(--success); }
.badge-warning { background: #fffbeb; color: #92400e; }
.badge-danger  { background: #fef2f2; color: var(--danger); }
.badge-gray    { background: var(--gray-100); color: var(--gray-600); }

/* === HERO === */
.hero {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 50%, #7c3aed 100%);
  padding: 5rem 0 4rem;
  color: white;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; text-align: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 2rem;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2.5rem;
}
.hero-stat { text-align: center; color: white; }
.hero-stat-number { font-size: 2rem; font-weight: 800; line-height: 1; }
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.7); margin-top: 0.25rem; }

/* === SEARCH FORM === */
.search-form {
  max-width: 750px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 1rem;
}
.search-form-inner {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.75rem;
  align-items: end;
}
.search-field { position: relative; }
.search-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.search-field input,
.search-field select {
  padding: 0.7rem 0.9rem 0.7rem 2.5rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  width: 100%;
  outline: none;
  transition: var(--transition);
}
.search-field input:focus,
.search-field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.search-field .search-icon {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  color: var(--gray-400);
  font-size: 0.9rem;
}
.search-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.filter-chip {
  padding: 0.4rem 0.9rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}
.filter-chip:hover,
.filter-chip.active { background: rgba(255,255,255,0.25); }

/* === JOBS GRID === */
.jobs-section { padding: 4rem 0; }
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* === JOB CARD === */
.job-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  padding: 1.5rem;
  transition: var(--transition-slow);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.job-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.job-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.job-company-logo {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--gray-100);
  flex-shrink: 0;
}
.job-save-btn {
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
  padding: 0.25rem;
}
.job-save-btn:hover,
.job-save-btn.saved { color: var(--primary); }
.job-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}
.job-company { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.job-tag {
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}
.job-tag-type     { background: var(--primary-light); color: var(--primary); }
.job-tag-location { background: var(--gray-100); color: var(--gray-600); }
.job-tag-salary   { background: #ecfdf5; color: var(--success); }
.job-tag-new      { background: #fef3c7; color: #92400e; }
.job-tag-urgent   { background: #fee2e2; color: var(--danger); }
.job-time { font-size: 0.78rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.3rem; }
.job-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* === JOB DETAILS === */
.job-details-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2rem;
  padding: 2rem 0;
}
.job-details-main .card { margin-bottom: 1.5rem; }
.job-header { padding: 2rem; }
.job-header-top {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.job-header-logo {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.job-header-info { flex: 1; }
.job-header-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.5rem; }
.job-header-company { font-size: 1rem; color: var(--primary); font-weight: 600; }
.job-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  padding: 1.5rem;
  background: var(--gray-50);
  border-radius: var(--radius);
  margin: 1rem 0;
}
.job-meta-item { display: flex; flex-direction: column; gap: 0.25rem; }
.job-meta-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.job-meta-value { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); }
.job-description h3,
.job-description h4 { color: var(--text-primary); margin: 1.5rem 0 0.75rem; }
.job-description ul,
.job-description ol { padding-left: 1.5rem; }
.job-description li { margin-bottom: 0.4rem; color: var(--text-secondary); }

.job-sidebar .card { margin-bottom: 1rem; }
.apply-card { text-align: center; padding: 2rem; }
.apply-card h3 { margin-bottom: 0.5rem; }
.apply-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.apply-card .btn { width: 100%; margin-bottom: 0.75rem; }
.apply-card .deadline { font-size: 0.8rem; color: var(--text-muted); }

/* === CATEGORIES === */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.category-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition-slow);
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.category-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.category-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 0.75rem;
}
.category-name { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.25rem; }
.category-count { font-size: 0.8rem; color: var(--text-muted); }

/* === STATS === */
.stats-section { background: var(--primary); padding: 4rem 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.stat-item { text-align: center; color: white; }
.stat-icon { font-size: 2.5rem; margin-bottom: 0.75rem; opacity: 0.9; }
.stat-number { font-size: 2.5rem; font-weight: 800; line-height: 1; margin-bottom: 0.5rem; }
.stat-label { font-size: 0.9rem; opacity: 0.8; }

/* === COMPANIES === */
.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.company-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  padding: 1.5rem;
  transition: var(--transition-slow);
  text-decoration: none;
  display: block;
}
.company-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.company-card-header { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.company-logo {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--gray-100);
  flex-shrink: 0;
}
.company-name { font-size: 1rem; font-weight: 700; color: var(--text-primary); }
.company-industry { font-size: 0.8rem; color: var(--text-muted); }
.company-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #ecfdf5;
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}
.company-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.company-stats {
  display: flex;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.company-stat { font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.3rem; }

/* === MINI EMPLOIS (Petits emplois/informels) === */
.mini-jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.mini-job-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  padding: 1.25rem;
  transition: var(--transition-slow);
}
.mini-job-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
}
.mini-job-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.75rem; }
.mini-job-title { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); }
.mini-job-pay   { font-size: 0.9rem; font-weight: 700; color: var(--success); }
.mini-job-info  { font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.3rem; }

/* === PROFIL UTILISATEUR === */
.profile-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  padding: 2rem 0;
}
.profile-sidebar { position: sticky; top: 80px; height: fit-content; }
.profile-card { text-align: center; padding: 2rem; }
.profile-avatar-wrap { position: relative; width: 120px; height: 120px; margin: 0 auto 1rem; }
.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-light);
}
.profile-avatar-edit {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  border: 2px solid white;
}
.profile-name { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem; }
.profile-type {
  font-size: 0.8rem;
  color: white;
  background: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 0.75rem;
}
.profile-contact { font-size: 0.875rem; color: var(--text-muted); }
.profile-contact p { display: flex; align-items: center; justify-content: center; gap: 0.4rem; margin: 0.3rem 0; }

/* Barre de complétion du profil */
.completion-widget {
  margin: 1.25rem 0;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: var(--radius);
}
.completion-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.completion-label { font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); }
.completion-pct   { font-size: 0.8rem; font-weight: 700; color: var(--primary); }
.completion-bar   { height: 6px; background: var(--gray-200); border-radius: var(--radius-full); overflow: hidden; }
.completion-fill  {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: var(--radius-full);
  transition: width 0.5s ease;
}
.completion-items { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.3rem; }
.completion-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: var(--text-muted); }
.completion-item.done { color: var(--success); }
.completion-item i { width: 14px; text-align: center; }

.profile-nav { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.25rem; }
.profile-nav a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
}
.profile-nav a:hover,
.profile-nav a.active { color: var(--primary); background: var(--primary-light); }
.profile-nav a i { width: 18px; text-align: center; }

.profile-section { display: none; }
.profile-section.active { display: block; }
.profile-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.profile-section-title { font-size: 1.15rem; font-weight: 700; }

/* Compétences */
.skills-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
}
.skill-tag button { background: none; border: none; color: var(--primary); cursor: pointer; font-size: 0.75rem; line-height: 1; padding: 0; margin-left: 2px; }

/* Timeline expérience / formation */
.timeline { position: relative; padding-left: 1.5rem; }
.timeline::before { content: ''; position: absolute; left: 0.4rem; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 1.5rem; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.2rem;
  top: 0.4rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid white;
  box-shadow: 0 0 0 2px var(--primary);
}
.timeline-title       { font-size: 1rem; font-weight: 700; color: var(--text-primary); }
.timeline-subtitle    { font-size: 0.875rem; color: var(--primary); font-weight: 500; }
.timeline-period      { font-size: 0.8rem; color: var(--text-muted); margin: 0.25rem 0; }
.timeline-description { font-size: 0.875rem; color: var(--text-secondary); }
.timeline-actions     { margin-top: 0.5rem; display: flex; gap: 0.5rem; }

/* === AUTH PAGES === */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f4ff 0%, #faf5ff 100%);
  padding: 2rem 1rem;
}
.auth-wrapper { width: 100%; max-width: 460px; }
.auth-card {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 2.5rem;
  border: 1px solid var(--border);
}
.auth-header { text-align: center; margin-bottom: 2rem; }
.auth-logo    { font-size: 2rem; font-weight: 800; color: var(--primary); margin-bottom: 0.5rem; }
.auth-title   { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.4rem; }
.auth-subtitle { color: var(--text-muted); font-size: 0.9rem; }
.auth-divider {
  text-align: center;
  position: relative;
  margin: 1.5rem 0;
}
.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}
.auth-divider span {
  position: relative;
  background: var(--bg-primary);
  padding: 0 0.75rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.auth-footer { text-align: center; margin-top: 1.5rem; font-size: 0.9rem; }
.auth-footer a { color: var(--primary); font-weight: 600; }
.forgot-link { font-size: 0.85rem; color: var(--text-muted); }
.forgot-link:hover { color: var(--primary); }

/* === FORMULAIRE DE CANDIDATURE === */
.apply-page { padding: 2rem 0; }
.apply-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; }
.apply-progress { display: flex; align-items: center; margin-bottom: 2rem; }
.apply-step { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-muted); }
.apply-step .step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--gray-200);
  color: var(--gray-600);
}
.apply-step.active .step-num { background: var(--primary); color: white; }
.apply-step.done   .step-num { background: var(--success); color: white; }
.apply-step-line { flex: 1; height: 2px; background: var(--gray-200); margin: 0 0.5rem; }

/* === BADGE ONEM === */
.onem-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
}
.onem-verified { color: var(--success); font-size: 0.8rem; display: flex; align-items: center; gap: 0.3rem; }

/* === TESTIMONIALS === */
.testimonials-section { background: var(--gray-50); padding: 5rem 0; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.testimonial-quote  { font-size: 2rem; color: var(--primary); line-height: 1; margin-bottom: 1rem; }
.testimonial-text   { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; font-style: italic; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--primary-light); }
.testimonial-name   { font-weight: 700; font-size: 0.9rem; }
.testimonial-role   { font-size: 0.8rem; color: var(--text-muted); }
.stars { color: #f59e0b; font-size: 0.85rem; letter-spacing: 0.1em; }

/* === FAQ === */
.faq-section { padding: 5rem 0; }
.faq-list { max-width: 750px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: 0.75rem; overflow: hidden; }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition);
}
.faq-question:hover { background: var(--gray-50); }
.faq-question i { transition: transform 0.3s ease; color: var(--primary); flex-shrink: 0; }
.faq-item.open .faq-question { background: var(--primary-light); color: var(--primary); }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-answer p { padding: 1rem 0; color: var(--text-secondary); line-height: 1.7; font-size: 0.9rem; margin: 0; }
.faq-item.open .faq-answer { max-height: 500px; }

/* === CONTACT === */
.contact-page { padding: 3rem 0; }
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-info-panel {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}
.contact-info-panel h2 { color: white; margin-bottom: 0.5rem; }
.contact-info-panel p  { color: rgba(255,255,255,0.85); margin-bottom: 2rem; font-size: 0.95rem; }
.contact-info-items  { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info-item   { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-icon   {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-title  { font-size: 0.8rem; opacity: 0.7; margin-bottom: 0.2rem; }
.contact-info-value  { font-weight: 600; }
.contact-form-panel  {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

/* === PAGE À PROPOS === */
.about-hero {
  background: linear-gradient(135deg, #1e3a5f 0%, var(--primary) 100%);
  color: white;
  padding: 5rem 0;
  text-align: center;
}
.about-hero h1  { color: white; font-size: clamp(2rem, 4vw, 3rem); }
.about-hero p   { color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto; font-size: 1.1rem; }
.about-section  { padding: 5rem 0; }
.about-grid     { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image    { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); }
.about-image img { width: 100%; height: 400px; object-fit: cover; }
.about-content h2 { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.about-content p  { color: var(--text-secondary); line-height: 1.7; margin-bottom: 1rem; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.value-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1rem;
}
.value-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.value-text  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.team-card {
  text-align: center;
  padding: 2rem;
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: var(--transition-slow);
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }
.team-photo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; border: 3px solid var(--primary-light); }
.team-name  { font-weight: 700; margin-bottom: 0.25rem; }
.team-role  { font-size: 0.85rem; color: var(--primary); margin-bottom: 0.75rem; }
.team-bio   { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }

/* === FOOTER === */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 4rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand { color: white; font-size: 1.4rem; font-weight: 800; margin-bottom: 1rem; display: block; text-decoration: none; }
.footer-brand:hover { color: var(--primary-light); }
.footer-desc  { font-size: 0.875rem; line-height: 1.7; margin-bottom: 1.5rem; color: var(--gray-400); }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: white; }
.footer-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: white; margin-bottom: 1rem; }
.footer-links    { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a  { color: var(--gray-400); font-size: 0.875rem; transition: var(--transition); }
.footer-links a:hover { color: white; padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* === NOTIFICATIONS === */
.notification-dot    { width: 8px; height: 8px; background: var(--danger); border-radius: 50%; display: inline-block; }
.notification-badge  {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  background: var(--danger);
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

/* === PAGINATION === */
.pagination { display: flex; justify-content: center; gap: 0.3rem; margin-top: 2rem; }
.page-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-primary);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.875rem;
}
.page-btn:hover,
.page-btn.active  { background: var(--primary); color: white; border-color: var(--primary); }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* === FILTRES SIDEBAR === */
.filters-sidebar { background: var(--bg-primary); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 1.5rem; }
.filter-section { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.filter-section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.filter-title  { font-size: 0.875rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.filter-option { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.4rem; cursor: pointer; font-size: 0.875rem; color: var(--text-secondary); }
.filter-option input { accent-color: var(--primary); }
.filter-option:hover { color: var(--primary); }

/* === TABLEAU === */
.table-wrapper { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  padding: 0.75rem 1rem;
  background: var(--gray-50);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.data-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-secondary);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover    { background: var(--gray-50); }

/* === EMPTY STATE === */
.empty-state { text-align: center; padding: 4rem 2rem; }
.empty-state-icon  { font-size: 4rem; color: var(--gray-300); margin-bottom: 1rem; }
.empty-state-title { font-size: 1.25rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }
.empty-state-text  { color: var(--text-muted); max-width: 400px; margin: 0 auto 1.5rem; font-size: 0.9rem; }

/* === CHARGEMENT === */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton {
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
  background-size: 200% 100%;
  animation: skeleton-wave 1.5s ease-in-out infinite;
  border-radius: var(--radius);
}
@keyframes skeleton-wave { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* === TOOLTIPS === */
.tooltip-wrap { position: relative; }
.tooltip {
  position: absolute;
  bottom: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--gray-800);
  color: white;
  font-size: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 10;
}
.tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -4px;
  border: 4px solid transparent;
  border-top-color: var(--gray-800);
}
.tooltip-wrap:hover .tooltip { opacity: 1; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .footer-grid          { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .job-details-layout   { grid-template-columns: 1fr; }
  .job-sidebar          { order: -1; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .about-grid           { grid-template-columns: 1fr; }
  .profile-layout       { grid-template-columns: 1fr; }
  .profile-sidebar      { position: static; }
  .contact-wrapper      { grid-template-columns: 1fr; }
  .apply-layout         { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    overflow-y: auto;
    z-index: 999;
    box-shadow: var(--shadow-xl);
    gap: 0.25rem;
  }
  .nav-links.active     { display: flex; }
  .nav-links a          { width: 100%; padding: 0.75rem 1rem; font-size: 1rem; }
  .hamburger            { display: flex; }
  .nav-actions          { gap: 0.25rem; }
  .nav-actions .btn-sm  { padding: 0.4rem 0.65rem; font-size: 0.8rem; }

  .hero              { padding: 3rem 0 2.5rem; }
  .hero h1           { font-size: 1.75rem; }
  .hero-stats        { gap: 1.5rem; flex-wrap: wrap; }
  .hero-stat-number  { font-size: 1.5rem; }

  .search-form-inner { grid-template-columns: 1fr; }

  .jobs-grid         { grid-template-columns: 1fr; }
  .companies-grid    { grid-template-columns: 1fr; }
  .categories-grid   { grid-template-columns: repeat(2, 1fr); }
  .stats-grid        { grid-template-columns: repeat(2, 1fr); }

  .footer-grid       { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom     { flex-direction: column; gap: 0.5rem; text-align: center; }

  .section           { padding: 2.5rem 0; }

  .profile-layout    { grid-template-columns: 1fr; }
  .profile-nav       { flex-direction: row; overflow-x: auto; padding-bottom: 0.5rem; }

  .job-sidebar       { display: block; }
  .auth-card         { padding: 1.75rem; }
}

@media (max-width: 480px) {
  .container         { padding: 0 0.75rem; }
  .hero h1           { font-size: 1.5rem; }
  .section-title     { font-size: 1.3rem; }
  .categories-grid   { grid-template-columns: repeat(2, 1fr); }
  .btn-lg            { padding: 0.7rem 1.25rem; font-size: 0.9rem; }
}

/* === UTILITIES === */
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { display: flex; flex-direction: column; }
.gap-1 { gap: 0.25rem; } .gap-2 { gap: 0.5rem; } .gap-3 { gap: 0.75rem; } .gap-4 { gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.mt-1 { margin-top: 0.25rem; }  .mt-2 { margin-top: 0.5rem; }  .mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }     .mt-6 { margin-top: 1.5rem; }  .mt-8 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.25rem; } .mb-2 { margin-bottom: 0.5rem; } .mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }    .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; }
.p-2  { padding: 0.5rem; } .p-4  { padding: 1rem; }
.text-center    { text-align: center; }
.text-right     { text-align: right; }
.text-sm        { font-size: 0.875rem; }
.text-xs        { font-size: 0.75rem; }
.text-lg        { font-size: 1.125rem; }
.font-bold      { font-weight: 700; }
.font-semibold  { font-weight: 600; }
.text-muted     { color: var(--text-muted); }
.text-success   { color: var(--success); }
.text-danger    { color: var(--danger); }
.text-warning   { color: var(--warning); }
.text-primary-color { color: var(--primary); }
.w-full         { width: 100%; }
.hidden         { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* === IMPRESSION === */
@media print {
  .navbar, .footer, .btn, .hamburger { display: none; }
  body { background: white; font-size: 12px; }
  .card { box-shadow: none; border: 1px solid #ccc; }
}
