/* ============================================================================
   COMPONENTS — NaviCab
   Boutons, cards, inputs, badges, formulaires
   ============================================================================ */

/* ===== RESET LOCAL ===== */
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================================================
   BOUTONS
   ============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  line-height: 1;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  min-height: 44px;
}

.btn:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Primary */
.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-primary);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  font-weight: var(--fw-bold);
}
@media (hover: hover) {
  
  .btn--primary:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary-light);
    box-shadow: 0 4px 15px rgba(29, 216, 127, 0.4);
  }
}

.btn:active,
.btn-gps-locate:active,
.header__drawer-link:active,
.footer-app-btn:active {
  transform: scale(0.96);
}

/* Secondary */
.btn--secondary {
  background: var(--color-surface);
  color: var(--color-text-primary);
  border-color: var(--color-border-strong);
}
@media (hover: hover) {
  
  .btn--secondary:hover {
    background: var(--color-surface-alt);
    border-color: var(--color-text-primary);
  }
}

/* Ghost (transparent) */
.btn--ghost {
  background: transparent;
  color: var(--color-text-inverse);
  border-color: var(--color-text-inverse);
}
@media (hover: hover) {
  
  .btn--ghost:hover {
    background: var(--color-text-inverse);
    color: var(--color-primary);
  }
}

/* Outline */
.btn--outline {
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}
@media (hover: hover) {
  
  .btn--outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-primary);
    color: var(--color-primary);
  }
}

/* Accent */
.btn--accent {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
}
@media (hover: hover) {
  
  .btn--accent:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
  }
}

/* Tailles */
.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--fs-sm);
  min-height: 36px;
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--fs-lg);
  min-height: 52px;
}

.btn--xl {
  padding: var(--space-5) var(--space-10);
  font-size: var(--fs-xl);
  min-height: 60px;
  border-radius: var(--radius-xl);
}

.btn--block {
  display: flex;
  width: 100%;
}

/* Désactivé */
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================================================
   INPUTS & FORMULAIRES
   ============================================================================ */
.input,
.input-group input,
.input-group select,
.input-group textarea {
  display: block;
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--color-text-primary);
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out);
  min-height: 44px;
}

.input:focus,
.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.input::placeholder {
  color: var(--color-text-tertiary);
}

.input--error {
  border-color: var(--color-error);
}

.input--error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.input-group {
  margin-bottom: var(--space-4);
}

.input-group label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
}

.input-group .error-msg {
  display: block;
  margin-top: var(--space-1);
  font-size: var(--fs-xs);
  color: var(--color-error);
}

/* Chrome / WebKit Autofill Dark Background Override */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #0e1511 inset !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff;
  transition: background-color 5000s ease-in-out 0s;
}

/* ============================================================================
   CARDS
   ============================================================================ */
/* ============================================================================
   GLASSMORPHISM & PREMIUM UI ENHANCEMENTS
   ============================================================================ */
.glass-booking {
  background: rgba(11, 19, 43, 0.75) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(29, 216, 127, 0.22) !important;
  border-radius: 24px !important;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6), 0 0 30px rgba(29, 216, 127, 0.08) !important;
  transition: all 0.3s ease !important;
}
@media (hover: hover) {
  
  .glass-booking:hover {
    border-color: rgba(29, 216, 127, 0.35) !important;
    box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.7), 0 0 45px rgba(29, 216, 127, 0.15) !important;
  }
}

.glass-input-wrapper {
  transition: all 0.25s ease;
}

.glass-input-wrapper:focus-within {
}

.glass-input-wrapper input:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 18px rgba(29, 216, 127, 0.25) !important;
}

.veh-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
@media (hover: hover) {
  
  .veh-card:hover {
    border-color: rgba(29, 216, 127, 0.4) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(29, 216, 127, 0.1) !important;
  }
}

.veh-card.is-active {
  background: linear-gradient(135deg, rgba(29, 216, 127, 0.12), rgba(16, 185, 129, 0.04)) !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(29, 216, 127, 0.25) !important;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  transition: all var(--duration-normal) var(--ease-out);
}
@media (hover: hover) {
  
  .card:hover {
    box-shadow: var(--shadow-xl);
  }
}

.card--featured {
  border: 2px solid var(--color-secondary);
  position: relative;
}

.card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--space-1) var(--space-4);
  background: var(--color-secondary);
  color: var(--color-text-inverse);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
}

.card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-6);
}

.card__title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-2);
  color: var(--color-text-primary);
}

