
/* ============================================================
   IDENTITÉ PREMIUM — Variables ajoutées le 05/08/2026
   Utilisées par le nouveau header, footer et sections premium.
   ============================================================ */
:root {
  --ep-ink: #0C1F3D;
  --ep-bg: #F7F6F1;
  --ep-paper: #FFFFFF;
  --ep-line: #E5E2D9;
  --ep-sky: #1E90FF;
  --ep-sky-deep: #0F5FB8;
  --ep-muted: #8A8678;
  --ep-serif: 'Instrument Serif', serif;
  --ep-sans: 'Inter', sans-serif;
}

@font-face{font-family:'Twemoji Country Flags';unicode-range:U+1F1E6-1F1FF,U+1F3F4,U+E0062-E0063,U+E0065,U+E0067,U+E006C,U+E006E,U+E0073-E0074,U+E0077,U+E007F;src:url('https://cdn.jsdelivr.net/npm/country-flag-emoji-polyfill@0.1/dist/TwemojiCountryFlags.woff2') format('woff2');font-display:swap}

/* ════════════════════════════════════════════════════════════════
   PALETTE & VARIABLES — Inspirée du modèle (épuré, doux, lisible)
   ════════════════════════════════════════════════════════════════ */
:root {
  /* Couleurs ─────────────────────────────────────────────────── */
  --ink: #0C1F3D;          /* Texte principal (bleu marine très sombre) */
  --ink-soft: #4A5A75;     /* Texte secondaire */
  --muted: #7E8AA0;        /* Texte tertiaire */
  --paper: #FFFFFF;        /* Fond cartes */
  --bg: #F7F6F1;           /* Fond général (sable très clair) */
  --bg-warm: #F1EFE6;      /* Fond chaud (accent) */
  --line: #E5E2D8;         /* Bordures */
  --line-soft: #EFEDE5;    /* Bordures légères */

  --sky: #1E90FF;          /* Bleu principal (CTA) */
  --sky-deep: #0E6FD9;     /* Bleu hover */
  --sky-soft: #EAF3FF;     /* Bleu très clair (fond) */

  --sun: #E89C2A;          /* Orange (accent météo / alertes) */
  --green: #2D9B5F;        /* Vert (sécurité OK, prix valides) */
  --red: #D33B3B;          /* Rouge (alerte) */

  /* Typographie ──────────────────────────────────────────────── */
  --disp: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;

  /* Rayons ───────────────────────────────────────────────────── */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 24px;

  /* Ombres ──────────────────────────────────────────────────── */
  --shadow-sm: 0 1px 2px rgba(12, 31, 61, 0.04);
  --shadow: 0 4px 16px -4px rgba(12, 31, 61, 0.08);
  --shadow-lg: 0 22px 50px -26px rgba(12, 31, 61, 0.4);
}

/* Reset & base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: 'Twemoji Country Flags', var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  font-size: 15px;
}

/* ════════════════════════════════════════════════════════════════
   SPLASH SCREEN — Cascade des 3 origamis (v3, 07/08/2026)
   Nouvelle version : les 3 origamis du logo apparaissent en cascade
   puis "EasyPeasy Flight" apparaît (Bricolage bold + Instrument Serif italique)
   ════════════════════════════════════════════════════════════════ */
.ep-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.5s ease;
  pointer-events: auto;
}
.ep-splash.ep-splash-hiding {
  opacity: 0;
  pointer-events: none;
}
.ep-splash-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* Scène des 3 origamis (cascade diagonale, comme le logo) */
.splash-planes {
  position: relative;
  width: 200px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.splash-plane {
  position: absolute;
  will-change: transform, opacity;
}
.splash-plane svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(12, 31, 61, 0.10));
}

/* Avion 1 : petit (bas-gauche) */
.splash-plane-1 {
  width: 48px;
  height: 48px;
  bottom: 8px;
  left: 20px;
  opacity: 0;
  animation: plane1-appear 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0s forwards;
}
/* Avion 2 : moyen (milieu) */
.splash-plane-2 {
  width: 68px;
  height: 68px;
  top: 26px;
  left: 66px;
  opacity: 0;
  animation: plane2-appear 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.15s forwards;
}
/* Avion 3 : grand héros (haut-droite) */
.splash-plane-3 {
  width: 92px;
  height: 92px;
  top: 0;
  right: 20px;
  opacity: 0;
  animation: plane3-appear 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

@keyframes plane1-appear {
  0% { opacity: 0; transform: translate(-60px, 40px) rotate(-45deg) scale(0.4); }
  40% { opacity: 1; transform: translate(-10px, 8px) rotate(-30deg) scale(0.9); }
  70%, 100% { opacity: 1; transform: translate(0, 0) rotate(-25deg) scale(1); }
}
@keyframes plane2-appear {
  0% { opacity: 0; transform: translate(-70px, 50px) rotate(-50deg) scale(0.3); }
  40% { opacity: 1; transform: translate(-12px, 10px) rotate(-32deg) scale(0.9); }
  70%, 100% { opacity: 1; transform: translate(0, 0) rotate(-25deg) scale(1); }
}
@keyframes plane3-appear {
  0% { opacity: 0; transform: translate(-80px, 60px) rotate(-55deg) scale(0.2); }
  40% { opacity: 1; transform: translate(-15px, 12px) rotate(-33deg) scale(0.9); }
  70%, 100% { opacity: 1; transform: translate(0, 0) rotate(-25deg) scale(1); }
}

/* Typographie de la marque (Bricolage bold + Instrument Serif italique) */
.ep-splash-brand {
  opacity: 0;
  animation: splash-brand-appear 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.9s forwards;
}
.ep-splash-name {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  line-height: 1;
  color: var(--ink);
}
.ep-splash-name .splash-easypeasy {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 38px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.ep-splash-name .splash-flight {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 38px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

@keyframes splash-brand-appear {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Ligne diagonale subtile qui souligne la trajectoire */
.splash-line {
  position: absolute;
  top: 50%;
  left: 20px;
  right: 20px;
  height: 1px;
  transform: rotate(-25deg);
  transform-origin: left center;
  background: linear-gradient(to right, transparent, rgba(30, 144, 255, 0.15) 20%, rgba(30, 144, 255, 0.15) 80%, transparent);
  opacity: 0;
  animation: splash-line-draw 0.8s ease-out 0.4s forwards;
  z-index: -1;
}
@keyframes splash-line-draw {
  from { opacity: 0; transform: rotate(-25deg) scaleX(0); }
  to { opacity: 1; transform: rotate(-25deg) scaleX(1); }
}

/* Respect des préférences d'accessibilité (motion) */
@media (prefers-reduced-motion: reduce) {
  .splash-plane,
  .ep-splash-brand,
  .splash-line {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    opacity: 1 !important;
  }
  .splash-plane-1 { transform: translate(0, 0) rotate(-25deg); }
  .splash-plane-2 { transform: translate(0, 0) rotate(-25deg); }
  .splash-plane-3 { transform: translate(0, 0) rotate(-25deg); }
}

/* Mobile : réduction de la taille du splash */
@media (max-width: 720px) {
  .splash-planes { width: 160px; height: 100px; }
  .splash-plane-1 { width: 40px; height: 40px; }
  .splash-plane-2 { width: 56px; height: 56px; }
  .splash-plane-3 { width: 76px; height: 76px; }
  .ep-splash-name .splash-easypeasy { font-size: 28px; }
  .ep-splash-name .splash-flight { font-size: 30px; }
  .ep-splash-inner { gap: 32px; }
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }

/* Wrapping ────────────────────────────────────────────────── */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 22px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 22px; }

/* ════════════════════════════════════════════════════════════════
   HEADER / NAVBAR
   ════════════════════════════════════════════════════════════════ */
header.nav {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(247, 246, 241, 0.85);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;  /* Pour ancrer le menu langue */
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.logo {
  width: 38px; height: 38px;
  display: inline-block;
  background: #DCEAFB;
  border: 1px solid #BCD6F5;
  border-radius: 10px;
  padding: 4px;
  box-shadow: 0 1px 2px rgba(12, 31, 61, 0.06);
}
.logo svg { width: 100%; height: 100%; }
.brand-name {
  font-family: var(--disp);
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}
.brand-name .bn-main {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.brand-name .bn-badge {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--sky-deep);
  background: #DCEAFB;
  border-radius: 4px;
  padding: 2px 7px;
  text-transform: uppercase;
  align-self: flex-start;
}
/* em conservé pour compat, sans effet visuel particulier ici */
.brand-name em { font-style: normal; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }

/* Bouton langue discret ───────────────────────────────────── */

/* ── Sélecteur devise ── */
.curr-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background 0.15s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.curr-btn:hover { background: var(--line-soft); }
.curr-symbol {
  font-size: 15px;
  font-weight: 700;
  color: var(--sky);
  min-width: 14px;
  text-align: center;
}
.curr-chev {
  width: 12px; height: 12px;
  transition: transform 0.2s;
}
.curr-btn[aria-expanded="true"] .curr-chev { transform: rotate(180deg); }
.curr-menu {
  position: absolute;
  top: 100%;
  right: 60px;
  margin-top: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: 0 8px 32px rgba(12,31,61,.12);
  min-width: 220px;
  z-index: 200;
  display: none;
  padding: 6px;
  max-height: 380px;
  overflow-y: auto;
}
.curr-menu.open { display: block; }
.curr-section {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted, #6B6659);
  padding: 8px 10px 4px;
}
.curr-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: none;
  background: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  color: var(--ink);
  text-align: left;
  transition: background .12s;
}
.curr-opt:hover { background: var(--cream, #F7F5EF); }
.curr-opt.active { background: rgba(30,144,255,.08); color: var(--sky); font-weight: 600; }
.curr-opt-sym { font-weight: 700; min-width: 28px; color: var(--sky); }
.curr-opt-name { flex: 1; }
.curr-opt-code { font-size: 11px; color: var(--muted, #6B6659); }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background 0.15s;
}
.lang-btn:hover { background: var(--line-soft); }
.lang-icon {
  width: 16px; height: 16px;
  color: var(--ink-soft);
}
.lang-chev {
  width: 12px; height: 12px;
  transition: transform 0.2s;
}
.lang-btn[aria-expanded="true"] .lang-chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: 100%;
  right: 22px;
  margin-top: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  min-width: 170px;
  display: none;
  z-index: 100;
}
.lang-menu.open { display: block; }
.lang-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  font-size: 13px;
  text-align: left;
  color: var(--ink);
  white-space: nowrap;
}
.lang-opt-flag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--bg);
  padding: 3px 7px;
  border-radius: 4px;
  min-width: 28px;
  text-align: center;
}
.lang-menu button:hover { background: var(--line-soft); }
.lang-menu button.active { background: var(--sky-soft); color: var(--sky-deep); font-weight: 600; }
.lang-menu button.active .lang-opt-flag { background: var(--sky); color: #fff; }

/* ════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════ */
/* Ancienne règle .hero retirée */
.hero-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 22px;
  position: relative;
  z-index: 2;
}
/* Ancienne règle .hero-eyebrow retirée (Phase 2 hotfix) */
/* Ancienne règle .hero-eyebrow svg retirée */
.hero h1 {
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(32px, 4.6vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 18px 0 14px;
  color: var(--ink);
}
.hero h1 em {
  font-style: normal;
  color: var(--sky-deep);
}
.hero p.lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 480px;
  line-height: 1.5;
}

/* Trust badges sous la recherche ──────────────────────────── */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-soft);
}
.trust .t {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.trust .t svg {
  width: 15px; height: 15px;
  color: var(--green);
}

/* ════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════ */

.foot-social { margin-top: 18px; }
.foot-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  padding: 7px 16px 7px 10px;
}
.foot-social a:hover { color: #fff; border-color: rgba(255,255,255,0.4); }
.foot-social-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg,#F58529,#DD2A7B,#8134AF);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.foot-social-ico svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

footer.foot {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 50px 0 30px;
  margin-top: 0;
}
.foot-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 22px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr 1fr 1fr;
  gap: 36px;
}
@media (max-width: 900px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
}
.foot-brand .brand-name .bn-main { color: #fff; }
.foot-brand .brand-name .bn-badge { color: #0F5FB8; background: #DCEAFB; }
.foot-brand .logo { background: rgba(255,255,255,0.08); }
.foot-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-top: 12px;
  max-width: 280px;
  line-height: 1.5;
}
.foot-col h4 {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 8px; }
.foot-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}
.foot-col a:hover { color: #fff; }

.foot-bottom {
  max-width: 1100px;
  margin: 36px auto 0;
  padding: 22px 22px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 720px) {
  .nav-inner { padding: 12px 16px; }
  .brand-name .bn-main { font-size: 17px; }
  .nav-links { gap: 14px; }
  .nav-links a { display: none; } /* Cache les liens texte de nav sur mobile ; le sélecteur pref reste (c'est un <button>) */

  .hero { padding: 36px 0 28px; }
  .hero h1 { font-size: 32px; }
  .hero p.lead { font-size: 15px; }
  .wrap, .wrap-narrow { padding: 0 16px; }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════
   SUITE DU CSS DANS LA PARTIE 2…
   ════════════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════════════
   BARRE DE RECHERCHE
   ════════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════
   BARRE MAGIQUE — Recherche en langage naturel
   ═══════════════════════════════════════════════════════════════ */
.magic-wrap {
  max-width: 820px;
  margin: 32px auto 0;
  padding: 0 22px;
}
.magic-header {
  text-align: center;
  margin-bottom: 20px;
}
.magic-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky-deep);
  background: var(--sky-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.magic-title {
  font-family: var(--disp);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: 1.15;
}
.magic-lead {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}
.magic-bar {
  position: relative;
  background: var(--paper);
  border: 2px solid var(--sky);
  border-radius: 16px;
  padding: 6px 6px 6px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 24px rgba(30, 144, 255, 0.12);
  transition: box-shadow 0.15s;
}
.magic-bar:focus-within {
  box-shadow: 0 4px 32px rgba(30, 144, 255, 0.22);
}
.magic-plane {
  width: 36px;
  height: 28px;
  flex-shrink: 0;
}
.magic-input-wrap {
  flex: 1;
  position: relative;
  height: 44px;
  display: flex;
  align-items: center;
}
#magicInput {
  width: 100%;
  border: 0;
  padding: 0;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  outline: none;
  position: relative;
  z-index: 2;
}
.magic-placeholder {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  color: #8B8578;
  font-size: 15px;
  font-style: italic;
  pointer-events: none;
  z-index: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.magic-placeholder.hidden {
  display: none;
}
.magic-cursor {
  color: var(--sky);
  animation: magicBlink 1s infinite;
}
@keyframes magicBlink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}
.magic-btn {
  background: var(--sky);
  color: #fff;
  border: 0;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.15s;
}
.magic-btn:hover {
  background: var(--sky-deep);
}
.magic-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.magic-chips {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.magic-chips-label {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}
.magic-chip {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--sky-deep);
  font-size: 11.5px;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
}
.magic-chip:hover {
  background: var(--sky-soft);
  border-color: var(--sky);
}
.magic-divider {
  text-align: center;
  margin: 28px 0 0;
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}

/* Toast de feedback */
.magic-toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: var(--ink);
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: all 0.3s ease-out;
  z-index: 999;
  max-width: 90vw;
  display: flex;
  align-items: center;
  gap: 10px;
}
.magic-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.magic-toast-icon {
  font-size: 20px;
}

