/* Version arabe : lecture de droite à gauche + police Cairo (chargée après style.css) */
:root[dir="rtl"] {
  --display: "Cairo", "Bebas Neue", sans-serif;
  --sans: "Cairo", "Barlow", system-ui, sans-serif;
}
[dir="rtl"] body { font-size: 17.5px; line-height: 1.85; }
/* L'arabe ne supporte ni l'espacement des lettres ni les majuscules */
[dir="rtl"] * { letter-spacing: 0 !important; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-weight: 800; line-height: 1.35; }
[dir="rtl"] .hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); line-height: 1.3; }
[dir="rtl"] .eyebrow { font-size: .9rem; }
[dir="rtl"] .btn { font-size: .95rem; }
[dir="rtl"] .stat > span, [dir="rtl"] .contact-list span, [dir="rtl"] .footer-motto, [dir="rtl"] .topbar-motto { font-size: .9rem; }

/* Logo, liens téléphone / e-mail et noms latins restent de gauche à droite */
[dir="rtl"] .logo, [dir="rtl"] .logo-text { direction: ltr; }
[dir="rtl"] a[href^="tel:"], [dir="rtl"] a[href^="mailto:"] { direction: ltr; unicode-bidi: embed; }
[dir="rtl"] .marquee { direction: ltr; }
[dir="rtl"] .marquee span { font-family: "Cairo", sans-serif; font-weight: 700; font-size: 1.9rem; }

/* Miroir de la mise en page */
[dir="rtl"] .header-inner .nav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .lang { margin-left: 0; margin-right: 1.6rem; }
[dir="rtl"] .nav a:not(.btn)::after { left: auto; right: 0; transform-origin: left; }
[dir="rtl"] .nav a:not(.btn):hover::after, [dir="rtl"] .nav a.active::after { transform-origin: right; }
[dir="rtl"] .dots { right: auto; left: 22px; }
[dir="rtl"] .dots a::before { right: auto; left: 22px; transform: translate(-6px, -50%); }
[dir="rtl"] .hero-overlay { background: linear-gradient(260deg, rgba(15, 34, 56, .94) 0%, rgba(15, 34, 56, .75) 45%, rgba(15, 34, 56, .35) 100%); }
[dir="rtl"] .pillar { border-right: 0; border-left: 1px solid var(--line); }
[dir="rtl"] .pillar:last-child { border-left: 0; }
[dir="rtl"] .stat { border-right: 0; border-left: 1px solid var(--line); }
[dir="rtl"] .stat:last-child { border-left: 0; }
[dir="rtl"] .service-num { left: auto; right: 0; }
[dir="rtl"] .checks li { padding-left: 0; padding-right: 1.6rem; }
[dir="rtl"] .checks li::before { left: auto; right: 0; }
[dir="rtl"] .footer-links svg { margin-right: 0; margin-left: .4rem; }
[dir="rtl"] .wa-float { right: auto; left: 20px; }
[dir="rtl"] .faq-item { border-left: 0; border-right: 3px solid transparent; }
[dir="rtl"] .hp { left: auto; right: -9999px; }
@media (max-width: 860px) {
  [dir="rtl"] .lang { margin-right: auto; margin-left: .5rem; }
  [dir="rtl"] .pillar { border-left: 0; }
  [dir="rtl"] .stat:nth-child(2) { border-left: 0; }
}
@media (max-width: 420px) {
  [dir="rtl"] .lang-opt { padding: .35rem .45rem; }
}
