/* ══════════════════════════════════════════════════
   BMNS – Design System
   Palette: Dark Navy + Orange + Glass
   ══════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --navy:       #0A0F1E;
  --navy-2:     #111827;
  --navy-3:     #1E293B;
  --navy-4:     #2D3A4F;
  --orange:     #F97316;
  --orange-dk:  #EA6C0A;
  --orange-lt:  #FED7AA;
  --white:      #FFFFFF;
  --off-white:  #F1F5F9;
  --muted:      #94A3B8;
  --border:     rgba(255,255,255,.08);
  --glass:      rgba(255,255,255,.04);
  --glass-2:    rgba(255,255,255,.08);
  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  24px;
  --shadow:     0 8px 32px rgba(0,0,0,.4);
  --shadow-orange: 0 8px 24px rgba(249,115,22,.35);
}

/* ── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6 { font-family: 'Space Grotesk', sans-serif; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ── Scrollbar ──────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy-2); }
::-webkit-scrollbar-thumb { background: var(--navy-4); border-radius: 3px; }

/* ══ NAVBAR ════════════════════════════════════ */
.navbar {
  background: rgba(10,15,30,.85) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky; top: 0; z-index: 1000;
  transition: background .3s;
}
.navbar-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem; font-weight: 700;
  letter-spacing: .08em;
}
.brand-b { color: var(--orange); }
.brand-m, .brand-n, .brand-s { color: var(--white); }
.nav-link {
  color: var(--muted) !important;
  font-size: .88rem; font-weight: 500;
  transition: color .2s;
  padding: 6px 14px !important;
  border-radius: var(--radius-sm);
}
.nav-link:hover, .nav-link.active { color: var(--white) !important; }
.dropdown-menu {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: var(--shadow);
}
.dropdown-item {
  color: var(--muted); font-size: .88rem;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  transition: all .2s;
}
.dropdown-item:hover { background: var(--glass-2); color: var(--white); }
.dropdown-divider { border-color: var(--border); }
.btn-nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  border-radius: var(--radius-sm) !important;
  padding: 8px 20px !important;
  font-weight: 600; font-size: .88rem;
  transition: background .2s, transform .1s, box-shadow .2s;
}
.btn-nav-cta:hover {
  background: var(--orange-dk) !important;
  box-shadow: var(--shadow-orange);
  transform: translateY(-1px);
}
.avatar-sm {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-dk));
  color: var(--white); font-weight: 700; font-size: .78rem;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ── Messages toast ─────────────────────────── */
