/* ==========================================================================
   Jumbo Travel — components.css
   Portage de assets/jumbo.css (runtime v3-* / v5-* / s-* / d-* / t-*) et
   composants du thème (topbar, header, méga-menu, footer, cartes, lignes,
   prix, pastilles, pagination…).
   Handle : jt-components. Dépend de jt-tokens, jt-base et jt-layout.

   Règle : chaque bloc responsive est placé juste après son composant.
   Points de rupture : 1280 / 1024 / 768 / 480.
   grid-template-columns de .jt-mega__inner et .jt-footer__top vit dans
   layout.css — ne pas le redéclarer ici.

   Sommaire
   1.  Portage du runtime + survols réels
   2.  Topbar
   3.  Header, logo, navigation
   4.  Actions du header, boutons, assistant
   5.  Burger et navigation mobile
   6.  Méga-menu (panneau desktop / accordéon mobile)
   7.  Footer
   8.  Cartes
   9.  Lignes de listing
   10. Prix
   11. Pastilles et chips
   12. Sur-titres, fil d'Ariane, chiffres, état vide
   13. Pagination
   ========================================================================== */

/* ==========================================================================
   1. PORTAGE DU RUNTIME
   Les classes v3-* / v5-* / s-* / d-* / t-* de l'export restent valides ;
   les valeurs littérales sont remplacées par les tokens.
   Les 11 `style-hover` du runtime sont réécrits en :hover réels — voir la
   liste au § 1.9.
   ========================================================================== */

/* --- 1.0 Icônes de jt_icon() -------------------------------------------- */
/* Le SVG porte déjà width/height : ici on l'empêche seulement d'être
   comprimé dans une rangée flex et on l'aligne sur le texte. */
.jt-icon {
  flex: none;
  display: block;
  color: inherit;
}

.jt-topbar__trust .jt-icon,
.jt-topbar__links .jt-icon { display: inline-block; vertical-align: middle; }

.jt-icon--check { color: var(--jt-turquoise); }

/* --- 1.1 Zoom d'image et lévitation de carte ---------------------------- */
.v3-zoom,
.jt-card__zoom {
  transition: transform var(--jt-t-slow) var(--jt-ease);
  will-change: transform;
}

.v3-card:hover .v3-zoom,
.jt-card:hover .jt-card__zoom { transform: scale(1.05); }

.v3-card,
.jt-card { transition: transform var(--jt-t-mid) var(--jt-ease); }

.v3-card:hover,
.jt-card:hover { transform: translateY(-6px); }

/* Carte de héros du runtime v5 */
.v5-hcard { transition: transform .45s var(--jt-ease); }
.v5-hcard:hover { transform: translateY(-10px); }
.v5-hz { transition: transform .8s var(--jt-ease); }
.v5-hcard:hover .v5-hz { transform: scale(1.07); }

.v5-ring {
  position: absolute;
  inset: 0;
  border-radius: var(--jt-r-lg);
  border: 2.5px solid transparent;
  transition: border-color var(--jt-t-mid) ease;
  pointer-events: none;
}
.v5-ring.on { border-color: var(--jt-turquoise); }

/* --- 1.2 Flèche ---------------------------------------------------------- */
.v3-arrow,
.s-arrow,
.t-arrow,
.jt-arrow {
  display: inline-block;
  transition: transform var(--jt-t) ease;
}

.v3-card:hover .v3-arrow,
.v3-btn:hover  .v3-arrow,
.t-card:hover  .t-arrow,
.s-row:hover   .s-arrow,
.jt-card:hover .jt-arrow,
.jt-row:hover  .jt-arrow,
.jt-btn:hover  .jt-arrow,
.jt-mega__card:hover .jt-arrow { transform: translateX(5px); }

/* --- 1.3 Soulignement de lien (croît de gauche à droite) ---------------- */
.v3-link,
.jt-link { position: relative; }

.v3-link::after,
.jt-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -4px;
  height: 1.5px;
  background: currentColor;
  transition: right .32s var(--jt-ease);
}

.v3-link:hover::after,
.jt-link:hover::after,
.v3-link:focus-visible::after,
.jt-link:focus-visible::after { right: 0; }

/* --- 1.4 Boutons, chips et lignes du runtime ---------------------------- */
.v3-btn,
.v5-nb,
.d-tab {
  transition: background var(--jt-t-fast) ease,
              color var(--jt-t-fast) ease,
              border-color var(--jt-t-fast) ease;
}

.v3-chip,
.s-chip {
  cursor: pointer;
  transition: background var(--jt-t-fast) ease,
              color var(--jt-t-fast) ease,
              border-color var(--jt-t-fast) ease;
}

.d-tab { cursor: pointer; }

.v3-tab {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
}

.v3-row { transition: background var(--jt-t-xfast) ease; }
.v3-row:hover { background: var(--jt-row-hover); }

.s-row {
  transition: background var(--jt-t) ease, transform var(--jt-t) var(--jt-ease);
}
.s-row:hover {
  background: var(--jt-row-hover-2);
  transform: translateY(-3px);
}
.s-zoom { transition: transform var(--jt-t-slow) var(--jt-ease); }
.s-row:hover .s-zoom { transform: scale(1.06); }

.t-line { transition: background var(--jt-t-xfast) ease; }
.t-line:hover { background: var(--jt-row-hover-2); }

/* --- 1.5 Diaporama et puces --------------------------------------------- */
.v3-slide {
  opacity: 0;
  transition: opacity var(--jt-t-xslow) var(--jt-ease-soft);
}
.v3-slide.on { opacity: 1; }

.v3-dot {
  width: 30px;
  height: 3px;
  border-radius: var(--jt-r-sm);
  background: rgba(255,255,255,.4);
  transition: background var(--jt-t) ease, width var(--jt-t) ease;
}
.v3-dot.on { background: var(--jt-blanc); width: 52px; }

.v5-pd {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: var(--jt-r-circle);
  background: rgba(255,255,255,.35);
  transition: background var(--jt-t) ease, box-shadow var(--jt-t) ease;
}
.v5-pd.on {
  background: var(--jt-blanc);
  box-shadow: var(--jt-shadow-dot);
}

/* --- 1.6 Topbar et navigation du runtime -------------------------------- */
.v3-pre,
.v3-lang { transition: color var(--jt-t-fast) ease; }
.v3-pre:hover,
.v3-lang:hover { color: var(--jt-blanc); }

.v3-nav {
  position: relative;
  transition: color var(--jt-t-fast) ease;
}
.v3-nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 3px;
  background: var(--jt-turquoise);
  transition: right var(--jt-t) var(--jt-ease);
}
.v3-nav:hover::after,
.v3-nav.on::after { right: 0; }

.v3-chev {
  display: inline-block;
  font-size: var(--jt-fs-chev);
  opacity: .45;
  transition: transform .25s ease;
}
.v3-chev.on { transform: rotate(180deg); opacity: .9; }

/* --- 1.7 Onglets de la page voyage (t-*) -------------------------------- */
.t-strip { display: flex; background: var(--jt-blanc); }

.t-tab {
  cursor: pointer;
  flex: 1;
  min-width: 0;
  text-align: left;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--jt-bord);
  padding: 18px 22px 20px;
  font-family: var(--jt-font);
  position: relative;
  transition: background .26s ease;
}
.t-tab:last-child { border-right: 0; }

.t-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 3px;
  background: var(--jt-turquoise);
  transition: right .34s var(--jt-ease);
}
.t-tab:hover { background: var(--jt-row-hover-2); }
.t-tab.on    { background: var(--jt-assist-hover); }
.t-tab.on::after { right: 0; }

.t-tab .t-top { display: flex; align-items: center; margin-bottom: 12px; }

.t-tab .t-rule {
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--jt-rule);
  transition: background .26s ease, width var(--jt-t) var(--jt-ease);
}
.t-tab:hover .t-rule { width: 40px; background: var(--jt-rule-hover); }
.t-tab.on .t-rule    { width: 48px; background: var(--jt-turquoise); }

.t-tab .t-lab { display: block; }

.t-tab .t-lab b {
  display: block;
  font-size: 18px;
  font-weight: var(--jt-fw-black);
  letter-spacing: var(--jt-ls-num-2);
  color: var(--jt-gris-clair);
  white-space: nowrap;
  transition: color .26s ease;
}
.t-tab:hover .t-lab b { color: var(--jt-gris); }
.t-tab.on .t-lab b    { color: var(--jt-encre); }

.t-tab .t-lab i {
  display: block;
  font-size: var(--jt-fs-topbar);
  font-weight: var(--jt-fw-med);
  font-style: normal;
  color: var(--jt-tab-sub-off);
  margin-top: 3px;
  white-space: nowrap;
  transition: color .26s ease;
}
.t-tab.on .t-lab i { color: var(--jt-tab-sub); }

.t-zoom { transition: transform var(--jt-t-slow) var(--jt-ease); }
.t-day:hover .t-zoom { transform: scale(1.05); }

.t-card { transition: transform var(--jt-t-mid) var(--jt-ease); }
.t-card:hover { transform: translateY(-6px); }

.t-shot {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .55s var(--jt-ease-soft);
}
.t-shot.on { opacity: 1; }

.t-thumb {
  opacity: .55;
  outline: 2.5px solid transparent;
  outline-offset: -2.5px;
  transition: opacity .25s ease, outline-color .25s ease;
}
.t-thumb:hover { opacity: .85; }
.t-thumb.on { opacity: 1; outline-color: var(--jt-turquoise); }

/* Bande d'onglets : défile horizontalement plutôt que de comprimer */
@media (max-width: 1023.98px) {
  .t-strip { overflow-x: auto; scrollbar-width: none; }
  .t-strip::-webkit-scrollbar { display: none; }
  .t-tab { flex: 0 0 auto; min-width: 190px; }
}

