/* =========================================================
   MIQAT — surcharge du template Travexa (RTL + couleurs)
   À charger APRÈS style.css et responsive.css
   ========================================================= */

:root {
  --miqat-green: #44A52B;
  --miqat-dark-green: #04642D;
  --miqat-deep: #033D1C;
  --miqat-light: #EEF7EA;

  /* Variables du template → couleurs MIQAT (remplace le bleu marine / orange) */
  --primary: #04642D;
  --secondary: #44A52B;
  --accent: #44A52B;
}

/* ---------- Couleurs génériques ---------- */
.text-primary {
  color: var(--miqat-dark-green) !important;
}

.text-secondary {
  color: var(--miqat-green) !important;
}

.bg-accent,
.bg-primary {
  background-color: var(--miqat-green) !important;
}

.btn-outline-success {
  color: var(--miqat-dark-green);
  border-color: var(--miqat-green);
}

.btn-outline-success:hover {
  background: var(--miqat-green);
  border-color: var(--miqat-green);
  color: #fff;
}

.slider-nav-btn:hover,
.ref-tour-action-btn:hover,
.view-all-btn-circle {
  background: var(--miqat-green) !important;
  border-color: var(--miqat-green) !important;
  color: #fff !important;
}

.section-script-tag,
.hero-script-text {
  color: var(--miqat-green) !important;
}

/* ---------- HERO ---------- */
/* Image de fond du hero (Kaaba) */
.hero-video-wrap.miqat-hero-bg {
  background-color: var(--miqat-deep);
  background-image: url('../images/miqat/hero.jpg');
  background-image: image-set(url('../images/miqat/hero.webp') type('image/webp'),
      url('../images/miqat/hero.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center 65%;
  /* garde la Kaaba et la tour de l'horloge visibles */
  background-repeat: no-repeat;
}

/* Overlay neutre et léger (plus de voile vert) : juste assez pour lire le texte */
.hero-video-overlay {
  background: linear-gradient(180deg,
      rgba(0, 0, 0, .45) 0%,
      rgba(0, 0, 0, .25) 40%,
      rgba(0, 0, 0, .15) 65%,
      rgba(0, 0, 0, .45) 100%) !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  backdrop-filter: none !important;
}

.hero-section::before,
.hero-section::after {
  display: none !important;
}

/* voiles éventuels du template */
.hero-glow-orb {
  display: none !important;
}

/* halos verts */

.hero-main-heading,
.hero-desc {
  text-shadow: 0 2px 18px rgba(0, 0, 0, .55);
}

.hero-desc {
  color: #fff !important;
}

/* Pastille "قارن • اختر • احجز" lisible */
.hero-script-tag {
  background: rgba(255, 255, 255, .15) !important;
  border-color: rgba(255, 255, 255, .35) !important;
  backdrop-filter: blur(6px);
}

.hero-script-tag .hero-script-text,
.hero-script-tag .plane-icon {
  color: #fff !important;
}

/* Barre de recherche : blanche au lieu du verre teinté */
.hero-booking-bar {
  background: rgba(255, 255, 255, .95) !important;
  backdrop-filter: none !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .25) !important;
}

.hero-booking-bar .booking-title {
  color: var(--miqat-dark-green) !important;
}

.hero-booking-bar .booking-sub,
.hero-booking-bar .select-value {
  color: #555 !important;
}

.hero-booking-bar .booking-icon {
  background: var(--miqat-light) !important;
  color: var(--miqat-green) !important;
}

/* Puces de recherche rapide */
.hero-tag-chip {
  background: rgba(255, 255, 255, .9) !important;
  color: var(--miqat-dark-green) !important;
}

.quick-tags-label {
  color: #fff !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}

@media (max-width: 767px) {
  .hero-video-wrap.miqat-hero-bg {
    background-position: 38% center;
  }

  /* centrer la Kaaba sur mobile */
}

.hero-flight-trail-svg {
  display: none !important;
}

.hero-glow-orb {
  background: rgba(68, 165, 43, .30) !important;
}

.hero-brush-highlight {
  color: #8EE07A !important;
}

/* ---------- Décorations "voyage/safari" du template ---------- */
.why-choose-us,
.travel-styles,
.tour-packages,
.trending-destinations,
.testimonials-section {
  background-image: none !important;
}

.why-choose-us::before,
.why-choose-us::after,
.travel-styles::before,
.travel-styles::after,
.tour-packages::before,
.tour-packages::after {
  display: none !important;
}

.travel-styles-float,
.dest-flight-route-svg,
.travel-styles-flight-route,
.tour-flight-route-svg,
.promo-flight-route-svg,
.blog-flight-route-svg {
  display: none !important;
}

/* Alterner les fonds de section */
#features,
#how {
  background: #fff;
}

#about,
#offers {
  background: var(--miqat-light);
}

/* ---------- Galerie "لمن منصة ميقات؟" ---------- */
.expand-panel {
  background-color: var(--miqat-dark-green);
  background-size: cover;
  background-position: center;
}

.expand-panel .panel-overlay {
  background: linear-gradient(180deg, rgba(4, 100, 45, .25) 0%, rgba(3, 61, 28, .92) 100%) !important;
}

.panel-category-badge {
  background: var(--miqat-green) !important;
  color: #fff !important;
}

/* ---------- Cartes avantages / étapes ---------- */
.advantage-number {
  left: auto !important;
  right: 0 !important;
  padding: 6px 14px 0 0 !important;
  opacity: .12;
}

.advantage-card {
  text-align: right;
}

.advantage-icon {
  margin-right: 0 !important;
  margin-left: auto;
}

.advantage-check-icon {
  background: var(--miqat-green) !important;
  color: #fff !important;
}

