.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Conteneur dropdown */
.lang-dropdown {
  position: relative;
}

/* Bouton principal affiché */
.lang-selected {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(26, 18, 8, 0.04);
  border: 1px solid rgba(26, 18, 8, 0.08);
  border-radius: 10px;
  padding: 8px 11px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--dark);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  height: 40px;
}
.lang-selected:hover {
  border-color: rgba(254, 115, 20, 0.3);
  background: rgba(254, 115, 20, 0.06);
  box-shadow: 0 2px 10px rgba(254, 115, 20, 0.1);
}
.lang-selected svg {
  transition: transform .2s;
  opacity: .5;
}
.lang-dropdown.open .lang-selected svg {
  transform: rotate(180deg);
}
.lang-selected span:first-child {
  font-size: 1.1rem;
}

/* Menu déroulant */
.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1.5px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 6px;
  min-width: 150px;
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
  z-index: 999;
  animation: dropDown .15s ease;
}
@keyframes dropDown {
  from { opacity:0; transform:translateY(-6px); }
  to   { opacity:1; transform:translateY(0); }
}
.lang-dropdown.open .lang-menu {
  display: block;
}

/* Options du menu */
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: .88rem;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  transition: background .15s;
  text-align: left;
}
.lang-option:hover {
  background: var(--cream2);
}
.lang-option.active {
  background: var(--cream2);
  color: var(--orange);
  font-weight: 700;
}
.lang-option span:first-child {
  font-size: 1.15rem;
}

/* ── RTL pour l'arabe ── */
body.rtl { direction: rtl; }
body.rtl .site-nav { flex-direction: row-reverse; }
body.rtl .nav-links { flex-direction: row-reverse; }
body.rtl .nav-right { flex-direction: row-reverse; }
body.rtl .lang-menu { right: auto; left: 0; }
body.rtl .lang-option { text-align: right; flex-direction: row-reverse; }
body.rtl .hero-content { text-align: right; }
body.rtl .hero-stats,
body.rtl .hero-actions,
body.rtl .feat,
body.rtl .testi-author { flex-direction: row-reverse; }
body.rtl .pricing-features li { flex-direction: row-reverse; }
body.rtl .footer-grid,
body.rtl .footer-bottom,
body.rtl .footer-col a,
body.rtl .footer-news-form { direction: rtl; }

body.rtl .footer-link-arrow {
  transform: scaleX(-1);
}

body.rtl .footer-col a:hover {
  transform: translateX(-2px);
}
body.rtl .scanner-section,
body.rtl .pricing-section,
body.rtl .brands-section,
body.rtl .testi-section,
body.rtl .rewards-section .section-sub { text-align: right; }
body.rtl .feature-list .feat { flex-direction: row-reverse; direction: rtl; }
body.rtl .ring-text { direction: rtl; }
body.rtl .steps_clients-title,
body.rtl .steps_commercants-title { direction: rtl; }
body.rtl .steps_commercants-body,
body.rtl .step_commercants-row,
body.rtl .steps_commercants-banner,
body.rtl .steps_commercants-banner-actions { direction: rtl; text-align: right; }
body.rtl .steps_commercants-banner-actions { align-items: center; }
body.rtl .sm-phone { right: auto; left: 0; }
body.rtl .pay-page,
body.rtl .pay-overlay .pay-box { direction: rtl; text-align: right; }

body.rtl .app-badge {
  flex-direction: row-reverse;
  justify-content: flex-start;
}

body.rtl .cta-stage {
  direction: rtl;
}

body.rtl .cta-copy {
  text-align: right;
}

body.rtl .cta-actions {
  justify-content: flex-start;
}

body.rtl .cta-bridge {
  flex-direction: row-reverse;
}

body.rtl .cta-btn-primary .cta-btn-arrow {
  transform: scaleX(-1);
}

body.rtl .cta-btn-primary:hover .cta-btn-arrow {
  transform: scaleX(-1) translateX(4px);
}

body.rtl .cta-proof {
  flex-direction: row-reverse;
}

body.rtl .cta-store-btn {
  flex-direction: row-reverse;
}

@media (max-width: 860px) {
  body.rtl .cta-copy {
    text-align: center;
  }

  body.rtl .cta-actions {
    justify-content: center;
  }
}

body.rtl .app-badges {
  align-items: flex-end;
}

@media (max-width: 1080px) {
  body.rtl .app-badges {
    flex-direction: row-reverse;
  }
}

@media (max-width: 560px) {
  body.rtl .app-badges {
    flex-direction: column;
    align-items: flex-end;
  }
}