/* --- 1.8 Favori de carte (v5-fav) --------------------------------------- */
.v5-fav,
.jt-card__fav {
  transition: background var(--jt-t-fast) ease, color var(--jt-t-fast) ease;
}
.v5-hcard:hover .v5-fav,
.jt-card:hover .jt-card__fav {
  background: var(--jt-turquoise);
  color: var(--jt-blanc);
}

/* --- 1.9 Les `style-hover` du runtime, réécrits en :hover réels ---------
   1  border-color:#16202A ................ .jt-iconbtn:hover
   2  background:<grad-cta-hover> .......... .jt-btn--cta:hover (header, Rechercher)
   3  background:#fff;color:#16202A ........ .jt-btn--turquoise:hover (CTA héros)
   4  background:#16202A;color:#fff;
      border-color:#16202A ................. .jt-iconbtn--lg:hover (préc./suiv.)
   5  background:rgba(255,255,255,.12) ..... .jt-btn--glass:hover (WhatsApp)
   6  background:#23B7C5 ................... .jt-btn:hover (groupes, newsletter)
   7  background:#23B7C5;border-color:#23B7C5  .jt-social a:hover
   8  color:#fff ........................... .jt-topbar a:hover,
                                             .jt-footer__links a:hover
   9  background:#fff ...................... .jt-pill--outline:hover
   10 background:#fff;color:#16202A ........ .jt-btn--ghost:hover (v5-nb)
   11 background:#23B7C5;color:#fff ........ .jt-card:hover .jt-card__fav
   Chaque règle est déclarée dans la section du composant concerné.
   ------------------------------------------------------------------------ */

/* ==========================================================================
   2. TOPBAR
   ========================================================================== */

.jt-topbar {
  background: var(--jt-nuit);
  /* Trame de points blancs à 5,5 %, tous les 9 px : grain de papier ton sur
     ton dans le bleu nuit. Après le raccourci `background`, qui la remettrait
     à zéro. */
  background-image: radial-gradient(rgba(255, 255, 255, .055) 1px, transparent 1.1px);
  background-size: 9px 9px;
  color: var(--jt-sur-nuit);
  font-size: var(--jt-fs-topbar);
  font-weight: var(--jt-fw-med);
}

.jt-topbar > .jt-container {
  min-height: var(--jt-topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1360px;
}

.jt-topbar a { color: inherit; }
.jt-topbar a:hover { color: var(--jt-blanc); }

.jt-topbar__trust {
  display: flex;
  align-items: center;
  gap: 26px;
  min-width: 0;
}

.jt-topbar__trust > * {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.jt-topbar__trust svg,
.jt-topbar__links svg { flex: none; }

.jt-topbar__links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: none;
}

.jt-topbar__links a {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.jt-topbar__sep {
  width: 1px;
  height: 15px;
  background: var(--jt-bord-clair);
  flex: none;
}

/* Conteneur des deux boutons FR / NL */
/* style-hover 8 */
/* Responsive topbar : les gages de confiance tombent en premier */
@media (max-width: 1279.98px) {
  .jt-topbar__trust { gap: 18px; }
  .jt-topbar__links { gap: 16px; }
  .jt-topbar > .jt-container { gap: 24px; }
}

@media (max-width: 1023.98px) {
  .jt-topbar__trust > *:nth-child(n + 3) { display: none; }
}

@media (max-width: 767.98px) {
  .jt-topbar { font-size: var(--jt-fs-legal); }
  .jt-topbar > .jt-container {
    justify-content: center;
    gap: 14px;
    padding-block: 9px;
  }
  .jt-topbar__trust { display: none; }
  /* flex:1 1 0 — sans ça le conteneur garde sa largeur max-content
     et déborde au lieu de passer à la ligne. */
  .jt-topbar__links {
    flex: 1 1 0;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
  }
  .jt-topbar__sep { display: none; }
}

/* ==========================================================================
   3. HEADER, LOGO, NAVIGATION
   ========================================================================== */

.jt-header {
  position: sticky;
  top: 0;
  z-index: var(--jt-z-header);
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--jt-bord);
}

/* La barre du header réclame ~1220px de rang utile (logo 117 + nav 530 +
   actions 503 + 2 gouttières de 34) : plus que les 1120px du conteneur.
   Dans l'export d'origine la rangée déborde de son propre conteneur de
   ~98px. On élargit donc la SEULE barre du header à 1440 ; le méga-menu,
   lui, reste sur la grille 1280 du design.
   Gouttières fluides : 34/28px à 1440, resserrées en dessous. */
.jt-header__inner {
  /* 1360 : la maquette déborde de son conteneur 1280 (le CTA finit 18 px hors
     marge) ; à 1280 la pastille Assistant se faisait rogner. 1360 loge tout
     sans rognage et reste à 40 px du contenu sur grand écran. Le pré-header
     suit la même largeur pour que les deux barres restent alignées. */
  max-width: 1360px;
  min-height: var(--jt-header-h);
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.jt-logo {
  flex: none;
  display: block;
  line-height: 0;
}

.jt-logo img {
  height: 70px;
  width: auto;
  max-width: none;
}

/* flex:none — la nav ne se comprime jamais : elle chevaucherait les
   actions (ses libellés sont en nowrap). C'est .jt-assist qui absorbe. */
.jt-nav {
  display: flex;
  align-items: center;
  flex: none;
  gap: clamp(16px, 1.6vw, 28px);
  font-size: var(--jt-fs-nav);
  font-weight: var(--jt-fw-bold);
}

.jt-nav__item { position: static; }

.jt-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  height: var(--jt-header-h);
  color: var(--jt-encre);
  white-space: nowrap;
  transition: color var(--jt-t-fast) ease;
}

.jt-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 3px;
  background: var(--jt-turquoise);
  transition: right var(--jt-t) var(--jt-ease);
}

.jt-nav__link:hover::after,
.jt-nav__link:focus-visible::after,
.jt-nav__link.is-open::after,
.jt-nav__link[aria-expanded="true"]::after { right: 0; }

.jt-nav__link:hover { color: var(--jt-encre); }

.jt-chev {
  display: inline-block;
  font-size: var(--jt-fs-chev);
  line-height: 1;
  opacity: .45;
  transition: transform .25s ease, opacity .25s ease;
}

.jt-chev.is-open,
.jt-nav__link.is-open .jt-chev,
.jt-nav__link[aria-expanded="true"] .jt-chev {
  transform: rotate(180deg);
  opacity: .9;
}

/* Responsive header */
@media (max-width: 1279.98px) {
  .jt-header__inner { gap: 22px; }
  .jt-nav { gap: 20px; }
  .jt-logo img { height: 60px; }
}

/* Le méga-menu reste plein écran même quand le header est sticky */
.jt-header .jt-mega,
.jt-header .jt-mobile-nav { flex: none; }

@media (max-width: 1023.98px) {
  :root { --jt-header-h: 76px; }

  .jt-header__inner { gap: 14px; }
  .jt-logo img { height: 48px; }

  /* Le header se replie sur la hamburguesa */
  .jt-nav { display: none; }
}

@media (max-width: 479.98px) {
  .jt-logo img { height: 42px; }
}

/* ==========================================================================
   4. ACTIONS DU HEADER, BOUTONS, ASSISTANT
   ========================================================================== */

.jt-header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 1 auto;
  min-width: 0;
}

/* --- 4.1 Bouton icône rond ---------------------------------------------- */
.jt-iconbtn {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: var(--jt-r-circle);
  border: 1.5px solid var(--jt-bord);
  background: var(--jt-blanc);
  color: var(--jt-encre);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background var(--jt-t-fast) ease,
              color var(--jt-t-fast) ease,
              border-color var(--jt-t-fast) ease;
}

/* style-hover 1 */
.jt-iconbtn:hover { border-color: var(--jt-encre); color: var(--jt-encre); }

.jt-iconbtn svg { flex: none; }

/* Précédent / suivant du carrousel */
.jt-iconbtn--lg {
  width: 48px;
  height: 48px;
  border-color: var(--jt-bord-2);
}

/* style-hover 4 */
.jt-iconbtn--lg:hover {
  background: var(--jt-encre);
  color: var(--jt-blanc);
  border-color: var(--jt-encre);
}

.jt-iconbtn[disabled],
.jt-iconbtn[aria-disabled="true"] { opacity: .4; pointer-events: none; }

/* --- 4.2 Pastille Assistant Jumbo ---------------------------------------
   Seul élément élastique de la barre : quand la place manque, c'est lui
   qui se comprime (avec ellipse), jamais la nav ni le CTA. */
.jt-assist {
  display: flex;
  flex: none; /* jamais rognée : c'est la nav qui cède */
  align-items: center;
  gap: 12px;
  padding: 5px 18px 5px 5px;
  border: 1.5px solid var(--jt-bord);
  border-radius: var(--jt-r-pill);
  color: var(--jt-encre);
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  transition: border-color .25s ease, background .25s ease;
}

.jt-assist:hover {
  border-color: var(--jt-turquoise);
  background: var(--jt-assist-hover);
  color: var(--jt-encre);
}

.jt-assist__avatar {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  display: block;
  border-radius: var(--jt-r-circle);
  background: var(--jt-sable);
}

/* Le portrait : <img> direct ou enveloppé dans .jt-assist__img.
   Ne jamais viser span:first-child ici — .jt-assist__dot serait capturé. */
.jt-assist__avatar > img,
.jt-assist__avatar > picture,
.jt-assist__avatar > .jt-assist__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--jt-r-circle);
  overflow: hidden;
  object-fit: cover;
}