/* ---------- Slider services ---------- */
.travel-style-card {
  background: linear-gradient(160deg, var(--miqat-green), var(--miqat-deep));
}

.style-card-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(3, 61, 28, .9) 100%) !important;
}

.style-package-pill {
  background: rgba(255, 255, 255, .18) !important;
  color: #fff !important;
}

/* ---------- Cartes offres ---------- */
.ref-tour-img-wrap {
  position: relative;
  background: linear-gradient(160deg, var(--miqat-green), var(--miqat-deep));
}

.ref-tour-badge {
  left: auto !important;
  right: 12px !important;
  top: 12px !important;
  background: var(--miqat-green) !important;
  color: #fff !important;
}

.ref-tour-duration {
  color: var(--miqat-green) !important;
}

.ref-tour-price {
  color: var(--miqat-dark-green) !important;
}

.ref-tour-content {
  text-align: right;
}

/* ---------- Bannière CTA + chiffres ---------- */
.promo-immersive-wrapper {
  background: linear-gradient(135deg, var(--miqat-deep), var(--miqat-green));
}

.promo-gradient-overlay {
  background: linear-gradient(270deg, rgba(3, 61, 28, .95) 0%, rgba(4, 100, 45, .75) 55%, rgba(4, 100, 45, .25) 100%) !important;
}

.promo-sticker {
  display: none !important;
}

.promo-main-heading .text-accent {
  color: #8EE07A !important;
}

.promo-timer-box {
  background: rgba(255, 255, 255, .12) !important;
  border-color: rgba(255, 255, 255, .2) !important;
}

/* ---------- Marquee : doit défiler en LTR ---------- */
.marquee-row,
.marquee-track {
  direction: ltr;
}

.marquee-card .card-title {
  direction: rtl;
}

/* ---------- Image absente : on la masque, le dégradé du parent reste ---------- */
img.miqat-img:not([src]),
img.miqat-img[src=""] {
  display: none;
}

/* =========================================================
   v3 — suppression de l'orangé + header + boutons unifiés
   ========================================================= */

/* ---------- Plus aucune touche orange du template ---------- */
.btn-primary,
.btn-search-hero,
.theme-btn {
  box-shadow: 0 8px 22px rgba(68, 165, 43, .30) !important;
  /* au lieu du halo orange */
}

.btn-primary:hover,
.btn-search-hero:hover {
  box-shadow: 0 10px 26px rgba(4, 100, 45, .35) !important;
}

.hero-badge-icon-wrap {
  background: var(--miqat-light) !important;
  color: var(--miqat-green) !important;
  box-shadow: none !important;
}

.hero-badge-icon-wrap i {
  color: var(--miqat-green) !important;
}

.hero-pulse-dot,
.live-dot,
.pulse-dot {
  background: var(--miqat-green) !important;
  box-shadow: 0 0 0 4px rgba(68, 165, 43, .25) !important;
}

.text-warning:not(.fa-star) {
  color: var(--miqat-green) !important;
}

::selection {
  background: var(--miqat-green);
  color: #fff;
}

/* Badges flottants du hero : blancs au lieu du bleu marine */
.hero-floating-badge {
  background: rgba(255, 255, 255, .92) !important;
  border: 1px solid rgba(255, 255, 255, .6) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .18) !important;
  backdrop-filter: blur(8px);
}

.hero-floating-badge .hero-badge-title {
  color: var(--miqat-dark-green) !important;
}

.hero-floating-badge .hero-badge-sub {
  color: #555 !important;
}

.hero-floating-badge .hero-badge-live,
.hero-floating-badge .hero-badge-verified {
  color: var(--miqat-green) !important;
}

.hero-floating-badge .badge-avatar {
  border-color: #fff !important;
}

/* ---------- Header : blanc plein, plus de verre teinté ---------- */
.main-header.header-glass,
.main-header.header-glass.sticky,
.main-header.header-glass.scrolled {
  background: #fff !important;
  backdrop-filter: none !important;
  border-bottom: 1px solid #E6EFE3 !important;
  box-shadow: 0 4px 20px rgba(4, 100, 45, .06) !important;
}

.main-header .nav-link {
  color: #1A1A1A !important;
  font-weight: 600;
}

.main-header .nav-link:hover,
.main-header .nav-link.active {
  color: var(--miqat-green) !important;
}

.main-header .nav-link.active::after,
.main-header .nav-link::after {
  background: var(--miqat-green) !important;
}

/* Top bar : vert foncé MIQAT */
.top-header {
  background: var(--miqat-dark-green) !important;
}

.top-header,
.top-header a,
.top-header .btn-link,
.top-header .top-header-icon {
  color: #fff !important;
}

.top-header .top-header-icon {
  opacity: .8;
}

.top-header-social-link {
  background: rgba(255, 255, 255, .12) !important;
  color: #fff !important;
}

.top-header-social-link:hover {
  background: var(--miqat-green) !important;
}

/* ---------- Boutons du header : même forme, même hauteur ---------- */
.header-actions {
  align-items: center;
  gap: 10px !important;
}

