/* ========== Atlas Driver — Language Switcher + RTL ========== */

/* Sélecteur de langue */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(245,239,230,0.28);
  color: var(--ivory, #F5EFE6);
  padding: 7px 11px;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.lang-btn:hover { border-color: var(--gold, #C9A961); background: rgba(201,169,97,0.12); }
.lang-arrow { font-size: 9px; opacity: 0.6; }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #111;
  border: 1px solid rgba(245,239,230,0.1);
  border-radius: 6px;
  padding: 5px;
  min-width: 155px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.55);
  display: none;
  z-index: 500;
}
.lang-menu.open { display: block; }
.lang-menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: rgba(245,239,230,0.78);
  padding: 7px 11px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.15s, color 0.15s;
}
.lang-menu button:hover { background: rgba(201,169,97,0.15); color: var(--gold, #C9A961); }
.lang-menu button.active { color: var(--gold, #C9A961); font-weight: 600; }

/* ========== RTL (arabe) ========== */
body.rtl { direction: rtl; }
body.rtl .header-inner { flex-direction: row-reverse; }
body.rtl nav.main-nav ul { flex-direction: row-reverse; }
body.rtl .lang-menu { right: auto; left: 0; }
body.rtl .lang-menu button { text-align: right; }
body.rtl .page-hero-inner { text-align: right; }
body.rtl .content-section li { direction: rtl; }
body.rtl .footer-grid { direction: rtl; }
body.rtl .footer-contact-list li { flex-direction: row-reverse; }
body.rtl .whatsapp-float { left: 24px; right: auto; }
body.rtl .ec-form label { text-align: right; }
body.rtl .cta-block { direction: rtl; }
