/* BuyTrotter — habillage bleu et jaune, avec la mascotte (chargé après styles.css) */

/* Typographie */
h1, h2, h3, .logo, .hero h1, .section-head h2, .title-band h1, .pv-title, .dest-name, .cat-name, .how-t { font-family: var(--font-title); }
.section-head h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.2px; color: var(--navy); line-height: 1.15; }
.card-name, .val-row .val, .saving-val, .range { font-weight: 800; }

/* Bandeau du haut */
.demo-banner { border-bottom: 0; font-weight: 800; letter-spacing: .1px; }

/* En-tête */
.site-header { border-bottom: 0; box-shadow: 0 2px 12px rgba(11,42,111,.06); position: relative; z-index: 6; }
.logo { gap: 6px; font-size: 24px; font-weight: 800; letter-spacing: -0.4px; color: var(--navy); }
.logo { gap: 9px; }
.logo img { width: 38px; height: 38px; flex-shrink: 0; }
.main-nav a { font-weight: 700; color: var(--navy); }
.main-nav a:hover { color: var(--petrol); }
.lang-btn { border-radius: 999px; border-color: var(--border-strong); color: var(--navy); }

/* Boutons */
.btn-primary { border-radius: 999px; background: var(--yellow); color: var(--navy); font-weight: 800; box-shadow: 0 4px 0 var(--yellow-dark); }
.btn-primary:hover { background: #FFDC5C; color: var(--navy); }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--yellow-dark); }
.btn-outline { border: 2px solid var(--navy); border-radius: 999px; background: var(--surface); color: var(--navy); font-weight: 800; }
.btn-outline:hover { background: var(--sky); color: var(--navy); }
.picker, .search { border-radius: 14px; border-color: var(--border-strong); }
.swap-btn { color: var(--petrol); }

/* Accueil : le grand bandeau, sur l'image du Japon (Fuji, cerisiers, pagode) */
.hero .hero-bg { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: 1; mix-blend-mode: normal; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(20,64,190,.55) 0%, rgba(20,64,190,.25) 45%, rgba(20,64,190,.05) 100%); }
.hero { overflow: hidden; background: linear-gradient(160deg, #2E6BF0 0%, #1F4FD8 45%, #1940B8 100%); }
.hero::after { content: ''; position: absolute; inset: auto 0 -1px 0; top: auto; height: 46px; background-color: transparent; z-index: 1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C 240 90 480 0 760 34 S 1200 70 1440 22 L1440 90 L0 90 Z' fill='%23FFD23F'/%3E%3Cpath d='M0 62 C 260 100 520 30 780 58 S 1220 86 1440 50 L1440 90 L0 90 Z' fill='%23F4F8FF'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; }
.hero .wrap { z-index: 2; padding-bottom: 40px; }
.hero::after { z-index: 3; }
.hero h1 { font-size: 30px; font-weight: 800; line-height: 1.05; letter-spacing: -0.5px; text-shadow: 0 2px 0 rgba(11,42,111,.35), 0 4px 18px rgba(11,42,111,.35); max-width: 620px; }
.hero h1 .hl { display: inline-block; margin-top: 4px; padding: 0 12px 2px; border-radius: 14px; background: var(--yellow); color: var(--navy); text-shadow: none; transform: rotate(-2deg); }
.hero p { color: #FFFFFF; font-weight: 700; max-width: 520px; text-shadow: 0 1px 8px rgba(11,42,111,.55); }
.hero-mascot { position: absolute; right: 6px; top: 10px; width: 108px; height: auto; z-index: 2; filter: drop-shadow(0 8px 12px rgba(11,42,111,.28)); pointer-events: none; }
.hero .wrap > div:first-child { padding-right: 104px; }
.hero-card { position: relative; border-radius: 24px; padding: 12px; box-shadow: 0 14px 40px rgba(11,42,111,.28); }
.hero-bird { display: none; position: absolute; z-index: 1; height: auto; pointer-events: none; filter: drop-shadow(0 8px 10px rgba(11,42,111,.22)); }
.mode-tabs { background: var(--sky); border-radius: 999px; }
.mode-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 999px; color: var(--navy); font-weight: 800; }
.mode-tabs button svg { flex-shrink: 0; }
.mode-tabs button[aria-pressed="true"] { background: var(--yellow); color: var(--navy); box-shadow: 0 2px 0 var(--yellow-dark); }

/* Titres de section */
.section-head a { padding: 6px 14px; border-radius: 999px; background: var(--sky); color: var(--petrol); font-weight: 800; }
.section-head a:hover { background: #D4E6FF; color: var(--petrol-dark); }
#deals-title::before, #cat-title::before, #dest-title::before, #spec-title::before, #how-title::before { content: ''; display: inline-block; width: 30px; height: 30px; margin-right: 10px; vertical-align: -5px; background: center / contain no-repeat; }
#deals-title::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F4FD8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4l-7.2 7.2a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z' fill='%23FFD23F'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.6' fill='%231F4FD8'/%3E%3C/svg%3E"); }
#cat-title::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F4FD8' stroke-width='2.2' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7.5' height='7.5' rx='2' fill='%23FFD23F'/%3E%3Crect x='13.5' y='3' width='7.5' height='7.5' rx='2'/%3E%3Crect x='3' y='13.5' width='7.5' height='7.5' rx='2'/%3E%3Crect x='13.5' y='13.5' width='7.5' height='7.5' rx='2' fill='%23FFD23F'/%3E%3C/svg%3E"); }
#dest-title::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231F4FD8' d='M21.5 15.5v-2L13.5 8.5V3a1.5 1.5 0 0 0-3 0v5.5l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5l-2-1.5v-5.5z'/%3E%3C/svg%3E"); }
#spec-title::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2A6F' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 12.5a1 1 0 0 1-1 .9H7.2a1 1 0 0 1-1-.9z' fill='%23FFFFFF'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2' stroke-linecap='round'/%3E%3C/svg%3E"); }
#how-title::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFD23F' stroke='%231F4FD8' stroke-width='1.6' stroke-linejoin='round' d='M12 2.5l2.6 6.1 6.6.6-5 4.4 1.5 6.5L12 16.7 6.3 20.1l1.5-6.5-5-4.4 6.6-.6z'/%3E%3C/svg%3E"); }
.section-head .sub { color: var(--muted); font-weight: 600; }

/* Cartes */
.card { border: 0; border-radius: var(--radius); box-shadow: 0 6px 20px rgba(11,42,111,.08), 0 1px 2px rgba(11,42,111,.06); transition: transform .15s ease, box-shadow .15s ease; }
a.card:hover, button.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(11,42,111,.14); border-color: transparent; }
.card-media { background: #EAF1FF; }
.card .card-media { margin: 8px 8px 0; border-radius: 14px; overflow: hidden; }
.badge { top: 8px; left: 8px; padding: 3px 10px; background: var(--yellow); color: var(--navy); font-size: 13px; font-weight: 900; box-shadow: 0 2px 0 var(--yellow-dark); }
.quality { align-self: flex-start; padding: 2px 9px; border-radius: 999px; background: var(--sky); }
.quality.q1 { color: #0F6B3D; background: #E3F7EC; }
.quality.q2 { color: var(--petrol-dark); }
.val-row .val { color: var(--navy); font-size: 22px; }
.saving { position: relative; padding: 8px 10px 8px 40px; border-radius: 14px; background: var(--sky); color: var(--navy); }
.saving::before { content: ''; position: absolute; left: 9px; top: 50%; width: 24px; height: 24px; transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16' rx='8' ry='3.2' fill='%23F2B705'/%3E%3Cellipse cx='12' cy='12.5' rx='8' ry='3.2' fill='%23FFD23F' stroke='%23F2B705'/%3E%3Cellipse cx='12' cy='9' rx='8' ry='3.2' fill='%23FFE27A' stroke='%23F2B705'/%3E%3C/svg%3E") center / contain no-repeat; }
.saving-lbl { color: var(--petrol); }
.offer-note { color: #8A5A00; }
.dest-pill { color: var(--navy); }

/* Filtres et classement */
.chip { border-radius: 999px; font-weight: 700; color: var(--navy); }
.chip[aria-pressed="true"], .sort-switch button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }

/* Catégories */
.cat-tile { border-radius: 20px; box-shadow: 0 6px 20px rgba(11,42,111,.12); }
.cat-shade { background: linear-gradient(180deg, rgba(11,42,111,0) 30%, rgba(11,42,111,.9) 100%); }
.cat-stats { color: #FFE27A; }
.cat-tile { background: linear-gradient(135deg, #1F4FD8 0%, #0B2A6F 100%); }

/* Destinations */
.dest-card { position: relative; }
.dest-card .dest-stats { color: var(--petrol); }
.dest-card .dest-cta { color: var(--navy); }
.dest-card .dest-cta svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--yellow); }

/* Spécialités : le bloc jaune */
.special-block { border: 0; border-radius: 28px; background: linear-gradient(180deg, #FFE36B 0%, #FFD23F 100%); box-shadow: 0 10px 30px rgba(242,183,5,.25); }
.special-block .section-head h2 { color: var(--navy); }
.special-block .section-head .sub, .special-block .section-head a { color: #4D3A00; }
.card.special { box-shadow: 0 6px 16px rgba(120,90,0,.14); }
.card.special .card-media { background: #FFF6D6; }
/* Spécialité sans photo : bandeau compact couleur « À découvrir », sans mention « Photo à venir » ;
   les spécialités avec photo ne changent pas */
.card.special > .card-media.no-img { aspect-ratio: auto; height: 54px; }
.card.special > .card-media.no-img .placeholder-media { display: none; }
@media (min-width: 900px) {
  .card.special > .card-media.no-img { height: 64px; }
  .card.special:has(> .card-media.no-img) { align-self: start; }
}
.special-block .btn-outline { border-color: var(--navy) !important; color: var(--navy) !important; background: rgba(255,255,255,.7); }

/* Comment ça marche */
.how-step { border: 0; background: var(--sky); }
.how-num { background: var(--yellow); color: var(--navy); box-shadow: 0 2px 0 var(--yellow-dark); }
.trust { background: var(--navy); border-radius: 999px; }

/* Bandeaux de titre des autres pages */
.title-band::after { background: linear-gradient(90deg, rgba(31,79,216,.92) 0%, rgba(11,42,111,.78) 100%); }

/* Pied de page */
.site-footer { position: relative; margin-top: 56px; padding-top: 34px; background: #123FA8; color: #D6E4FF; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: -28px; height: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30 C 240 0 480 60 760 26 S 1200 0 1440 28 L1440 60 L0 60 Z' fill='%23123FA8'/%3E%3C/svg%3E") top / 100% 100% no-repeat; }
.site-footer strong { font-family: var(--font-title); font-size: 24px; }
.site-footer a { color: #FFFFFF; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 54px; height: auto; flex-shrink: 0; }

/* Pages pour Google */
.seo-badge { background: var(--yellow); color: var(--navy); }
.seo-table tr.is-best { background: #FFF6CC; }

@media (min-width: 900px) {
  .logo { font-size: 26px; }
  .logo img { width: 44px; height: 44px; }
  /* L'illustration est affichée entière (pleine largeur, sans zoom), comme sur la maquette :
     la carte de recherche chevauche son bas, le bleu et la vague prennent le relais dessous. */
  .hero { --img-h: clamp(360px, calc(100vw * 768 / 2048), 660px); --card-in: 92px; }
  .hero .wrap { padding-top: 34px; padding-bottom: 64px; gap: 0; }
  .hero .wrap > div:first-child { box-sizing: border-box; min-height: calc(var(--img-h) - var(--card-in) - 34px); padding-bottom: 18px; }
  .hero h1 { font-size: clamp(42px, 3.9vw, 60px); letter-spacing: -1.2px; max-width: 680px; transform: rotate(-3deg); transform-origin: left bottom; }
  .hero h1 + p { margin-top: 10px; }
  .hero h1 .hl { padding: 0 16px 4px; border-radius: 18px; }
  .hero::before { background: linear-gradient(90deg, rgba(20,64,190,.62) 0%, rgba(20,64,190,.32) 40%, rgba(20,64,190,0) 62%), linear-gradient(180deg, rgba(10,40,130,.18) 0%, rgba(10,40,130,0) 40%); }
  .hero .wrap > div:first-child { padding-right: 0; }
  .hero-mascot { display: none; }
  /* L'oiseau se tient sur le rebord de pierre de l'image (position calculée par app.js) */
  .hero .hero-bg { top: 0; bottom: auto; height: var(--img-h); object-position: 50% 100%; }
  /* bas de l'illustration découpé en vague, comme sur la maquette */
  .hero .hero-bg { -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 69px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0 0 H1440 V22 C 1180 66 900 8 640 40 S 200 70 0 34 Z' fill='%23000'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat;
                   mask: linear-gradient(#000, #000) top / 100% calc(100% - 69px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0 0 H1440 V22 C 1180 66 900 8 640 40 S 200 70 0 34 Z' fill='%23000'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; }
  .hero::before { bottom: auto; height: var(--img-h); }
  .hero { background: linear-gradient(180deg, #1A55DC 0%, #1747C7 100%); }
  .hero-card { padding: 18px 20px 20px; border-radius: 28px; }
  .hero::after { inset: auto 0 -1px 0; top: auto; height: 80px; background-color: transparent; z-index: 1; }
  .section-head h2 { font-size: 32px; }
  .card .card-media { margin: 10px 10px 0; }
  .val-row .val { font-size: 26px; }
  .special-block { padding: 26px 26px 24px; }
}
/* Écrans moyens (iPad en paysage, petits portables) : bandeau plus compact pour garder
   le paysage entier (Fuji, cerisiers, pagode), recherche sur une seule ligne, place pour l'oiseau */
@media (min-width: 900px) and (max-width: 1300px) {
  .hero-card { max-width: calc(100% - 190px); padding: 14px 16px 16px; }
  .hero-card .trip-row { flex: 2 1 300px; }
  .hero-card .search-field { flex: 1 1 150px; }
  .hero-card .btn-primary { padding: 0 16px; font-size: 15px; }
}

/* ---------- Cartes produit : couleurs de la maquette ---------- */
.card { border: 1px solid #E3EAF6; }
.card .card-media { margin: 0; border-radius: 0; background: #EEF3FB; }
.badge { top: 10px; left: 10px; padding: 4px 12px; font-size: 15px; border-radius: 999px; }
.card-body { padding: 12px 14px 14px; gap: 7px; }
.card-name { color: var(--navy); font-weight: 800; }
.card-variant { color: #5B6683; }
.quality, .quality.q1, .quality.q2, .quality.q3, .quality.q4 { padding: 3px 10px; border-radius: 999px; background: #E3EEFF; color: var(--navy); font-weight: 800; }
.quality::before { background: #1F4FD8; }
.price-block .lbl { color: var(--navy); font-weight: 800; }
.val-row .val { color: var(--navy); font-weight: 900; }
.price-local { color: #5B6683; font-size: 12px; }
.tax-note, .price-home { color: #5B6683; }
.saving { padding: 10px 12px 10px 52px; border-radius: 14px; background: #DCEEFF; color: var(--navy); }
.saving::before { left: 10px; width: 32px; height: 32px; background: url("../img/marque/oiseau-logo.png") center / contain no-repeat; }
.saving-lbl { color: var(--navy); font-size: 12px; font-weight: 800; }
.saving-val { color: var(--navy); font-size: 20px; font-weight: 900; }
.offer-note { color: #5B6683; font-weight: 700; }
.source { color: #7A849E; }
.card:not(.special):not(.dest-card) > .card-media { aspect-ratio: 16 / 10; }

/* ---------- Menu (téléphone et tablette en portrait) ---------- */
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface); color: var(--navy); }
.menu-btn[aria-expanded="true"] { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.site-header.nav-open .main-nav { display: flex; flex-direction: column; gap: 0; order: 10; width: 100%; padding: 4px 0 12px; border-top: 1px solid var(--border); }
.site-header.nav-open .main-nav a { display: flex; align-items: center; min-height: 48px; padding: 0 4px; border-bottom: 1px solid var(--border); font-size: 17px; font-weight: 800; color: var(--navy); }
.nav-extra { display: inline; }

/* ---------- Cartes allégées de l'accueil ---------- */
.deal-card .card-title { min-height: 0; }
.deal-prices { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.deal-there { display: flex; flex-direction: column; min-width: 0; }
.deal-there .lbl, .deal-home .lbl { font-size: 12px; font-weight: 800; color: var(--navy); }
.deal-there .val { font-size: 26px; font-weight: 900; line-height: 1.1; color: var(--navy); }
.deal-there .price-local { margin-top: 1px; }
.deal-home { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.deal-home .lbl { font-weight: 700; color: #5B6683; }
.deal-home .home-val { font-size: 15px; font-weight: 800; color: #5B6683; text-decoration: line-through; text-decoration-color: rgba(91,102,131,.55); }
.deal-card .saving { flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 8px; }
.deal-card .saving-lbl { font-size: 13px; }
.deal-card .saving-val { font-size: 22px; }
.deal-more { margin-top: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 800; color: var(--petrol); }
.best-deals .btn-outline { width: auto; align-self: center; padding: 0 26px; }

@media (max-width: 899px) {
  .demo-banner { padding: 3px 12px; font-size: 11px; }
  .site-header .wrap { gap: 6px 10px; }
  .lang-btn { min-height: 40px; }
  .hero-mascot { width: 84px; right: 8px; top: 12px; }
  .hero .wrap > div:first-child { padding-right: 84px; }
  /* Meilleures affaires : carrousel horizontal, la carte suivante dépasse */
  .best-deals .grid.deal-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 14px; scrollbar-width: none; }
  .best-deals .grid.deal-grid::-webkit-scrollbar { display: none; }
  .best-deals .grid.deal-grid > .card { flex: 0 0 78%; max-width: 330px; scroll-snap-align: start; display: flex !important; }
  /* Filtres : un dégradé à droite montre qu'on peut faire défiler */
  .chips, .home-chips { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); padding-right: 40px; }
  /* Résultats détaillés : une seule colonne sur téléphone */
  .results-page .grid:has(> .card:not(.special)), .guide-page .grid:has(> .card:not(.special)) { grid-template-columns: 1fr; gap: 14px; }
}
@media (min-width: 900px) {
  .menu-btn, .nav-extra { display: none !important; }
  .lang-btn { margin-left: auto; }
}

/* ---------- Les deux prix au même niveau ---------- */
.price-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pd { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 10px 11px; border-radius: 14px; }
.pd-there { background: #E6F0FF; box-shadow: inset 0 0 0 2px #BFD5FF; }
.pd-home { background: #F1F3F7; }
.pd-country { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-country .flag { width: 20px; height: 14px; }
.pd-home .pd-country { color: #33405E; }
.pd-val { font-size: 24px; font-weight: 900; line-height: 1.1; color: var(--navy); white-space: nowrap; }
.pd-home .pd-val { color: #22304F; }
.pd-sub { font-size: 12px; font-weight: 600; color: #5B6683; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .saving, .deal-card .saving { flex-direction: row; align-items: baseline; justify-content: center; gap: 8px; padding-left: 50px; padding-right: 12px; }
.card .saving-lbl { font-size: 14px; }
.card .saving-val { font-size: 22px; }
.deal-card .deal-more { align-self: flex-start; }
@media (max-width: 380px) { .pd-val { font-size: 20px; } .pd { padding: 9px; } }

/* moins de bleu sous le paysage */
@media (min-width: 900px) { .hero .wrap { padding-bottom: 30px; } .hero::after { height: 60px; } }

/* La recherche suit directement le slogan (plus de grand vide dans le ciel) ;
   le bandeau garde au moins la hauteur de l'illustration */
@media (min-width: 900px) {
  .hero .wrap { box-sizing: border-box; min-height: calc(var(--img-h) + 24px); padding-bottom: 40px; }
  .hero .wrap > div:first-child { min-height: 0; padding-bottom: 26px; }
}
@media (min-width: 900px) {
  /* illustration un peu agrandie et remontée : le Fuji reste bien visible au-dessus de la recherche */
  .hero .hero-bg { top: calc(var(--img-h) * -0.16); height: calc(var(--img-h) * 1.16); }
  .hero::before { top: 0; height: var(--img-h); }
}

/* Onglets « Par destination / Par produit » en languette au-dessus de la carte (comme la maquette) :
   plus de bande blanche vide à droite des onglets */
@media (min-width: 900px) {
  .hero-card { margin-top: 50px; border-top-left-radius: 0; }
  .hero-card .mode-tabs { position: absolute; left: 0; bottom: 100%; margin: 0; padding: 8px 10px 0; gap: 6px; background: #FFFFFF; border-radius: 22px 22px 0 0; }
  .hero-card .mode-tabs::after { content: ''; position: absolute; right: -22px; bottom: 0; width: 22px; height: 22px; background: radial-gradient(circle at 100% 0, transparent 21px, #FFFFFF 22px); }
  .hero-card .mode-tabs button { min-height: 42px; padding: 0 20px; background: var(--sky); }
  .hero-card .mode-tabs button[aria-pressed="true"] { background: var(--yellow); }
  .hero .wrap > div:first-child { padding-bottom: 8px; }
}

/* Plus d'air entre les cartes et dans les cartes */
.grid { gap: 18px 14px; }
.deal-card .card-body, .card:not(.special):not(.dest-card) .card-body { padding: 16px 16px 18px; gap: 12px; }
.price-duo { gap: 10px; }
.pd { padding: 12px 13px; }
@media (min-width: 900px) {
  .grid { gap: 36px 24px; }
  .best-deals .grid, .results-page .grid { margin-top: 6px; }
  .deal-card .card-body, .card:not(.special):not(.dest-card) .card-body { padding: 18px 18px 20px; gap: 14px; }
}
@media (min-width: 900px) and (max-width: 1300px) {
  .best-deals .grid.deal-grid, .results-page .grid:has(> .card:not(.special)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.deal-card .saving-lbl, .deal-card .saving-val { white-space: nowrap; }

/* ---------- Gagnant / perdant : on voit tout de suite quel pays est le moins cher ---------- */
.pd { gap: 3px; border-radius: 16px; }
.pd-win { background: #EEF7F1; box-shadow: inset 0 0 0 2px #B8DFC5, 0 4px 12px rgba(22,140,64,.14); }
.pd-lose { background: #FDECEE; box-shadow: none; }
.pd-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 900; }
.pd-win .pd-tag { color: #0F7A3A; }
.pd-lose .pd-tag { color: #D12B3A; }
.pd-country { font-weight: 700; color: var(--navy); }
.pd-win .pd-val { color: #0F7A3A; }
.pd-lose .pd-val { color: #22304F; }
.pd-there, .pd-home { background: none; box-shadow: none; }
.duo-hint { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin: 2px 0 0; padding: 7px 12px; border-radius: 12px; background: #E6F0FF; color: var(--navy); font-size: 13px; font-weight: 600; }
.duo-hint-dot { width: 12px; height: 12px; flex: none; border-radius: 4px; background: #EEF7F1; box-shadow: inset 0 0 0 2px #B8DFC5; }
.pd-tag, .pd-country { white-space: nowrap; }
.pd { padding: 11px 12px; }
@media (min-width: 900px) and (max-width: 1500px) {
  .best-deals .grid.deal-grid, .results-page .grid:has(> .card:not(.special)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Retour à 4 cartes par ligne (ordinateur et iPad paysage), prix compacts pour tenir */
@media (min-width: 900px) {
  .best-deals .grid.deal-grid, .results-page .grid:has(> .card:not(.special)) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 18px; }
}
@media (min-width: 900px) and (max-width: 1500px) {
  .deal-card .card-body, .card:not(.special):not(.dest-card) .card-body { padding: 14px 12px 16px; gap: 11px; }
  .price-duo { gap: 6px; }
  .pd { padding: 9px 8px; }
  .pd-tag { font-size: 11.5px; gap: 2px; }
  .pd-tag svg { width: 12px; height: 12px; }
  .pd-country { font-size: 12px; gap: 4px; }
  .pd-country .flag { width: 16px; height: 11px; }
  .pd-val { font-size: 20px; }
  .card .saving, .deal-card .saving { padding-left: 44px; }
  .card .saving::before { width: 26px; height: 26px; left: 9px; }
  .deal-card .saving-lbl { font-size: 12px; }
  .deal-card .saving-val { font-size: 19px; }
}
.pd-tag-empty { visibility: hidden; }

/* Palette apaisée : vert = meilleur prix, gris = référence, bleu = écart, jaune = pourcentage */
.pd-lose { background: #F4F6F9; box-shadow: inset 0 0 0 2px #D3DAE6; }
.pd-tag-ref { color: #46536E; font-weight: 700; }
.pd-lose .pd-val { color: var(--navy); }
.pd-win { box-shadow: inset 0 0 0 2px #B8DFC5; }
.pd-lose .pd-tag-ref { color: #46536E; }
@media (max-width: 899px) {
  .best-deals .grid.deal-grid > .card { flex-basis: 84%; }
  .deal-card .pd { padding: 10px 9px; }
  .deal-card .pd-tag { font-size: 12px; }
  .deal-card .pd-val { font-size: 22px; }
}
@media (max-width: 389px) {
  .best-deals .grid.deal-grid > .card { flex-basis: 88%; }
  .deal-card .pd { padding: 9px 7px; }
  .deal-card .pd-tag { font-size: 11px; }
  .deal-card .pd-country { font-size: 12px; gap: 4px; }
  .deal-card .pd-country .flag { width: 16px; height: 11px; }
  .deal-card .pd-val { font-size: 19px; }
}
.pd-val { position: relative; }

/* Cartes d'une même ligne alignées : nom sur 2 lignes réservées, variante sur 1 ligne */
@media (min-width: 900px) {
  .deal-card .card-title { min-height: 3.1em; }
  .deal-card .card-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; line-height: 1.3; }
  .deal-card .card-variant { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
.dest-card .dest-hint { line-height: 1.5; }

/* Sélecteur de langue : la pastille « FR · € » cache une vraie liste déroulante */
label.lang-btn { position: relative; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
label.lang-btn::after { content: ''; width: 7px; height: 7px; margin-left: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
label.lang-btn select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
label.lang-btn:focus-within { outline: 3px solid #7CC4BB; outline-offset: 2px; }
:lang(ja) body, :lang(ja) .hero h1, :lang(ja) h2 { font-family: var(--font), 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', sans-serif; }
:lang(ja) .hero h1 { line-height: 1.25; }
.pd-val.pd-val-s { font-size: 0.8em; }
.pd .pd-val.pd-val-s { font-size: 18px; }
@media (min-width: 900px) and (max-width: 1500px) { .pd .pd-val.pd-val-s { font-size: 16px; } }
@media (max-width: 389px) { .deal-card .pd .pd-val.pd-val-s { font-size: 16px; } }
/* Résultats (avec la colonne de filtres) : 3 cartes par ligne jusqu'à 1500 px */
@media (min-width: 900px) and (max-width: 1500px) {
  .results-page .grid:has(> .card:not(.special)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Pages pour Google : liens vers les autres langues */
.lang-links { display: flex; flex-wrap: wrap; gap: 4px; margin-left: auto; }
.lang-links a { padding: 6px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; color: var(--navy); text-decoration: none; }
.lang-links a[aria-current="page"] { background: var(--navy); color: #FFFFFF; }
@media (max-width: 899px) { .lang-links a { padding: 5px 7px; font-size: 12px; } }

/* ---------- iPhone : alignements et proportions ---------- */
@media (max-width: 899px) {
  .section-head h2 { font-size: 22px; }
  .section-head h2::before { width: 24px !important; height: 24px !important; margin-right: 8px !important; vertical-align: -4px !important; }
  .section-head .sub { font-size: 14px; }
  .duo-hint { font-size: 13px; padding: 7px 10px; }
  /* carrousel : la première carte s'aligne sur la marge, comme le reste de la page */
  .best-deals .grid.deal-grid { scroll-padding-left: 16px; scroll-padding-right: 16px; }
  .best-deals .grid.deal-grid > .card { flex-basis: 82%; }
  .best-deals .grid.deal-grid > .card:last-child { margin-right: 16px; }
  .deal-card .card-media { aspect-ratio: 16 / 9; }
  /* catégories : la dernière vignette seule prend toute la largeur */
  .cat-grid > .cat-tile:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
  .cat-name { font-size: 18px; }
}
/* étiquette « Spécialité locale » aux couleurs du site (plus de rose) */
.tag { background: var(--navy); color: #FFFFFF; }

/* Carrousel iPhone : repère de défilement sous les cartes */
.swipe-hint { display: flex; align-items: center; gap: 10px; margin-top: -2px; font-size: 13px; font-weight: 700; color: var(--muted); }
.swipe-count { color: var(--navy); font-weight: 800; white-space: nowrap; }
.swipe-dots { display: flex; gap: 5px; }
.swipe-dots i { width: 7px; height: 7px; border-radius: 999px; background: #CFDAEE; transition: width .2s, background .2s; }
.swipe-dots i.on { width: 18px; background: var(--petrol); }
.swipe-txt { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; color: var(--petrol); white-space: nowrap; }
@media (max-width: 380px) { .swipe-txt { font-size: 12px; } }

/* ===== Simulateur de valise (valise.html) ===== */
.nav-bag { display: inline-flex; align-items: center; gap: 6px; }
.nav-bag svg { width: 18px; height: 18px; }
.bag-shared { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--sand); color: var(--sand-text); font-weight: 700; font-size: 14px; }
.bag-shared svg { flex: none; color: var(--navy); }
.bag-shared > span { flex: 1; }
.bag-shared-x { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin: -6px -6px -6px 0; border: 0; border-radius: 999px; background: transparent; color: var(--sand-text); cursor: pointer; }
.bag-shared-x:hover { background: rgba(0,0,0,.06); }
.bag-shared-x svg { width: 18px; height: 18px; color: currentColor; }
.bag-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 8px; }
.bag-pick, .bag-sum { min-width: 0; }
html:has(body.has-bag-bar) { scroll-padding-bottom: 96px; }
@media (min-width: 900px) { .bag-layout { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } .bag-sum { position: sticky; top: 16px; } }
.bag-search { margin: 0 0 14px; }
.bag-group { margin: 6px 0 10px; font-size: 15px; font-weight: 800; color: #0F7A3A; }
.bag-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 1200px) { .bag-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.bag-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #FFFFFF; border: 1.5px solid var(--border); border-radius: 16px; transition: border-color .15s, background .15s; }
.bag-row.in { border-color: #7FD3A0; background: #F2FBF5; }
.bag-row img, .bag-ph { flex: none; width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--sky); }
.bag-ph { display: flex; align-items: center; justify-content: center; color: var(--muted); }
.bag-ph svg { width: 22px; height: 22px; }
.bag-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bag-name { font-weight: 800; color: var(--navy); text-decoration: none; font-size: 15px; line-height: 1.25; }
.bag-name:hover { text-decoration: underline; }
.bag-var { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bag-prices { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 3px; font-size: 13px; }
.bag-prices .flag { width: 18px; height: 12px; margin-right: 4px; }
.bag-there { display: inline-flex; align-items: center; font-weight: 900; color: #0F7A3A; }
.bag-home { display: inline-flex; align-items: center; color: var(--muted); font-weight: 700; }
.bag-pct { padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 900; }
.bag-pct.good { background: var(--yellow); color: var(--navy); }
.bag-pct.bad { background: #EEF1F6; color: var(--muted); }
.bag-pct.same { background: #EEF1F6; color: var(--muted); font-weight: 700; }
.bag-add { flex: none; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--petrol); border-radius: 999px; background: #FFFFFF; color: var(--petrol); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.bag-add:hover { background: var(--sky); }
.bag-step { flex: none; display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: var(--navy); color: #FFFFFF; }
.bag-step button { width: 34px; height: 34px; border: 0; border-radius: 999px; background: transparent; color: #FFFFFF; font: inherit; font-size: 20px; font-weight: 800; line-height: 1; cursor: pointer; }
.bag-step button:hover:not(:disabled) { background: rgba(255,255,255,.16); }
.bag-step button:disabled { opacity: .4; cursor: default; }
.bag-q { min-width: 18px; text-align: center; font-weight: 900; }
.bag-other { margin-top: 16px; }
.bag-other summary { cursor: pointer; font-weight: 800; color: var(--navy); font-size: 14px; padding: 8px 0; }
.bag-other .bag-list { margin-top: 8px; }

.bag-sum { padding: 18px; background: #FFFFFF; border: 1.5px solid var(--border); border-radius: 20px; box-shadow: 0 10px 30px rgba(11,42,111,.08); }
.bag-sum-head { display: flex; align-items: center; gap: 8px; color: var(--navy); }
.bag-sum-head h2 { margin: 0; font-size: 20px; }
.bag-count { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: var(--sky); font-size: 13px; font-weight: 800; }
.bag-empty { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.bag-mini { list-style: none; margin: 14px 0 0; padding: 0 0 12px; border-bottom: 1px dashed var(--border-strong); display: grid; gap: 6px; font-size: 13px; color: var(--text-2); }
.bag-mini li { display: flex; justify-content: space-between; gap: 10px; }
.bag-mini li span:last-child { font-weight: 800; white-space: nowrap; }
.bag-lines { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.bag-lines div { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: 14px; background: #F2FBF5; border: 1.5px solid #7FD3A0; }
.bag-lines div + div { background: #F1F3F8; border-color: transparent; }
.bag-lines span { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--muted); }
.bag-lines .flag { width: 18px; height: 12px; }
.bag-lines strong { font-size: 20px; font-weight: 900; color: var(--navy); }
.bag-lines div:first-child strong { color: #0F7A3A; }
.bag-save { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: #DCEEFF; color: var(--navy); }
.bag-save span { font-weight: 800; font-size: 14px; }
.bag-save strong { font-size: 26px; font-weight: 900; }
.bag-save em { font-style: normal; padding: 2px 9px; border-radius: 999px; background: var(--yellow); font-weight: 900; font-size: 14px; }
.bag-save.loss { background: #F1F3F8; }
.bag-save.loss em { background: #E2E6EE; }
.bag-customs { margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.bag-customs h3 { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 15px; color: var(--navy); }
.bag-customs h3 svg { color: #1E8E4E; }
.bag-customs p { margin: 6px 0 0; }
.bag-gauge { height: 10px; border-radius: 999px; background: #E6ECF6; overflow: hidden; }
.bag-gauge span { display: block; height: 100%; border-radius: 999px; background: #2BB36A; transition: width .25s; }
.bag-gauge.over span { background: var(--petrol); }
.bag-gauge-txt { margin: 0 0 8px !important; font-size: 13px; color: var(--muted); }
.bag-gauge-txt b { margin-right: 4px; font-size: 22px; font-weight: 900; color: var(--navy); }
.bag-verdict { margin: 10px 0 0 !important; font-size: 15px; font-weight: 800; }
.bag-verdict.ok { color: #1E7A44; }
.bag-verdict.over { color: var(--petrol); }
.bag-src { font-size: 12px; color: var(--muted); }
.bag-src a { color: var(--muted); }
.bag-save-note { margin: 6px 2px 0; font-size: 11px; color: var(--muted); }
.bag-mode { display: inline-flex; gap: 4px; margin: 0 0 10px; padding: 3px; border-radius: 999px; background: #EEF2F9; }
.bag-mode button { min-height: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.bag-mode button[aria-pressed="true"] { background: #FFFFFF; color: var(--navy); box-shadow: 0 1px 4px rgba(11,42,111,.15); }
.bag-net strong { color: var(--navy); }
.bag-sum .tax-note { display: block; margin-top: 10px; }
.bag-share { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 16px; }
.bag-share .btn-primary { min-height: 48px; }
.bag-wa { width: auto; min-height: 48px; padding: 0 18px; border-radius: 999px; border-color: #1DA851; color: #12803D; }
.bag-copied { grid-column: 1 / -1; min-height: 0; font-size: 13px; font-weight: 800; color: #0F7A3A; }
.bag-copied:empty { display: none; }
.bag-link { width: 100%; padding: 8px 10px; border: 1px solid var(--border-strong); border-radius: 10px; font: inherit; font-size: 13px; }
.bag-clear { grid-column: 1 / -1; justify-self: center; border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; text-decoration: underline; cursor: pointer; }

.bag-bar { display: none; }
@media (max-width: 899px) {
  .bag-bar:not([hidden]) { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 999px; background: var(--navy); color: #FFFFFF; box-shadow: 0 10px 30px rgba(11,42,111,.35); }
  .bag-bar-txt { display: flex; align-items: center; gap: 8px; font-size: 14px; }
  .bag-bar-txt > span { display: flex; flex-direction: column; line-height: 1.2; }
  .bag-bar-n { font-size: 12px; color: var(--navy-text); }
  .bag-bar-save { color: var(--yellow); font-weight: 900; font-size: 16px; }
  .bag-bar .btn-primary svg { width: 14px; height: 14px; }
  /* Bandeau de titre plus court pour arriver vite aux produits */
  .suitcase-page .title-band .wrap { padding-top: 12px; padding-bottom: 12px; gap: 4px; }
  .suitcase-page .title-band .crumbs { display: none; }
  .suitcase-page .title-band h1 { font-size: 21px; }
  .suitcase-page .title-band p { font-size: 12.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .bag-bar .btn-primary { min-height: 42px; padding: 0 16px; font-size: 14px; box-shadow: none; }
  body.has-bag-bar .site-footer { padding-bottom: 90px; }
  .bag-row img, .bag-ph { width: 56px; height: 56px; }
  .bag-add { padding: 0 12px; }
  .bag-share { grid-template-columns: 1fr; }
  .bag-wa { width: 100%; }
  .bag-bar.off { opacity: 0; transform: translateY(20px); pointer-events: none; }
  .bag-bar { transition: opacity .2s, transform .2s; }
}

/* Bloc « Prépare ta valise » sur l'accueil */
.bag-cta { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; margin: 34px 0 0; padding: 20px 24px; border-radius: 22px; background: linear-gradient(120deg, var(--navy), var(--petrol)); color: #FFFFFF; }
.bag-cta img { width: 84px; height: auto; }
.bag-cta h2 { margin: 0 0 4px; font-size: 22px; color: #FFFFFF; }
.bag-cta p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--navy-text); }
.bag-cta .btn-primary { white-space: nowrap; }
@media (max-width: 720px) {
  .bag-cta { grid-template-columns: auto 1fr; padding: 18px; gap: 12px 14px; }
  .bag-cta img { width: 64px; }
  .bag-cta h2 { font-size: 19px; }
  .bag-cta .btn-primary { grid-column: 1 / -1; }
}

/* Fiche produit : boutons « valise » et « destination » */
.pv-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pv-actions > * { flex: 1 1 260px; margin: 0; }

/* Menu sur ordinateur et iPad paysage : tout tient sur une ligne avec « Ma valise » */
@media (min-width: 900px) and (max-width: 1239px) { .main-nav { gap: 16px; font-size: 14px; } .main-nav a[href*="#specialites"] { display: none; } }

/* Résumé de la valise : totaux, économie, partage d'abord — la douane se déplie à la demande */
.bag-sum .bag-lines { display: flex; flex-direction: column; gap: 0; margin-top: 12px; }
.bag-sum .bag-lines div { flex-direction: row; align-items: center; justify-content: space-between; padding: 8px 2px; border: 0; border-radius: 0; background: none; }
.bag-sum .bag-lines div + div { background: none; border-top: 1px solid var(--border); }
.bag-sum .bag-lines span { font-size: 15px; font-weight: 700; color: var(--text-2); gap: 8px; }
.bag-sum .bag-lines .flag { width: 22px; height: 15px; }
.bag-sum .bag-lines strong { font-size: 18px; color: var(--navy); }
.bag-sum .bag-lines div:first-child strong { color: #0F7A3A; }
.bag-sum .bag-save { flex-direction: column; align-items: center; gap: 4px; margin-top: 12px; padding: 16px 14px; text-align: center; }
.bag-sum .bag-save span { font-size: 15px; }
.bag-sum .bag-save strong { font-size: 34px; line-height: 1.1; }
.bag-share .btn-primary svg { width: 18px; height: 18px; }
.bag-sum .bag-save-note { margin: 10px 2px 0; text-align: center; }
.bag-more { margin-top: 14px; border-top: 1px solid var(--border); }
.bag-more > summary { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 6px 2px; list-style: none; cursor: pointer; font-size: 14px; font-weight: 800; color: var(--navy); }
.bag-more > summary::-webkit-details-marker { display: none; }
.bag-more > summary > svg:first-child { flex: none; color: #1E8E4E; }
.bag-more > summary > span { flex: 1; }
.bag-more > summary > svg:last-child { flex: none; transition: transform .2s; }
.bag-more[open] > summary > svg:last-child { transform: rotate(180deg); }
.bag-more .bag-customs { margin-top: 2px; padding: 0 2px 4px; }
.bag-guide { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 13px; font-weight: 800; color: var(--petrol); text-decoration: none; }
.bag-sum .bag-clear { display: block; margin: 10px auto 0; }

/* Fond photo selon la destination (France, Allemagne, Royaume-Uni, États-Unis) :
   voile bleu à gauche pour lire le titre, l'oiseau se pose sur le coin de la carte de recherche */
.hero.hero-photo .hero-bg { object-fit: cover; }
.hero.hero-photo .hero-bird { z-index: 3; }
@media (min-width: 900px) {
  .hero.hero-photo::before { background: linear-gradient(90deg, rgba(20,64,190,.80) 0%, rgba(20,64,190,.50) 36%, rgba(20,64,190,.08) 62%, rgba(20,64,190,0) 100%), linear-gradient(180deg, rgba(10,40,130,.28) 0%, rgba(10,40,130,0) 45%); }
  .hero.hero-photo .hero-card { max-width: none; }
}
@media (max-width: 899px) {
  .hero.hero-photo::before { background: linear-gradient(180deg, rgba(20,64,190,.58) 0%, rgba(20,64,190,.28) 40%, rgba(20,64,190,.08) 100%); }
}

/* iPhone : l'oiseau est posé sur le bord haut droit de la carte de recherche (pieds sur la carte) */
.card-mascot { display: none; }
@media (max-width: 899px) {
  .hero-mascot { display: none; }
  .hero-card .card-mascot { display: block; position: absolute; right: 14px; bottom: calc(100% - 10px); width: 96px; height: auto; z-index: 2; pointer-events: none; filter: drop-shadow(0 6px 8px rgba(11,42,111,.25)); }
}
@media (max-width: 380px) { .hero-card .card-mascot { width: 80px; } }
@media (max-width: 899px) { .hero .wrap > div:first-child p { padding-right: 96px; } }
/* Petits écrans d'ordinateur / iPad : menu sur une ligne dans toutes les langues */
@media (min-width: 900px) and (max-width: 1099px) { .main-nav { gap: 12px; font-size: 13px; } .main-nav a[href$="#destinations"] { display: none; } .logo { font-size: 22px; } }

/* Photos : le haut des monuments reste visible (pas de décalage vers le haut comme pour l'illustration du Japon) */
@media (min-width: 900px) {
  .hero.hero-photo .hero-bg { top: 0; height: 100%; }
}

/* Téléphone : plus de place pour le nom du pays dans les sélecteurs (flèche masquée sur petits écrans, la case reste cliquable) */
@media (max-width: 899px) {
  .trip-row .picker { gap: 6px; padding: 0 8px; }
}
@media (max-width: 430px) {
  .trip-row .picker > svg { display: none; }
}

/* Deux déclinaisons officielles du logo :
   principal = oiseau entier qui marche (ordinateur, pied de page) ; secondaire = tête dans le cercle (téléphone, favicon, réseaux) */
.logo .logo-full { display: none; }
.logo .logo-round { display: block; }
@media (min-width: 900px) {
  .logo .logo-full { display: block; width: auto; height: 50px; margin: -4px 0 -6px; }
  .logo .logo-round { display: none; }
}

/* ===== Téléphone : « Produits moins chers à l'étranger » — cartes compactes ===== */
.deal-mini { display: flex; flex-direction: column; gap: 5px; padding: 10px 10px 12px; border: 1px solid #E3EAF6; border-radius: 18px; background: #FFFFFF; color: var(--text); text-decoration: none; box-shadow: 0 4px 14px rgba(11,42,111,.07); }
.dm-media { position: relative; display: flex; align-items: center; justify-content: center; height: 104px; margin-bottom: 2px; border-radius: 12px; background: #F4F7FC; overflow: hidden; color: var(--muted); }
.dm-media img { width: 100%; height: 100%; object-fit: contain; }
.dm-badge { position: absolute; top: 6px; right: 6px; padding: 2px 8px; border-radius: 999px; background: var(--yellow); color: var(--navy); font-size: 13px; font-weight: 900; box-shadow: 0 2px 0 var(--yellow-dark); }
.dm-name { font-family: var(--font-title); font-size: 14.5px; font-weight: 800; line-height: 1.2; color: var(--navy); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.4em; }
.dm-row { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.dm-row .flag { flex: none; width: 18px; height: 12px; }
.dm-c { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.dm-p { font-weight: 800; color: var(--text-2); }
.dm-best .dm-p { color: #0F7A3A; font-weight: 900; font-size: 14px; }
.dm-save { margin-top: 2px; padding: 5px 6px; border-radius: 10px; background: #E5F7EB; color: #0F7A3A; font-size: 13px; font-weight: 900; text-align: center; white-space: nowrap; }
.dm-btn { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 34px; margin-top: 2px; border: 1.5px solid var(--navy); border-radius: 999px; color: var(--navy); font-size: 13px; font-weight: 800; }
.dm-btn svg { width: 13px; height: 13px; }

@media (max-width: 899px) {
  .deals-mobile .section-head h2 { font-size: 22px; }
  .deals-mobile .section-head .sub { font-size: 13.5px; }
  /* A : carrousel, 2 cartes et demie visibles */
  .deal-mini-wrap { position: relative; margin: 0 -16px; }
  .deal-mini-track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 16px; padding: 4px 16px 10px; scrollbar-width: none; }
  .deal-mini-track::-webkit-scrollbar { display: none; }
  .deal-mini-track > .deal-mini { flex: 0 0 calc((100% - 32px - 20px) / 2.35); scroll-snap-align: start; }
  .deal-mini-track > .deal-mini:last-child { margin-right: 16px; }
  .dm-next { position: absolute; right: 8px; top: 38%; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid #E3EAF6; border-radius: 999px; background: #FFFFFF; color: var(--navy); box-shadow: 0 4px 12px rgba(11,42,111,.18); cursor: pointer; }
  .dm-next[hidden] { display: none; }
  .dm-next svg { width: 18px; height: 18px; }
  .dm-dots { justify-content: center; margin: 2px 0 14px; }
}
@media (max-width: 899px) {
  .deal-mini-track > .deal-mini { flex-basis: calc((100% - 32px - 10px) / 2.12); }
  .dm-next { top: 62px; right: 6px; }
  .dm-save { font-size: 12.5px; padding: 5px 4px; }
}
@media (max-width: 370px) {
  .deal-mini-track > .deal-mini { flex-basis: calc((100% - 32px) / 1.55); }
}

/* Carrousel téléphone, cartes agrandies : 1 carte à ~78 % + le début de la suivante */
@media (max-width: 899px) {
  .deal-mini-track { gap: 12px; }
  .deal-mini-track > .deal-mini, .deal-mini-track > .deal-mini:nth-child(n) { flex-basis: 78vw; max-width: 360px; padding: 12px 14px 14px; gap: 7px; border-radius: 22px; }
  .deal-mini-track .dm-media { height: 190px; border-radius: 16px; }
  .deal-mini-track .dm-badge { top: 10px; right: 10px; padding: 4px 12px; font-size: 17px; }
  .deal-mini-track .dm-name { font-size: 19px; min-height: 0; -webkit-line-clamp: 1; margin-top: 2px; }
  .deal-mini-track .dm-row { font-size: 15px; gap: 8px; }
  .deal-mini-track .dm-row .flag { width: 22px; height: 15px; }
  .deal-mini-track .dm-p { font-size: 16px; }
  .deal-mini-track .dm-best .dm-p { font-size: 19px; }
  .deal-mini-track .dm-save { padding: 9px 8px; border-radius: 12px; font-size: 17px; }
  .deal-mini-track .dm-btn { min-height: 44px; font-size: 15px; }
  .dm-nav { position: absolute; top: 110px; z-index: 2; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #E3EAF6; border-radius: 999px; background: #FFFFFF; color: var(--navy); box-shadow: 0 4px 12px rgba(11,42,111,.18); cursor: pointer; }
  .dm-nav[hidden] { display: none; }
  .dm-nav svg { width: 18px; height: 18px; }
  .dm-next { right: 8px; }
  .dm-prev { left: 8px; }
  .dm-prev svg { transform: rotate(180deg); }
}

/* Téléphone : haut de page un peu plus compact pour faire remonter les offres
   (champs, boutons, zones tactiles et cartes inchangés ; seuls marges et espacements réduits) */
@media (max-width: 899px) {
  .hero .wrap { padding-top: 8px; padding-bottom: 28px; }
  .hero::after { height: 32px; }
  .hero-card { padding-top: 10px; padding-bottom: 10px; }
  .hero-card .mode-tabs { margin-bottom: 6px; }
  .hero-card .trip { gap: 6px; }
  .hero-card .trip-field { gap: 2px; }
  .deals-mobile.section { padding-top: 8px; }
  .deals-mobile .section-head { gap: 2px; }
  .deals-mobile .section-head .sub { font-size: 13px; line-height: 1.35; }
  .deals-mobile .deal-mini-track { padding-top: 2px; }
}

/* Carrousel téléphone : nom du produit en étiquette sur la photo (haut gauche), réduction en haut à droite */
.dm-over { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; pointer-events: none; }
.dm-over .dm-badge { position: static; flex: none; }
.dm-tag { flex: 0 1 auto; min-width: 0; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--navy); font-family: var(--font-title); font-size: 14px; font-weight: 800; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 2px 8px rgba(11,42,111,.18); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@media (max-width: 899px) {
  .deal-mini-track .dm-over .dm-badge { top: auto; right: auto; }
}
/* nom long : passe sur 2 lignes au lieu d'être coupé */
.dm-tag { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; border-radius: 12px; max-width: 72%; }
@media (max-width: 380px) { .dm-tag { font-size: 13px; padding: 4px 8px; } }
/* Badge : drapeau du pays moins cher devant le pourcentage (écart entre pays, pas une promo) */
.dm-over .dm-badge { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.dm-over .dm-badge .flag { width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(11,42,111,.15); }
@media (max-width: 380px) { .dm-over .dm-badge { gap: 4px; padding-left: 8px; padding-right: 9px; font-size: 15px; } .dm-over .dm-badge .flag { width: 19px; height: 13px; } }

/* Étiquettes harmonisées : même hauteur (1 ligne), mêmes marges, même arrondi ; 2 lignes si le nom est long, sans réduire la police */
.dm-tag, .dm-over .dm-badge { box-sizing: border-box; min-height: 32px; }
.dm-tag { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; flex: 0 1 auto; min-width: 0; padding: 7px 11px; border-radius: 10px; font-size: 14px; line-height: 18px; max-width: none; }
.dm-over .dm-badge { padding: 0 11px; border-radius: 10px; font-size: 17px; line-height: 1; }
@media (max-width: 380px) {
  .dm-tag { font-size: 14px; padding: 7px 10px; }
  .dm-over .dm-badge { padding: 0 9px; }
}
/* noms très longs ou petit écran : jusqu'à 3 lignes plutôt que réduire la police */
.dm-tag { -webkit-line-clamp: 3; }

/* ===== Phase 2 — page pays en deux sections (« Moins cher au … » / « À découvrir au … ») et fiche enrichie ===== */
.j-jump{display:flex;gap:8px;margin:14px 0 6px;flex-wrap:wrap}
.j-jump a{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;border-radius:999px;border:1.5px solid var(--navy);color:var(--navy);font-weight:800;font-size:14px;text-decoration:none;background:#fff}
.j-jump a.on{background:var(--navy);color:#fff}
.j-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:4px 0 4px}
.j-head h2{display:flex;align-items:center;gap:8px;margin:0;font-family:var(--font-title);font-size:24px;color:var(--navy)}
.j-head .flag{width:26px;height:17px}
.j-pill{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:999px;font-size:12.5px;font-weight:800}
.j-pill-ok{background:#E5F7EB;color:#0F7A3A}.j-pill-disc{background:#FFF1B8;color:#5E4700}
.j-sub{margin:4px 0 14px;color:var(--muted);font-size:14px;line-height:1.45}
.j-back{margin:14px 0 8px}.j-back a{color:var(--navy);font-weight:800;text-decoration:none}
#moins-cher,#a-decouvrir,#specialites{scroll-margin-top:16px}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.disc{margin:30px 0 16px;padding:20px 18px;border-radius:24px;background:linear-gradient(180deg,#FFF8DB,#FFFFFF);border:1.5px solid #FFE07A}
.disc-row{display:grid;gap:14px;grid-template-columns:repeat(3,minmax(0,1fr))}
.disc-tile{position:relative;display:block;height:210px;border-radius:20px;overflow:hidden;background:#0B2A6F;color:#fff;text-decoration:none;box-shadow:0 6px 16px rgba(11,42,111,.15)}
.disc-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.disc-tile:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,42,111,0) 25%,rgba(11,42,111,.9))}
.disc-tile.no-photo{background:linear-gradient(135deg,#0B2A6F,#1E4FB8)}
.disc-tile .j-pill{position:absolute;top:12px;left:12px;z-index:1}
.disc-tile b{position:absolute;left:16px;right:16px;bottom:48px;z-index:1;font-family:var(--font-title);font-size:21px;line-height:1.15}
.disc-tile small{position:absolute;left:16px;right:16px;bottom:14px;z-index:1;font-size:13px;line-height:1.35;font-weight:700;color:#FFE07A}
.disc-tile:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}
@media (max-width:899px){
  .disc-row{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -18px;padding:2px 18px 8px;scrollbar-width:none}
  .disc-row::-webkit-scrollbar{display:none}
  .disc-row>*{flex:0 0 72%;scroll-snap-align:start}
}
.pv-exp{margin:0 0 10px;font-size:13px;line-height:1.45;color:var(--text-2)}
.pv-badge{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;margin:6px 0 2px;padding:4px 11px;border-radius:10px;background:var(--yellow);color:var(--navy);font-weight:900;font-size:17px;box-shadow:0 2px 0 var(--yellow-dark)}
.pv-badge .flag{width:22px;height:15px}
.pv-bag-early{display:none}
@media (max-width:899px){.pv-head .pv-bag-early{display:flex;justify-content:center;grid-column:1/-1;margin:0;width:100%}}
.pv-where{margin:16px 0;padding:16px 18px;border-radius:18px;background:#fff;border:1.5px solid #9DB4E6}
.pv-where h3{margin:0 0 4px;font-size:17px;color:var(--navy)}.pv-where>small{display:block;margin-bottom:8px;color:var(--muted);font-size:12.5px}
.pv-shop{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #DCE5F5;font-size:14px;color:var(--navy);font-weight:700;text-decoration:none}
.pv-shop small{font-weight:600;color:var(--muted)}
.pv-shop em{font-style:normal;font-size:11.5px;padding:2px 8px;border-radius:999px;background:#E6F1FF;color:var(--petrol);font-weight:800;white-space:nowrap}

/* Crédits photos */
.credits-table td img{display:block;width:96px;height:auto;border-radius:10px}
.credits-table td,.credits-table th{vertical-align:middle}

/* ---------- Page destination : catégories en tuiles (toutes visibles sur téléphone) ---------- */
.cat-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding-top: 12px; scroll-margin-top: 12px; }
.cp-tile { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; min-width: 0; min-height: 50px; padding: 6px 12px; border-radius: 22px; border: 1.5px solid #D6DEEE; background: #FFFFFF; color: var(--navy); text-align: left; font: inherit; cursor: pointer; }
.cp-all { grid-column: 1 / -1; min-height: 42px; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; }
.cat-pick > .cp-tile:last-child:nth-child(even) { grid-column: 1 / -1; }
.cp-name { font-weight: 800; font-size: 15px; line-height: 1.2; }
.cp-stat { font-size: 12.5px; line-height: 1.25; color: #4A5878; }
.cp-all .cp-stat { text-align: right; }
.cp-stat .nw { white-space: nowrap; }
.cp-disc { background: #FFF7DB; border-color: #F2D27A; }
.cp-tile[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.cp-tile[aria-pressed="true"] .cp-stat { color: #FFD23F; }
@media (min-width: 900px) { .results-page .cat-pick { display: none; } }

/* Téléphone : bandeau bleu compact sur la fiche produit et la page destination (comme la valise) */
@media (max-width: 899px) {
  .product-page .title-band .wrap, .results-page .title-band .wrap { padding-top: 10px; padding-bottom: 12px; gap: 3px; }
  .product-page .title-band .crumbs, .results-page .title-band .crumbs { font-size: 12px; }
  .product-page .title-band h1, .results-page .title-band h1 { font-size: 21px; line-height: 1.15; }
  .product-page .title-band p, .results-page .title-band p { font-size: 12.5px; line-height: 1.4; }
}

/* Carte sans photo compacte (téléphone, iPad, ordinateur) : bandeau fin qui garde le badge d'économie,
   sans mention « Photo à venir » ; sur iPad et ordinateur, la carte garde sa hauteur naturelle au lieu de
   s'étirer à la hauteur des cartes avec photo de la même rangée (pas de grand espace vide) */
.card:not(.special):not(.dest-card):not(.deal-card):not(.pcard) > .card-media.no-img { aspect-ratio: auto; height: 54px; }
.card:not(.special):not(.dest-card):not(.deal-card):not(.pcard) > .card-media.no-img .placeholder-media { display: none; }
@media (min-width: 900px) {
  .card:not(.special):not(.dest-card):not(.deal-card):not(.pcard) > .card-media.no-img { height: 64px; }
  .card:not(.special):not(.dest-card):not(.deal-card):not(.pcard):has(> .card-media.no-img) { align-self: start; }
}
/* Petits écrans (iPhone SE) : « Économie indicative : 111 € » passe sur deux lignes plutôt que de déborder */
@media (max-width: 389px) {
  .deal-mini-track .dm-save { white-space: normal; text-wrap: balance; line-height: 1.25; font-size: 16px; }
}

/* ---------- Accueil : mise en avant de la comparaison (« Comparaisons du moment », direction validée le 1er décembre 2026) ----------
   Composition de la maquette validée : photo compacte à gauche, nom bien visible, tableau horizontal des deux prix,
   économie dans un encadré vert doux ; jaune réservé aux boutons ; peu de bordures. */
.feat { --feat-green: #0F7A3A; --feat-green-bg: #EAF6EE; --feat-blue-bg: #EEF3FD; --feat-muted: #5A6785;
  position: relative; display: flex; flex-direction: column; gap: 16px; margin: 22px 0 6px; padding: 18px 16px 18px;
  border-radius: 22px; background: var(--surface); color: var(--text); box-shadow: 0 10px 34px rgba(11,42,111,.10); }
.feat-kicker { font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--petrol, #1F4FD8); }
.feat-top { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 14px; }
.feat-img { width: 76px; height: 76px; object-fit: cover; border-radius: 16px; background: #F5F7FB; }
.feat-id { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.feat .feat-name { margin: 0; font-size: 22px; line-height: 1.1; color: var(--navy); }
.feat-sub { margin: 0; font-size: 14px; font-weight: 600; color: var(--feat-muted); }
.feat-chips { display: none; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.feat-chips span { padding: 4px 12px; border-radius: 999px; background: var(--feat-blue-bg); color: var(--navy); font-size: 13px; font-weight: 700; }
.feat-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--feat-green-bg); color: var(--feat-green); font-size: 14px; font-weight: 800; white-space: nowrap; }
.feat-pill-m { align-self: flex-start; margin-top: 4px; }
.feat-body { display: block; }
.feat-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.feat-table thead, .feat-table .feat-orig, .feat-table .feat-gap { display: none; }
.feat-table th, .feat-table td { padding: 10px 4px; text-align: left; font-weight: 600; }
.feat-table tbody tr + tr th, .feat-table tbody tr + tr td { border-top: 1px solid #E6EBF3; }
.feat-table tbody th { display: flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 700; }
.feat-table .feat-amt { text-align: right; font-weight: 800; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.feat-orig-m { display: block; font-size: 13px; font-weight: 600; color: var(--feat-muted); }
.feat-save { display: none; }
.feat-foot { display: flex; flex-direction: column; gap: 12px; }
.feat-details summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-size: 13px; color: var(--feat-muted); }
.feat-details summary::-webkit-details-marker { display: none; }
.feat-details summary svg { flex-shrink: 0; color: var(--petrol, #1F4FD8); }
.feat-details summary b { color: var(--petrol, #1F4FD8); font-weight: 800; white-space: nowrap; }
.feat-details summary span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feat-details[open] summary { flex-wrap: wrap; }
.feat-details[open] summary span { flex-basis: 100%; white-space: normal; padding-left: 28px; }
.feat-details ul { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--feat-muted); }
.feat-details li { display: flex; align-items: center; gap: 8px; }
.feat-cta { justify-content: center; }
.feat-empty .feat-sub { display: flex; align-items: center; gap: 6px; }
.feat-empty .feat-cta { align-self: flex-start; }
.feat .feat-empty-p { margin: 0; font-size: 14px; font-weight: 600; color: var(--feat-muted); }

@media (min-width: 700px) {
  .feat { gap: 18px; margin-top: 28px; padding: 24px 26px 22px; border-radius: 26px; }
  .feat-top { grid-template-columns: 120px minmax(0, 1fr); gap: 22px; }
  .feat-img { width: 120px; height: 120px; }
  .feat .feat-name { font-size: 30px; letter-spacing: -.3px; }
  .feat-sub { font-size: 16px; }
  .feat-chips { display: flex; }
  .feat-pill-m { display: none; }
  .feat-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 280px); gap: 18px; align-items: stretch; }
  .feat-table { font-size: 16px; }
  .feat-table thead, .feat-table .feat-orig, .feat-table .feat-gap { display: table-cell; }
  .feat-table thead { display: table-header-group; }
  .feat-orig-m { display: none; }
  .feat-table thead th { padding: 0 14px 8px; font-size: 13px; font-weight: 700; color: var(--feat-muted); }
  .feat-table th, .feat-table td { padding: 13px 14px; }
  .feat-table tbody th { display: table-cell; }
  .feat-table tbody th .flag { margin-right: 8px; vertical-align: -3px; }
  .feat-table .feat-amt { text-align: right; font-weight: 800; }
  .feat-table .feat-orig { padding-left: 4px; font-size: 14px; font-weight: 600; color: var(--feat-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
  .feat-table .feat-gap { text-align: left; }
  .feat-table tr.feat-home th, .feat-table tr.feat-home td { background: var(--feat-blue-bg); }
  .feat-table tr.feat-home th { border-radius: 12px 0 0 12px; }
  .feat-table tr.feat-home td:last-child { border-radius: 0 12px 12px 0; }
  .feat-table tbody tr + tr th, .feat-table tbody tr + tr td { border-top: 0; }
  .feat-save { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 18px; background: var(--feat-green-bg); color: var(--feat-green); }
  .feat-save svg { flex-shrink: 0; }
  .feat-save > div { display: flex; flex-direction: column; gap: 2px; }
  .feat-save-l { font-size: 15px; font-weight: 800; color: var(--navy); }
  .feat-save-v { font-size: 32px; font-weight: 900; line-height: 1.05; letter-spacing: -.5px; }
  .feat-save-p { align-self: flex-start; margin-top: 4px; padding: 2px 10px; border-radius: 999px; background: #D3EEDC; color: #0C6E34; font-size: 14px; font-weight: 800; }   /* vert un peu plus foncé : contraste 5,2:1 (au lieu de 4,4:1, audit d'accessibilité du 1er déc.) */
  .feat-foot { flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; }
  .feat-details { min-width: 0; flex: 1 1 auto; }
  .feat-cta { flex: 0 0 auto; }
}
/* Variante A : photo de destination légèrement moins haute, formulaire accessible avant le module */
@media (min-width: 900px) { .hero-var-a { --img-h: clamp(320px, calc(100vw * 660 / 2048), 560px); } }

/* Bandeau d'accueil, ajustement du 1er décembre 2026 : la recherche reprend toute la largeur utile de la page,
   avec les mêmes marges que le module de comparaison en dessous ; l'oiseau (plus petit) se pose sur son coin droit. */
@media (min-width: 900px) {
  .hero .hero-card { max-width: none; }
  .hero .hero-bird { z-index: 3; }
}

/* Accueil, ajustement du 1er décembre 2026 (2) : le module de comparaison remonte vers la recherche.
   Écart visuel vague jaune → encart blanc réduit d'environ 45 % (marge 28 px → 8 px ; 22 px → 8 px sur téléphone).
   Hauteur du bandeau, cadrage des photos et dimensions internes du module inchangés. */
.feat { margin-top: 8px; }
@media (min-width: 700px) and (max-width: 899px) { .feat { margin-top: 12px; } }   /* iPad en portrait : même réduction (environ 45 %) */

/* ===================== Accueil compact (version 1 « modérée », choisie le 1er décembre 2026) =====================
   Référence graphique de l'accueil (variante A ; classe html.bt-compact posée par app.js). Identité conservée : couleurs,
   typographies (Baloo 2, Nunito), photos, logo, mascotte (même règle de taille), composants, titre incliné ;
   recherche pleine largeur. Bandeau validé : ne plus réduire sa hauteur. */

/* Jonction C retenue le 1er décembre 2026 : plus de vague bleue et jaune ; la photo va jusqu'au bas du bandeau (bord droit)
   et le module de comparaison la chevauche de 8 px (voir plus bas). Hauteur du bandeau inchangée. */
html.bt-compact .hero::after { display: none; }
html.bt-compact .hero .wrap { padding-bottom: 20px; }

@media (min-width: 900px) {
  /* --title-fs : taille du titre ; --pad-top : marge haute, proportionnelle au titre pour que son extrémité inclinée
     (−3°) ne soit jamais coupée ; --bird-w : largeur de la mascotte (même règle que le JavaScript) */
  html.bt-compact .hero { --bird-w: clamp(122px, 12.2vw, 202px); --title-fs: clamp(34px, 3vw, 52px); --pad-top: calc(var(--title-fs) * 0.85 + 2px); }
  /* la photo couvre tout le bandeau, jusqu'en bas (bord droit, plus de découpe en vague) */
  html.bt-compact .hero .hero-bg { top: 0; height: 100%; -webkit-mask: none; mask: none; }
  html.bt-compact .hero::before { top: 0; height: 100%; }
  /* bandeau réduit de 30 % au plus : plus de photo sur grand écran */
  html.bt-compact .hero .wrap { min-height: calc((var(--img-h) + 24px) * 0.7); padding-top: var(--pad-top); padding-bottom: 20px; }
  /* titre toujours sur deux lignes (français, anglais, allemand), un peu plus petit ; boîte = texte : l'inclinaison ne soulève que le texte réel */
  html.bt-compact .hero h1 { font-size: var(--title-fs); max-width: 12em; width: -webkit-fit-content; width: fit-content; }
  html.bt-compact .hero h1 .hl { margin-top: 0; }
  /* place réservée à la mascotte au-dessus de la recherche (taille inchangée) : sa tête n'est jamais coupée */
  html.bt-compact .hero .wrap > div:first-child { min-height: calc(var(--bird-w) * 1.023 + 10px - 50px - var(--pad-top)); padding-bottom: 6px; }
  /* sous-titre sur deux lignes, comme avant : il reste sur la partie gauche, à l'écart des monuments */
  html.bt-compact .hero h1 + p { max-width: 520px; margin-top: clamp(6px, 0.7vw, 14px); }
  html.bt-compact .hero-card { padding-top: 14px; padding-bottom: 16px; }
}

/* ===================== Module « Comparaison réelle du moment » : compact + carrousel (1er décembre 2026) =====================
   Seul l'encart du produit vedette gagne de la hauteur : photo, marges, espaces, lignes du tableau, encadré vert, bouton.
   Carrousel : 3 à 5 produits du trajet choisi, un seul visible ; les fiches sont superposées dans la même case, donc la
   hauteur ne bouge pas d'un produit à l'autre ; deux petites flèches noires en haut à droite (+ pause en variante B). */
.feat-track { display: grid; touch-action: pan-y; }
.feat-slide { grid-area: 1 / 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.feat-multi .feat-slide { opacity: 0; visibility: hidden; transition: opacity .32s ease, transform .32s ease, visibility 0s linear .32s; }
.feat-multi .feat-slide.is-on { opacity: 1; visibility: visible; transition: opacity .32s ease, transform .32s ease, visibility 0s; }
@media (prefers-reduced-motion: reduce) { .feat-multi .feat-slide, .feat-multi .feat-slide.is-on { transition: none; transform: none !important; } }
.feat-nav { position: absolute; top: 12px; right: 14px; z-index: 1; display: flex; gap: 8px; }
.feat-btn { position: relative; display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid #DCE2EC;
  border-radius: 999px; background: #FFFFFF; color: #111111; cursor: pointer; transition: background-color .15s ease; }
.feat-btn::before { content: ''; position: absolute; inset: -6px; }   /* zone à toucher de 42 px, la flèche reste petite */
.feat-btn:hover { background: #F1F3F7; }
.feat-btn svg { display: block; }
/* En-tête : surtitre « Comparaisons du moment » + mention discrète « économies indicatives… » (à la suite sur grand écran,
   en dessous sur téléphone) ; la place des flèches est réservée à droite */
.feat-head { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; row-gap: 2px; }
.feat-indic { font-size: 12px; font-weight: 600; line-height: 16px; color: var(--feat-muted); }
/* Nom du produit : 3 lignes au plus (2 dans les cartes côte à côte) ; le nom complet reste sur la fiche produit */
html.bt-compact .feat-slide .feat-name { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.feat-multi .feat-head { padding-right: 76px; }

@media (min-width: 700px) {
  .feat-slide { gap: 18px; }
  html.bt-compact .feat { gap: 8px; padding: 14px 22px; }
  html.bt-compact .feat-slide { gap: 10px; }
  html.bt-compact .feat-kicker { line-height: 16px; }
  html.bt-compact .feat-nav { top: 7px; right: 16px; }
  html.bt-compact .feat-top { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; }
  html.bt-compact .feat-img { width: 64px; height: 64px; border-radius: 14px; }
  html.bt-compact .feat-id { gap: 1px; }
  html.bt-compact .feat .feat-name { font-size: 24px; }
  html.bt-compact .feat-sub { font-size: 14px; }
  html.bt-compact .feat-chips { margin-top: 3px; }
  html.bt-compact .feat-chips span { padding: 1px 10px; font-size: 12px; }
  html.bt-compact .feat-body { gap: 14px; grid-template-columns: minmax(0, 1fr) minmax(200px, 250px); }
  html.bt-compact .feat-table { font-size: 15px; }
  html.bt-compact .feat-table thead th { padding: 0 12px 4px; font-size: 12px; }
  html.bt-compact .feat-table tbody th, html.bt-compact .feat-table tbody td { padding: 7px 12px; }
  html.bt-compact .feat-save { gap: 10px; padding: 8px 14px; border-radius: 16px; }
  html.bt-compact .feat-save svg { width: 28px; height: 28px; }
  html.bt-compact .feat-save > div { gap: 1px; }
  html.bt-compact .feat-save-l { font-size: 13px; }
  html.bt-compact .feat-save-v { font-size: 26px; }
  html.bt-compact .feat-save-p { margin-top: 2px; padding: 1px 8px; font-size: 13px; }
  html.bt-compact .feat-foot { gap: 16px; }
  html.bt-compact .feat-cta { min-height: 44px; }
}
@media (max-width: 699px) {
  html.bt-compact .feat { gap: 10px; padding: 14px 16px 16px; }
  html.bt-compact .feat-slide { gap: 12px; }
  html.bt-compact .feat-nav { top: 8px; right: 12px; gap: 4px; }
  html.bt-compact .feat-btn { width: 28px; height: 28px; }   /* commandes un peu plus petites : le surtitre tient sur une ligne */
  /* téléphone : la mention passe sous le surtitre, sur toute la largeur ; seule la ligne du surtitre laisse la place des flèches */
  html.bt-compact .feat-multi .feat-head { padding-right: 0; }
  html.bt-compact .feat-multi .feat-kicker { padding-right: 62px; }
  html.bt-compact .feat-indic { flex-basis: 100%; }
  html.bt-compact .feat-head { row-gap: 6px; }   /* la mention commence sous les flèches */
  html.bt-compact .feat-top { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  html.bt-compact .feat-img { width: 64px; height: 64px; border-radius: 14px; }
  html.bt-compact .feat-table th, html.bt-compact .feat-table td { padding-top: 8px; padding-bottom: 8px; }
  html.bt-compact .feat-foot { gap: 10px; }
}

/* ===================== Module horizontal à un produit (1er décembre 2026) =====================
   Utilisé quand un seul produit est éligible sur le trajet (sinon : deux produits côte à côte, plus bas).
   À partir de 1 160 px de large (ordinateur, iPad en paysage) : fiche produit, tableau et encadré vert sur une même ligne,
   détails et bouton en dessous. Mêmes éléments, mêmes tailles de texte, mêmes couleurs : seule la disposition change
   (fiche 30 % de la largeur, 280 px au moins, encadré vert 200 à 230 px, 10 px de marge dans les cases du tableau pour que les noms de
   pays longs, « Royaume-Uni (chez toi) », tiennent sur une ligne). En dessous (petits portables, iPad en portrait,
   iPhone) : disposition empilée inchangée. */
@media (min-width: 1160px) {
  html.bt-compact .feat-slide { display: grid; grid-template-columns: minmax(280px, 30%) minmax(0, 1fr);
    grid-template-areas: "top body" "foot foot"; column-gap: 22px; row-gap: 8px; align-items: center; }
  html.bt-compact .feat-top { grid-area: top; }
  html.bt-compact .feat-body { grid-area: body; grid-template-columns: minmax(0, 1fr) minmax(200px, 230px); }
  html.bt-compact .feat-foot { grid-area: foot; }
  html.bt-compact .feat-table thead th { padding-left: 10px; padding-right: 10px; }
  html.bt-compact .feat-table tbody th, html.bt-compact .feat-table tbody td { padding-left: 10px; padding-right: 10px; }
}

/* ===================== Jonction bandeau → module (C, retenue le 1er décembre 2026) =====================
   Sans vague : le module de comparaison chevauche le bas de la photo de 8 px et passe devant (le bandeau a un z-index de 5) ;
   12 px de photo restent visibles entre la recherche et le module. Le bandeau garde exactement la même hauteur. */
html.bt-compact .feat { margin-top: -8px; z-index: 6; }

/* ===================== Deux produits côte à côte (direction validée le 1er décembre 2026) =====================
   Ordinateur et iPad en paysage (1 100 px et plus) : deux cartes compactes dans l'espace du module, de catégories différentes
   si possible ; mêmes règles de sélection. Chaque carte : photo 56 px, nom (2 lignes au plus), pays comparés, encadré vert
   (économie en € et en %) en haut à droite ; prix locaux et conversion sur deux lignes ; détails et bouton en bas.
   Pas de pastilles de catégorie ni de colonne « écart » (déjà dans l'encadré vert) : aucune information en double.
   iPad en portrait et iPhone : un produit à la fois, comme le module à un produit. */
.feat-track { transition: opacity .16s ease; }
.feat-track.is-fading { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .feat-track { transition: none; } }
@media (min-width: 1100px) {
  html.bt-compact .feat-duo { gap: 6px; padding: 10px 16px 12px; }
  html.bt-compact .feat-duo .feat-nav { top: 3px; }
  html.bt-compact .feat-duo .feat-track { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
  html.bt-compact .feat-duo .feat-slide { grid-row: 1; grid-column: 1; transition: none; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto;
    grid-template-areas: "img id save" "tbl tbl tbl" "foot foot foot"; grid-template-rows: minmax(56px, auto) auto auto;   /* 1re ligne au moins à la hauteur de la photo : cartes alignées */
    column-gap: 12px; row-gap: 6px; align-items: center; padding: 9px 14px; border: 1px solid #E6EBF3; border-radius: 18px; background: var(--surface, #FFFFFF); }
  html.bt-compact .feat-duo .feat-top, html.bt-compact .feat-duo .feat-body { display: contents; }
  html.bt-compact .feat-duo .feat-foot { grid-area: foot; gap: 12px; }
  html.bt-compact .feat-duo .feat-img { grid-area: img; width: 56px; height: 56px; border-radius: 12px; }
  html.bt-compact .feat-duo .feat-id { grid-area: id; gap: 2px; }
  html.bt-compact .feat-duo .feat .feat-name, html.bt-compact .feat-duo .feat-name { font-size: 20px; line-height: 1.1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  html.bt-compact .feat-duo .feat-sub { font-size: 13px; }
  html.bt-compact .feat-duo .feat-chips { display: none; }
  html.bt-compact .feat-duo .feat-save { grid-area: save; align-self: stretch; gap: 8px; padding: 5px 12px; border-radius: 14px; }
  html.bt-compact .feat-duo .feat-save svg { width: 24px; height: 24px; }
  html.bt-compact .feat-duo .feat-save > div { display: grid; grid-template-columns: auto auto; column-gap: 8px; row-gap: 0; align-items: center; justify-content: start; }
  html.bt-compact .feat-duo .feat-save-l { grid-column: 1 / -1; font-size: 12px; }
  html.bt-compact .feat-duo .feat-save-v { font-size: 24px; }
  html.bt-compact .feat-duo .feat-save-p { margin-top: 0; padding: 1px 8px; font-size: 12px; }
  html.bt-compact .feat-duo .feat-table { grid-area: tbl; font-size: 15px; }
  html.bt-compact .feat-duo .feat-table thead, html.bt-compact .feat-duo .feat-table .feat-gap { display: none; }
  /* ordinateur : montant d'origine à côté du prix converti, dans sa propre colonne (3 déc. 2026) */
  html.bt-compact .feat-duo .feat-table .feat-orig { display: table-cell; width: 1%; padding-left: 2px; font-size: 13px; }
  html.bt-compact .feat-duo .feat-orig-m { display: none; }
  html.bt-compact .feat-duo .feat-table tbody th, html.bt-compact .feat-duo .feat-table tbody td { padding: 5px 10px; }
  html.bt-compact .feat-duo .feat-table .feat-amt { text-align: right; font-weight: 800; white-space: nowrap; }
  html.bt-compact .feat-duo .feat-table tr.feat-home .feat-orig { border-radius: 0 12px 12px 0; }
  html.bt-compact .feat-duo .feat-cta { min-height: 36px; padding: 0 16px; font-size: 14px; }
  html.bt-compact .feat-all .feat-nav { display: none; }
  html.bt-compact .feat-all .feat-head { padding-right: 0; }
}


/* ---- Fiche produit enrichie (chantier catalogue, branche catalogue-lot1) : mêmes blocs pour la page interactive
   et les pages pour Google ; contenu tiré de site/data/fiches.js ---- */
.fx-tax{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.2px;vertical-align:2px;background:#EEF3FC;color:var(--text-2)}
.fx-tax.ht{background:#FFF1B8;color:#5E4700}
.fx-saving{display:flex;flex-direction:column;gap:2px;margin-top:8px;padding:12px 14px;border-radius:14px;background:#E3F6EA;color:#0F5B30}
.fx-saving b{font-size:22px;font-weight:900;line-height:1.15}
.fx-saving small{font-size:12.5px;font-weight:700;color:#1E6B3E}
.fx-notice{margin:16px 0;padding:14px 16px;border-radius:var(--radius);background:#FFF8E1;border:1.5px solid var(--sand-border)}
.fx-notice h3{margin:0 0 6px;font-size:16px;color:var(--navy)}
.fx-notice ul{margin:0;padding-left:18px}.fx-notice li{margin:4px 0;font-size:14.5px;line-height:1.45}
.fx-notice .fx-confirm{color:#7A5A00;font-weight:700}
.fx-key{margin:6px 0 4px;padding-left:20px}.fx-key li{margin:4px 0;line-height:1.45}
.fx-where{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px;margin:8px 0 4px}
.fx-country{display:flex;flex-direction:column;gap:8px;padding:14px 16px;border-radius:16px;background:#fff;border:1px solid var(--border)}
.fx-country>strong{display:flex;align-items:center;gap:8px;font-size:15.5px;color:var(--navy)}
.fx-country .flag{width:22px;height:15px}
.fx-shop{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:12px;background:var(--bg);text-decoration:none;color:var(--text)}
.fx-shop span{display:flex;flex-direction:column;min-width:0}.fx-shop span b{font-size:14.5px}.fx-shop span small{font-size:12px;color:var(--muted)}
.fx-shop em{flex:none;font-style:normal;font-weight:800;font-size:13.5px;padding:8px 12px;border-radius:10px;background:var(--yellow);color:var(--navy);white-space:nowrap}
.fx-shop:hover em{background:var(--yellow-dark)}
.fx-more{font-size:12px;color:var(--muted);margin:0}
details.fx{margin:10px 0;border-radius:16px;background:#fff;border:1px solid var(--border)}
details.fx>summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:12px 16px;font-weight:800;color:var(--navy)}
details.fx>summary::-webkit-details-marker{display:none}
details.fx>summary::after{content:"";flex:none;width:9px;height:9px;border-right:2.5px solid var(--petrol);border-bottom:2.5px solid var(--petrol);transform:rotate(45deg);margin-right:4px}
details.fx[open]>summary::after{transform:rotate(-135deg)}
details.fx>div{padding:0 16px 14px;font-size:14.5px;line-height:1.5}
details.fx h4{margin:12px 0 4px;font-size:14.5px}
.fx-src li{margin:4px 0;word-break:break-word}
.pv-head.fx-nophoto{grid-template-columns:minmax(0,1fr);grid-template-areas:"intro" "best"}
.fx-mono{display:none}
.fx-draft{margin:0 0 14px;padding:10px 14px;border-radius:12px;background:#FFF1B8;border:1px solid var(--sand-border);font-weight:700;font-size:14px}
/* Produits liés sans photo : carte compacte, aucun grand emplacement vide (décision du 1er déc. 2026) */
.fx-related .pcard.fx-noimg{min-height:0}
.fx-related .pcard.fx-noimg .card-body{padding:14px 16px}
/* Prix en rupture confirmée : indicatif, jamais mis en avant (décision du 1er déc. 2026) */
.pv-row.is-out-of-stock .pv-price strong{color:var(--muted, #5B6478)}
.fx-stock{display:inline-block;font-size:12px;font-weight:800;color:#8A4B00;background:#FFF1DC;border-radius:6px;padding:1px 7px;margin-right:6px}

/* ---------- En-tête, variante C affinée (maquettes Figma « C · Texte bleu » et « Variante C affinée », 3 déc. 2026) ----------
   Mention sous le nom, dans le lien du logo (bleu --petrol, Nunito ExtraBold) ; à partir de 1 024 px, les cinq liens de la
   maquette alignés à droite juste avant le sélecteur, espacement régulier ; jusqu'à 1 023 px, menu compact (bouton ☰), qui
   contient aussi « Spécialités locales » et « Toutes les pages ». */
.logo { gap: 8px; min-width: 0; }
.logo-text { display: flex; flex-direction: column; min-width: 0; }
.logo-name { font-family: var(--font-title); font-weight: 800; line-height: 1.05; color: var(--navy); }
.logo-tagline { font-family: var(--font); font-size: 11px; font-weight: 800; line-height: 13px; letter-spacing: 0; color: var(--petrol); white-space: nowrap; }
/* Largeur de la mention = largeur de l'écran moins le logo rond, le sélecteur, le bouton menu et les marges (≈ 250 px) :
   elle ne passe sur deux lignes que si elle ne tient pas sur une. */
@media (max-width: 480px) { .logo-tagline { white-space: normal; max-width: calc(100vw - 250px); } }
/* Très petits téléphones (320 à 359 px) : tout reste sur une ligne — logo, sélecteur et bouton menu un peu plus compacts */
@media (max-width: 359px) {
  .site-header .wrap { padding-left: 12px; padding-right: 12px; gap: 6px 6px; }
  .logo { gap: 6px; }
  .logo .logo-round { width: 34px; height: 34px; }
  .logo-name { font-size: 20px; }
  .logo-tagline { font-size: 10px; line-height: 12px; max-width: 106px; }
  label.lang-btn, .site-header summary.lang-btn, .site-header .pref-btn { min-height: 38px; padding: 0 8px; font-size: 13px; }
  label.lang-btn::after, .site-header summary.lang-btn::after, .site-header .pref-btn::after { width: 6px; height: 6px; margin-left: 2px; }
  .menu-btn { width: 38px; height: 38px; }
}

/* Menu compact jusqu'à 1 023 px (iPad portrait et paysage 1 024 exclu, petits ordinateurs) */
@media (min-width: 900px) and (max-width: 1023px) {
  .site-header .wrap { gap: 6px 12px; }
  .main-nav { display: none; }
  .site-header .menu-btn { display: inline-flex !important; }
  .site-header.nav-open .main-nav, .menu-toggle:checked ~ .main-nav { display: flex; }
  .site-header.nav-open .main-nav a[href*="#specialites"], .site-header.nav-open .main-nav a[href$="#destinations"],
  .site-header.nav-open .main-nav a.nav-extra,
  .menu-toggle:checked ~ .main-nav a[href*="#specialites"], .menu-toggle:checked ~ .main-nav a[href$="#destinations"],
  .menu-toggle:checked ~ .main-nav a.nav-extra { display: flex !important; }
  .logo .logo-full { display: none; }
  .logo .logo-round { display: block; }
  .logo-name { font-size: 26px; }
  .logo-tagline { font-size: 12px; line-height: 15px; }
}

/* Menu horizontal à partir de 1 024 px */
@media (min-width: 1024px) {
  .site-header .wrap { flex-wrap: nowrap; min-height: 88px; gap: 0; }
  .logo { flex: none; gap: 8px; }
  .logo .logo-full { height: 66px; margin: -2px 0; }
  .logo-name { font-size: 28px; line-height: 30px; letter-spacing: -0.4px; }
  .logo-tagline { font-size: 12px; line-height: 15px; }
  /* Groupe des liens centré dans l'espace libre entre le bloc BuyTrotter et le sélecteur (marges automatiques des deux
     côtés), avec au moins 24 px de chaque côté ; il suit la largeur disponible. */
  .main-nav { margin: 0 auto; padding: 0 24px; align-items: center; gap: 16px; font-family: var(--font); font-size: 15px; font-weight: 700; }
  /* Menu ouvert en portrait puis iPad tourné en paysage : la présentation horizontale reprend toujours le dessus */
  .site-header.nav-open .main-nav, .menu-toggle:checked ~ .main-nav { display: flex; flex-direction: row; order: 0; width: auto; padding: 0 24px; border-top: 0; }
  .site-header.nav-open .main-nav a, .menu-toggle:checked ~ .main-nav a { display: inline-flex; min-height: 0; padding: 0; border-bottom: 0; font-size: inherit; font-weight: inherit; }
  .site-header.nav-open .main-nav a[href*="#specialites"], .site-header.nav-open .main-nav a.nav-extra,
  .menu-toggle:checked ~ .main-nav a[href*="#specialites"], .menu-toggle:checked ~ .main-nav a.nav-extra { display: none !important; }
  .site-header .lang-menu, .site-header .pref { margin-left: 0; }
  .main-nav a { white-space: nowrap; color: var(--navy); }
  .main-nav a[href$="#destinations"] { display: inline-flex; }   /* annule l'ancien masquage entre 900 et 1099 px */
  .main-nav a[href*="#specialites"] { display: none; }            /* hors maquette sur grand écran (reste dans le menu compact) */
  .nav-bag svg { width: 19px; height: 19px; }
  label.lang-btn, .site-header summary.lang-btn, .site-header .pref-btn { flex: none; margin-left: 0; min-height: 48px; padding: 0 14px; border-width: 1.4px; border-color: #CFDAEE; font-size: 16px; font-weight: 700; }
}
@media (min-width: 1200px) {
  .main-nav { gap: 26px; font-size: 17px; }
  .logo-name { font-size: 32px; line-height: 34px; }
  .logo-tagline { font-size: 15px; line-height: 18px; }
}
/* Grand écran : maquette « Menu recentré » (liens espacés de 30 px, groupe centré entre BuyTrotter et le sélecteur, mention 17 px / 800) */
@media (min-width: 1320px) {
  .site-header .wrap { max-width: 1440px; }
  .logo .logo-full { height: 74px; margin: -4px 0; }
  .logo-name { font-size: 34px; line-height: 36px; letter-spacing: -0.5px; }
  .logo-tagline { font-size: 17px; line-height: 20px; }
  .main-nav { gap: 30px; font-size: 18px; }
  .nav-bag svg { width: 21px; height: 21px; }
  label.lang-btn, .site-header summary.lang-btn, .site-header .pref-btn { min-height: 56px; padding: 0 16px; font-size: 18px; }
}

/* ---------- Pages statiques (pages pour Google, plan du site) : même en-tête, sans JavaScript ----------
   Menu compact : case à cocher cachée + bouton ☰ (label) ; langue : liste déroulante <details> qui garde les liens hreflang. */
.menu-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.menu-toggle:focus-visible + .main-nav, .menu-toggle:focus-visible ~ .menu-btn { outline: 3px solid var(--petrol); outline-offset: 2px; }
.menu-toggle:checked ~ .main-nav { flex-direction: column; gap: 0; order: 10; width: 100%; padding: 4px 0 12px; border-top: 1px solid var(--border); }
.menu-toggle:checked ~ .main-nav a { display: flex; align-items: center; min-height: 48px; padding: 0 4px; border-bottom: 1px solid var(--border); font-size: 17px; font-weight: 800; color: var(--navy); }
.menu-toggle:checked ~ .menu-btn { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
label.menu-btn { cursor: pointer; }
.lang-menu { position: relative; margin-left: auto; }
.lang-menu > summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; text-decoration: none; }
.lang-menu > summary::-webkit-details-marker { display: none; }
.site-header summary.lang-btn::after { content: ''; width: 7px; height: 7px; margin-left: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.lang-menu .lang-links { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; display: flex; flex-direction: column; gap: 2px; min-width: 150px; margin: 0; padding: 6px;
  border: 1px solid var(--border); border-radius: 14px; background: #FFFFFF; box-shadow: 0 8px 24px rgba(11,42,111,.14); }
.lang-menu .lang-links a { padding: 9px 12px; border-radius: 10px; font-size: 15px; }
.lang-menu:not([open]) .lang-links { display: none; }
@media (min-width: 900px) and (max-width: 1023px) { .seo-page .main-nav { display: none; } .seo-page .menu-toggle:checked ~ .main-nav { display: flex; } }
@media (max-width: 899px) { .seo-page .menu-toggle:checked ~ .main-nav { display: flex; } }
.seo-page .site-header summary.lang-btn { color: var(--navy); }

/* ---------- Devise d'affichage (3 déc. 2026) ---------- */
/* Menu « FR · € » : langue, puis devise */
/* le menu passe devant le bandeau photo et le module des comparaisons (z-index 6), sous la valise (40) et les fenêtres (50) */
.site-header { z-index: 30; }
.pref { position: relative; margin-left: auto; }
.pref .lang-btn { margin-left: 0; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; font-family: inherit; }
.pref-btn::after { content: ''; width: 7px; height: 7px; margin-left: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.pref-btn[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.pref-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; width: 300px; max-width: calc(100vw - 24px); max-height: calc(100vh - 90px); overflow: auto;
  padding: 8px; border: 1px solid var(--border-strong); border-radius: 16px; background: var(--surface, #fff); box-shadow: 0 12px 32px rgba(15, 30, 60, .18); }
.pref-menu[hidden] { display: none; }
.pref-menu fieldset { margin: 0; padding: 4px 0; border: 0; }
.pref-menu fieldset + fieldset { margin-top: 4px; padding-top: 8px; border-top: 1px solid #E6EBF3; }
.pref-menu legend { padding: 4px 10px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.pref-opt { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 10px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--navy); cursor: pointer; }
.pref-opt:hover { background: #F2F6FC; }
.pref-opt input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--navy); }
.pref-opt input:checked + span { font-weight: 800; }
.pref-opt small { font-weight: 600; color: var(--muted); }
.pref-opt:focus-within { outline: 3px solid #7CC4BB; outline-offset: -3px; }
/* Montant d'origine en secondaire, sous le prix converti */
.pd-orig { font-size: 12.5px; font-weight: 600; color: #5B6683; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pd-val { font-variant-numeric: tabular-nums; }
.pd-ht-ph { visibility: hidden; }
.dm-row { flex-wrap: wrap; }
.dm-o { flex-basis: 100%; margin-top: -3px; text-align: right; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.dm-p, .dm-best .dm-p { font-size: 14px; font-weight: 900; font-variant-numeric: tabular-nums; }
@media (max-width: 899px) { .deal-mini-track .dm-p, .deal-mini-track .dm-best .dm-p { font-size: 18px; } .deal-mini-track .dm-o { font-size: 13px; } }
.pv-price strong { font-variant-numeric: tabular-nums; }
/* Téléphone : le montant d'origine passe sur une 2e ligne ; le trait de séparation est porté par la ligne entière
   (sinon le trait du nom du pays, centré verticalement, se décale de celui du prix) */
@media (max-width: 699px) {
  .feat-table tbody tr + tr th, .feat-table tbody tr + tr td { border-top: 0; }
  .feat-table tbody tr + tr { border-top: 1px solid #E6EBF3; }
}
/* Badge d'économie du téléphone : tient dans la carte ; pourcentage sur une 2e ligne si nécessaire */
@media (max-width: 699px) { .feat-pill.feat-pill-m { display: inline-flex; flex-wrap: wrap; align-items: baseline; column-gap: .3em; max-width: 100%; white-space: normal; } }
.feat-pill-m > span { white-space: nowrap; }
.feat-pill-m.is-measure { flex-wrap: nowrap; max-width: none; }
.feat-pill-m.is-tight .fp-a { white-space: normal; }
.feat-pill-m.is-wrapped .fp-sep { display: none; }
@media (max-width: 699px) { .feat-pill.feat-pill-m.is-wrapped { display: inline-grid; grid-template-columns: auto; justify-items: start; } }
/* Téléphone (en-tête variante C : le sélecteur n'est plus au bord droit) : le menu Langue / Devise prend toute la
   largeur sous l'en-tête, au lieu de s'aligner sur le bouton et de sortir de l'écran à gauche */
@media (max-width: 480px) {
  .site-header .pref { position: static; }
  .site-header .pref-menu { left: 12px; right: 12px; width: auto; max-width: none; top: calc(100% + 4px); }
}
/* Comparaisons du moment (3 déc. 2026) : ligne de départ au fond bleu atténué ; prix de destination moins cher en vert
   foncé (le vert des « Meilleurs prix » de l'accueil), même taille et même graisse que le prix de départ */
.feat { --feat-blue-bg: #F5F8FE; }
.feat-chips span { background: #EEF3FD; }
.feat-table .feat-amt-v.is-cheaper { color: #0F7A3A; }
/* Avant et après détaxe : même colonne et même corps pour les deux montants. */
.feat-table .feat-tax-label { display: block; color: var(--feat-muted); font-size: 12px; font-weight: 600; line-height: 1.2; }
.feat-table tr.feat-refund > * { background: #EDF8F0; }
.feat-table tr.feat-refund { border-top: 0; }
.feat-table tr.feat-refund th { display: table-cell; border-radius: 10px 0 0 10px; }
.feat-table tr.feat-refund .feat-amt { border-radius: 0 10px 10px 0; }
.feat-table .feat-refund-price { color: #0F7A3A; }
.feat-details li.feat-refund-total { font-weight: 700; color: var(--navy); }
@media (min-width: 700px) {
  .feat-table .feat-tax-label { display: inline; margin-inline-start: 6px; }
  .feat-table tr.feat-refund .feat-amt { border-radius: 0; }
  .feat-table tr.feat-refund .feat-gap { border-radius: 0 10px 10px 0; }
}
@media (min-width: 1100px) {
  html.bt-compact .feat-slide:has(.feat-refund) { row-gap: 2px; padding-top: 7px; padding-bottom: 7px; }
  html.bt-compact .feat-table:has(.feat-refund) tbody tr > * { padding-top: 2px; padding-bottom: 2px; }
  html.bt-compact .feat-table:has(.feat-refund) :is(thead, .feat-gap) { display: none; }
  html.bt-compact .feat-table tr.feat-refund .feat-orig { border-radius: 0 10px 10px 0; }
}
/* Détaxe dans l'Union européenne (3 déc. 2026) : possible sous conditions, sans montant — ligne neutre, pas de vert */
.feat-table tr.feat-refund-eu > * { background: #F3F5F9; }
.feat-table tr.feat-refund-eu th { font-weight: 700; }
.feat-table td.feat-eu-check { text-align: right; font-size: 13px; font-weight: 700; color: var(--feat-muted); white-space: normal; border-radius: 0 10px 10px 0; }
/* Détaxe sous un prix : résultats, mini cartes de l'accueil, fiches produit */
.tr { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; flex-basis: 100%; width: 100%; margin-top: 4px; line-height: 1.25; text-align: left; }
.tr .tr-l { font-size: 12.5px; font-weight: 700; color: var(--muted); white-space: normal; }
.tr-amt .tr-v { color: #0F7A3A; font-weight: 900; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tr .tr-o { font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tr .tr-c { flex-basis: 100%; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.tr-eu .tr-l { font-weight: 600; }
.pd .tr .tr-v.pd-val { display: inline; }
.dm-row .tr .tr-v.dm-p { margin-left: 0; }
.dm-row .tr { justify-content: flex-end; text-align: right; }
.dm-row .tr .tr-c { text-align: right; }
.pv-price .tr .tr-v.tr-strong { font-size: 20px; }
.pv-price .tr span.tr-l { font-size: 12.5px; }
.pd .tr { flex-basis: auto; }
.duo-tr { flex-basis: auto; margin: 6px 2px 0; column-gap: 4px; }
.duo-tr .flag, .duo-tr img { flex: none; }
/* Ligne UE en une seule cellule : le texte occupe toute la largeur (2 lignes au plus sur iPad paysage) */
.feat-table tr.feat-refund-eu td { text-align: left; font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--feat-muted); white-space: normal; border-radius: 10px; }
.feat-table tr.feat-refund-eu td b { font-weight: 800; color: var(--navy); }

@media (min-width: 700px) { .feat-table tr.feat-refund-eu td { display: table-cell; } }
@media (min-width: 1100px) { html.bt-compact .feat-table tr.feat-refund-eu td { font-size: 12px; line-height: 1.18; padding-top: 2px; padding-bottom: 2px; } html.bt-compact .feat-slide:has(.feat-refund-eu) { padding-bottom: 4px; } }
/* Cartes de résultats : aucun bloc ne se tasse quand la détaxe allonge la carte (le titre recouvrait le badge) */
.card-body > * { flex-shrink: 0; }
/* Carrousel (3 déc., 23 h 49) : détaxe en une seule ligne grise sous le prix japonais, alignée à droite sous les montants */
.feat-table tr.feat-tx { border-top: 0; }
.feat-table tbody tr.feat-tx td { display: table-cell; padding-top: 0; padding-bottom: 4px; border-top: 0; background: none; text-align: right; font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--feat-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.feat-table tbody tr.feat-tx-eu td { white-space: normal; }
@media (max-width: 420px) { .feat-table tr.feat-tx .feat-tx-o { display: none; } }
@media (max-width: 359px) { .feat-table tbody tr.feat-tx td { font-size: 12px; letter-spacing: -0.1px; } }
@media (min-width: 1100px) { html.bt-compact .feat-duo .feat-table tbody tr.feat-tx td { padding: 0 10px 2px; font-size: 12px; } }
/* Ligne grise de détaxe : mêmes resserrements que l'ancienne ligne, pour garder les cartes entières sur iPad Air paysage */
@media (min-width: 1100px) {
  html.bt-compact .feat-slide:has(.feat-tx) { row-gap: 2px; padding-top: 7px; padding-bottom: 6px; }
  html.bt-compact .feat-table:has(.feat-tx) tbody tr:not(.feat-tx) > * { padding-top: 3px; padding-bottom: 3px; }
  html.bt-compact .feat-table tbody tr.feat-dest:has(+ tr.feat-tx) > * { padding-bottom: 0; }
}
@media (min-width: 1100px) { html.bt-compact .feat-duo .feat-table tr.feat-home .feat-amt { border-radius: 0 12px 12px 0; } }
/* ---------- Fiche produit « Où acheter… » (maquette du 4 déc. 2026) ---------- */
.pv-best.pv-ref { gap: 10px; padding: 20px 24px; }
.pv-ref .pv-ref-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; font-size: 18px; color: var(--navy); }
.pv-ref-line b { font-weight: 800; }
.pv-ref-line .flag { width: 24px; height: 17px; }
.pv-ref .pv-ref-best { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; }
.pv-ref-best .flag { width: 30px; height: 21px; }
.pv-ref-c { font-size: 24px; font-weight: 800; color: var(--navy); }
.pv-ref .pv-best-price { font-size: 34px; line-height: 1.1; }
.pv-ref .pv-badge { padding: 4px 12px; border-radius: 10px; background: #FCD34D; color: var(--navy); font-size: 18px; font-weight: 900; }
.pv-ref .pv-ref-sub { margin: 0; font-size: 15px; color: var(--muted); }
.pv-ref-lbl { display: inline-flex; align-items: center; }
.pv-ref-sep { white-space: pre; }
/* Prix et pastille lus ensemble : même groupe, écart réduit, jamais séparés par un retour à la ligne */
.pv-ref-amt { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.pv-ref .pv-best-tax { font-size: 13px; font-weight: 800; color: var(--muted); }
/* Classement : prix en magasin au premier plan, devise locale à côté, détaxe en ligne grise dessous */
.pv-price .pv-ht { font-size: 12px; font-weight: 800; color: var(--muted); }
.pv-price .pv-local { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pv-price .pv-tx { flex-basis: 100%; font-size: 13px; line-height: 1.35; color: var(--muted); }
@media (min-width: 900px) { .pv-row { grid-template-columns: 34px 190px minmax(240px, 300px) 110px minmax(0, 1fr); } }
@media (max-width: 599px) { .pv-ref .pv-ref-line { font-size: 16px; } .pv-ref-lbl { flex-basis: 100%; } .pv-ref-sep { display: none; } .pv-ref-amt { gap: 6px; } .pv-ref-c { font-size: 20px; } .pv-ref .pv-best-price { font-size: 28px; } .pv-best.pv-ref { padding: 16px 18px; } }

/* Pages « Où acheter… » pour Google (4 déc. 2026) : haut de fiche resserré sous le bandeau ; sans photo, bloc compact */
.pv-page .seo-body { padding-top: 0; }
.pv-page .pv-head { padding-top: 12px; row-gap: 10px; }
.pv-page .pv-head .pv-name { margin: 0; }
.pv-page .pv-head { grid-template-areas: "media intro" "lead lead" "best best"; }
.pv-page .pv-head.fx-nophoto { grid-template-areas: "intro" "lead" "best"; }
.pv-page .pv-lead { grid-area: lead; margin: 0; font-size: 15px; line-height: 1.5; }
.pv-page .pv-head .pv-best { margin: 0; }
.pv-page .fx-notice { margin-top: 12px; }
@media (min-width: 900px) {
  .pv-page .pv-head { padding-top: 20px; row-gap: 12px; }
  .pv-page .pv-intro { padding-top: 0; }
  .pv-page .pv-head.fx-nophoto { grid-template-columns: minmax(0, 760px); }
  .pv-page .pv-head { grid-template-areas: "media intro" "media lead" "media best"; }
  .pv-page .pv-head.fx-nophoto { grid-template-areas: "intro" "lead" "best"; }
  .pv-page .pv-lead { font-size: 16px; }
}

/* Photos produit (5 déc. 2026) : <picture> transparent pour la mise en page, l'<img> garde ses règles */
picture { display: contents; }
/* 5 déc. 2026 : photos carrées jamais rognées — affichées entières sur un fond flou tiré de la photo ; fiche produit carrée */
.card-media.has-photo { isolation: isolate; overflow: hidden; }
.card-media.has-photo::before { content: ""; position: absolute; inset: -24px; z-index: -1; background: var(--ph) center / cover no-repeat; filter: blur(22px) saturate(0.9); opacity: 0.85; }
.card-media.has-photo img { object-fit: contain; }
.pv-head .card-media.has-photo { aspect-ratio: 1 / 1; }