.header-actions .btn,
.header-actions .action-btn {
  height: 46px;
  border-radius: 999px !important;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.header-actions .btn {
  padding: 0 24px !important;
}

.header-actions .action-btn {
  width: 46px;
  padding: 0;
  background: var(--miqat-light) !important;
  color: var(--miqat-dark-green) !important;
  border: 1px solid #DCEBD6 !important;
  box-shadow: none !important;
}

.header-actions .action-btn:hover {
  background: var(--miqat-green) !important;
  color: #fff !important;
}

/* "تسجيل الدخول" : contour vert, même style pilule */
.btn-outline-success {
  background: #fff !important;
  color: var(--miqat-dark-green) !important;
  border: 1px solid var(--miqat-green) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

.btn-outline-success:hover {
  background: var(--miqat-green) !important;
  color: #fff !important;
}

/* =========================================================
   v4 — barre de recherche : listes et calendrier homogènes
   ========================================================= */

/* Les menus passaient SOUS la vague du hero */
.hero-booking-bar {
  position: relative;
  z-index: 20 !important;
}

.hero-booking-bar .booking-col {
  position: relative;
}

.hero-shape-bottom {
  z-index: 1 !important;
  pointer-events: none;
}

.hero-section {
  overflow: visible !important;
}

.hero-section+section {
  position: relative;
  z-index: 0;
}

/* Placeholder "إضافة التاريخ" trop pâle */
.hero-booking-bar .booking-sub::placeholder {
  color: #555 !important;
  opacity: 1;
}

/* Listes déroulantes : même look que le calendrier */
.travexa-custom-select .select-options {
  top: calc(100% + 14px) !important;
  right: -64px !important;
  /* aligné sur le bord de la case (icône comprise) */
  left: auto !important;
  min-width: 220px;
  padding: 8px !important;
  background: #fff !important;
  border: 1px solid #E6EFE3 !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 45px rgba(4, 100, 45, .15) !important;
  z-index: 50 !important;
  overflow: hidden;
  text-align: right;
}

.travexa-custom-select .select-option {
  padding: 10px 14px !important;
  border-radius: 10px !important;
  font-size: 15px;
  color: #333 !important;
  background: transparent !important;
  transition: background .15s, color .15s;
}

.travexa-custom-select .select-option+.select-option {
  margin-top: 2px;
}

.travexa-custom-select .select-option:hover {
  background: var(--miqat-light) !important;
  color: var(--miqat-dark-green) !important;
}

.travexa-custom-select .select-option.active {
  background: var(--miqat-green) !important;
  color: #fff !important;
  font-weight: 700;
}

.travexa-custom-select .select-arrow {
  color: var(--miqat-green) !important;
}

/* =========================================================
   v5 — galerie "لمن منصة ميقات؟" : motif en attendant les photos
   ========================================================= */

/* Motif géométrique islamique discret (visible tant qu'il n'y a pas de photo) */
.expand-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .10;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.5'%3E%3Cpath d='M40 4 L50 30 L76 40 L50 50 L40 76 L30 50 L4 40 L30 30 Z'/%3E%3Crect x='22' y='22' width='36' height='36' transform='rotate(45 40 40)'/%3E%3Ccircle cx='40' cy='40' r='9'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
}

/* (on ne touche PAS au positionnement des enfants : le template les place en absolu en bas) */

/* Plus de halo orange autour des icônes rondes */
.expand-panel .panel-icon {
  box-shadow: 0 8px 22px rgba(0, 0, 0, .20) !important;
}

.expand-panel .panel-icon {
  background: var(--miqat-green) !important;
  color: #fff !important;
}

.expand-panel {
  border: none !important;
}

.panel-pill {
  background: rgba(255, 255, 255, .15) !important;
  border-color: rgba(255, 255, 255, .25) !important;
  color: #fff !important;
}

/* =========================================================
   v6 — photos de la galerie "لمن منصة ميقات؟"
   ========================================================= */
.expand-panel.has-photo::before {
  display: none;
}

/* pas de motif sur les photos */

/* Cadrage : garder le sujet visible quand le panneau est fermé (étroit) */
.expand-panel.has-photo:nth-child(1) {
  background-position: 32% center !important;
}

/* pèlerin */
.expand-panel.has-photo:nth-child(2) {
  background-position: 40% center !important;
}

/* agente */
.expand-panel.has-photo:nth-child(3) {
  background-position: 45% center !important;
}

/* guide */
.expand-panel.has-photo:nth-child(4) {
  background-position: 75% center !important;
}

/* écran admin */

/* Overlay : photo visible en haut, texte lisible en bas */
.expand-panel.has-photo .panel-overlay {
  background: linear-gradient(180deg,
      rgba(3, 61, 28, 0) 0%,
      rgba(3, 61, 28, .10) 40%,
      rgba(3, 61, 28, .75) 75%,
      rgba(3, 61, 28, .95) 100%) !important;
}

/* Panneaux fermés : un peu plus sombres pour lire le titre vertical */
.expand-panel.has-photo:not(.active) .panel-overlay {
  background: linear-gradient(180deg, rgba(3, 61, 28, .25) 0%, rgba(3, 61, 28, .85) 100%) !important;
}

/* =========================================================
   v7 — "لماذا ميقات" / "كيف يعمل" : icônes 100 % vert
   ========================================================= */

/* Toutes les variantes de couleur du template (teal, accent, navy, amber) → vert MIQAT */
.advantage-icon,
.advantage-icon.icon-teal,
.advantage-icon.icon-accent,
.advantage-icon.icon-navy,
.advantage-icon.icon-amber {
  background: var(--miqat-light) !important;
  color: var(--miqat-green) !important;
  border: 1px solid #DCEBD6 !important;
  box-shadow: none !important;
  transition: background .25s, color .25s, transform .25s;
}

.advantage-icon i {
  color: inherit !important;
}

/* Survol : icône verte pleine */
.advantage-card:hover .advantage-icon {
  background: var(--miqat-green) !important;
  color: #fff !important;
  border-color: var(--miqat-green) !important;
  transform: translateY(-3px);
}

/* Barre de survol en bas de carte + bordure */
.advantage-card {
  border: 1px solid #E6EFE3 !important;
}

.advantage-card::after,
.advantage-card::before,
.card-theme-teal::after,
.card-theme-accent::after,
.card-theme-navy::after,
.card-theme-amber::after {
  background: var(--miqat-green) !important;
}

.advantage-card:hover {
  border-color: #CFE6C7 !important;
  box-shadow: 0 18px 40px rgba(4, 100, 45, .10) !important;
}

/* Numéros en filigrane : à gauche, loin de l'icône */
.advantage-number {
  right: auto !important;
  left: 18px !important;
  padding: 10px 0 0 !important;
  color: var(--miqat-green) !important;
  opacity: .08 !important;
}

/* Coches de la liste : sans halo orange */
.advantage-check-icon {
  box-shadow: 0 4px 12px rgba(68, 165, 43, .25) !important;
}

/* v7b — survol encore orange : le template colore aussi via ::before/::after
   et avec des sélecteurs plus forts → on renforce */
body .advantage-card:hover .advantage-icon,
body .advantage-card[class*="card-theme-"]:hover .advantage-icon[class*="icon-"] {
  background: var(--miqat-green) !important;
  background-color: var(--miqat-green) !important;
  color: #fff !important;
  border-color: var(--miqat-green) !important;
  box-shadow: 0 8px 20px rgba(68, 165, 43, .30) !important;
}

body .advantage-icon[class*="icon-"]::before,
body .advantage-icon[class*="icon-"]::after {
  background: var(--miqat-green) !important;
  background-color: var(--miqat-green) !important;
  border-color: var(--miqat-green) !important;
}

body .advantage-card:hover .advantage-icon i {
  color: #fff !important;
}

/* =========================================================
   v8 — offres + typo arabe
   ========================================================= */

/* L'espacement des lettres du template casse les mots arabes ("يومًا" → "يوفا") */
html[dir="rtl"] body *:not(i):not(.fa):not([class*="fa-"]) {
  letter-spacing: 0 !important;
}

/* Photos des offres */
.ref-tour-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

/* Boutons ronds : ombre verte au lieu de l'orange */
.ref-tour-action-btn,
.view-all-btn-circle,
.scroll-to-top {
  background: var(--miqat-green) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(68, 165, 43, .30) !important;
}

.ref-tour-action-btn:hover,
.view-all-btn-circle:hover {
  background: var(--miqat-dark-green) !important;
}

/* Carte "تصفح جميع العروض" */
.ref-view-all-card {
  border-color: #CFE6C7 !important;
  background: #fff !important;
}

.view-all-badge {
  background: var(--miqat-light) !important;
  color: var(--miqat-green) !important;
}

/* =========================================================
   v9 — FOOTER MIQAT (markup propre, sans le template)
   ========================================================= */
.mq-footer {
  position: relative;
  background: var(--miqat-deep);
  color: rgba(255, 255, 255, .72);
  padding: 0 0 0;
  margin-top: 90px;
}

.mq-footer a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

.mq-footer a:hover {
  color: #8EE07A;
}

/* Bandeau newsletter qui chevauche le haut du footer */
.mq-newsletter {
  position: relative;
  top: -50px;
  margin-bottom: -10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 32px 40px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--miqat-green), var(--miqat-dark-green));
  box-shadow: 0 20px 50px rgba(4, 100, 45, .25);
}

