/* ==========================================================================
   Escales du Monde — page d'accueil (V2)
   Chargée UNIQUEMENT par les trois index.html (fr / en / ar), après
   styles.css. Le style global (couleurs, polices, en-tête, pied de page) est
   dans styles.css ; ici : le hero « destinations », la barre de services, le
   bandeau des compagnies, « Nos voyages » et la bande WhatsApp.

   Direction : photo plein écran, grands titres, cartes-photo (références
   Globe Express et Roamly). Propriétés LOGIQUES partout (inset-inline,
   padding-inline…) : la même feuille sert le français, l'anglais et l'arabe.
   ========================================================================== */

.t-title { font-family: var(--font-title); }

.site-footer { margin-top: 0; border-radius: 0; }

/* ------------------------------------------------------------------ Hero -- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: clamp(640px, 88svh, 840px);
  background: var(--navy); color: #fff;
}
.hero-bgs, .hero-shade { position: absolute; inset: 0; z-index: -1; }
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.07);
  transition: opacity 1.1s ease, transform 9s ease-out;
}
.hero-bg.is-active { opacity: 1; transform: scale(1); }
/* Voile : lisibilité du texte à gauche, du bas (cartes, barre de services)
   et du haut (en-tête transparent). Retourné en arabe, où le texte passe à
   droite — les dégradés verticaux ne changent pas en miroir.              */
.hero-shade {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(9, 30, 49, .82) 0%, rgba(9, 30, 49, .5) 42%, rgba(9, 30, 49, .08) 78%),
    linear-gradient(0deg, rgba(9, 30, 49, .72) 0%, rgba(9, 30, 49, 0) 38%),
    linear-gradient(180deg, rgba(9, 30, 49, .6) 0%, rgba(9, 30, 49, 0) 24%);
}
[dir="rtl"] .hero-shade { transform: scaleX(-1); }

.hero-inner {
  position: relative; z-index: 2; width: 100%; max-width: 1240px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  gap: 48px; align-items: end;
  padding-block: 150px 132px;
}

/* Texte du voyage actif. Chaque changement relance l'apparition en cascade
   (classe .is-in reposée par hero.js).                                    */
.hero-copy { min-width: 0; }
.hero-copy.is-in > * { animation: hero-rise .8s cubic-bezier(.16, 1, .3, 1) both; }
.hero-copy.is-in > :nth-child(2) { animation-delay: .06s; }
.hero-copy.is-in > :nth-child(3) { animation-delay: .12s; }
.hero-copy.is-in > :nth-child(4) { animation-delay: .18s; }
.hero-copy.is-in > :nth-child(5) { animation-delay: .24s; }
.hero-copy.is-in > :nth-child(6) { animation-delay: .3s; }
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-country {
  display: flex; align-items: center; gap: 12px; margin: 0 0 14px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: rgba(255, 255, 255, .92);
}
.hero-country::before {
  content: ''; width: 36px; height: 3px; border-radius: 2px; background: var(--gold); flex: none;
}
.hero-flag { width: 24px; height: 24px; object-fit: cover; border-radius: 50%; flex: none; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .8); }

.hero-title {
  font-size: clamp(40px, 5.6vw, 82px); font-weight: 800;
  line-height: .98; letter-spacing: -.035em; text-transform: uppercase;
  overflow-wrap: anywhere; text-wrap: balance;
  text-shadow: 0 2px 24px rgba(9, 30, 49, .35);
}
.hero-rest { margin: 12px 0 0; font-size: clamp(17px, 1.9vw, 22px); font-weight: 600; color: rgba(255, 255, 255, .9); }