.jt-assist__dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 11px;
  height: 11px;
  border-radius: var(--jt-r-circle);
  background: var(--jt-turquoise);
  border: 2px solid var(--jt-blanc);
}

.jt-assist__text {
  display: flex;
  flex-direction: column;
  line-height: 1.22;
  min-width: 0;
}

.jt-assist__title {
  font-size: var(--jt-fs-sm);
  font-weight: var(--jt-fw-black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jt-assist__sub {
  font-size: var(--jt-fs-legal);
  font-weight: var(--jt-fw-med);
  color: var(--jt-gris-clair);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- 4.3 Boutons -------------------------------------------------------- */
.jt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1.5px solid transparent;
  border-radius: var(--jt-r-pill);
  background: var(--jt-encre);
  color: var(--jt-blanc);
  font-family: var(--jt-font);
  font-size: var(--jt-fs-sm);
  font-weight: var(--jt-fw-bold);
  line-height: 1.2;
  padding: 12px 22px;
  white-space: nowrap;
  text-align: center;
  cursor: pointer;
  transition: background var(--jt-t-fast) ease,
              color var(--jt-t-fast) ease,
              border-color var(--jt-t-fast) ease,
              box-shadow var(--jt-t-fast) ease;
}

/* style-hover 6 — CTA groupes, inscription newsletter */
.jt-btn:hover { background: var(--jt-turquoise); color: var(--jt-blanc); }

.jt-btn--cta {
  background: var(--jt-grad-cta);
  color: var(--jt-blanc);
  box-shadow: var(--jt-shadow-cta);
}

/* style-hover 2 — CTA du header, bouton « Rechercher » */
.jt-btn--cta:hover {
  background: var(--jt-grad-cta-hover);
  color: var(--jt-blanc);
}

.jt-btn--cta.jt-btn--search { box-shadow: var(--jt-shadow-search); }

/* Bouton verre sur photo */
.jt-btn--ghost {
  border-color: var(--jt-bord-clair-3);
  background: var(--jt-verre-clair);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--jt-blanc);
}

/* style-hover 10 */
.jt-btn--ghost:hover {
  background: var(--jt-blanc);
  color: var(--jt-encre);
  border-color: var(--jt-blanc);
}

/* Variante « verre » qui s'éclaircit seulement (WhatsApp flottant) */
.jt-btn--glass {
  border-color: var(--jt-bord-clair-3);
  background: var(--jt-verre-clair);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--jt-blanc);
}

/* style-hover 5 */
.jt-btn--glass:hover {
  background: var(--jt-verre-clair-hover);
  color: var(--jt-blanc);
}

/* Bouton clair sur fond sombre */
.jt-btn--light {
  background: var(--jt-blanc);
  color: var(--jt-encre);
  border-color: var(--jt-blanc);
}

/* style-hover 11 (variante inverse) */
.jt-btn--light:hover {
  background: var(--jt-encre);
  color: var(--jt-blanc);
  border-color: var(--jt-encre);
}

/* CTA turquoise du héros */
.jt-btn--turquoise {
  background: var(--jt-turquoise);
  color: var(--jt-blanc);
  border-color: var(--jt-turquoise);
  font-size: var(--jt-fs-btn);
  font-weight: var(--jt-fw-black);
  letter-spacing: var(--jt-ls-btn);
  padding: 17px 32px;
}

/* style-hover 3 */
.jt-btn--turquoise:hover {
  background: var(--jt-blanc);
  color: var(--jt-encre);
  border-color: var(--jt-blanc);
}

/* Bouton contour clair */
.jt-btn--outline {
  background: var(--jt-blanc);
  color: var(--jt-encre);
  border-color: var(--jt-bord-2);
}

.jt-btn--outline:hover {
  background: var(--jt-blanc);
  color: var(--jt-encre);
  border-color: var(--jt-encre);
}

.jt-btn--sm { font-size: var(--jt-fs-xs); padding: 9px 17px; }
.jt-btn--lg { font-size: var(--jt-fs-body-sm); padding: 16px 30px; }
.jt-btn--block { display: flex; width: 100%; }

.jt-btn[disabled],
.jt-btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* Responsive actions
   Sous 1280 la pastille assistant sort du header (elle reste dans le
   panneau mobile) : c'est ce qui libère la place pour la nav. */
@media (max-width: 1279.98px) {
  .jt-header__actions { gap: 12px; }
  .jt-header__actions .jt-assist { display: none; }
  .jt-header__actions .jt-btn--cta { padding: 11px 18px; }
}

@media (max-width: 1023.98px) {
  /* Sous 1024 : hamburguesa + recherche seulement */
  .jt-header__actions .jt-assist,
  .jt-header__actions .jt-btn--cta { display: none; }
  .jt-header__actions { gap: 10px; }
}

@media (max-width: 479.98px) {
  .jt-header__actions { gap: 8px; }
  .jt-btn--turquoise { padding: 15px 24px; }
  .jt-btn--lg { padding: 14px 24px; }
}

/* ==========================================================================
   5. BURGER ET NAVIGATION MOBILE
   ========================================================================== */

.jt-burger {
  display: none;
  width: 44px;
  height: 44px;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 1.5px solid var(--jt-bord);
  border-radius: var(--jt-r-circle);
  background: var(--jt-blanc);
  color: var(--jt-encre);
  cursor: pointer;
  transition: border-color var(--jt-t-fast) ease;
}

.jt-burger:hover { border-color: var(--jt-encre); }

.jt-burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--jt-t) var(--jt-ease), opacity .18s ease;
}

.jt-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.jt-burger.is-open span:nth-child(2) { opacity: 0; }
.jt-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.jt-mobile-nav { display: none; }

@media (max-width: 1023.98px) {
  .jt-burger { display: inline-flex; }

  .jt-mobile-nav {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: var(--jt-z-mobile);
    background: var(--jt-blanc);
    border-top: 1px solid var(--jt-bord);
    box-shadow: var(--jt-shadow-menu);
    max-height: calc(100dvh - var(--jt-header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px var(--jt-gutter) 34px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .26s var(--jt-ease),
                transform .26s var(--jt-ease),
                visibility .26s linear;
  }

  .jt-mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .jt-mobile-nav .jt-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .jt-mobile-nav .jt-nav__item {
    border-bottom: 1px solid var(--jt-bord);
  }

  .jt-mobile-nav .jt-nav__link {
    height: auto;
    width: 100%;
    justify-content: space-between;
    padding: 17px 0;
    font-size: var(--jt-fs-h3-sm);
    font-weight: var(--jt-fw-black);
    letter-spacing: var(--jt-ls-h);
  }

  .jt-mobile-nav .jt-nav__link::after { display: none; }
  .jt-mobile-nav .jt-chev { font-size: 12px; opacity: .55; }

  /* Actions repliées dans le panneau */
  .jt-mobile-nav .jt-assist,
  .jt-mobile-nav .jt-btn {
    display: flex;
    width: 100%;
    margin-top: 18px;
  }

  .jt-mobile-nav .jt-assist__sub { display: block; }
}

@media (max-width: 479.98px) {
  .jt-mobile-nav .jt-nav__link { font-size: var(--jt-fs-body); padding: 15px 0; }
}

/* ==========================================================================
   6. MÉGA-MENU
   ========================================================================== */

.jt-mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: var(--jt-z-mega);
  background: var(--jt-blanc);
  border-top: 1px solid var(--jt-bord);
  box-shadow: var(--jt-shadow-menu);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .24s var(--jt-ease),
              transform .24s var(--jt-ease),
              visibility .24s linear;
}

/* Ancres de section (jt-ancres.php) : bloc de hauteur nulle, décalé sous
   l'en-tête collant pour que le défilement ne cache pas le titre. */
.jt-ancre { display: block; height: 0; scroll-margin-top: calc(var(--jt-header-h, 98px) + 16px); }

/* Le repli `:focus-within` ne vaut que sans JS : avec nav.js, l'état est
   `.is-open` (ARIA), sinon un panneau cliqué restait figé par le focus. */
.jt-mega.is-open,
html:not(.jt-js) .jt-nav__item:focus-within > .jt-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

/* .jt-mega__inner : grille + conteneur dans layout.css. Ici, l'espacement. */
.jt-mega__inner { padding-block: 40px 44px; }

.jt-mega__col { min-width: 0; }

.jt-mega__title {
  font-size: var(--jt-fs-h4);
  font-weight: var(--jt-fw-bold);
  letter-spacing: var(--jt-ls-h4);
  text-transform: uppercase;
  color: var(--jt-gris-clair);
  margin: 0 0 20px;
}

.jt-mega__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jt-mega__links a {
  font-size: var(--jt-fs-mega);
  font-weight: var(--jt-fw-med);
  color: var(--jt-encre);
}

.jt-mega__links a:hover { color: var(--jt-encre); }

.jt-mega__more {
  display: inline-block;
  margin-top: 6px;
  font-size: var(--jt-fs-xxs);
  font-weight: var(--jt-fw-bold);
  color: var(--jt-turquoise);
}

.jt-mega__more:hover { color: var(--jt-turquoise); }

/* Carte mise en avant */
.jt-mega__card {
  display: flex;
  flex-direction: column;
  background: var(--jt-sable);
  border-radius: var(--jt-r-mega);
  overflow: hidden;
  color: var(--jt-encre);
  transition: transform var(--jt-t-mid) var(--jt-ease);
}

.jt-mega__card:hover { transform: translateY(-4px); color: var(--jt-encre); }

.jt-mega__card .jt-card__media {
  position: relative;
  aspect-ratio: auto;   /* neutralise le 3/4 de .jt-card__media */
  height: 158px;
  overflow: hidden;
  background: var(--jt-bord);
  border-radius: 0;
  margin-bottom: 0;
}

.jt-mega__card:hover .jt-card__zoom { transform: scale(1.05); }

.jt-mega__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--jt-blanc);
  color: var(--jt-encre);
  font-size: var(--jt-fs-micro);
  font-weight: var(--jt-fw-bold);
  letter-spacing: var(--jt-ls-badge);
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: var(--jt-r-pill);
  white-space: nowrap;
}