.mq-newsletter h4 {
  color: #fff !important;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 6px;
}

.mq-newsletter p {
  color: rgba(255, 255, 255, .85);
  margin: 0;
}

.mq-newsletter-form {
  display: flex;
  flex: 1 1 360px;
  max-width: 480px;
  background: #fff;
  border-radius: 999px;
  padding: 6px;
}

.mq-newsletter-form input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 18px;
  font-family: 'Cairo', sans-serif;
  color: #1A1A1A;
  min-width: 0;
}

.mq-newsletter-form button {
  border: 0;
  border-radius: 999px;
  padding: 12px 26px;
  background: var(--miqat-dark-green);
  color: #fff;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  white-space: nowrap;
  transition: background .2s;
}

.mq-newsletter-form button:hover {
  background: var(--miqat-deep);
}

/* Colonnes */
.mq-footer-cols {
  padding: 20px 0 40px;
}

.mq-footer-logo img {
  max-height: 64px;
  filter: brightness(0) invert(1);
}

.mq-footer-about {
  margin: 18px 0 22px;
  line-height: 1.9;
  max-width: 340px;
}

.mq-footer-title {
  color: #fff !important;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.mq-footer-title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  border-radius: 3px;
  background: var(--miqat-green);
}

.mq-footer-links,
.mq-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mq-footer-links li+li {
  margin-top: 12px;
}

.mq-footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mq-footer-contact li+li {
  margin-top: 14px;
}

.mq-footer-contact i {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .08);
  color: #8EE07A;
  font-size: 14px;
}

/* Réseaux sociaux */
.mq-social {
  display: flex;
  gap: 10px;
}

.mq-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  transition: background .2s;
}

.mq-social a:hover {
  background: var(--miqat-green);
  color: #fff;
}

/* Barre du bas */
.mq-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .10);
  font-size: 14px;
  color: rgba(255, 255, 255, .55);
}

.mq-footer-legal {
  display: flex;
  gap: 20px;
}