.hero-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 20px 0 0; }
.hero-meta { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, .9); }
.hero-meta svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hero-badge {
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
  padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--navy);
}
.hero-badge.is-promo, .hero-badge.is-limited { background: var(--salmon); color: #fff; }
.hero-badge.is-combo { background: var(--blue); color: #fff; }
.hero-badge.is-event { background: var(--event); color: #fff; }
.hero-badge.is-soon  { background: var(--navy-soft); color: #fff; }

.hero-price { margin: 18px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.hero-from, .hero-per { font-size: 14px; color: rgba(255, 255, 255, .82); }
.hero-old { font-size: 15px; color: rgba(255, 255, 255, .7); }
.hero-amount { font-family: var(--font-title); font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.01em; }

.hero-cta {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px;
  background: #fff; color: var(--blue); text-decoration: none;
  font-weight: 700; font-size: 16px; padding: 15px 26px; border-radius: 999px;
  box-shadow: 0 8px 26px rgba(9, 30, 49, .28);
  transition: transform .18s cubic-bezier(.34, 1.4, .64, 1), box-shadow .18s ease, background .18s ease;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(9, 30, 49, .36); background: var(--blue-tint); }
.hero-cta:active { transform: translateY(0) scale(.97); }
.hero-cta svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; }
.hero-cta:hover svg { transform: translateX(3px); }
[dir="rtl"] .hero-cta:hover svg { transform: scaleX(-1) translateX(3px); }

/* Rail de cartes + commandes. Le rail défile au doigt / à la molette ; la
   carte active se recentre toute seule (hero.js).                         */
.hero-rail { min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-cards {
  /* Marges internes généreuses : la carte active se soulève de 8 px et porte un
     contour de 2 px + 3 px de décalage — sans ça, `overflow` le rognait.     */
  list-style: none; margin: -10px -8px 0; padding: 20px 8px 14px;
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.hero-cards::-webkit-scrollbar { display: none; }
.hero-cardli { flex: none; scroll-snap-align: start; }
.hero-card {
  position: relative; display: block; width: 168px; height: 232px; padding: 0;
  border: 0; border-radius: 20px; overflow: hidden; cursor: pointer; background: var(--navy-soft);
  box-shadow: 0 10px 28px rgba(9, 30, 49, .4);
  outline: 2px solid transparent; outline-offset: 3px;
  transition: transform .25s cubic-bezier(.34, 1.4, .64, 1), outline-color .2s ease, opacity .25s ease;
  opacity: .8; text-align: start; color: #fff;
}
.hero-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hero-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(9, 30, 49, .85) 0%, rgba(9, 30, 49, 0) 60%);
}
.hero-card:hover { opacity: 1; transform: translateY(-4px); }
.hero-card:hover img { transform: scale(1.06); }
.hero-card.is-active { opacity: 1; outline-color: #fff; transform: translateY(-8px); }
.hero-card-txt { position: absolute; inset-inline: 14px; bottom: 14px; z-index: 1; display: grid; gap: 2px; }
.hero-card-sub { font-size: 11px; font-weight: 500; color: rgba(255, 255, 255, .82); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-card-title { font-size: 17px; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; text-transform: uppercase; }

.hero-ctrl { display: flex; align-items: center; gap: 12px; }
.hero-arrow {
  width: 46px; height: 46px; border-radius: 50%; flex: none; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .5); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .16s ease, transform .14s cubic-bezier(.34, 1.4, .64, 1);
}
.hero-arrow:hover { background: rgba(255, 255, 255, .3); }
.hero-arrow:active { transform: scale(.9); }
.hero-arrow svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.hero-prog { flex: 1; min-width: 40px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; margin-inline: 6px; }
.hero-prog i {
  display: block; height: 100%; width: 100%; background: #fff;
  transform-origin: left center; transform: scaleX(0);
  animation: hero-prog 7s linear forwards;
}
[dir="rtl"] .hero-prog i { transform-origin: right center; }
.hero.is-paused .hero-prog i { animation-play-state: paused; }
@keyframes hero-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-count { display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--font-title); color: rgba(255, 255, 255, .7); font-size: 14px; font-weight: 600; }
.hero-count b { font-size: 30px; font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1; }

/* ------------------------------------------------------------ Mobile ---- */
@media (max-width: 899px) {
  .hero { min-height: 0; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 128px 120px; }
  .hero-shade {
    background:
      linear-gradient(0deg, rgba(9, 30, 49, .88) 0%, rgba(9, 30, 49, .55) 48%, rgba(9, 30, 49, .15) 100%),
      linear-gradient(180deg, rgba(9, 30, 49, .6) 0%, rgba(9, 30, 49, 0) 24%);
  }
  .hero-card { width: 132px; height: 184px; border-radius: 16px; }
  .hero-card-title { font-size: 15px; }
  .hero-rail { gap: 14px; }
}
@media (max-width: 559px) {
  /* Le hero doit tenir sur un écran de téléphone : on resserre tout. */
  .hero-inner { padding-block: 96px 92px; gap: 20px; }
  .hero-country { font-size: 12px; letter-spacing: .06em; margin-bottom: 10px; gap: 9px; }
  .hero-country::before { width: 22px; }
  .hero-title { font-size: clamp(38px, 12.5vw, 52px); }
  .hero-rest { margin-top: 8px; font-size: 17px; }
  .hero-tags { margin-top: 14px; }
  .hero-price { margin-top: 12px; }
  .hero-per { flex-basis: 100%; font-size: 13px; }
  .hero-cta { width: 100%; justify-content: center; margin-top: 18px; padding: 14px 24px; }
  .hero-card { width: 112px; height: 148px; border-radius: 14px; }
  .hero-card-sub { display: none; }
  .hero-card-txt { inset-inline: 10px; bottom: 10px; }
  .hero-card-title { font-size: 13.5px; }
  .hero-cards { gap: 10px; }
  .hero-ctrl { gap: 10px; }
  .hero-prev, .hero-next { display: none; }   /* le glissement du doigt remplace les flèches */
  .hero-count b { font-size: 26px; }
}

/* --------------------------------------------------- Barre de services ---- */
/* Posée sur le bas du hero (marge négative) : les services sont visibles dès
   le premier écran. Grille régulière — jamais de rangée coupée :
     ≥ 1180 px   une seule rangée (--n colonnes, posé par chrome.js)
     560–1179    deux rangées égales (--half colonnes)
     < 560       rangée unique qui défile au doigt, avec un fondu au bord.  */
.svc-bar { position: relative; z-index: 5; margin-top: -58px; }
.svc-bar .wrap { max-width: 1240px; }
.sb-list {
  list-style: none; margin: 0; padding: 12px;
  display: grid; align-items: start; gap: 6px 2px;
  grid-template-columns: repeat(var(--half, 5), minmax(0, 1fr));
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px rgba(9, 30, 49, .2), 0 2px 6px rgba(9, 30, 49, .06);
}
@media (min-width: 1180px) { .sb-list { grid-template-columns: repeat(var(--n, 10), minmax(0, 1fr)); } }
.sb-link {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 9px;
  height: 100%; padding: 12px 6px 10px; border-radius: 18px;
  text-decoration: none; color: var(--text);
  transition: background .16s ease, transform .16s ease;
}
.sb-link:hover { background: var(--bg); transform: translateY(-2px); }
.sb-link:focus-visible { outline-offset: -2px; }
.sb-ico {
  width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center;
  background: var(--tone-bg); color: var(--tone-fg);
  transition: background .18s ease, color .18s ease, transform .18s cubic-bezier(.34, 1.4, .64, 1);
}
.sb-link:hover .sb-ico { background: var(--tone-fg); color: #fff; transform: scale(1.06); }
.sb-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sb-label { font-size: 13px; font-weight: 600; line-height: 1.25; text-align: center; text-wrap: balance; }
.sb-soon {
  margin-top: -3px; font-size: 9.5px; font-weight: 700; line-height: 1; white-space: nowrap;
  padding: 3px 8px; border-radius: 999px; background: var(--navy); color: #fff;
}
@media (max-width: 899px) { .svc-bar { margin-top: -46px; } }
@media (max-width: 559px) {
  .sb-list {
    display: flex; gap: 2px; padding: 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
            mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
  }
  [dir="rtl"] .sb-list {
    -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 28px), transparent);
            mask-image: linear-gradient(to left, #000 calc(100% - 28px), transparent);
  }
  .sb-list::-webkit-scrollbar { display: none; }
  .sb-item { flex: 0 0 auto; width: 92px; scroll-snap-align: start; }
  .sb-ico { width: 48px; height: 48px; border-radius: 16px; }
}

/* -------------------------------------------- Tous nos services (cartes) ---- */
/* Une carte-photo par service, plus petite que les cartes de voyage : les
   voyages restent en vedette, les autres services ont chacun leur place.   */
.services-grid { padding: 8px 0 80px; }
.services-grid .wrap { max-width: 1240px; }
.sg-head { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 30px; }
.sg-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.sv-card {
  position: relative; display: block; isolation: isolate; overflow: hidden;
  aspect-ratio: 16 / 10; border-radius: var(--radius-lg); background: var(--navy-soft);
  color: #fff; text-decoration: none; box-shadow: var(--shadow-sm);
  transition: transform .28s cubic-bezier(.34, 1.3, .64, 1), box-shadow .28s ease;
}
.sv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.sv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.sv-card:hover .sv-img { transform: scale(1.06); }
.sv-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(9, 30, 49, .88) 0%, rgba(9, 30, 49, .35) 52%, rgba(9, 30, 49, .05) 100%); }
.sv-ico {
  position: absolute; top: 14px; inset-inline-start: 14px; width: 48px; height: 48px; border-radius: 16px;
  display: grid; place-items: center; background: var(--tone-bg); color: var(--tone-fg);
  box-shadow: 0 4px 14px rgba(9, 30, 49, .22);
}
.sv-ico svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sv-soon {
  position: absolute; top: 14px; inset-inline-end: 62px;
  font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--navy); color: #fff;
}
.sv-go {
  position: absolute; top: 14px; inset-inline-end: 14px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--navy);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.sv-card:hover .sv-go { background: var(--blue); color: #fff; transform: rotate(8deg); }
.sv-go svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sv-body { position: absolute; inset-inline: 18px; bottom: 16px; display: grid; gap: 4px; }
.sv-title { font-size: 21px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.sv-desc { font-size: 13.5px; line-height: 1.4; color: rgba(255, 255, 255, .88); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1023px) { .sg-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) {
  .services-grid { padding-bottom: 56px; }
  .sg-list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .sv-card { aspect-ratio: 16 / 9.5; }
}

/* ------------------------------------------------ Compagnies aériennes ---- */
/* Défilement continu, en pause au survol. Le HTML contient la liste deux fois
   (la seconde en aria-hidden) : l'animation recule de 50 %, donc boucle sans
   saut. Avec « réduire les animations », plus de défilement : la liste
   passe à la ligne et tout reste visible.                                  */
.airlines { padding: 52px 0 60px; }
.airlines-label {
  margin: 0 0 24px; text-align: center;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted);
}
.airlines-track {
  display: flex; width: max-content; animation: airlines-scroll 38s linear infinite;
}
.airlines-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.airlines-wrap:hover .airlines-track, .airlines-wrap:focus-within .airlines-track { animation-play-state: paused; }
.airlines-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex: none; }
.airlines-list li { flex: none; width: 150px; height: 40px; display: grid; place-items: center; padding-inline: 14px; }
.airlines-list img { max-height: 30px; max-width: 120px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .2s ease, opacity .2s ease; }
.airlines-list li:hover img { filter: none; opacity: 1; }
@keyframes airlines-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[dir="rtl"] .airlines-track { animation-name: airlines-scroll-rtl; }
@keyframes airlines-scroll-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) {
  .airlines-track { animation: none !important; width: auto; flex-wrap: wrap; justify-content: center; }
  .airlines-list[aria-hidden="true"] { display: none; }
  .airlines-list { flex-wrap: wrap; justify-content: center; }
  .airlines-wrap { -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 559px) {
  .airlines { padding: 40px 0 44px; }
  .airlines-list li { width: 128px; }
}

/* ------------------------------------------------------ Nos voyages -------- */
.top-places { padding: 76px 0 84px; overflow: hidden; }
.tp-layout { max-width: 1240px; display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 44px; align-items: center; }
.tp-intro { display: flex; flex-direction: column; align-items: flex-start; }
.tp-rule { width: 48px; height: 3px; border-radius: 2px; background: var(--gold); margin-bottom: 18px; }
.tp-title { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.03em; }
.tp-lede { margin: 12px 0 0; color: var(--text-muted); max-width: 30ch; }
.tp-nav { display: flex; gap: 10px; margin-top: 28px; }
.tp-arrow {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--navy); border: 1px solid var(--navy); color: #fff;
  transition: background .16s ease, transform .14s cubic-bezier(.34, 1.4, .64, 1), opacity .16s ease;
}
.tp-arrow:hover { background: var(--blue); border-color: var(--blue); }
.tp-arrow:active { transform: scale(.9); }
.tp-arrow[hidden] { display: grid; visibility: hidden; }     /* garde la place : le titre ne bouge pas */
.tp-arrow svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tp-all {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  color: var(--blue); font-weight: 700; font-size: 15px; text-decoration: none;
}
.tp-all:hover { color: var(--blue-deep); }
.tp-all svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .16s ease; }
.tp-all:hover svg { transform: translateX(3px); }
[dir="rtl"] .tp-all:hover svg { transform: scaleX(-1) translateX(3px); }

