/* Fabriquée par outils/site-gd/rtl.py depuis gd.css, interieur.css : ne pas modifier ici. Chargée seulement par les pages arabes. */

/* ── gd.css ── */
html[dir="rtl"] .bandeau nav { margin-left: 0; margin-right: auto; }
@media (max-width: 1060px) {
html[dir="rtl"] .bandeau .cadre > .langues { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .bandeau .cadre > .langues ~ .btn { margin-left: 0; margin-right: 0; }
}
html[dir="rtl"] .menu-bouton { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .pied-col li.sous a { padding-left: 0; padding-right: 12px; border-left: none; border-right: 1px solid var(--trait); }
html[dir="rtl"] #menu-mobile .liste a { padding: 9px 14px 9px 4px; border-left: 0; border-right: 2px solid var(--ligne); }
html[dir="rtl"] #menu-mobile .liste a.porte { border-left-color: currentColor; border-right-color: var(--action); }
html[dir="rtl"] .scene { margin: 0 -2vw 0 -9vw; }
html[dir="rtl"] .scene::before { left: 8%; right: 12%; }
html[dir="rtl"] .flotte.f1 { left: auto; right: 4%; }
html[dir="rtl"] .flotte.f2 { left: 8%; right: auto; }
html[dir="rtl"] .bandeau::after { left: auto; right: 0; }
html[dir="rtl"] .terrains span { padding-left: 36px; padding-right: 0; }
html[dir="rtl"] .ciel { border-left: 1px solid var(--trait); border-right: none; }
html[dir="rtl"] .ciel .pole.g { left: auto; right: 20px; }
html[dir="rtl"] .ciel .pole.d { left: 20px; right: auto; }
html[dir="rtl"] .fiche li { padding-left: 0; padding-right: 20px; }
html[dir="rtl"] .fiche li::before { left: auto; right: 0; }
html[dir="rtl"] .theatre .jalons button { text-align: right; }
html[dir="rtl"] .theatre .n { left: auto; right: 24px; }
html[dir="rtl"] .rang .s { text-align: left; }
html[dir="rtl"] .acteur .p { text-align: left; }
html[dir="rtl"] .scene-instr { margin-left: -4vw; margin-right: 0; }
html[dir="rtl"] .scene-methode .leg { left: auto; right: 20px; }
html[dir="rtl"] .principes div { padding: 16px 50px 16px 18px; }
html[dir="rtl"] .principes div::before { left: auto; right: 18px; }
html[dir="rtl"] .rangs .s { text-align: left; }
html[dir="rtl"] .carte-q .tampon { left: 22px; right: auto; }
html[dir="rtl"] .carte-q .tampon.t-non { left: auto; right: 22px; }
html[dir="rtl"] .recap button { text-align: right; }
html[dir="rtl"] .feuille .panneau { border-radius: 22px 22px 0 0; }
@media (max-width: 1060px) {
html[dir="rtl"] .bandeau .cadre > .btn { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .ciel { border-left: 0; border-right: none; }
}
@media (max-width: 560px) {
html[dir="rtl"] .flotte.f1 { left: auto; right: 8vw; }
}
html[dir="rtl"] .fermer-feuille { left: 12px; right: auto; }
@media (min-width: 761px) {
html[dir="rtl"] .feuille .panneau { left: 16px; right: auto; }
}
@media (min-width: 721px) and (max-width: 1060px) {
html[dir="rtl"] .bandeau .menu-bouton { margin-left: 0; margin-right: 10px; }
}
html[dir="rtl"] button.option { text-align: right; }
html[dir="rtl"] button.option small { text-align: left; }

/* ── interieur.css ── */
html[dir="rtl"] .ariane li + li::before { margin-left: 8px; margin-right: 0; }
html[dir="rtl"] .heros-int .scene-int img { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .moment .livre { padding-left: 0; padding-right: 18px; border-left: none; border-right: 2px solid var(--bord-doux); }
html[dir="rtl"] .a-verifier { margin-left: 0; margin-right: 6px; }
html[dir="rtl"] .autres a { padding: 14px 14px 14px 22px; }
html[dir="rtl"] .format > div { border-left: 1px solid var(--ligne); border-right: none; }
html[dir="rtl"] .format > div:last-child { border-left: 0; border-right: none; }
html[dir="rtl"] .suite-etapes .suiv { text-align: left; }
@media (max-width: 1060px) {
html[dir="rtl"] .format > div { border-left: 0; border-right: none; }
}
@media (max-width: 720px) {
html[dir="rtl"] .suite-etapes .suiv { text-align: right; }
}
html[dir="rtl"] .choix-m button { text-align: right; }
html[dir="rtl"] .rangs li .v { text-align: left; }
html[dir="rtl"] .modifier span { margin-left: 4px; margin-right: 0; }
html[dir="rtl"] .instr-carte .texte { text-align: left; margin-left: 0; margin-right: auto; }
html[dir="rtl"] .tableau-comp th, html[dir="rtl"] .tableau-comp td { text-align: right; }
html[dir="rtl"] .en-tete-m span { margin-left: 8px; margin-right: 0; }
html[dir="rtl"] .quand-eviter ul { padding: 0 18px 0 0; }
@media (max-width: 1060px) {
html[dir="rtl"] .faits > div:nth-child(2) { border-left: 0; border-right: none; }
}
@media (max-width: 720px) {
html[dir="rtl"] .faits > div { border-left: 0; border-right: none; }
}
html[dir="rtl"] .mod-offres th, html[dir="rtl"] .mod-offres td { text-align: left; }
html[dir="rtl"] .mod-offres tbody th { text-align: right; }
html[dir="rtl"] .mod-poids b { text-align: left; }
html[dir="rtl"] .mod-formule button { text-align: right; }
html[dir="rtl"] .art-corps ul, html[dir="rtl"] .art-corps ol:not(.etapes-int) { padding-left: 0; padding-right: 22px; }
html[dir="rtl"] .encart { border-left: none; border-right: 4px solid var(--action); }
html[dir="rtl"] .encart.alerte { border-left-color: currentColor; border-right-color: #C9861A; }
html[dir="rtl"] .encart.note { border-left-color: currentColor; border-right-color: var(--bleu); }
html[dir="rtl"] .tab-art th, html[dir="rtl"] .tab-art td { text-align: right; }
html[dir="rtl"] .chiffres b small { margin-left: 0; margin-right: 4px; }
html[dir="rtl"] .citation { border-radius: 12px 0 0 12px; border-left: none; border-right: 3px solid var(--bleu); }
html[dir="rtl"] .sommaire { padding-left: 0; padding-right: 14px; border-left: none; border-right: 2px solid var(--ligne); }
html[dir="rtl"] .quiz-art fieldset button { text-align: right; }
html[dir="rtl"] .calcul-res ul { padding-left: 0; padding-right: 18px; }
html[dir="rtl"] .liste-service li { padding: 12px 40px 12px 16px; }
html[dir="rtl"] .liste-service li::before { left: auto; right: 16px; }

/* ── réglages propres à l'arabe ── */
/* IBM Plex Sans Arabic (licence OFL, Google Fonts, téléchargée le 30/11/2026), seulement les caractères arabes */
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url(polices/plex-arabic-400.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap; src: url(polices/plex-arabic-500.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 600; font-display: swap; src: url(polices/plex-arabic-600.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 700; font-display: swap; src: url(polices/plex-arabic-700.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
html[dir="rtl"] { --sans: 'Inter', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', 'SF Arabic', 'Geeza Pro', 'Noto Sans Arabic', 'Noto Naskh Arabic', Tahoma, sans-serif; }
html[dir="rtl"] { --mono: 'JetBrains Mono', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', 'SF Arabic', 'Geeza Pro', 'Noto Sans Arabic', Tahoma, sans-serif; }   /* sans police arabe à chasse fixe : les lettres se détachaient */
html[dir="rtl"] body, html[dir="rtl"] body * { letter-spacing: normal !important; }   /* l'espacement des lettres casse les liaisons de l'arabe */
html[dir="rtl"] body { line-height: 1.75; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { line-height: 1.35; }
html[dir="rtl"] .btn:hover .fl { transform: translateX(-3px); }
html[dir="rtl"] .terrains, html[dir="rtl"] .terrains * { direction: ltr; }   /* le bandeau qui défile garde son sens */
html[dir="rtl"] .ouvre svg, html[dir="rtl"] .orbe, html[dir="rtl"] .glyphe { direction: ltr; }
html[dir="rtl"] .nom, html[dir="rtl"] .marque { direction: ltr; unicode-bidi: isolate; }