@media (max-width: 767px) {
  .mq-newsletter {
    padding: 24px;
    text-align: center;
    justify-content: center;
  }

  .mq-footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

/* v9b — vague en haut du footer */
.mq-footer {
  margin-top: 0;
  padding-top: 110px;
}

.mq-footer-wave {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  pointer-events: none;
  transform: rotate(180deg);
  /* les vagues blanches descendent dans le vert */
}

.mq-footer-wave img {
  width: 100%;
  height: auto;
  display: block;
}

.mq-newsletter {
  top: 0;
  margin-bottom: 30px;
}

/* =========================================================
   v10 — VERSION FRANÇAISE (LTR) : miroir des réglages RTL
   ========================================================= */
html[dir="ltr"] .advantage-card,
html[dir="ltr"] .ref-tour-content,
html[dir="ltr"] .travexa-custom-select .select-options {
  text-align: left;
}

html[dir="ltr"] .advantage-number {
  left: auto !important;
  right: 18px !important;
}

html[dir="ltr"] .advantage-icon {
  margin-left: 0 !important;
  margin-right: auto;
}

html[dir="ltr"] .ref-tour-badge {
  right: auto !important;
  left: 12px !important;
}

html[dir="ltr"] .travexa-custom-select .select-options {
  right: auto !important;
  left: -64px !important;
}

html[dir="ltr"] .mq-footer-title::after {
  right: auto;
  left: 0;
}

html[dir="ltr"] .marquee-card .card-title {
  direction: ltr;
}


/* Titres français plus longs : un peu plus compacts */
html[dir="ltr"] .hero-main-heading {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.15;
}

html[dir="ltr"] .section-main-heading {
  line-height: 1.2;
}

html[dir="ltr"] .panel-collapsed-title span {
  font-size: 15px;
}




.dest-badge-item {
  gap: 10px;
}

.expand-panel.active .panel-category-badge {
  gap: 5px;
}

.panel-pill {
  gap: 5px;
}

.panel-icon {
  box-shadow: 0 8px 25px rgb(68 165 43 / 31%);
}

#features {
  background: #ebf6e9;
}

.dest-badge-item {
  display: inline-flex;
  align-items: center;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
  background: #e9f5e8;
  border: 1px solid #e9f5e8;
  padding: 7px 18px;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgb(68 165 43 / 19%);
  transition: all 0.3s ease;
}


.slider-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgb(4 100 45);
  background: var(--bg-light);
  color: #04642d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.travexa-marquee-section {
  position: relative;
  background: #eef7ea;
  padding: 70px 0 80px;
  overflow: hidden;
  border-top: 1px solid #eef7ea;
  border-bottom: 1px solid #eef7ea;
}



/* v11 — menu des langues : "Français" était blanc sur blanc */
.top-header .dropdown-menu {
  background: #fff !important;
  border: 1px solid #E6EFE3 !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 30px rgba(4, 100, 45, .15) !important;
  padding: 6px !important;
  min-width: 150px;
}

.top-header .dropdown-menu .dropdown-item {
  color: #1A1A1A !important;
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 600;
  background: transparent !important;
}

.top-header .dropdown-menu .dropdown-item:hover {
  background: var(--miqat-light) !important;
  color: var(--miqat-dark-green) !important;
}

.top-header .dropdown-menu .dropdown-item.active {
  background: var(--miqat-green) !important;
  color: #fff !important;
}

.main-header.header-glass .brand-logo-img {
  display: block;
  max-height: 80px;
  width: auto;
  height: 65px;
  object-fit: contain;
}

.slider-nav-btn:hover {
  background: var(--accent);
  color: var(--text-white);
  border-color: var(--accent);
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgb(68 165 43 / 51%);
}

.search-modal .modal-content {
  backdrop-filter: blur(28px) saturate(190%) !important;
  min-height: 100vh !important;
  width: 100% !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  background: linear-gradient(135deg, var(--miqat-green), var(--miqat-dark-green));
  border-width: medium !important;
  border-style: none !important;
  border-color: currentcolor !important;
  border-image: none !important;
  border-radius: 0px !important;
  padding: 0px !important;
}


/* v12 — bouton "haut de page" à DROITE, chat à GAUCHE (AR + FR) */
body #scrollToTopBtn.scroll-to-top {
  right: 24px !important;
  left: auto !important;
  inset-inline-start: auto !important;
  inset-inline-end: auto !important;
  bottom: 24px !important;
}

body .miqat-contact-btn {
  left: 24px !important;
  right: auto !important;
  inset-inline-start: auto !important;
  inset-inline-end: auto !important;
}

.tb-bc-item:hover .tb-bc-icon,
.tb-bc-item.active .tb-bc-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-white);
  box-shadow: 0 4px 12px rgb(4 100 45 / 77%);
}


/* =========================================================
   v13 — PAGE ABOUT (bannière, mission, chiffres, étapes)
   ========================================================= */

.mq-page-banner .tb-dest-hero-overlay {
  background: linear-gradient(180deg, rgb(3 61 28 / 24%) 0%, rgb(3 61 28 / 79%) 100%) !important;
}

.mq-page-banner .tb-flight-path-svg {
  display: none !important;
}

.mq-page-banner .tb-dest-header-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.mq-page-banner h1 .text-accent {
  color: #8EE07A !important;
}

.mq-page-banner .tb-bc-icon {
  background: rgba(255, 255, 255, .15) !important;
  color: #fff !important;
}

.mq-page-banner .tb-bc-item.active .tb-bc-icon {
  background: var(--miqat-green) !important;
}

.mq-page-banner .tb-bc-item,
.mq-page-banner .tb-bc-item span {
  color: #fff !important;
}

.mq-page-banner .tb-bc-line {
  background: rgba(255, 255, 255, .35) !important;
  border-color: rgba(255, 255, 255, .35) !important;
}

.mq-page-banner .tb-bc-plane {
  color: #8EE07A !important;
}

.mq-page-banner .tb-flight-breadcrumb {
  background: rgba(255, 255, 255, .10) !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
}

/* ---------- Mission ---------- */
.our-mission-section {
  background: var(--miqat-light) !important;
}

.mission-bg-blob {
  display: none !important;
}

.our-mission-img {
  aspect-ratio: 4 / 5;
  object-position: 35% center;
}

.mission-floating-badge {
  margin-inline-end: -16px;
}