.card__icon-wrapper {
  width: 64px;
  height: 64px;
  background: rgba(29, 216, 127, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  border: 1px solid rgba(29, 216, 127, 0.2);
  box-shadow: 0 0 20px rgba(29, 216, 127, 0.2);
}

.section--dark .card__icon-wrapper {
  background: rgba(29, 216, 127, 0.15);
}

.card__subtitle {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

/* Dark Section Cards */
.section--dark .card {
  background: rgba(25, 25, 25, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
@media (hover: hover) {
  
  .section--dark .card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
}

.section--dark .card__title {
  color: #ffffff;
}

.section--dark .card__subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.section--dark .card--featured {
  border-color: var(--color-primary);
  background: rgba(29, 216, 127, 0.05);
}

.section--dark .card--featured .card__badge {
  background: var(--color-primary);
  color: #0A0A0A;
}

.card__price {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-secondary);
  margin-bottom: var(--space-6);
}

.card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6) 0;
}

.card__features li {
  padding: var(--space-2) 0;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.section--dark .card__features li {
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================================================
   BADGES
   ============================================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
}

.badge--featured {
  background: var(--color-secondary);
  color: var(--color-text-inverse);
}

.badge--success {
  background: var(--color-success);
  color: var(--color-text-inverse);
}

.badge--info {
  background: var(--color-info);
  color: var(--color-text-inverse);
}

.badge--warning {
  background: var(--color-warning);
  color: var(--color-text-primary);
}

.badge--blue {
  background-color: var(--color-accent-blue);
  color: #1A365D;
}

.badge--mint {
  background-color: var(--color-accent-mint);
  color: #064E3B;
}

/* ============================================================================
   ALERTES / FLASH MESSAGES
   ============================================================================ */
.alert {
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  font-weight: var(--fw-medium);
  border-left: 4px solid;
}

.alert--success {
  background: #ECFDF5;
  color: #065F46;
  border-color: var(--color-success);
}

.alert--error {
  background: #FEF2F2;
  color: #991B1B;
  border-color: var(--color-error);
}

.alert--info {
  background: #EFF6FF;
  color: #1E40AF;
  border-color: var(--color-info);
}

.alert--warning {
  background: #FFFBEB;
  color: #92400E;
  border-color: var(--color-warning);
}

/* ============================================================================
   LOADER / SPINNER
   ============================================================================ */
.spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-secondary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.skeleton {
  background: linear-gradient(
    90deg,
    var(--color-surface-alt) 0%,
    var(--color-border) 50%,
    var(--color-surface-alt) 100%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-md);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================================
   UTILITAIRES
   ============================================================================ */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.font-bold   { font-weight: var(--fw-bold); }
.font-black  { font-weight: var(--fw-black); }

.text-primary   { color: var(--color-text-primary); }
.text-secondary { color: var(--color-text-secondary); }
.text-tertiary  { color: var(--color-text-tertiary); }
.text-inverse   { color: var(--color-text-inverse); }
.text-accent    { color: var(--color-secondary); }

.bg-primary  { background-color: var(--color-primary); }
.bg-surface  { background-color: var(--color-surface); }
.bg-alt      { background-color: var(--color-bg-alt); }

.hidden { display: none !important; }
.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;
}

/* ============================================================================
   PHONE MOCKUP
   ============================================================================ */
.mockup-phone {
  position: relative;
  width: 320px;
  height: 650px;
  margin: 0 auto;
  animation: float-phone 6s ease-in-out infinite;
  filter: drop-shadow(-20px 30px 40px rgba(0,0,0,0.8));
  /* Pure CSS Frame */
  background-color: #000;
  border-radius: 44px;
  border: 12px solid #1a1a1a;
  box-shadow: inset 0 0 0 2px #333;
  overflow: hidden;
}

/* Dynamic Island / Notch */
.mockup-phone::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 30px;
  background-color: #1a1a1a;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  z-index: 10;
}

.mockup-phone__screen {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 30px;
  object-fit: cover !important;
  z-index: 1;
}

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

/* ============================================================================
   EXTRAITS DE LA PAGE D'ACCUEIL & FOOTER
   ============================================================================ */
@media (max-width: 480px) {
  #map_canvas {
    height: 185px !important;
  }
  #step-vehicles {
    padding: 1.1rem !important;
    gap: 0.9rem !important;
  }
  #single-price-value {
    font-size: 1.9rem !important;
  }
}
@media (hover: hover) {
  
  .btn-gps-locate:hover {
    color: var(--color-success) !important;
  }
}