.jt-mega__card .jt-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.jt-mega__card .jt-card__title {
  font-size: var(--jt-fs-h3-sm);
  font-weight: var(--jt-fw-black);
  line-height: var(--jt-lh-tight);
}

.jt-mega__card .jt-card__meta {
  font-size: var(--jt-fs-xs);
  font-weight: var(--jt-fw-body);
  color: var(--jt-gris);
  line-height: 1.45;
}

.jt-mega__card .jt-card__cta {
  margin-top: 8px;
  font-size: var(--jt-fs-sm);
  font-weight: var(--jt-fw-bold);
  color: var(--jt-turquoise);
  white-space: nowrap;
}

@media (max-width: 1279.98px) {
  .jt-mega__inner { padding-block: 30px 34px; }
  .jt-mega__links { gap: 10px; }
}

/* Sous 1024 : accordéon à l'intérieur de .jt-mobile-nav.
   Tout .jt-mega resté hors du panneau mobile (le panneau desktop) disparaît. */
@media (max-width: 1023.98px) {
  .jt-mega { display: none; }

  .jt-mobile-nav .jt-mega {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border-top: 0;
    background: transparent;
    transition: none;
  }

  /*
   * Ici PAS de repli `:focus-within`.
   *
   * Sur le tiroir mobile il produisait le bug signalé : après un appui, le lien
   * garde le focus ; `closePanel()` retire bien `.is-open` et met
   * `aria-expanded="false"`, mais `:focus-within` continuait de forcer
   * `display:block` — mesuré : panneau à 755px avec l'état logique à « fermé ».
   * On appuyait pour replier et rien ne bougeait.
   *
   * Le repli n'a de toute façon aucun sens ici : sans JavaScript le tiroir ne
   * s'ouvre même pas, le burger étant un <button> piloté par le script. La
   * navigation au clavier reste assurée par nav.js (Entrée, Espace, flèches).
   * Le repli desktop, lui, est conservé (voir plus haut).
   */
  .jt-mobile-nav .jt-mega.is-open { display: block; }

  .jt-mega__inner { padding-block: 4px 22px; }

  .jt-mega__title { margin-bottom: 12px; }

  .jt-mega__links a { font-size: var(--jt-fs-body-sm); }

  /* La carte mise en avant passe en dernier et s'aplatit */
  .jt-mega__card { flex-direction: row; align-items: stretch; }
  .jt-mega__card .jt-card__media { width: 130px; height: auto; min-height: 118px; flex: none; }
  .jt-mega__card .jt-card__body { padding: 14px 16px; }
}

@media (max-width: 479.98px) {
  .jt-mega__card { flex-direction: column; }
  .jt-mega__card .jt-card__media { width: 100%; height: 148px; }
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */

.jt-footer {
  margin-top: var(--jr);
  background: var(--jt-encre);
  color: var(--jt-blanc);
}

/* .jt-footer__top : grille dans layout.css */
.jt-footer__top { padding: 64px 0 52px; }

.jt-footer__brand { min-width: 0; }

.jt-footer__logo {
  display: block;
  margin-bottom: 22px;
  line-height: 0;
}

/* Logo blanc dédié : ne PAS utiliser filter:brightness(0) invert(1) */
.jt-footer__logo img {
  height: 58px;
  width: auto;
  max-width: none;
}

.jt-footer__baseline {
  margin: 0 0 26px;
  font-size: var(--jt-fs-body-sm);
  font-weight: var(--jt-fw-body);
  line-height: var(--jt-lh-para-lg);
  color: var(--jt-sur-encre-doux);
  max-width: 290px;
}

.jt-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.jt-social a {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: var(--jt-r-circle);
  border: 1.5px solid var(--jt-bord-clair-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--jt-blanc);
  transition: background var(--jt-t-fast) ease,
              border-color var(--jt-t-fast) ease,
              color var(--jt-t-fast) ease;
}

/* style-hover 7 */
.jt-social a:hover {
  background: var(--jt-turquoise);
  border-color: var(--jt-turquoise);
  color: var(--jt-blanc);
}

.jt-social svg { width: 17px; height: 17px; flex: none; }

.jt-footer__col { min-width: 0; }

.jt-footer__title {
  font-size: var(--jt-fs-h4);
  font-weight: var(--jt-fw-bold);
  letter-spacing: var(--jt-ls-h4);
  text-transform: uppercase;
  color: var(--jt-turquoise);
  margin: 0 0 20px;
}

.jt-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jt-footer__links a {
  font-size: var(--jt-fs-footer);
  font-weight: var(--jt-fw-med);
  color: var(--jt-sur-encre);
}

/* style-hover 8 */
.jt-footer__links a:hover { color: var(--jt-blanc); }

/* Un seul filet — l'export le duplique par erreur */
.jt-footer__rule {
  height: 1px;
  background: var(--jt-sep-clair);
  border: 0;
  margin: 0;
}

/* Points d'embarquement */
.jt-pickups {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 26px 0;
  flex-wrap: wrap;
}

.jt-pickups__label {
  flex: none;
  font-size: var(--jt-fs-micro);
  font-weight: var(--jt-fw-bold);
  letter-spacing: var(--jt-ls-kicker);
  text-transform: uppercase;
  color: var(--jt-sur-encre-faible);
  white-space: nowrap;
}

.jt-pickups > span:last-child,
.jt-pickups__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.jt-chip {
  display: inline-flex;
  align-items: center;
  font-size: var(--jt-fs-xxs);
  font-weight: var(--jt-fw-bold);
  border: 1px solid var(--jt-bord-clair);
  padding: 8px 16px;
  border-radius: var(--jt-r-pill);
  white-space: nowrap;
  color: rgba(255,255,255,.86);
  background: transparent;
  transition: background var(--jt-t-fast) ease,
              border-color var(--jt-t-fast) ease,
              color var(--jt-t-fast) ease;
}

a.jt-chip:hover,
button.jt-chip:hover {
  background: var(--jt-turquoise);
  border-color: var(--jt-turquoise);
  color: var(--jt-blanc);
}

.jt-footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 24px 0 44px;
  font-size: var(--jt-fs-legal);
  font-weight: var(--jt-fw-med);
  color: var(--jt-sur-encre-faible);
  flex-wrap: wrap;
}

.jt-footer__legal > span:last-child,
.jt-footer__legal ul {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.jt-footer__legal a { color: inherit; }
.jt-footer__legal a:hover { color: var(--jt-blanc); }

@media (max-width: 1023.98px) {
  .jt-footer__top { padding: 48px 0 40px; }
  .jt-footer__baseline { max-width: 420px; }
}

@media (max-width: 767.98px) {
  .jt-footer__top { padding: 40px 0 32px; }
  .jt-footer__logo img { height: 48px; }
  .jt-pickups { gap: 14px; padding: 22px 0; }
  .jt-footer__legal {
    justify-content: flex-start;
    gap: 14px;
    padding: 20px 0 36px;
  }
  .jt-footer__legal > span:last-child,
  .jt-footer__legal ul { gap: 12px 16px; }
}

@media (max-width: 479.98px) {
  .jt-footer__baseline { max-width: none; }
  .jt-chip { font-size: var(--jt-fs-legal); padding: 7px 13px; }
}

/* ==========================================================================
   8. CARTES
   La « casita » de la maquette du 03-09, copiée valeur pour valeur de
   `.jtd-card` (mu-plugins/jt-departs.php, CSS lignes 1147–1182) : photo
   4/5 collée au bord, titre sur le dégradé, légende transport + surtitre,
   ligne de dates, filet pointillé, plaque de prix texturée, disque de lien.
   Largeur fluide : c'est la grille (.jt-cards) qui fixe la colonne, là où le
   carrousel de l'accueil impose 302px.
   Le méga-menu réutilise .jt-card__media / __zoom / __body / __title et
   redéfinit ce qu'il lui faut (section 6) : les règles de base restent
   compatibles.
   ========================================================================== */

.jt-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  background: var(--jt-blanc);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(var(--jt-ombre-rgb), .07);
  cursor: pointer;
  color: var(--jt-encre);
  text-decoration: none;
  transition: transform var(--jt-t-mid) var(--jt-ease), box-shadow var(--jt-t-mid) ease;
}

.jt-card:hover,
.jt-card:focus-visible {
  color: var(--jt-encre);
  text-decoration: none;
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(var(--jt-ombre-rgb), .16);
}

.jt-card:focus-visible {
  outline: 2px solid var(--jt-turquoise);
  outline-offset: 3px;
}

/* --- Photo ---------------------------------------------------------------- */
.jt-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--jt-bord);
}

.jt-card__zoom {
  position: absolute;
  inset: 0;
}

/* Le kit Elementor pose `.elementor img { height: auto }` (0,1,1), chargé après
   cette feuille : à spécificité égale il gagnait, et l'image ne remplissait plus
   son cadre (bande grise sous la photo des cartes, recadrage du méga-menu).
   Préfixe `body` et sélecteur descendant : (0,1,2) et (0,2,0) l'emportent
   quel que soit l'ordre de chargement, sans !important. */
body .jt-card__zoom img,
.jt-card__zoom .jt-card__img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

/* Sans image à la une */
.jt-card__placeholder,
.jt-row__placeholder {
  display: block;
  position: absolute;
  inset: 0;
  background: var(--jt-bord);
}

