/* ================================================================
   STAF-SG — Système bilingue FR/EN
   ================================================================ */

/* Bouton de bascule langue */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 600;
  color: white;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.lang-switcher:hover {
  background: rgba(255,255,255,0.22);
}
.lang-switcher-flag { font-size: 1rem; line-height: 1; }
.lang-switcher-text { letter-spacing: 0.04em; }

/* Affichage conditionnel des langues */
[data-lang="en"] { display: none; }
[data-lang="fr"] { display: block; }

/* Pour les éléments inline (span, a, etc.) */
span[data-lang="en"], a[data-lang="en"],
li[data-lang="en"], td[data-lang="en"] { display: none; }
span[data-lang="fr"], a[data-lang="fr"],
li[data-lang="fr"], td[data-lang="fr"] { display: inline; }

/* Mode anglais actif */
body.lang-en [data-lang="fr"] { display: none !important; }
body.lang-en [data-lang="en"] { display: block; }
body.lang-en span[data-lang="en"],
body.lang-en a[data-lang="en"],
body.lang-en li[data-lang="en"],
body.lang-en td[data-lang="en"] { display: inline; }
body.lang-en span[data-lang="fr"],
body.lang-en a[data-lang="fr"],
body.lang-en li[data-lang="fr"],
body.lang-en td[data-lang="fr"] { display: none !important; }

/* Bouton actif */
body.lang-en .lang-switcher { background: rgba(232,119,34,0.3); border-color: var(--color-accent); }

/* ================================================================
   Page Location d'avion — styles spécifiques
   ================================================================ */

/* Hero location */
.location-hero {
  background: linear-gradient(135deg, #0a1b4a 0%, #1E3F8B 100%);
  color: white;
  padding: var(--space-3xl) 0 var(--space-4xl);
  position: relative;
  overflow: hidden;
}
.location-hero h1 { color: white; margin-bottom: var(--space-md); }
.location-hero .lead { color: rgba(255,255,255,0.88); max-width: 700px; }

/* Fleet cards */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.fleet-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.fleet-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(30,63,139,0.15);
  border-color: var(--color-accent);
}
.fleet-card-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.fleet-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.fleet-card:hover .fleet-card-image img { transform: scale(1.06); }
.fleet-card-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--color-accent);
  color: white; font-size: 0.75rem; font-weight: 700;
  padding: 4px 10px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.fleet-card-body { padding: var(--space-lg); flex: 1; display: flex; flex-direction: column; }
.fleet-card-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; color: var(--color-primary); margin-bottom: var(--space-sm); }
.fleet-card-specs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); margin: var(--space-md) 0; }
.fleet-spec { display: flex; flex-direction: column; gap: 2px; }
.fleet-spec-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-muted); font-weight: 600; }
.fleet-spec-value { font-weight: 700; color: var(--color-primary); font-size: 0.9375rem; }
.fleet-card-desc { font-size: 0.9rem; color: var(--color-text-muted); flex: 1; margin-bottom: var(--space-md); }
.fleet-card-cta { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

/* Gallery luxe */
.gallery-luxe {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: var(--space-sm);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.gallery-luxe-item { overflow: hidden; position: relative; cursor: pointer; }
.gallery-luxe-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.gallery-luxe-item:hover img { transform: scale(1.07); }
.gallery-luxe-item:first-child { grid-row: 1 / 3; }
.gallery-luxe-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(10,27,74,0.8));
  color: white; padding: var(--space-md); font-size: 0.875rem; font-weight: 500;
  opacity: 0; transition: opacity 0.3s;
}
.gallery-luxe-item:hover .gallery-luxe-caption { opacity: 1; }

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 12.5%; right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
  z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.process-step-num {
  width: 56px; height: 56px; margin: 0 auto var(--space-md);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 800; font-size: 1.25rem; color: white;
  border: 4px solid white; box-shadow: 0 4px 16px rgba(30,63,139,0.3);
}
.process-step h3 { font-size: 1rem; margin-bottom: var(--space-sm); }
.process-step p { font-size: 0.875rem; color: var(--color-text-muted); }

@media (max-width: 1024px) {
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-luxe { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-luxe-item:first-child { grid-row: auto; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
}
@media (max-width: 640px) {
  .fleet-grid { grid-template-columns: 1fr; }
  .gallery-luxe { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
}
