/* Version arabe : chargée uniquement par les pages de ar/, après les autres styles. */
:root {
  --display: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}
body { line-height: 1.75; }
h1, h2, h3, .statement { line-height: 1.4; }

/* Flèches et menus */
.icon-arrow, .icon-back { transform: scaleX(-1); }
a.btn:hover [data-icon="arrow"] .icon { transform: scaleX(-1) translateX(5px); }
.combo summary .icon-arrow { transform: rotate(90deg); }
.combo[open] summary .icon-arrow { transform: rotate(-90deg); }
.footer-links a:hover { transform: translateX(-5px); }
.skip { left: auto; right: -9999px; position: fixed; }
.skip:focus { left: auto; right: 8px; }
.scroll-progress, .progress-fill { transform-origin: right; }
.scroll-progress { background: linear-gradient(270deg, var(--navy), var(--red)); }
.wa-float { right: auto; left: 16px; }

/* Listes et connecteurs */
.route li { padding-left: 0; padding-right: 30px; }
.route li:last-child { padding-bottom: 0; }
.route li::before { left: auto; right: 0; }
.route li:not(:last-child)::after { left: auto; right: 5px; }
.page-hero::after { background: linear-gradient(260deg, var(--night) 20%, rgba(13, 48, 86, .55)); }

/* Carte et chiffres : toujours de gauche à droite */
.map svg { direction: ltr; }
.segments button, .group-all button, input[type="tel"], input[type="email"] { direction: ltr; }
input[type="tel"], input[type="email"] { text-align: right; }

/* Apparitions en miroir */
.motion [data-reveal="left"]:not(.in) { transform: translateX(44px); }
.motion [data-reveal="right"]:not(.in) { transform: translateX(-44px); }
.step.enter-next { animation-name: enter-prev; }
.step.enter-prev { animation-name: enter-next; }
.reveal { animation-name: enter-prev; }
.hero-photo, .hero-slash { animation-name: unveil-rtl; }
@keyframes unveil-rtl { from { opacity: 0; transform: translateX(-70px); } }

@media (min-width: 600px) {
  .apply .popular { right: auto; left: 12px; }
}

@media (min-width: 1000px) {
  .hero-media { right: auto; left: 0; }
  .hero-photo { clip-path: polygon(0 0, 71% 0, 100% 100%, 0 100%); }
  .hero-slash { clip-path: polygon(72% 0, 75% 0, 104% 100%, 101% 100%); }
  .chain li:not(:last-child)::after { right: auto; left: -41px; }
}