.jt-card__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10,16,22,.34) 0%, rgba(10,16,22,0) 26%, rgba(10,16,22,0) 52%, rgba(10,16,22,.72) 100%);
}

/* Pastille de compte à rebours (« Dans 12 jours ») */
.jt-card__cd {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--jt-turquoise);
  color: var(--jt-blanc);
  font-size: 10.5px;
  font-weight: var(--jt-fw-black);
  letter-spacing: .1em;
  padding: 8px 13px;
  border-radius: var(--jt-r-pill);
  white-space: nowrap;
}

.jt-card__cdot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--jt-blanc);
  flex: none;
}

/* Légende posée sur la photo : icône de transport, filet, surtitre, titre */
.jt-card__cap {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: block;
  min-width: 0;
  pointer-events: none;
}

.jt-card__ck {
  display: flex;
  align-items: center;
  gap: 9px;
  filter: drop-shadow(0 1px 6px rgba(10,16,22,.65));
}

.jt-card__mode {
  flex: none;
  display: flex;
  color: rgba(255,255,255,.95);
}

.jt-card__rule {
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,.4);
  flex: none;
}

.jt-card__cktext {
  font-size: 10px;
  font-weight: var(--jt-fw-black);
  letter-spacing: .16em;
  color: rgba(255,255,255,.82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jt-card__title {
  margin: 0;
  font-family: inherit;
}

.jt-card__cap .jt-card__title {
  display: block;
  margin: 5px 0 0;
  font-size: 22px;
  font-weight: var(--jt-fw-black);
  line-height: 1.16;
  letter-spacing: -.03em;
  color: var(--jt-blanc);
  overflow-wrap: break-word;
  filter: drop-shadow(0 1px 6px rgba(10,16,22,.65));
}

/* --- Corps ---------------------------------------------------------------- */
.jt-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.jt-card__when {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.jt-card__when svg { flex: none; }

.jt-card__dates {
  font-size: 14px;
  font-weight: var(--jt-fw-bold);
  color: var(--jt-encre);
}

.jt-card__sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #C8D2D8;
  flex: none;
}

.jt-card__modelabel {
  font-size: 13px;
  font-weight: var(--jt-fw-med);
  color: var(--jt-gris);
  white-space: nowrap;
}

.jt-card__dots {
  display: block;
  height: 1px;
  background: repeating-linear-gradient(90deg, #E3E9ED 0 4px, transparent 4px 9px);
}

.jt-card__foot {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

/* Plaque de prix texturée (sable ; turquoise pâle pour « sur demande ») */
.jt-card__price {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
  background-color: #F7F4EF;
  background-image: radial-gradient(rgba(22,32,42,.055) 1px, transparent 1.1px);
  background-size: 7px 7px;
  border-radius: 12px;
  padding: 9px 14px 10px;
}

.jt-card__price.is-ask { background-color: #F1FAFB; }

.jt-card__lead {
  font-size: 11px;
  font-weight: var(--jt-fw-med);
  color: var(--jt-gris-clair);
}

.jt-card__val {
  font-size: 27px;
  font-weight: var(--jt-fw-black);
  letter-spacing: -.025em;
  color: var(--jt-encre);
  white-space: nowrap;
  margin-top: 3px;
}

.jt-card__val.is-ask {
  font-size: 19px;
  color: var(--jt-gris-clair);
}

/* Disque de lien */
.jt-card__go {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--jt-sable);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--jt-encre);
  transition: background .28s ease, color .28s ease, transform .28s ease;
}

.jt-card:hover .jt-card__go,
.jt-card:focus-visible .jt-card__go {
  background: var(--jt-turquoise);
  color: var(--jt-blanc);
  transform: translateX(3px);
}

@media (max-width: 767.98px) {
  .jt-card__cap .jt-card__title { font-size: 20px; }
  .jt-card__body { padding: 16px 16px 18px; }
  .jt-card__val { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .jt-card,
  .jt-card__go { transition: none; }
  .jt-card:hover,
  .jt-card:focus-visible { transform: none; }
  .jt-card:hover .jt-card__go,
  .jt-card:focus-visible .jt-card__go { transform: none; }
}

/* ==========================================================================
   9. LIGNES DE LISTING
   ========================================================================== */

.jt-row {
  display: grid;
  grid-template-columns: 284px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 22px 22px 22px 14px;
  border-radius: var(--jt-r-lg);
  border-bottom: 1px solid var(--jt-row-sep);
  color: var(--jt-encre);
  transition: background var(--jt-t) ease, transform var(--jt-t) var(--jt-ease);
}

.jt-row > * { min-width: 0; }

.jt-row:hover {
  background: var(--jt-row-hover-2);
  transform: translateY(-3px);
  color: var(--jt-encre);
}

.jt-row__media {
  position: relative;
  height: 186px;
  border-radius: var(--jt-r-md);
  overflow: hidden;
  background: var(--jt-bord);
}

.jt-row__zoom {
  position: absolute;
  inset: 0;
  transition: transform var(--jt-t-slow) var(--jt-ease);
  will-change: transform;
}

.jt-row__media img,
.jt-row__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jt-row:hover .jt-card__zoom,
.jt-row:hover .jt-row__zoom { transform: scale(1.06); }

/* Badge turquoise de la ligne (≠ badge blanc de la carte) */
.jt-row__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--jt-turquoise);
  color: var(--jt-blanc);
  font-size: var(--jt-fs-micro);
  font-weight: var(--jt-fw-black);
  letter-spacing: var(--jt-ls-btn);
  padding: 7px 13px;
  border-radius: var(--jt-r-pill);
  white-space: nowrap;
}

.jt-row__body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}

.jt-row__kicker {
  font-size: var(--jt-fs-kicker);
  font-weight: var(--jt-fw-bold);
  letter-spacing: var(--jt-ls-h4);
  text-transform: uppercase;
  color: var(--jt-gris-clair);
}

.jt-row__title {
  margin: 0;
  font-size: var(--jt-fs-h3-lg);
  font-weight: var(--jt-fw-black);
  line-height: var(--jt-lh-h3);
  letter-spacing: var(--jt-ls-h);
}

.jt-row__desc,
.jt-row__excerpt {
  margin: 0;
  font-size: var(--jt-fs-body-sm);
  font-weight: var(--jt-fw-body);
  line-height: var(--jt-lh-para-sm);
  color: var(--jt-gris);
  max-width: 440px;
}

/* Rangée de pastilles « faits » */
.jt-row__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
  min-width: 0;
}

.jt-row__aside {
  flex: none;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  min-width: 150px;
}

.jt-row__cta {
  font-size: var(--jt-fs-xs);
  font-weight: var(--jt-fw-black);
  color: var(--jt-turquoise);
  white-space: nowrap;
}

@media (max-width: 1279.98px) {
  .jt-row { grid-template-columns: 232px 1fr auto; gap: 22px; }
  .jt-row__media { height: 162px; }
}

@media (max-width: 1023.98px) {
  .jt-row { grid-template-columns: 200px 1fr; }
  .jt-row__aside {
    grid-column: 2;
    align-items: flex-start;
    text-align: left;
    flex-direction: row;
    justify-content: space-between;
    align-self: stretch;
    width: 100%;
    min-width: 0;
  }
}

/* Sous 768 : une seule colonne */
@media (max-width: 767.98px) {
  .jt-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 14px 22px;
  }
  .jt-row__media { height: 200px; }
  .jt-row__aside {
    grid-column: 1;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 479.98px) {
  .jt-row__media { height: 176px; }
  .jt-row__aside {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }
}

/* ==========================================================================
   10. PRIX
   ========================================================================== */

.jt-price {
  display: flex;
  flex-direction: column;
  line-height: var(--jt-lh-tight);
  min-width: 0;
}

.jt-price__lead {
  font-size: var(--jt-fs-meta);
  font-weight: var(--jt-fw-bold);
  color: var(--jt-gris-clair);
}

.jt-price__value {
  font-size: var(--jt-fs-num-sm);
  font-weight: var(--jt-fw-black);
  letter-spacing: var(--jt-ls-num-2);
  color: var(--jt-encre);
  white-space: nowrap;
}

/* « sur demande » : plus petit et en gris */
.jt-price__value--ask {
  font-size: var(--jt-fs-ask);
  color: var(--jt-gris-clair);
}

.jt-price__unit {
  font-size: var(--jt-fs-legal);
  font-weight: var(--jt-fw-med);
  color: var(--jt-gris-clair);
}

/* Variante compacte utilisée dans les cartes du carrousel */
.jt-price--card .jt-price__lead {
  font-size: var(--jt-fs-kicker);
  font-weight: var(--jt-fw-med);
}
.jt-price--card .jt-price__value { font-size: var(--jt-fs-num-xs); }
.jt-price--card .jt-price__value--ask { font-size: var(--jt-fs-ask-sm); }

/* Prix du héros d'une fiche voyage — sur photo, en grand */
.jt-price--hero .jt-price__lead { color: rgba(255,255,255,.7); }
.jt-price--hero .jt-price__value { font-size: var(--jt-fs-num-md); color: var(--jt-blanc); }
.jt-price--hero .jt-price__value--ask { font-size: var(--jt-fs-num-sm); color: var(--jt-ciel); }
.jt-price--hero .jt-price__unit { color: rgba(255,255,255,.6); }

/* Prix de la colonne de réservation */
.jt-price--aside .jt-price__value { font-size: var(--jt-fs-num-md); }
.jt-price--aside .jt-price__value--ask { font-size: var(--jt-fs-num-sm); }

@media (max-width: 479.98px) {
  .jt-price__value { font-size: var(--jt-fs-num-xs); }
}