.messages-container {
  position: fixed; top: 80px; right: 20px;
  z-index: 2000; width: 360px;
}
.messages-container .alert {
  background: var(--navy-2);
  border: 1px solid var(--border);
  color: var(--off-white);
  border-radius: var(--radius);
  font-size: .88rem;
}
.messages-container .alert-success { border-left: 3px solid #22C55E; }
.messages-container .alert-warning { border-left: 3px solid var(--orange); }
.messages-container .alert-danger  { border-left: 3px solid #EF4444; }
.messages-container .alert-info    { border-left: 3px solid #3B82F6; }

/* ══ HERO ═══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,15,30,.3) 0%, rgba(10,15,30,.7) 50%, rgba(10,15,30,1) 100%),
    url('https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?w=1600&q=80') center/cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(249,115,22,.12) 0%, transparent 60%);
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(249,115,22,.12);
  border: 1px solid rgba(249,115,22,.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: .78rem; font-weight: 600;
  color: var(--orange); letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700; line-height: 1.1;
  color: var(--white);
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--orange), #FBBF24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { color: var(--muted); font-size: 1.05rem; margin-top: 16px; max-width: 480px; }
.hero-stats { display: flex; gap: 32px; margin-top: 32px; }
.hero-stat-val { font-family: 'Space Grotesk', sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--white); }
.hero-stat-lbl { font-size: .75rem; color: var(--muted); }

/* ══ SEARCH CARD (glassmorphism) ════════════════ */
.search-glass {
  background: rgba(17,24,39,.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.search-glass h5 {
  font-size: 1.1rem; font-weight: 600; color: var(--white); margin-bottom: 20px;
}
.search-glass .form-label {
  font-size: .75rem; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px;
}
.search-glass .form-control,
.search-glass .form-select {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  padding: 11px 14px;
  font-size: .92rem;
  transition: border-color .2s, background .2s;
}
.search-glass .form-control::placeholder { color: var(--muted); }
.search-glass .form-control:focus,
.search-glass .form-select:focus {
  border-color: var(--orange);
  background: rgba(249,115,22,.06);
  box-shadow: 0 0 0 3px rgba(249,115,22,.12);
  color: var(--white);
  outline: none;
}
.search-glass .form-select option { background: var(--navy-2); color: var(--white); }
.btn-search-main {
  background: linear-gradient(135deg, var(--orange), var(--orange-dk));
  color: var(--white);
  border: none; border-radius: var(--radius-sm);
  padding: 13px 28px; font-weight: 700;
  font-size: .95rem; width: 100%;
  transition: transform .15s, box-shadow .2s;
  cursor: pointer;
}
.btn-search-main:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}

/* ══ SECTION STYLES ═════════════════════════════ */
.section-dark { background: var(--navy); padding: 80px 0; }
.section-darker { background: var(--navy-2); padding: 80px 0; }
.section-eyebrow {
  font-size: .75rem; font-weight: 600; color: var(--orange);
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 10px; display: block;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; color: var(--white);
}
.section-sub { color: var(--muted); font-size: 1rem; margin-top: 10px; }

/* ══ STEPS (Comment réserver) ═══════════════════ */
.step-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s, background .2s;
}
.step-item:hover { border-color: rgba(249,115,22,.3); background: rgba(249,115,22,.04); }
.step-num {
  flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-dk));
  color: var(--white); font-weight: 700; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
}
.step-title { font-size: .95rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.step-desc { font-size: .85rem; color: var(--muted); }

/* ══ SERVICE CARDS ═══════════════════════════════ */
.service-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all .25s;
  height: 100%;
}
.service-card:hover {
  border-color: rgba(249,115,22,.4);
  background: rgba(249,115,22,.06);
  transform: translateY(-4px);
}
.service-icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: rgba(249,115,22,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 16px;
}
.service-card h6 { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.service-card p { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.link-orange { color: var(--orange); font-size: .85rem; font-weight: 600; transition: gap .2s; }
.link-orange:hover { color: var(--orange-dk); }

/* ══ TRAJET CARDS ════════════════════════════════ */
.trajet-card {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all .25s;
}
.trajet-card:hover {
  border-color: rgba(249,115,22,.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.ville-label { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.ville-nom { font-size: 1.1rem; font-weight: 700; color: var(--white); }
.arrow-route { color: var(--orange); font-size: 1.2rem; }
.prix-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem; font-weight: 700; color: var(--orange);
}
.places-badge {
  font-size: .73rem; padding: 4px 10px;
  border-radius: 100px; font-weight: 600;
  background: rgba(34,197,94,.12); color: #22C55E;
}
.places-badge.low { background: rgba(234,179,8,.12); color: #EAB308; }
.places-badge.full { background: rgba(239,68,68,.12); color: #EF4444; }
.compagnie-badge {
  font-size: .72rem; padding: 3px 8px;
  border-radius: 4px; font-weight: 500;
  background: var(--glass-2); color: var(--muted);
  border: 1px solid var(--border);
}

/* ══ STAT CARDS (dashboard) ══════════════════════ */
.stat-card {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.stat-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.stat-value { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 700; color: var(--white); }
.stat-label { font-size: .8rem; color: var(--muted); }

/* ══ BADGE STATUTS ═══════════════════════════════ */
.badge-statut {
  padding: 4px 12px; border-radius: 100px;
  font-size: .73rem; font-weight: 600; display: inline-block;
}
.statut-payee     { background: rgba(34,197,94,.12);  color: #22C55E; }
.statut-confirmee { background: rgba(59,130,246,.12); color: #60A5FA; }
.statut-en_attente { background: rgba(234,179,8,.12);  color: #EAB308; }
.statut-annulee   { background: rgba(239,68,68,.12);  color: #F87171; }
.statut-programme { background: rgba(59,130,246,.12); color: #60A5FA; }
.statut-en_cours  { background: rgba(234,179,8,.12);  color: #EAB308; }
.statut-termine   { background: rgba(148,163,184,.12); color: var(--muted); }

/* ══ BILLET ══════════════════════════════════════ */
.billet-wrap {
  max-width: 540px; margin: 0 auto;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.billet-header {
  background: linear-gradient(135deg, #0A0F1E 0%, #1a2744 50%, #0f1f3d 100%);
  padding: 40px; text-align: center; position: relative;
}
.billet-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(249,115,22,.2) 0%, transparent 60%);
}
.billet-body { background: var(--navy-2); padding: 32px; }
.ref-code {
  font-family: 'Space Grotesk', monospace;
  font-size: 1.8rem; font-weight: 700;
  letter-spacing: .14em; color: var(--orange);
}
.billet-divider {
  display: flex; align-items: center; gap: 0;
  margin: 24px -32px; position: relative;
}
.billet-divider::before {
  content: '';
  flex: 1; border-top: 2px dashed var(--border);
}
.billet-divider::after {
  content: '';
  flex: 1; border-top: 2px dashed var(--border);
}
.billet-circle {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--navy); flex-shrink: 0;
}

/* ══ FORMS ═══════════════════════════════════════ */
.form-page { min-height: 85vh; display: flex; align-items: center; padding: 60px 0; }
.form-card {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-card .form-label {
  font-size: .78rem; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: .05em;
}
.form-card .form-control,
.form-card .form-select,
.form-control-dark,
.form-select-dark {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--off-white);
  padding: 11px 14px;
  transition: border-color .2s, background .2s;
}
.form-card .form-control::placeholder { color: var(--muted); }
.form-card .form-control:focus,
.form-card .form-select:focus {
  border-color: var(--orange);
  background: rgba(249,115,22,.05);
  box-shadow: 0 0 0 3px rgba(249,115,22,.1);
  color: var(--off-white);
  outline: none;
}
.form-card .form-select option { background: var(--navy-2); }

/* ══ BUTTONS ══════════════════════════════════════ */
.btn-primary-orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-dk));
  color: var(--white); border: none;
  border-radius: var(--radius-sm);
  padding: 12px 28px; font-weight: 700; font-size: .92rem;
  transition: transform .15s, box-shadow .2s;
  cursor: pointer; display: inline-block;
}
.btn-primary-orange:hover {
  color: var(--white);
  transform: translateY(-2px); box-shadow: var(--shadow-orange);
}
.btn-ghost {
  background: transparent;
  color: var(--muted); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 24px; font-weight: 500; font-size: .9rem;
  transition: all .2s; display: inline-block;
}
.btn-ghost:hover { border-color: var(--muted); color: var(--white); }
.btn-full { width: 100%; text-align: center; }

/* ══ PAYS CAROUSEL ════════════════════════════════ */
.pays-slide {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; height: 380px;
}
.pays-slide img { width: 100%; height: 100%; object-fit: cover; }
.pays-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,15,30,.95) 0%, transparent 50%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px;
}

/* ══ TABLE DARK ═══════════════════════════════════ */
.table-dark-custom { width: 100%; border-collapse: collapse; }
.table-dark-custom th {
  font-size: .73rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted); font-weight: 600; padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.table-dark-custom td {
  padding: 14px 16px; font-size: .88rem;
  border-bottom: 1px solid rgba(255,255,255,.04);
  color: var(--off-white);
}
.table-dark-custom tr:hover td { background: var(--glass); }

/* ══ SIDEBAR GESTION ══════════════════════════════ */
.sidebar-info {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky; top: 90px;
}

/* ══ PAY CARDS ════════════════════════════════════ */
.pay-option { display: block; cursor: pointer; }
.pay-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px; text-align: center;
  background: var(--glass);
  transition: all .2s;
}
.pay-radio:checked ~ .pay-card,
.pay-radio:checked + .pay-card {
  border-color: var(--orange);
  background: rgba(249,115,22,.08);
}

/* ══ PROGRESS ═════════════════════════════════════ */
.progress { height: 6px; border-radius: 3px; background: var(--navy-3); }
.progress-bar { background: linear-gradient(90deg, var(--orange), #FBBF24); }

/* ══ FOOTER ═══════════════════════════════════════ */
.site-footer { background: var(--navy-2); border-top: 1px solid var(--border); padding: 60px 0 28px; }
.footer-brand { font-size: 1.3rem; font-weight: 700; letter-spacing: .08em; }
.footer-desc { color: var(--muted); font-size: .85rem; margin-top: 10px; line-height: 1.7; }
.footer-heading { font-size: .73rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer-link { display: block; color: var(--muted); font-size: .85rem; margin-bottom: 8px; transition: color .2s; }
.footer-link:hover { color: var(--orange); }
.footer-social {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--glass);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: .9rem; transition: all .2s;
}
.footer-social:hover { border-color: var(--orange); color: var(--orange); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; margin-top: 40px; }
.badge-pay {
  background: var(--glass); border: 1px solid var(--border);
  color: var(--muted); border-radius: var(--radius-sm);
  padding: 4px 10px; font-size: .73rem; font-weight: 500;
}

/* ══ SEARCH PAGE ══════════════════════════════════ */
.filter-panel {
  background: var(--navy-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  position: sticky; top: 90px;
}
.filter-panel .form-label {
  font-size: .73rem; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: .05em;
}
.filter-panel .form-control,
.filter-panel .form-select {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--off-white); padding: 10px 14px;
}
.filter-panel .form-control:focus { border-color: var(--orange); outline: none; box-shadow: none; color: var(--white); }
.filter-panel .form-control::placeholder { color: var(--muted); }

/* ══ MAP SECTION ══════════════════════════════════ */
.map-card {
  border-radius: var(--radius-lg); overflow: hidden;
  height: 340px; background: var(--navy-3);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  position: relative;
}
.map-placeholder { color: var(--muted); text-align: center; }

/* ══ MISC UTILS ═══════════════════════════════════ */
.text-orange { color: var(--orange) !important; }
.text-muted-custom { color: var(--muted); }
.divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
.glow-orange { box-shadow: 0 0 40px rgba(249,115,22,.15); }
.clip-text {
  background: linear-gradient(135deg, var(--orange), #FBBF24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 768px) {
  .hero { min-height: 70vh; }
  .hero-stats { gap: 20px; }
  .search-glass { padding: 20px; border-radius: var(--radius); }
  .form-card { padding: 24px; }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — Media Queries complètes
   ══════════════════════════════════════════════════ */

/* ── Tablette (≤ 992px) ─────────────────────────── */
@media (max-width: 992px) {
  /* Hero */
  .hero { min-height: 75vh; }
  .hero-sub { font-size: .95rem; }
  .hero-stats { gap: 24px; }
  .hero-stat-val { font-size: 1.5rem; }

  /* Sidebar & filter panel : plus de sticky, devient normal */
  .filter-panel,
  .sidebar-info { position: static; top: auto; margin-bottom: 24px; }

  /* Dashboard stats : 2 colonnes */
  .stat-value { font-size: 1.6rem; }

  /* Pays slide */
  .pays-slide { height: 280px; }
}

/* ── Mobile (≤ 768px) ───────────────────────────── */
@media (max-width: 768px) {
  /* ─ Espacements globaux ─ */
  .section-dark,
  .section-darker { padding: 48px 0; }

  /* ─ Hero ─ */
  .hero { min-height: 60vh; padding: 40px 0; }
  .hero-eyebrow { font-size: .7rem; padding: 5px 12px; }
  .hero-sub { max-width: 100%; font-size: .9rem; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero-stat-val { font-size: 1.4rem; }
  .hero-stat-lbl { font-size: .7rem; }

  /* ─ Search glass ─ */
  .search-glass { padding: 20px; border-radius: var(--radius); margin-top: 24px; }

  /* ─ Navbar ─ */
  .navbar { padding: 12px 0; }
  .navbar-brand { font-size: 1.2rem; }

  /* ─ Messages toast : pleine largeur ─ */
  .messages-container {
    width: calc(100% - 24px);
    right: 12px;
    top: 70px;
  }

  /* ─ Form cards ─ */
  .form-card { padding: 20px 16px; border-radius: var(--radius); }
  .form-page { padding: 32px 0; min-height: auto; }

  /* ─ Trajet cards ─ */
  .trajet-card { padding: 16px; }
  .prix-badge { font-size: 1.2rem; }
  .ville-nom { font-size: .95rem; }

  /* ─ Tables : scroll horizontal ─ */
  .table-responsive-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table-dark-custom { min-width: 600px; }
  .table-dark-custom th,
  .table-dark-custom td { padding: 10px 12px; font-size: .82rem; }

  /* ─ Stat cards dashboard ─ */
  .stat-card { padding: 16px; }
  .stat-value { font-size: 1.4rem; }
  .stat-icon { width: 40px; height: 40px; font-size: 1.1rem; }

  /* ─ Billet ─ */
  .billet-header { padding: 28px 20px; }
  .billet-body { padding: 20px 16px; }
  .ref-code { font-size: 1.4rem; letter-spacing: .08em; }
  .billet-divider { margin: 20px -16px; }
  .billet-wrap { border-radius: var(--radius); }

  /* ─ Service cards ─ */
  .service-card { padding: 20px; }

  /* ─ Steps ─ */
  .step-item { padding: 16px; gap: 14px; }
  .step-num { width: 34px; height: 34px; font-size: .82rem; }

  /* ─ Sidebar info ─ */
  .sidebar-info { position: static; padding: 16px; margin-bottom: 20px; }

  /* ─ Filter panel ─ */
  .filter-panel { position: static; padding: 16px; margin-bottom: 20px; }

  /* ─ Pays slide ─ */
  .pays-slide { height: 220px; }
  .pays-overlay { padding: 20px; }

  /* ─ Footer ─ */
  .site-footer { padding: 40px 0 20px; }
  .footer-brand { font-size: 1.1rem; }
  .footer-desc { font-size: .82rem; }

  /* ─ Boutons full width sur mobile ─ */
  .btn-mobile-full { width: 100% !important; text-align: center; margin-bottom: 8px; }

  /* ─ Sections padding ─ */
  [style*="padding:60px 0"],
  [style*="padding:80px 0"],
  [style*="padding:40px 0"] { padding: 32px 0 !important; }

  /* ─ Pay cards : 2 colonnes ─ */
  .pay-card { padding: 14px 10px; }

  /* ─ Dashboard header ─ */
  [style*="padding:40px 0 24px"] { padding: 24px 0 16px !important; }

  /* ─ Stat section eyebrow ─ */
  .section-eyebrow { font-size: .7rem; }
}

/* ── Très petit mobile (≤ 480px) ───────────────── */
@media (max-width: 480px) {
  /* Hero encore plus compact */
  .hero { min-height: 50vh; }
  .hero-stats { gap: 12px; }
  .hero-stat-val { font-size: 1.2rem; }

  /* Formulaires */
  .form-card { padding: 16px 12px; }

  /* Search glass */
  .search-glass { padding: 16px; }

  /* Billet */
  .ref-code { font-size: 1.2rem; }

  /* Stats dashboard : 1 colonne sur très petit écran */
  .stat-value { font-size: 1.2rem; }

  /* Navbar brand encore plus petit */
  .navbar-brand { font-size: 1.05rem; }

  /* Boutons */
  .btn-primary-orange,
  .btn-ghost { padding: 10px 18px; font-size: .85rem; }

  /* Messages */
  .messages-container { width: calc(100% - 16px); right: 8px; }

  /* Trajet card route */
  .arrow-route { font-size: 1rem; }
  .ville-nom { font-size: .88rem; }
  .prix-badge { font-size: 1.05rem; }
}

/* ── Utilitaires responsive Bootstrap-like ──────── */
@media (max-width: 768px) {
  .d-mobile-none { display: none !important; }
  .d-mobile-block { display: block !important; }
  .text-mobile-center { text-align: center !important; }
  .mt-mobile-3 { margin-top: 16px !important; }
  .gap-mobile-2 { gap: 8px !important; }
}