.hover-lift-sm {
  transition: transform 0.2s ease !important;
}
@media (hover: hover) {
  .hover-lift-sm:hover {
  }
}

.hover-cta-green {
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
@media (hover: hover) {
  .hover-cta-green:hover {
    box-shadow: 0 15px 30px rgba(29, 216, 127, 0.3) !important;
  }
}

.hover-cta-white {
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
@media (hover: hover) {
  .hover-cta-white:hover {
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2) !important;
  }
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-social-link {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) {
  .footer-social-link:hover {
    background: rgba(29, 216, 127, 0.15);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(29, 216, 127, 0.3);
  }
}

.footer-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
@media (hover: hover) {
  .footer-link:hover {
    color: var(--color-text-inverse);
  }
}

.footer-app-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-text-inverse);
  padding: 10px 16px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  width: max-content;
}
@media (hover: hover) {
  .footer-app-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
  }
}

.footer-credit-link {
  color: var(--color-text-inverse);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}
@media (hover: hover) {
  .footer-credit-link:hover {
    color: var(--color-primary);
  }
}

.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  color: #060907;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(29, 216, 127, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (hover: hover) {
  .scroll-top-btn:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 12px 32px rgba(29, 216, 127, 0.65);
    color: #000000;
  }
}

.scroll-top-btn:active {
  transform: translateY(-1px) scale(0.96);
}

@media (max-width: 680px) {
  .scroll-top-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
  }
}

/* ============================================================================
   AUTOCOMPLETE DROPDOWN & QUICK CHIPS
   ============================================================================ */
.glass-booking__group {
  position: relative;
}
.glass-booking__group:focus-within,
.glass-booking__group:has(.autocomplete-dropdown[style*="display: block"]) {
  z-index: 1000;
}
.glass-input-wrapper {
  position: relative;
  z-index: 1;
}
.glass-input-wrapper:focus-within {
  z-index: 2000;
}

.autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #0B120E !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(29, 216, 127, 0.45) !important;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 25px rgba(29, 216, 127, 0.18);
  max-height: 240px;
  overflow-y: auto;
  z-index: 99999 !important;
  display: none;
  padding: 6px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(29, 216, 127, 0.4) transparent;
  animation: autocompleteFadeIn 0.15s ease-out;
}

@keyframes autocompleteFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.autocomplete-dropdown::-webkit-scrollbar {
  width: 6px;
}
.autocomplete-dropdown::-webkit-scrollbar-thumb {
  background: rgba(29, 216, 127, 0.4);
  border-radius: 3px;
}