/* ==========================================================================
   11. PASTILLES ET CHIPS
   ========================================================================== */

.jt-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--jt-fs-xs);
  font-weight: var(--jt-fw-bold);
  line-height: 1.2;
  padding: 9px 17px;
  border-radius: var(--jt-r-pill);
  border: 1.5px solid transparent;
  background: transparent;
  color: var(--jt-encre);
  white-space: nowrap;
  cursor: default;
  transition: background var(--jt-t-fast) ease,
              color var(--jt-t-fast) ease,
              border-color var(--jt-t-fast) ease;
}

button.jt-pill,
a.jt-pill { cursor: pointer; }

/* Faits d'un voyage — fond sable */
.jt-pill--sable {
  background: var(--jt-sable);
  color: var(--jt-gris);
  font-size: var(--jt-fs-topbar);
  padding: 7px 14px;
}

/* Pastille sur photo — verre dépoli */
.jt-pill--glass {
  background: var(--jt-verre);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--jt-blanc);
  font-size: var(--jt-fs-nano);
  font-weight: var(--jt-fw-black);
  letter-spacing: var(--jt-ls-badge);
  text-transform: uppercase;
  padding: 8px 12px;
}

/* Filtre / chip cliquable */
.jt-pill--outline {
  background: transparent;
  border-color: var(--jt-bord-2);
  color: var(--jt-encre);
}

/* style-hover 9 */
.jt-pill--outline:hover {
  background: var(--jt-blanc);
  border-color: var(--jt-encre);
  color: var(--jt-encre);
}

.jt-pill--outline.is-active,
.jt-pill--outline[aria-pressed="true"] {
  background: var(--jt-turquoise);
  border-color: var(--jt-turquoise);
  color: var(--jt-blanc);
}

.jt-pill--outline.is-disabled,
.jt-pill--outline[aria-disabled="true"] {
  color: var(--jt-inactif);
  border-color: var(--jt-bord-3);
  pointer-events: none;
}

/* Onglet foncé (page destinations) */
.jt-pill--dark.is-active {
  background: var(--jt-encre);
  border-color: var(--jt-encre);
  color: var(--jt-blanc);
}

.jt-pill--sm { font-size: var(--jt-fs-topbar); padding: 9px 13px; }
.jt-pill--lg { font-size: var(--jt-fs-sm); padding: 11px 22px; }

@media (max-width: 479.98px) {
  .jt-pill { font-size: var(--jt-fs-topbar); padding: 8px 14px; }
}

/* ==========================================================================
   12. SUR-TITRES, FIL D'ARIANE, CHIFFRES, ÉTAT VIDE
   ========================================================================== */

/* --- 12.1 Sur-titre (kicker) -------------------------------------------- */
.jt-kicker {
  display: block;
  font-size: var(--jt-fs-kicker);
  font-weight: var(--jt-fw-bold);
  letter-spacing: var(--jt-ls-kicker);
  text-transform: uppercase;
  color: var(--jt-turquoise);
  margin-bottom: 16px;
}

.jt-kicker--gris  { color: var(--jt-gris-clair); letter-spacing: var(--jt-ls-label); }
.jt-kicker--blanc { color: rgba(255,255,255,.88); letter-spacing: var(--jt-ls-hero); }

/* Sur-titre avec filet turquoise (héros) */
.jt-kicker--rule {
  display: flex;
  align-items: center;
  gap: 14px;
}

.jt-kicker--rule::before {
  content: "";
  width: 46px;
  height: 2px;
  background: var(--jt-turquoise);
  flex: none;
}

/* --- 12.2 Fil d'Ariane --------------------------------------------------- */
.jt-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  font-size: var(--jt-fs-topbar);
  font-weight: var(--jt-fw-med);
  color: var(--jt-gris-clair);
  min-width: 0;
}

.jt-breadcrumb a { color: inherit; }
.jt-breadcrumb a:hover { color: var(--jt-turquoise); }

.jt-breadcrumb [aria-current="page"],
.jt-breadcrumb__current {
  color: var(--jt-encre);
  font-weight: var(--jt-fw-bold);
}

.jt-breadcrumb__sep { color: var(--jt-gris-clair); opacity: .7; }

/* Sur photo (héros de page) */
.jt-breadcrumb--onphoto { color: rgba(255,255,255,.7); }
.jt-breadcrumb--onphoto a:hover { color: var(--jt-blanc); }
.jt-breadcrumb--onphoto [aria-current="page"],
.jt-breadcrumb--onphoto .jt-breadcrumb__current { color: var(--jt-blanc); }
.jt-breadcrumb--onphoto .jt-breadcrumb__sep { color: rgba(255,255,255,.5); }

/* Les liens du fil d'Ariane reçoivent une cible tactile de 44px (§ plus bas),
   pas les séparateurs : deux hauteurs dans la même ligne flex, et le « / »
   retombait sous le libellé dès que le fil passait à la ligne. On leur donne
   la même boîte — ce n'est pas une cible tactile, juste la même hauteur. */
.jt-breadcrumb__sep {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-block: -10px;
}

/* Sous 768px, un fil de cinq niveaux prenait trois lignes et se désordonnait.
   Une seule ligne qui défile à l'horizontale : c'est l'usage, et la hiérarchie
   reste lisible d'un coup d'œil. */
@media (max-width: 767.98px) {
  .jt-breadcrumb {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }

  .jt-breadcrumb::-webkit-scrollbar { display: none; }

  .jt-breadcrumb > * {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

@media (max-width: 479.98px) {
  .jt-breadcrumb { font-size: var(--jt-fs-legal); gap: 8px; }
}

/* --- 12.3 Chiffres clés -------------------------------------------------- */
.jt-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  min-width: 0;
}

.jt-stats__item { display: block; min-width: 0; }

/* __n / __value et __l / __label sont interchangeables */
.jt-stats__n,
.jt-stats__value {
  display: block;
  font-size: var(--jt-fs-num);
  font-weight: var(--jt-fw-black);
  letter-spacing: var(--jt-ls-num);
  line-height: 1;
  color: var(--jt-encre);
}

.jt-stats__l,
.jt-stats__label {
  display: block;
  margin-top: 5px;
  font-size: var(--jt-fs-meta);
  font-weight: var(--jt-fw-bold);
  letter-spacing: var(--jt-ls-badge);
  text-transform: uppercase;
  color: var(--jt-gris-clair);
}

/* Sur photo (héros de page) */
.jt-stats--onphoto { text-align: right; }
.jt-stats--onphoto .jt-stats__n,
.jt-stats--onphoto .jt-stats__value { color: var(--jt-blanc); }
.jt-stats--onphoto .jt-stats__l,
.jt-stats--onphoto .jt-stats__label { color: var(--jt-blanc); opacity: .86; }

/* Grands chiffres de section */
.jt-stats--xl .jt-stats__n,
.jt-stats--xl .jt-stats__value { font-size: var(--jt-fs-num-xl); }
.jt-stats--lg .jt-stats__n,
.jt-stats--lg .jt-stats__value { font-size: var(--jt-fs-num-lg); }

@media (max-width: 1023.98px) {
  .jt-stats { gap: 26px; }
}

@media (max-width: 767.98px) {
  .jt-stats { gap: 18px 26px; }
  .jt-stats--onphoto { text-align: left; }
}

/* --- 12.4 État vide ------------------------------------------------------ */
.jt-empty {
  margin-top: 34px;
  border: 1.5px dashed var(--jt-bord-2);
  border-radius: var(--jt-r-lg);
  padding: 44px;
  text-align: center;
}

.jt-empty__title {
  margin: 0;
  font-size: var(--jt-fs-h3-sm);
  font-weight: var(--jt-fw-black);
  letter-spacing: var(--jt-ls-h);
  line-height: var(--jt-lh-tight);
  color: var(--jt-encre);
}

.jt-empty p,
.jt-empty__text {
  margin: 8px 0 0;
  font-size: var(--jt-fs-body-sm);
  font-weight: var(--jt-fw-body);
  line-height: var(--jt-lh-para-sm);
  color: var(--jt-gris);
}

.jt-empty__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.jt-empty .jt-btn { margin-top: 20px; }
.jt-empty__actions .jt-btn { margin-top: 0; }

/* CTA de l'état vide : même dessin que .jt-btn turquoise */
.jt-empty__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 26px;
  border-radius: var(--jt-r-pill);
  background: var(--jt-turquoise);
  color: var(--jt-blanc);
  font-size: var(--jt-fs-sm);
  font-weight: var(--jt-fw-black);
  white-space: nowrap;
  transition: background var(--jt-t-fast) ease, color var(--jt-t-fast) ease;
}

.jt-empty__cta:hover { background: var(--jt-encre); color: var(--jt-blanc); }

/* Le formulaire de recherche de l'état vide reste centré et lisible */
.jt-empty__search {
  margin: 20px auto 0;
  max-width: 420px;
}

@media (max-width: 767.98px) {
  .jt-empty { padding: 30px 20px; margin-top: 24px; }
}

/* ==========================================================================
   13. PAGINATION
   ========================================================================== */

.jt-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 48px;
}

.jt-pagination .page-numbers,
.jt-pagination__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--jt-bord-2);
  border-radius: var(--jt-r-pill);
  background: var(--jt-blanc);
  font-size: var(--jt-fs-xs);
  font-weight: var(--jt-fw-bold);
  color: var(--jt-encre);
  transition: background var(--jt-t-fast) ease,
              color var(--jt-t-fast) ease,
              border-color var(--jt-t-fast) ease;
}

.jt-pagination a.page-numbers:hover,
.jt-pagination a.jt-pagination__item:hover {
  border-color: var(--jt-encre);
  color: var(--jt-encre);
}

