/*!
 * Baltimar - rtl.css : surcharges pour l'arabe (dir="rtl"), chargé après style.css et pages.css.
 * Flex et grid s'inversent seuls ; ce fichier ne traite que les positions et alignements « physiques ».
 */

/* Police arabe : Fraunces/Inter ne couvrent pas l'arabe */
html[lang="ar"] {
   --font: "Cairo", "Segoe UI", Tahoma, sans-serif;
   --font-title: "Cairo", "Segoe UI", Tahoma, sans-serif;
}

html[lang="ar"] body { line-height: 1.7; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] .eyebrow_, html[lang="ar"] .label_ { letter-spacing: 0 !important; text-transform: none; }
html[lang="ar"] section h1, html[lang="ar"] section h2 { line-height: 1.35; }
html[lang="ar"] em { font-style: normal; }

/* Flèches et icônes directionnelles */
[dir="rtl"] .rot45_ { transform: scaleX(-1) rotate(-45deg); }
[dir="rtl"] section.productsSection .container .wrapper_ .elemProduct .infos .detailsLink_:hover i { transform: scaleX(-1) rotate(-45deg) translateX(3px); }
[dir="rtl"] .fa-arrow-left, [dir="rtl"] .fa-arrow-right:not(.rot45_), [dir="rtl"] .fa-long-arrow-right, [dir="rtl"] .fa-long-arrow-left,
[dir="rtl"] .fa-angle-right, [dir="rtl"] .fa-angle-left { display: inline-block; transform: scaleX(-1); }

/* Alignements forcés à gauche dans le découpage */
[dir="rtl"] .inBlockHeading.left_,
[dir="rtl"] section.applicationsSection .container .tabsUI_ .tabsNav_ button,
[dir="rtl"] section.faqSection .container .faqElems ul li .faqTitle_,
[dir="rtl"] .specsTable_ th, [dir="rtl"] .specsTable_ td, [dir="rtl"] .richText_ th, [dir="rtl"] .richText_ td { text-align: right; }
[dir="rtl"] section.sustainabilitySection .container .wrapper_ .elem .top_ .kpi_ { text-align: left; }

/* Listes à puces */
[dir="rtl"] .checkList_ li, [dir="rtl"] .arrowList_ li, [dir="rtl"] .dotList_ li { padding: 0 24px 8px 0; }
[dir="rtl"] .checkList_ li:before, [dir="rtl"] .arrowList_ li:before, [dir="rtl"] .dotList_ li:before { left: auto; right: 0; }
[dir="rtl"] .arrowList_ li:before { content: "\f060"; }
[dir="rtl"] .dotList_ li:before { content: "\f0d9"; }
[dir="rtl"] .richText_ ul, [dir="rtl"] .richText_ ol { padding: 0 22px 16px 0; }
[dir="rtl"] .richText_ blockquote { border-left: 0; border-right: 3px solid var(--gold); }

/* En-tête et sous-menus */
[dir="rtl"] header.header .container .headerContainer .mainMenu > ul > li > ul { left: auto; right: 0; }
[dir="rtl"] header.header .container .headerContainer .logo { margin-right: 0; margin-left: auto; }

/* Cartes flottantes, badges, séparateurs */
[dir="rtl"] .floatCard_ { right: auto; left: -24px; }
[dir="rtl"] section.qualitySection .container .wrapper_ .media .floatCard_ { left: auto; right: 0; }
[dir="rtl"] section.certificationsSection .container .wrapper_ .elemCertif .code_ { right: auto; left: 12px; }
[dir="rtl"] section.certificationsSection .container .wrapper_ .elemCertif .status_:before { margin-right: 0; margin-left: 6px; }
[dir="rtl"] section.processSection .container .wrapper_ .stepsList_:before { left: auto; right: 21px; }
[dir="rtl"] .breadcrumb_ li + li:before { margin: 0 10px; }
[dir="rtl"] .appCard_ .cover .icon_ { left: auto; right: 16px; }

/* Formulaires */
[dir="rtl"] .generic_form .champsMe select.inputDefault { padding-right: 14px; padding-left: 36px; background-position: left 14px center; }
[dir="rtl"] .searchBar_ input { padding: 0 20px 0 56px; }
[dir="rtl"] .searchBar_ button { right: auto; left: 6px; }
[dir="rtl"] input[type="email"], [dir="rtl"] input[type="tel"], [dir="rtl"] input[type="search"] { text-align: right; }

/* Frise « valeurs » en une colonne (mobile) */
@media screen and (max-width: 600px) {
   [dir="rtl"] section.timelineSection .container .wrapper_ { padding-left: 0; padding-right: 28px; }
   [dir="rtl"] section.timelineSection .container .wrapper_:before { left: auto; right: 7px; }
   [dir="rtl"] section.timelineSection .container .wrapper_ .elem .dot_ { left: auto; right: -28px; }
}