/* État "en cours de traitement" */
.magic-bar.processing #magicBtn {
  pointer-events: none;
  opacity: 0.7;
}

@media (max-width: 600px) {
  .magic-bar {
    padding: 8px 8px 8px 14px;
    gap: 8px;
  }
  .magic-plane {
    width: 28px;
    height: 22px;
  }
  #magicInput, .magic-placeholder {
    font-size: 14px;
  }
  .magic-btn {
    padding: 10px 16px;
    font-size: 13px;
  }
  .magic-btn span {
    display: none;
  }
  .magic-chip {
    font-size: 11px;
  }
}

.searchbar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  position: relative;
  margin-top: 24px;
}

/* Onglets aller-retour / aller simple / multi-villes */
.sb-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
  padding: 4px;
  background: var(--bg);
  border-radius: var(--r);
  width: fit-content;
}
.sb-tabs button {
  padding: 8px 16px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all 0.15s;
}
.sb-tabs button.on {
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}
.sb-tabs button:hover:not(.on) {
  color: var(--ink);
}

/* Container des champs */
.sb-fields {
  display: grid;
  /* Aller simple : Départ + swap + Destination + Date + Passagers + Bouton */
  grid-template-columns: 1.4fr 40px 1.4fr 1.1fr 1.3fr auto;
  gap: 1px;
  background: var(--line-soft);
  border-radius: var(--r);
  align-items: stretch;
  position: relative;
}
/* Coins arrondis sans overflow:hidden (sinon coupe l'autocomplete) */
.sb-fields > *:first-child { border-top-left-radius: var(--r); border-bottom-left-radius: var(--r); }
.sb-fields > *:last-child  { border-top-right-radius: var(--r); border-bottom-right-radius: var(--r); }
.sb-fields.aller-simple {
  grid-template-columns: 1.4fr 40px 1.4fr 1.1fr 1.3fr auto;
}
.sb-fields.aller-simple .sb-field-return { display: none; }
.sb-fields.aller-retour {
  /* Aller-retour : Départ + swap + Destination + Date dep + Date ret + Passagers + Bouton */
  grid-template-columns: 1.4fr 40px 1.4fr 1fr 1fr 1.3fr auto;
}

.sb-field {
  background: var(--paper);
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  min-width: 0;
}
.sb-field label {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  /* Forcer une seule ligne pour aligner verticalement tous les champs */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 14px;
  line-height: 1.3;
}
.sb-field input,
.sb-field .sb-display {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  padding: 2px 0;
  width: 100%;
  cursor: pointer;
}
.sb-field input::placeholder { color: var(--muted); font-weight: 400; }

/* ════════════════════════════════════════════════════════════════
   CALENDRIER CUSTOM (type Google Flights)
   ════════════════════════════════════════════════════════════════ */
.sb-date-trigger {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding: 2px 0;
  width: 100%;
  cursor: pointer;
  user-select: none;
  min-height: 22px;
  display: flex;
  align-items: center;
}
.sb-date-text.placeholder { color: var(--muted); font-weight: 400; }
.sb-date-trigger:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
.sb-field-date.active .sb-date-trigger { color: var(--sky-deep); font-weight: 600; }

.cal-popup {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 200;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(12, 31, 61, 0.16);
  padding: 18px;
  display: none;
  width: max-content;
  max-width: min(600px, calc(100vw - 40px));
}
.cal-popup.open { display: block; animation: calFadeIn 0.16s ease-out; }
@keyframes calFadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 10px;
}
.cal-nav {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.12s;
  flex-shrink: 0;
}
.cal-nav:hover { background: var(--line-soft); }
.cal-nav:disabled { opacity: 0.3; cursor: not-allowed; }
.cal-nav svg { width: 18px; height: 18px; }
.cal-months-labels {
  flex: 1;
  display: flex;
  justify-content: space-around;
  gap: 40px;
}
.cal-month-label {
  font-family: var(--disp);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  text-transform: capitalize;
}
.cal-grids {
  display: flex;
  gap: 28px;
}
.cal-grid { width: 260px; }
.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 6px;
}
.cal-weekday {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  padding: 4px 0;
}
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  transition: background 0.1s;
}
.cal-day.empty { cursor: default; }
.cal-day.disabled { color: var(--line); cursor: not-allowed; }
.cal-day:not(.disabled):not(.empty):hover { background: var(--sky-soft); }
.cal-day.today { font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--line); }
.cal-day.selected-dep,
.cal-day.selected-ret {
  background: var(--sky);
  color: #fff;
  font-weight: 700;
}
.cal-day.in-range {
  background: var(--sky-soft);
  border-radius: 0;
  color: var(--sky-deep);
}
.cal-day.selected-dep { border-radius: 8px 0 0 8px; }
.cal-day.selected-ret { border-radius: 0 8px 8px 0; }
.cal-day.selected-dep.single-day,
.cal-day.selected-ret.single-day { border-radius: 8px; }

.cal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  gap: 12px;
}
.cal-hint { font-size: 12.5px; color: var(--ink-soft); }
.cal-done {
  background: var(--sky);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 8px;
  transition: background 0.12s;
  flex-shrink: 0;
}
.cal-footer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.cal-reset {
  background: transparent;
  color: var(--muted, #8A8678);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.cal-reset:hover { background: var(--line-soft); color: var(--ink); }
/* En-tête mobile : masqué sur desktop, affiché en plein écran sur mobile */
.cal-mobile-header { display: none; }
@media (max-width: 720px) {
  .cal-mobile-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    flex-shrink: 0;
  }
  .cal-close {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--line-soft);
    color: var(--ink);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; cursor: pointer; border: none;
  }
  .cal-close svg { width: 18px; height: 18px; }
  .cal-mobile-titles { display: flex; flex-direction: column; gap: 2px; }
  .cal-mobile-title { font-size: 15px; font-weight: 700; color: var(--ink); }
  .cal-mobile-hint { font-size: 11px; color: var(--muted, #8A8678); }
}
.cal-done:hover { background: var(--sky-deep); }

/* Mobile : un seul mois, popup pleine largeur */
@media (max-width: 720px) {
  .cal-popup {
    position: fixed;
    inset: 0 !important;
    top: 0 !important; bottom: 0 !important; left: 0 !important; right: 0 !important;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    border-radius: 0;
    border: none;
    padding: 0;
    overflow: hidden;
  }
  .cal-popup.open {
    display: flex;
    flex-direction: column;
    animation: calSlideUp 0.24s ease-out;
  }
  @keyframes calSlideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
  .cal-header { padding: 14px 16px 0; margin: 0; flex-shrink: 0; }
  .cal-grids {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    flex-direction: column;
    gap: 24px;
    -webkit-overflow-scrolling: touch;
  }
  .cal-grid { width: 100%; }
  .cal-month-label-1 { display: none; }
  .cal-months-labels { justify-content: center; }
  .cal-footer {
    padding: 14px 16px;
    margin: 0;
    flex-shrink: 0;
    background: var(--paper);
  }
}

/* Bouton swap (échange origine/destination) */
.sb-swap {
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}
.sb-swap button {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: all 0.15s;
}
.sb-swap button:hover {
  background: var(--sky-soft);
  color: var(--sky-deep);
}
.sb-swap svg { width: 16px; height: 16px; }

/* Bouton "Rechercher" */
.sb-go {
  background: var(--sky);
  color: #fff;
  padding: 0 22px;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s;
}
.sb-go:hover { background: var(--sky-deep); }
.sb-go:active { transform: scale(0.98); }
.sb-go svg { width: 16px; height: 16px; }

/* ════════════════════════════════════════════════════════════════
   AUTOCOMPLETE — Suggestions de villes/aéroports
   ════════════════════════════════════════════════════════════════ */
.ac-list {
  position: absolute;
  top: 100%;
  left: -1px;
  right: -1px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  margin-top: 6px;
  max-height: 320px;
  overflow-y: auto;
  z-index: 200;
  display: none;
}
.ac-list.open { display: block; }
.ac-item {
  padding: 11px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.1s;
  border-bottom: 1px solid var(--line-soft);
}
.ac-item:last-child { border-bottom: 0; }
.ac-item:hover, .ac-item.focused {
  background: var(--sky-soft);
}
.ac-flag {
  font-size: 20px;
  line-height: 1;
}
.ac-info { flex: 1; min-width: 0; }
.ac-city {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ac-airport {
  font-size: 12px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ac-code {
  background: var(--bg);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
}

/* ════════════════════════════════════════════════════════════════
   POPUP PASSAGERS
   ════════════════════════════════════════════════════════════════ */
.pax-popup {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  margin-top: 6px;
  padding: 16px;
  min-width: 280px;
  display: none;
  z-index: 200;
}
.pax-popup.open { display: block; }

/* Verrouiller le scroll de la page quand la popup est ouverte (desktop + mobile) */
body.pax-open {
  overflow: hidden;
  /* Compensation de la barre de scroll pour éviter le "jump" */
  padding-right: var(--scrollbar-width, 0);
}
/* Sur desktop, on affiche aussi un overlay léger derrière pour renforcer le focus */
@media (min-width: 721px) {
  body.pax-open::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(12, 31, 61, 0.10);
    z-index: 199;
    pointer-events: none;
  }
}

/* Sur mobile : la popup devient un "bottom sheet" en plein écran */
@media (max-width: 720px) {
  /* Overlay sombre full-screen (séparé de la popup pour bon contraste) */
  body.pax-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(12, 31, 61, 0.45);
    z-index: 199;
    pointer-events: none;
  }
  .pax-popup {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: 0;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    min-width: 0;
    padding: 22px 20px calc(24px + env(safe-area-inset-bottom));
    box-shadow: 0 -10px 40px -10px rgba(0,0,0,0.3);
    max-height: 85vh;
    overflow-y: auto;
    border: 0;
    background: #ffffff;
    z-index: 200;
  }
  /* Petit indicateur "drag handle" en haut */
  .pax-popup::before {
    content: '';
    display: block;
    width: 44px;
    height: 5px;
    background: #D1D5DB;
    border-radius: 3px;
    margin: -4px auto 18px;
  }
  /* Espace + lisibilité sur mobile */
  .pax-row { padding: 14px 0; }
  .pax-label { font-size: 15px; font-weight: 500; }
  .pax-label .pax-sub { font-size: 12px; margin-top: 2px; }
  .pax-btn { width: 34px; height: 34px; font-size: 18px; }
  .pax-count { font-size: 16px; min-width: 20px; }
  .pax-cabin { margin-top: 16px; padding-top: 18px; }
  .pax-cabin-btn { padding: 12px 10px; font-size: 13px; }
  .pax-done { padding: 14px; font-size: 15px; margin-top: 16px; }
}
.pax-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}
.pax-row:last-of-type { border-bottom: 0; }
.pax-label { font-size: 14px; }
.pax-label .pax-sub { font-size: 11px; color: var(--muted); display: block; }
.pax-counter {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pax-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.15s;
}
.pax-btn:hover { background: var(--sky-soft); color: var(--sky-deep); }
.pax-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.pax-count {
  min-width: 16px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

.pax-cabin {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.pax-cabin-label {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.pax-cabin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.pax-cabin-btn {
  padding: 8px 10px;
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
}
.pax-cabin-btn.on {
  background: var(--sky);
  color: #fff;
  border-color: var(--sky-deep);
  font-weight: 600;
}

.pax-done {
  width: 100%;
  margin-top: 12px;
  background: var(--ink);
  color: #fff;
  padding: 10px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 13px;
}

/* ════════════════════════════════════════════════════════════════
   MULTI-VILLES — Legs supplémentaires
   ════════════════════════════════════════════════════════════════ */
.sb-multi-list {
  display: none;
  flex-direction: column;
  gap: 8px;
}
.sb-fields.multi-villes { display: none; }
.searchbar.mode-multi .sb-multi-list { display: flex; }
.searchbar.mode-multi .sb-fields { display: none; }

/* Bandeau passagers commun en multi-villes */
.sb-multi-pax {
  background: var(--paper);
  border-radius: var(--r);
  margin-bottom: 8px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.searchbar.mode-multi #sbMultiPax {
  display: block !important;
}

.sb-leg {
  display: grid;
  grid-template-columns: 1.2fr auto 1.2fr 1fr auto;
  gap: 1px;
  background: var(--line-soft);
  border-radius: var(--r);
}
/* Arrondi des coins sans overflow:hidden (sinon coupe l'autocomplete des étapes) */
.sb-leg > *:first-child { border-top-left-radius: var(--r); border-bottom-left-radius: var(--r); }
.sb-leg > *:last-child  { border-top-right-radius: var(--r); border-bottom-right-radius: var(--r); }
.sb-leg-delete {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: var(--paper);
  color: var(--muted);
  transition: color 0.15s;
}
.sb-leg-delete:hover { color: var(--red); }
.sb-leg-delete svg { width: 16px; height: 16px; }

.sb-multi-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}
.sb-multi-actions .sb-go {
  border-radius: var(--r-sm);
  padding: 10px 22px;
  min-height: 42px;
}
.sb-add-leg {
  font-size: 13px;
  color: var(--sky-deep);
  font-weight: 500;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.sb-add-leg:hover { color: var(--sky-deep); }
.sb-add-leg:disabled { opacity: 0.4; cursor: not-allowed; }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — Barre de recherche
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 880px) {
  /* Tous les modes passent en colonne sur mobile */
  .sb-fields,
  .sb-fields.aller-retour,
  .sb-fields.aller-simple,
  .sb-fields.multi-villes {
    grid-template-columns: 1fr !important;
    gap: 1px;
  }
  .sb-swap {
    padding: 4px;
    justify-content: center;
  }
  .sb-swap button { transform: rotate(90deg); }
  .sb-go {
    padding: 14px;
    justify-content: center;
    border-radius: 0;
  }
  .sb-leg {
    grid-template-columns: 1fr !important;
  }
  .sb-leg-delete {
    padding: 12px;
    justify-content: center;
  }
  /* La popup passagers ouverte n'occupe pas le champ */
  .sb-field {
    padding: 12px 16px;
  }
  .sb-field input,
  .sb-field .sb-display {
    font-size: 15px;
  }
}

/* Bouton "Comparer" dans la carte de vol */
/* Cœur "Sauvegarder" — en haut à droite de la carte */
.fc-alert-bell {
  position: absolute;
  top: 10px;
  right: 46px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--muted);
  background: transparent;
  transition: color 0.15s, background 0.15s, transform 0.15s;
  z-index: 3;
  cursor: pointer;
  border: 0;
}
.fc-alert-bell svg { width: 18px; height: 18px; fill: none; }
.fc-alert-bell:hover {
  color: var(--sky-deep);
  background: var(--sky-soft);
  transform: scale(1.08);
}

.fc-fav-heart {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--muted);
  background: transparent;
  transition: color 0.15s, background 0.15s, transform 0.15s;
  z-index: 3;
}
.fc-fav-heart svg { width: 18px; height: 18px; fill: none; transition: fill 0.15s; }
.fc-fav-heart:hover {
  color: var(--sun);
  background: var(--sun-soft, #FBF6E5);
  transform: scale(1.08);
}
.fc-fav-heart.on {
  color: var(--sun);
}
.fc-fav-heart.on svg { fill: var(--sun); }
.fc-fav-heart.on:hover { background: var(--sun-soft, #FBF6E5); }

.fc-compare-btn {
  margin-left: auto;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--sky-deep);
  background: var(--sky-soft);
  border-radius: 999px;
  transition: all 0.15s;
}
.fc-compare-btn:hover { background: var(--sky); color: #fff; }
.fc-compare-btn.on {
  background: var(--sky);
  color: #fff;
}
.flight-card.compared {
  border-color: var(--sky-deep);
  background: linear-gradient(0deg, var(--sky-soft) 0%, var(--paper) 50%);
}

/* ════════════════════════════════════════════════════════════════
   SECTION "MES FAVORIS"
   ════════════════════════════════════════════════════════════════ */
.favorites-section {
  background: var(--sun-soft, #FBF6E5);
  border: 1px solid #F0DFB0;
  border-radius: var(--r-lg);
  padding: 18px 20px;
  margin-bottom: 22px;
}
.favorites-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.favorites-head h3 {
  font-family: var(--disp);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
}
.fav-count-badge {
  font-size: 11px;
  font-weight: 700;
  color: #B8791A;
  background: #F6E4BC;
  border-radius: 999px;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  margin-left: 8px;
}
.fav-clear {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 8px;
  transition: background 0.12s, color 0.12s;
}
.fav-clear:hover { background: rgba(0,0,0,0.05); color: var(--ink); }
.favorites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.fav-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fav-card-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: background 0.12s, color 0.12s;
}
.fav-card-remove:hover { background: #FBEAEA; color: #D9534F; }
.fav-card-remove svg { width: 13px; height: 13px; }
.fav-card-airline {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
}
.fav-card-airline img { width: 18px; height: 18px; border-radius: 4px; object-fit: contain; }
.fav-card-route {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--disp);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.fav-card-route .fav-arrow { color: var(--sun); }
.fav-card-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--ink-soft);
  flex-wrap: wrap;
}
.fav-card-meta .fav-dot { color: var(--line); }
.fav-card-rt {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--sky-deep);
  background: var(--sky-soft);
  padding: 1px 7px;
  border-radius: 999px;
}
.fav-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.fav-card-price {
  font-family: var(--disp);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.fav-card-book {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--sky);
  padding: 6px 12px;
  border-radius: 7px;
  transition: background 0.12s;
}
.fav-card-book:hover { background: var(--sky-deep); }
@media (max-width: 600px) {
  .favorites-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════
   BARRE FLOTTANTE "COMPARER (n)"
   ════════════════════════════════════════════════════════════════ */
/* ════════════════════════════════════════════════════════════════
   BOUTON RETOUR EN HAUT
   ════════════════════════════════════════════════════════════════ */
.to-top {
  position: fixed;
  right: 16px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper, #FDFCF9);
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(12,31,61,.14);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s, bottom .3s ease;
  z-index: 240;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--sky-soft); color: var(--sky-deep); border-color: var(--sky); }
.to-top svg { width: 20px; height: 20px; }
/* Remonte au-dessus de la barre de comparaison quand elle est ouverte */
.to-top.lifted { bottom: 96px; }
@media (max-width: 700px) {
  .to-top.lifted { bottom: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  .to-top { transition: opacity .2s ease, visibility .2s; }
}

.compare-bar {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(120px);
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  box-shadow: 0 12px 40px -8px rgba(0,0,0,0.35);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 720px;
  width: calc(100% - 32px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 250;
  pointer-events: none;
}
.compare-bar.open {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.compare-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}
.compare-bar-flights { flex: 1; min-width: 0; }
.compare-bar-title {
  font-family: var(--disp);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.compare-bar-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.compare-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.1);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
}
.compare-chip button {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.compare-chip button:hover { background: rgba(255,255,255,0.35); }
.compare-chip-empty {
  background: transparent;
  border: 1px dashed rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.5);
  font-style: italic;
}
.compare-bar-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.compare-clear {
  padding: 8px 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  border-radius: var(--r-sm);
  transition: all 0.15s;
}
.compare-clear:hover { color: #fff; background: rgba(255,255,255,0.1); }
.compare-go {
  padding: 10px 18px;
  background: var(--sky);
  color: #fff;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s;
}
.compare-go:hover { background: var(--sky-deep); }
.compare-go:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: var(--muted);
}

/* ════════════════════════════════════════════════════════════════
   MODALE COMPARAISON
   ════════════════════════════════════════════════════════════════ */
.compare-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
}
.compare-modal.open { display: block; }
.cmp-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 31, 61, 0.7);
}
.cmp-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--paper);
  border-radius: var(--r-lg);
  width: calc(100% - 40px);
  max-width: 1000px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5);
  overflow: hidden;
}
.cmp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.cmp-header h2 {
  font-family: var(--disp);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}