.tp-track {
  list-style: none; margin: 0; padding: 8px 4px 16px;
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; min-width: 0;
}
.tp-track::-webkit-scrollbar { display: none; }
.tp-item { flex: none; width: calc((100% - 36px) / 3); min-width: 232px; scroll-snap-align: start; }

/* Carte-photo de voyage : la photo remplit la carte, le texte repose sur un
   dégradé sombre en bas. Même carte que le hero (rail) en version large.   */
.vc {
  position: relative; display: block; isolation: isolate; overflow: hidden;
  aspect-ratio: 3 / 4.15; border-radius: var(--radius-lg); background: var(--navy-soft);
  color: #fff; text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform .28s cubic-bezier(.34, 1.3, .64, 1), box-shadow .28s ease;
}
.vc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.vc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.vc:hover .vc-img { transform: scale(1.06); }
.vc-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(9, 30, 49, .9) 0%, rgba(9, 30, 49, .45) 38%, rgba(9, 30, 49, 0) 66%); }
.vc-badge {
  position: absolute; top: 14px; inset-inline-start: 14px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .02em;
  padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--navy);
  box-shadow: 0 2px 8px rgba(9, 30, 49, .2);
}
.vc-badge.is-promo, .vc-badge.is-limited { background: var(--salmon); color: #fff; }
.vc-badge.is-combo { background: var(--blue); color: #fff; }
.vc-badge.is-event { background: var(--event); color: #fff; }
.vc-badge.is-soon  { background: var(--navy); color: #fff; }
.vc-go {
  position: absolute; top: 12px; inset-inline-end: 12px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--navy);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.vc:hover .vc-go { background: var(--blue); color: #fff; transform: rotate(8deg); }
.vc-go svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.vc-body { position: absolute; inset-inline: 18px; bottom: 18px; display: grid; gap: 5px; }
.vc-sub { display: flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 500; color: rgba(255, 255, 255, .92); min-width: 0; }
.vc-sub > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-flag { width: 24px; height: 24px; object-fit: cover; border-radius: 50%; flex: none; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .8); }
.vc-title { font-size: 22px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.vc-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; margin-top: 4px; }
.vc-dur { font-size: 12.5px; color: rgba(255, 255, 255, .8); }
.vc-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; }
.vc-from { font-size: 11.5px; color: rgba(255, 255, 255, .8); }
.vc-old { font-size: 12px; color: rgba(255, 255, 255, .65); }
.vc-amount { font-family: var(--font-title); font-size: 17px; font-weight: 800; white-space: nowrap; }
@media (max-width: 899px) {
  .top-places { padding: 56px 0 64px; }
  .tp-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tp-lede { max-width: none; }
  .tp-nav { display: none; }       /* défilement au doigt */
  .tp-all { margin-top: 14px; }
  .tp-track { margin-inline: -20px; padding-inline: 20px; scroll-padding-inline: 20px; }
  .tp-item { width: 72vw; max-width: 300px; min-width: 0; }
}

/* ------------------------------------------------------ Bande WhatsApp ---- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 104px 0; text-align: center; color: #fff;
}
.cta-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(9, 30, 49, .78), rgba(9, 30, 49, .66));
}
.cta-inner { max-width: 760px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-inner h2 { font-size: clamp(28px, 4.6vw, 48px); font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
.cta-inner p { margin: 0; font-size: 17px; color: rgba(255, 255, 255, .88); max-width: 52ch; }
.cta-inner .btn-wa { margin-top: 10px; padding: 16px 30px; font-size: 17px; }
@media (max-width: 559px) { .cta-band { padding: 72px 0; } }

/* ======================================================================== */
/* VERSION MOBILE (V2) — accueil, sous 768 px (js/m-home.js)                 */
/* ======================================================================== */
.m-home { display: none; }
@media (max-width: 767px) {
  /* Les sections ordinateur cèdent la place à l'accueil mobile. Le hero garde
     son <h1> (lecteurs d'écran, référencement) ; le reste est masqué. La
     frise des compagnies aériennes reste, plus bas. */
  .hero { min-height: 0; height: 0; padding: 0; overflow: hidden; background: none; }
  .hero > *:not(h1) { display: none !important; }
  .svc-bar, .top-places, .services-grid, .cta-band { display: none; }
  body.has-hero { padding-top: 0; }
  .m-home { display: block; padding-bottom: 8px; }

  /* La photo de la vedette reste fixe ; la feuille blanche (.mh-sheet) défile par-dessus. */
  .mh-hero { position: sticky; top: 0; z-index: 0; background: var(--navy); overflow: hidden; color: #fff; }
  .mh-hero + .mh-sheet { position: relative; z-index: 1; margin-top: -30px; padding-top: 4px; background: var(--bg); border-radius: 30px 30px 0 0; }
  .mh-feat { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .mh-feat li { flex: none; width: 100%; scroll-snap-align: start; }
  .mh-slide { position: relative; display: block; height: clamp(500px, 76svh, 620px); color: #fff; text-decoration: none; }
  .mh-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .mh-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 30, 49, .6) 0%, rgba(9, 30, 49, 0) 30%, rgba(9, 30, 49, .12) 48%, rgba(9, 30, 49, .92) 100%); }
  .mh-sbody { position: absolute; z-index: 1; inset-inline: 20px; bottom: 84px; display: flex; flex-direction: column; gap: 6px; }
  .mh-ssub { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .mh-flag { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .8); }
  .mh-stitle { font-family: var(--font-title); font-size: 38px; font-weight: 800; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
  .mh-sline { font-size: 14px; color: rgba(255, 255, 255, .9); }
  .mh-sline strong { font-weight: 800; color: #fff; }
  .mh-scta { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; height: 54px; border-radius: 999px; background: #fff; color: var(--blue); font-weight: 800; font-size: 16px; }
  .mh-scta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
  [dir="rtl"] .mh-scta svg { transform: scaleX(-1); }
  .mh-dots { position: absolute; z-index: 2; inset-inline: 0; bottom: 50px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
  .mh-dots span { width: 6px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .5); transition: width .2s ease, background .2s ease; }
  .mh-dots span.is-on { width: 22px; background: #fff; }

  .mh-svc { margin-top: 20px; }
  .mh-svc ul { list-style: none; margin: 0; padding: 0 20px 4px; display: flex; gap: 6px; overflow-x: auto; scroll-padding-inline: 20px; }
  .mh-svc li { flex: none; width: 84px; }
  .mh-svc a, .mh-svc button {
    display: flex; flex-direction: column; align-items: center; gap: 7px; width: 100%; padding: 0;
    border: 0; background: none; cursor: pointer; text-decoration: none; color: var(--text);
  }
  .mh-ico { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 20px; background: var(--tone-bg); color: var(--tone-fg); }
  .mh-ico.is-all { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
  .mh-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .mh-lbl { font-size: 12px; font-weight: 600; line-height: 1.2; text-align: center; overflow-wrap: break-word; hyphens: auto; }

  .mh-sec { padding: 26px 0 0; }
  .mh-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 20px; margin-bottom: 12px; }
  .mh-head h2 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
  .mh-head a { font-size: 14px; font-weight: 700; text-decoration: none; }

  .mh-rail { list-style: none; margin: 0; padding: 0 20px 6px; display: flex; gap: 12px; overflow-x: auto; scroll-padding-inline: 20px; }
  .mh-rail li { flex: none; width: 168px; }
  .mh-tcard { display: block; color: var(--text); text-decoration: none; }
  .mh-tcard img { width: 168px; height: 120px; object-fit: cover; border-radius: 18px; }
  .mh-tt { display: block; margin-top: 8px; font-weight: 700; font-size: 15px; line-height: 1.25; }
  .mh-tp { display: block; font-size: 13px; color: var(--text-muted); }

  .mh-omra { position: relative; display: flex; align-items: flex-end; height: 150px; margin-inline: 20px; border-radius: 24px; overflow: hidden; color: #fff; text-decoration: none; background: var(--navy-soft); }
  .mh-omra > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .mh-omra::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 30, 49, .9) 0%, rgba(9, 30, 49, .4) 75%); }
  [dir="rtl"] .mh-omra::after { transform: scaleX(-1); }
  .mh-omra-t { position: relative; z-index: 1; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
  .mh-omra-t strong { font-family: var(--font-title); font-size: 24px; font-weight: 800; }
  .mh-omra-t span { font-size: 14px; line-height: 1.4; max-width: 24ch; color: rgba(255, 255, 255, .88); }

  .mh-contact { display: flex; align-items: center; gap: 14px; margin-inline: 20px; padding: 18px; border-radius: 22px; background: var(--navy); color: #fff; }
  .mh-contact > div { flex: 1; }
  .mh-contact strong { display: block; font-family: var(--font-title); font-size: 17px; font-weight: 800; }
  .mh-contact span { display: block; margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, .78); }
  .mh-contact a svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
  .mh-contact a { gap: 8px; flex: none; height: 46px; padding: 0 18px; border-radius: 999px; background: var(--m-wa); color: #fff; display: flex; align-items: center; font-weight: 700; font-size: 14px; text-decoration: none; }

  .airlines { margin-top: 26px; }
}