.autocomplete-item {
  padding: 11px 16px;
  font-size: 0.88rem;
  color: #F8FAFC;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.15s ease;
  line-height: 1.35;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.autocomplete-item:last-child {
  border-bottom: none;
}
.autocomplete-item:hover,
.autocomplete-item.is-focused,
.autocomplete-item:active {
  background: rgba(29, 216, 127, 0.18) !important;
  color: #FFFFFF !important;
}

.autocomplete-item i {
  color: var(--color-primary, #1DD87F);
  font-size: 0.9rem;
  flex-shrink: 0;
  opacity: 0.9;
  transition: transform 0.15s ease;
}

.autocomplete-item:hover i,
.autocomplete-item.is-focused i,
.autocomplete-item:active i {
  opacity: 1;
  transform: scale(1.15);
}

.autocomplete-item span {
  flex: 1;
  white-space: normal;
  word-break: break-word;
}

@media (max-width: 768px) {
  .glass-input {
    font-size: 16px !important; /* Empêche tout zoom ou décalage iOS Safari */
  }
  .glass-input-wrapper {
    height: 52px !important;
    padding: 0 0.85rem !important;
    border-radius: 14px !important;
  }
  .input-action-btn {
    width: 34px !important;
    height: 34px !important;
    border-radius: 9px !important;
    font-size: 0.88rem !important;
  }
  .autocomplete-dropdown {
    top: calc(100% + 4px) !important;
    max-height: min(240px, 44vh) !important;
    border-radius: 14px !important;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.95), 0 0 24px rgba(29, 216, 127, 0.25) !important;
    -webkit-overflow-scrolling: touch;
  }
  .autocomplete-item {
    padding: 13px 15px !important;
    font-size: 0.88rem !important;
    min-height: 48px !important;
    touch-action: manipulation;
  }
  .autocomplete-item:active {
    background: rgba(29, 216, 127, 0.28) !important;
    transform: scale(0.99);
  }
  .quick-chip {
    padding: 7px 13px !important;
    font-size: 0.82rem !important;
    min-height: 34px !important;
    touch-action: manipulation;
  }
}

/* Quick Destinations Chips */
.quick-destinations {
  margin-top: -0.25rem;
  margin-bottom: 0.5rem;
}

.quick-dest-title {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.45rem;
  font-weight: 600;
}

.quick-dest-title i {
  color: var(--color-primary, #1DD87F);
  margin-right: 4px;
}

.quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.quick-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.quick-chip:hover {
  background: rgba(29, 216, 127, 0.12);
  border-color: rgba(29, 216, 127, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(29, 216, 127, 0.15);
}

.quick-chip.is-selected {
  background: var(--color-primary, #1DD87F);
  color: #0d120f;
  border-color: var(--color-primary, #1DD87F);
  font-weight: 600;
}

/* ============================================================================
   LANGUAGE SWITCHER (FR / EN) — NaviCab Ultra-Fluid Pill
   ============================================================================ */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 3px 4px;
  gap: 2px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  user-select: none;
}

.lang-switcher:hover {
  border-color: rgba(29, 216, 127, 0.35);
  box-shadow: 0 4px 14px rgba(29, 216, 127, 0.15);
}

.lang-switcher__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 11px;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  text-decoration: none;
  line-height: 1;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 24px;
}

.lang-switcher__btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.lang-switcher__btn.is-active {
  background: linear-gradient(135deg, #1DD87F 0%, #15B86C 100%);
  color: #041B0E;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(29, 216, 127, 0.4);
  pointer-events: none;
}

.lang-switcher__divider {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.12);
  display: none;
}

/* ============================================================================
   SIDEBAR DRAWER LANGUAGE SELECTOR — NaviCab Scalable Accordion / Dropdown
   (Supports 2, 3, 4+ languages seamlessly with zero layout disruption)
   ============================================================================ */
.drawer-lang-module {
  margin: 0.75rem 0 0.85rem;
  width: 100%;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.drawer-lang-module.is-open {
  background: rgba(11, 26, 18, 0.75);
  border-color: rgba(29, 216, 127, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 15px rgba(29, 216, 127, 0.12);
}

.drawer-lang-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.95rem;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  box-sizing: border-box;
  user-select: none;
  transition: background 0.2s ease;
}

.drawer-lang-bar:hover,
.drawer-lang-bar:active {
  background: rgba(255, 255, 255, 0.04);
}

.drawer-lang-bar__left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.drawer-lang-bar__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(29, 216, 127, 0.12);
  color: #1DD87F;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.drawer-lang-bar__label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
}

.drawer-lang-bar__right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.drawer-lang-bar__current {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 3px 9px 3px 5px;
}

.drawer-lang-bar__current-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #FFFFFF;
}

.drawer-lang-bar__chevron {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.drawer-lang-module.is-open .drawer-lang-bar__chevron {
  transform: rotate(180deg);
  color: #1DD87F;
}

.drawer-lang-collapse {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.drawer-lang-module.is-open .drawer-lang-collapse {
  max-height: 380px;
  opacity: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-lang-options {
  display: flex;
  flex-direction: column;
  padding: 0.45rem;
  gap: 0.35rem;
}

.drawer-lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid transparent;
  transition: all 0.2s ease;
  user-select: none;
}

.drawer-lang-option:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(2px);
}

.drawer-lang-option.is-active {
  background: rgba(29, 216, 127, 0.14);
  border-color: rgba(29, 216, 127, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.drawer-lang-option__info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.drawer-lang-option__name {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFFFFF;
}

.drawer-lang-option__code {
  font-size: 0.68rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

.drawer-lang-option.is-active .drawer-lang-option__code {
  color: #1DD87F;
  background: rgba(29, 216, 127, 0.18);
}

.drawer-lang-option__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1DD87F;
  color: #041B0E;
  font-size: 0.68rem;
  font-weight: 900;
  box-shadow: 0 0 10px rgba(29, 216, 127, 0.6);
  flex-shrink: 0;
}

.drawer-lang-option__radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.drawer-lang-option:hover .drawer-lang-option__radio {
  border-color: rgba(29, 216, 127, 0.5);
}

.lang-flag-svg {
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
  vertical-align: middle;
}

/* Hide header lang switcher on mobile & tablet (< 1024px) */
@media (max-width: 1024px) {
  .lang-switcher--header,
  .header .lang-switcher--header,
  .header__actions .lang-switcher--header {
    display: none !important;
  }
}