html[dir="rtl"] .mission-floating-badge {
  right: auto !important;
  left: 0 !important;
  margin-inline-end: 0;
  margin-inline-start: -16px;
}

.mission-badge-icon {
  width: 52px;
  height: 52px;
  background: var(--miqat-light) !important;
  color: var(--miqat-green) !important;
}

.mission-value-card {
  background: #fff !important;
  border-color: #E6EFE3 !important;
  transition: transform .25s, box-shadow .25s;
}

.mission-value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(4, 100, 45, .10) !important;
}

.value-card-bg {
  display: none !important;
}

.value-icon-box {
  width: 52px;
  height: 52px;
  background: var(--miqat-light) !important;
  color: var(--miqat-green) !important;
  border: 1px solid #DCEBD6;
  transition: background .25s, color .25s;
}

.mission-value-card:hover .value-icon-box {
  background: var(--miqat-green) !important;
  color: #fff !important;
}

/* ---------- Pourquoi nous / chiffres ---------- */
.achievements-overlay {
  background: linear-gradient(135deg, rgb(3 61 28 / 49%) 0%, rgb(4 100 45 / 55%) 100%) !important;
}

.about-achievements-section .section-script-tag {
  color: #8EE07A !important;
}

.about-achievements-section h2 .text-accent {
  color: #8EE07A !important;
}

.mq-why-text {
  color: rgba(255, 255, 255, 1);
}

.feature-glass-item {
  background: rgba(255, 255, 255, .08) !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  backdrop-filter: blur(6px);
}

.feature-glass-icon {
  width: 48px;
  height: 48px;
  background: var(--miqat-green) !important;
  color: #fff !important;
}

.stat-glass-card {
  background: rgba(255, 255, 255, .08) !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  backdrop-filter: blur(8px);
}

.stat-icon-wrapper {
  color: #8EE07A !important;
  font-size: 28px;
}

/* ---------- Étapes ---------- */
.about-process-section {
  background: var(--miqat-light) !important;
  margin-bottom: 0 !important;
}

.process-card {
  border-color: #E6EFE3 !important;
  transition: transform .25s, box-shadow .25s;
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(4, 100, 45, .10) !important;
}

.process-step-badge {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--miqat-green) !important;
  box-shadow: 0 6px 16px rgba(68, 165, 43, .35) !important;
}

.process-icon {
  width: 72px;
  height: 72px;
  background: var(--miqat-light) !important;
  color: var(--miqat-green) !important;
}

.process-grid-wrapper::before,
.process-grid-wrapper::after {
  border-color: #CFE6C7 !important;
  background: transparent !important;
}

/* ---------- Services de l'application ---------- */
.mq-app-services {
  background: #fff;
}

.mq-service-item {
  background: #fff;
  border: 1px solid #E6EFE3;
  border-radius: 16px;
  padding: 18px 20px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.mq-service-item:hover {
  transform: translateY(-3px);
  border-color: #CFE6C7;
  box-shadow: 0 14px 30px rgba(4, 100, 45, .10);
}

.mq-service-item p {
  color: #333;
  font-weight: 600;
  line-height: 1.8;
}

.mq-service-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--miqat-light);
  color: var(--miqat-green);
  font-size: 20px;
  transition: background .25s, color .25s;
}

.mq-service-item:hover .mq-service-icon {
  background: var(--miqat-green);
  color: #fff;
}

/* v14 — page About : cartes équipe */
.team-card-premium .mq-team-icon {
  top: 16px;
  inset-inline-start: 16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--miqat-green);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 8px 20px rgba(68, 165, 43, .35);
}

.team-overlay-premium {
  background: linear-gradient(180deg, rgba(3, 61, 28, 0) 45%, rgba(3, 61, 28, .55) 100%) !important;
}

.team-social-premium {
  display: none !important;
}

/* v15 — page About : bouton agences + espace avant le footer */
.about-process-section {
  padding-bottom: 70px !important;
}

.about-process-section .process-grid-wrapper+div {
  margin-top: 110px !important;
  /* sous les cartes décalées en escalier */
  position: relative;
  z-index: 2;
}

@media (max-width: 991px) {
  .about-process-section .process-grid-wrapper+div {
    margin-top: 50px !important;
  }
}

/* v16 — vague du footer transparente (s'adapte à la section au-dessus) */
.mq-footer-wave {
  top: -39px !important;
  height: 40px;
  transform: none !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='40' viewBox='0 0 120 40'%3E%3Cpath d='M0 40 V22 Q30 2 60 22 T120 22 V40 Z' fill='%23033D1C'/%3E%3C/svg%3E") repeat-x bottom left / 120px 40px;
}

.mq-footer-wave img {
  display: none !important;
}

.mq-footer {
  padding-top: 70px !important;
}

/* v16b — la vague passe au-dessus de la section précédente */
.mq-footer {
  position: relative;
  z-index: 5 !important;
}

.mq-footer-wave {
  z-index: 5 !important;
}


/* =========================================================
   v17 — PAGE OFFRES (filtres, catégories, cartes)
   ========================================================= */

/* Barre de filtres qui chevauche le bas de la bannière */
.mq-offres-filter {
  margin-top: -55px;
  position: relative;
}

/* Fond vert clair sous la moitié basse de la barre (même couleur que la liste) */
.mq-offres-filter::before {
  content: "";
  position: absolute;
  box-shadow: 0 0 0 100vmax #eef7ea;
  top: 55px;
  bottom: 0;
  left: 0;
  right: 0;
  background: #eef7ea;
  clip-path: inset(0 -100vmax);
  z-index: -1;
}

.mq-offres-filter-2 {
  margin-top: -95px;
  position: relative;
}