.cmp-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: background 0.15s;
}
.cmp-close:hover { background: var(--bg); }
.cmp-close svg { width: 18px; height: 18px; }

.cmp-grid {
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  overflow-y: auto;
  flex: 1;
}
.cmp-col {
  background: var(--paper);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.cmp-col.best {
  background: linear-gradient(180deg, #F0F9F2 0%, var(--paper) 100%);
}
.cmp-col-header {
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 4px;
}
.cmp-airline-logo {
  width: 56px; height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border: 1px solid var(--line);
  margin: 0 auto 6px;
  position: relative;
  overflow: hidden;
}
.cmp-airline-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}
.cmp-airline-code-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background: var(--sky-soft);
  color: var(--sky-deep);
  font-weight: 700;
  font-size: 14px;
}
.cmp-airline-name {
  font-family: var(--disp);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.cmp-badges {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.cmp-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.cmp-badge-price { background: #FFF4D6; color: #8B5E00; }
.cmp-badge-fast { background: #E0F2FE; color: #0A5C8E; }
.cmp-badge-green { background: #D8F4E5; color: #1A6839; }

.cmp-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
}
.cmp-row:last-of-type { border-bottom: 0; }
.cmp-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.cmp-value {
  color: var(--ink);
  font-weight: 500;
}
.cmp-value.highlight {
  color: var(--green);
  font-weight: 700;
}
.cmp-value small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}
.cmp-row-price { padding-top: 14px; }
.cmp-serenity { display: inline-flex; align-items: center; gap: 6px; justify-content: flex-end; }
.cmp-ser-planes { display: inline-flex; gap: 1px; }
.cmp-ser-planes .ser-plane { width: 14px; height: 14px; }
.cmp-ser-score { font-weight: 700; font-size: 14px; }
.cmp-price {
  font-family: var(--disp);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.cmp-price.highlight {
  color: var(--green);
}
.cmp-book {
  background: var(--sky);
  color: #fff;
  padding: 12px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 13px;
  margin-top: 10px;
  transition: background 0.15s;
}
.cmp-book:hover { background: var(--sky-deep); }

/* ═══ Tableau de comparaison en grille alignée par rangées (option B) ═══ */
.cmp-table {
  overflow-y: auto;
  flex: 1;
  --cmp-label-w: 96px;
}
.cmp-band {
  display: grid;
  grid-template-columns: var(--cmp-label-w) repeat(var(--cmp-cols, 2), 1fr);
  border-bottom: 1px solid var(--line-soft);
}
.cmp-band:last-child { border-bottom: 0; }
.cmp-band-label {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--bg);
  border-right: 1px solid var(--line-soft);
}
.cmp-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 3px;
  padding: 12px 14px;
  background: var(--paper);
  border-right: 1px solid var(--line-soft);
  font-size: 13px;
  min-width: 0;
}
.cmp-cell:last-child { border-right: 0; }
.cmp-cell.best { background: #F0F9F2; }
.cmp-band-head .cmp-cell {
  align-items: center;
  text-align: center;
  padding: 16px 12px;
}
.cmp-empty { color: var(--muted); }
.cmp-band-price .cmp-cell { padding-top: 14px; padding-bottom: 14px; }
.cmp-band-actions .cmp-cell { padding: 12px; }
.cmp-band-actions .cmp-book { margin-top: 0; width: 100%; cursor: pointer; border: 0; }
.cmp-table .cmp-value small { color: var(--muted); font-size: 11px; font-weight: 400; }
.cmp-table .cmp-value.highlight { color: var(--green); font-weight: 700; }
.cmp-table .cmp-serenity { display: inline-flex; align-items: center; gap: 6px; }
.cmp-table .cmp-price { font-family: var(--disp); font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.cmp-table .cmp-price.highlight { color: var(--green); }

/* Responsive modale comparaison */
@media (max-width: 720px) {
  .cmp-content {
    width: 100%;
    height: 100%;
    max-height: 100%;
    top: 0;
    left: 0;
    transform: none;
    border-radius: 0;
  }
  /* Sur mobile : tableau côte-à-côte avec scroll horizontal */
  .cmp-grid {
    grid-template-columns: repeat(var(--cmp-cols, 3), minmax(220px, 1fr)) !important;
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  /* Nouvelle structure en bandes : scroll horizontal, largeur mini par colonne */
  .cmp-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    --cmp-label-w: 80px;
  }
  .cmp-band {
    grid-template-columns: var(--cmp-label-w) repeat(var(--cmp-cols, 2), minmax(150px, 1fr));
    min-width: max-content;
  }
  .cmp-band-label {
    position: sticky;
    left: 0;
    z-index: 2;
  }
  .cmp-col {
    padding: 14px 12px;
    font-size: 13px;
    min-width: 220px;
  }
  .cmp-col-header {
    padding-bottom: 10px;
    margin-bottom: 2px;
  }
  .cmp-airline-logo {
    width: 38px; height: 38px;
    font-size: 12px;
  }
  .cmp-airline-name {
    font-size: 13px;
  }
  .cmp-badge {
    font-size: 9px;
    padding: 2px 7px;
  }
  .cmp-price {
    font-size: 22px;
  }
  /* Hint scroll horizontal */
  .cmp-content::after {
    content: '← ' attr(data-scroll-hint) ' →';
    position: absolute;
    bottom: 8px;
    left: 0; right: 0;
    text-align: center;
    font-size: 11px;
    color: var(--muted);
    pointer-events: none;
    opacity: 0.7;
  }

  .compare-bar {
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 12px 14px;
  }
  .compare-bar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .compare-bar-actions {
    justify-content: space-between;
  }
  .compare-go {
    flex: 1;
  }
}

/* Cache le bouton compare sur mobile dans la meta row (move into actions) */
@media (max-width: 720px) {
  .fc-compare-btn {
    margin-left: 0;
    align-self: flex-start;
  }
}

/* ════════════════════════════════════════════════════════════════
   DESTINATION INSIGHTS — Ce qu'on vous dit en plus
   ════════════════════════════════════════════════════════════════ */
.dest-insights {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.dest-insights-header {
  text-align: center;
  margin-bottom: 32px;
}
.dest-insights-header h2 {
  font-family: var(--disp);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.dest-insights-header h2 small {
  font-size: 0.7em;
  color: var(--ink-soft);
  font-weight: 500;
  display: inline;
}
.dest-insights-header p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.insight-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  display: flex;
  gap: 16px;
  transition: all 0.15s;
}
.insight-card:hover {
  border-color: var(--sky-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.insight-icon {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
}
.insight-content {
  flex: 1;
  min-width: 0;
}
.insight-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 6px;
}
.insight-value {
  font-family: var(--disp);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 4px;
}
.insight-meta {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-left: 8px;
}
.insight-note {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.insight-source {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  color: var(--sky-deep);
  text-decoration: underline;
}
.insight-source:hover { color: var(--sky-deep); }

/* Niveau de sécurité - codes couleurs */
.safety-safe { color: var(--green); }
.safety-vigilance { color: var(--sun); }
.safety-strong { color: #D8851F; }
.safety-avoid { color: var(--red); }

/* ════════════════════════════════════════════════════════════════
   LE SAVIEZ-VOUS ?
   ════════════════════════════════════════════════════════════════ */
.did-you-know {
  margin-top: 48px;
  padding: 32px;
  background: linear-gradient(135deg, var(--sky-soft) 0%, var(--bg-warm) 100%);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
}
.dyk-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.dyk-emoji {
  font-size: 32px;
  line-height: 1;
}
.dyk-header h2 {
  font-family: var(--disp);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.dyk-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.dyk-fact {
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--r);
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.dyk-fact-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}
.dyk-fact-content {
  flex: 1;
  min-width: 0;
}
.dyk-fact-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}
.dyk-fact-text {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 720px) {
  .insights-grid {
    grid-template-columns: 1fr;
  }
  .dyk-facts {
    grid-template-columns: 1fr;
  }
  .did-you-know {
    padding: 22px 18px;
    margin-top: 32px;
  }
  .insight-card {
    padding: 16px;
  }
  .insight-icon {
    font-size: 26px;
  }
  .insight-value {
    font-size: 18px;
  }
}

/* ════════════════════════════════════════════════════════════════
   BANDEAU INSIGHTS COMPACT — Sécurité + Météo + Le saviez-vous
   ════════════════════════════════════════════════════════════════ */
.insights-banner {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.ib-header {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.ib-summary {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  min-width: 0;
}
.ib-summary-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
}
.ib-summary-icon {
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}
.ib-summary-value {
  font-weight: 600;
}
.ib-summary-value.safety-safe { color: var(--green); }
.ib-summary-value.safety-vigilance { color: #B58200; }
.ib-summary-value.safety-strong { color: #B85C00; }
.ib-summary-value.safety-avoid { color: #B0150F; }
.ib-summary-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.ib-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background 0.15s;
  flex-shrink: 0;
}
.ib-toggle:hover { background: var(--line-soft); }
.ib-toggle svg {
  width: 12px; height: 12px;
  transition: transform 0.2s;
}
.ib-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.ib-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.2s ease;
  border-top: 0 solid var(--line);
}
.ib-body.open {
  max-height: 800px;
  padding: 18px;
  border-top: 1px solid var(--line);
}
.ib-body-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.ib-detail-card {
  background: var(--bg);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ib-detail-icon {
  font-size: 18px;
  line-height: 1;
  margin-bottom: 4px;
}
.ib-detail-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ib-detail-value {
  font-family: var(--disp);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}
.ib-detail-note {
  font-size: 11px;
  color: var(--ink-soft);
  line-height: 1.4;
  margin-top: 2px;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}
.ib-detail-source {
  font-size: 10px;
  color: var(--sky-deep);
  text-decoration: underline;
  margin-top: 4px;
}

.ib-detail-card.safety-safe { border-left: 3px solid var(--green); }
.ib-detail-card.safety-vigilance { border-left: 3px solid #E89C2A; }
.ib-detail-card.safety-strong { border-left: 3px solid #D26500; }
.ib-detail-card.safety-avoid { border-left: 3px solid #B0150F; }

@media (max-width: 720px) {
  .ib-header { padding: 12px 14px; }
  .ib-summary { gap: 10px 12px; font-size: 12px; }
  .ib-summary-item { font-size: 12px; }
  .ib-toggle { padding: 4px 10px; font-size: 11px; }
  .ib-body.open { padding: 14px; }
  /* Adapter les cartes pour éviter les débordements de texte long
     comme "Roupie seychelloise", "Colón costaricien"... */
  .ib-detail-card { padding: 12px 10px; min-width: 0; }
  .ib-detail-value { font-size: 13px; }
  .ib-detail-note { font-size: 10.5px; }
  /* En colonne unique, les cartes dépassent 800px : on relève le plafond
     pour que la dernière (devise locale) ne soit plus tronquée. */
  .ib-body.open { max-height: 3000px; }
}

/* Anciennes sections gardées en stand-by pour le Livrable C (pages destinations) */
.dest-insights, .did-you-know { display: none !important; }

/* ════════════════════════════════════════════════════════════════
   DESTINATION INSIGHTS — "Ce qu'on vous dit en plus" (ARCHIVÉ — utilisé en Livrable C)
   ════════════════════════════════════════════════════════════════ */
.dest-insights {
  margin-top: 50px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.dest-insights-header {
  text-align: center;
  margin-bottom: 28px;
}
.dest-insights-header h2 {
  font-family: var(--disp);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.dest-insights-header h2 small {
  display: block;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0;
  margin-top: 4px;
}
.dest-insights-header p {
  font-size: 14px;
  color: var(--muted);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 720px) {
  .insights-grid { grid-template-columns: repeat(4, 1fr); }
}
.insight-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.15s;
}
.insight-card:hover {
  border-color: var(--sky-deep);
  box-shadow: var(--shadow);
}
.insight-icon {
  font-size: 28px;
  line-height: 1;
}
.insight-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.insight-value {
  font-family: var(--disp);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.insight-meta {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-top: 2px;
}
.insight-note {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.4;
  margin-top: 4px;
}
.insight-source {
  font-size: 11px;
  color: var(--sky-deep);
  text-decoration: underline;
  margin-top: auto;
  padding-top: 6px;
}
.insight-source:hover { color: var(--sky-deep); }

/* Badges niveau de sécurité */
.insight-card.safety-safe .insight-value { color: var(--green); }
.insight-card.safety-vigilance .insight-value { color: #B58200; }
.insight-card.safety-strong .insight-value { color: #B85C00; }
.insight-card.safety-avoid .insight-value { color: #B0150F; }

.insight-card.safety-safe { border-left: 4px solid var(--green); }
.insight-card.safety-vigilance { border-left: 4px solid #E89C2A; }
.insight-card.safety-strong { border-left: 4px solid #D26500; }
.insight-card.safety-avoid { border-left: 4px solid #B0150F; }

/* ════════════════════════════════════════════════════════════════
   LE SAVIEZ-VOUS ?
   ════════════════════════════════════════════════════════════════ */
.did-you-know {
  margin-top: 36px;
  padding: 28px 24px;
  background: linear-gradient(135deg, var(--sky-soft) 0%, #FBF6E5 100%);
  border-radius: var(--r-lg);
}
.dyk-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.dyk-emoji {
  font-size: 24px;
}
.dyk-header h2 {
  font-family: var(--disp);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.dyk-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.dyk-fact {
  background: var(--paper);
  border-radius: var(--r);
  padding: 14px 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.dyk-fact-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}
.dyk-fact-content { min-width: 0; }
.dyk-fact-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.dyk-fact-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.dyk-fact-note {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 2px;
}

/* ════════════════════════════════════════════════════════════════
   CALENDRIER DES PRIX 7 JOURS — Original EasyPeasy
   ════════════════════════════════════════════════════════════════ */
.price-calendar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.pc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.pc-header h3 {
  font-family: var(--disp);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.pc-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background 0.15s;
}
.pc-toggle:hover { background: var(--line-soft); }
.pc-toggle svg {
  width: 12px; height: 12px;
  transition: transform 0.2s;
}
.pc-toggle[aria-expanded="false"] svg {
  transform: rotate(-90deg);
}
.pc-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: max-height 0.3s ease, opacity 0.2s;
  overflow: hidden;
  max-height: 600px;
}
.pc-body.collapsed {
  max-height: 0;
  opacity: 0;
}

/* Les 7 jours côte à côte */
.pc-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
@media (max-width: 720px) {
  .pc-days {
    overflow-x: auto;
    grid-template-columns: repeat(7, minmax(70px, 1fr));
    -webkit-overflow-scrolling: touch;
  }
}

.pc-day {
  background: var(--bg);
  border: 2px solid transparent;
  border-radius: var(--r-sm);
  padding: 10px 6px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.pc-day:hover:not(.pc-day-active):not(.pc-day-empty) {
  background: var(--paper);
  border-color: var(--line);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.pc-day-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  cursor: default;
}
.pc-day-active .pc-day-week,
.pc-day-active .pc-day-num,
.pc-day-active .pc-day-price,
.pc-day-active .pc-day-mark {
  color: #fff;
}

.pc-day-week {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.pc-day-num {
  font-family: var(--disp);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.pc-day-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2px;
}
.pc-day-mark {
  font-size: 11px;
  margin-top: 2px;
  letter-spacing: -0.5px;
}

/* 3 niveaux de prix */
.pc-day-best .pc-day-price { color: var(--green); }
.pc-day-best .pc-day-mark  { color: var(--green); }
.pc-day-mid .pc-day-price  { color: #B58200; }
.pc-day-mid .pc-day-mark   { color: #B58200; }
.pc-day-bad .pc-day-price  { color: #C04040; }
.pc-day-bad .pc-day-mark   { color: #C04040; }

/* Petite indication "votre choix" */
.pc-day-active::before {
  content: '★';
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 10px;
  color: var(--sun);
}
.pc-day-active .pc-day-price {
  font-size: 10px;
  font-style: italic;
  font-weight: 500;
  opacity: 0.8;
}
.pc-day-empty {
  opacity: 0.4;
  cursor: not-allowed;
}
.pc-day-empty .pc-day-price { color: var(--muted); }

/* État chargement */
.pc-day-loading .pc-day-price {
  color: var(--muted);
}
.pc-day-loading {
  animation: pc-pulse 1.3s infinite;
}
@keyframes pc-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Insights intelligents en dessous */
.pc-insights {
  background: linear-gradient(135deg, var(--sky-soft) 0%, #FBF6E5 100%);
  border-radius: var(--r);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pc-insights-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.pc-insight-item {
  display: block;
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.5;
}
.pc-insight-item::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--sky-deep);
  font-weight: 700;
}
.pc-insight-item strong { white-space: nowrap; }
.pc-insight-item strong {
  color: var(--sky-deep);
  font-weight: 700;
}
.pc-insight-item.savings strong {
  color: var(--green);
}

@media (max-width: 720px) {
  .price-calendar { padding: 14px; margin-bottom: 16px; }
  .pc-header h3 { font-size: 13px; }
  .pc-day { padding: 8px 4px 10px; min-width: 70px; }
  .pc-day-num { font-size: 16px; }
  .pc-day-price { font-size: 12px; }
  .pc-insight-item { font-size: 12px; }
}

/* ════════════════════════════════════════════════════════════════
   DISCLAIMER PRIX + CARTE "PAS LE BON VOL ?"
   ════════════════════════════════════════════════════════════════ */
.price-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg);
  border-radius: var(--r-sm);
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.price-disclaimer svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--muted);
  margin-top: 1px;
}

.cta-card-extra {
  background: linear-gradient(135deg, var(--sky-soft) 0%, #FBF6E5 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  margin-top: 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}
.cta-card-icon {
  font-size: 32px;
  line-height: 1;
}
.cta-card-body {
  min-width: 0;
}
.cta-card-title {
  font-family: var(--disp);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.cta-card-lead {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.cta-card-btn {
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: background 0.15s;
}
.cta-card-btn:hover { background: #051127; }
.cta-card-btn svg {
  width: 12px;
  height: 12px;
}

@media (max-width: 720px) {
  .cta-card-extra {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 20px 16px;
    gap: 12px;
  }
  .cta-card-icon {
    margin: 0 auto;
  }
  .cta-card-btn {
    justify-content: center;
  }
}

/* ════════════════════════════════════════════════════════════════
   PANNEAU DÉTAILS (sur clic "Détails")
   ════════════════════════════════════════════════════════════════ */
.fc-expand-btn {
  margin-left: auto;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--bg);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s;
}
.fc-expand-btn:hover {
  background: var(--line-soft);
  color: var(--ink);
}
.fc-expand-btn .fc-expand-chev {
  width: 11px;
  height: 11px;
  transition: transform 0.2s;
}
.fc-expand-btn[aria-expanded="true"] {
  background: var(--ink);
  color: #fff;
}
.fc-expand-btn[aria-expanded="true"] .fc-expand-chev {
  transform: rotate(180deg);
}

/* Quand la carte est "expanded", on retire margin-left auto du compare-btn pour que les deux boutons soient regroupés */
.flight-card.expanded {
  border-color: var(--ink);
  box-shadow: var(--shadow);
}

.fc-extra {
  grid-column: 1 / -1;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  animation: extraIn 0.25s ease;
}
@keyframes extraIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fc-extra-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
}
@media (max-width: 720px) {
  .fc-extra-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.extra-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.extra-icon {
  font-size: 18px;
  line-height: 1.2;
  flex-shrink: 0;
}
.extra-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.extra-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.extra-note {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 2px;
  line-height: 1.4;
}
.extra-note em {
  font-style: italic;
  color: var(--muted);
}

.extra-direct .extra-value {
  color: var(--green);
}

/* Conseil EasyPeasy */
.extra-tip {
  grid-column: 1 / -1;
  background: linear-gradient(90deg, var(--sky-soft), var(--paper));
  border-left: 3px solid var(--sky);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.extra-tip-icon {
  font-size: 18px;
  flex-shrink: 0;
}
.extra-tip-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--sky-deep);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.extra-tip-text {
  font-size: 13px;
  color: var(--ink);
}

/* Section retour */
.extra-section {
  grid-column: 1 / -1;
  padding-top: 12px;
  border-top: 1px dashed var(--line-soft);
}
.extra-section-title {
  font-family: var(--disp);
  font-size: 13px;
  font-weight: 700;
  color: var(--sky-deep);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

/* Lien Kiwi en bas */
.extra-kiwi-link {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  margin-top: 4px;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 600;
  transition: background 0.15s;
}
.extra-kiwi-link:hover { background: #051127; color: #fff; }
.extra-kiwi-link svg {
  width: 12px;
  height: 12px;
}

/* ════════════════════════════════════════════════════════════════
   SKELETON DE CHARGEMENT
   ════════════════════════════════════════════════════════════════ */
.flight-card.skeleton {
  pointer-events: none;
}
.sk {
  background: linear-gradient(90deg, var(--bg) 0%, var(--line-soft) 50%, var(--bg) 100%);
  background-size: 200% 100%;
  border-radius: 8px;
  animation: sk-shimmer 1.4s infinite linear;
}
.sk-airline {
  width: 60px;
  height: 50px;
}
.sk-details {
  height: 60px;
  flex: 1;
}
.sk-price {
  width: 100px;
  height: 50px;
}
@keyframes sk-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ════════════════════════════════════════════════════════════════
   RÉSULTATS — Stage de recherche
   ════════════════════════════════════════════════════════════════ */
.results-stage {
  padding: 32px 0 60px;
}

/* ════════════════════════════════════════════════════════════════
   FILTRES "PUCES" — Rangée horizontale scrollable
   ════════════════════════════════════════════════════════════════ */
.filter-chips-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  position: sticky;
  top: 70px;
  background: var(--bg);
  padding: 10px 0;
  z-index: 30;
}
.filter-chips {
  flex: 1;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.filter-chips::-webkit-scrollbar { display: none; }
.filter-chip {
  flex-shrink: 0;
  padding: 8px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.filter-chip:hover {
  background: var(--sky-soft);
  border-color: var(--sky-deep);
  color: var(--sky-deep);
}
.filter-chip.active {
  background: var(--sky);
  border-color: var(--sky-deep);
  color: #fff;
  font-weight: 600;
}
.filter-chip-icon {
  font-size: 14px;
  line-height: 1;
}
.filter-chip-count {
  font-size: 11px;
  opacity: 0.7;
  margin-left: 2px;
}

/* Bouton "Modifier ma recherche" — ramène vers la barre de recherche */
.edit-search-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--paper);
  color: var(--sky-deep);
  border: 1px solid var(--sky);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.edit-search-btn:hover { background: var(--sky-soft); border-color: var(--sky-deep); }
.edit-search-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.edit-search-short { display: none; }

/* Bouton "Tous les filtres" */
.all-filters-btn {
  flex-shrink: 0;
  padding: 8px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s;
}
.all-filters-btn:hover { background: #051127; }
.all-filters-btn svg {
  width: 14px;
  height: 14px;
}
.filter-count-badge {
  background: var(--sun);
  color: var(--ink);
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  margin-left: 2px;
}

/* ════════════════════════════════════════════════════════════════
   RÉSUMÉ ET TRI
   ════════════════════════════════════════════════════════════════ */
.results-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}
.results-title {
  font-family: var(--disp);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.results-title #resultsCount {
  color: var(--sky-deep);
}
.results-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
}
.results-sort select {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}

/* ════════════════════════════════════════════════════════════════
   LISTE DES VOLS — Cartes épurées
   ════════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════
   BANDEAU TRAIN — Suggestion train pour trajets courts
   ═══════════════════════════════════════════════════════════════ */
.train-banner {
  background: linear-gradient(135deg, #E7F5EC 0%, #F0F9F3 100%);
  border: 1px solid #A8D8B9;
  border-left: 4px solid var(--green, #2D9B5F);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  animation: trainBannerIn 0.35s ease-out;
}
@keyframes trainBannerIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.tb-icon {
  font-size: 38px;
  flex-shrink: 0;
  line-height: 1;
}
.tb-body {
  flex: 1;
  min-width: 0;
}
.tb-title {
  font-family: var(--disp);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
  line-height: 1.3;
}
.tb-desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}
.tb-desc b {
  color: var(--ink);
  font-weight: 600;
}
.tb-actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.tb-cta {
  background: #fff;
  border: 1px solid #A8D8B9;
  color: #1B5E20;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.tb-cta:hover {
  background: #F0F9F3;
  border-color: var(--green, #2D9B5F);
  text-decoration: none;
}
.tb-hint {
  font-size: 11.5px;
  color: var(--muted);
  padding: 6px 4px;
  font-style: italic;
}
@media (max-width: 600px) {
  .train-banner {
    padding: 14px 16px;
    gap: 12px;
  }
  .tb-icon {
    font-size: 30px;
  }
  .tb-title {
    font-size: 14px;
  }
  .tb-desc {
    font-size: 12.5px;
  }
  .tb-hint {
    display: block;
    width: 100%;
    margin-top: 4px;
  }
}

.flights-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Reco EPF — carte du vol recommandé (meilleur rapport qualité-prix) */
.flight-card.epf-recommended {
  border: 2px solid var(--green);
  box-shadow: 0 6px 22px rgba(45, 155, 95, 0.14);
}
.flight-card.epf-recommended .fc-alert-bell,
.flight-card.epf-recommended .fc-fav-heart {
  top: 50px;
}
.fc-reco-header {
  grid-column: 1 / -1;
  margin: -18px -22px 0;
}
.fc-reco-ribbon {
  padding: 9px 16px;
  background: linear-gradient(90deg, #2D9B5F, #37B36C);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fc-reco-ribbon svg { width: 16px; height: 16px; flex-shrink: 0; }
.fc-reco-reasons {
  padding: 10px 16px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  color: #256B47;
}
.fc-reco-reasons span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }

.flight-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 80px 1fr 180px;
  gap: 20px;
  align-items: center;
  transition: all 0.15s;
  position: relative;
}
.flight-card:hover {
  border-color: var(--sky-deep);
  box-shadow: var(--shadow);
  transform: translateY(-1px);}

/* Colonne 1 : Compagnie aérienne */
.fc-airline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.fc-airline-logo {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.fc-airline-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}
.fc-airline-code-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background: var(--sky-soft);
  color: var(--sky-deep);
  font-weight: 700;
  font-size: 12px;
}
.fc-airline-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.2;
}

/* Colonne 2 : Détails du vol */
.fc-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

/* Étapes aller / retour (cartes aller-retour) */
.fc-leg {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
/* Surlignage : aller en bleu pâle, retour en sable doux */
.fc-leg-out,
.fc-leg-ret {
  border-radius: 10px;
  padding: 10px 12px;
  border-left: 3px solid transparent;
}
.fc-leg-out {
  background: #EFF6FF;
  border-left-color: var(--sky);
}
.fc-leg-ret {
  background: #FDF6EA;
  border-left-color: var(--sun);
}
.fc-leg-ret .fc-leg-label {
  color: #B8791A;
}
.fc-leg-label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--sky-deep);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.flight-card.has-return .fc-details {
  gap: 14px;
}
.flight-card.has-return .fc-leg + .fc-leg {
  padding-top: 10px;
  margin-top: 2px;
}
.flight-card.has-return .fc-leg-label {
  color: var(--ink-soft);
}
.flight-card.has-return .fc-leg-out .fc-leg-label {
  color: var(--sky-deep);
}
.flight-card.has-return .fc-leg-ret .fc-leg-label {
  color: #B8791A;
}

.fc-route {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fc-time {
  font-family: var(--disp);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.fc-airport {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.fc-duration {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 100px;
}
.fc-duration-time {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
}
.fc-duration-line {
  width: 100%;
  height: 1px;
  background: var(--line);
  position: relative;
}
.fc-duration-line::before, .fc-duration-line::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-soft);
  transform: translateY(-50%);
}
.fc-duration-line::before { left: 0; }
.fc-duration-line::after { right: 0; }
.fc-stops {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Métadonnées sous le vol */
.fc-meta {
  display: flex;
  gap: 14px;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}
.fc-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.fc-meta-item svg {
  width: 12px;
  height: 12px;
}
.fc-meta-item.eco { color: var(--green); }
.fc-meta-item.warn { color: var(--sun); }

/* Colonne 3 : Prix + CTA */
/* ════════════════════════════════════════════════════════════════
   SCORE SÉRÉNITÉ — badge + infobulle
   ════════════════════════════════════════════════════════════════ */
.ser-plane { width: 15px; height: 15px; flex-shrink: 0; }
.ser-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  cursor: default;
  position: relative;
}
.ser-badge:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
.ser-badge-label { font-weight: 700; white-space: nowrap; }
.ser-badge-score { font-weight: 700; white-space: nowrap; }
.ser-badge .ser-plane { width: 13px; height: 13px; }

/* Infobulle */
.ser-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  width: 260px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(12, 31, 61, 0.16);
  padding: 14px;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s, transform 0.16s;
  cursor: default;
  text-align: left;
}
.ser-badge:hover .ser-tooltip,
.ser-badge:focus .ser-tooltip,
.ser-badge:focus-within .ser-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.ser-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--paper);
}
.ser-tt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.ser-tt-planes { display: inline-flex; gap: 2px; }
.ser-tt-planes .ser-plane { width: 18px; height: 18px; }
.ser-tt-score { font-family: var(--disp); font-size: 22px; font-weight: 800; line-height: 1; }
.ser-tt-max { font-size: 13px; font-weight: 600; color: var(--muted); }
.ser-tt-crits { display: flex; flex-direction: column; gap: 9px; }
.ser-crit-top {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--ink-soft);
  margin-bottom: 3px;
}
.ser-crit-weight { color: var(--muted); font-weight: 600; }
.ser-crit-bar {
  height: 5px;
  background: var(--line-soft);
  border-radius: 999px;
  overflow: hidden;
}
.ser-crit-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  transition: width 0.3s;
}
.ser-tt-foot {
  display: block;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  font-size: 10.5px;
  color: var(--muted);
  font-style: italic;
}
@media (max-width: 600px) {
  .ser-badge-label { display: none; } /* mobile : on garde l'avion + le score chiffre */
  .ser-tooltip { width: 220px; }
}

.fc-price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  text-align: right;
  padding-top: 40px;
  align-self: start;
}
.fc-price-prefix {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.fc-price {
  font-family: var(--disp);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}
.fc-price-label {
  font-size: 11px;
  color: var(--muted);
}
.fc-cta {
  background: var(--sky);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.fc-cta:hover { background: var(--sky-deep); }

/* ════════════════════════════════════════════════════════════════
   ÉTAT VIDE
   ════════════════════════════════════════════════════════════════ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-soft);
}
.empty-state svg {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  color: var(--muted);
}
.empty-state h3 {
  font-family: var(--disp);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.empty-state p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}
.empty-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.empty-cta {
  padding: 10px 22px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.empty-cta-primary {
  background: var(--sky);
  color: #fff;
}
.empty-cta-primary:hover { background: var(--sky-deep); }
.empty-cta-secondary {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
}
.empty-cta-secondary:hover { background: var(--line-soft); }

/* ════════════════════════════════════════════════════════════════
   PANNEAU FILTRES — Slide-in droite (desktop) / Bottom-sheet (mobile)
   ════════════════════════════════════════════════════════════════ */
.filters-panel {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  pointer-events: none;
}
.filters-panel[aria-hidden="false"] {
  display: block;
  pointer-events: auto;
}
.filters-panel-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 31, 61, 0.5);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.filters-panel[aria-hidden="false"] .filters-panel-overlay {
  opacity: 1;
}
.filters-panel-content {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 420px;
  max-width: 100vw;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  overflow: hidden;
}
.filters-panel[aria-hidden="false"] .filters-panel-content {
  transform: translateX(0);
}

/* Zone scrollable du panneau (entre header et footer) */
.filters-panel-scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.filters-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.filters-panel-header h2 {
  font-family: var(--disp);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}
.filters-panel-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: background 0.15s;
}
.filters-panel-close:hover { background: var(--bg); }
.filters-panel-close svg { width: 18px; height: 18px; }

/* Smart cards grid */
.smart-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 20px 24px 8px;
}
.smart-card {
  background: var(--bg);
  border: 1px solid transparent;
  border-radius: var(--r);
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.15s;
  text-align: left;
}
.smart-card:hover {
  background: var(--sky-soft);
  border-color: var(--sky-deep);
}
.smart-card.active {
  background: var(--sky);
  color: #fff;
  border-color: var(--sky-deep);
}
.smart-card-emoji {
  font-size: 20px;
  margin-bottom: 6px;
  display: block;
}
.smart-card-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}
.smart-card-stats {
  font-size: 11px;
  opacity: 0.8;
}
.smart-card-stats strong {
  font-weight: 600;
}

/* Sections de filtres */
.filter-section {
  padding: 16px 24px;
  border-top: 1px solid var(--line-soft);
}
.filter-section:first-of-type {
  border-top: 0;
}
.filter-section h3 {
  font-family: var(--disp);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.filter-options {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.1s;
}
.filter-option:hover { background: var(--bg); }
.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--sky-deep);
  cursor: pointer;
}
.filter-option > span:nth-of-type(1) { flex: 1; }
.filter-count {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.filter-sub {
  font-size: 11px;
  color: var(--muted);
}
.filter-airline-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.filter-airline-code {
  background: var(--sky-soft);
  color: var(--sky-deep);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Slider de prix */
.price-slider-wrap {
  padding: 6px 6px 0;
}
.price-slider-wrap input[type="range"] {
  width: 100%;
  accent-color: var(--sky-deep);
  cursor: pointer;
}
.price-slider-value {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}
.price-slider-value strong {
  font-family: var(--disp);
  font-size: 18px;
  color: var(--ink);
  font-weight: 700;
}

/* Footer panneau filtres */
.filters-panel-footer {
  display: flex;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  margin-top: auto;
  background: var(--paper);
}
.filters-panel-reset {
  padding: 12px 18px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--bg);
  transition: background 0.15s;
}
.filters-panel-reset:hover { background: var(--line-soft); }
.filters-panel-apply {
  flex: 1;
  background: var(--sky);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 14px;
  transition: background 0.15s;
}
.filters-panel-apply:hover { background: var(--sky-deep); }

/* Responsive panneau filtres : bottom sheet sur mobile */
@media (max-width: 720px) {
  .filters-panel-content {
    width: 100%;
    top: auto;
    height: 90vh;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    transform: translateY(100%);
  }
  .filters-panel[aria-hidden="false"] .filters-panel-content {
    transform: translateY(0);
  }
  .smart-cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .filter-chips-row {
    top: 60px;
    padding: 10px 16px;
    margin: 0 -16px 16px;
  }
  .edit-search-full { display: none; }
  .edit-search-short { display: inline; }
  .edit-search-btn { padding: 8px 12px; font-size: 12px; gap: 5px; }

  /* Cartes de vol en mobile : pile verticale */
  .flight-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
    padding-right: 44px; /* place pour le cœur en haut à droite */
  }
  /* Reco EPF : languette pleine largeur (compense le padding mobile) */
  .fc-reco-header { margin: -16px -44px 0 -16px; }
  .fc-reco-reasons { padding-right: 44px; }
  .fc-fav-heart {
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
  }
  .fc-fav-heart svg { width: 20px; height: 20px; }
  .fc-airline {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
  }
  .fc-price-block {
    align-items: stretch;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    align-self: auto;
  }
  .fc-price-block .fc-cta {
    width: auto;
    flex-shrink: 0;
  }
  .fc-price { font-size: 23px; }
}

/* ════════════════════════════════════════════════════════════════
   DESTINATIONS POPULAIRES — État pré-recherche
   ════════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════
   TEASER MODE INSPIRATION
   ═══════════════════════════════════════════════════════════════ */
.insp-teaser { background: var(--bg); padding: 16px 0 8px; }
.insp-teaser-card {
  display: flex;
  align-items: center;
  gap: 28px;
  background: linear-gradient(135deg, #EAF3FF 0%, #F3F8FF 60%, #FBF6E5 100%);
  border: 1px solid #D3E6FB;
  border-radius: var(--r-lg);
  padding: 26px 32px;
  color: var(--ink);
  transition: transform 0.15s, box-shadow 0.15s;
}
.insp-teaser-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.insp-teaser-visual {
  flex-shrink: 0;
  width: 160px;
}
.insp-teaser-visual svg { width: 100%; height: auto; display: block; }
.insp-teaser-content { flex: 1; }
.insp-teaser-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky-deep);
  background: rgba(255,255,255,0.7);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.insp-teaser-card h2 {
  font-family: var(--disp);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 8px;
}
.insp-teaser-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-bottom: 14px;
  line-height: 1.55;
  max-width: 560px;
}
.insp-teaser-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sky);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s;
}
.insp-teaser-card:hover .insp-teaser-btn { background: var(--sky-deep); }
@media (max-width: 700px) {
  .insp-teaser-card { flex-direction: column; text-align: center; padding: 24px 22px; gap: 16px; }
  .insp-teaser-visual { width: 130px; }
  .insp-teaser-card p { margin-left: auto; margin-right: auto; }
}

/* ════════════════════════════════════════════════════════════════
   SECTION "ENVIE D'AILLEURS ?" — moods + coups de cœur
   ════════════════════════════════════════════════════════════════ */
.inspire-wrap {
  background: linear-gradient(180deg, var(--bg) 0%, #F0EDE3 100%);
  padding: 48px 0 40px;
}
.inspire-header { text-align: center; margin-bottom: 28px; }
.inspire-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sun);
  background: var(--sun-soft, #FBF6E5);
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.inspire-header h2 {
  font-family: var(--disp);
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 8px;
}
.inspire-lead {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Tuiles moods */
.inspire-moods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}
.inspire-mood-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 14px;
  color: var(--ink);
  text-align: center;
  transition: all 0.18s;
}
.inspire-mood-tile:hover {
  border-color: var(--sky);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}
.inspire-mood-tile i {
  font-size: 32px;
  color: var(--sky-deep);
  transition: transform 0.18s;
}
.inspire-mood-tile:hover i {
  transform: scale(1.1);
}
.inspire-mood-tile span {
  font-family: var(--disp);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

/* Coups de cœur */
.inspire-cdc-title {
  text-align: center;
  margin-bottom: 22px;
}
.inspire-cdc-title h3 {
  font-family: var(--disp);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.inspire-cdc-title p {
  font-size: 13.5px;
  color: var(--ink-soft);
}
.inspire-cdc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.inspire-cdc-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.18s;
}
.inspire-cdc-card:hover {
  border-color: var(--sky);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}
.inspire-cdc-header {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 48px;
}
.inspire-cdc-score {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
}
.inspire-cdc-score .ser-plane { width: 12px; height: 12px; }
.inspire-cdc-body {
  padding: 16px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.inspire-cdc-name {
  font-family: var(--disp);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.inspire-cdc-region {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
.inspire-cdc-tag {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  flex: 1;
}
.inspire-cdc-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--sky-deep);
}
.inspire-cdc-cta i { font-size: 12px; }

@media (max-width: 900px) {
  .inspire-cdc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .inspire-wrap { padding: 36px 0 28px; }
  .inspire-moods { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 30px; }
  .inspire-mood-tile { padding: 18px 10px; }
  .inspire-mood-tile i { font-size: 26px; }
  .inspire-cdc-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   SECTION "ENVIE D'AILLEURS ?" — Moods + Coups de cœur
   ═══════════════════════════════════════════════════════════════ */
.inspire-wrap {
  background: linear-gradient(180deg, var(--bg) 0%, var(--line-soft) 100%);
  padding: 48px 0 56px;
  margin-top: 8px;
}
.inspire-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 36px;
  padding: 0 22px;
}
.inspire-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky-deep);
  background: var(--sky-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.inspire-header h2 {
  font-family: var(--disp);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 10px;
}
.inspire-lead {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

/* --- Bloc 1 : Moods --- */
.inspire-moods {
  max-width: 900px;
  margin: 0 auto 48px;
  padding: 0 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.inspire-mood-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--ink);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.inspire-mood-tile:hover {
  transform: translateY(-3px);
  border-color: var(--sky);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}
.inspire-mood-tile i {
  font-size: 32px;
  color: var(--sky-deep);
  transition: transform 0.15s;
}
.inspire-mood-tile:hover i {
  transform: scale(1.1);
}
.inspire-mood-tile span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}

/* --- Bloc 2 : Coups de cœur --- */
.inspire-cdc-title {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 24px;
  padding: 0 22px;
}
.inspire-cdc-title h3 {
  font-family: var(--disp);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}
.inspire-cdc-title p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}
.inspire-cdc-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.inspire-cdc-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
  color: var(--ink);
}
.inspire-cdc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}
.inspire-cdc-header {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
}
.inspire-cdc-score {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.inspire-cdc-score .cdc-plane {
  width: 12px;
  height: 12px;
}
.inspire-cdc-body {
  padding: 16px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.inspire-cdc-name {
  font-family: var(--disp);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.inspire-cdc-region {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.inspire-cdc-tag {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
  margin-top: 4px;
}
.inspire-cdc-cta {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sky-deep);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.inspire-cdc-card:hover .inspire-cdc-cta {
  color: var(--sky);
}

@media (max-width: 900px) {
  .inspire-cdc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .inspire-wrap {
    padding: 36px 0 44px;
  }
  .inspire-moods {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .inspire-mood-tile {
    padding: 18px 10px;
  }
  .inspire-mood-tile i {
    font-size: 26px;
  }
  .inspire-cdc-grid {
    grid-template-columns: 1fr;
  }
}

.popular-destinations-wrap {
  background: var(--bg);
  padding: 8px 0 24px;
}
.popular-destinations {
  margin: 32px 0 56px;
}
.popular-header {
  margin-bottom: 24px;
}
.popular-header h2 {
  font-family: var(--disp);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}
.popular-lead {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.popular-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.popular-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.popular-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(12, 31, 61, 0.1);
  border-color: var(--sky-deep);
  text-decoration: none;
}
.popular-card-image {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.popular-card-emoji {
  font-size: 44px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}
.popular-card-body {
  padding: 14px 16px 16px;
}
.popular-card-name {
  font-family: var(--disp);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 6px;
}
.popular-card-usp {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-bottom: 10px;
  font-size: 11px;
  line-height: 1.3;
}
.popular-card-usp > span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.popular-card-usp .usp-icon {
  font-size: 11px;
  line-height: 1;
}
.popular-card-usp .usp-text {
  font-weight: 500;
}
.popular-card-usp .popular-card-usp-safety .usp-text.safety-safe { color: var(--green); }
.popular-card-usp .popular-card-usp-safety .usp-text.safety-vigilance { color: #B58200; }
.popular-card-usp .popular-card-usp-safety .usp-text.safety-strong { color: #B85C00; }
.popular-card-usp .popular-card-usp-safety .usp-text.safety-avoid { color: #B0150F; }
.popular-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink-soft);
}
.popular-card-price {
  font-weight: 700;
  color: var(--ink);
  font-family: var(--disp);
}
.popular-card-duration {
  font-size: 12px;
  color: var(--muted);
}
.popular-disclaimer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 12px 16px;
  background: var(--bg);
  border-radius: 10px;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.popular-disclaimer svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--muted);
}
@media (max-width: 900px) {
  .popular-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 680px) {
  .popular-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .popular-header h2 {
    font-size: 22px;
  }
  .popular-card-image {
    height: 90px;
  }
  .popular-card-emoji {
    font-size: 36px;
  }
}

/* ════════════════════════════════════════════════════════════════
   COMMENT ÇA MARCHE — Bande compacte
   ════════════════════════════════════════════════════════════════ */
/* ════════════════════════════════════════════════════════════════
   RECHERCHES RÉCENTES — Bouton compact + panneau dépliable
   ════════════════════════════════════════════════════════════════ */
.recent-searches-wrap {
  background: var(--bg);
  padding: 8px 0 20px;
}
.recent-toggle-row {
  display: flex;
  justify-content: center;
}
.recent-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  transition: border-color 0.14s, box-shadow 0.14s;
}
.recent-toggle:hover {
  border-color: var(--sky);
  box-shadow: 0 2px 10px rgba(12, 31, 61, 0.06);
}
.recent-toggle-icon { width: 16px; height: 16px; color: var(--sky-deep); flex-shrink: 0; }
.recent-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--sky-deep);
  background: var(--sky-soft);
  border-radius: 999px;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}
.recent-chevron { width: 15px; height: 15px; color: var(--muted); transition: transform 0.2s; }
.recent-toggle[aria-expanded="true"] .recent-chevron { transform: rotate(180deg); }

.recent-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.3s ease;
  margin-top: 0;
}
.recent-panel.open {
  max-height: 800px;
  margin-top: 16px;
}
.recent-panel-head {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}
.recent-clear {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 8px;
  transition: background 0.12s, color 0.12s;
}
.recent-clear:hover { background: var(--line-soft); color: var(--ink); }
.recent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}
.recent-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.14s, box-shadow 0.14s, transform 0.14s;
  text-align: left;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.recent-card:hover {
  border-color: var(--sky);
  box-shadow: 0 4px 16px rgba(12, 31, 61, 0.08);
  transform: translateY(-2px);
}
.recent-card-route {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.recent-card-route .rc-arrow {
  color: var(--sky);
  font-size: 14px;
}
.recent-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink-soft);
  flex-wrap: wrap;
}
.recent-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--sky-deep);
  background: var(--sky-soft);
  padding: 2px 8px;
  border-radius: 999px;
  align-self: flex-start;
}
@media (max-width: 600px) {
  .recent-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .recent-card { padding: 12px; }
  .recent-card-route { font-size: 14px; }
}

.how-it-works-wrap {
  background: var(--bg);
  padding: 24px 0 8px;
}
.how-it-works {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 24px;
  box-shadow: 0 1px 2px rgba(12, 31, 61, 0.04);
}
.hiw-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink);
}
.hiw-step-highlight {
  font-weight: 600;
}
.hiw-step-highlight strong {
  color: var(--sky-deep);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.hiw-icon {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}
.hiw-text {
  line-height: 1.4;
}
.hiw-text-muted {
  color: var(--muted);
  font-size: 12px;
  margin-left: 4px;
}
.hiw-arrow {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  user-select: none;
}
@media (max-width: 760px) {
  .how-it-works {
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
  }
  .hiw-step {
    width: 100%;
    justify-content: flex-start;
  }
  .hiw-arrow {
    display: none;
  }
  .hiw-text-muted {
    display: block;
    margin-left: 0;
    margin-top: 2px;
  }
}

/* ════════════════════════════════════════════════════════════════
   FAQ HOME — Format chat imaginaire
   ════════════════════════════════════════════════════════════════ */
.faq-home-wrap {
  background: var(--bg);
  padding: 40px 0 32px;
}
.faq-home-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 32px;
}
.faq-home-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky-deep);
  background: var(--sky-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.faq-home-header h2 {
  font-family: var(--disp);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}
.faq-home-header p {
  font-size: 14px;
  color: var(--ink-soft);
}
.faq-home-chats {
  max-width: 720px;
  margin: 0 auto;
}
.faq-home-chats .chat-block {
  margin-bottom: 22px;
}
.faq-home-chats .chat-question {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 8px;
}
.faq-home-chats .chat-answer {
  display: flex;
  justify-content: flex-end;
}
.faq-home-chats .chat-bubble {
  max-width: 76%;
  padding: 12px 18px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.5;
  position: relative;
  box-shadow: var(--shadow);
}
.faq-home-chats .chat-question .chat-bubble {
  background: var(--paper);
  color: var(--ink);
  border-bottom-left-radius: 6px;
  border: 1px solid var(--line);
}
.faq-home-chats .chat-answer .chat-bubble {
  background: var(--sky);
  color: #fff;
  border-bottom-right-radius: 6px;
}
.faq-home-cta {
  text-align: center;
  margin-top: 28px;
}
.faq-home-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sky-deep);
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.15s;
}
.faq-home-link:hover {
  background: var(--sky-soft);
  text-decoration: none;
}
@media (max-width: 600px) {
  .faq-home-wrap { padding: 32px 0 24px; }
  .faq-home-header h2 { font-size: 24px; }
  .faq-home-chats .chat-bubble { max-width: 85%; font-size: 13px; padding: 10px 14px; }
}
.bn-tm{font-size:.55em;font-weight:600;color:var(--sky-deep);vertical-align:0.6em;margin-left:2px;opacity:.8;letter-spacing:0}
  /* ── Sélecteur unifié langue + devise ── */
  .pref-btn { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); font-family: var(--body); font-size: 13px; font-weight: 600; color: var(--ink-soft); cursor: pointer; transition: border-color .15s, background .15s; }
  .pref-btn:hover { border-color: var(--line-strong); background: var(--cream); }
  .pref-globe { width: 16px; height: 16px; opacity: .8; }
  .pref-sep { color: var(--line-strong); font-weight: 400; }
  .pref-chev { width: 13px; height: 13px; opacity: .7; transition: transform .18s; }
  .pref-btn[aria-expanded="true"] .pref-chev { transform: rotate(180deg); }
  .pref-menu { position: absolute; top: 100%; right: 22px; margin-top: 8px; width: 300px; max-height: 70vh; overflow-y: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 10px; display: none; z-index: 300; }
  .pref-menu.open { display: block; }
  .pref-section-title { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted, #6B6659); padding: 6px 8px 8px; }
  .pref-langs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-bottom: 4px; }
  .pref-lang { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 6px; border: 1px solid var(--line); background: none; border-radius: var(--r-sm); cursor: pointer; font-family: var(--body); font-size: 12px; font-weight: 600; color: var(--ink); transition: border-color .15s, background .15s; }
  .pref-lang:hover { border-color: var(--line-strong); background: var(--cream); }
  .pref-lang .lang-opt-flag { width: 26px; height: 20px; display: grid; place-items: center; border-radius: 4px; background: var(--cream); font-size: 11px; font-weight: 700; color: var(--ink-soft); }
  .pref-lang.active { border-color: var(--sky); background: var(--sky-soft); color: var(--sky-deep); }
  .pref-lang.active .lang-opt-flag { background: var(--sky); color: #fff; }
  .pref-divider { height: 1px; background: var(--line); margin: 8px 4px; }
  .pref-currencies { display: block; }
  @media (max-width: 700px) {
    .pref-menu { right: 12px; left: 12px; width: auto; }
    .pref-btn { padding: 6px 10px; }
  }

/* ============================================================
   NOUVEAU HEADER PREMIUM — Ajouté le 05/08/2026 (Étape 3)
   Classes préfixées .ep-header-* et .ep-pref-* pour éviter tout
   conflit avec le CSS existant.
   Les IDs #prefBtn, #prefMenu, #langCode, #currSymbol, #currMenu
   sont préservés pour la compatibilité JS.
   ============================================================ */
.ep-header{
  background:rgba(247,246,241,.9);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  position:sticky;
  top:0;
  z-index:100;
  border-bottom:1px solid rgba(12,31,61,.05);
  font-family:'Inter',sans-serif
}
.ep-header-inner{
  padding:16px 40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px
}

.ep-header-brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:inherit;
  transition:opacity .15s ease
}
.ep-header-brand:hover{opacity:.75}
.ep-header-brand svg{flex-shrink:0}
.ep-brand-text{
  font-family:'Instrument Serif',serif;
  font-size:23px;
  line-height:1;
  color:#0C1F3D;
  font-weight:400;
  white-space:nowrap
}
.ep-brand-text em{font-style:italic}

.ep-header-nav{
  display:flex;
  gap:28px;
  align-items:center;
  font-size:14px;
  font-weight:500;
  position:relative
}
.ep-header-nav a{
  color:#0C1F3D;
  text-decoration:none;
  opacity:.85;
  transition:opacity .15s ease;
  line-height:32px;
  display:inline-flex;
  align-items:center
}
.ep-header-nav a:hover{opacity:1}

/* Sélecteur langue/devise — bouton pill compact */
.ep-pref-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 14px;
  background:transparent;
  border:1px solid rgba(12,31,61,.12);
  border-radius:100px;
  font-size:13px;
  font-weight:500;
  line-height:1;
  color:#0C1F3D;
  cursor:pointer;
  font-family:'Inter',sans-serif;
  transition:all .15s ease;
  height:32px
}
.ep-pref-btn:hover{
  background:#FFF;
  border-color:rgba(12,31,61,.25)
}
.ep-pref-btn[aria-expanded="true"]{
  background:#FFF;
  border-color:rgba(30,144,255,.3);
  box-shadow:0 4px 12px rgba(12,31,61,.06)
}
.ep-pref-sep{color:#8A8678;margin:0 2px}
.ep-pref-btn .curr-symbol{color:#1E90FF;font-weight:600}
.ep-pref-chev{color:#8A8678;transition:transform .2s ease}
.ep-pref-btn[aria-expanded="true"] .ep-pref-chev{transform:rotate(180deg)}

/* Menu déroulant — surcharge du CSS existant pour style premium */
.ep-header .pref-menu{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  width:340px;
  max-height:500px;
  background:#FFF;
  border-radius:20px;
  border:1px solid rgba(12,31,61,.08);
  box-shadow:0 20px 60px rgba(12,31,61,.15);
  padding:20px;
  overflow-y:auto;
  display:none;
  z-index:200;
  font-family:'Inter',sans-serif
}
.ep-header .pref-menu.open{
  display:block;
  animation:epPrefFade .2s ease
}
@keyframes epPrefFade{
  from{opacity:0;transform:translateY(-6px)}
  to{opacity:1;transform:translateY(0)}
}

.ep-header .pref-section-title{
  font-family:'Instrument Serif',serif;
  font-style:italic;
  font-size:15px;
  color:#0C1F3D;
  margin-bottom:12px;
  font-weight:400
}

.ep-header .pref-langs{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin-bottom:16px
}
.ep-header .pref-lang{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 14px;
  background:transparent;
  border:none;
  border-radius:10px;
  font-size:14px;
  color:#4A5568;
  cursor:pointer;
  font-family:'Inter',sans-serif;
  text-align:left;
  transition:background .15s;
  font-weight:500;
  width:100%
}
.ep-header .pref-lang:hover{background:#F7F6F1;color:#0C1F3D}
.ep-header .pref-lang.active{background:#F7F6F1;color:#0C1F3D;font-weight:600}
.ep-header .lang-opt-flag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:22px;
  background:#0C1F3D;
  color:#FFF;
  border-radius:5px;
  font-size:10px;
  font-weight:700;
  letter-spacing:1px
}
.ep-header .lang-opt-en .lang-opt-flag{background:#1E90FF}
.ep-header .lang-opt-es .lang-opt-flag{background:#F97316}

.ep-header .pref-divider{
  height:1px;
  background:rgba(12,31,61,.08);
  margin:16px -20px
}

.ep-header .pref-currencies{display:flex;flex-direction:column;gap:2px}
.ep-header .curr-section{
  font-size:10px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color:#8A8678;
  font-weight:600;
  margin:12px 0 6px;
  padding:0 4px
}
.ep-header .curr-section:first-child{margin-top:0}

.ep-header .curr-opt{
  display:grid;
  grid-template-columns:34px 1fr auto;
  gap:12px;
  align-items:center;
  padding:9px 14px;
  background:transparent;
  border:none;
  border-radius:10px;
  font-size:13px;
  color:#4A5568;
  cursor:pointer;
  font-family:'Inter',sans-serif;
  text-align:left;
  transition:background .15s;
  width:100%
}
.ep-header .curr-opt:hover{background:#F7F6F1;color:#0C1F3D}
.ep-header .curr-opt.active{background:#F7F6F1;color:#0C1F3D;font-weight:600}
.ep-header .curr-opt-sym{
  font-weight:600;
  color:#0C1F3D;
  font-size:14px
}
.ep-header .curr-opt-name{font-weight:500}
.ep-header .curr-opt-code{
  font-size:11px;
  color:#8A8678;
  letter-spacing:.5px;
  font-weight:600
}

/* Mobile — Header responsive */
@media (max-width: 720px){
  .ep-header-inner{
    padding:12px 20px;
    gap:12px
  }
  .ep-brand-text{font-size:19px}
  .ep-header-nav{gap:12px}
  .ep-header-nav a:not(.ep-pref-btn){display:none}
  .ep-pref-btn{padding:6px 10px;font-size:12px}
  
  /* Menu devient bottom sheet sur mobile */
  .ep-header .pref-menu{
    position:fixed;
    top:auto;
    bottom:0;
    left:0;
    right:0;
    width:100%;
    max-height:70vh;
    border-radius:24px 24px 0 0;
    padding:24px 20px 32px
  }
}


/* ============================================================
   PREMIUM HEADER — Étape 3 du chantier de migration (05/08/2026)
   Ces règles écrasent les précédentes grâce à leur position finale
   dans la cascade CSS. Ne pas déplacer ce bloc.
   ============================================================ */

.ep-header {
  background: #F7F6F1 !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid rgba(12,31,61,.05) !important;
}

.ep-header-inner {
  padding: 16px 40px !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
}

.ep-header-brand {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  color: inherit !important;
  transition: opacity .15s ease !important;
}
.ep-header-brand:hover { opacity: .85; }

.ep-header-brand svg {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}

.ep-brand-text {
  font-family: 'Instrument Serif', serif !important;
  font-size: 24px !important;
  line-height: 1 !important;
  color: #0C1F3D !important;
  font-weight: 400 !important;
  white-space: nowrap;
}
.ep-brand-text em { font-style: italic; }

/* Retirer le "™" éventuel qui traînerait après le texte */
.ep-brand-text::after { content: none !important; }
.ep-brand-tm, .brand-tm, .ep-brand-superscript { display: none !important; }

/* Nav — liens premium en marine */
.ep-header-nav {
  display: flex !important;
  align-items: center !important;
  gap: 32px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.ep-header-nav > a {
  color: #0C1F3D !important;
  text-decoration: none !important;
  opacity: .85 !important;
  line-height: 32px !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: opacity .15s ease !important;
}
.ep-header-nav > a:hover { opacity: 1 !important; }

/* Sélecteur langue/devise premium — bouton pill compact SANS globe */
.ep-pref-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 7px 14px !important;
  background: transparent !important;
  border: 1px solid rgba(12,31,61,.12) !important;
  border-radius: 100px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  color: #0C1F3D !important;
  cursor: pointer !important;
  font-family: 'Inter', sans-serif !important;
  transition: all .15s ease !important;
  height: 32px !important;
}
.ep-pref-btn:hover {
  background: #FFF !important;
  border-color: rgba(12,31,61,.25) !important;
}
.ep-pref-btn[aria-expanded="true"] {
  background: #FFF !important;
  border-color: rgba(30,144,255,.3) !important;
  box-shadow: 0 4px 12px rgba(12,31,61,.06) !important;
}
.ep-pref-btn .ep-pref-sep { color: #8A8678 !important; margin: 0 2px !important; }
.ep-pref-btn .curr-symbol { color: #1E90FF !important; font-weight: 600 !important; }
.ep-pref-btn svg {
  width: 12px !important;
  height: 12px !important;
  color: #8A8678 !important;
  transition: transform .2s ease !important;
}
.ep-pref-btn[aria-expanded="true"] svg { transform: rotate(180deg) !important; }

/* Retirer l'icône globe si elle est présente dans le bouton */
.ep-pref-btn .globe-icon,
.ep-pref-btn .pref-globe,
.ep-pref-btn i.ti-world,
.ep-pref-btn [class*="globe"] { display: none !important; }

/* Menu déroulant premium */
.pref-menu {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  right: 40px !important;
  left: auto !important;
  width: 340px !important;
  max-height: 500px !important;
  background: #FFF !important;
  border-radius: 20px !important;
  border: 1px solid rgba(12,31,61,.08) !important;
  box-shadow: 0 20px 60px rgba(12,31,61,.15) !important;
  padding: 20px !important;
  overflow-y: auto !important;
  display: none;
  z-index: 200 !important;
}
.pref-menu.open {
  display: block !important;
  animation: prefFade .2s ease;
}
@keyframes prefFade { from{opacity:0;transform:translateY(-6px)} to{opacity:1;transform:translateY(0)} }

.pref-section-title {
  font-family: 'Instrument Serif', serif !important;
  font-style: italic !important;
  font-size: 15px !important;
  color: #0C1F3D !important;
  margin-bottom: 12px !important;
  font-weight: 400 !important;
  padding: 0 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.pref-langs {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  margin-bottom: 16px !important;
}

.pref-lang {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 14px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  color: #4A5568 !important;
  cursor: pointer !important;
  font-family: 'Inter', sans-serif !important;
  text-align: left !important;
  transition: background .15s !important;
  font-weight: 500 !important;
  width: 100% !important;
}
.pref-lang:hover { background: #F7F6F1 !important; color: #0C1F3D !important; }
.pref-lang.active { background: #F7F6F1 !important; color: #0C1F3D !important; font-weight: 600 !important; }

.lang-opt-flag {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 22px !important;
  background: #0C1F3D !important;
  color: #FFF !important;
  border-radius: 5px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
}
.lang-opt-en .lang-opt-flag { background: #1E90FF !important; }
.lang-opt-es .lang-opt-flag { background: #F97316 !important; }

.pref-divider {
  height: 1px !important;
  background: rgba(12,31,61,.08) !important;
  margin: 16px -20px !important;
}

.pref-currencies {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.curr-section {
  font-size: 10px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: #8A8678 !important;
  font-weight: 600 !important;
  margin: 12px 0 6px !important;
  padding: 0 4px !important;
}
.curr-section:first-child { margin-top: 0 !important; }

.curr-opt {
  display: grid !important;
  grid-template-columns: 32px 1fr auto !important;
  gap: 12px !important;
  align-items: center !important;
  padding: 9px 14px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  color: #4A5568 !important;
  cursor: pointer !important;
  font-family: 'Inter', sans-serif !important;
  text-align: left !important;
  transition: background .15s !important;
  width: 100% !important;
}
.curr-opt:hover { background: #F7F6F1 !important; color: #0C1F3D !important; }
.curr-opt.active { background: #F7F6F1 !important; color: #0C1F3D !important; font-weight: 600 !important; }

.curr-opt-sym { font-weight: 600 !important; color: #0C1F3D !important; font-size: 14px !important; }
.curr-opt-name { font-weight: 500 !important; }
.curr-opt-code { font-size: 11px !important; color: #8A8678 !important; letter-spacing: .5px !important; font-weight: 600 !important; }

/* Responsive mobile */
@media (max-width: 720px) {
  .ep-header-inner { padding: 12px 20px !important; gap: 12px !important; }
  .ep-brand-text { font-size: 19px !important; }
  .ep-header-brand svg { width: 30px !important; height: 30px !important; }
  .ep-header-nav > a:not(.ep-pref-btn) { display: none !important; }
  .ep-pref-btn { padding: 6px 10px !important; font-size: 12px !important; height: 30px !important; }
  
  /* Menu devient bottom sheet en mobile — Corrigé pour scroll et handle */
  .pref-menu {
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: 85vh !important;
    height: auto !important;
    border-radius: 24px 24px 0 0 !important;
    padding: 8px 20px 32px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-shadow: 0 -20px 60px rgba(12,31,61,.25) !important;
    z-index: 9999 !important;
  }
  
  /* Handle visuel en haut du bottom sheet (petit trait) */
  .pref-menu::before {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    background: rgba(12,31,61,.2);
    border-radius: 2px;
    margin: 8px auto 16px;
    position: sticky;
    top: 0;
  }
  
  /* Overlay sombre derrière le bottom sheet mobile */
  .pref-menu.open::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12,31,61,.4);
    z-index: -1;
    animation: prefOverlayFade .2s ease;
  }
  @keyframes prefOverlayFade { from{opacity:0} to{opacity:1} }
}

/* Fin du bloc PREMIUM HEADER */



/* ============================================================
   PREMIUM FOOTER — Étape 4 du chantier (05/08/2026)
   ============================================================ */

.foot {
  background: #0C1F3D !important;
  color: #F7F6F1 !important;
  padding: 80px 48px 32px !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Signature éditoriale en haut du footer */
.foot-signature {
  max-width: 1400px !important;
  margin: 0 auto 64px !important;
  padding-bottom: 56px !important;
  border-bottom: 1px solid rgba(247,246,241,.1) !important;
  text-align: center !important;
}

.foot-signature-quote {
  font-family: 'Instrument Serif', serif !important;
  font-style: italic !important;
  font-size: 36px !important;
  line-height: 1.2 !important;
  color: #F7F6F1 !important;
  max-width: 640px !important;
  margin: 0 auto !important;
  font-weight: 400 !important;
}
.foot-signature-quote em {
  color: #1E90FF !important;
  font-style: italic !important;
}

.foot-signature-small {
  font-size: 12px !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: #8A8678 !important;
  font-weight: 600 !important;
  margin-top: 20px !important;
  display: block !important;
}

/* Grille principale */
.foot-grid {
  display: grid !important;
  grid-template-columns: 1.6fr 1fr 1fr 1fr !important;
  gap: 56px !important;
  margin-bottom: 56px !important;
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Colonne marque */
.foot-brand {}
.foot-logo {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 20px !important;
  text-decoration: none !important;
  color: inherit !important;
}
.foot-logo-text {
  font-family: 'Instrument Serif', serif !important;
  font-size: 26px !important;
  color: #F7F6F1 !important;
  line-height: 1 !important;
}
.foot-logo-text em { font-style: italic; }

.foot-brand p {
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #B0B4BC !important;
  margin-bottom: 24px !important;
  max-width: 340px !important;
}

/* Bouton Instagram premium */
.foot-social {
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
}
.foot-social a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 16px !important;
  background: rgba(247,246,241,.06) !important;
  border: 1px solid rgba(247,246,241,.1) !important;
  border-radius: 100px !important;
  color: #F7F6F1 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  transition: all .2s ease !important;
  font-family: 'Inter', sans-serif !important;
}
.foot-social a:hover {
  background: rgba(30,144,255,.15) !important;
  border-color: rgba(30,144,255,.3) !important;
  color: #FFF !important;
  transform: translateY(-1px) !important;
}
.foot-social-ico {
  width: 20px !important;
  height: 20px !important;
  background: linear-gradient(135deg, #FEDA75 0%, #FA7E1E 25%, #D62976 50%, #962FBF 75%, #4F5BD5 100%) !important;
  border-radius: 5px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.foot-social-ico svg {
  width: 12px !important;
  height: 12px !important;
  color: #FFF !important;
}

/* Colonnes standards */
.foot-col h4 {
  font-family: 'Instrument Serif', serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  color: #F7F6F1 !important;
  margin-bottom: 20px !important;
  font-style: italic !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: default !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.foot-col ul {
  list-style: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 0 !important;
  margin: 0 !important;
}
.foot-col ul li { padding: 0 !important; }
.foot-col ul li a {
  color: #B0B4BC !important;
  text-decoration: none !important;
  font-size: 13.5px !important;
  transition: color .15s ease !important;
  line-height: 1.4 !important;
}
.foot-col ul li a:hover { color: #F7F6F1 !important; }

/* Colonne Destinations : 2 sous-colonnes en desktop */
.foot-col[data-i18n="foot.destinations"] ul,
.foot-col.foot-col-destinations ul {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px 20px !important;
}

/* On applique via un sélecteur qui matche par le contenu du h4 */
.foot-col:has(h4[data-i18n="foot.destinations"]) ul {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px 20px !important;
}

/* Chevron pour accordéons */
.foot-chevron {
  display: none !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  background: rgba(247,246,241,.06) !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background .25s ease, transform .3s ease !important;
  flex-shrink: 0 !important;
}
.foot-chevron svg {
  width: 12px !important;
  height: 12px !important;
  color: #F7F6F1 !important;
}

/* Bas de footer */
.foot-bottom {
  padding-top: 32px !important;
  border-top: 1px solid rgba(247,246,241,.1) !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 20px !important;
  flex-wrap: wrap !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
}
.foot-bottom span {
  font-size: 12px !important;
  color: #8A8678 !important;
}
.foot-bottom span:last-child {
  text-align: right !important;
  max-width: 500px !important;
  line-height: 1.5 !important;
}

/* MOBILE — accordéons */
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr !important; gap: 40px 32px !important; }
  .foot-brand { grid-column: span 2 !important; }
}

@media (max-width: 720px) {
  .foot { padding: 56px 24px 24px !important; }
  .foot-signature { margin-bottom: 44px !important; padding-bottom: 36px !important; }
  .foot-signature-quote { font-size: 26px !important; }
  .foot-grid { grid-template-columns: 1fr !important; gap: 8px !important; margin-bottom: 36px !important; }
  .foot-brand { grid-column: span 1 !important; margin-bottom: 20px !important; }
  
  /* Accordéons mobile activés */
  .foot-col-collapsible {
    border-top: 1px solid rgba(247,246,241,.1) !important;
    padding-top: 20px !important;
  }
  .foot-col-collapsible:last-of-type {
    border-bottom: 1px solid rgba(247,246,241,.1) !important;
    padding-bottom: 8px !important;
  }
  .foot-col-collapsible h4 {
    cursor: pointer !important;
    user-select: none !important;
    margin-bottom: 0 !important;
    padding: 4px 0 !important;
  }
  .foot-col-collapsible h4 .foot-chevron { display: inline-flex !important; }
  .foot-col-collapsible.open h4 .foot-chevron { 
    background: #1E90FF !important;
    transform: rotate(180deg) !important;
  }
  .foot-col-collapsible ul {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height .4s ease, margin-top .25s ease !important;
    margin-top: 0 !important;
  }
  .foot-col-collapsible.open ul {
    max-height: 800px !important;
    margin-top: 20px !important;
  }
  
  /* Destinations en 1 colonne sur mobile */
  .foot-col:has(h4[data-i18n="foot.destinations"]) ul {
    grid-template-columns: 1fr !important;
  }
  
  .foot-bottom {
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
  }
  .foot-bottom span:last-child { text-align: center !important; }
}

/* Fin du bloc PREMIUM FOOTER */






/* ============================================================
   PHASE 3B.1 — Mini-origami dans magic-eyebrow + <em> dans title
   ============================================================ */
.magic-eyebrow svg {
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.magic-title em {
  font-style: italic !important;
  color: #0C1F3D !important;
}
/* Fin PHASE 3B.1 */







/* ============================================================
   FIX Phase 3B.1 - Placeholder magic bar
   Le JS gère l'affichage/masquage via classe .hidden (voir initMagicBar)
   ============================================================ */
/* Assurer que le placeholder soit visible au chargement (avant JS) */
.magic-input-wrap #magicPlaceholder {
  display: block !important;
}
.magic-input-wrap #magicPlaceholder.hidden {
  display: none !important;
}
/* Fin FIX 3B.1 */







/* ============================================================
   PHASE 3B.2 — SVG icônes dans chips signature
   ============================================================ */
.magic-chip svg {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
  color: #0C1F3D !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.magic-chip:hover svg {
  color: #1E90FF !important;
  transition: color 0.15s ease !important;
}

.magic-chip {
  transition: all 0.15s ease !important;
}
/* Fin PHASE 3B.2 */




/* ============================================================
   BOUTON DÉCOLLER MARINE — Phase 3B.3 (06/08/2026)
   Cohérence brand avec bouton Rechercher, titre H1 et logo
   ============================================================ */
.magic-btn,
#magicBtn.magic-btn {
  background: #0C1F3D !important;
  color: #FFFFFF !important;
  transition: background 0.2s ease, transform 0.1s ease !important;
}
.magic-btn:hover,
#magicBtn.magic-btn:hover {
  background: #1a3057 !important;
}
.magic-btn:active,
#magicBtn.magic-btn:active {
  transform: scale(0.98) !important;
  background: #0C1F3D !important;
}
/* Fin BOUTON DÉCOLLER MARINE */



/* ============================================================
   VITRINE 3 DESTINATIONS — Sous-étape 10.1 (07/08/2026)
   Bali · Tokyo · Marrakech
   ============================================================ */

/* === Classes utilitaires de section (réutilisables 11, 12, 13) === */
.section-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #1E90FF;
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
  text-align: center;
}

.section-title {
  font-family: 'Instrument Serif', serif;
  font-size: 52px;
  line-height: 1.05;
  font-weight: 400;
  color: #0C1F3D;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.section-title em {
  font-style: italic;
}

.section-lead {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: #4A5568;
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.more-link {
  font-family: 'Instrument Serif', serif;
  font-size: 17px;
  color: #0C1F3D;
  font-style: italic;
  text-decoration: none;
  border-bottom: 1px solid rgba(12, 31, 61, 0.2);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}
.more-link:hover {
  border-bottom-color: #0C1F3D;
}

/* === Section vitrine === */
.dest-vitrine {
  background: #EAE7DA;
  padding: 80px 48px;
  margin: 0;
}

.dest-vitrine-inner {
  max-width: 1300px;
  margin: 0 auto;
}

/* === Grille des 3 cartes === */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* === Carte destination === */
.dest-card {
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(12, 31, 61, 0.06);
  text-decoration: none;
  display: block;
  color: inherit;
}
.dest-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(12, 31, 61, 0.10);
}

.dest-map {
  position: relative;
  height: 200px;
  background: #0C1F3D;
  overflow: hidden;
}
.dest-map svg {
  width: 100%;
  height: 100%;
  display: block;
}

.dest-info {
  padding: 20px 24px 22px;
}

.dest-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
  gap: 12px;
}

.dest-name {
  font-family: 'Instrument Serif', serif;
  font-size: 26px;
  font-weight: 400;
  color: #0C1F3D;
  line-height: 1.1;
}
.dest-name em {
  font-style: italic;
}

.dest-country {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #8A8678;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}

/* === Métriques (3 colonnes) === */
.dest-metrics {
  display: flex;
  gap: 20px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(12, 31, 61, 0.08);
}

.metric {
  flex: 1;
}

.metric-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8A8678;
  font-weight: 600;
  margin-bottom: 2px;
}

.metric-value {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #0C1F3D;
}
.metric-value.price {
  color: #1E90FF;
  font-weight: 600;
}

/* === CTA "Voir la fiche →" === */
.dest-cta {
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #1E90FF;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}
.dest-card:hover .dest-cta {
  gap: 10px;
}

.dest-vitrine-more {
  text-align: center;
  margin-top: 48px;
}

/* === MOBILE ≤720px === */
@media (max-width: 720px) {
  .dest-vitrine {
    padding: 60px 20px;
  }
  .section-title {
    font-size: 36px;
  }
  .section-lead {
    font-size: 15px;
    margin-bottom: 36px;
  }
  .dest-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .dest-map {
    height: 160px;
  }
  .dest-name {
    font-size: 22px;
  }
  .dest-metrics {
    gap: 12px;
  }
  .metric-value {
    font-size: 13px;
  }
  .dest-vitrine-more {
    margin-top: 32px;
  }
  .more-link {
    font-size: 15px;
  }
}

/* === TABLETTE 721-1024px === */
@media (min-width: 721px) and (max-width: 1024px) {
  .dest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dest-grid .dest-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
  .section-title {
    font-size: 44px;
  }
}

/* Fin VITRINE 3 DESTINATIONS */



/* ============================================================
   MÉTÉO INTERACTIVE — Sous-étape 11 (07/08/2026)
   Sélecteur 12 mois + 3 destinations dynamiques + origamis météo
   ============================================================ */

/* === Section === */
.weather-section {
  background: linear-gradient(180deg, #F7F6F1 0%, #F2EFE0 100%);
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
}

/* === Décor origamis === */
.weather-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
}
.weather-decor svg {
  position: absolute;
}

.decor-1 {
  top: 60px;
  right: 8%;
  width: 60px;
  height: 60px;
  animation: decorFloat1 8s ease-in-out infinite;
}

.decor-2 {
  bottom: 80px;
  left: 6%;
  width: 44px;
  height: 44px;
  animation: decorFloat2 10s ease-in-out infinite;
}

@keyframes decorFloat1 {
  0%, 100% { transform: translateY(0) rotate(-20deg); }
  50% { transform: translateY(-16px) rotate(-14deg); }
}

@keyframes decorFloat2 {
  0%, 100% { transform: translateY(0) rotate(30deg); }
  50% { transform: translateY(14px) rotate(38deg); }
}

/* === Inner === */
.weather-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.weather-header {
  text-align: center;
  margin-bottom: 56px;
}

/* === Sélecteur de mois === */
.month-selector {
  max-width: 900px;
  margin: 0 auto 40px;
  background: #FFFFFF;
  border-radius: 100px;
  padding: 8px;
  border: 1px solid rgba(12, 31, 61, 0.06);
  box-shadow: 0 4px 12px rgba(12, 31, 61, 0.04);
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.month-selector::-webkit-scrollbar {
  display: none;
}

.month-list {
  display: flex;
  gap: 2px;
  min-width: min-content;
}

.month-btn {
  flex-shrink: 0;
  padding: 12px 20px;
  background: transparent;
  border: none;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: #4A5568;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

.month-btn:hover {
  background: #F7F6F1;
  color: #0C1F3D;
}

.month-btn.active {
  background: #0C1F3D;
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(12, 31, 61, 0.15);
}

/* === Grille destinations === */
.weather-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
  min-height: 320px;
}

/* === Carte destination === */
.weather-card {
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(12, 31, 61, 0.06);
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
}
.weather-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(12, 31, 61, 0.10);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Visuel origami météo === */
.weather-visual {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.weather-icon {
  width: 100px;
  height: 100px;
}
.weather-icon svg {
  width: 100%;
  height: 100%;
}

/* === Info carte === */
.weather-info {
  padding: 20px 24px 22px;
}

.weather-dest {
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  font-weight: 400;
  color: #0C1F3D;
  line-height: 1.1;
  margin-bottom: 2px;
}
.weather-dest em {
  font-style: italic;
}

.weather-country {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #8A8678;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}

.weather-temps {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.temp-value {
  font-family: 'Instrument Serif', serif;
  font-size: 32px;
  font-weight: 400;
  color: #0C1F3D;
  line-height: 1;
}

.temp-unit {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #4A5568;
  font-weight: 500;
  margin-right: 8px;
}

.temp-condition {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #4A5568;
  font-weight: 500;
}

.weather-verdict {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #4A5568;
  margin-bottom: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(12, 31, 61, 0.08);
}

.weather-cta {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #1E90FF;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}
.weather-card:hover .weather-cta {
  gap: 10px;
}

/* === Lien "Découvrir le mode inspiration" === */
.weather-more {
  text-align: center;
  margin-top: 16px;
}

.weather-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #FFFFFF;
  border: 1px solid rgba(12, 31, 61, 0.08);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: #0C1F3D;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}
.weather-more-link:hover {
  background: #0C1F3D;
  color: #FFFFFF;
  border-color: #0C1F3D;
}
.weather-more-link em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
}

/* === MOBILE ≤720px === */
@media (max-width: 720px) {
  .weather-section {
    padding: 56px 20px;
  }
  .weather-header {
    margin-bottom: 40px;
  }
  .weather-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .month-selector {
    margin-bottom: 32px;
  }
  .month-btn {
    padding: 10px 16px;
    font-size: 13px;
  }
  .decor-1 { width: 44px; height: 44px; top: 40px; }
  .decor-2 { width: 32px; height: 32px; bottom: 60px; }
  .weather-more-link {
    padding: 12px 22px;
    font-size: 13px;
  }
}

/* === TABLETTE 721-1024px === */
@media (min-width: 721px) and (max-width: 1024px) {
  .weather-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .weather-grid .weather-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
}

/* Fin MÉTÉO INTERACTIVE */



/* ============================================================
   ENVIE D'AILLEURS — Sous-étape 12 (07/08/2026)
   Carte magazine "Surprends-moi" avec 8 escapades
   ============================================================ */

.escapade-section {
  background: #F7F6F1;
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
}

.escapade-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.escapade-header {
  text-align: center;
  margin-bottom: 56px;
}

/* === Carte magazine === */
.escapade-card {
  background: #FFFFFF;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(12, 31, 61, 0.04), 0 30px 80px rgba(12, 31, 61, 0.10);
  border: 1px solid rgba(12, 31, 61, 0.06);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 480px;
  position: relative;
}

/* Côté visuel (gauche) */
.escapade-visual {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  transition: background 0.5s ease;
}
.escapade-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4) 0%, transparent 50%);
  pointer-events: none;
}

.escapade-illustration {
  position: relative;
  width: 280px;
  height: 280px;
  z-index: 2;
  animation: illuFade 0.6s ease forwards;
}
.escapade-illustration svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes illuFade {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

/* Badge flottant */
.escapade-badge {
  position: absolute;
  top: 32px;
  left: 32px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0C1F3D;
  font-weight: 600;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
}
.escapade-badge svg {
  width: 12px;
  height: 12px;
  color: #1E90FF;
}

/* Côté éditorial (droit) */
.escapade-content {
  padding: 56px 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.escapade-eyebrow {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #8A8678;
  font-weight: 600;
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
}

.escapade-title {
  font-family: 'Instrument Serif', serif;
  font-size: 44px;
  line-height: 1.05;
  font-weight: 400;
  color: #0C1F3D;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.escapade-title em {
  font-style: italic;
}

.escapade-body {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #4A5568;
  margin-bottom: 28px;
}
.escapade-body em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: #0C1F3D;
  font-size: 17px;
}

/* Infos pratiques */
.escapade-infos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(12, 31, 61, 0.08);
  border-bottom: 1px solid rgba(12, 31, 61, 0.08);
  margin-bottom: 28px;
}

.escapade-info-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8A8678;
  font-weight: 600;
  margin-bottom: 4px;
}

.escapade-info-value {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #0C1F3D;
}
.escapade-info-value.price {
  color: #1E90FF;
}

/* Actions */
.escapade-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.escapade-cta {
  background: #0C1F3D;
  color: #FFFFFF;
  border: none;
  border-radius: 14px;
  padding: 15px 20px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s, transform 0.15s;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}
.escapade-cta:hover {
  transform: translateY(-1px);
}
.escapade-cta svg {
  width: 14px;
  height: 14px;
}

.escapade-cta-primary {
  background: #0C1F3D;
  color: #FFFFFF;
}
.escapade-cta-primary:hover {
  background: #1a3057;
}

.escapade-cta-secondary {
  background: #FFFFFF;
  color: #0C1F3D;
  border: 1px solid rgba(12, 31, 61, 0.15);
}
.escapade-cta-secondary:hover {
  background: #F7F6F1;
  border-color: #1E90FF;
  color: #1E90FF;
}

.escapade-shuffle {
  background: transparent;
  border: none;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  color: #8A8678;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  margin: 0 auto;
  align-self: center;
}
.escapade-shuffle em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
  color: #0C1F3D;
}
.escapade-shuffle:hover {
  color: #0C1F3D;
}
.escapade-shuffle:hover em {
  color: #1E90FF;
}
.escapade-shuffle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.4s ease;
}
.escapade-shuffle:hover svg {
  transform: rotate(180deg);
  color: #1E90FF;
}

/* Animation apparition à chaque tirage */
.escapade-card.shuffling .escapade-content > * { opacity: 0; }
.escapade-card:not(.shuffling) .escapade-content > * {
  animation: escapadeFadeIn 0.5s ease forwards;
}
.escapade-card:not(.shuffling) .escapade-content > *:nth-child(1) { animation-delay: 0.05s; }
.escapade-card:not(.shuffling) .escapade-content > *:nth-child(2) { animation-delay: 0.10s; }
.escapade-card:not(.shuffling) .escapade-content > *:nth-child(3) { animation-delay: 0.15s; }
.escapade-card:not(.shuffling) .escapade-content > *:nth-child(4) { animation-delay: 0.20s; }
.escapade-card:not(.shuffling) .escapade-content > *:nth-child(5) { animation-delay: 0.25s; }
.escapade-card:not(.shuffling) .escapade-content > *:nth-child(6) { animation-delay: 0.30s; }

@keyframes escapadeFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* MOBILE ≤900px */
@media (max-width: 900px) {
  .escapade-card {
    grid-template-columns: 1fr;
  }
  .escapade-visual {
    padding: 40px 20px;
    min-height: 280px;
  }
  .escapade-illustration {
    width: 200px;
    height: 200px;
  }
  .escapade-content {
    padding: 32px 28px 32px;
  }
  .escapade-title {
    font-size: 32px;
  }
  .escapade-infos {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}

/* MOBILE ≤720px */
@media (max-width: 720px) {
  .escapade-section {
    padding: 56px 20px;
  }
  .escapade-card {
    border-radius: 24px;
  }
  .escapade-badge {
    top: 20px;
    left: 20px;
    padding: 6px 12px;
    font-size: 10px;
  }
  .escapade-visual {
    padding: 32px 20px;
    min-height: 240px;
  }
  .escapade-illustration {
    width: 170px;
    height: 170px;
  }
  .escapade-content {
    padding: 28px 24px;
  }
  .escapade-title {
    font-size: 28px;
    margin-bottom: 16px;
  }
  .escapade-infos {
    margin-bottom: 22px;
    padding: 16px 0;
  }
  .escapade-info-value {
    font-size: 13px;
  }
  .escapade-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .escapade-shuffle {
    width: 100%;
    justify-content: center;
  }
}

/* Fin ENVIE D'AILLEURS */


/* ════════════════════════════════════════════════════════════════
   SCORE SÉRÉNITÉ — infobulle Modèle C (anneau + micro-notes)
   Remplace la mise en forme du contenu (barres → anneau + notes).
   Le badge, la position et l'apparition de l'infobulle sont inchangés.
   ════════════════════════════════════════════════════════════════ */
.ser-tt-head{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding-bottom:13px;margin-bottom:12px;border-bottom:1px solid var(--line-soft);}
.ser-ring{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;position:relative;flex:none;}
.ser-ring::after{content:"";position:absolute;inset:6px;background:var(--paper);border-radius:50%;}
.ser-ring-in{position:relative;z-index:2;text-align:center;line-height:1;}
.ser-ring-in b{display:block;font-family:var(--disp);font-weight:400;font-size:24px;letter-spacing:.01em;}
.ser-ring-max{display:block;font-size:10px;color:var(--muted);margin-top:2px;}
.ser-verdict{font-size:12.5px;font-weight:700;letter-spacing:.01em;text-align:center;}
.ser-tt-crits{display:flex;flex-direction:column;gap:10px;}
.ser-crit{display:flex;align-items:center;gap:9px;}
.ser-crit-dot{width:8px;height:8px;border-radius:50%;flex:none;}
.ser-crit-lb{font-size:11.5px;color:var(--ink-soft);flex:1;line-height:1.25;}
.ser-crit-mini{display:inline-flex;gap:1.5px;flex:none;}
.ser-crit-mini .ser-plane{width:10px;height:10px;}
.ser-tt-foot .ser-tt-link{color:var(--sky-deep);font-style:normal;font-weight:600;text-decoration:none;white-space:nowrap;}
@media (max-width: 600px){
  .ser-ring{width:66px;height:66px;}
  .ser-ring-in b{font-size:21px;}
}

/* Infobulle Sérénité : état ouvert au clic / tap (mobile) */
.ser-badge.ser-open .ser-tooltip{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0);}
.dB-tag.serenity.ser-open .ser-tooltip{opacity:1;visibility:visible;transform:translateY(0);}