.jt-pagination .page-numbers.current,
.jt-pagination__item.is-current {
  background: var(--jt-encre);
  border-color: var(--jt-encre);
  color: var(--jt-blanc);
}

.jt-pagination .page-numbers.dots,
.jt-pagination__item--dots {
  border-color: transparent;
  background: transparent;
  color: var(--jt-gris-clair);
  min-width: 24px;
  padding: 0;
}

.jt-pagination .prev,
.jt-pagination .next { font-weight: var(--jt-fw-black); }

/* Pagination des commentaires : plus discrète */
.jt-pagination--comments { margin-top: 28px; }

.jt-pagination--comments .page-numbers,
.jt-pagination--comments .jt-pagination__item {
  min-width: 38px;
  height: 38px;
  font-size: var(--jt-fs-xxs);
}

@media (max-width: 479.98px) {
  .jt-pagination { gap: 6px; margin-top: 32px; }
  .jt-pagination .page-numbers,
  .jt-pagination__item {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    font-size: var(--jt-fs-xxs);
  }
}

/* ==========================================================================
   Barre d'administration WordPress
   La barre d'admin est `position:fixed` (32px, 46px en dessous de 783px).
   Sans ce décalage l'en-tête collant passe dessous et se fait masquer
   dès qu'on fait défiler la page — uniquement visible pour les connectés,
   mais c'est précisément au moment où l'on édite le site.
   ========================================================================== */

body.admin-bar .jt-header { top: 32px; }

@media screen and (max-width: 782px) {
  body.admin-bar .jt-header { top: 46px; }
}

/* En dessous de 600px la barre d'admin n'est plus fixe : pas de décalage. */
@media screen and (max-width: 600px) {
  body.admin-bar .jt-header { top: 0; }
}

/* ==========================================================================
   Blindage contre le kit global d'Elementor
   --------------------------------------------------------------------------
   Le kit d'Elementor injecte `a { color: var(--e-global-color-primary) }`
   (#0C3D52) avec la même spécificité que nos règles, mais il est chargé APRÈS :
   il gagne. Résultat mesuré : « Nos agences » en contraste 1.0 sur la barre
   nuit, les liens du pied de page à 1.42 sur l'encre, et le libellé du CTA
   en #0C3D52 sur un dégradé qui commence par ce même #0C3D52.

   On préfixe par `body` (spécificité 0-2-1) pour repasser devant sans recourir
   à `!important`. Les couleurs ci-dessous sont celles de la maquette.
   Les modules Elementor du thème ne sont pas concernés : leur CSS est scopé
   par identifiant, donc déjà prioritaire.
   ========================================================================== */