.mq-offres-filter-2::before {
  content: "";
  position: absolute;
  box-shadow: 0 0 0 100vmax #f4f9f5;
  top: 55px;
  bottom: 0;
  left: 0;
  right: 0;
  background: #f4f9f5;
  clip-path: inset(0 -100vmax);
  z-index: -1;
}

.mq-offres-filter .hero-booking-bar {
  box-shadow: 0 18px 45px rgba(4, 100, 45, .14) !important;
  border: 1px solid #E6EFE3;
}

.mq-offres-filter .booking-sub {
  color: #333 !important;
}

.mq-offres-list {
  background: var(--miqat-light);
  padding: 70px 0 80px;
  margin-top: 0;
}

/* Catégories (pills) */
.dest-filter-btn {
  background: #fff !important;
  color: var(--miqat-dark-green) !important;
  border: 1px solid #DCEBD6 !important;
  border-radius: 999px !important;
  padding: 8px 20px !important;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  box-shadow: none !important;
}

.dest-filter-btn:hover {
  border-color: var(--miqat-green) !important;
  color: var(--miqat-green) !important;
}

.dest-filter-btn.active {
  background: var(--miqat-green) !important;
  border-color: var(--miqat-green) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(68, 165, 43, .30) !important;
}

/* Résultats + tri */
.mq-results-count {
  font-weight: 700;
  color: var(--miqat-dark-green);
}

.mq-results-count i {
  color: var(--miqat-green);
}

.mq-sort-btn {
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  color: #555;
  text-decoration: none;
  border: 1px solid transparent;
}

.mq-sort-btn:hover {
  color: var(--miqat-green);
}

.mq-sort-btn.active {
  background: #fff;
  border-color: #DCEBD6;
  color: var(--miqat-dark-green);
}

/* Cartes */
.mq-offres-list .tour-card {
  background: #fff;
  border: 1px solid #E6EFE3;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}

.mq-offres-list .tour-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(4, 100, 45, .12);
}

.mq-offres-list .tour-card-img-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.mq-offres-list .tour-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.mq-offres-list .tour-card:hover .tour-card-img {
  transform: scale(1.05);
}

.mq-offres-list .tour-card-body {
  flex: 1;
  padding: 20px;
}

.mq-card-rating {
  inset-inline-start: 0;
  font-size: 12px;
}

.mq-card-duration {
  inset-inline-end: 0;
  font-size: 12px;
  background: var(--miqat-green) !important;
}

.mq-card-distance {
  inset-inline-start: 0;
  font-size: 12px;
  background: rgba(3, 61, 28, .85);
  color: #fff;
  backdrop-filter: blur(4px);
}

.mq-card-agency {
  font-size: 13px;
  font-weight: 700;
  color: var(--miqat-green);
}

.mq-card-stars {
  color: #F5B400;
  font-size: 11px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.mq-offres-list .tour-inclusions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.mq-offres-list .tour-inclusion-item {
  background: var(--miqat-light) !important;
  color: var(--miqat-dark-green) !important;
  border: 0 !important;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
}

.mq-offres-list .tour-inclusion-item i {
  color: var(--miqat-green) !important;
  margin-inline-end: 4px;
}

.mq-card-city i {
  color: var(--miqat-green);
}

.mq-card-footer {
  border-top: 1px solid #EEF3EC;
}

/* Pagination */
.tour-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.page-link-custom {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff !important;
  color: var(--miqat-dark-green) !important;
  border: 1px solid #DCEBD6 !important;
  font-weight: 700;
  text-decoration: none;
}

.page-link-custom:hover {
  border-color: var(--miqat-green) !important;
  color: var(--miqat-green) !important;
}

.page-link-custom.active {
  background: var(--miqat-green) !important;
  border-color: var(--miqat-green) !important;
  color: #fff !important;
}

/* Bandeau "pourquoi réserver" */
.mq-offres-feature {
  border-color: #E6EFE3 !important;
}

.dest-support-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--miqat-light) !important;
  color: var(--miqat-green) !important;
  font-size: 22px;
}

/* v17b — bannière des pages intérieures : la photo couvre toute la hauteur */
.mq-page-banner {
  margin-bottom: 0 !important;
  clip-path: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  border-radius: 0 !important;
  background: var(--miqat-deep) url('../images/miqat/hero.webp') center / cover no-repeat !important;
}

.mq-page-banner::before,
.mq-page-banner::after {
  display: none !important;
}

.mq-page-banner .tb-dest-hero-bg,
.mq-page-banner .tb-dest-hero-overlay {
  top: 0 !important;
  bottom: 0 !important;
  height: 100% !important;
  max-height: none !important;
}

/* Barre de filtres : moitié sur la photo, moitié sur le vert clair */
.mq-offres-filter {
  margin-top: -55px !important;
}

.mq-offres-filter::before {
  top: 50% !important;
}

/* v17c — la barre de filtres des pages intérieures sans la marge du template */
.mq-offres-filter .hero-booking-bar {
  margin-top: 0 !important;
}


.dest-info-icon {
  background: rgb(238 247 234) !important;
}

.page-link-custom:hover,
.page-link-custom.active {
  box-shadow: 0 6px 15px transparent;
}

.page-link-custom:hover,
.page-link-custom.active {
  background: var(--accent);
  color: var(--text-white);
  border-color: var(--accent);
  box-shadow: 0 6px 15px rgb(68 165 43 / 0%);
}

.dest-quick-info-bar.hero-booking-bar.mb-5.aos-init.aos-animate {
  background-color: white !important;
}

/* Fonds "soft" du template (bleu marine / orange / turquoise) → vert clair MIQAT */
.mq-contact .bg-primary-soft,
.mq-contact .bg-accent-soft,
.mq-contact .bg-secondary-soft {
  background-color: var(--miqat-light) !important;
  color: var(--miqat-dark-green) !important;
}

