/* =========================================
   MENU-AR.CSS — AJUSTEMENTS SPÉCIAUX ARABE
   À charger APRÈS menu.css
   ========================================= */


/* =========================
   1) BASE RTL
   ========================= */

html[lang="ar"],
html[dir="rtl"] {
  direction: rtl;
}


/* =========================
   2) CONTENEUR MENU
   ========================= */

html[lang="ar"] .menu-float,
html[dir="rtl"] .menu-float {
  direction: rtl;
  gap: 18px;
}


/* =========================
   3) BOUTONS PRINCIPAUX
   ========================= */

html[lang="ar"] .menu-float .menu-button > button,
html[dir="rtl"] .menu-float .menu-button > button {
  min-width: 165px;
  padding: 12px 18px !important;

  font-family: "Dubai", "Noto Naskh Arabic", "Amiri", serif;
  font-size: 1.5rem !important;
  line-height: 1.25;
  text-align: center;
}


/* =========================
   4) DROPDOWN
   ========================= */

html[lang="ar"] .menu-dropdown,
html[dir="rtl"] .menu-dropdown {
  direction: rtl;
  text-align: right;
  min-width: 270px !important;
  max-width: min(90vw, 400px);
}


/* =========================
   5) LIENS DU DROPDOWN
   ========================= */

html[lang="ar"] .menu-dropdown li > a,
html[dir="rtl"] .menu-dropdown li > a {
  padding: 12px 16px !important;

  font-family: "Dubai", "Noto Naskh Arabic", "Amiri", serif;
  font-size: 1.7rem !important;
  line-height: 1.4;
  text-align: right;
}


/* =========================
   6) CHAP-GRID ARABE
   ========================= */

html[lang="ar"] .menu-dropdown.chap-grid > li > a,
html[dir="rtl"] .menu-dropdown.chap-grid > li > a {
  font-size: 1.12rem !important;
  line-height: 1.2;
  text-align: center;
}


/* =========================
   7) RESPONSIVE TABLETTE
   ========================= */

@media (max-width: 768px) {
  html[lang="ar"] .menu-float,
  html[dir="rtl"] .menu-float {
    gap: 10px;
  }

  html[lang="ar"] .menu-float .menu-button > button,
  html[dir="rtl"] .menu-float .menu-button > button {
    min-width: 130px;
    padding: 10px 14px !important;

    font-size: 1.22rem !important;
    line-height: 1.25;
  }

  html[lang="ar"] .menu-dropdown,
  html[dir="rtl"] .menu-dropdown {
    min-width: 220px !important;
    max-width: 88vw;
  }

  html[lang="ar"] .menu-dropdown li > a,
  html[dir="rtl"] .menu-dropdown li > a {
    padding: 10px 12px !important;

    font-size: 1.14rem !important;
    line-height: 1.35;
  }

  html[lang="ar"] .menu-dropdown.chap-grid > li > a,
  html[dir="rtl"] .menu-dropdown.chap-grid > li > a {
    font-size: 1.02rem !important;
  }
}


/* =========================
   8) RESPONSIVE PETITS ÉCRANS
   ========================= */

@media (max-width: 480px) {
  html[lang="ar"] .menu-float .menu-button > button,
  html[dir="rtl"] .menu-float .menu-button > button {
    min-width: 118px;
    font-size: 1.12rem !important;
  }

  html[lang="ar"] .menu-dropdown li > a,
  html[dir="rtl"] .menu-dropdown li > a {
    font-size: 1.06rem !important;
  }
}

/* ========== 12. LIEN RETOUR VERS LE SITE ========== */


.site-complet{
    width: 100%;
    text-align: center!important;
    margin: 8px auto 20px auto;
}

.site-complet a,
.site-complet a:visited{
    display: inline-block;
    font-family: "Montserrat","Helvetica Neue",Arial,sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    font-variant: small-caps;
    letter-spacing: 0.22em;
    text-transform: lowercase;
    text-decoration: none;
    color: black;
}

.site-complet a:hover,
.site-complet a:focus{
    color: #f0f0f0;
    text-decoration: underline;
}