/* Barre utilitaire nuit */
body .jt-topbar,
body .jt-topbar a,
body .jt-topbar__trust,
body .jt-topbar__links a { color: rgba(255, 255, 255, .74); }
body .jt-topbar a:hover,
body .jt-topbar__links a:hover { color: var(--jt-blanc, #fff); }
/* En-tête et méga-menu */
body .jt-nav__link,
body .jt-assist,
body .jt-mega__links a,
body .jt-mega__card,
body .jt-mega__card .jt-mega__title { color: var(--jt-encre, #16202A); }
body .jt-nav__link:hover { color: var(--jt-turquoise, #23B7C5); }
body .jt-mega__title { color: var(--jt-gris-clair, #98A4AF); }
body .jt-mega__more { color: var(--jt-turquoise, #23B7C5); }
body .jt-iconbtn { color: var(--jt-encre, #16202A); }

/* Le libellé du CTA doit rester blanc : son fond est le dégradé nuit */
body .jt-btn--cta,
body a.jt-btn--cta,
body .jt-btn--cta:hover { color: var(--jt-blanc, #fff); }

/* Pied de page encre */
body .jt-footer,
body .jt-footer__baseline { color: rgba(255, 255, 255, .66); }
body .jt-footer__links a { color: rgba(255, 255, 255, .82); }
body .jt-footer__links .jt-footer__soon { color: rgba(255, 255, 255, .42); cursor: default; }
body .jt-footer__links a:hover,
body .jt-footer a:hover { color: var(--jt-blanc, #fff); }
body .jt-footer__title { color: var(--jt-turquoise, #23B7C5); }
body .jt-footer__legal,
body .jt-footer__legal a,
body .jt-pickups__label { color: rgba(255, 255, 255, .5); }
body .jt-social a { color: var(--jt-blanc, #fff); }
body .jt-pickups .jt-chip { color: rgba(255, 255, 255, .86); }

/* Deux teintes que le kit continue de gagner malgré `body` : on monte
   la spécificité au lieu de recourir à `!important`. Ce sont des couleurs
   de la maquette, pas des corrections de contraste. */
.jt-footer .jt-footer__col .jt-footer__title { color: var(--jt-turquoise, #23B7C5); }
.jt-header .jt-nav .jt-nav__link { color: var(--jt-encre, #16202A); }
.jt-header .jt-nav .jt-nav__link:hover { color: var(--jt-turquoise, #23B7C5); }

/* ==========================================================================
   Réinitialisation des boutons face au kit Elementor
   --------------------------------------------------------------------------
   Le kit stylise `button` GÉNÉRIQUE, pas seulement `.elementor-button` :

     .elementor-kit-132 button { background:#0C3D52; padding:12px 22px;
       border-radius:99px; text-transform:uppercase; letter-spacing:.08em; }

   Résultat mesuré : la loupe passait de 40×40 rond à 46×40 bleu, le sélecteur
   FR/NL à 62×50 avec un fond bleu, le burger à 46×44, et tous les boutons des
   modules héritaient des majuscules.

   On neutralise pour tout bouton qui n'est pas un bouton Elementor, puis on
   redéclare le chrome juste en dessous. Les modules ne sont pas touchés : leur
   CSS est scopé par identifiant, donc plus spécifique que ce reset.
   ========================================================================== */

body button:not([class*="elementor-"]),
body input[type="submit"]:not([class*="elementor-"]),
body input[type="button"]:not([class*="elementor-"]) {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  text-transform: none;
  letter-spacing: normal;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

/* --- Chrome redéclaré avec les valeurs de la maquette --- */

body .jt-header .jt-iconbtn {
  width: 40px;
  height: 40px;
  padding: 0;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--jt-bord, #EFEBE5);
  border-radius: 50%;
  background: var(--jt-blanc, #fff);
  color: var(--jt-encre, #16202A);
  cursor: pointer;
  transition: border-color .25s var(--jt-ease, ease);
}
body .jt-header .jt-iconbtn:hover { border-color: var(--jt-encre, #16202A); }

/* Le kit déclare aussi `button:hover, button:focus { color:#fff }` à la même
   spécificité (0-2-1) que la règle ci-dessus, et il charge après : au toucher,
   la loupe et le burger devenaient blancs sur fond blanc (mesuré à 375 px,
   `:hover` reste collé après un tap). On monte d'un cran et on refixe
   l'encre pour les trois états. */
body .jt-header .jt-header__actions .jt-iconbtn:hover,
body .jt-header .jt-header__actions .jt-iconbtn:focus,
body .jt-header .jt-header__actions .jt-iconbtn:active,
body .jt-header .jt-header__inner .jt-burger:hover,
body .jt-header .jt-header__inner .jt-burger:focus,
body .jt-header .jt-header__inner .jt-burger:active {
  color: var(--jt-encre, #16202A);
  background: var(--jt-blanc, #fff);
  border-color: var(--jt-encre, #16202A);
}
body .jt-header .jt-burger {
  width: 44px;
  height: 44px;
  padding: 0;
  flex: none;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--jt-bord, #EFEBE5);
  border-radius: 50%;
  background: var(--jt-blanc, #fff);
  color: var(--jt-encre, #16202A);
  cursor: pointer;
}

@media (max-width: 1023.98px) {
  body .jt-header .jt-burger { display: inline-flex; }
}

/* La hauteur réelle de la barre d'admin est mesurée en JS (jt_admin_bar_offset)
   et exposée dans --jt-adminbar-h : la barre passe à deux lignes sur les
   fenêtres intermédiaires, où le 32px codé en dur par WordPress ne suffit pas. */
body.admin-bar .jt-header { top: var(--jt-adminbar-h, 32px); }

@media screen and (max-width: 600px) {
  body.admin-bar .jt-header { top: 0; }
}

/* ==========================================================================
   Cibles tactiles sur mobile
   --------------------------------------------------------------------------
   Mesuré à 390px : « Inspirez-moi » 26px de haut, « Trouvez-moi un voyage »
   et les adresses e-mail 20px. En dessous du minimum de 24px du WCAG 2.5.8,
   et bien loin des 44px confortables au pouce.

   On agrandit la zone cliquable sans déplacer la mise en page : `inline-flex`
   pour que `min-height` s'applique, et la marge négative compense l'espace
   ajouté au-dessus et en dessous du texte.
   ========================================================================== */

@media (max-width: 1023.98px) {
  .jt-main a.jt-hero__link,
  .jt-main a.jt-env__cta,
  .jt-main a.jt-univ__link,
  .jt-main a.jt-mega__more,
  .jt-main a.jt-page-hero__crumb,
  .jt-main a.jt-dest__crumb,
  .jt-main a.jt-breadcrumb__link,
  .elementor a.jt-va__asislink,
  .elementor a.jt-page-hero__crumb,
  .elementor a.jt-vh__crumb {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-block: -10px;
  }
}

/* Le tracé pointillé de la cellule « embarquement » dépassait de 4px sa boîte
   à 390px : sans conséquence sur le défilement de la page, mais il touchait
   le bord. On le contient. */
.jt-manifeste svg,
[id^="jt-manifeste-"] svg { max-width: 100%; }

/* ==========================================================================
   Gabarit « fiche voyage » du Theme Builder
   --------------------------------------------------------------------------
   Elementor n'applique pas la largeur fixe demandée sur le conteneur de la
   colonne latérale (mesuré : 291px au lieu de 396px, `flex: 0 1 auto`).
   Elementor n'écrit pas non plus `_css_classes` sur les conteneurs : la classe
   est bien enregistrée mais absente du HTML. On vise donc aussi les
   identifiants du gabarit, qui sont fixes parce qu'ils ont été écrits à la
   main à sa création (e2000002 / e2000004). Les classes restent en place :
   si une version d'Elementor se met à les rendre, elles prendront le relais
   sans rien changer ici.
   ========================================================================== */

@media (min-width: 1025px) {
  body .jt-voyage-col--aside,
  body .e-con.elementor-element-e2000004 {
    flex: 0 0 396px;
    width: 396px;
    max-width: 396px;
  }

  body .jt-voyage-col--main,
  body .e-con.elementor-element-e2000002 {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
  }
}

/* Sous 1024px la colonne latérale repasse en pleine largeur, sous le contenu. */
@media (max-width: 1024.98px) {
  .jt-voyage-row { flex-wrap: wrap; }

  body .jt-voyage-col--aside,
  body .jt-voyage-col--main,
  body .e-con.elementor-element-e2000004,
  body .e-con.elementor-element-e2000002 {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }
}

/* ==========================================================================
   Menu mobile — accordéon lisible
   --------------------------------------------------------------------------
   Constaté sur le site : le chevron était le caractère « ▾ » à 12px collé au
   libellé. Personne ne comprenait que la ligne se dépliait, et une fois ouvert
   le panneau faisait 1028px de haut : il poussait les quatre autres entrées du
   menu hors de l'écran et on ne voyait plus comment le replier.

   Trois corrections : une vraie flèche cliquable de 44px, un panneau borné en
   hauteur qui défile à l'intérieur, et l'accordéon exclusif (voir nav.js).
   ========================================================================== */

@media (max-width: 1023.98px) {

  /* La liste du menu n'est pas une liste à puces. */
  .jt-mobile-nav ul,
  .jt-mobile-nav ol {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .jt-mobile-nav .jt-nav__item {
    border-bottom: 1px solid var(--jt-bord, #EFEBE5);
  }

  /* La ligne entière est le déclencheur : la flèche indique, elle ne monopolise
     pas la cible tactile. */
  .jt-mobile-nav .jt-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 56px;
    height: auto;
    padding: 4px 0;
    font-size: 17px;
  }

  /* La flèche : cercle de 44px, taille de cible confortable au pouce. */
  .jt-mobile-nav .jt-chev {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    border-radius: 50%;
    background: var(--jt-sable, #F4F0EA);
    color: var(--jt-encre, #16202A);
    opacity: 1;
    font-size: 0;
    transition: transform .28s var(--jt-ease, ease),
                background .2s ease,
                color .2s ease;
  }

  .jt-mobile-nav .jt-chev svg {
    width: 20px;
    height: 20px;
    display: block;
  }

  /* Ouvert : la flèche pivote et se teinte, pour qu'on voie d'un coup d'œil
     quelle entrée est dépliée. */
  .jt-mobile-nav .jt-nav__link.is-open .jt-chev,
  .jt-mobile-nav .jt-chev.is-open {
    transform: rotate(180deg);
    background: var(--jt-turquoise, #23B7C5);
    color: var(--jt-blanc, #fff);
  }

  /* Le panneau ne doit pas chasser le reste du menu : hauteur bornée,
     défilement à l'intérieur. */
  .jt-mobile-nav .jt-mega.is-open {
    max-height: min(58vh, 520px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }

  .jt-mobile-nav .jt-mega__inner {
    display: block;
    padding: 0 0 8px;
  }

  .jt-mobile-nav .jt-mega__col + .jt-mega__col {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--jt-bord, #EFEBE5);
  }

  /* La carte en avant du mégamenu n'apporte rien au pouce : elle allongeait
     le panneau de plusieurs centaines de pixels. */
  .jt-mobile-nav .jt-mega__card { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .jt-mobile-nav .jt-chev { transition: none; }
}

/* ==========================================================================
   Cibles tactiles du pied de page
   --------------------------------------------------------------------------
   Relevé à l'audit : les liens des colonnes du pied de page font 20px de haut
   sur mobile — sous le minimum de 24px du WCAG 2.5.8. Ils sortent de
   `wp_nav_menu()` sans classe propre, donc la règle posée plus haut pour les
   autres liens ne les attrapait pas.

   On élargit la zone tactile et on resserre l'interligne d'autant : la colonne
   garde la même hauteur visuelle, mais chaque lien devient atteignable au pouce.
   ========================================================================== */

@media (max-width: 1023.98px) {
  body .jt-footer__links {
    gap: 0;
  }

  body .jt-footer__links a,
  body .jt-footer__links li > a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }

  /* Le bandeau légal et les points d'embarquement, même traitement. */
  body .jt-footer__legal a,
  body .jt-pickups .jt-chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
  }
}

/* ==========================================================================
   Recherche et favoris de l'en-tête
   Les deux boutons étaient décoratifs : la loupe n'ouvrait rien, le cœur
   pointait sur une ancre inexistante. Voici l'habillage de leur comportement.
   ========================================================================== */

.jt-header .jt-search-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 70;
  padding: 20px clamp(20px, 5vw, 80px) 24px;
  border-top: 1px solid var(--jt-bord, #EFEBE5);
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(14px);
  box-shadow: var(--jt-shadow-menu, 0 26px 50px rgba(10, 16, 22, .13));
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .22s var(--jt-ease, ease), transform .22s var(--jt-ease, ease);
}

.jt-header .jt-search-panel.is-open { opacity: 1; transform: none; }

.jt-header .jt-search-panel__form {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: var(--jt-container, 1280px);
  margin-inline: auto;
}

/* Le champ et le bouton reprennent la pilule du reste du site. Sélecteurs
   redondants à dessein : le kit Elementor écrase `button` et `input` avec sa
   propre mise en forme, et les règles simples perdaient la cascade. */
.jt-header .jt-search-panel .jt-search-panel__input,
.jt-header .jt-search-panel input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 58px;
  padding: 0 26px;
  border: 1.5px solid var(--jt-bord-2, #E7E2DA);
  border-radius: 99px;
  background: var(--jt-blanc, #fff);
  box-shadow: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 58px;
  color: var(--jt-encre, #16202A);
  -webkit-appearance: none;
  appearance: none;
}

.jt-header .jt-search-panel .jt-search-panel__input::placeholder {
  color: var(--jt-gris-clair, #98A4AF);
  font-weight: 500;
}

.jt-header .jt-search-panel .jt-search-panel__input:focus,
.jt-header .jt-search-panel .jt-search-panel__input:focus-visible {
  border-color: var(--jt-turquoise, #23B7C5);
  outline: none;
  box-shadow: 0 0 0 4px rgba(35, 183, 197, .16);
}

.jt-header .jt-search-panel .jt-search-panel__submit,
.jt-header .jt-search-panel button[type="submit"] {
  flex: none;
  width: auto;
  min-width: 0;
  height: 58px;
  padding: 0 34px;
  border: 0;
  border-radius: 99px;
  background-color: transparent;
  background-image: var(--jt-grad-cta, linear-gradient(135deg, #0C3D52 0%, #134D66 55%, #1A6A85 100%));
  box-shadow: var(--jt-shadow-cta, 0 6px 16px rgba(12, 61, 82, .24));
  color: var(--jt-blanc, #fff);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 58px;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-image .25s var(--jt-ease, ease);
}

.jt-header .jt-search-panel .jt-search-panel__submit:hover {
  background-image: var(--jt-grad-cta-hover, linear-gradient(135deg, #134D66 0%, #1A6A85 55%, #23B7C5 100%));
}

/* Croix : même bouton rond que la loupe et le cœur, pas un « × » nu. */
.jt-header .jt-search-panel .jt-search-panel__close,
.jt-header .jt-search-panel button[type="button"] {
  flex: none;
  width: 44px;
  height: 44px;
  min-width: 0;
  padding: 0;
  border: 1.5px solid var(--jt-bord, #EFEBE5);
  border-radius: 50%;
  background: var(--jt-blanc, #fff);
  color: var(--jt-gris, #5B6874);
  font-family: inherit;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  cursor: pointer;
  transition: border-color .22s ease, color .22s ease;
}

.jt-header .jt-search-panel .jt-search-panel__close:hover {
  border-color: var(--jt-encre, #16202A);
  color: var(--jt-encre, #16202A);
}

@media (max-width: 767.98px) {
  .jt-header .jt-search-panel__form { flex-wrap: wrap; }
  .jt-header .jt-search-panel .jt-search-panel__input { flex: 1 1 100%; order: 1; }
  .jt-header .jt-search-panel .jt-search-panel__submit { flex: 1 1 auto; order: 2; }
  .jt-header .jt-search-panel .jt-search-panel__close { order: 3; }
}

/* Pastille de compte sur le cœur, seulement s'il y a des favoris. */
.jt-iconbtn.has-favoris { position: relative; }

.jt-iconbtn.has-favoris::after {
  content: attr(data-jt-count);
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--jt-turquoise, #23B7C5);
  color: var(--jt-blanc, #fff);
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .jt-search-panel { transition: none; }
}

/* Le champ gardait un rayon de 16px : le kit Elementor l'emporte sur `input`
   même avec le sélecteur descendant. On monte d'un cran, comme pour le bouton. */
.jt-header .jt-search-panel .jt-search-panel__form input.jt-search-panel__input {
  border-radius: 99px;
}