/* Champ actif : contour vert au lieu de l'orange du template */
.mq-contact .contact-form-control:focus {
  border-color: var(--miqat-green) !important;
  box-shadow: 0 10px 25px rgba(68, 165, 43, .12) !important;
}

.contact-card-primary {
  border-top: 4px solid #44a52b !important;
}



.mq-agency-reg {
  background: var(--miqat-light);
}

/* Titres des 4 sections du formulaire */
.mq-reg-section {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--miqat-dark-green);
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: 1px dashed #DCEBD6;
}

.mq-reg-section i {
  color: var(--miqat-green);
}

/* Champs aux couleurs MIQAT */
.mq-agency-reg .form-label {
  font-weight: 600;
  font-size: 14px;
}

.mq-agency-reg .form-control,
.mq-agency-reg .form-select {
  min-height: 48px;
  border-radius: 12px;
  border-color: #DCEBD6;
}

.mq-agency-reg textarea.form-control {
  min-height: 110px;
}

.mq-agency-reg .form-control:focus,
.mq-agency-reg .form-select:focus {
  border-color: var(--miqat-green);
  box-shadow: 0 0 0 .2rem rgba(68, 165, 43, .15);
}

.mq-agency-reg .form-check-input:checked {
  background-color: var(--miqat-green);
  border-color: var(--miqat-green);
}

/* Assistant en 3 étapes : sans JavaScript, toutes les étapes restent visibles */
.mq-wizard.is-ready .mq-wizard-panel {
  display: none;
}

.mq-wizard.is-ready .mq-wizard-panel.is-active {
  display: block;
}

.mq-wizard-steps {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  position: relative;
}

/* Ligne qui relie les 3 étapes */
.mq-wizard-steps::before {
  content: "";
  position: absolute;
  top: 22px;
  inset-inline: 16%;
  height: 2px;
  background: #DCEBD6;
}

.mq-wizard-step {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.mq-wizard-dot {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid #DCEBD6;
  color: #9CA3AF;
  transition: all .2s;
}

.mq-wizard-label {
  font-size: 13px;
  font-weight: 700;
  color: #9CA3AF;
}

.mq-wizard-step.is-active .mq-wizard-dot {
  background: var(--miqat-green);
  border-color: var(--miqat-green);
  color: #fff;
}

.mq-wizard-step.is-active .mq-wizard-label {
  color: var(--miqat-dark-green);
}

.mq-wizard-step.is-done .mq-wizard-dot {
  background: var(--miqat-light);
  border-color: var(--miqat-green);
  color: var(--miqat-green);
}

.mq-wizard-step.is-done .mq-wizard-label {
  color: var(--miqat-green);
}

/* Le compteur "Étape 1 sur 3" ne sert qu'avec le JavaScript */
.mq-wizard:not(.is-ready) .mq-wizard-progress {
  display: none;
}


/* Sélecteur de langue : pastille vert clair, même hauteur que le bouton "إنشاء حساب" */
.main-header .header-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--miqat-light) !important;
  color: var(--miqat-dark-green) !important;
  font-weight: 700;
  font-size: 15px;
  transition: background .2s, color .2s;
}

.main-header .header-lang-toggle i {
  color: var(--miqat-green);
  font-size: 16px;
}

.main-header .header-lang-toggle::after {
  margin-inline-start: 2px;
}

.main-header .header-lang-toggle:hover,
.main-header .header-lang-toggle[aria-expanded="true"] {
  background: #DCEFD4 !important;
  color: var(--miqat-dark-green) !important;
}

.item:hover,
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item.active {
  background: rgb(238 247 234) !important;
  color: var(--accent) !important;
  font-weight: 700 !important;
  transform: translateX(0px);
}


.mq-legal-toc { border-top: 4px solid var(--miqat-green); }
@media (min-width: 992px) {
  .mq-legal-toc { position: sticky; top: 110px; }
}
.mq-legal-toc-list li + li { margin-top: 4px; }
.mq-legal-toc-list a {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 10px; border-radius: 10px;
  color: #4B5563; font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background .2s, color .2s;
}
.mq-legal-toc-list a:hover { background: var(--miqat-light); color: var(--miqat-dark-green); }
.mq-legal-toc-num {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--miqat-light); color: var(--miqat-dark-green); font-size: 12px; font-weight: 700;
  transition: background .2s, color .2s;
}
.mq-legal-toc-list a:hover .mq-legal-toc-num { background: var(--miqat-green); color: #fff; }

/* Date de mise à jour : petite pastille */
.mq-legal-updated {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--miqat-light); color: var(--miqat-dark-green); font-size: 13px; font-weight: 600;
}

/* Sections : espacées et séparées par un trait fin */
.mq-legal-section { padding-block: 28px; border-top: 1px solid #EEF1EC; scroll-margin-top: 110px; }
.mq-legal-section:first-of-type { border-top: 0; padding-top: 0; }
.mq-legal-section p { line-height: 1.9; }
.mq-legal-section p:last-child { margin-bottom: 0; }
.mq-legal-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; margin-inline-end: 10px; border-radius: 10px;
  background: var(--miqat-green); color: #fff; font-size: 15px; vertical-align: middle;
}

/* Listes : coche verte au lieu de la puce */
.mq-legal-list { list-style: none; padding: 0; margin: 0; }
.mq-legal-list li { position: relative; padding-inline-start: 30px; line-height: 1.8; }
.mq-legal-list li + li { margin-top: 10px; }
.mq-legal-list li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; inset-inline-start: 0; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--miqat-light); color: var(--miqat-green); font-size: 10px;
}

/* Encadré contact en bas */
.mq-legal-contact { background: var(--miqat-light); border: 1px dashed rgba(68, 165, 43, .4); }